[Q] problem updating to 4.2. Stock rooted - Nexus 7 Q&A, Help & Troubleshooting

Received the OTA update. Click reboot and install. TWRP pops up, nothing happens.
Log:
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/BrowserProviderProxy.odex", "21a89
E:Error in /cache/094f6629314a.signed-nakasi-JOP40C-from-JZ054K.094f6629.zip
(Status 7)
Installation aborted.
Anyone know what just happened? ::crying:

I have just had a similar problem, stock rooted tried to update to 4.2 OTA when it was updating I got the android on his back with the red exclamation sign. I had no idea what was wrong until I read your post.
I am not sure how to look at the log file so I don't know if I have the same problem as up but the file you referenced I changed the extension so it was not recognised to allow Flash to work. I have now changed this back but update system in setting says that the system is up to date but I am still on 4.1.2.

sharpened_edge said:
I have just had a similar problem, stock rooted tried to update to 4.2 OTA when it was updating I got the android on his back with the red exclamation sign. I had no idea what was wrong until I read your post.
I am not sure how to look at the log file so I don't know if I have the same problem as up but the file you referenced I changed the extension so it was not recognised to allow Flash to work. I have now changed this back but update system in setting says that the system is up to date but I am still on 4.1.2.
Click to expand...
Click to collapse
Had same problem, updated manually via ROM Image from google.

penguinolog said:
Had same problem, updated manually via ROM Image from google.
Click to expand...
Click to collapse
Is this like flashing a new Rom?
Does it wipe all personal data and apps from the Nexus7 when the update completes?
When My galaxy SII upgraded from gingerbread to ICS it took me days to get it up and running how I had it before. I doing stuff like using E-mail (Oh wait all my settings are gone). Ill just have a look at my love film list and add some rentals (Oh wait the apps gone). You get the picture.

Had the same Problem yesterday.
I extracted the corrupted Files from the 4.1.2 Firmware and replaced them in the system.
Finally it worked and i am @ 4.2 now without loosing my Data.
Alex

DroidBonzai said:
Had the same Problem yesterday.
I extracted the corrupted Files from the 4.1.2 Firmware and replaced them in the system.
Finally it worked and i am @ 4.2 now without loosing my Data.
Alex
Click to expand...
Click to collapse
If you could expand on what you did? I have changed the file extension back on the file in question. My problem is that since I failed the update, the system says no update available and I am stuck on 4.1.2

I had a similar problem with zoneinfo.dat.
However, I followed this topic and it worked with keeping root
http://forum.xda-developers.com/showthread.php?t=1989943

tom1807 said:
I had a similar problem with zoneinfo.dat.
However, I followed this topic and it worked with keeping root
http://forum.xda-developers.com/showthread.php?t=1989943
Click to expand...
Click to collapse
Thanks, problem is I would lose all my user data opposed to a upgrade.

All files I saved before were not deleted, just had to reinstall my applications.
Or make an backup with Titanium

