[Q] trying to upgrade to 4.1.2 - failed to verify whole-file signature - Nexus 7 Q&A, Help & Troubleshooting

Running 4.1.1 at the moment and rooted / unlocked using a toolkit.
Trying to update to 4.2.2 ota but when the nexus reboots I get that error.
What do I do?

Foxman2k said:
Running 4.1.1 at the moment and rooted / unlocked using a toolkit.
Trying to update to 4.2.2 ota but when the nexus reboots I get that error.
What do I do?
Click to expand...
Click to collapse
See thread:
http://forum.xda-developers.com/showthread.php?t=1764794
seems to be due to custom kernel

flyi said:
I think I have the same problem, mine says "Verifying current system..." then says "assert failed: apply_patch_check ..."
I'm currently running 4.1.1 stock rom rooted and custom kernel.
Also, I think you mean 'trying to update to 4.1.2 ota'.
Click to expand...
Click to collapse
Flash the stock kernel. You can do it a number of ways. You can find a cwm zip file with it, use the toolkit to do it, or get the IMG yourself and flash it via fast boot. I had this error earlier.

Install a custom recovery and use it to run the update. If you already have a custom recovery, then that's why you can't run the ota via google possibly.

flyi said:
See thread:
http://forum.xda-developers.com/showthread.php?t=1764794
seems to be due to custom kernel
Click to expand...
Click to collapse
But I don't have a custom kernel. Just rooted and unlocked.

mustbepbs said:
Flash the stock kernel. You can do it a number of ways. You can find a cwm zip file with it, use the toolkit to do it, or get the IMG yourself and flash it via fast boot. I had this error earlier.
Click to expand...
Click to collapse
Any guides on this? Pretty new to android.

Anyone have any thoughts on what I should do?

Did you touch any of your system apps?
Seems more likely your update didn't download fully and it failed and md5 checksum. Just try again next time.

I don't think I touched any of the system apps. I did download Adblock and six axis tool. Anything else to look for?

I've downloaded the update probably 4 different times now and same thing each time.

Anything else I can try?

Foxman2k said:
Anything else I can try?
Click to expand...
Click to collapse
Any other options besides resetting? has no one else who only rooted and unlocked run into this problem???
I didn't change any system apps, and for rooting purposes the only apps I downloaded where Titanium Backup, Sixaxis and Stickmount. Should I remove those?
and OT Rootkeeper. Do I remove root first?

flyi said:
See thread:
http://forum.xda-developers.com/showthread.php?t=1764794
seems to be due to custom kernel
Click to expand...
Click to collapse
I was getting exactly the same as you Foxman2k, about the unverified whole-file signature when trying the OTA way. I've just followed the advice of the above linked thread and it worked fine. I had to install Quick Boot (Reboot) to get in to Recovery, then update from SD Card, then ensure signature verification is disabled, then select the downloaded .zip file. I did have RootKeeper active, but I don't really understand what that does so not sure if it made any difference.
HTH

I finally managed to get mine to go through, am rooted but running stock and was getting the error with build.prop.
Then it hit me, I am in tablet mode with my screen at 160, so I set it back to 213 and boom it went through.
HTH

Related

Little bit confused

