Hopefully a simple question.
I've rooted my tablet S and wondered if I do a factory reset will I lose root.
blackadder666 said:
Hopefully a simple question.
I've rooted my tablet S and wondered if I do a factory reset will I lose root.
Click to expand...
Click to collapse
Yes SuperUser / SuperSU will be deleted and you will need shell root to install again
I use the semi-auto script by binary and it's all good just make sure you have your OWN signed VpnFaker in the tar.gz archive.
Stfilz
UPDATE: Root stays intact LOOK BELOW
stifilz said:
Yes SuperUser / SuperSU will be deleted and you will need shell root to install again
I use the semi-auto script by binary and it's all good just make sure you have your OWN signed VpnFaker in the tar.gz archive.
Stfilz
Click to expand...
Click to collapse
Em, reinstall from Play Store?
I'm pretty sure that the su binary will be still there.
Sent from my Sony Tablet S using xda premium
andyabc said:
Em, reinstall from Play Store?
I'm pretty sure that the su binary will be still there.
Sent from my Sony Tablet S using xda premium
Click to expand...
Click to collapse
Never tried that but factory setting means factory? I.e no su binary ??
stifilz said:
Never tried that but factory setting means factory? I.e no su binary ??
Click to expand...
Click to collapse
Several times I have entered Recovery Mode screen, selected Reset to factory settings then Yes -- delete all user data, and did not lose root access. What I have noticed is apps and files that are side-loaded by Condi's ALLinONE tool (i.e., BusyBox, Superuser) remained installed after the reset. All other user apps (including BusyBox Pro and Superuser Pro) are deleted and have to be re-installed, and all user settings have to be re-entered.
Cat McGowan said:
Several times I have entered Recovery Mode screen, selected Reset to factory settings then Yes -- delete all user data, and did not lose root access. What I have noticed is apps and files that are side-loaded by Condi's ALLinONE tool (i.e., BusyBox, Superuser) remained installed after the reset. All other user apps (including BusyBox Pro and Superuser Pro) are deleted and have to be re-installed, and all user settings have to be re-entered.
Click to expand...
Click to collapse
Well yeah, of course the su and busybox binary will still be there XD
Sent from my Sony Tablet S using xda premium
Cat McGowan said:
Several times I have entered Recovery Mode screen, selected Reset to factory settings then Yes -- delete all user data, and did not lose root access. What I have noticed is apps and files that are side-loaded by Condi's ALLinONE tool (i.e., BusyBox, Superuser) remained installed after the reset. All other user apps (including BusyBox Pro and Superuser Pro) are deleted and have to be re-installed, and all user settings have to be re-entered.
Click to expand...
Click to collapse
Hmmm learn something new everyday. One would have thought that it puts it to Factory, as in the same as a fresh update.zip install.
Thanks for the info
Stifilz
I can confirm root remains in place after factory reset. In fact all necessary root files seem to be in place.
Went through the set up process i.e. language, time zone, wifi, gmail account etc. So all fine and root remains in place.
Only problem is the reason for the reset. I used AiO tool to apply the modded play store, but now I can't buy anything. So tried to install latest store apk (to hopefully overwrite the modded one) but that fails. Then thought if I reset everything I might be able to install the latest apk but but it still won't allow me to do it. The play store version is still the same as the modded one installed via AiO
The issue now is how to uninstall the modded one from the AiO tool
Related
READ AT THE END OF THIS POST FOR THE SOLUTION
I accidentally used Titanium Backup's widget to frost all system and user apps, leaving mi phone in a infinite boot animation loop. I dont have aNandroid Backup and I would really love to solve this issue without flashing.
I found at Titanium Backup's troubleshooting webpage that I could use this command with adb to solve my issue:
Code:
Type the following command (replace with /dbdata/system/packages.xml if you have a Samsung phone):
busybox sed -n 's/<package name="\([^"]\+\)".*enabled="false".*/\1/p' /data/system/packages.xml | while read PKG; do pm enable "$PKG"; done
but it just says: No such file or directory (yes, I changed /data to /dbdata as stated in the webpage)
Any idea on how to solve this issue?
Thank you!
**EDIT:
This is the way I managed to get my phone working again without having to flash or wipe:
1. Boot in recovery mode and used adb pull command to extract "packages.xml" and "packages-more-backup.xml" from /data/system/
2. Open both files with Wordpad and replaced all protection="2" or "3" lines to protection="1".
3. Also, and very important, replaced all enabled="false" lines to enabled="true"
4. Boot in recovery again and used adb to delete old "packages.xml" and "packages-more-backup.xml" files and push the new ones.
5. Reboot and Voila!
6. Boot once again in recovery mode and fix permissions to avoid any problem.
Hope that this could be usefull to someone else having this horrible problem.
Thank you all!
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
nitox.n2o said:
Checked for that file on my phone, it doesn't exist in /dbdata/system/, but it does in /data/system/
Click to expand...
Click to collapse
I tried with /data too but same result.
shadow65781 said:
It's probably fixable from the command line with Linux but that is over my head, one option would be to Odin or heimdel back to stock, and start from scratch. You might need a jig to get into dlmode.
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
I know I could do that but I would really like to restore my system as it was
Help please
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Simba501 said:
I wonder what would happen if you removed the app (its apk) via adb from /data/app. Would it retain the freeze settings? Something to consider trying.
Click to expand...
Click to collapse
Pretty sure that's not gonna work because the frozen apps settings are at packages.xml file, but I can't access it I don't know why
jhermit said:
This happened to me. I reflashed the ROM without wiping and all was back to normal
Sent from my FrankenTAB using Tapatalk
Click to expand...
Click to collapse
I tried doing that right now but it didn't worked
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
shokuchi said:
I got a little too punchy with titanium on my 3 year old original Galaxy tab 7 and froze a samsung system app. Got irreversibly stuck is soft brickland - Tried various methods before giving up and hitting the wipe and reset to factory restore in the system recovery mode. Everything was backed up except recent photos, so it was more annoying than the end of the world.
Odd thing was when it reset to factory, it appeared to do just that, yet when I plugged it into PC and mounted it - the memory was full and all my files and app data files were there - untouched. The apps themselves have gone except one - Superuser is still there, Does Superuser somehow override being reset? and act as a guardian of your data in the event of reset?
Odd. I was expecting to run some file recovery software to a salvage what i could, but viola - it was all there.
Click to expand...
Click to collapse
Wrong forum dude
Sent from my Zanpakuto using Getsuga Tensho!
<deleted>
ZIP for unfreezing apps
For those, who accidentally frozen important system app: here quick solution without factory reset, reflashing and ADB
It automatically edits files as described in first post.
You should have unlocked bootloader. If no, ZIP useless because unlocking wipes all data.
Download both ZIP's and just flash them via custom recovery (TWRP / CWM)
If first throws error try second and vice versa. 2nd with mark "New" contains newer updater-binary that must be compatible with recent TWRP.
Then all apps will be unfrozen, so phone will boot.
Fix compatible with all Android versions.
Note: also you can somehow (ADB or filemanager in TWRP) delete file /data/system/0/package-restrictions.xml
More correct to edit that file which ZIP actually do, but deleting not harmful too.
tags: unfroze apps, auto-unfroze, defrost apps, unfreeze apps, 5596
Bonoboo said:
For those, who accidentally frozen system app there is quicker solution without factory reset and ADB.
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen.
Compatible with all Android versions.
Click to expand...
Click to collapse
THANKS MAN!! i just signed up to say thanks! you just saved my life :highfive:
Bonoboo said:
For those, who accidentally frozen system app here quicker solution without factory reset and ADB
It automatically edits files as described in first post.
Just flash this ZIP through recovery and all apps will be unfrozen, so phone will boot.
Compatible with all Android versions.
tags: unfroze apps, auto-unfroze
Click to expand...
Click to collapse
Thanks very much for the zip. It worked great
Same Problem
Does anyone have an updated version of that zip? I also froze an app linked to the device and it won't boot, even after factory resetting it. Tried running the zip on my t-mobile GS4 (probably newer than that zip) from the SD card in recovery mode, however it didn't unfreeze it.
Any help greatly appreciated!
pianoplayer55 said:
Does anyone have an updated version of that zip?
I also froze an app linked to the device and it won't boot, even after factory resetting it.
Click to expand...
Click to collapse
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Bonoboo said:
1. To flash that ZIP you need have custom recovery (CWM or TWRP), not stock.
No update needed, it still works in this case.
2. That strange. Maybe you not really performed reset?
Double check all and try again.
Click to expand...
Click to collapse
Yup, unfortunately I did select wipe data on the recovery screen. I am also stuck in an infinite boot up loop and cannot access the phone to install any apps. How can I use a custom recovery to run the zip file if i cannot access the phone? Instructions much appreciated. Thanks again.
pianoplayer55 said:
How can I use a custom recovery to run the zip file if i cannot access the phone?
Click to expand...
Click to collapse
ZIP – it's not app.
Again, you need to install custom recovery.
Here link to TWRP and how install it via Odin on PC.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Bonoboo said:
ZIP – it's not app.
Again, you need to install custom recovery.
You need place that ZIP on sdcard.
Enter in recovery (don't know how on your model), select Install > find ZIP > confirm > reboot,
Click to expand...
Click to collapse
Downloaded TWRP with Odin and ran custom recovery without a change after the zip (this must have been a deeper-rooted problem in the OS itself), however in the meantime I formatted the system partition, removing the operating system. Installed Kies and ran the update. It reinstalled the OS and I'm good now. Most stuff was backed up anyways. Thanks guys for your time :good::good:
Which apk is the culprit?
Man, I wish I'd found this thread before restoring my phones internal ROM. Had it rooted and set up in every way I like except removing bloatware.
Using TB, I froze a system apk that shut down my System UI and sent the phone bootlooping. What I'm trying to determine is WHICH apk(s) I froze that caused this. I thought I had researched each one that didn't seem obvious, but I musta missed one or one of the 'obvious' ones wasn't so obvious.
I can't use titanium backup anymore, everytime i run the app i get this:
Code:
Error
Sorry, I could not acquire root privileges. This application will *NOT* work!
Please verify that your ROM is rooted and includes Busybox, and try again
This attempt was made using the "/system/xbin/su" command
I'im running HWMOD's rooted firmware, with superuser "installed and updated", and also busybox "installed and updated". there's nothing wrong, but somehow i can't run titanium backup anymore somehow.
what can be the problem be please, i've googled it and i got no solutions whatsoever!
run the app root checker.
Also from someone who has been there, i dont think titanium works with our unit. Our unit has sd1 and sd2 and sd3. Titanium will backup to sd1, which is internal memory, you can see where this is going. I did a titanium backup, then full wipe, and lost everything because it was not backed up onto sd2...
nightanole said:
run the app root checker.
Also from someone who has been there, i dont think titanium works with our unit. Our unit has sd1 and sd2 and sd3. Titanium will backup to sd1, which is internal memory, you can see where this is going. I did a titanium backup, then full wipe, and lost everything because it was not backed up onto sd2...
Click to expand...
Click to collapse
I don't have to run ROOT CHECKER because i have already other root apps and they function flawlessly (SD maid, quick boot, Busybox installer...) but i run the ROOT CHECKER anyway and it says i do have root privileges.
i forgot to mention that i already used Titanium B to backup apps and data, everything was stored on the external sd card. i could also restore. after all this app is for all android devices.
hamdimo said:
I can't use titanium backup anymore, everytime i run the app i get this:
Code:
Error
Sorry, I could not acquire root privileges. This application will *NOT* work!
Please verify that your ROM is rooted and includes Busybox, and try again
This attempt was made using the "/system/xbin/su" command
I'im running HWMOD's rooted firmware, with superuser "installed and updated", and also busybox "installed and updated". there's nothing wrong, but somehow i can't run titanium backup anymore somehow.
what can be the problem be please, i've googled it and i got no solutions whatsoever!
Click to expand...
Click to collapse
Hi
Also running HWMOD's rooted firmware and Titanium Backup works perfectly well or me. I also have an
Advent Vega and I was able to transfer my SD card from it to the Media pad and restore apps from my Titanium
Backup on it to the Media pad.
Stransky
Sent from my VegaCream RC2 using xda premium
Stransky said:
Hi
Also running HWMOD's rooted firmware and Titanium Backup works perfectly well or me. I also have an
Advent Vega and I was able to transfer my SD card from it to the Media pad and restore apps from my Titanium
Backup on it to the Media pad.
Stransky
Sent from my VegaCream RC2 using xda premium
Click to expand...
Click to collapse
that's what makes the app perfect, BACKUP and RESTORE between different android devices.
have you updated superuser? this seems to have been the cause. Titanium Backup was working fine before I updated superuser and error message is the same as yours. currently i'm using MyBackups.
you can check HWMOD's thread for details as somone also has him about this already.
{SOLVED}
ferdz33 said:
have you updated superuser? this seems to have been the cause. Titanium Backup was working fine before I updated superuser and error message is the same as yours. currently i'm using MyBackups.
you can check HWMOD's thread for details as somone also has him about this already.
Click to expand...
Click to collapse
I solved it, the problem is that titaniumbackup is using the "/system/bin/su" command but the SU binaries are actualy installed in "/system/xbin/"
what i did is going to BUSYBOX and from there switching the install location to "/system/xbin/"
i tried "mybackups" but i prefer TB
hamdimo said:
I solved it, the problem is that titaniumbackup is using the "/system/bin/su" command but the SU binaried are actualy installed in "/system/xbin/"
what i did is going to BUSYBOX and from there switching the install location to "/system/xbin/"
i tried "mybackups" but i prefer TB
Click to expand...
Click to collapse
thanks hamdimo! will try your solution when I get home later.
btw, HWMOD just released HWMOD kernel 3.0.42 + custom updates and this issue was also addressed.
ferdz33 said:
thanks hamdimo! will try your solution when I get home later.
btw, HWMOD just released HWMOD kernel 3.0.42 + custom updates and this issue was also addressed.
Click to expand...
Click to collapse
I fear that my hack could led to believe that searching for the "su" binary only in predefined positions is a good thing ...
I still believe applications should gather the correct informations from the PATH environment variable, as good ol' *NIX does.
But as you said it's kind of addressed, let's hope the hack will have a story
These problems arise only if one updates the "Superuser" application past the 3.0.7 (with "su" binary 3.0.3.2).
That one version is the latest one working as expected.
And yes I am a bit sceptical about my own choice of including 3.1.3 instead of the 3.0.7 in my latest update.
The "su" binary executable alone has grown from a mere 22Kb to 380Kb and "apk" has doubled it's size too (1.5Mb).
Related to these changes in "Superuser" several applications does not work any more for many users and upgrades are needed.
The process of getting "root" privileges for any application has turned tremendously slow. From almost immediate to 2/3 secs. each time.
this solution worked for me
Since superuser is working and granting root permissions to other apps (except TB). Using root explorer, I tried renaming the original su file from /system/bin/su and replacing it (copy-paste) with the su file from /system/xbin
Reloaded TB and it worked =)
Actually i have no problem in my 1st install for titanium backup. but soe how i uninstall accidentally. when i reinstall, it prompt memory not enough but i hve abt 3.5 gb left. my fone is rooted S3. can anybody help. tks in advanced...
Sorry new to Android and am learning so please be gentle....I rooted my Razr Maxx and once I finished I installed some apps and made sure I had root access. I read that it was a good idea that I due a factory reset so I did....after the reset was complete. I noticed the icon SuperUser was now missing. Do I need that Icon? Was there any additional settings I could access via it. If so, how do I get it back?? thanks.
When you make a factory reset, all the user apps (that means all the aplications installed in the /data partition, the apps that the user has installed and wheren't there when you bought the phone) and all the personal configurations of the system are erased. A factory reset leaves your phone just as the way it was when you first turned on. So, if your SuperUser.apk was installed in the data partition it sure will be gone. That app is needed to administrate which aplications get elevated acces to some system resources, so if it's not there it is like you have no root access. Some scripts used to root the phone push the superuser.apk to the System/app folder instead of data/app, so it's not deleted by a factory reset, but this is not your case as it seems... You could donwload the superuser app from google play, but I dont recommend it as I tried it once and it didn't work. I think you should try repeating the whole root proccess, and not making a factory reset after it, it was never necessary for me. Good luck!
danygarss said:
When you make a factory reset, all the user apps (that means all the aplications installed in the /data partition, the apps that the user has installed and wheren't there when you bought the phone) and all the personal configurations of the system are erased. A factory reset leaves your phone just as the way it was when you first turned on. So, if your SuperUser.apk was installed in the data partition it sure will be gone. That app is needed to administrate which aplications get elevated acces to some system resources, so if it's not there it is like you have no root access. Some scripts used to root the phone push the superuser.apk to the System/app folder instead of data/app, so it's not deleted by a factory reset, but this is not your case as it seems... You could donwload the superuser app from google play, but I dont recommend it as I tried it once and it didn't work. I think you should try repeating the whole root proccess, and not making a factory reset after it, it was never necessary for me. Good luck!
Click to expand...
Click to collapse
Should I do a factory reset or can I just to the entire root process again now?
slawcop` said:
Should I do a factory reset or can I just to the entire root process again now?
Click to expand...
Click to collapse
Just do the entire rooting process again. If you do factory reset you will loose again your superuser.apk
You should be able to download the superuser app as the phone is still rooted. Try superSU, that's the SU app that installed when I rooted (eternity project easy root)
I did the same thing by mistake once & just downloaded the app & it worked like a charm.
Sent from my DROID SPYDER using xda premium
So I have the HTC Evo 4G LTE and i upgraded to the 3.16 update. Ran QBKING77's root and unlock method and everything worked great, my question is, i was using the phone and ran my backup of titanium and after i did that it said that i lost root access, so i did the twrp recovery (2.4.1) and reset the phone to right after the unlock, i deleted the titanium backup i had and downloaded all my apps and settings again manually, If i use Root checker basic (one with a white background and hashtag with a green checkmark) it says i have root access, if i use Root Checker (with blue android) it says i do not, if i try to use titanium backup it says i do not have root, but every other root program i have works fine and says i have root access, ROM Toolbox Pro works just fine...how do i get Titanium Backup to work???
edit- this is the error i get with titanium backup: sorry, i could not acquire root privileges. This application will *not* work! Please verify that your ROM is rooted, and try again. This attempt was made using the "/system/xbin/su" command
What rom are you on?? Also you can try to update your su app from within the app or flash the su zip found here
http://forum.xda-developers.com/showthread.php?t=1538053
to see if it will resolve the issue. Also what version of titanium backup are you using? You should have the option to hit the problems button and download a reliable version of busy box from within the titanium backup app. If not and your running a stock rom then download busybox from the play store, install latest ver and see if it helps.
#Root-Hack_Mod*Always=LTE
laie1472 said:
What rom are you on?? Also you can try to update your su app from within the app or flash the su zip found here
http://forum.xda-developers.com/showthread.php?t=1538053
to see if it will resolve the issue. Also what version of titanium backup are you using?
#Root-Hack_Mod*Always=LTE
Click to expand...
Click to collapse
Using the stock ROM, didn't flash anything, Using TB Version 6.01, and SuperuserSU Pro.
tonyevo52 said:
Using the stock ROM, didn't flash anything, Using TB Version 6.01, and SuperuserSU Pro.
Click to expand...
Click to collapse
Have you checked if Super SU is granting titanium backup root access?
Sent from my EVO using xda premium
Download busybox from the play store, run the app and get latest ver of busy box, clear data on tb, reboot, and see if you still get the error. If so try flashing the su zip from the link. If that's a no go I'd recommend backing up your data via other apps, making a nand & flashing a stock rooted rom.
#Root-Hack_Mod*Always=LTE
alpha_mau5 said:
Have you checked if Super SU is granting titanium backup root access?
Sent from my EVO using xda premium
Click to expand...
Click to collapse
It says it has access, says grant, but now the root checker basic i was using says i do not have access, restarting to see if i can change it, when i start SuperuserSU, it say i need to update the binaries and when i hit ok, it says installing and then operation failed and starts the program. As well, anything that has been granted access, a little black popup shell shows at the bottom of the screen real quick saying that super setcpu has been granted root access for the interactive shell?
I have tried two versions of busybox, busybox free which tells me there was a problem opening a shell with root access and then closes and i tried busybox installer which says device is rooted but when i hit install it says that instillation failed.
Im on the stock rom from the 3.16 update, everything i have read is that i would not be able to flash a rom because of compatibility issues and i the 3.16RUU is not available for download anywhere..and just FYI, still fairly new to rooting, but learning!
Thanks
Thanks 72, I flashed the SU Update 1.04 from your link and its working perfect now, good to go...take care. Hopefully it stays rooted!
tonyevo52 said:
Thanks 72, I flashed the SU Update 1.04 from your link and its working perfect now, good to go...take care. Hopefully it stays rooted!
Click to expand...
Click to collapse
No prob glad it worked out for you. Also have you read cap's post here
http://forum.xda-developers.com/showthread.php?t=2126626&page=4
Relating to flashing roms for those in your situation?? Check it out, definitely worth it.
#Root-Hack_Mod*Always=LTE
if i want to do a factory reset because of unacceptable lags, would i lose the root?
should i do survival mode on supersu or other thing to make sure the root would still be there?
anerco said:
if i want to do a factory reset because of unacceptable lags, would i lose the root?
should i do survival mode on supersu or other thing to make sure the root would still be there?
Click to expand...
Click to collapse
I believe as long as you have Superuser or SuperSU installed properly into the System directory and su within bin or xbin, you should be fine. Factory Resets wipe the Data partition, your settings and any Apps that you downloaded from the market. If you have SuperSu installed, you can check within its settings to see whether it is installed within System or not. If not, it might not be a bad idea to move it over. I have a Dev S4, so this isn't an issue for me, but everytime I have factory reset Root has been saved (Supersu is in System in my case) - the only thing I lost were any updates to Supersu after the Factory reset. Once you set up your gmail account, it should update SuperSu from the play store like normal.
You may also want to check out the app "fast reboot", "seeder" - which is found on XDA and a good cache cleaner. I use Sartory's "Cache Cleaner Legacy"
Actually Seeder really helping the lags. thank you for the information. i would try a factory reset my SU files are installed in the system.