sharpened_edge said:
If you could expand on what you did? I have changed the file extension back on the file in question. My problem is that since I failed the update, the system says no update available and I am stuck on 4.1.2
Click to expand...
Click to collapse
Ok i'll try.
Sorry for my bad english
I'll do a step by step howto.
First of all you'll need to download the 4.1.2 FW from Google.
Make sure, you choose the right one.
Take your Nexus 7, go into settings---> About Tablet and look for the Build-number.
Google OS
Then you will have to download this Tool (SGStoEXT4)
(This Tool will extract the Image into a mountable (readable) Image.)
Then you download THIS
(This Tool will mount your Image and you'll get access to the orig. Systemfiles you need.)
Ok lets begin:
Once you've dowloaded the Firmware 4.1.2 (Not 4.2 !!). It should be a .tgz. Just rightclick it, and extract it into a new Folder.
In this new folder you'll see a .zip File. Extract this too by choosing "Extract here".
Now there is a File called SYSTEM.IMG. This is File you'll gonna need!
Now open the downloaded Zipfile "SGStoext4.zip" and doubleclick the .jar to start it.
You'll see a window that pops up. Drag and drop the SYSTEM.img into this window and it will extract the .img into a File called "system.ext4.img" which is built right in the same folder, the system.img is.
Now install the second Tool you've dowloaded called "Linux-Reader" and start it.
Once you startet it, choose "Mount Image" on the left hand side.
Let everything like it is and click Next.
Choose the system.ext4.img by doubleclicking it.
Now you should see the mounted Image called "Linux Ext Volume 1"
If you doubleclick it, there are all the original files from 4.1.2.
Create a new Folder on your PC and call it Systemfiles (or whatever).
Go back to Linuxreader, mark all files and folders (Strg+A) and rightclick them and hit "Save".
Now click "Next" and choose the Systemfile-Folder as the Outputfolder.
You're already done.
Copy the new created Systemfile-Folder to your Nexus7 (in the dowloadfolder threre, for instance)
Start the Updateprocess and wait till it stops with the currupted File error.
For example:
-----------------------------------------------------------------------------------------------------------------------------
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/BrowserProviderProxy.odex", "21a89
E:Error in /cache/094f6629314a.signed-nakasi-JOP40C-from-JZ054K.094f6629.zip
(Status 7)
Installation aborted.
-------------------------------------------------------------------------------------------------------------------------------
Write down the path (marked redcolor in the example) and search for it in the new Systemfile-folder.
The path in the new Systemfilefolder will be the same as it shows on the updatefailure.
Replace the corrupted File with the one of your fresh extracted ones using Rootexplorer on your Nexus 7.
Start the Updateprocess again.
If there is another corrupted File error, replace that File too.
Once you replaced all corrupted Files, you're done.
I replaced 4 Files before the update runned through properly.
I hope this helps and please let me know if it worked 4 u.
Alex

Thankyou Thankyou Thankyou. I followed your instructions with success.
I am now on 4.2 and have learnt some new stuff too
Manged to keep root with root protector..

Thanks for the in depth reply.
The other problem I was having was that I could not update again because it said I was already up to date. The way I found to overcome this was to go into apps and 'clear data' then 'force stop' the Google Services Framework

This worked like a charm.
Thanks mate.

nvertigo said:
Received the OTA update. Click reboot and install. TWRP pops up, nothing happens.
Log:
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/BrowserProviderProxy.odex", "21a89
E:Error in /cache/094f6629314a.signed-nakasi-JOP40C-from-JZ054K.094f6629.zip
(Status 7)
Installation aborted.
Anyone know what just happened? ::crying:
Click to expand...
Click to collapse
The solution by DroidBonzai is correct.
A shortcut for some people, particularly those that are rooted and sideloaded adobe flash and then the Android Browser, is that you may have renamed
system/app/BrowserProviderProxy.odex
to
system/app/BrowserProviderProxy.odex1
and similarly with
system/app/BrowserProviderProxy.apk
to
system/app/BrowserProviderProxy.apk1
as those would have caused a conflict with the sideloaded Browser.apk
Renaming those two file extensions will allow you update to 4.2 via recovery without installation error. It certainly worked for me!

http://forum.xda-developers.com/showthread.php?t=1945938 Sorry if the title of my guide was hard to search for.

DroidBonzai said:
Ok i'll try.
Sorry for my bad english
I'll do a step by step howto.
I hope this helps and please let me know if it worked 4 u.
Alex
Click to expand...
Click to collapse
Thanks Alex, you saved me from the painful upgrade! HUGE Thanks for this detailed steps! :good:

Tried it, still having problems
DroidBonzai said:
Ok i'll try.
Sorry for my bad english
I'll do a step by step howto.
First of all you'll need to download the 4.1.2 FW from Google.
Make sure, you choose the right one.
Take your Nexus 7, go into settings---> About Tablet and look for the Build-number.
Google OS
Then you will have to download this Tool (SGStoEXT4)
(This Tool will extract the Image into a mountable (readable) Image.)
Then you download THIS
(This Tool will mount your Image and you'll get access to the orig. Systemfiles you need.)
Ok lets begin:
Once you've dowloaded the Firmware 4.1.2 (Not 4.2 !!). It should be a .tgz. Just rightclick it, and extract it into a new Folder.
In this new folder you'll see a .zip File. Extract this too by choosing "Extract here".
Now there is a File called SYSTEM.IMG. This is File you'll gonna need!
Now open the downloaded Zipfile "SGStoext4.zip" and doubleclick the .jar to start it.
You'll see a window that pops up. Drag and drop the SYSTEM.img into this window and it will extract the .img into a File called "system.ext4.img" which is built right in the same folder, the system.img is.
Now install the second Tool you've dowloaded called "Linux-Reader" and start it.
Once you startet it, choose "Mount Image" on the left hand side.
Let everything like it is and click Next.
Choose the system.ext4.img by doubleclicking it.
Now you should see the mounted Image called "Linux Ext Volume 1"
If you doubleclick it, there are all the original files from 4.1.2.
Create a new Folder on your PC and call it Systemfiles (or whatever).
Go back to Linuxreader, mark all files and folders (Strg+A) and rightclick them and hit "Save".
Now click "Next" and choose the Systemfile-Folder as the Outputfolder.
You're already done.
Copy the new created Systemfile-Folder to your Nexus7 (in the dowloadfolder threre, for instance)
Start the Updateprocess and wait till it stops with the currupted File error.
For example:
-----------------------------------------------------------------------------------------------------------------------------
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/BrowserProviderProxy.odex", "21a89
E:Error in /cache/094f6629314a.signed-nakasi-JOP40C-from-JZ054K.094f6629.zip
(Status 7)
Installation aborted.
-------------------------------------------------------------------------------------------------------------------------------
Write down the path (marked redcolor in the example) and search for it in the new Systemfile-folder.
The path in the new Systemfilefolder will be the same as it shows on the updatefailure.
Replace the corrupted File with the one of your fresh extracted ones using Rootexplorer on your Nexus 7.
Start the Updateprocess again.
If there is another corrupted File error, replace that File too.
Once you replaced all corrupted Files, you're done.
I replaced 4 Files before the update runned through properly.
I hope this helps and please let me know if it worked 4 u.
Alex
Click to expand...
Click to collapse
I really have to appreciate the effort u have taken to help with this thing, and its a genius idea u have discovered to replace the faulty .apk
Anyhow, i did follow everything you said, like i replaced the GooglePinYinIME.apk which was having problem, but somehow the error persisted.
I am attaching an image along with this post. I have been trying to update my nexus 7 (4.1.2) to (4.2) for so long, getting problems in it.
I'd very much appreciate your help.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Tried it all, with NO LUCK
DroidBonzai said:
Ok i'll try.
Sorry for my bad english
I'll do a step by step howto.
First of all you'll need to download the 4.1.2 FW from Google.
Make sure, you choose the right one.
Take your Nexus 7, go into settings---> About Tablet and look for the Build-number.
Google OS
Then you will have to download this Tool (SGStoEXT4)
(This Tool will extract the Image into a mountable (readable) Image.)
Then you download THIS
(This Tool will mount your Image and you'll get access to the orig. Systemfiles you need.)
Ok lets begin:
Once you've dowloaded the Firmware 4.1.2 (Not 4.2 !!). It should be a .tgz. Just rightclick it, and extract it into a new Folder.
In this new folder you'll see a .zip File. Extract this too by choosing "Extract here".
Now there is a File called SYSTEM.IMG. This is File you'll gonna need!
Now open the downloaded Zipfile "SGStoext4.zip" and doubleclick the .jar to start it.
You'll see a window that pops up. Drag and drop the SYSTEM.img into this window and it will extract the .img into a File called "system.ext4.img" which is built right in the same folder, the system.img is.
Now install the second Tool you've dowloaded called "Linux-Reader" and start it.
Once you startet it, choose "Mount Image" on the left hand side.
Let everything like it is and click Next.
Choose the system.ext4.img by doubleclicking it.
Now you should see the mounted Image called "Linux Ext Volume 1"
If you doubleclick it, there are all the original files from 4.1.2.
Create a new Folder on your PC and call it Systemfiles (or whatever).
Go back to Linuxreader, mark all files and folders (Strg+A) and rightclick them and hit "Save".
Now click "Next" and choose the Systemfile-Folder as the Outputfolder.
You're already done.
Copy the new created Systemfile-Folder to your Nexus7 (in the dowloadfolder threre, for instance)
Start the Updateprocess and wait till it stops with the currupted File error.
For example:
-----------------------------------------------------------------------------------------------------------------------------
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/system/app/BrowserProviderProxy.odex", "21a89
E:Error in /cache/094f6629314a.signed-nakasi-JOP40C-from-JZ054K.094f6629.zip
(Status 7)
Installation aborted.
-------------------------------------------------------------------------------------------------------------------------------
Write down the path (marked redcolor in the example) and search for it in the new Systemfile-folder.
The path in the new Systemfilefolder will be the same as it shows on the updatefailure.
Replace the corrupted File with the one of your fresh extracted ones using Rootexplorer on your Nexus 7.
Start the Updateprocess again.
If there is another corrupted File error, replace that File too.
Once you replaced all corrupted Files, you're done.
I replaced 4 Files before the update runned through properly.
I hope this helps and please let me know if it worked 4 u.
Alex
Click to expand...
Click to collapse
Hey Alex,
I tried everything you said above, downloaded the 4.1.2 from google, then extracted it, then fount the file which was giving me problems in System.img (GooglePinYinIME.apk)
Then i replaced that file on the tablet using root explorer.
Even after doing all this, the error persisted, WITH THE SAME FILE..
I tried it 3-4 times, but no luck.
I also installed the GooglePinYinIME.apk in nexus 7 to see if it works, but it went in vain.
What would u suggest now?
Regards,
Ashutosh

That worked perfectly! Thanks so much!!

Related

root?

I have a G1, and I tried to get root. I downgraded to RC29, and then downloaded the recovery.img file and the Hard SPL, downloaded telnet and all that, then tried to flash the spl as update.zip to the phone using the recovery console (i think that's what it's called, i pressed home+power to get there). it keeps giving me an error message "E:No Signature (26 files) E:Verification failed". i tried to download another one, and it gave me the same message. i've been looking for a solution for six hours and nothing helped ;( anyone think they can help me?
Did you try editing the zip in any way? Did you extract it/etc? You need to take the downloaded zip, rename it update.zip, and put it on the sdcard. Do not change any files in it or extract it. Hell, don't even open it.
mattdeeeezy said:
it keeps giving me an error message "E:No Signature (26 files) E:Verification failed".
Click to expand...
Click to collapse
Doesn't sound like you're using the SPL update.zip. That updater only contains one file.
@gary13579 the only thing i did to the zip was rezip it, cos my mac automatically unarchives everything when i download it.
@jashu do you know anywhere i can get the SPL? i downloaded it from the post on this forum..
mattdeeeezy said:
@gary13579 the only thing i did to the zip was rezip it, cos my mac automatically unarchives everything when i download it.
Click to expand...
Click to collapse
That would be the problem. You're going to have to find a way to download it without unarchiving it.
There's a "signature" added to all updates, which tells the phone whether it's a legitimate update or not. When you re-archive it, it loses that signature.

FixFlash – ROM Flash Verify and Repair Tool *MUST use utility IMO*

This was featured on the XDA Homepage a few days ago, but the developer just confirmed that it should work for any flashable zip, and *should* work on any phone.
Thought I would give the heads up here.
Could fix random Force Closes/Bootloops that people get even when they had wiped multiple times before flashing a new ROM.
Original Thread: http://forum.xda-developers.com/showthread.php?t=765989
Edit: See post 3 in this thread for my results.
This should save a few headaches, but I think most issues are caused with people not wiping....this wont be able to fix that.
Well, I finally put this utility to the test and here are my results.
Wiped Data/Cache/Dalvik, flashed BakedSnack 1.6 and immediately ran FixFlash. Here's my output:
Code:
E:\aEVO\android-sdk-windows\tools>adb shell sh /sdcard/FixFlash.sh
* daemon not running. starting it now *
* daemon started successfully *
FixFlash - Flash Verify and Repair Tool by SavvyX4
Gathering verification data...
Mounting phone file systems...
Extracting file information from flash log...
Verifying file integrity...
Hash mismatches detected: 13
Bad files...
/system/app/EPST.apk
/system/app/HTC_IME.apk
/system/app/IQRD.apk
/system/app/PCSCII.apk
/system/app/RSS.apk
/system/customize/CID/cidProfile1.xml
/system/customize/CID/cidProfile2.xml
/system/customize/CID/default.xml
/system/customize/COMMON.xml
/system/customize/MNS/default.xml
/system/etc/TPA2018.csv
/system/etc/WPDB.zip
/system/usr/keylayout/AVRCP.kl
Replacing bad files...
Verifying replacement file integrity...
All hash mismatches repaired!
So, it definitely does work for the Evo.
nice find... i'm sure my phone could use this!!
Are you a Cyclops?
Philosuffer said:
In my eye, it is a must use tool now.
Click to expand...
Click to collapse
Awesome tool btw, thanx for posting this!
ok I dont understand this
3. Copy both the original .zip file and the extracted folder of the .zip to the root of your sdcard
???? what is the extracted folder? theres multiple folders inside a rom zip?
rjmjr69 said:
ok I dont understand this
3. Copy both the original .zip file and the extracted folder of the .zip to the root of your sdcard
???? what is the extracted folder? theres multiple folders inside a rom zip?
Click to expand...
Click to collapse
Say your rom is BakedSnack1.6.zip, extract the contents to a folder called BakedSnack1.6 and place that folder on the root of your sdcard.
Make sense? Not sure how else to explain it.

[Q]

Hi. I've always thought about this. Some people say something like this
Copy the file aroma-config and updater-script from META-INF\com\google\android\ from 3.1.1 rom.zip to 3.1.2 zip to the same path. He will say v3.1.1 during installation, but he will install 3.1.2 and you can select CLK again.
Click to expand...
Click to collapse
And what does it mean? When I edit zip file, it doesn't work. Is there a program for this?
kubekpop said:
Hi. I've always thought about this. Some people say something like this
And what does it mean? When I edit zip file, it doesn't work. Is there a program for this?
Click to expand...
Click to collapse
Looks like the update (the zip) mentioned in the quote disables a feature on the HD2 that was present before that update. See here - shouldn't you have included that link
hxxp://forum.xda-developers.com/showthread.php?t=1166948&page=1286
To prevent disabling the feature, the quote-poster advises to run the update with the updater script (the script that does the actual updating) replaced by an old version. To do that, download both update versions and replace the mentioned files mentioned in the post in the newest version. Rezip and apply the update.
Not sure if this is a wise thing to do if you don't know more about updating, restoring etc... At least backup your data.
No, it's just when I zip it after update, cwm doesn't want to install this and sees as damaged rom.
But 7-zip can change files in archive no need to unzip all. So it works

Acer Decrypter Tool

For those that need the Acer Update Decrypt Tool.
Unzip contents.
Select encrypted zip
Select Start
Decrypted file will have the same name, but includes the word "decrypted"
the decryption key ($12) doesn't seem to be working anymore
Have tried it a coupla times. Seems the key has been changed.
Moscow Desire said:
For those that need the Acer Update Decrypt Tool.
Unzip contents.
Select encrypted zip
Select Start
Decrypted file will have the same name, but includes the word "decrypted"
Click to expand...
Click to collapse
mannubhatt said:
Have tried it a coupla times. Seems the key has been changed.
Click to expand...
Click to collapse
The decrypter tool has been the same for a long time. The keys haven't changed. $12. And has worked till a couple of weeks ago.
Depends on what you are decrypting. If it's the files we have here in the Dev forum, it works.
If you try it on files elsewhere, it may not work. It probably will not work on A51x or 70x update files. Nobody has tried.
Definately won't work on Asus updates
MD
Absolutely nothing wrong with the decrypter. You have to wait a few minutes depending on PC. Has to decrypt 400mb remember.
MD
Hi,
Sorry for the newbie question.
I cannot run the tool. Here is what I do:
Using PC window 7 to download the zip file.
Unzip it.
Have an exe file but get an error message when run it. (Window can not find the path ...)​
Can you please explain how to use this decrypt tool ? or tell me what kind of error I did ?
Thanks a lot for your help,
sviet
sviet2k said:
Hi,
Sorry for the newbie question.
I cannot run the tool. Here is what I do:
Using PC window 7 to download the zip file.
Unzip it.
Have an exe file but get an error message when run it. (Window can not find the path ...)​
Can you please explain how to use this decrypt tool ? or tell me what kind of error I did ?
Thanks a lot for your help,
sviet
Click to expand...
Click to collapse
Sounds like you're trying to run it from within the zip file itself? Helps to know the full error message.
Try unzipping it to your C:\ drive. Then run it again.
It's a small app, and basically you will get a button to select the file (zips only), then select Start. After a couple minutes, it will write the decrypted file in the same folder as the original (says decrypted at the end of the file name).
MD
Thanks a lot for your quick help.
This is a fault of may anti virus that prevents to run the tool.
Just turn it off and I can run the tool.
Thank you,
sv
Antivirus block download
Hi!
I'm trying to download the tool to decrypt the zip files but my antivirus (a business version of Trend Micro that i can't disable) block the download.
Is it possible to rename or change the extension to avoid this issue?
thank you
no solutions?

[HELP]Serious Problems after rooting, Cannot copy zip files in Nexus 4 and more

Hello,
After unlocking, and rooting nexus 4, I cannot copy any zip file in device, I tried another files like Videos, pictures, songs etc, this files copied successfully but there is problem to copy zip files have tried on 2 different computers, but it still not copying Please Help :crying:
razor17 said:
Hello,
After unlocking, and rooting nexus 4, I cannot copy any zip file in device, I tried another files like Videos, pictures, songs etc, this files copied successfully but there is problem to copy zip files have tried on 2 different computers, but it still not copying Please Help :crying:
Click to expand...
Click to collapse
what do you mean cant copy what error does it give ?
fahadsul3man said:
what do you mean cant copy what error does it give ?
Click to expand...
Click to collapse
No any error, whenever I start copying, progress bar of copying is stopped on 50% to 70% and after clicking on that zip file windows start zip file copying again and again
Today I have rooted 2 nexus 4 devices, 1st was successfully installed caynogenmod 10.1.3 and working normal and 2nd device cannot copy any .zip files,
I can't understand exact problem, Windows 7 stop copying after some 50% or 70%, and if I open that copied zip windows 7 start copying again and again, I tried another method, I sent cm-10.1.3-mako.zip from my another Android device to nexus 4, then I installed cm-10.1.3-mako.zip successfully, after installation CM-10 device is just booting, and cannot complete boot. just booting and booting, and I copied cm 10 zip from my desktop, but progress bar shows "copying from C:\Users\INDRAJ~1\AppData\Local\Temp\WPDNSE\SID-{10001,,13874577408}"
I did not understand why windows copy zip file form WPDNSE folder, this folder in temp, the original copy source is from desktop,
I have installed my stock 4.3 rom from CWM backup but now I can't download any app from play store the error is "Error while retrieving information from the server [RPC:s-7:AEC-0]"
Can anyone PLEASE, PLEASE, PLEASE Help to fix this problems :crying: :crying:
(Sorry for bad English)

Categories

Resources