How to flash OTA update on rooted phone with custom recovery? - Nexus 5 Q&A, Help & Troubleshooting

Trying to flash 5.0 OTA from 4.4.4 without losing data on Nexus 5.
I don't know how to remove custom recovery so I can sideload the OTA zip in the stock recovery. It keeps loading into TWRP instead.
Can someone explain step by step how I flash the factory recovery.img?

That's not even possible (as far as I know)...
XDA Visitor said:
Trying to flash 5.0 OTA from 4.4.4 without losing data on Nexus 5.
I don't know how to remove custom recovery so I can sideload the OTA zip in the stock recovery. It keeps loading into TWRP instead.
Can someone explain step by step how I flash the factory recovery.img?
Click to expand...
Click to collapse
Removing a custom recovery while preserving data is not possible, you should backup all your data, remove the custom recovery, flash 5.0 and then restore your custom recovery.
Are you using the Nexus Root Toolkit? It's incredibly easy and I use it for almost all my flashing, rooting, etc.

You can't apply an OTA on a rooted phone. On Kitkat and before you could end up in a boot loop. After Lollipop the OTA changed to system-level verification, and any change to the ROM stopped the OTA - all you get is a reboot to an unchanged system.
In any case, major ROM jumps usually work best with a total wipe and clean install of the new ROM. somerandomatoms is right - back up and install the new ROM. But why go to 5? You may as well go straight to 6.0.1.

Related

[Q] Need help upgrading Boost Mobile Moto G to 4.4.4

I have a Boost Mobile Moto G running stock 4.4.2 rooted with CWM recovery. I would like to know how to upgrade it to 4.4.4 with root but I am not sure what to flash next or to make a nandroid backup. Should I install stock recovery and install the update or flash some zip for recovery.
williamhancock328` said:
I have a Boost Mobile Moto G running stock 4.4.2 rooted with CWM recovery. I would like to know how to upgrade it to 4.4.4 with root but I am not sure what to flash next or to make a nandroid backup. Should I install stock recovery and install the update or flash some zip for recovery.
Click to expand...
Click to collapse
Yes you should install stock recovery first and then ota update
Try an alternative rom?
williamhancock328` said:
I have a Boost Mobile Moto G running stock 4.4.2 rooted with CWM recovery. I would like to know how to upgrade it to 4.4.4 with root but I am not sure what to flash next or to make a nandroid backup. Should I install stock recovery and install the update or flash some zip for recovery.
Click to expand...
Click to collapse
If you want to remain with stock ROM, make a nandroid backup, flash stock recovery and do an update. Re-root and re-flash CWM after if you wish.
Alternatively, try an alternative ROM like CM11, Omni, PA etc. You can use CWM recovery to simply flash your new rom (after full wipe). Don't forget to take a nandroid backup AND a data backup of contacts, all app-data, sms/mms, bookmarks etc with apps like Titanium, MyBackup or Carbon/Helium.
This is what you can do
Step 1: download the update on your stock 4.4.2 rom.
Step 2: plug your phone into your computer and reboot to fastboot mode 3: pretend your flashing stock firmware (no u won't loose any data or have to reset)
Step 4: flash everything in order BUT*** exclude mfastboot erase userdata and mfastboot erase cache.
Step 5: after u exclude those 2 commands reboot your phone using mfastboot reboot
Step 6 your phone will reboot however any tweaks, modifications, and anything involving root will be disabled temporarily since u basically reverted back to stock without fully factory reseting.
Step 7: Go to settings and install your update (itll take about 10-15) minutes
Step 8: once its done go back to fastboot mode reflash your recovery and your root and reboot and your good to go ull be on 4.4.4 rooted and stock recovery
Side Note : Making a 4.4.2 back up is useless because after u upgrade you can't downgrade
Im on 4.4.4 XT1031 Boostmobile
Custom Recovery (TWRP) and rooted
Sent from my XT1031 using XDA Premium 4 mobile app
No M10 snapshot yet
I also might install CM11 but there is no M10 snapshot, so thats why i'm on stock until the latest M snapshot is released for it.

[Q] Update to Lollipop without USB and with root

Hi, my N5 has a problem, it has the USB port broken so i can't connect it to the PC. It now has KitKat 4.4.4.
Here is my problem:
I want to update to Lollipop but i can't do it with Factory image and/or Sideload because the USB problem.
I tried to "unroot" but i couldn't do it right, i've downloaded the 5.0 OTA and my phone rebooted with a red triangle and it said "error" i know this is because i still keep my phone rooted.
So i would like to know 2 things:
1) How do i unroot definitely? because i did it before but it seems it didn't do right, i clicked "unroot" on SuperSU (i read that sometimes when you press "unroot" it doesn't erase all the folders and files so you have to do by your own, but what files and what folders are they?)
2) If i unroot and i if update to Lollipop, can i be root without using the USB port?
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
Of you're rooted, why would you want the stock ota anyway? There are PLENTY of 5.0 Roms in the development section with custom kernels (custom kernels are needed in 5.0 lollipop for root). Flash one of those in recovery. Make sure you have the latest TWRP which you can flash with flashify if you can't fastboot flash using USB.
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
Is really needed to flash a custom kernel to get root on Lollipop? I'm asking because in this thread [ROM] [STOCK] Android 5.0 LRX21O - Stock/Flashable (11/12/14) FAQ nº 2 it says:
Q: How do I get root?
A: If you want to keep the stock kernel, use CF-Auto-Root. If you flash a custom kernel, just flash the newest SuperSU ZIP afterwards.
Click to expand...
Click to collapse
So i understand that we can have root with stock kernel, is this ok or did i misunderstood something?
If i want to flash a custom kernel, where can i get "SuperSU" Zip to get root? and does it need to clean something after or before flashing this file? caché, data, etc?
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Pain-N-Panic said:
Yes CF AUTO ROOT will allow your to root the stock image. However since youre already rooted youre running into issues flashing it successfully. I attached the SU zip below. My recomendation is if you want the stock ota image, download it from the developer thread, flash francos custim kernel for lollipop ans then flash the root zip i have attached below. I would complete a full wipe of system, data, and both caches (not internal storage or you will lose all on sd card) before flashing. Once you wipe just flash the the rom, kernel and root zip in that order.
Click to expand...
Click to collapse
Thanks!!!
It worked perfectly!
I tried first with CF AutoRoot but it failed, but it worked with SuperSU.

