[Q] OTA downloaded but not installed - Nexus 4 Q&A, Help & Troubleshooting

I am currently running stock 4.4 on my Nexus 4. FTP doesn't work with 4.4 and I don't like that, I use my FTP a lot. Now did I get a notification about half an hour ago that there was an update (4.4.2) available. I chose to update and pressed the restart an install updates button.
But my N4 didn't install the update, it simply booted into TWRP recovery. So I chose reboot > system and my phone just booted. Just not to 4.4.2, but to 4.4. When I check for updates in the settings it says that there are no updates available. Does anyone know how to fix this?
Sent from my Nexus 4 using xda app-developers app

thedjdoorn said:
I am currently running stock 4.4 on my Nexus 4. FTP doesn't work with 4.4 and I don't like that, I use my FTP a lot. Now did I get a notification about half an hour ago that there was an update (4.4.2) available. I chose to update and pressed the restart an install updates button.
But my N4 didn't install the update, it simply booted into TWRP recovery. So I chose reboot > system and my phone just booted. Just not to 4.4.2, but to 4.4. When I check for updates in the settings it says that there are no updates available. Does anyone know how to fix this?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Download the update to your pc from here. If you are running 4.4.1, then download from here.
Copy the update.zip to your phone
Boot into TWRP recovery. Choose install zip from sdcard, navigate and select the update.zip and flash. Re-flash the SuperSU/Superuser binaries if you want to keep root (not flashing this, might replace twrp with the stock recovery ). Reboot.
If you have modified ANY system file, then this won't work and you will have to revert to stock first.

Ibrahim.Rahman said:
Download the update to your pc from {I am not allowed to post links yet}.. If you are running 4.4.1, then download from {I am not allowed to post links yet}.
Copy the update.zip to your phone
Boot into TWRP recovery. Choose install zip from sdcard, navigate and select the update.zip and flash. Re-flash the SuperSU/Superuser binaries if you want to keep root (not flashing this, might replace twrp with the stock recovery ). Reboot.
If you have modified ANY system file, then this won't work and you will have to revert to stock first.
Click to expand...
Click to collapse
Didn't work but i've found a solution myself.
To update to 4.4, I've flashed the factory image without wiping the cache.
I used the following command lines
fastboot flash bootloader bootloader*.img
fastboot reboot-bootloader
fastboot flash radio radio-*.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot format cache
fastboot reboot
Maybe that is the reason why it doesn't work. I've downloaded the 4.4.2 factory image now and flashed it like this, it worked.

Related

post update, still reading 4.1

