how to update Android via OTA when Multirom and TWRP are installed - Nexus 5 Q&A, Help & Troubleshooting

Hi,
today I received a security update in my Nexus 5. I accepted it and when rebooted it got stuck in the multirom menu and it didnt update anything. Last time I have to lock the device and flash the rooted image in order to proceed with the update. this time I would like to do it diferently if possible.
Is there any other way to flash the update without removing multirom and locking back the device?
where is the update.zip stored when the system automatically downloads the update? maybe I could manually flash it using the TWRP.
thanks!
Jose

Related

How to install 5.1.1 without losing data...

Hey Guys,
My N5 is currently running android 5.1 and I want to upgrade to 5.1.1. My phone also shows that the OTA update is available but I am currently rooted and running TWRP. A quick google research showed me that I can´t install an OTA update while being on TWRP. Is there any other way to update my phone to 5.1.1 without losing my data?
Greets
I have this exact same question. I was going to try and use fastboot with the system image and recovery and then take the ota update. Not sure if that will work.
I got impatient, so i downloaded the factory image from the web for the version of my phone (lmy47d). I extracted the system.img and recovery.img and flashed them with fastboot as stated here -> http://forum.xda-developers.com/goo...orial-applying-ota-update-stock-root-t2976556
Rebooted the phone and then applied the OTA update. Phone is updating the apps after boot. So far seems ok.
Thank you I will try it out later
You don't lose data by default? At least not for me

[Q]Cannot OTA updates after rooting

I have had an issue where I cannot receive OTA updates. Whenever I check for updates the reply is: Software up to date as of <date,time>
I have rooted my tablet using the fastboot method however I originally accidentally flashed the OS to blank and softbricked my tablet. After installing the 5.0.1 factory image and installing it using fastboot, I then used CWM recovery to install SuperSU.zip to root the device, after doing this I could receive OTA updates. When I went to install them CWM aborted the update. I booted normally and selected "Clear update data", rebooted and now it always says that the device is up to date despite being on the 5.0.1 factory image.
My question is how can I go about getting OTA updates again? Also, will this involve further tweaking of files which may be risky as I have already messed everything up once.
Thank you.
EDIT: I have only just realised the grammatical error in the title but I can't change it now.
Just for clarification, are you trying to flash/sideload the OTA or are you attempting to use the tablet's built-in updater?
Nvidia pulled the 5.1 update. 5.0.1 is up to date.
Sent from my SHIELD Tablet using XDA Free mobile app
You can't get an OTA while rooted .. This is a very basic principle/consequence of rooting. There is no new 5.1 update since it was pulled a few months ago. I'm still waiting for it to get fixed but we might just get M at this rate. Rooting isn't risky if you understand what you are doing and what you shouldn't do. If you are responsible with the "power" of having a rooted device then I wouldn't worry about it.
I am waiting for the ability to flash the new OTA that was pushed on 29th. But yeah cannot pull and download the OTA while rooted.
Good evening, look nere: https://youtu.be/bT82lX40fuc
I just downloaded and installed while rooted with TWRP installed, no problem. I did have to re-flash TWRP and root, but TWRP had no trouble with the auto update.
Sent from my SHIELD Tablet using XDA Free mobile app

Stagefright update (LMY48B->LMY48I)