I've been looking at the threads but so far I don't believe there's one that tells you what to do if you've actually installed the official OTA update?
I.e. I have an rooted 2.3.4 GT-I9023 with an unlocked bootloader. With no clockwork or anything, as to be honest the last time I used it (on my old HTC DHD) it made my phone unstable (the phone would sometimes boot up of its own accord and stop at the clockwork screen).
Does anyone know how to re-root the NS after it's installed the official OTA update without clockwork?
Thanks
Edit: Downloading the OTA update won't relock the boot-loader will it?
dccxviii said:
I've been looking at the threads but so far I don't believe there's one that tells you what to do if you've actually installed the official OTA update?
I.e. I have an rooted 2.3.4 GT-I9023 with an unlocked bootloader. With no clockwork or anything, as to be honest the last time I used it (on my old HTC DHD) it made my phone unstable (the phone would sometimes boot up of its own accord and stop at the clockwork screen).
Does anyone know how to re-root the NS after it's installed the official OTA update without clockwork?
Thanks
Edit: Downloading the OTA update won't relock the boot-loader will it?
Click to expand...
Click to collapse
You cannot get root back without a custom recovery. OTA will not relock the bootloader, you'll just lose root and custom recovery.
You need to flash custom recovery using fastboot, then flash superuser to get root back. There are plenty of guides in the stickies describing the process.
Ok, so i'm updated to 2.3.6 but of course have lost root (never had CWM to begin with on this phone). Anyone know where I can DL CWM (i'm assuming it needs to be flashed via platform-tools directory in the android sdk per normal) and the latest su file?
EDIT: nvm, I found the latest CWM and successful flashed (my method was correct). However I've not been able to find the latest superuser.zip to flash yet. Also, I don't know why ppl say to use the market as I don't see how that method can work. I've already got superuser installed from before I updated but that doesn't help me get root. Only flashing the zip from recovery (as I understand it) would. Which renders the market useless in this regard.
/confused
The superuser app checks to see if you have the latest superuser binary and will download and instalk it. Or download superuser from within rom manager.
Sent from my Nexus S 4G using xda premium
Ok..the binary update fails (because i don't have root) so it's chicken and egg as far as I can tell.
You where already told. Flash custom recovery via fastboot. Boot into it and flash su.zip Same way it was done prior to update to the ota. Same as it always was and will be.
dccxviii said:
Ok, so i'm updated to 2.3.6 but of course have lost root (never had CWM to begin with on this phone). Anyone know where I can DL CWM (i'm assuming it needs to be flashed via platform-tools directory in the android sdk per normal) and the latest su file?
EDIT: nvm, I found the latest CWM and successful flashed (my method was correct). However I've not been able to find the latest superuser.zip to flash yet. Also, I don't know why ppl say to use the market as I don't see how that method can work. I've already got superuser installed from before I updated but that doesn't help me get root. Only flashing the zip from recovery (as I understand it) would. Which renders the market useless in this regard.
/confused
Click to expand...
Click to collapse
You can find superuser zip here:
http://rootzwiki.com/showthread.php?231-Superuser-2.3.6.3-17-June-2011&
3rd one down, efgh.
Flash in custom recovery.
albundy2010 said:
You where already told. Flash custom recovery via fastboot. Boot into it and flash su.zip Same way it was done prior to update to the ota. Same as it always was and will be.
Click to expand...
Click to collapse
You've misunderstood what i'm after. Thanks for trying to help tho
irishrally said:
You can find superuser zip here:
http://rootzwiki.com/showthread.php?231-Superuser-2.3.6.3-17-June-2011&
3rd one down, efgh.
Flash in custom recovery.
Click to expand...
Click to collapse
Thanks! As far as I can tell you're the first with the link I was after the entire time.
EDIT: Bah, I get a signature verification error when applying the update >.<
dccxviii said:
You've misunderstood what i'm after. Thanks for trying to help tho
Thanks! As far as I can tell you're the first with the link I was after the entire time.
EDIT: Bah, I get a signature verification error when applying the update >.<
Click to expand...
Click to collapse
Turn off signature verification in CWM and try again.
irishrally said:
Turn off signature verification in CWM and try again.
Click to expand...
Click to collapse
Turns out that CWM got overwritten by stock android recovery. Re-flashing CWM and then flashing su did the trick. I'm rooted once more!
Thanks for your help kind sir!
Curious as to how to make CWM stick for next time tho *shrug*
dccxviii said:
Turns out that CWM got overwritten by stock android recovery. Re-flashing CWM and then flashing su did the trick. I'm rooted once more!
Thanks for your help kind sir!
Curious as to how to make CWM stick for next time tho *shrug*
Click to expand...
Click to collapse
You're welcome.
If you stick with a stock ROM then recovery will reflash every time you reboot. To prevent this you can go to system>etc, and change the file install-recovery.init to something else like install-recovery.init.bak.