i tried to update from 4.1 to 4.1.1, and it rebooted into recovery with the android and open chest and exlamation, then i rebooted after hard reset, and found that it still says i am in android version 4.1.
however, i check system updates, and it says that i am up to date. my version is 4.1, build is JRN84D, and kernel is 3.1.10-g55edff4 android [email protected] )
#1 smp preempt mon jun 18 155626 PDT 2012
does anoyne have any suggestions?
Your signature says your N7 is unlocked and rooted. Are you using CWM recovery? If so thats why your update failed you need stock recovery to take OTA. Use an update zip from development to upgrade on custom recovery.
If you want to go back to stock recovery:
Download ota rootkeeper and backup your root
Download the system image from here
Extract the recovery.img and stick it in your fastboot folder
boot into fastboot and type fastboot erase recovery
type fastboot flash recovery recovery.img
wait for flash
type fastboot reboot-bootloader
Reboot into nexus and go to All Apps, and force close "Google Services Framework", clear data, exit settings then go back and system update
updated fine go back into voodoo and restore root and done!! You can then reflash CWM if you want custom again
NeoMagus said:
Your signature says your N7 is unlocked and rooted. Are you using CWM recovery? If so thats why your update failed you need stock recovery to take OTA. Use an update zip from development to upgrade on custom recovery.
If you want to go back to stock recovery:
Download ota rootkeeper and backup your root
Download the system image from here
Extract the recovery.img and stick it in your fastboot folder
boot into fastboot and type fastboot erase recovery
type fastboot flash recovery recovery.img
wait for flash
type fastboot reboot-bootloader
Reboot into nexus and go to All Apps, and force close "Google Services Framework", clear data, exit settings then go back and system update
updated fine go back into voodoo and restore root and done!! You can then reflash CWM if you want custom again
Click to expand...
Click to collapse
i was using wugs toolkit. unlcokekd, rooted, but CWM never held permanently. i reflashed stock recovery via wugs toolkit, but still dont have option to update (shows no updates available).
do you suggest manually doing this? does anyone have an image of the OTA updates?
joshtb86 said:
i was using wugs toolkit. unlcokekd, rooted, but CWM never held permanently. i reflashed stock recovery via wugs toolkit, but still dont have option to update (shows no updates available).
do you suggest manually doing this? does anyone have an image of the OTA updates?
Click to expand...
Click to collapse
You need to go into Apps All and force stop "Google Services Framework" and clear data before checking for the update again. If you are not on the stock recovery it will just fail again. The link in my first post goes to the factory images.
You can flash the ota via cwm as well. Make sure you have signature verification turned off and it should flash. However this will cause you to lose root+cwm so you'll have to re-flash cwm via fastboot and then flash the superuser binary via cwm.
You could also use voodoo ota rootkeeper or the root survival modes in supersu/superuser however make sure that you disable those/delete the root backup before you make another backup using cwm or else you will not be able to restore it.
i reflashed stock recovery.
it was stuck in a bootloop at the google screen.
hard reset - rebooted into system - still at 4.1, even with google services with no data stored.
says that i do not have updates available again.
why am i not having any luck with this?
reflashed stock recovery twice - 2nd time manually (not via toolkit). went to install - same problem.
installed update a 2nd time - i got the android with the little blue icon indicating its installing update, then the open chest/exclamation point. rebooted - still in 4.1.
anoyne else have suggestsions?
posted in error
tried another method - flashed CWM, downloaded the idnividual update images (from another post in this forum) tried flashing with both CWM and TWRP
got this error
verifying current systme
assert failed : apply_patch_check ("/system/app/googleservicesframework.apkl" "a bunch of #s and letters," "another bunch of #s and letters"
E: error in /sdcard/download/the image im trying to flash
(status 7)
installation aborted
anyone have any advice? this sucks.
joshtb86 said:
tried another method - flashed CWM, downloaded the idnividual update images (from another post in this forum) tried flashing with both CWM and TWRP
got this error
verifying current systme
assert failed : apply_patch_check ("/system/app/googleservicesframework.apkl" "a bunch of #s and letters," "another bunch of #s and letters"
E: error in /sdcard/download/the image im trying to flash
(status 7)
installation aborted
anyone have any advice? this sucks.
Click to expand...
Click to collapse
Flash the system.IMG from here https://developers.google.com/android/nexus/images
The ota should then install correctly.
Sent from my Nexus 7 using xda premium
El Daddy said:
Flash the system.IMG from here https://developers.google.com/android/nexus/images
The ota should then install correctly.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
what command do i use to flash the system image? do i also have to erase it first?
Read this walkthrough for commands
NeoMagus said:
Read this walkthrough for commands
Click to expand...
Click to collapse
thanks! i dont want to flash the whole image however, just the system.img
would the command be fastboot erase system
then fastboot flash system system.img ?
you got it

[TUT] Getting a clean 4.1.1 Experience - Steps to Flash Stock 4.0.4 and then 4.1.1

First up, let me tell you that doing this is not necessay to get the OTA or having a smooth JB experience. The JB OTA installs without a wipe which means the data is preserved.
UPDATE: Google has put up the full image for 4.1.1 [i9023, i9020a and i9020t] . Now you do not need to clean flash ICS and then JB. Follow the part 1 of the guide below and flash the JB image instead of ICS. Nothing more to it.
Thanks anshumandash for pointing it out
That being said, I wanted to have the real stock image on my Nexus S and then Upgrade to JellyBean. Below are the steps that I took.
Go to this GoogleAndroidImages page and download the appropriate image for your phone & download. Since mine is an international version a.k.a I9023, I chose that ROM.
The download will be a tar.gz file. Use a utility like 7Zip to uncompress it. The tar.gz will have a .tar file inside and the /tar file will have a folder. Extract the folder to your PC. For my download, the folder was named soju-imm76d
Next Steps will wipe your phone, completely
Reboot your phone into bootloader mode.
Open a command prompt, navigate to the folder in step 2.
Enter the below commands, the image file names are for my download, modify it to the file names in your folder before running (I assume that you have fastboot working)
fastboot flash bootloader bootloader-crespo-i9020xxkl1.img
fastboot reboot-bootloader
fastboot flash radio radio-crespo-i9020xxki1.img
fastboot reboot-bootloader
fastboot -w update image-soju-imm76d.zip​
After the last step, the phone reboots and takes you to the initial setup screen.
Additionally, I reflashed CWM and the the JellyBean OTA along with superuser. Below are the steps for that
Download the OTA from google server. This thread by oldblue910 is kept updated with the latest updates. Currently it has OTA's for I9023 and I9020A
Download the superuser from androidsu website. This is the RC version 3.2
Download the latest clocworkmod recovery touch-version non-touch-version
For simplicity sake, put all the files downloaded at a single folder
Reboot phone into bootloader mode.
Open a command prompt and go to the folder in step 4.
Now execute this fastboot command to flash the CWM recovery. Change the filename to the file you have downloaded.
fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img​
Now using the vol down key choose to go to recovery.
There, using the options, navigate to the install zip from sdcard and first install the OTA and then the superuser zip file.
Reboot. You now have rooted JB
PS: I additionally did a fastboot oem lock and fastboot oem unlock back to back to wipe my sdcard too
Reason for this post?
Originally Posted by dEris
Because if you're not on stock 4.0.4 image, you cannot flash the OTA zip. You get a Status 7 error.
This isn't "his" way. It's the official Google way if you go to the Google site to download stock images
Click to expand...
Click to collapse
Whats the difference/benefits between ur "way" and just flashing JB zip with proper clean install?
thanks in advance ;-]
greg2826 said:
Whats the difference/benefits between ur "way" and just flashing JB zip with proper clean install?
thanks in advance ;-]
Click to expand...
Click to collapse
Because if you're not on stock 4.0.4 image, you cannot flash the OTA zip. You get a Status 7 error.
This isn't "his" way. It's the official Google way if you go to the Google site to download stock images.
I think this was the exact way I did it as well:thumbup: I must have skipped one step during the process though because my "SD" didn't get wiped.
turchs
This doesn't apply to the i9020a Nexus S
-_-
karleeezy said:
This doesn't apply to the i9020a Nexus S
-_-
Click to expand...
Click to collapse
Yes it does! I9020A OTA in the thread below!
http://forum.xda-developers.com/showthread.php?t=1736645
dEris said:
Because if you're not on stock 4.0.4 image, you cannot flash the OTA zip. You get a Status 7 error.
This isn't "his" way. It's the official Google way if you go to the Google site to download stock images.
Click to expand...
Click to collapse
ok got it
my thanks went 2 u
Couldn't you just do a factory reset after installing the OTA package?
Thank you, your tutorial was helpful. Needed to go back to stock.
FirePoncho86 said:
Yes it does! I9020A OTA in the thread below!
http://forum.xda-developers.com/showthread.php?t=1736645
Click to expand...
Click to collapse
Got it! Thanks, dude!
jithinsarath said:
First up, let me tell you that doing this is not necessay to get the OTA or having a smooth JB experience. The JB OTA installs without a wipe which means the data is preserved.
That being said, I wanted to have the real stock image on my Nexus S and then Upgrade to JellyBean. Below are the steps that I took.
Go to this GoogleAndroidImages page and download the appropriate image for your phone & download. Since mine is an international version a.k.a I9023, I chose that ROM.
The download will be a tar.gz file. Use a utility like 7Zip to uncompress it. The tar.gz will have a .tar file inside and the /tar file will have a folder. Extract the folder to your PC. For my download, the folder was named soju-imm76d
Next Steps will wipe your phone, completely
Reboot your phone into bootloader mode.
Open a command prompt, navigate to the folder in step 2.
Enter the below commands, the image file names are for my download, modify it to the file names in your folder before running (I assume that you have fastboot working)
fastboot flash bootloader bootloader-crespo-i9020xxkl1.img
fastboot reboot-bootloader
fastboot flash radio radio-crespo-i9020xxki1.img
fastboot reboot-bootloader
fastboot -w update image-soju-imm76d.zip​
After the last step, the phone reboots and takes you to the initial setup screen.
Additionally, I reflashed CWM and the the JellyBean OTA along with superuser. Below are the steps for that
Download the OTA from google server
Download the superuser from androidsu website. This is the RC version 3.2
Download the latest clocworkmod recovery touch-version non-touch-version
For simplicity sake, put all the files downloaded at a single folder
Reboot phone into bootloader mode.
Open a command prompt and go to the folder in step 4.
Now execute this fastboot command to flash the CWM recovery. Change the filename to the file you have downloaded.
fastboot flash recovery recovery-clockwork-6.0.0.7-crespo.img​
Now using the vol down key choose to go to recovery.
There, using the options, navigate to the install zip from sdcard and first install the OTA and then the superuser zip file.
Reboot. You now have rooted JB
PS: I additionally did a fastboot oem lock and fastboot oem unlock back to back to wipe my sdcard too
Click to expand...
Click to collapse
Well written. I'm sure you helped hundreds of stressed out newcomers with this. :laugh:
chronophase1 said:
I must have skipped one step during the process though because my "SD" didn't get wiped.
Click to expand...
Click to collapse
yeah.. the fastbbot oem lock and fastboot oem unlock after the 4.0.4 flash wipes the SD
rhadrio said:
Couldn't you just do a factory reset after installing the OTA package?
Click to expand...
Click to collapse
The OTA is essentially an upgrade, it builds atop the existing ICS 4.0.4 rom. I had so much mods on top of my rom that I wasnted to have a clean start. Besides, there has been multiple reports of an error 7 in case of non stock or certain moded roms.
karleeezy said:
Got it! Thanks, dude!
Click to expand...
Click to collapse
Glad I could help
I am already missing the various tweaks I had on the CM9 RC2 and other mods
jithinsarath said:
yeah.. the fastbbot oem lock and fastboot oem unlock after the 4.0.4 flash wipes the SD
Click to expand...
Click to collapse
Thanks for the tutorial. Thinking of doing the update this way. I have a i9020a rooted with 4.0.4 and when I try to do OTA update I got signature verification error in CWM 5.8.0.2.
For the wipe, from what I understand, you just execute the lock command above which wipes the SD and then unlock it with the second command? Sorry total newbie on this.
That is exactly what i did when the OTA zip pacage first showed up here on xda. Good guide. Im rocking mine with simple kernel
I followed the first part of the guide to restore to stock, and then did the OTA update. It all went well except one little catch: after the OTA update for 4.1.1, I flashed the CWM 6.0.0.7, and then realize that I forgot to copy the root zip file onto SD. Had to reboot the phone and copy the file over. After that I go into bootload mode again and try to go to recovery, ends up with a red exclaim mark and phone is locked. Had to do a battery pull, restart the phone, and then reflash that CWM image, and immediately after that, go to recovery and do the root zip install. Not sure why is that. Have not tried to do the recovery again but I'm glad that I'm now on JB and rooted. Thanks OP !
I keep gettin status 7 error.
When i install the OTA through the phone itself (by letting it restart the phone and install it) i get the exclamation mark.
Im on Stock 4.0.4 and not rootet. Is there anyway to install this OTA without fully wipe it?
d960 said:
Thanks for the tutorial. Thinking of doing the update this way. I have a i9020a rooted with 4.0.4 and when I try to do OTA update I got signature verification error in CWM 5.8.0.2.
For the wipe, from what I understand, you just execute the lock command above which wipes the SD and then unlock it with the second command? Sorry total newbie on this.
Click to expand...
Click to collapse
The lock command just lock the bootloader, it is the unlock command that will wipe the SD. It will also ask you for a confirmation on your phone's screen...
d960 said:
I followed the first part of the guide to restore to stock, and then did the OTA update. It all went well except one little catch: after the OTA update for 4.1.1, I flashed the CWM 6.0.0.7, and then realize that I forgot to copy the root zip file onto SD. Had to reboot the phone and copy the file over. After that I go into bootload mode again and try to go to recovery, ends up with a red exclaim mark and phone is locked. Had to do a battery pull, restart the phone, and then reflash that CWM image, and immediately after that, go to recovery and do the root zip install. Not sure why is that. Have not tried to do the recovery again but I'm glad that I'm now on JB and rooted. Thanks OP !
Click to expand...
Click to collapse
when you rebooted the phone to copy the su.zip, the OS restored the oroginal recovery. That's why you got the red exclamation mark. To get the CWm, you can flash it again in fast boot, go into recovery and then ask the CWM to reboot.. if it is 6.0.0.7, before reboot it will ask for the recovery to be made overwrite proof (a nice new feature in v6), choose yes and you are good to go..
alireza_simkesh said:
I keep gettin status 7 error.
When i install the OTA through the phone itself (by letting it restart the phone and install it) i get the exclamation mark.
Im on Stock 4.0.4 and not rootet. Is there anyway to install this OTA without fully wipe it?
Click to expand...
Click to collapse
Status 7 error comes when you have some kind of custom rom or may be some core mod applied to your rom. I am not aware of a way to get this proceed without full wipe: You can try the below though:
1. Flash the stock 4.0.4 for your phone without data wipe (you can wipe the dalvik cache though). This will make sure you are on the "stock".
2. Try the OTA
or you can backup using titanium backup, and then follow my guide. Restore the apps after flashing 4.0.4 and the try OTA.
It will be good it you take a nandroid backup before doing either of the above.
jithinsarath said:
Status 7 error comes when you have some kind of custom rom or may be some core mod applied to your rom. I am not aware of a way to get this proceed without full wipe: You can try the below though:
1. Flash the stock 4.0.4 for your phone without data wipe (you can wipe the dalvik cache though). This will make sure you are on the "stock".
2. Try the OTA
or you can backup using titanium backup, and then follow my guide. Restore the apps after flashing 4.0.4 and the try OTA.
It will be good it you take a nandroid backup before doing either of the above.
Click to expand...
Click to collapse
Flash image or zip?
ironia. said:
Flash image or zip?
Click to expand...
Click to collapse
OK, I'm confused now
As I understand, flashing the .img WILL wipe out the apps & data.
However, I have flashed the CM9 nightlies zip multiple times without loosing the data. Here we are dealing with a stock zip, so I am not sure. You can try the zip method after taking a nandroid backup.

