I've got a Nexus 5 on Lollipop that's completely stock except for running franco kernel. Haven't touched it for awhile. If I check and there are any OTA updates available, will they install successfully?
No, you must have stock kernel, stock recovery, and unroot
micens said:
No, you must have stock kernel, stock recovery, and unroot
Click to expand...
Click to collapse
Thanks.
Is there a way to manually flash the OTA, or to install it one way or another, without having to revert to stock kernel and unroot and then re-root and re-install franco again?
Edit flash-all file and remove "-w".
Save the file and flash it from fastboot
.psd said:
Is there a way to manually flash the OTA, or to install it one way or another, without having to revert to stock kernel and unroot and then re-root and re-install franco again?
Click to expand...
Click to collapse
As of Lollipop, the OTA method has changed and instead compares the checksum/hash of the entire /system partition, as well as the boot and recovery partitions. The "old" pre-Lollipop method was to check the specific files it cares about rather than sum of the entire partition.
The best way for you to update is download the factory image, extract it then flash the boot and system images using fastboot while your device is booted into the bootloader. You may also want to flash the new bootloader and/or radio. Don't flash the userdata image as it will wipe your /data partition (which the internal storage also resides in), unless that is something you want.
After that, boot into your custom recovery and simply flash the latest SuperSU and if you want to, a Lollipop version of the kernel you want. Files required by SuperSU/root access reside in the /system partition, which prevents an OTA update, and is overwritten when flashing a factory system image. A KitKat kernel won't boot on Lollipop, and a custom kernel also prevents OTA.
OTAs are really only for those who have absolutely no software modifications (and are not informed enough to be able to flash manually) and is honestly the worst way of updating.
Related
I heard the phone gets unrooted with an OTA? So what happens to the apps that need root access? They stay there and start working fine when you root again or need to be reinstalled?
Do you lose data in the process when you install OTA update on a rooted phone?
if i remember correctly , it will not have OTA with rooted phone even with stock ROM.
by root , you must have change some system file , most case, flash CWM recovery and install superuser, which will effectively fail the OTA.
You will get the ota.
it will install perfectly normal if you still have stock recovery.
if you have custom recovery manually flash the update.zip Then flash su.zip. You're now stock rooted.
albundy2010 said:
You will get the ota.
it will install perfectly normal if you still have stock recovery.
if you have custom recovery manually flash the update.zip Then flash su.zip. You're now stock rooted.
Click to expand...
Click to collapse
I have stock recovery and I do have some third party apps installed as system apps but I havent deleted any.
I'll think unless I am one of the first to get OTA I'll prolly be too impatient to wait for it anyways and flash through CWM. But will I lose data flashing through CWM? I have flashed stock roms through stock recovery when it was allowed in GB and never lost data but I wasnt rooted back then.
Gambler_3 said:
I heard the phone gets unrooted with an OTA? So what happens to the apps that need root access? They stay there and start working fine when you root again or need to be reinstalled?
Do you lose data in the process when you install OTA update on a rooted phone?
Click to expand...
Click to collapse
Be patient, stay rooted, soon after the release I am sure there will be a stock rom that you can flash via CWM,
You won't loose data.
You can flash official updates through cwm no problem. In fact that was the only way to do it manually after 4.0.3. Stock recovery would not allow manually flashing the update zip. Would end up in a error 7.
So it was either wait for the update to be pushed to your phone or flash it manually with a custom recovery
Hello. I am reverting my XT1032 to stock in preparation for the update. Does the recovery need to be resotred to stock as well or can I leave the clockworkmod recovery on?
Thanks
Yes
Stock means all is stock, even the recovery. If you leave unlocked bootloader, you can change back to cwm later.
Stock firmware
Stock recovery
No root
No system apps uninstalled or freezed
Thats what you need to succesfully OTA to Lollipop. :highfive:
Hello
I have my moto G with root and custom recovery, what are the steps to follow to get all way back to stock ?
1. Unroot.
2. Uninstall xposed if you have it
3. Flash stock recovery.
4. Make sure you have the stock ROM installed. (Unlocked bootloader is fine)
5. Initiate ota
will i be able to return to kitkat after upgrading, at any time? no bootloader conflicts, or anything?
Once you upgrade to lollipop you most likely cannot downgrade to KitKat again since the boot loader will not accept it any longer.
skyguy126 said:
1. Unroot.
2. Uninstall xposed if you have it
3. Flash stock recovery.
4. Make sure you have the stock ROM installed. (Unlocked bootloader is fine)
5. Initiate ota
Click to expand...
Click to collapse
Regarding this guide it isn't necessary to have the rom 'unmodified' i removed a few system apps from /system. is this causing a failure as well or do i have not all XPosed removed properly ?
Thanks for reply.
Do i have any alternative option than complete reflash the stock rom ?
If you removed some system apps there is a slight chance it will fail. Also I forgot to mention to remove xposed before unrooting because uninstalling xposed requires root.
Well then I think it fails because of the removed sys apps.
Will it be a chance to flash the ota using sideload? Or will this attempt fail also?
If I don't have any option I need to start over with the device when I decide to upgrade to lollipop. But at the moment it is not yet available in Germany.
I only have a due update which might increase the SD card compatibility.
I have 210.12.40.falcon_umts.EURetail.en.EU ROM installed on my XT1032.
I also have TWRP recovery. I want to install Lollipop OTA so I have to get back to stock recovery.
I tried to flash recovery.img from https://mega.co.nz/#!HRpRTR4Q!GNPL3a1Syc8vwholky1wNNfX4rQ-24swytFM6cUVowM via fastboot but it's not working (red triangle). How to do that?
You need to flash back to stock 4.4.4 with no root and stock recovey, update Motorola Services app in the play store, then check for OTA updates..
audit13 said:
You need to flash back to stock 4.4.4 with no root and stock recovey, update Motorola Services app in the play store, then check for OTA updates..
Click to expand...
Click to collapse
Please read before answering.
I have stock 4.4.4 and I have OTA avaliable. But I can't install it with custom recovery.
My problem is only that I can't install stock recovery.
Did you unzip the file and try to flash the stock recovery using fastboot?
You did not mention whether your ROM was rooted, had any apps removed, etc,. and this is why I suggest re-flashing to make sure you have a completely stock ROM.
You have the EU retail ROM on your phone and the link is for the Retail GB. Not sure if both ROMs use the same recovery and partition layout.
I've just finished flashing stock recovery, this is the guide I used:
http://forum.xda-developers.com/moto-g/general/gpe-ota-lrx21z-5-0-1-xt1033-xt1032-t2969847
You're going to have to download mfastbootv2, Minimal ADB and Fastboot and the batch files, then mfastboot flash recovery recovery.img and I guess you're done.
Though I've did the whole tutorial, so I'm not sure if that one command is enough if you only want to flash recovery, but I think that's all you need.
Need 5.0.1 stock recovery to update to 5.1 ota
Hello, does anyone have the stock recovery image for 5.0.1/LRX21Z.M002? I have been searching google for hours to try and find this image. Any help would be appreciated.
Pr3no said:
I've just finished flashing stock recovery, this is the guide I used:
http://forum.xda-developers.com/moto-g/general/gpe-ota-lrx21z-5-0-1-xt1033-xt1032-t2969847
You're going to have to download mfastbootv2, Minimal ADB and Fastboot and the batch files, then mfastboot flash recovery recovery.img and I guess you're done.
Though I've did the whole tutorial, so I'm not sure if that one command is enough if you only want to flash recovery, but I think that's all you need.
Click to expand...
Click to collapse
audit13 said:
Did you unzip the file and try to flash the stock recovery using fastboot?
You did not mention whether your ROM was rooted, had any apps removed, etc,. and this is why I suggest re-flashing to make sure you have a completely stock ROM.
You have the EU retail ROM on your phone and the link is for the Retail GB. Not sure if both ROMs use the same recovery and partition layout.
Click to expand...
Click to collapse
So, for last 2 hours I was trying to flash stock recovery. I tried to flash different ROMs, wiped data and system several times. Nothing seemed to work. After flashing recovery.img from any stock firmware package there always was red triangle and it didn't work. All custom recoveries works.
So since I've already had my data wiped, I just flashed Lollipop with fastboot and it works well. But still doesn't have stock recovery.
Also, how can I tell what were the previous versions of Android that my phone had (STOCK)?
For example: there were several 5.1.1 versions or 5.0. versions - how do I know which one do I need?
Thanks.
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
audit13 said:
The easiest way to have a routed rom would be to flash a stock rom from Google, flash twrp, and flash supersu from twrp.
Click to expand...
Click to collapse
Sorry if I didn't explain myself - my phone is rooted and I have a custom ROM. What I want to do is to go back to stock ROM but keep it rooted.
Thanks.
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
audit13 said:
Flash a stock rom, then just root the stock rom. There is no other way unless you flash a stock pre-rooted rom.
Click to expand...
Click to collapse
So you can't keep it rooted while flashing stock?
And how do you know which versions are for your phone (if I don't want to go back to the latest Marshmallow for example)?
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
audit13 said:
You can only keep root when flashing stock if you find a prerooted stock image.
Google search for nexus factory images.
Click to expand...
Click to collapse
Yes, I know that I need to Google for factory image, but there are several images with the same release. For example, there are three 5.1.1. (LMY48B, LMY48I and LMY48M). Same with 6.0.0. and 4 X 6.0.1 version. How do you know which one is for my device?
Thanks.
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
wangdaning said:
Any stock image for hammerhead will work on a hammerhead device. The reason it will delete root is you will have to flash system, and unless the system image you flash is prerooted, no more root.
Click to expand...
Click to collapse
Thanks!
Just trying to understand that difference between the different versions, or are these simply system updates, from XXX29K to XXX29S for example?
Changes in the android version 5.0->5.1->6.0 are fairly large system updates. Within 5.1.1 they are security patches.
If you have a rooted phone and talk about flashing, you should know this. Else you are a menace to your phone...
Root is a system modification - if you delete or reinstall the System partition, you'll lose root. But re-root is easy.
I recommend to read tutorials and get some knowledge before trying to root, flash or before asking those questions, where Senior xda-members just shake their heads.
The simple way to do what you seem to want is to back up all your important stuff (photos, etc.), install MMB29V (the latest March 1st 6.0.1 security version), install TWRP 3.0.0.0, and from TWRP flash SuperSU v2.70. It will take slightly longer than it's taken me to type this, but not much...
After that, when a new monthly security version comes out, flash system.img, boot.img & radio.img, and repeat the TWRP & SuperSU steps. No data loss.
How do you update oem/modem/other manufacturer specific partitions if you are on Lineage or another custom rom. Obviously OTA won't work and flashing the recent stock rom is not an option since you would (probably) lose all of your data.
Can you somehow extract those partitions from the stock rom and flash them separately?
mr_keule said:
How do you update oem/modem/other manufacturer specific partitions if you are on Lineage or another custom rom. Obviously OTA won't work and flashing the recent stock rom is not an option since you would (probably) lose all of your data.
Can you somehow extract those partitions from the stock rom and flash them separately?
Click to expand...
Click to collapse
I would leave those alone, unless you have many years of firmware hacking... Everytime I messed with them, they bricked my phone... Not worth it for what you get...