Lost root after CWM backup - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

I currently have the 4.4.2 Google Play edition rom by Danvdh installed. I was performing a backup to flash the new 4.4.3 through CWM.
After the backup, there was a message that root may be lost and if I should fix it. I selected 'Yes'.
After the reboot, I no longer have root access. I have tried to re-root with motochopper and it continues to fail.
Can I restore a backup to regain my root? Or is there another way to regain my root access?
I tried searching for similar issues but could not find one that addressed my problem specifically.
Thanks in advance.

FIXED!!!
Not sure how or why, but SuperSu got messed up. Then I tried to open it, I was receiving an error that no binaries were found. I tried re-installing the apk without success. I then flashed the SuperSu zip in CWM recovery mode. Once it restarted, I was then able to open SuperSu and my root was back.

tuffgong2k3 said:
Not sure how or why, but SuperSu got messed up. Then I tried to open it, I was receiving an error that no binaries were found. I tried re-installing the apk without success. I then flashed the SuperSu zip in CWM recovery mode. Once it restarted, I was then able to open SuperSu and my root was back.
Click to expand...
Click to collapse
If you are using old CWM you would get the message saying "you root may be lost "and asking you to fix it before reboot. Never said "yes" to that questions. That will mess up your super su. If you read through the general section you could see some post about this.

sway8966 said:
If you are using old CWM you would get the message saying "you root may be lost "and asking you to fix it before reboot. Never said "yes" to that questions. That will mess up your super su. If you read through the general section you could see some post about this.
Click to expand...
Click to collapse
Ahhh, thanks sway. I obviously did not find that section. I thought I had the latest CWM, but I guess I didn't. Time to update.

Related

OTA with TWRP?

