Question: unroot from recovery? - Galaxy S 4 Q&A, Help & Troubleshooting

Does anyone know of a zip file to unroot from recovery?
I need to be able to flash new roms and unroot immediately before reboot (otherwise Good For Enterprise gets locked) so SuperSU's full unroot functionality isn't an option.
I would really be grateful if anyone could point me to such a zip, I have one that seems rather inefficient...
Thanks!
Sent from my SGH-L720 using Tapatalk

Related

Nexus 7 Stock Rooted 4.2 to 4.2.1 Stock Rooted Without Data Loss?

As the title says, does anyone know of this? I can't seem to find one or what the process should be to not lose data. If anyone can point me in the right direction I'd be very grateful.
I updated to 4.2.1 loosing root, then installed a custom recovery through the all in one kit and downloaded the CWM-SuperSU-v0.97.zip and flashed it through recovery without loosing data and gaining root.
If you cant find the file ley me know!
Enviado desde mi Nexus 7 usando XDA Premium HD app
Unless I've misunderstood, you're asking how to upgrade without losing your user data?
Here is a link to the 4.2.1 OTA flashable zip.
You can flash this in recovery without formatting your sdcard, upgrading your device to 4.2.1. Unless I'm mistaken if you have CWM 6.x.x recovery it should ask if you want to keep root, although I can't confirm this as I haven't used this method.
Hopefully this helps you out, let me know if you need any more help.
I didn't lose any data at all. Download OTA Root keeper and backup your root. Then install the OTA, once it boots back up reestablish root with root keeper. That's what worked for me and I had zero data loss.
Not to be a jerk but this is in the 4.2.1 thread multiple times.
Sent from my Nexus 7 using Tapatalk 2

4.3 Factory image with custom recovery?

I apologize for the noob question but I've never found myself in this particular situation...
I've decided to stick with the 4.3 JWR66V factory image while I wait for a working rooted version to be released or even an updated SuperSU or Superuser zip (that doesn't drain the battery or lose root with certain apps).
I used the factory image found HERE and followed the detailed instructions found HERE. I followed the instructions under section "D" vigorously which meant that I installed the stock recovery image as well. Everything is running as it should. However, I was curious if it was safe to flash TWRP 2.6.0.0 recovery through fastboot with my current setup. I'd like to use that recovery to wipe cache/dalvik and possibly fix permissions. However, I'm not sure if this will break something so I am hesitant to try it.
I have made sure the bootloader is unlocked. But I am curious if it's safe to flash and use TWRP while I am not rooted.
You can install recovery with no problem, root has nothing to do with it. however i think upon a reboot your recovery will be replaced with factory.
Interesting. I wonder why/how the system would flash back to stock recovery if I've pushed the TWRP recovery image over the factory image?
I flashed twrp from fastboot and it's still there. Just waiting on root
Sent from my Nexus 4 using xda app-developers app
otariq said:
I flashed twrp from fastboot and it's still there. Just waiting on root
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Without root would there be any functionality within TWRP that I shouldn't touch? Or does recovery functionality have no dependency on root?
What is there you wanna do? I just replaced stock with twrp so I can just flash the su zip when its out because I don't always have access to a PC. Also, Franco released his initial 4.3 kernel which I'm thinking about flashing.
When rebooting from twrp it'll ask if you wanna flash the su.apk because you don't have root I chose no because it wouldn't do anything for us right now without the binaries
Sent from my Nexus 4 using xda app-developers app
Good point. As of right now I guess I don't have a huge need for it. I'll just leave everything as is until a proper SuperSU is released. At which point I'll install the latest TWRP and root.
Just a question, wasn't nexus root toolkit supposed to be able to revert to stock?
I did it in previous android versions.
now I am running slim rom with CWM and "reverting to stock 4.3" using NRT doesn't work, the process finishes but nothing is done.
skinniezinho said:
Just a question, wasn't nexus root toolkit supposed to be able to revert to stock?
I did it in previous android versions.
now I am running slim rom with CWM and "reverting to stock 4.3" using NRT doesn't work, the process finishes but nothing is done.
Click to expand...
Click to collapse
No idea. I use a Mac and flash back to stock via Fastboot. You should just learn to do that anyway so you have a better sense of exactly what is going on and if something fails you'll know exactly which step is failing in order to correct it. Relying on a toolkit is like never taking the training wheels off your bike.