[Q] Do I need to download a special image to install on rooted phone?

Now that the new Lollipop update came out, I want to install it on my rooted stock Android Nexus 5. I have tried Wiping data from CW Recovery, and then installing the image-hammerhead-lrx22c.zip . After finishing the install and check the settings, I get 5.0 as the version of Android on the phone.
That zip is meant to be used with fastboot. Not recoveries. Please read stuff before trying if you don't know what you're doing.

[Q] Official (not manual) lollipop OTA on unlocked moto g xt1033

So, the situation is I have moto g xt1033 with :- unlocked bootloader, rooted, stock rom 4.4.4 kitkat (i mean no custom rom). and fastboot flash mode 41.13 2014-06-16 and philz touch 6 clockworkmod v6.0.4.7
I want to know how to update to lollipop with official OTA update (not manually or sideloaded)?
Why I am asking this?
I got the prompt of official OTA available on my phone and then i clicked yes and downloaded the update. But when i clicked on install, it went in bootloop. It boots on the philz recovery mode and then nothing happens just restart again whatever i select.
As of now, as I backed up, I recovered to the before state of the phone. Do I need to lock the bootloader again or what? The official OTA update is not for me? Then how to get lollipop? I read the soak test etc threads but why not official update ?
Locking the bootloader won't do anything,so don't lock it
Ota update requires:
1.Stock firmware(unmodified and unchanged or tampered)
2.unrooted
3.Stock recovery
That probably happend becuZ your KitKat firmware was modified and you have custom recovery,root..
So just reflash the stock firmware
Do that on your own risk as failing this might brick your phone
Thank me if I helped
Thanks mate for reply.
1. I have stock firmware KK 4.4.4 (though xposed framework & few modules are installed currently)
2. Rooted
3. What is stock recovery? (m noob here)
And i guess reflashing the stock firmware wipes out all user data & apps, right?
Any other alternative which does not wipes out my data?
instinctblade said:
Locking the bootloader won't do anything,so don't lock it
Ota update requires:
1.Stock firmware(unmodified and unchanged or tampered)
2.unrooted
3.Stock recovery
That probably happend becuZ your KitKat firmware was modified and you have custom recovery,root..
So just reflash the stock firmware
Do that on your own risk as failing this might brick your phone
Thank me if I helped
Click to expand...
Click to collapse
pr.itdude said:
Thanks mate for reply.
1. I have stock firmware KK 4.4.4 (though xposed framework & few modules are installed currently)
2. Rooted
3. What is stock recovery? (m noob here)
And i guess reflashing the stock firmware wipes out all user data & apps, right?
Any other alternative which does not wipes out my data?
Click to expand...
Click to collapse
Actually there is no other way you could do it
i tried everything i could to stop the wipe procedure but it obviously wiped everything
you just backup everything you have got on your internal and external sd card ..
1.Stock Recovery:: Android devices come with Google’s recovery environment, which is often referred to as the “stock recovery.” You can boot to the recovery system by pressing device-specific buttons as your phone or tablet boots or by issuing an adb command that boots your device to recovery mode. The recovery menu provides options to help recover your device — for example, you can reset your device to its factory default state from here. The recovery mode can also be used to flash OTA update files.
2.Custom Recovery::A custom recovery is a third-party recovery environment. Flashing this recovery environment onto your device replaces the default, stock recovery environment with a third-party, customized recovery environment. This is a bit like flashing a custom ROM like CyanogenMod — but, instead of replacing your device’s Android operating system, it replaces the recovery environment.
what you have to do is:
Find the Kitkat official update on the internet accrouding to your [Build number],[model number] [system version] you can get this information in about phone....
If you have asia retail then follow this method http://forum.xda-developers.com/showthread.php?t=2700502
ok Here what i am planning:
1. Uninstall all modules & xposed framework
2. Unroot using supersu
3. Restore/reflash stock recovery (just recovery not whole firmware as I already have stock rom)
4. Install the update either manually via recovery or using auto install.
Am i on right path? Pls help me on step 3, any link or step-t-step guide? I couldn't find one, every post is abt restoring whole firmware.
TIA. Cheers !!