[Q] Help! 4.4 not updating through OTA or via adb sideloading.

Can someone help me with me problem?
I have a Nexus 4, its currently running 4.3 & want to update to 4.4 without loosing my data.
Its a stock 4.3 ROM, but my device has the bootloader unlocked, rooted & has Franco kernel installed along with TWRP recovery.
Recently, I've been getting the notification that 4.4 update is ready to install. I click ok & the phone re-boots into TWRP, after a few seconds the screen goes back to the main TWRP menu without installing the update.
So, I downloaded the latest factory image from here: https://developers.google.com/android/nexus/images (Android 4.4 (KRT16S)) & extracted the 'image-occam-krt16s.zip' file from the 'occam-krt16s-factory-2006f418.tgz' download. I then booted into TWRP > Advanced > ADB Sideload.
and ran the following command from adt sdk tools: 'adb sideload image-occam-krt16s.zip'. This sent the zip file to the phone (took about ~1 minute) & the update started but failed almost straight away.
This is the error message I got:
Can anyone point me in the right direction why 4.4 wont install?
Thanks.
Thats not how it works. The factory image zip is not flashable...it contains the imgs for flashing via fastboot, not a recovery.
You can get the flashable ota zips from here: http://forum.xda-developers.com/showthread.php?t=2145848
The ones found on that thread can be adb sideloaded.
Thanks for the update.
So, according to the link you provided I need to wipe everything & revert back to stock.
So, there's no way to install 4.4 if I have TWRP & custom kernel installed?
cmberry20 said:
Thanks for the update.
So, according to the link you provided I need to wipe everything & revert back to stock.
So, there's no way to install 4.4 if I have TWRP & custom kernel installed?
Click to expand...
Click to collapse
No there is a way. Download the ota zip from that page and flash via TWRP. It should work, assuming that you are currently on 4.3 JWR66Y.
Chromium_ said:
Thats not how it works. The factory image zip is not flashable...it contains the imgs for flashing via fastboot, not a recovery..
Click to expand...
Click to collapse
Not saying your wrong but theres a ton of links showing you how to install the factory image via adb sideloading.
http://phandroid.com/2013/11/21/dow...d-4-4-kitkat-krt16s-ota-directly-from-google/
http://www.androidpolice.com/2013/1...riants-of-nexus-7-2012-and-2013-and-nexus-10/
http://www.androidpolice.com/2013/1...16s-ota-manually-root-or-unlock-not-required/
What gives??
Chromium_ said:
No there is a way. Download the ota zip from that page and flash via TWRP. It should work, assuming that you are currently on 4.3 JWR66Y.
Click to expand...
Click to collapse
Thanks, I'll give that a go.
cmberry20 said:
Not saying your wrong but theres a ton of links showing you how to install the factory image via adb sideloading.
http://phandroid.com/2013/11/21/dow...d-4-4-kitkat-krt16s-ota-directly-from-google/
http://www.androidpolice.com/2013/1...riants-of-nexus-7-2012-and-2013-and-nexus-10/
http://www.androidpolice.com/2013/1...16s-ota-manually-root-or-unlock-not-required/
What gives??
Click to expand...
Click to collapse
The links are not installing the factory image image by adb sideloading. They are using an ota zip (what i have provided you with above) and sideloading that.
Thanks.
Someone lead me down the wrong path with the OTA image. They told me to use the factory image one. Sorry about the dumbness!!
I've tried updating via TWRP install & adb sideload with the image from the link & it fails each time.
Seems that theres something not quite right with my phone. My phone is definitely running 4.3 JWR66Y with 3.4.0 Franco Kernel.
Is my version of TWRP ok - I have 2.6.3.0. I didn't know if this had any issues with flashing 4.4? I've tried updating it through Goomanager but i doesn't seem to want to download the latest version.
edit, just manually install 2.6.3.3 & update is still failing.
cmberry20 said:
I've tried updating via TWRP install & adb sideload with the image from the link & it fails each time.
Seems that theres something not quite right with my phone. My phone is definitely running 4.3 JWR66Y with 3.4.0 Franco Kernel.
Is my version of TWRP ok - I have 2.6.3.0. I didn't know if this had any issues with flashing 4.4? I've tried updating it through Goomanager but i doesnt seem to want to download the latest version.
Click to expand...
Click to collapse
You are definetly using this right?: http://android.clients.google.com/p....signed-occam-KRT16S-from-JWR66Y.d1b99704.zip
Instead of sideloading try pushing it to the phone manually then flashing it.
Nope, not working. It just doesnt want to know.
I wonder if its the custom kernel? I'll try flashing the OEM one see if it makes a difference.
it will not work, otas check for fils remember?.
hes using custom kernel so no work.
to upgrade to 4.4 download factory images of 4.4. extract and then u open image-occamikrt16s.zip(or whatever the name is), delete userdata.img and recovery.img, then u restart your n4 into fastboot mode, connect to pc, and run flash-all.boom, but u will need to re flash the kernel with a krt16s compatible one.

