[Q] ota killed my root - Samsung Galaxy Nexus

went from 4.0.2 to 4.0.4 thanks to my daughter
and now my root is kaput.
is there a way to restore root w/o losing my data? Do i have to root it all over again?
thanks for the help

Primevyl said:
went from 4.0.2 to 4.0.4 thanks to my daughter
and now my root is kaput.
is there a way to restore root w/o losing my data? Do i have to root it all over again?
thanks for the help
Click to expand...
Click to collapse
Flash custom recovery if you haven't already. You'll need an unlocked bootloader to flash recoveries. If your bootloader is locked, it'll wipe your phone. Unlocking bootloader is not required if a custom recovery has already been flashed. Flash a root package.
PS: I hate that the thanks button is right next to the reply button.

If you kept your bootloader unlocked after rooting the first time, simply follow the same procedure to root again (without the unlocking, of course); flashing CWM, and flashing the SU.zip, etc..
If you've locked the bootloader, you have to unlock it again, which will wipe the device.

Use my guide.
Ignoring the unlock command (as the above poster said) if you're already unlocked.

No need to even flash cwm; just boot it with 'fastboot boot recovery cwm_file.img', flash su (you'll find updated zips for 4.0.4 around), reboot, enjoy your rooted system while still being able to take otas.
Sent from my i9250

bk201doesntexist said:
No need to even flash cwm; just boot it with 'fastboot boot recovery cwm_file.img', flash su (you'll find updated zips for 4.0.4 around), reboot, enjoy your rooted system while still being able to take otas.
Sent from my i9250
Click to expand...
Click to collapse
I find this redundant...
Only because the recovery is rewritten upon reboot to the stock one anyway.

Well, that's also a valid point of view.
What's really redundant is that OP seems to be quite attached to his data, and he mentions root on 4.0.2, so most likely he never unlocked it, since, as we know, 4.0.2 had a root exploit.
Sent from my i9250

My guide will get him backed up =]

i used this
http://www.galaxynexusforum.com/for...cdma/1445-wugs-galaxy-nexus-root-toolkit.html
and it worked fairly well
thank you for all the responses

Related

A Few Questions About Rooting and Flashing 4.0.4 Update

ey everyone,
My bootloader is current unlocked, and I'm thinking of rooting (using Wugs toolkit) for the sole purpose of flashing the 4.0.4 update. But before I do, I have some questions that I'm hoping you can help with. Keep in mind that I am VERY unfamiliar with rooting/AOSP/CWM/etc, but I did previously root using Wug's toolkit. But I read somewhere that you can't receive OTA updates if rooted, so I did Wug's "flash back to stock". To my horrible dismay, this completely wiped/rest my device.
1. If I root again using Wug's toolkit, is there a way to UNroot that will not wipe/reset my phone?
2. If, once rooted, I flash the 4.0.4 update, does this wipe/reset my device in any way?
3. If, once the official 4.0.4 OTA comes out from VZW, what is the process to receive that official version from VZW? And, will any of this process involve wipe/reset of my phone? (and I don't mean another flash from the developer community)
4. There are so may threads, and the threads are so large, that I can't determine what is the best method to flash the 4.0.4 update. Does anyone have a direct link to such method (without having to read through 47,830 posts?
As you can tell, I don't want to do anything that will wipe/reset my phone. I don't want any of my data to be disrupted, and I don't want my home screens reset either. Basically looking to update to 4.0.4 the same way that it would be done if VZW pushed it out to my phone (i.e. No need to re-setup my phone).
bamorris2 said:
As you can tell, I don't want to do anything that will wipe/reset my phone. I don't want any of my data to be disrupted, and I don't want my home screens reset either.
Click to expand...
Click to collapse
So forget it. Unlocking your bootloader will do a full reset of the phone.
Also, there is absolutely no need to root the phone to flash custom ROMs (rooting is not the same as unlocking !)
Do you have the CDMA or GSM version of the phone ? If you have the CDMA, you can flash the leaked 4.0.4 without unlocking
Assuming your bootloader is unlocked...
Download the 4.0.4 Update, rename the file to update.zip, and put it on your phone's SD folder.
h
Download and install the Galaxy Nexus Toolkit
-Connect your phone to your PC
-Boot into fastboot mode
-Start up the toolkit
-Select your phone model (probably Android 4.0.2)
-Select "Boot into CWM without permanently flashing"
-Select Boot CWM Recovery ( I used the touch version)
-You should see some activity on your phone right away
-Once CWM is up and running, just select "Install from update.zip"
-Wait a few minutes.
-Enjoy
(This method did not delete any data or change any settings)
bamorris2 said:
1. If I root again using Wug's toolkit, is there a way to UNroot that will not wipe/reset my phone?
Click to expand...
Click to collapse
Yes. OTA RootKeeper
Lemim0uth said:
So forget it. Unlocking your bootloader will do a full reset of the phone.
Do you have the CDMA or GSM version of the phone ? If you have the CDMA, you can flash the leaked 4.0.4 without unlocking
Click to expand...
Click to collapse
Unlocking the bootloader will definitely wipe your phone, but he said his bootloader is already unlocked.
To install the update, your phone doesn't require root, but it does require an unlocked bootloader.

remove CWM without data wipe?

About a week ago I decided to root my phone. My goal was to get my phone to yakju by flashing 4.1 . After nearly bricking my phone, I eventually got there. What I want to do now is be able to receive OTA updates in the future. I understand that having CWM recovery installed will cancel these updates. Can anyone help me get rid of CWM without losing my data?
Thanks
Sent from my Galaxy Nexus using xda app-developers app
You need to flash the stock recovery back, which can be done via Fastboot. It won't wipe data.
You also need to make sure you have the proper bootloader and radio (which should've updated when you went to 4.1). Both need to be in place to receive and auto-install an OTA.
martonikaj said:
You need to flash the stock recovery back, which can be done via Fastboot. It won't wipe data.
You also need to make sure you have the proper bootloader and radio (which should've updated when you went to 4.1). Both need to be in place to receive and auto-install an OTA.
Click to expand...
Click to collapse
Thanks Marton.
I forget to mention that I'm a real n00b at all of this stuff,
I'm downloading the 4.0.4 "yakju" factory image from here. Is it ok to apply this using the wugfresh root toolkit? Once I flash the stock image I will be prompted to update to 4.1?
My phone details are attached.
your already on 4.1.1 with correct radio.
Just flash the stock recovery using fastboot.
No need to flash 4.04 again.
atifsh said:
your already on 4.1.1 with correct radio.
Just flash the stock recovery using fastboot.
No need to flash 4.04 again.
Click to expand...
Click to collapse
Thank you!
I installed 4.1 using a toolkit and it wiped my data, but I didnt have much on there anyway.
I now have stock android 4.1, yakju, unlocked bootloader and not rooted. How can I root my phone from here?
tomcintosh said:
Thank you!
I installed 4.1 using a toolkit and it wiped my data, but I didnt have much on there anyway.
I now have stock android 4.1, yakju, unlocked bootloader and not rooted. How can I root my phone from here?
Click to expand...
Click to collapse
uhh. You need to follow the same guide to root as always. You flash CWM, flash the su.zip and push the superuser.apk.
But I thought you wanted stock recovery? As I said before, you can just flash it via Fastboot.
If you have adb already setup.
Adb reboot-bootloader. To get boot loader mode.
Fastboot flash recovery recovery.img
Fastboot reboot.
Recovery.img = stock recovery you can rename the file or use the exact name in command.
It will not wipe.
martonikaj said:
uhh. You need to follow the same guide to root as always. You flash CWM, flash the su.zip and push the superuser.apk.
But I thought you wanted stock recovery? As I said before, you can just flash it via Fastboot.
Click to expand...
Click to collapse
Yeh... don't know what I'm saying now
Thanks for the help.
Sent from my Galaxy Nexus using xda app-developers app

unlocking 4.1.1 OTA update?

Hello all,
Just did an OTA update to JRO03O after unrooting and relocking my phone. Then went to Root Toolkit 1.5.3 to root and unlock the new ROM but the only option there was JRO03H to select for my Verizon phone. Can I select this "H" version (or the last choice, which is MYSID-TORO;Android*.*) to root and unlock it? Or must I wait for my specific build to appear?
Do you use fastboot? I avoid toolkits like the plague because you learn nothing from them. Try using fastboot to flash a custom recovery(CWM or TWRP), then just flash the latest superuser zip from clockworkmod.
Edit: don't quote me though, the only time I've ever been stock is the first 30 minutes owning my Gnex. I just bypass the rooting process by flashing a custom ROM.
~~~~There is no spoon~~~~
shag_on_e said:
Do you use fastboot? I avoid toolkits like the plague because you learn nothing from them. Try using fastboot to flash a custom recovery(CWM or TWRP), then just flash the latest superuser zip from clockworkmod.
~~~~There is no spoon~~~~
Click to expand...
Click to collapse
hmm never really used anything but toolkits, could you point me to a tutorial on how to do the fastboot / superuser? I thought that you'd need to be rooted before you could install a custom recovery / superuser on your phone. I also thought that on any phone that you have to unlock the bootloader before doing anything with recovery as well. could you or someone enlighten me?
thanks!
Shukero
Here ya go, this is the tutorial I used in the beginning, still gold to this day. And you don't have to be rooted to flash a recovery from the bootloader, boot straight to recovery, then flash a custom ROM. No root needed. The bootloader does need to be unlocked first though but there's nothing to it. Just follow this guide.
http://wiki.rootzwiki.com/Samsung_Galaxy_Nexus_(toro)#IMM76K
~~~~There is no spoon~~~~
A little off topic, but is JRO03O the OTA version? I haven't taken it yet, but the most recent AOSP branch is for JRO03R, which comes after O
yes the ota is jro03o
Read forum rules before posting
This is not development
Thread moved
javroch said:
A little off topic, but is JRO03O the OTA version? I haven't taken it yet, but the most recent AOSP branch is for JRO03R, which comes after O
Click to expand...
Click to collapse
for gsm, yes, it's JRO03R
sent from my i9250

[Q] Re-Root After 4.1.2 Upgrade?

I have an unlocked I9250 Galaxy Nexus that was rooted. I recently upgraded to 4.1.2 using the automatic update. I had Voodoo OTA Rootkeeper installed which worked for the last upgrade, so I didn't even think about it. But I lost my root. Is there a way to re-root without losing any settings or data? When I boot into recovery I see the android with a red exclamation point. I assume My custom recovery was removed with the upgrade. Thanks!
I know this isn't answering your question, but I wanted to mention that I, too, had Voodoo OTA RootKeeper installed when I updated to 4.1.2 and it worked perfectly. I was on stock 4.1.1.
Sent from my rooted GSM Galaxy Nexus
Was I supposed to run the rootkeeper app prior to upgrading? I did not do that. Although I would think that it would have saved the superuser file from the previous run. I'm not sure how it works. either way, I definitely am not rooted anymore and not sure what to do. I'm not even sure if there are tools to root 4.1.2, or if the old toolkit works the same with this upgrade.
CatThief said:
I know this isn't answering your question, but I wanted to mention that I, too, had Voodoo OTA RootKeeper installed when I updated to 4.1.2 and it worked perfectly. I was on stock 4.1.1.
Sent from my rooted GSM Galaxy Nexus
Click to expand...
Click to collapse
Hmm good question. All I did was open it prior to the update to verify that all of the checkboxes under "Status" were filled in and su was protected.
After the update downloaded, rebooting took me into ClockworkMod Recovery where I had to give the ok to install the new file.
The only thing I needed to do after updating was flash ClockworkMod Recovery again. Everything else was fine.
As for rooting your new stock 4.1.2, here's a good place to start. You shouldn't loose your data assuming the bootloader is still unlocked.
http://forum.xda-developers.com/showthread.php?t=1529058
Sent from my rooted GSM Galaxy Nexus
download the superuser or supersu zip
download cwm or twrp recovery image
boot into fastboot mode
fastboot boot cwmortwrp.img
flash the superuser or supersu.zip
done.
Zepius said:
download the superuser or supersu zip
download cwm or twrp recovery image
boot into fastboot mode
fastboot boot cwmortwrp.img
flash the superuser or supersu.zip
done.
Click to expand...
Click to collapse
This.
Sent from my Galaxy Nexus using xda premium
Thanks everyone. Will doing this require a factory reset or any internal data loss? Or does that only occur when unlocking the phone?
prattleon said:
Thanks everyone. Will doing this require a factory reset or any internal data loss? Or does that only occur when unlocking the phone?
Click to expand...
Click to collapse
only when unlocking the phone, flashing userdata.img in fastboot, or using fastboot erase userdata

[Q] Lost root from efrants root without wiping (4.1.2) to Android 4.2 update (solved)

Hello all,
I already searched the forum but I did not found any good answer.
1. In the past I've succesfully applied root access without unlocking the bootloader while still beeing on Android 4.1.x from this guide:
http://forum.xda-developers.com/showthread.php?t=1894717
2. Now I've got a 4.2 OTA update. Before applying it I used Voodoo OTA rootkeeper to keep a backup of su.
3. Restored su with Voodoo OTA rootkeeper
The result is that I have again root access from shell but when I want to use Apps which require root I always get failures and even no confirmation dialog.
How do I get superuser working (fully root) like before?
Thanks,
therealmarv
http://download.chainfire.eu/282/SuperSU/
Jubakuba said:
http://download.chainfire.eu/282/SuperSU/
Click to expand...
Click to collapse
How should I flash that without having CWM? I think I need a manual repair :/
Is your bootloader locked?
If not...use my guide (in sig or stickied) to back up data before unlocking...
If so... "fastboot boot recovery.img" and flash the file.
The recovery is only being booted into...not written to the phone; so you'd still be stock rooted.
How in the world you not have a unlocked bootloader when you rooted before..
That aside, do remember to keep the bootloader unlocked next time..
Mach3.2 said:
How in the world you not have a unlocked bootloader when you rooted before..
That aside, do remember to keep the bootloader unlocked next time..
Click to expand...
Click to collapse
The same sort of exploit that was used in ICS was eventually found for 4.1.1 that allowed root without unlocking.
Jubakuba said:
The same sort of exploit that was used in ICS was eventually found for 4.1.1 that allowed root without unlocking.
Click to expand...
Click to collapse
What i mean is how can they not unlock the bootloader after rooting..
I did not unlocked bootloader because I thought it is not necessary (and I also thought it will affect OTA updates). So just to get it right: I can make a backup of my phone, root it, unlock bootloader and recover the backup afterwards so that no data is lost?
Ok I solved my issue (having su access via adb and locked bootloader) with this thread:
http://forum.xda-developers.com/showpost.php?p=27085483&postcount=141
1. I unlocked the bootloader with the link above
2. flashed CWM with fastboot
3. flashed SuperSU CWM ZIP for getting root again
So I now have fully root, unlocked bootloader and cwm great.

Categories

Resources