remove CWM without data wipe? - Samsung Galaxy Nexus

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

Related

Does OTA volume fix remove root?

If you've received the OTA update only, please comment.
Sent from my Galaxy Nexus using Tapatalk
Yes it does. You will need to re-root then re-flash CWM
And if I'm just using the stock ROM, just rooted?
Sent from my Galaxy Nexus using Tapatalk
It will still remove root, so you just need to re-root afterwards. You won't lose any data though as it doesn't re-lock fastboot or anything. Literally took 2 minutes.
Is there a guide to rerooting without unlocking fastboot, as I assume this differs from the original rooting process for this phone using the modified img and bat file?
CJSnet said:
Is there a guide to rerooting without unlocking fastboot, as I assume this differs from the original rooting process for this phone using the modified img and bat file?
Click to expand...
Click to collapse
Unfortunately no, you'll need the bootloader unlocked for the superboot method until there is a better root solution available
KiNG OMaR said:
Unfortunately no, you'll need the bootloader unlocked for the superboot method until there is a better root solution available
Click to expand...
Click to collapse
What I meant is that this OTA does not lock the bootloader. The bootloader is therefore unlocked. All I'm asking for is a step-by-step guide to rerooting from that state, with it unlocked.
Hmm this is weird. I was prompted to install the OTA fix. I just have the stock Google ROM, rooted and that's it. It rebooted, showed the wireframe hexagon animation for a second, and went to an android with a /!\ exclamation mark. I had to remove the battery.
Now I can't update and it has disappeared from the update page in phone settings. Check for update doesn't bring it back.
Is there a place to download the update patch?
Same thing happened to mine. I just found a zip of the update here and flashed it via CWM. You will still need to re-root and re-flash CWM.
ferris2375 said:
Same thing happened to mine. I just found a zip of the update here and flashed it via CWM. You will still need to re-root and re-flash CWM.
Click to expand...
Click to collapse
And here it is! Just rename to update.zip and place in the SD Card root folder, then reboot into recovery and install update.zip:
http://android.clients.google.com/p....signed-yakju-ITL41F-from-ITL41D.11bbbccb.zip
Hi guys, i need to learn something.
I use Bigxie [ROM] [OTA] [GSM] Android 4.2.2 JDQ39: Rooted Busybox Deodexed
and want to update 4.3 with similar;
Fireb33 [ROM] [JB] [JWR66Y] Galaxy Nexus 4.3 stock (deodexed, rooted, busybox)
So do I need to vipe anything or just download and flash via Twrp?
And better for me is: can i just download an "update.zip" (for same root-busybox-deodexed stock rom) instead a huge rom file?
Will i lose any data with any way?

Rooted and Unlocked can't install OTA update