[Q] stock rooted Lollipop OTA fails?

All,
Thanks in advance for any help you can provide. I have a Nexus 4 that I rooted and installed CWM recovery on, but I never installed any new kernels, ROMs, or radios. I'm currently on 4.4.4 and I want to upgrade to Lollipop. The OTA upgrade failed. So I tried returning to stock recovery and doing both the OTA and adb sideloading the OTA zip. Both fail.
The error message is "Package expects build fingerprint of google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys or google/occam/mako:5.0/LRX21T/1576899:user/release-keys; this device has google/occam/mako:4.4/KRT160/907817:user/release-keys." (But I definitely have 4.4.4 on my phone, not 4.4.0.)
The extra difficulty is that I really, really do not want to wipe my phone. I have a lot of apps with a lot of configuration and other user data. So is there anything I can do? I guess I should try unrooting somehow? Or is there some other zip I can download that, through some type of recovery, will install the OTA without doing this check and also without wiping me?
Thanks again!
moriarty00 said:
All,
Thanks in advance for any help you can provide. I have a Nexus 4 that I rooted and installed CWM recovery on, but I never installed any new kernels, ROMs, or radios. I'm currently on 4.4.4 and I want to upgrade to Lollipop. The OTA upgrade failed. So I tried returning to stock recovery and doing both the OTA and adb sideloading the OTA zip. Both fail.
The error message is "Package expects build fingerprint of google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys or google/occam/mako:5.0/LRX21T/1576899:user/release-keys; this device has google/occam/mako:4.4/KRT160/907817:user/release-keys." (But I definitely have 4.4.4 on my phone, not 4.4.0.)
The extra difficulty is that I really, really do not want to wipe my phone. I have a lot of apps with a lot of configuration and other user data. So is there anything I can do? I guess I should try unrooting somehow? Or is there some other zip I can download that, through some type of recovery, will install the OTA without doing this check and also without wiping me?
Thanks again!
Click to expand...
Click to collapse
OTA wants complete stock and obviously it doesn't think so about your phone. One option could be to back up to the cloud or some place outside the phone with TiBu (or whatever backup app you trust), then flash lollipop and try restore from TiBu. Another option would be to unroot (Supersu has an option to completely unroot), then retry.
Actually, I figured out what works! This was on a stock rooted device with stock recovery, but I bet it would work with custom recovery too. Instructions modified from https://pay.reddit.com/r/nexus4/comments/1qny3f/howto_update_your_stock_w_lte_nexus_4_without/ .
1. Download the image you want from https://developers.google.com/android/nexus/images . Extract it, extract the .zip file inside it too, and collect all of the .img files into one folder.
2. adb reboot bootloader (and wait until the bootloader comes up)
3. fastboot flash bootloader bootloader-mako-makoz30f.img (or whatever file has a similar name, if you got a different image than I did)
4. fastboot reboot-bootloader (and wait until the bootloader comes back up)
5. fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.04.img (or whatever file has a similar name, if you got a different image than I did)
6. fastboot reboot-bootloader (and wait until the bootloader comes back up)
7. fastboot flash boot boot.img
8. fastboot flash recovery recovery.img
9. fastboot flash system system.img
10. fastboot format cache
11. fastboot reboot
12. Don't panic unless you've seen the startup animation for at least 15 minutes without anything else happening.
I lost root, but I imagine re-custom-recoverying and re-rooting won't be any harder than the first time around.
Hi moriarty00,
I'm going to try the same procedure, thank you for posting this.
Can you confirm that your data and app are safe after the upgrade?
moriarty00 said:
Actually, I figured out what works! This was on a stock rooted device with stock recovery, but I bet it would work with custom recovery too. Instructions modified from https://pay.reddit.com/r/nexus4/comments/1qny3f/howto_update_your_stock_w_lte_nexus_4_without/ .
1. Download the image you want from https://developers.google.com/android/nexus/images . Extract it, extract the .zip file inside it too, and collect all of the .img files into one folder.
2. adb reboot bootloader (and wait until the bootloader comes up)
3. fastboot flash bootloader bootloader-mako-makoz30f.img (or whatever file has a similar name, if you got a different image than I did)
4. fastboot reboot-bootloader (and wait until the bootloader comes back up)
5. fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1701.04.img (or whatever file has a similar name, if you got a different image than I did)
6. fastboot reboot-bootloader (and wait until the bootloader comes back up)
7. fastboot flash boot boot.img
8. fastboot flash recovery recovery.img
9. fastboot flash system system.img
10. fastboot format cache
11. fastboot reboot
12. Don't panic unless you've seen the startup animation for at least 15 minutes without anything else happening.
I lost root, but I imagine re-custom-recoverying and re-rooting won't be any harder than the first time around.
Click to expand...
Click to collapse
Wow, a 12-step program
I simply rolled back my changes, and applying the OTA was as simple as pressing the "restart and install" button Here are some steps:
I used the app Flashify from Play Store to flash stock 4.4.4 recovery. I downloaded the stock factory image from google's own site (this one), used 7zip to extract the archives (tgz and tar), found "recovery.img" and transfered that to my phone. Then chose that file in Flashify.
Uninstalled all apps that made system changes, like Xposed framework and mods, BetterBatteryStats etc.
Removed Root with SuperSU cleanup function
Rebooted for good measure and apply OTA from notification - wait an hour or two for it to complete
Profit (do we still say that on the internet? Getting old here...)
I don't know if certain ways to get root will break the OTA. I used towel-root, and apparently SuperSU was able to undo that completely.
DrDruge said:
Hi moriarty00,
I'm going to try the same procedure, thank you for posting this.
Can you confirm that your data and app are safe after the upgrade?
Click to expand...
Click to collapse
Yup, perfectly safe! Just make sure not to flash other images, like userdata.img.
venu123 said:
OTA wants complete stock and obviously it doesn't think so about your phone. One option could be to back up to the cloud or some place outside the phone with TiBu (or whatever backup app you trust), then flash lollipop and try restore from TiBu. Another option would be to unroot (Supersu has an option to completely unroot), then retry.
Click to expand...
Click to collapse
If I unroot with Supersu how do I get root back?
moriarty00 said:
Yup, perfectly safe! Just make sure not to flash other images, like userdata.img.
Click to expand...
Click to collapse
Thank you!
Unfortunately the steps did not work for me, maybe I had some irreversible modifications or I had followed a different rooting procedure.
Or maybe I made a mistake in the upgrading steps.
Anyway, I had to flash the whole ROM and now everything is working fine.
Hey!
Basically I have similar problem with upgrading from 4.4.4 to 5.0 using OTA. Log from TWRP says:
Package expects build fingerprint of google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys or google/occam/mako:5.0/LRX21T/1576899:user/release-keys; this device has google/occam/mako:4.3/JWR66V/737497:user/release-keys.
Click to expand...
Click to collapse
Phone has been rooted using Nexus Root Toolkit. And as long as there wouldn't be a problem with flashing using adb and wiping all data, there is one setback... My nexus is somehow broken. Communication via USB does not work, at all. Neither phone nor PC sees other device. Certified LG service centre nearby said that it is problem with main board, so generally repair is unprofitable.
So question is: How do I update to 5.0 and then root, without USB connection to my PC?