I bought a Nexus 5 (refurbished) from Freedom Pop. I can't remember what version is came with, maybe 4.4.4. First thing I did with it was install CWM (6.0.4.7) and flash the Google Nexus 5 factory image (5.1.1 / LMY48B) and root the device. Now that LMY48I is out, I got a OTA notification about a system update. When I try to do the OTA update, it fails. So I downloaded the update zip to take LMY48B->LMY48I from http://www.droid-life.com/2015/08/10/download-nexus-4-5-6-7-9-10-ota-stagefright-patches/ . I boot into CWM and install zip, but it fails with:
Package expects build fingerprint of google/hammerhead/hammerhead:5.1.1/LMY48B/1863243:user/release-keys; this device has google/hammerhead/hammerhead:4.4.2/KOT49H/937116 Instllation aborted.
When I go to Settings, System, it shows I have LMY48B. Why does the install think I have KOT49H? When I flashed the factory image it did it not update some file somewhere and if so, how can I get that file to accurately report what I'm running?
Thanks,
exhibit679 said:
I bought a Nexus 5 (refurbished) from Freedom Pop. I can't remember what version is came with, maybe 4.4.4. First thing I did with it was install CWM (6.0.4.7) and flash the Google Nexus 5 factory image (5.1.1 / LMY48B) and root the device. Now that LMY48I is out, I got a OTA notification about a system update. When I try to do the OTA update, it fails. So I downloaded the update zip to take LMY48B->LMY48I from http://www.droid-life.com/2015/08/10/download-nexus-4-5-6-7-9-10-ota-stagefright-patches/ . I boot into CWM and install zip, but it fails with:
Package expects build fingerprint of google/hammerhead/hammerhead:5.1.1/LMY48B/1863243:user/release-keys; this device has google/hammerhead/hammerhead:4.4.2/KOT49H/937116 Instllation aborted.
When I go to Settings, System, it shows I have LMY48B. Why does the install think I have KOT49H? When I flashed the factory image it did it not update some file somewhere and if so, how can I get that file to accurately report what I'm running?
Thanks,
Click to expand...
Click to collapse
You must return to stock before you attempt to install that zip. That means you cannot be rooted or have custom recovery in place
I've got a stock N5 I bought from Google on LMY48B and there's still no update for me.
Does anyone know what the roll-out timeline is for the LMY48I?
When should I conclude that I'm not going to get it OTA and resign myself to factory wipe and flashing the image?
I have a stock Nexus 5, rooted w/ cf-auto-root, re-locked , no custom recovery or bootloaders, and all i see is Error when trying to install this OTA. I'm stuck at the moment myself. Installing the OTA should just unroot my phone, but it won't install. Currently running on 5.1.1 (LMY48B) myself.
Nemesis02 said:
I have a stock Nexus 5, rooted w/ cf-auto-root, re-locked , no custom recovery or bootloaders, and all i see is Error when trying to install this OTA. I'm stuck at the moment myself. Installing the OTA should just unroot my phone, but it won't install. Currently running on 5.1.1 (LMY48B) myself.
Click to expand...
Click to collapse
Mine is stock, un-rooted, but I too keep getting an Error when trying to install the OTA. Stuck on LMY48B at the moment.
moeREM said:
Mine is stock, un-rooted, but I too keep getting an Error when trying to install the OTA. Stuck on LMY48B at the moment.
Click to expand...
Click to collapse
I have the same problem her as well with my nexus 5 it keeps saying error with little droid I've tried side loading manually but it didn't work also tried hard reset and wiping cache but nothing solved the problem so i just figured out the problem is the package it self
Same problem here
Same thing here, error with little droid picture on rooted android 5.1.1.
Has anyone found the reason for this ?
Try flashing system image directly
Sent from my Nexus 5 using Tapatalk
lpganesh said:
Try flashing system image directly
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
This possibility makes me spend a lot of time, becouse i have lcd_density changed and all apps when i restore a backup are not in the main screen.
walt disney said:
Same thing here, error with little droid picture on rooted android 5.1.1.
Has anyone found the reason for this ?
Click to expand...
Click to collapse
This method is for anyone with lmy48b that's rooted or has a radio, kernel or recovery custom flashed.
Condensed version but here's the important pieces. You will lose root if you are unrooted. You will not lose any data or settings if done this way.
Step 1. Download lmy48b from google
Step 2. Unzip lmy48b package
Step 3. Copy bootloader, radio and system.img from lmy48b package (unzip zipped file for bootloader and system.img)
Step 4. Connect phone and boot into bootloader
Step 5. Type in fastboot flash recovery [recovery].img replace [recovery] with the actual file name
Step 6. Type in fastboot flash radio [radio].img
Step 7. Type in fastboot flash system [system].img
Step 8. Reboot
Step 9. Update via OTA
Working - confirmed
cloney said:
This method is for anyone with lmy48b that's rooted or has a radio, kernel or recovery custom flashed.
Condensed version but here's the important pieces. You will lose root if you are unrooted. You will not lose any data or settings if done this way.
Step 1. Download lmy48b from google
Step 2. Unzip lmy48b package
Step 3. Copy bootloader, radio and system.img from lmy48b package (unzip zipped file for bootloader and system.img)
Step 4. Connect phone and boot into bootloader
Step 5. Type in fastboot flash recovery [recovery].img replace [recovery] with the actual file name
Step 6. Type in fastboot flash radio [radio].img
Step 7. Type in fastboot flash system [system].img
Step 8. Reboot
Step 9. Update via OTA
Click to expand...
Click to collapse
Thanks, confirmed that this method worked. Managed to update my rooted nexus 5 to LMY48I
Tried to install ota update after reverting to stock recovery using Simple Recovery Switcher app. However, also the error message, with little Android picture also appears. Please help
I assume this removed your root, though.
It seems we are getting a new factory image en september to properly solve the stagefright bug
"A second patch has been sent out. "We’ve already sent the fix to our partners to protect users, and Nexus 4/5/6/7/9/10 and Nexus Player will get the OTA update in the September monthly security update"
I have decided i will stay at 5.1.1 untill Android M maybe september also. In the meanwhile i have disabled MmsService and OTA.
Pastorelli's said:
It seems we are getting a new factory image en september to properly solve the stagefright bug
"A second patch has been sent out. "We’ve already sent the fix to our partners to protect users, and Nexus 4/5/6/7/9/10 and Nexus Player will get the OTA update in the September monthly security update"
I have decided i will stay at 5.1.1 untill Android M maybe september also. In the meanwhile i have disabled MmsService and OTA.
Click to expand...
Click to collapse
I'm with you, not going to try to flash these things, there are a few zip files out there dated a couple days ago, apparently the zips aren't tested prior to release since everyone is getting failure when flashing the zip file.
Is there really no method to apply OTA updates on rooted/modified devices (e.g. modify the update.zip itself to bypass whatever checks it performs)?
Same problem here- only had a custom recovery and root. brought back the stock recovery and did full unroot from SuperSu.
OTA update installtion stops with "Error".
Just flash the system image from the update.
Sent from my Nexus 5 using Tapatalk
Thanks, I ended up doing this http://forum.xda-developers.com/showpost.php?p=62288667&postcount=196
(flashing stock system, boot and recovery from my current version, letting OTA update install and re-rooting according to http://forum.xda-developers.com/goo...ide-nexus-5-how-to-unlock-bootloader-t2507905)
I guess i could have flashed the new version just the same.

Can/Should I install update?

I have my Pixel (obtained from Google) rooted. I have not installed any Kernels or Roms.
I received a notification that there is an Android system update. Is is OK to install this update?
Based on your comments, I assume you are not on Verizon - if that is the case, whether you do an update or not is completely up to you - I have the GOOGLE PIXEL - am using ATT service and I am also rooted - I updated - ultimately I had to re-root - install Twrp and flash the rom I wanted to use - but beyond that - no reason not to - completely up to you. Good luck.
So, if I install the update, I will lose TWRP and root?
You never want to take an OTA update if you have a custom recovery. Can and will brick your phone. As long as you have stock recovery your more than welcome to take an OTA update.
Restored factory boot.img to boot_a and boot_b
When I try to install the update, it says "Installation Problem"

Problem with update to android 9

I have the original Android 8.0 system and software version 2.33.401.19. Two days ago, my HTC announced that there is a new update to android 9.0. It downloads it and tries to install it. After reboot, TWRP starts and I choose to restart the system. Nothing is updated, and after a while I see a message that the update file is damaged.
A few weeks ago I unlocked the bootloader, ripped the phone and installed TWRP and MagiskManager. I suspect that the unlocked bootloader causes these problems. What should I do to install this update?
Szturwal said:
I have the original Android 8.0 system and software version 2.33.401.19. Two days ago, my HTC announced that there is a new update to android 9.0. It downloads it and tries to install it. After reboot, TWRP starts and I choose to restart the system. Nothing is updated, and after a while I see a message that the update file is damaged.
A few weeks ago I unlocked the bootloader, ripped the phone and installed TWRP and MagiskManager. I suspect that the unlocked bootloader causes these problems. What should I do to install this update?
Click to expand...
Click to collapse
not the unlocked boot loader, it's because you have twrp installed. you need stock recovery(and what ever you do don't relock your bootloader)you can get back to stock by flashing the oreo ruu, then you'll recieve the ota and it will install.you need the ruu for your phone.that's it.
this will wipe your internal, so if you have something on there you want to keep, back it up to your pc, then you can restore, also, you'll need to reinstall twrp and magisk after you install the ota.
Thanks for answer. I'm going to do this ....
Hi,
Is there a way I can just flash the stock recovery and try to OTA? Really don't want to backup 80GB and restore back.

Categories

Resources