Going from a custom Rom back to ota rom without losing root - Nexus 7 General

Hey all
I'm currently running PA 2.99 rom. I want to get the new KitKat rom.
What's the processes of going from the custom one back to ota without losing root?
Thanks in advance.
Sent from my Nexus 7 using Tapatalk 4

masprague said:
Hey all
I'm currently running PA 2.99 rom. I want to get the new KitKat rom.
What's the processes of going from the custom one back to ota without losing root?
Thanks in advance.
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
Hi, masprague...
Just to clarify... do you mean going from a Custom ROM (such as PA) to official Factory Stock (such as KitKat)... without loosing root?
Not possible, I'm afraid.
And further, you can't apply an OTA to a Custom ROM anyway. OTA's are intended to update only the current version of Factory Stock Android to the latest version of Factory Stock Android.
If I understand your post correctly, you'll need to download the full KitKat factory image (download link in my sig), and fastboot flash it.
Afterward, if you wish to re-root... you'll need to fastboot flash a Custom Recovery, such as TWRP or CWM... and then using that Custom Recovery, flash Chainfires latest SuperSU root updater .zip.
Be aware though, that fastboot flashing the full KitKit factory image will wipe your device... so before doing any of this, you'll need to backup all of your apps & their associated data using Titanium, and then fully backup the entire contents of your Nexus 7 to your PC.
Rgrds,
Ged.

Rooting a nexus device is so easy why bother making it more difficult? Just flash stock, custom recovery, and supersu

Ur just use Wugs Toolkit?

BL4CK_92 said:
Ur just use Wugs Toolkit?
Click to expand...
Click to collapse
That's what I did
Painless process

Related

Root without having to install custom recovery?

so the title says it all. is there anyway I can root my HTC One without installing a custom recovery first? I want to be able to do OTA updates and with a custom recovery it is not possible. if there is a way to root without installing a custom recovery, can you please provide me a step by step tutorial on how to? thanks in advance.
samanbabah said:
so the title says it all. is there anyway I can root my HTC One without installing a custom recovery first? I want to be able to do OTA updates and with a custom recovery it is not possible. if there is a way to root without installing a custom recovery, can you please provide me a step by step tutorial on how to? thanks in advance.
Click to expand...
Click to collapse
Can you get OTA updates if you are rooted? I thought you had to be stock
deeevan said:
Can you get OTA updates if you are rooted? I thought you had to be stock
Click to expand...
Click to collapse
I do get OTA updates, and it downloads just fine, but as soon as I try to install it, it reboots into the custom recovery and nothing happens. when I had Sense 5 ROM I would simply install the stock recovery.img and installed the OTA update, but right now I'm on stock Android 4.3 google edition and I can't find a stock google edition 4.3 recovery.img
samanbabah said:
I do get OTA updates, and it downloads just fine, but as soon as I try to install it, it reboots into the custom recovery and nothing happens. when I had Sense 5 ROM I would simply install the stock recovery.img and installed the OTA update, but right now I'm on stock Android 4.3 google edition and I can't find a stock google edition 4.3 recovery.img
Click to expand...
Click to collapse
Go to the GPe convention thread. Its in the development section. Download the ruu. Pull the recovery.img, and flash it.
Or ignore the ota, its a minor update anyway. No noticeable changes.
Sent from my HTC One using XDA Premium 4 mobile app

[Q] Dev Edition - Root but keep OTA?