[Q] Update to 4.1.2 fails - error 7, patch check - need new PlusOne.apk?

I've been spending a few hours trying to fix this - when upgrading from 4.1.1 to 4.1.2 either OTA or via sideloading through ADB I get an error saying "assert(apply_patch_check("/system/app/PlusOne.apk" has failed and I am unable to complete upgrade.
I tried downloading 4 different plusone.apk's and none have rectified this problem. I also tried removing the check for plusone.apk from the updater script and re-zipping the files to no avail.
Can anyone help? Either with a correct PlusOne.apk I can put in system/app or by explaining what I can do to update without resettingback to factory first?
I am on 4.1.1, JRO03D. I converted PlusOne into a user app after I got the nexus using TB and have since converted it back to a system app and placed various PlusOne.apk's in the system/app folder.
I APPRECIATE ANY HELP!!!
zdeno888 said:
I've been spending a few hours trying to fix this - when upgrading from 4.1.1 to 4.1.2 either OTA or via sideloading through ADB I get an error saying "assert(apply_patch_check("/system/app/PlusOne.apk" has failed and I am unable to complete upgrade.
I tried downloading 4 different plusone.apk's and none have rectified this problem. I also tried removing the check for plusone.apk from the updater script and re-zipping the files to no avail.
Can anyone help? Either with a correct PlusOne.apk I can put in system/app or by explaining what I can do to update without resettingback to factory first?
I am on 4.1.1, JRO03D. I converted PlusOne into a user app after I got the nexus using TB and have since converted it back to a system app and placed various PlusOne.apk's in the system/app folder.
I APPRECIATE ANY HELP!!!
Click to expand...
Click to collapse
not sure if I will be a big help, but try to download the 4.1.2 OTA upgrade, and put in N7, then hoping you have CWM if not, just install Clockwork recovery if you have not done so, then boot in clockwork recovery, once you are clockwork recovery, make sure "signature check" is disabled, and install from zip option, point where you put 4.1.2 OTA upgrade file, and then reboot.
I am thinking that error you get most likely signature check since you converted to user app and then converted back to system app.
If you have removed any system apps the upgrade will fail.
Download this and flash from custom recovery
http://androidforums.com/nexus-7-all-things-root/630284-4-1-2-update-rooted-users.html
Rootbrain
I am trying to do it through CWM now... if I try the second option, downloading and flashing from the file will I lose all my data and apps, correct? I am trying to avoid having to restore everything.
Thank you both for your help!
jazzespresso said:
not sure if I will be a big help, but try to download the 4.1.2 OTA upgrade, and put in N7, then hoping you have CWM if not, just install Clockwork recovery if you have not done so, then boot in clockwork recovery, once you are clockwork recovery, make sure "signature check" is disabled, and install from zip option, point where you put 4.1.2 OTA upgrade file, and then reboot.
I am thinking that error you get most likely signature check since you converted to user app and then converted back to system app.
Click to expand...
Click to collapse
Just tried this with signature verification disabled and still get the error about "assert failed: apply_patch_check yada yada yada PlusOne.apk"
If you replaced the .apk, did you try removing (after backing up) the .odex?
fozzie said:
If you replaced the .apk, did you try removing (after backing up) the .odex?
Click to expand...
Click to collapse
I am not sure where that .odex lives. I did a search in system and its sub directories and didn't find one for google +.
rootbrain said:
If you have removed any system apps the upgrade will fail.
Download this and flash from custom recovery
URL ABOVE
Rootbrain
Click to expand...
Click to collapse
This worked!!! I downloaded the version with the code removed to check files that had been failing me on google +. Thank you very much!
I had the same issue and just like zdeno888 got it solved by the right package... on the url above INSIDE one of the messages there's a modified version without verification scripting.
THIS IS NOT THE VERSION POSTED ON THE FIRST POST!
i am running stock but rooted and unlocked. when i did the unlock or root it installed a basic version on cwm, i think a custom one someone had created for the nexus 7.
i cannot get this sorted. first i managed to get the ota by clearing the google framework data a few times until it offered but it the failed to install saying something about 'failed to verify whole-file signature'
due to this i downloaded the zip i found on, i think, androidpolice and booted to recovery. that failure said something like 'assert failed:apply-patch-check gmail.apk'
i then found on this thread -
rootbrain said:
If you have removed any system apps the upgrade will fail.
Download this and flash from custom recovery
http://androidforums.com/nexus-7-all-things-root/630284-4-1-2-update-rooted-users.html
Rootbrain
Click to expand...
Click to collapse
but this also came back with a failure, i think it was the gmail one mentioned above.
marc.knuckle said:
i am running stock but rooted and unlocked. when i did the unlock or root it installed a basic version on cwm, i think a custom one someone had created for the nexus 7.
i cannot get this sorted. first i managed to get the ota by clearing the google framework data a few times until it offered but it the failed to install saying something about 'failed to verify whole-file signature'
due to this i downloaded the zip i found on, i think, androidpolice and booted to recovery. that failure said something like 'assert failed:apply-patch-check gmail.apk'
i then found on this thread -
but this also came back with a failure, i think it was the gmail one mentioned above.
Click to expand...
Click to collapse
The OP from that thread took down the link, the only one in his post is now the same zip you already had.
This is the file with checks disabled.
https://www.dropbox.com/s/isqpvb0w26kqjdx/4.1.2edited.zip
Use with caution tho, only flash this is stock rom and kernel.
great, that sorted it so thanks very much.
i presume you have done the update, apart from the rotation are you finding much difference?
Little to none
Most changes in this one were under the hood, as they say.