So I'm running the stock OS and now it won't install the OTA update. I'm unlocked and rooted and the update downloads, then the phone reboots. I see the install starts and runs for about 3 seconds and then it stops with the red triangle exclamation point.
What's going on, anyone else having this issue?
How many times per day does this thread need to be made?
You're either going to have to flash just the update via fastboot on your own, or unroot and accept the OTA normally.
Well I appreciate the answer, sorry to be a bother...
Anyway, is this the way it's always going to be since I'm rooted and unlocked? Where will I be able to download the OTA updates so I can flash manually with fastboot?
It won't work if you have ClockworkMod's recovery, you need the stock recovery.
Sent from my Galaxy Nexus using XDA App
105437 said:
So I'm running the stock OS and now it won't install the OTA update. I'm unlocked and rooted and the update downloads, then the phone reboots. I see the install starts and runs for about 3 seconds and then it stops with the red triangle exclamation point.
What's going on, anyone else having this issue?
Click to expand...
Click to collapse
Dowload from http://code.google.com/android/nexus/images.html. It needs 7Zip to uncompress the file. Once decompressed it has a file with no extension, decrompress that again and you will have the several file.
The just power the phone off and power back on with the volume up and down pressed. Same as when you rooted it.
Then run these commands:
fastboot flash bootloader bootloader-maguro-primekk15.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-maguro-i9250xxkk6.img
fastboot reboot-bootloader
sleep 5
fastboot update image-yakju-icl53f.zip
This will not wipe your phone!
You will need to root it again.
This is what I just did and works prefectly!
Root and unlocked bootloader shouldn't prevent you from installing if you still have stock recovery. If you have ClockworkMod recovery instead, you can use that to flash it manually. If your phone downloaded the update zip, it should be located in /cache.
You'll probably have to re-root after applying the update, regardless of how you install it.
Thanks for the replies guys! I guess I'd like to stay unlocked & rooted and be able to get OTA updates. Is there any risk in doing this? If not, how do I uninstall CWM?
Thanks again!
105437 said:
Thanks for the replies guys! I guess I'd like to stay unlocked & rooted and be able to get OTA updates. Is there any risk in doing this? If not, how do I uninstall CWM?
Thanks again!
Click to expand...
Click to collapse
I believe that in rom manager you should be able to set the recovery back to the default.
Bad Liar said:
I believe that in rom manager you should be able to set the recovery back to the default.
Click to expand...
Click to collapse
ROM Manager only has the option to flash ClockworkMod, not stock recovery. But the stock recovery can be extracted from the Google factory images and flashed with fastboot.
I have same problem like yours, how can i solved it? my device is SE WT19i
Happened to me as well - but I also ran into problems initially trying to do the image upgrades, because I had ended up changing a couple values in the build.prop file (wifi scan time, and disabling the boot animation). I'm assuming changes like that would cause the OTA update to fail, if doing it manually fails as well?
Also remember when trying to resolve my issue, reading through other people who went through similar sequences.
Had unlocked/rooted. Tried OTA - got the red warning symbol.
Tried installing the zip from sdcard through CWM but ran into various warnings/errors because of minor tweaks that either they had done, or something that had been installed had done.
Try mskip's GNex Toolkit. Super easy to use and everything explained in the thread. The guy's a genius!
http://forum.xda-developers.com/showthread.php?t=1392310
Think option 10 will reflash stock recovery.
Dark Tapatalk (GSM Galaxy Nexus)
+1. GNex Toolkit made my life worth living, I got the OTA 4.0.4 update (IMM76I), and I'm rooted and unlocked.
I also highly recommend GNex Toolkit. It has an option to restore the factory recovery and also helps you to get root again after update.
Voodoo OTA Root Keeper only helps partially.
ceribaen said:
Happened to me as well - but I also ran into problems initially trying to do the image upgrades, because I had ended up changing a couple values in the build.prop file (wifi scan time, and disabling the boot animation). I'm assuming changes like that would cause the OTA update to fail, if doing it manually fails as well?
Also remember when trying to resolve my issue, reading through other people who went through similar sequences.
Had unlocked/rooted. Tried OTA - got the red warning symbol.
Tried installing the zip from sdcard through CWM but ran into various warnings/errors because of minor tweaks that either they had done, or something that had been installed had done.
Click to expand...
Click to collapse
Each if those warnings that you are getting is because something is not stock. You will need to download the appropriate stock file for each of those warnings. I have already posted the stock build.prop and boot image in the main IMM76I update thread. If you need others, instructions can be found in the update link in my signature.
Sent from my Galaxy Nexus using Tapatalk 2
philipdeane said:
Try mskip's GNex Toolkit. Super easy to use and everything explained in the thread. The guy's a genius!
http://forum.xda-developers.com/showthread.php?t=1392310
Think option 10 will reflash stock recovery.
Dark Tapatalk (GSM Galaxy Nexus)
Click to expand...
Click to collapse
bingefister said:
+1. GNex Toolkit made my life worth living, I got the OTA 4.0.4 update (IMM76I), and I'm rooted and unlocked.
Click to expand...
Click to collapse
toxaris said:
I also highly recommend GNex Toolkit. It has an option to restore the factory recovery and also helps you to get root again after update.
Voodoo OTA Root Keeper only helps partially.
Click to expand...
Click to collapse
All of you guys recommending using a toolkit: do you even understand the OP's issue? I don't think so, otherwise you would know that a toolkit won't do what he needs done.
My opinion:
On an unrelated note: you need to figure out how to do things manually before you start using toolkits, otherwise you will never learn anything. There is a reason they teach you long division in school before letting you use a calculator...
Sent from my Galaxy Nexus using Tapatalk 2

[Q] ota killed my root

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

[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]OTA failed with stock recovery