I have sucessfully converted my AT&T HTC One to the Developers Edition. If install TWRP and root the device, then re-install the stock recovery, can I maintain the ability to receive OTA Updates?
Also can someone confirm that the 4.06.1540 recovery is the latest for 4.4.2 sense 6? (Found Here http://forum.xda-developers.com/showthread.php?t=2545227)
Or if there is a better way to accomplish root etc.
Thank you in advance.
sednafx said:
I have sucessfully converted my AT&T HTC One to the Developers Edition. If install TWRP and root the device, then re-install the stock recovery, can I maintain the ability to receive OTA Updates?
Also can someone confirm that the 4.06.1540 recovery is the latest for 4.4.2 sense 6? (Found Here http://forum.xda-developers.com/showthread.php?t=2545227)
Or if there is a better way to accomplish root etc.
Thank you in advance.
Click to expand...
Click to collapse
That is a good recovery to have in place *before* you start checking for the latest 5.x.x.x OTA. Technically it's not the "latest" (the latest one would be the one you will end up with *after* the OTA) but it's the right one for your situation.
Overall the short answer to your question is yes, you can get OTA's with this plan.
If you remove anything from /system you might not.
If you do more stuff (like downgrading HBOOT, installing a custom kernel, whatever) you might not.
But for most people in your situation, you'll get OTA's.
Generally.
Enjoy.
sednafx said:
I have sucessfully converted my AT&T HTC One to the Developers Edition. If install TWRP and root the device, then re-install the stock recovery, can I maintain the ability to receive OTA Updates?
Also can someone confirm that the 4.06.1540 recovery is the latest for 4.4.2 sense 6? (Found Here http://forum.xda-developers.com/showthread.php?t=2545227)
Or if there is a better way to accomplish root etc.
Thank you in advance.
Click to expand...
Click to collapse
The best thing to do is a nandroid of your stock rom & recovery prior to installing TWRP and obtaining root. If you need to go back to stock you will have it. I haven't seen the stock recovery for 4.4.2 sense 6, it should be 5.11.1540.9.
majmoz said:
The best thing to do is a nandroid of your stock rom & recovery prior to installing TWRP and obtaining root. If you need to go back to stock you will have it. I haven't seen the stock recovery for 4.4.2 sense 6, it should be 5.11.1540.9.
Click to expand...
Click to collapse
Sure it is but unfortunately if has not been possible to (fastboot boot recovery.zip) since hboot 1.44
The best most people can do is after taking the update reflash TWRP and make a backup including recovery. then download and keep the stock recovery with it.
Thank you all for the response. Here is what I would like to do:
1. Backup my existing recovery through adb using the #dd command. Anyone know the correct syntax?
2. Install TWRP and backup the existing unrooted ROM.
3. Root the device. Do not remove any files from /system, no custom kernels (doesn't really matter since I will restore backup). Simply use titanium back to restore my apks and freeze the ones I don't use. I would like to install Xposed though.....
4. See OTA Update. Backup apks, restore unrooted. Restore stock recovery through adb. Anyone know why the syntax??
5. Run the OTA Update.
6. Profit.... Go back to step 1.
What do you all think? Any help with the syntax to dump and restore stock recovery?
Sent from my HTC One using Tapatalk
sednafx said:
1. Backup my existing recovery through adb using the #dd command. Anyone know the correct syntax?
Click to expand...
Click to collapse
doesn't know the #dd command but recovery can be extracted from the firmware package inside the ota.zip
anyway, I have all the latest dev edition recovery so you'll save a little time:
4.06.1540.2 MD5: 2bb3d9df9ce8c8329db8d22781613e2c
4.06.1540.3 MD5: 87eaf7d4a9c4ba1108bf26164b1f3f3d
4.19.1540.4 MD5: 6e25ef0e614c41722b2fb4afbdde5d7c
4.19.1540.9 MD5: b4d31a181a9e44225dc83282bc1bf134
5.11.1540.9 MD5: c487a17382e2e1c207efae66fed00925
you need the one that match your actual version
2. Install TWRP and backup the existing unrooted ROM.
Click to expand...
Click to collapse
Always a good thing to do, also make a copy of that backup on your computer.
3. Root the device. Do not remove any files from /system, no custom kernels (doesn't really matter since I will restore backup). Simply use titanium back to restore my apks and freeze the ones I don't use. I would like to install Xposed though.....
Click to expand...
Click to collapse
no problem using xposed and receiving ota updates
4. See OTA Update. Backup apks, restore unrooted. Restore stock recovery through adb. Anyone know why the syntax??
Click to expand...
Click to collapse
no need to restore your backup if you didnt modified/deleted /system or /preload files and your kernel is stock. Just restore your recovery
Code:
fastboot flash recovery name_of_file.img
fastboot erase cache
fastboot reboot
5. Run the OTA Update.
6. Profit.... Go back to step 1.
Click to expand...
Click to collapse
Sent from my HTC One using Tapatalk[/QUOTE]
More Questions on Receiving OTA's
@alray On Step 4, to receive the OTA's, in addition to restoring stock recovery, wouldn't it be necessary to unroot the device and disable Xposed?
gingerlindsey said:
@alray On Step 4, to receive the OTA's, in addition to restoring stock recovery, wouldn't it be necessary to unroot the device and disable Xposed?
Click to expand...
Click to collapse
no need to unroot to be able to apply the ota but you might loose root after the update, in that case, root again after the update.
I have updated mine many times with xposed still enabled and didnt have any issue. But you might want to disable module like ''sense 5 toolbox'' when updating to sense 6... Anyway if you want to be safe, yes you can disable xposed but this is not required.
@alray Thank you very much! I was unrooting and disabling Xposed, etc. Good to know I can "Keep it Simple"!
@alray The link for the latest recovery is 404ed. Can you repost? EDIT: Nevermind. Removed the [/HIDE] from the link and it worked.
Where is the OTA saved BTW?
Thanks again for all the advise. I may update the OP to outline these in detail.
The ota is saved to /sdcard/downloads
Sorry for the bad link, it should work now
Sent from my HTC One using XDA Free mobile app
alray said:
The ota is saved to /sdcard/downloads
Sorry for the bad link, it should work now
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
That path makes perfect sense.... I feel like captain obvious smacked me in the face..... Thanks!!!!!
Sent from my HTC One using Tapatalk

[Q] How To Upgrade From 5.0 Unencrypted to 5.1 Without Losing Data?

So I have an unlocked and rooted Nexus 6 running the unencrypted Android 5.0. However, I'm not 100% sure how to flash the new 5.1 update without losing my root or all the data on my phone. Would anyone be able to instruct me as to how I will achieve this?
Cheers
In wugs toolkit there's an option when flashing a factory image to do a no wipe mode.
triangleguy said:
So I have an unlocked and rooted Nexus 6 running the unencrypted Android 5.0. However, I'm not 100% sure how to flash the new 5.1 update without losing my root or all the data on my phone. Would anyone be able to instruct me as to how I will achieve this?
Cheers
Click to expand...
Click to collapse
If you're running a custom recovery (recommended for rooted users) then you can flash a pre-rooted stock ROM.zip that has no forced-encryption kernel built in.

5.1 update issue

Hey guys, i have a stock ROM Nexus 6 with TWRP and root, OTA update doesn't work due to custom recovery (I've also just read that its best to unroot first...) I got the image from here: http://www.androidpolice.com/2015/0...gs-android-5-1-ota-roundup-for-nexus-devices/ as I'm running LRX22C.
However this is the result on trying to flash it, any idea of what to do?
You must be 100% stock. No root, no custom recovery. No mods.
Sediti0 said:
Hey guys, i have a stock ROM Nexus 6 with TWRP and root, OTA update doesn't work due to custom recovery (I've also just read that its best to unroot first...) I got the image from here: http://www.androidpolice.com/2015/0...gs-android-5-1-ota-roundup-for-nexus-devices/ as I'm running LRX22C.
However this is the result on trying to flash it, any idea of what to do?
Click to expand...
Click to collapse
Dont use the OTA use the factory images.... found here https://developers.google.com/android/nexus/images fastboot flash them

Best way to root latest 5.1 pure edition OTA?

What are people doing to root the newest official 5.1 pure OTA? I saw a couple of threads about root floating around, but cf autoroot seems to have failed for a few people. What are you guys using to root?
Sent from my XT1095 using Tapatalk
Completing this question by adding one more bit that is there any root method which supports easy unrooting like Kitkat days where we don't have to go through hassles and risks of flashing whole stock ROM again?
I rooted 5.1 by booting twrp and flashing latest supersu. I haven't tried yet to full unroot but it should work.
Nicolae-Daniel said:
I rooted 5.1 by booting twrp and flashing latest supersu. I haven't tried yet to full unroot but it should work.
Click to expand...
Click to collapse
How did you boot twrp??,,, . Using windroid?
Sent from my XT1092 using XDA Free mobile app
rohithksaj said:
How did you boot twrp??,,, . Using windroid?
Sent from my XT1092 using XDA Free mobile app
Click to expand...
Click to collapse
Via fastboot. I just unrooted my device,although bootloader says "Software status : Modified" so i don't think it's safe to OTA update.
Be careful with this method though. Cause as of now there is no full image of 5.1. Therefore no stock recovery if you want to flash everything back like stock , unless you go back to 5.0 and then flash ota, hence the potential risk.
kristof95 said:
Be careful with this method though. Cause as of now there is no full image of 5.1. Therefore no stock recovery if you want to flash everything back like stock , unless you go back to 5.0 and then flash ota, hence the potential risk.
Click to expand...
Click to collapse
Yep. Kinda stuck as I didn't backup before rooting
Doesn't the factory reset convert the phone back into the stock? Like what used to happen in previous Android versions?
Jack Sparrow xda said:
Doesn't the factory reset convert the phone back into the stock? Like what used to happen in previous Android versions?
Click to expand...
Click to collapse
No, that's never been a thing. It only wipes /data and doesn't touch /system at all.
For that to work, they'd have to take up valuable phone space with system images.
As for root, getting it is virtually unchanged since 4.4.4. Use Cf-Auto-Root or let twrp do it.
Anybody tried re locking the boot loader.???
I tried every method but failed....
Sent from my XT1092 using XDA Free mobile app
rohithksaj said:
Anybody tried re locking the boot loader.???
I tried every method but failed....
Sent from my XT1092 using XDA Free mobile app
Click to expand...
Click to collapse
Can't be done.
rohithksaj said:
Anybody tried re locking the boot loader.???
I tried every method but failed....
Sent from my XT1092 using XDA Free mobile app
Click to expand...
Click to collapse
It's pointless to do. There is no valid reason to relock it.
Sent from my XT1095 using Tapatalk
the topic gone wrong, what is the best way to root latest ota? does cf-auto-root work?
since there is full image of latest 5.1 ota for pure edition, there are low risks of rooting.
any suggestion?
pro.gangster said:
the topic gone wrong, what is the best way to root latest ota? does cf-auto-root work?
since there is full image of latest 5.1 ota for pure edition, there are low risks of rooting.
any suggestion?
Click to expand...
Click to collapse
Just flash TWRP and root that way... If you don't want to overwrite the default recovery, boot TWRP. No real risks, it hasn't changed from 5.0.
Sent from my Moto X 2014 Pure Edition using Tapatalk

Categories

Resources