Please help me! apply_patch_check failure when updating to 4.1.2

I have kepy my Nexus 7 fairly stock - it's just been unlocked and rooted with Clockwork recovery.
However, when I try to apply the 4.1.2 update, I get the following:
Code:
Verifying current system...
assert failed: apply_patch_check("/system/app/Wallet.apk" ,"(numbers)", "(more numbers)")
Because I am in the UK, I did play with a modified version of Google wallet for a while.
I got this message during both OTA update process or by manually trying to install the update apk.
I deleted the modified wallet.apk from system/app and then used Market enabler to install the "official" google wallet app.
Still no luck.
I then tried clearing dalvik and cache, and an entire factory reset.
Still get the above error message.
So does anyone know how a file that doesn't even exist anymore in /system/app is causing the error?
Any clever ideas on what to do next?
You put this in the wrong section. This should be in Q/A. Are you tring to update through OTA, or a manual update through CWM?
AFAinHD said:
You put this in the wrong section. This should be in Q/A. Are you tring to update through OTA, or a manual update through CWM?
Click to expand...
Click to collapse
Tried both ways, same result both times.
OTA update rebooted me straight into CWM recovery, and with the manual update method, I booted into CWM recovery and tried to apply the downloaded apk.
The wallet.apk needs to be in system/app.
Not data/app as it is when installed from the play store.
Sent from my Nexus 7 using xda premium
thisisgil said:
Tried both ways, same result both times.
OTA update rebooted me straight into CWM recovery, and with the manual update method, I booted into CWM recovery and tried to apply the downloaded apk.
Click to expand...
Click to collapse
Have you tried reflashing stock recovery then applying the update ota?
AFAinHD said:
Have you tried reflashing stock recovery then applying the update ota?
Click to expand...
Click to collapse
That was more or less my next option. Although in that case, I'd be more inclined to just directly flash 4.1.2 stock.
Hi!
Did you have any luck installing the update???
I'm getting the same error but for youtube.apk!!!
H
Hope this helps: http://forum.xda-developers.com/showthread.php?t=1945938
Did you?
alonsodhv said:
Hi!
Did you have any luck installing the update???
I'm getting the same error but for youtube.apk!!!
H
Click to expand...
Click to collapse
I also have the exact same problem!! Were you able to find a solution?

[Q] Nexus 4.2.1 UPDATE failed with Clockwork mod