Hello,
Long story short,
I had some problems with my device, I installed stock from backup, and sent to service... came back with unlocked bootloader.
I installed CM10.1 etc and later wanted to see if I got the OTA.
I got it, tried to install failed.
Recovery to stock -> failed
System reset -> fail
unroot, etc etc etc, only bootloader unlocked -> fail.
Now the point, I got a recovery from Yakju stock image from JRO03C and I had Yakjuwx JRO03C. This should be the problem why my update failed?
If so, where can I download a recovery for my Yakjuwx?
you have a custom rom. thats your problem.
Zepius said:
you have a custom rom. thats your problem.
Click to expand...
Click to collapse
Actually, as I said, everything went to stock before OTA.
So I installed stock radio, stock kernel, stock rom... from backup...
installed stock recovery
got OTA...
asked to install? said yes...
it enetered in stock recovery but failed.
Did you relock your boot loader?
Sent from my Galaxy Nexus using xda premium
Vfan23 said:
Did you relock your boot loader?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
this has nothing to do with it.
OP,
did you have any mods or anything to the stock rom? did you change the radio? did you change anything?
Zepius said:
this has nothing to do with it.
OP,
did you have any mods or anything to the stock rom? did you change the radio? did you change anything?
Click to expand...
Click to collapse
Sorry but I thought having an unlocked boot loader wouldn't allow you to accept ota updates. My bad
Sent from my Galaxy Nexus using xda premium
I sent it back to service and got it back with unlocked bootloader....
Things did:
start phone.
Root
Install recovery
Backup with recovery
Install cm...
Now:
delete data, wipe cache, wipe dalvik
Push back backup
Restore backup
Install stock for JRO03C
Install OTA
Failed.
I have yakjuwx... although possible recovery is for yakju.
Can I flash simply via cwm with install zip from sd card?
Sent from my Galaxy Nexus using Tapatalk 2
mihaly_n said:
I sent it back to service and got it back with unlocked bootloader....
Things did:
start phone.
Root
Install recovery
Backup with recovery
Install cm...
Now:
delete data, wipe cache, wipe dalvik
Push back backup
Restore backup
Install stock for JRO03C
Install OTA
Failed.
I have yakjuwx... although possible recovery is for yakju.
Can I flash simply via cwm with install zip from sd card?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
you still didnt answer my question. The stock rom backup you had, did you do anything to it to change anything about the /system partition? that causes the OTA to fail.
why dont you just do this: http://forum.xda-developers.com/showthread.php?t=1626895
and flash the most recent version of android?
No... made a full backup and stored to my pc... nothing was changed, nothing was modified...
simply I put it back and that's all...
mainly I don't want it because I have YAKJUXW and I don't want YAKJU.
I would full flash a new stock image... but I can't find YAKJUWX only YAKJU.
mihaly_n said:
No... made a full backup and stored to my pc... nothing was changed, nothing was modified...
simply I put it back and that's all...
mainly I don't want it because I have YAKJUXW and I don't want YAKJU.
I would full flash a new stock image... but I can't find YAKJUWX only YAKJU.
Click to expand...
Click to collapse
thats becauce yakjuwx isnt supported by google. samsung supports it. you'd be better off flashing yakju as it is supported by google and you will receive timely updates.
as for the reason the OTA failed, if you try and flash the OTA with a custom recovery (and maybe even stock recovery, not sure tho), it will fail at an assert check. if you read the assert failure or post it here, you can find out what the cause of the failure is.
where can I find the assert? What is that?
I tried installing OTA via stock... but it just said:
checking package,
opening package
installing package
installation aborted...
nothing much more...
mihaly_n said:
where can I find the assert? What is that?
I tried installing OTA via stock... but it just said:
checking package,
opening package
installing package
installation aborted...
nothing much more...
Click to expand...
Click to collapse
Flash CWM or TWRP and try to install the OTA. It will tell you the assert failure
Sent from my Galaxy Nexus using Tapatalk 2
Oh I see...
I'll try it in the next days and I'll report back
Thank you really much for your help
ok runned the backup etc...
now I copied the update and choosed install zip
here itt is
assert failed:
file_getprop("/system/build.prop". "ro.build.fingerprint") == "google/takju/maguro:4.1.1/JRO03C/398337:user/release-keys"... etc
status 7
ideas?
if I install this:
http://forum.xda-developers.com/showthread.php?p=40712528#post40712528
than can I incrementally OTA?
yeah it works

Categories

Resources