Unable to get OTA Updates installed on TWRP - Need to go back to stock recovery

Hi All,
Background:
Installed TWRP recovery to downgrade to KitKat from Android ver 5.0.2 / COS 12.0 YNg1TAS17L
( I guess the changes in lollipop made me to do so).
But after installing TWRP, for some reason or other I did nothing and now the issue is the OTA are not getting installed. From other similar thread I know that we can download the OTA zip and install through TWRP and I am not looking to get into that...as I am giving this device to my family.
Help Required:
1) Is there a way to uninstall TWRP and go back to stock recovery without losing any data?
( Is it as simple as flashing recovery image from the Stock ROM?)
2) Using the OnePlus tool kit can we flash the stock ROM which will also restore the stock recovery?
(If so is it possible to flash the latest ROM 5.1.1 or CM12.1)
I just need guidance here with steps on what will be the best and safe approach without frying up my device.
Please suggest
droidfry said:
Hi All,
Background:
Installed TWRP recovery to downgrade to KitKat from Android ver 5.0.2 / COS 12.0 YNg1TAS17L
( I guess the changes in lollipop made me to do so).
But after installing TWRP, for some reason or other I did nothing and now the issue is the OTA are not getting installed. From other similar thread I know that we can download the OTA zip and install through TWRP and I am not looking to get into that...as I am giving this device to my family.
Help Required:
1) Is there a way to uninstall TWRP and go back to stock recovery without losing any data?
( Is it as simple as flashing recovery image from the Stock ROM?)
2) Using the OnePlus tool kit can we flash the stock ROM which will also restore the stock recovery?
(If so is it possible to flash the latest ROM 5.1.1 or CM12.1)
I just need guidance here with steps on what will be the best and safe approach without frying up my device.
Please suggest
Click to expand...
Click to collapse
Numerous other threads on the same subject... I don't understand why you are not ready to flash the OTA through TWRP but you are through stock recovery... It's the same thing... Don't use toolkit, they are the ones, in 99% of the cases, that "fry" your phone... As soon as TWRP is installed no OTA will automatically, you will have to flash them manually.

Categories

Resources