Will custom recovery prevent ota updates?

First let me apologise if this is in the wrong section. I could not decide if this was the best place for it or q a&a. As the title sais. If i flash twrp will it prevent me from receiving ota updates from Google. I have an HTC sensation XE and if i flash a custom recovery i know from past experience that it prevents ota updates. This nexus 7 however is my first "Google" device you could call it and as such i do not know that.
Can any one inform me on this issue. Also if it will an ota cause loss of root on this nexus like it did on my smartphone or will it stay? If it is gone i suppose it will simply be a matter of using chainfires root tool again when it gets updated for it.
Thanks in advance.
Sent from my Nexus 7 using Tapatalk 4
Q&A would be the best place for the post, but I can offer some insight. Any time you flash a custom rom you will forfeit the option of an ota update from your carrier or Google. This doesn't affect your play store apps as they will update when needed. The information that gets sent to your carrier identifies it as being non-official software so only a few custom ROMs that are well maintained will point the ota updates to its own servers. If you wish to receive official ota updates you should perform a nandroid backup of your stock rom to have a restore point for when a new release comes out. Aside from that, you would have to flash everything back to stock (probably stock recovery too) in order to be seen by the carrier as an eligible device.
Sent from my SGH-I727 using Tapatalk 2
Who said anything about flashing a custom rom. I know i didn't. Sorry but that reply is no insight at all. I asked if flashing twrp a custom recovery would prevent ota updates like on my phone. Nothing else. I did not say one word about custom recovery.
Sent from my Nexus 7 using Tapatalk 4
Ch3vr0n said:
Who said anything about flashing a custom rom. I know i didn't. Sorry but that reply is no insight at all. I asked if flashing twrp a custom recovery would prevent ota updates like on my phone. Nothing else. I did not say one word about custom recovery.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
If you install a custom recovery like twrp, you wouldn't be able to install an OTA from Google. You need stock recovery for OTAs.
now that's more of an answer i was hoping to get, can some other users confirm this? I suppose i'll lose root aswell but i imagine that would simply be a case of waiting for an updated root tool then. Say i do flash a recovery, does google have a page where you can manually download the update files to flash? But that would probably cause a lose of root as well but the custom recovery would remain intact, correct?
Ch3vr0n said:
now that's more of an answer i was hoping to get, can some other users confirm this? I suppose i'll lose root aswell but i imagine that would simply be a case of waiting for an updated root tool then. Say i do flash a recovery, does google have a page where you can manually download the update files to flash? But that would probably cause a lose of root as well but the custom recovery would remain intact, correct?
Click to expand...
Click to collapse
This has already been brought up many times e.g.
http://forum.xda-developers.com/showthread.php?t=2404833
I thought as much. I'll stick with stock recovery then until i need a custom recovery for some specific reason. For now root access is enough. And if an ota comes out and i lose recovery well I'll just wait for chainfire to update his root tool
i received the jss15j -> jsl36c update on my razorg with twrp recovery installed.
after the update stock recovery was back.
you can boot every recovery or kernel image without flashing it using fastboot:
fastboot boot nameofrecovery.img
I think you can have your cake and eat it too.
Instead of "fastboot flash recovery recovery.img" to flash the custom recovery, you can "fastboot boot recovery.img".
Every time you want the custom recovery, use fastboot boot command on the pc. This way you can make nandroid backups and flash superSU to root. But, you will not be replacing the stock recovery.
I did this on my HTC phone, when I wanted to remain stock, rooted, yet able to receive OTA updates.
HowardZ said:
I think you can have your cake and eat it too.
Instead of "fastboot flash recovery recovery.img" to flash the custom recovery, you can "fastboot boot recovery.img".
Every time you want the custom recovery, use fastboot boot command on the pc. This way you can make nandroid backups and flash superSU to root. But, you will not be replacing the stock recovery.
I did this on my HTC phone, when I wanted to remain stock, rooted, yet able to receive OTA updates.
Click to expand...
Click to collapse
Good to know.
Sent from my Nexus 7 using Tapatalk 4
I've taken OTAs using custom recoveries before on any number of devices. If you're not careful you can lose your recovery and have to reflash again, but sometimes you don't even lose that.
Well, there might be complications installing an OTA with custom recovery if it comes with a newer bootloader version/radio. Sometimes it works, but there were also reported problems.
Well i just had an ota update to jss15r and lost root as kinda expected. Now ill just have to find out if rerunning the root tool will be enough. Since it is already OEM unlocked i suppose i can simply modify that bat file and remove that line and run it again?