Can you please help me answer how to install OTA updated with CWM installed. I get this error saying the installation aborted .. it boots into CWM
is there any step by step method to get the new update on nexus 4
Thanks
you need stock rom, no modifications made, and stock kernel for it to work
Download and extract the original 4.2 and fastboot flash system system.img and it'll restore all missing apps.. I had to do it earlier to allow the system to install the update
Sent from my Nexus 4 using xda app-developers app
I reflashed stock recovery but now the update isn't available. Any ideas?
billybennett said:
I reflashed stock recovery but now the update isn't available. Any ideas?
Click to expand...
Click to collapse
update manually.
So I got my update but it keeps failing during install. I'm rooted and every time the update starts it kicks over to CWM recovery and stops with a message something like, "do you want to install this untrusted zip file" I say yes but it still fails. I have even tried to manually install the update through CWM but that fails too. My N7 is rooted but otherwise stock, I have not removed any stock apps or flashed roms or kernels so WTF must I do???
Did you not read the posts above yours? CWM recovery is not stock.
Sent from Arkham
zelendel said:
Did you not read the posts above yours? CWM recovery is not stock.
Sent from Arkham
Click to expand...
Click to collapse
I don't know where, but I saw a few posts about working updates to 4.2.1 with CWM recovery.
However, I'm not getting it to work.
How do I get rid of the recovery without loosing the root?
If you are on Windows I find the Nexus 4 Toolkit to be super easy to use. I flashed a stock recovery so I could get the update. Unfortunately, I forgot I had made changes to the stock weather widget so I can't apply the update anymore because of a missing geniewidget.odex file.
You will need to be fully stock to get the update to take as posted earlier in this thread. This is a well known requirement when doing OTA
Sent from Arkham
4.2.1 update getting installation aborted
Hey, can some please post the stock Nexus 4 v4.2 build.prop file? I can't seem to install the v4.2.1 update without it...
Thanks...
zelendel said:
You will need to be fully stock to get the update to take as posted earlier in this thread. This is a well known requirement when doing OTA
Sent from Arkham
Click to expand...
Click to collapse
Successfully installed OTA here while rooted with CWM recovery, though everything else is stock.
billybennett said:
If you are on Windows I find the Nexus 4 Toolkit to be super easy to use. I flashed a stock recovery so I could get the update. Unfortunately, I forgot I had made changes to the stock weather widget so I can't apply the update anymore because of a missing geniewidget.odex file.
Click to expand...
Click to collapse
Hey,
got an Error over here with stock recovery and root.
However, tengen says he made it with CWM and root - maybe it's because I'm using stuff like Busybox or the Pimp my Rom APK?
EDIT: I think its because of the %-BatteryMod I'm using. I'll try to flash the custom rom.
Greetings

[Q] Problems updating nexus 10 to 4.3 after root...

So I have my nexus 10 rooted, with no custom ROM on it. I got the prompt that there was a system update, clicked it and it reboots into recovery like it's going to install it, and says verification failed.
I've tried manually downloading it and flashing it through recovery like it was a custom ROM and still get the same error.
How can I update my tablet with 4.3 and stay completely stock? Is there a ROM to flash or something? Thanks!
I am having the same issue and would love a solution.
I have TWRP as recovery, and the update attempted is JWR66Y from JWR66V
Infoport said:
I am having the same issue and would love a solution.
I have TWRP as recovery, and the update attempted is JWR66Y from JWR66V
Click to expand...
Click to collapse
Same here. I even tried unrooting to apply the update and then root again after. Couldn't get the thing to unroot!
Had the same problem. The update will fail if you've installed a custom recovery. Re-flash the stock recovery and the update should work.
dberthia said:
Had the same problem. The update will fail if you've installed a custom recovery. Re-flash the stock recovery and the update should work.
Click to expand...
Click to collapse
Can you please tell me how I would go about doing that?
rick311 said:
Can you please tell me how I would go about doing that?
Click to expand...
Click to collapse
I used the Nexus 10 Toolkit. After it's installed, run and select the option to flash the stock recovery. You can also use it to root again after the update.

Categories

Resources