this may have been asked, but i'm new to the nexus 7. i rooted it right away, and put TWRP on. probably shouldn't have but i like doing nandroids. i was excited for the OTA and want to just install it since my tab got it, but it won't obviously since i've got a custom recovery (duh i should've thought of that..) and i don't want to go flashing roms yet (i like keeping everything stock right away, it's so smooth)
so my question is, is there a way to go back and flash the stock recovery somehow so i can OTA, then put TWRP back on? i can't find the stock file to fastboot flash or anything
You can either download the OTA update manually and flash via TWRP. or do a full 4.2 stock ROM
http://forum.xda-developers.com/showthread.php?t=1989158
Warning: there have been mixed results from the early adopters on the OTA patch. I was running 4.1.2, TWRP, and SuperSU. I lost both SuperSU and TWRP when I upgraded and a handfull of apps are not working right with the new multi user file structure.
The way I did it was
1) Download the OTA zip from the thread I posted above
2) Moved that to SD Card (I moved via Google Drive, you can use USB if you want) I did the whole thing while waiting for a flight without a computer handy
3) Reboot to TWRP Recovery
4) Flash OTA Zip
To get Root and TWRP back I did the following (note, I have SuperSU pro and the survival mode was checked)
1) disabled SuperSU and reenabled which prompted to update Binaries
2) flashed TWRP via ROM Toolbox
kangy said:
You can either download the OTA update manually and flash via TWRP. or do a full 4.2 stock ROM
http://forum.xda-developers.com/showthread.php?t=1989158
Warning: there have been mixed results from the early adopters on the OTA patch. I was running 4.1.2, TWRP, and SuperSU. I lost both SuperSU and TWRP when I upgraded and a handfull of apps are not working right with the new multi user file structure.
The way I did it was
1) Download the OTA zip from the thread I posted above
2) Moved that to SD Card (I moved via Google Drive, you can use USB if you want) I did the whole thing while waiting for a flight without a computer handy
3) Reboot to TWRP Recovery
4) Flash OTA Zip
To get Root and TWRP back I did the following (note, I have SuperSU pro and the survival mode was checked)
1) disabled SuperSU and reenabled which prompted to update Binaries
2) flashed TWRP via ROM Toolbox
Click to expand...
Click to collapse
thanks kangy! i also lost both when i flashed.
the reason it didn't work was that i frogot i played with my build.prop and had apps frozen on titanium.
so i disabled and reenabled SuperSU, but no prompt to update.
i'm using rom toolbox now to install but it keeps telling me install failed...basically because it doesn't have root i presume. any ideas?
Alright try this.
Go to SuperSU settings and and click on Reinstall under Cleanup, it will give you a prompt and tell you it will self close and to re-install from the market. (Mine never fully uninstalled which I assume is due to it being flashed to ROM, I checked under the App manager and it only had a downgrade option so) Anywho. If it did uninstall go ahead and redownload it from the market, if it didn't check the market anyway, the Dev published and update for it to help with 4.2 multi users.
Once you get it reinstalled and/or updated from the market go back to the settings and Toggle off Enable Superuser, close the app, re-open and then re-enable superuser. You probably will want to give it a reboot at this point. (Ive restarted my device a hundred times since going to 4.2 from trying to work through the bugs. Once you restart test a root app. I used Adaway for the test. Important, if the app fails or gives an error about not having root, try again. After I went through all of those motions SuperSU was pretty slow for a while with giving root access, usually the second request from the app wakes it up. Since then though it is back to being snappy with zero lag.
Yes, the reason you can't flash TWRP through ROM Toolbox is that requires root. Once you get your SuperSU working try flashing the latest TWRP again, it should only take a few seconds to flash. Let me know how it goes, I'm subscribed to the thread. I may not be the smartest guy on XDA but you are in the same exact boat I was last night!
jayochs said:
thanks kangy! i also lost both when i flashed.
the reason it didn't work was that i frogot i played with my build.prop and had apps frozen on titanium.
so i disabled and reenabled SuperSU, but no prompt to update.
i'm using rom toolbox now to install but it keeps telling me install failed...basically because it doesn't have root i presume. any ideas?
Click to expand...
Click to collapse
First, determine if you have root or not. Open TiBackup, if it opens correctly and you can see all your apps listed, you have root. Otherwise it will say "Failed to obtain root," and quit.
If you have root, then great. If not, you can flash the SuperSU zip in TWRP/CWM: http://download.chainfire.eu/282/SuperSU/CWM-SuperSU-v0.98.zip
I haven't tried flashing superSU, I've always flashed Superuser zip [google "superuser zip"], and then installed superSU from Play store.
Once you have root..
Go to Settings > Security and check allow installation from non-market apps, and uncheck the security feature that checks all apps for being malicious.
Then try it. If you still cannot restore apps, you might have to install them with adb.
I just updated someone's N7 to 4.2, and as usual I backed up everything in TiBackup.
Then I backed up the TitaniumBackup directory [because I had to do a full factory reset].
I then extracted all the .apk.gz files with gunzip. [in linux OR adb: $ gunzip *.apk.gz -- for windows, I suppose you would have to use 7-Zip].
Then I tried to install with pm:
Code:
for i in *.apk; do pm install $i; done
But every one was giving me an error, INSTALL_FAILED_INVALID_URI, I couldn't figure it out. Found a thread said to chmod 755 /data/local, but that did not fix it.
So what I had to do, was on my linux PC:
Code:
for i in *.apk;
do adb install "$i"
done
So I finally was able to batch install my apk files.
after that I restored all apps data.
Nandroid back ups not possible after 4.2 update
After updating my rooted N7 to 4.2 OTA I re-rooted using Wug's Nexus Root Toolkit 1.5.5 and realized that Nandroid back ups are failing.
I had no problem creating such back ups while on 4.1.2 and using his Toolkit 1.5.3. I guess the reason may be that the 1.5.5 Toolkit does not have the latest build incorporated.
Yordan5 said:
After updating my rooted N7 to 4.2 OTA I re-rooted using Wug's Nexus Root Toolkit 1.5.5 and realized that Nandroid back ups are failing.
I had no problem creating such back ups while on 4.1.2 and using his Toolkit 1.5.3. I guess the reason may be that the 1.5.5 Toolkit does not have the latest build incorporated.
Click to expand...
Click to collapse
why are you even using a toolkit? it's a nexus!...
Root by flashing Superuser zip or superSU zip in CWM/TWRP.
Make nandroid backups in CWM/TWRP, and you should have no problem.
mvmacd said:
why are you even using a toolkit? it's a nexus!...
Root by flashing Superuser zip or superSU zip in CWM/TWRP.
Make nandroid backups in CWM/TWRP, and you should have no problem.
Click to expand...
Click to collapse
NRTK 1.5.5 would not flash the 4.2 custom rom I fed it either. Just kept stalling out with errors that it could not find the zip file.
So I booted into TWRP and flashed it with no problem at all.
I also did backup in TWRP and checked everything but saw no mention that is was a Nandroid backup. How can I be sure?
i'm trying to nandroid back to a 4.1.2 nandroid i have, problem is, twrp has different directories for nandroids in 4.2 than 4.1.2...so it can't find the old nandroids and i can't find the 4.2 dir where twrp stores them now. ugh. such a damn headache for an update that it turns out i didn't want lol
Read my post below, I was having the same problem but got back on 4.1.2. You have to use the twrp explorer and relocate the twrp files since 4.2 moved them.
http://forum.xda-developers.com/showthread.php?t=1992552
Nandroid Downgrade from 4.2 to 4.1.2
Sent from my Nexus 7 using Tapatalk 2

I think I lost root?

I have had dirty unicorn for a while, and it has been fine, but I was trying to back up with titanium and it said I didn't have root. Is there something I can do? I thought to update SU in the play store, and now my phone says that the SU binary is out of date, and when I open SU, it says "The Superuse binary (su) must be updated. please choose method of install, and I press recovery install since only other is cancel, and then it says "THere was an error installing. Please send log of the error to the dev. Should I be installing super SU from recovery?
I think the latest TB has issues. I lost root but had up-to-date su's. And root for all else. I wiped caches and fixed permissions and it worked. Otherwise get previous TB and don't allow it to update. You could also un-reinstall app. Believe there is a link to previous one at end of one of the rom threads, maybe Jamison's?
NO--Here for previous TB
http://forum.xda-developers.com/showthread.php?t=2537495&page=99
Sorry, I am in too many threads--
rugmankc said:
I think the latest TB has issues. I lost root but had up-to-date su's. And root for all else. I wiped caches and fixed permissions and it worked. Otherwise get previous TB and don't allow it to update. You could also un-reinstall app. Believe there is a link to previous one at end of one of the rom threads, maybe Jamison's?
NO--Here for previous TB
http://forum.xda-developers.com/showthread.php?t=2537495&page=99
Sorry, I am in too many threads--
Click to expand...
Click to collapse
Do you mean fix permsions and wipe cache in recovery?
Edit* I tried to do this, but it didn't fix the root problem. I still don't have root and I did install that older TB too
joeym11 said:
Do you mean fix permsions and wipe cache in recovery?
Edit* I tried to do this, but it didn't fix the root problem. I still don't have root and I did install that older TB too
Click to expand...
Click to collapse
Yes, that is what I meant. Do you have root with other apps like root explorer. there are root checker apps and you can use terminal emulater and type su.
If tb is only app not working as root. un and reinstall it. I remember one time I had to rebuy it.
Also, do you have a working nandroid of your rom where tb was seeing root--if not I would do one, if possible, before trying other things.
This is a flashable SuperSU zip thru recovery--
https://www.dropbox.com/sh/yhrq0tia8512rj9/sVQpu6e2VL/UPDATE-SuperSU-v1.69.zip

Bootloop after installing TWRP from TWRP Manager

So after rooting my Samsung Galaxt S5 (SM-G900W8), I wanted to install TWRP. I did it from the TWRP Manager. It was succesfull. Then when I was in Recovery I wanted to reboot the phone. It then asked if I wanted to install SuperSU (which I already had). I pressed yes and when it rebooted, well it never booted. Im stuck in a bootloop. Any help ?
Thanks for posting this! I have the exact same problem man, the same exact thing and i couldnt figure out how to fix it. It's like we're related man... No matter what i do, bootloop. Can anyone help? it should be rather simple to fix im sure.
Tried rooting the phone again the way you did originally? CF AR or whatever you used?
Clear caches
Delete SuperSU using file explorer in TWRP
Flash stock ROM over the top of broken one
Factory reset
*Detection* said:
Tried rooting the phone again the way you did originally? CF AR or whatever you used?
Clear caches
Delete SuperSU using file explorer in TWRP
Flash stock ROM over the top of broken one
Factory reset
Click to expand...
Click to collapse
I found a fix, well its not really a fix. I used Samsung Kies to reset my phone. Then I tried installing the recovery again but this time when it asked me if I wanted to install SuperSU, I chose not to because I already had it installed and now it works. Thanks for the reply anyways.
Nice job, yea most guides tell you not to install SuperSU from TWRP if you already have it installed

Lost root after flashing 4.1.6, Please help.

Hi, Can someone please help, I must have done something wrong. Flashed official 4.1.6 update through twrp successfully, but lost root, tried to flash super su again (ver 2.86), but got stuck in boot, logo froze.
Flashed 4.1.6 again, phone works but no root still.
Is that a wrong super su version or did I do something else wrong?
Help will be really appreciated.
Regards
After flashing a full update you'll always have to reflash your root solution. I guess you mean SuperSU v2.82...
Use the official 2.82, found here (there's a link to the flashable zip). There's also a link to a version to try if you're experiencing bootloops.
You could also try the release candidate, found here.
Magisk all the way
1. Wipe data
2. Flash ROM
3. Flash root package, either SuperSU or Magisk
4. Reboot
I see no reason why wouldn't this work for you
Didgeridoohan said:
After flashing a full update you'll always have to reflash your root solution. I guess you mean SuperSU v2.82...
Use the official 2.82, found here (there's a link to the flashable zip). There's also a link to a version to try if you're experiencing bootloops.
You could also try the release candidate, found here.
Click to expand...
Click to collapse
Hi,
Many thanks.
Before proceeding, should the super su app also be removed from phone?
Regards
dua999 said:
Hi,
Many thanks.
Before proceeding, should the super su app also be removed from phone?
Regards
Click to expand...
Click to collapse
When you flash the rom it will already be uninstalled
sakumaxp said:
When you flash the rom it will already be uninstalled
Click to expand...
Click to collapse
I think, I was not able to explain, Rom is already there, but I just flashed 4.1.6 update, and root was gone.
Just wanna avoid all those data backup, restore, register all new banking apps etc, it time consuming and painful.
I am pretty sure, root can be restored, when I have an unlocked bootloader, twrp recovery working properly.
SuperSU is still there in apps but can't open as says, root not available. However, can uninstall this if that is required.
Cheers
dua999 said:
I think, I was not able to explain, Rom is already there, but I just flashed 4.1.6 update, and root was gone.
Just wanna avoid all those data backup, restore, register all new banking apps etc, it time consuming and painful.
I am pretty sure, root can be restored, when I have an unlocked bootloader, twrp recovery working properly.
SuperSU is still there in apps but can't open as says, root not available. However, can uninstall this if that is required.
Cheers
Click to expand...
Click to collapse
You can try to uninstall it through supersu app but make sure to keep you boot img. Then your phone will be fully unrooted, go into twrp and reflash supersu/magisk
sakumaxp said:
You can try to uninstall it through supersu app but make sure to keep you boot img. Then your phone will be fully unrooted, go into twrp and reflash supersu/magisk
Click to expand...
Click to collapse
Thanks all for help, all sorted

Lost root access and can't get it back via Magisk. Help!

Galaxy S8 Exynos [SM-G950FD] Android Oreo 8.0.0
Hello. it's my first time posting here. So I've had a successful attempt at flashing TWRP and Magisk into my phone. Today I accidentally plugged in my charger while it was in the process of rebooting, so it entered my device into kind of a bootloop. I solved this by going into Download Mode and pressing 'Cancel', which prompted my device to successfully reboot and work again.
The problem is that I've somehow lost my root. None of my apps can get root access, CPU-Z says no root available, and Magisk Manager said "Magisk is not installed". Idk how I got to this because yesterday all was working, I assume it's because I got a bootloop or went into Download Mode.
I tried to install the official Magisk ZIP file from the Manager, go into recovery mode, and flash it via TWRP. Unfortunately this didn't work. This is the only solution I can come up with besides reflashing Stock and having to flash Magisk again and wipe all my current data. If anyone has any suggestions please comment down below as I'm kinda stuck rn. They would be greatly appreaciated!
bigbraintime said:
Galaxy S8 Exynos [SM-G950FD] Android Oreo 8.0.0
Hello. it's my first time posting here. So I've had a successful attempt at flashing TWRP and Magisk into my phone. Today I accidentally plugged in my charger while it was in the process of rebooting, so it entered my device into kind of a bootloop. I solved this by going into Download Mode and pressing 'Cancel', which prompted my device to successfully reboot and work again.
The problem is that I've somehow lost my root. None of my apps can get root access, CPU-Z says no root available, and Magisk Manager said "Magisk is not installed". Idk how I got to this because yesterday all was working, I assume it's because I got a bootloop or went into Download Mode.
I tried to install the official Magisk ZIP file from the Manager, go into recovery mode, and flash it via TWRP. Unfortunately this didn't work. This is the only solution I can come up with besides reflashing Stock and having to flash Magisk again and wipe all my current data. If anyone has any suggestions please comment down below as I'm kinda stuck rn. They would be greatly appreaciated!
Click to expand...
Click to collapse
Check out this guide. It may be of some use
https://www.didgeridoohan.com/magisk/HomePage
spawnlives said:
Check out this guide. It may be of some use]
Click to expand...
Click to collapse
Thanks. I tried the methods listed in the "Lost root randomly" section and unfortunately they didnt work. Do you have any other ideas? Maybe I could "Select and Patch a File" in Magisk's Install but afaik Magisk doesnt have its img./tar. file.
I should probably just flash a fresh stock and redo the root process, but then my data will be wiped and I dont really want that lol
bigbraintime said:
Thanks. I tried the methods listed in the "Lost root randomly" section and unfortunately they didnt work. Do you have any other ideas? Maybe I could "Select and Patch a File" in Magisk's Install but afaik Magisk doesnt have its img./tar. file.
I should probably just flash a fresh stock and redo the root process, but then my data will be wiped and I dont really want that lol
Click to expand...
Click to collapse
Have you tried the uninstaller through magisk or twrp then try again with magisk.
When trying to re-install magisk do you get any errors.
https://github.com/topjohnwu/Magisk/releases
Also if worried about losing apps/data do a backup before trying anything.
The easiest way is to flash firmware and start from scratch again but backup first.

Categories

Resources