New update to fix voLTE 911 bug...

So this morning I got an update to fix the voLTE bug. I'm unlocked with twrp installed and rooted. Just for the sake of experimenting I tried installing it. Well that didn't work. Just gets stuck in twrp recovery and you have to power the phone off completely to get it to boot. I guess my question (even though it's a little early) is there a way to install the update without reverting back to stock?
EDIT: Link to the zip
https://drive.google.com/open?id=0BxqNotAWlwLUQ1Fzcjc2YXd4QzA
I don't believe so.
In the past you either had to go back to stock or wait on someone to create a compatible update for rooted devices.
Can you post link to zip?
If you are rooted, you can find the zip in cache folder in recovery.
Can you add what variant and build you are using before the update? Also the build afterwards?
KapilFaujdar said:
Can you post link to zip?
If you are rooted, you can find the zip in cache folder in recovery.
Click to expand...
Click to collapse
I got the update, but all I see on my magisk rooted G5+ in /cache/recovery are log files and the fstab files. Anywhere else to look?
gghose said:
I got the update, but all I see on my magisk rooted G5+ in /cache/recovery are log files and the fstab files. Anywhere else to look?
Click to expand...
Click to collapse
Yeah I can't find anything in that folder either.
I received the update and applied it. I am not rooted.
I have the XT1687 model.
My current build number is NPN25.137-35
My device BL unlocked, TWRP installed and rooted with magisck.
I'm getting the update notification and splash screens several times daily.
Anyone rooted try installing the update with Flashfire app?
bvsbutthd101 said:
So this morning I got an update to fix the voLTE bug. I'm unlocked with twrp installed and rooted. Just for the sake of experimenting I tried installing it. Well that didn't work. Just gets stuck in twrp recovery and you have to power the phone off completely to get it to boot. I guess my question (even though it's a little early) is there a way to install the update without reverting back to stock?
Click to expand...
Click to collapse
If you have systemless supersu, you should just be able to apply the update after reverting to stock recovery.
So I found where the zip downloads. I wonder what flashing it in twrp would do?
EDIT: Here's the link to the zip and I've put it in the OP.
https://drive.google.com/open?id=0BxqNotAWlwLUQ1Fzcjc2YXd4QzA
glight0 said:
My device BL unlocked, TWRP installed and rooted with magisck.
I'm getting the update notification and splash screens several times daily.
Anyone rooted try installing the update with Flashfire app?
Click to expand...
Click to collapse
OK, so I tried flashing recovery.img from stock firmware build 33. But the OTA update will not install, instead I get an error after downloading and rebooting (red triangle at recovery mode).
So I tried fully reverting to stock firmware but I decided to skip over erasing userdata. Afterward the OTA downloaded and installed successfully. Keeping userdata does not seem to have caused an issue.
My problem now though is how to get root back without having to wipe userdata after re-flashing TWRP.
Or is this not possible and if I want to root I must first wipe userdata so that TWRP can read internal memory?
bvsbutthd101 said:
So I found where the zip downloads. I wonder what flashing it in twrp would do?
EDIT: Here's the link to the zip and I've put it in the OP.
https://drive.google.com/open?id=0BxqNotAWlwLUQ1Fzcjc2YXd4QzA
Click to expand...
Click to collapse
Just tried flashing it with TWRP and no luck:
Verifying current system....
E3002: Package expects build thumbprint of 7.0/NPN25.137-35/37:user/release-keys or 7.0/NPN25.137-33/35:user/release-keys; this device has .
Updated process ended with ERROR: 7
which doesn't make much sense since I rooted the stock ROM (Build number reads NPN25.137-33).
If your using a custom recovery flash the stock recovery, then go to the stock recovery and using your computer flash using adb sideboard command. I assume you already know how to do this. Hope that helps.
gghose said:
Just tried flashing it with TWRP and no luck:
Verifying current system....
E3002: Package expects build thumbprint of 7.0/NPN25.137-35/37:user/release-keys or 7.0/NPN25.137-33/35:user/release-keys; this device has .
Updated process ended with ERROR: 7
which doesn't make much sense since I rooted the stock ROM (Build number reads NPN25.137-33).
Click to expand...
Click to collapse
I'm stuck in the same boat... no idea how to flash the stock recovery and sideboard, what that even means, or if that would break root. I just followed the step-by-step "how to root" video when I first got the phone
There's a workaround to disable the "advanced LTE" or whatever it was called, so I did that. But in the meantime until a more "user friendly" means of updating is available, is there a way I can get rid of this nag screen? Way back on an earlier device (Samsung Charge?) I remember manually editing a "build.prop" file or something to match the latest version so I wouldn't keep getting the software update nag. Is there something that will do the same here, or is there a system app I can freeze in TiB?
My best guess is freezing "Moto Actions 03.022.1.4-N" because it's showing "(updated)" on the side.
rellim113 said:
I'm stuck in the same boat... no idea how to flash the stock recovery and sideboard, what that even means, or if that would break root. I just followed the step-by-step "how to root" video when I first got the phone .
Click to expand...
Click to collapse
What he means is you need to download the stock rom, unzip it, then boot phone to bootloader mode and connect to PC. Then flash the recovery.IMG from the stock rom folder with command prompt:
Fastboot flash recovery recovery.img
Then you can on the phone tell it to boot to recovery mode. This will be a screen with Android on his back and the words NO Command on the bottom. Then plug to PC and use adb command to sideload the update zip like this:
adb sideload [nameofupdatefile].Zip
glight0 said:
What he means is you need to download the stock rom, unzip it, then boot phone to bootloader mode and connect to PC. Then flash the recovery.IMG from the stock rom folder with command prompt:
Fastboot flash recovery recovery.img
Then you can on the phone tell it to boot to recovery mode. This will be a screen with Android on his back and the words NO Command on the bottom. Then plug to PC and use adb command to sideload the update zip like this:
adb sideload [nameofupdatefile].Zip
Click to expand...
Click to collapse
Strange, reflashed the stock recovery and adb can't see it (adb devices returns nothing). And when trying to install it via the normal OTA way, the stock recovery tries to install but ends with an error.
That's what happened to me when I tried reverting to stock recovery and then trying to install update from phone Settings app.
I ended up having to revert to stock rom to get ota to apply with settings app. But now I am trying to root again but after installing TWRP data is encrypted again. So looks like I will have to wipe data before re-rooting.

Categories

Resources