Verizon 4.4 OTA

I pulled this from my phone and posted it in the other thread, and someone suggested I make a thread for it. Here it is!
http://j2cool.com/mirror/files/Blur_Version.139.15.1.ghost_verizon.Verizon.en.US.zip
To install, you will need to be on the latest OTA (camera update).
Fastboot flash the original system.img and recovery,img
You can then use the volume down key to select "Recovery"
Once in recovery, press the power button and volume buttons together to bring up the menu,and select "Install from SDcard"
You can then select the OTA, and install it. Your phone will reboot, and you will have to do this again from the new recovery. You should then be able to reboot system and have your new 4.4 Kitkat Moto X!
Sent from my XT1060 using Tapatalk
Whoops. Replied while trying to edit. Mobile forum use is a pain.
Sent from my XT1060 using Tapatalk
Chrome says this file is dangerous
km8j said:
Chrome says this file is dangerous
Click to expand...
Click to collapse
Chrome is smart, Chrome knows a Verizon update image is too good to be true :laugh:
What's the install method for VZW Dev Ed?
Flash system.img but not boot.img?
Mercutio5 said:
What's the install method for VZW Dev Ed?
Flash system.img but not boot.img?
Click to expand...
Click to collapse
You don't need boot.img in either. Now, I don't know how the dev ed works, maybe it's just the exact same with an unlocked bootloader, so let me know how installing goes.
km8j said:
Chrome says this file is dangerous
Click to expand...
Click to collapse
Because it's a large zip file from somewhere no one has downloaded before. I promise you, it's safe and clean though.
Mercutio5 said:
What's the install method for VZW Dev Ed?
Flash system.img but not boot.img?
Click to expand...
Click to collapse
Dev edition you can install like any other device. The benefit is that you can flash custom files without recovery flipping its ****.
Sent from my XT1080MDEV.
Will this work on GSM dev edition?
tesselator said:
Will this work on GSM dev edition?
Click to expand...
Click to collapse
Only if you want to break your phone.
This is for Verizon.
Whats the procedure for flashing this on a rooted verizon dev edition
Gs0230 said:
Whats the procedure for flashing this on a rooted verizon dev edition
Click to expand...
Click to collapse
Put the zip in internal storage. Go into stock recovery, install zip, choose this update zip. Because one of the first things it does it flash a new recovery, you have to go into recovery again and install zip again (the second time around it knows it doesn't have to flash the recovery).
Of course, since this way uses stock recovery, you have to be running stock.
I'm on stock just rooted with unlocked bootloader twrp 2.6.3 installed will I lose root
Sent from my XT1060 using XDA Premium 4 mobile app
Gs0230 said:
I'm on stock just rooted with unlocked bootloader twrp 2.6.3 installed will I lose root
Sent from my XT1060 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You need to use stock recovery. After the update u can install twrp and root again
Can I keep root and how do i revert to stock recovery
Gs0230 said:
I'm on stock just rooted with unlocked bootloader twrp 2.6.3 installed will I lose root
Sent from my XT1060 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Yes, you're going to lose root (the update will wipe out System). If you have an unlocked bootloader then it isn't a big deal -- just re-root after the update.
BUT don't try to flash this update with twrp installed. 1) I'm pretty sure it won't work anyway b/c it needs to verify that your System is stock and, at the very least, installing twrp changes the install-recovery script which is in System 2) this .zip file is made to be flashed from a stock recovery, so I'm not sure it would work 3) as I said before, part of this update is a new recovery - I'm not sure how well the process would go if you started from twrp
And how would I root after its done
Gs0230 said:
And how would I root after its done
Click to expand...
Click to collapse
The same way you rooted before?
I'm sorry, I've been assuming you have a Dev edition b/c you said you had twrp -- is that not the case? If you do NOT have a dev edition and you rooted via pwn- or rock- or whatever its called myMoto then NO, you will NOT be able to root after the update until someone releases another hack
piccit said:
Put the zip in internal storage. Go into stock recovery, install zip, choose this update zip. Because one of the first things it does it flash a new recovery, you have to go into recovery again and install zip again (the second time around it knows it doesn't have to flash the recovery).
Of course, since this way uses stock recovery, you have to be running stock.
Click to expand...
Click to collapse
I got this the second time (with the new recovery):
"Install aborted"
:|
Maybe the battery level is too low, so i'm gonna charge it a little and see what happens
PS: the "normal" OTA is downloading SO slow D: that's why i'm trying the one in this thread
------EDIT----
For some reason the download speed just increased, so i'm staying with it
I cannot flash this in TWRP right?

[Q] Regarding 4.4

So, I got the OTA notification, and before I do something stupid, I have a few stupid questions I'm on stock 4.3, rooted, unlocked bootloader, custom recovery, xposed framework and franco kernel. I read in other people's threads that in order to not brick, I should go back to stock kernel, stock recovery and I'll lose root and unlocked bootloader, correct? If so, is wug's kit still usable on 4.4 to get root/unlock back? And regarding xposed, anything I should do about that, like go to stock framework lol or the framework doesn't affect the update? Sorry for all the questions, but I don't want to risk a brick, and THEN ask many questions Thank you very much!
First of all this won't brick your phone. You have a few options:
1-download the ota zip, go into recovery, do a full wipe and flash the ota zip. (This is the quickest and easiest method. After doing this you will still have your custom recovery, and the contents of your internal storage will be untouched.)
2-Flash the factory images. (Your phone gets completely wiped, including your custom recovery.)
Sent using xda-developers app
Just go into Wugs and flash the latest firmware directly, you won't have to change anything else.
Sent from my Nexus 4 using xda app-developers app
Chromium_ said:
First of all this won't brick your phone. You have a few options:
1-download the ota zip, go into recovery, do a full wipe and flash the ota zip. (This is the quickest and easiest method. After doing this you will still have your custom recovery, and the contents of your internal storage will be untouched.)
2-Flash the factory images. (Your phone gets completely wiped, including your custom recovery.)
Sent using xda-developers app
Click to expand...
Click to collapse
Alright, thanks! according to method 1, will I lose root? If so, is it as easy as flashing supersu again, or do I have anything else to do? Thanks again!
sinnerghost said:
Alright, thanks! according to method 1, will I lose root? If so, is it as easy as flashing supersu again, or do I have anything else to do? Thanks again!
Click to expand...
Click to collapse
Yes, root will be lost. But to get it back just download the latest supersu and simply flash it via recovery. Thats all.
sinnerghost said:
So, I got the OTA notification, and before I do something stupid, I have a few stupid questions I'm on stock 4.3, rooted, unlocked bootloader, custom recovery, xposed framework and franco kernel. I read in other people's threads that in order to not brick, I should go back to stock kernel, stock recovery and I'll lose root and unlocked bootloader, correct? If so, is wug's kit still usable on 4.4 to get root/unlock back? And regarding xposed, anything I should do about that, like go to stock framework lol or the framework doesn't affect the update? Sorry for all the questions, but I don't want to risk a brick, and THEN ask many questions Thank you very much!
Click to expand...
Click to collapse
whyyyyyyyyyyyyyyy whyyyyyyyyyyyyyyyyy whyyyyyyyyyyyyy all this man just go to forum and download stock rooted 4.4 its 10 minutes out of your life and its done.. Hey if you like just wipe system dalvik and cache and upgrade you wont lose any apps but of course if this is an issue or get FC just factory reset... Its soooo simple

Categories

Resources