[error update] apply patch check... - Android Q&A, Help & Troubleshooting

My tablet: asus memo pad hd7 (Me173x)
version of android: 4.2.2
version of karnel: 3.4.5
My tablet has root.
Description of error when updating:
Installing update...
Verifying current system...
Assert failed: apply_patch_check ("/system/app/asusstory.apk", "47f685ae192d8544598e601dba4248a3996da08a", "87f1d78673c6223ac09e176520f08099c67ddcc8")
Update.zip is not correct
Installation aborted.
Ps: Have formatted several times my tablet and continues with the same error (and now removed the root).
My português is google tratudor.

Related

Solution for Failed OTA Update (due to removed apps)

I wanted to write this "guide" for all the others that may be experiencing issues such as myself and others that I've talked to and helped. It was quite a learning experience and one of those "wow, I totally screwed myself" moments, to say the least lol.
There have been quite a few posts by others that outline how to update your rooted phone with the OTA but I wanted to put it down a bit more step by step with some extra information for those that thought it might be a good idea to just DELETE some apps from the /system/app patition (myself, included) without taking a full system backup using CWM, etc. I do NOT believe that a Titanium backup is sufficient if you choose to delete the application afterwards (as I see no evidence that the [required] .odex files are part of the TiBu backups)
Due to all the requests (here is my RAZR /system/app dump):
Pre-OTA: http://bit.ly/vwkbDw
Post-OTA: http://bit.ly/rZdQgC
So here we go...
1. Settings -> About Phone -> System Updates -> "Download Now"
2. Once downloaded, choose "Install Later" (important!)
3. Open up ES File Explorer or Root Explorer or you can even use adb to shell into the system (not recommended unless you're really good at this)
4. Browse to the /cache directory
5. Copy the two files named "Blur_Version.6.11.744.XT912.Verizon.en.US.crc" and "Blur_Version.6.11.744.XT912.Verizon.en.US.zip" to the /sdcard-ext location (NOT /sdcard)
6. Download and Install (from the Market) "OTA RootKeeper"
7. Run OTA Rootkeeper and select "Protect Root" (this will preserve files and links to the root application after the update). You CAN still choose to re-root using DoomLord/Zerg method but this is a LOT easier
8.You can choose to backup your apps via TiBu if you want to be extra cautious should something go wrong (but not required).
9. Power OFF the device. Then enter Motorola Recovery mode (Hold Vol+ and Vol- and Power). Click Vol- to highlight Recovery Mode and Click Vol+ to select it. Wait for the Triangle and exclamation point and then press both Vol buttons at the same time
10. Choose to "apply update from sdcard" by using the the Vol+ or Vol- to highlight and the Power Button to select
11. Choose the update file using the same method as step 10
12. Let it run and do it's thing...here's where the problems can start. If you have no problems you can skip to step 18
13. If you receive a "Status 7" error message it is probably complaining about checksum mismatch of the file that is ALSO listed in that output. This can also happen if the file is missing
14. Record the first 4 characters of the TWO checksums that it lists (this is important, do not forget) AND the filename (usually /system/app/<somename.apk> /system/app/<somename.odex>
Having these checksums will help you locate which file you need to get you back to "good" standing. The first value indicates the SHA1 checksum of the UPDATED file (POST OTA patching) while the second value indicates the SHA1 checksum of the older file (PRE OTA patching). There are quite a few resources on these forums where people have provided their "system dump".
You can also find this information after an unsuccessful install in the /cache/recovery/last_log directory on your phone - for those that use the install method from within the Android OS (Automatic OTA Install)
15. Download one or more of these "system dumps" and extract the file named in the error. Copy it to your sdcard and then use Root Explorer or Astro to copy it to the /system/app location (you might need to make it R/W on /system/app)
15A. For the advanced users:
You can save some guess work and get the sha1 value using a utility (windows/linux) to compare the strings with what was in the error message.
IF the checksums match you might as well copy over the corresponding .odex/.apk file as well.
IF the checksums do NOT match, you might as well scrap that "system dump" and download another one (and pray)
15B. IF you are unable to locate an original razr file that matches your criteria you can also take a stab and ask someone to send you their POST-OTA file(s) that you are missing. You can also compare the SHA1 checksum OR just try and see if it works. The installer will continue forward if it detects either the CORRECT old or new file already in place (*whew*)
16. Then return to step 9. Continue steps 9-15 until the update goes through.
18. Reboot after the update is complete
19. Verify the update was successful by following step 1 (there are other ways to see the version as well)
20. Re-run OTA RootKepper and select the option to "Restore Root"
21. Disconnect any USB cable to the phone and reboot. Verify root works properly (SetCPU, TiBu, SuperUser App, etc)
IF you are unable to regain root via Step 20, then you can always use the method that you previously used to RE-root your phone (Zert/DoomLord utility)
22. FREEEEEZE your apps from now on. (at least until there is an SBF). Stop deleting anything that isn't on your sdcard-ext partition
I hope that helps some folks out. I had about 8 files to replace and it seemed that there was never a "system dump" that had all of them. I helped one user by providing just ONE file that he accidentally deleted. In turn, after the update he provided me with both (updated) files that I needed. Win-Win!
I have my old and my NEW "system-dump" files so don't hesitate to ask me for them. If I receive enough requests I will end up putting them on one of the mediafire/megaupload places. A few other places to get the system dumps are from some of the ROMS provided for the US RAZR (i had some files match from the RAZRX 1.0 ROM)
If you noticed that I skipped number 17 then you were paying close enough attention ;-)
It worked, thank you.
Sent from my DROID RAZR using xda premium
great write up
droidony--droidforums
I cant find any dump links that are active. My problem is with the settings.apk. can anyone help?
Found one dump and no match.
When I looked in my cache thingy there wasn't anything there. Am I missing something or looking in the wrong spot?
I originally needed the maps odex file (as that was what was showing up in the log but I had it on my phone I must have done something as to how it disappeared) which i got from your download well one thing had lead to another with all these zips of the update and this is where I am at now. I guess I will stop here until I get better direction on what to do now. I am not sure if it is better or worse than before. This is the current log of where I am. If you know where to go from here please let me know. Thanks!
Parsing the directoryd_name: 3-0:1.0
Parsing the directoryd_name: 2-1
Parsing the directoryd_name: 2-1:1.0
Finding update package...
I:Update location: /cache/Blur_Version.6.11.744.XT912.Verizon.en.US.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1461 bytes; signature 1438 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
installing motoflash extensions
installing NV updater extensions
installing omapdevtype updater extension
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
Verifying current system...
file "/system/build.prop" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to stat "/data/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/build.prop", "88b14d106c1935ebf67d34285a6840e9fc4a77da", "84e1256862a5723b93d38b6135ce947e97a39504")
assert failed: apply_patch_check("/system/build.prop", "88b14d106c1935ebf67d34285a6840e9fc4a77da", "84e1256862a5723b93d38b6135ce947e97a39504")
E:Error in /cache/Blur_Version.6.11.744.XT912.Verizon.en.US.zip
(Status 7)
Installation aborted.
-------------------------------------------------------------------------------------
update: I tried to install the 744 copy that was on the sd card and this is the error it gave me. The above is the error it gives me directly from the ota download and update.
-- Install /sdcard/download ...
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /tmp/sideload/package.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1461 bytes; signature 1438 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
installing motoflash extensions
installing NV updater extensions
installing omapdevtype updater extension
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
Failed to mount /dev/block/mmcblk1p20 on /system: Device or resource busy
mtd mount of system failed: Device or resource busy
script aborted: assert failed: mount("ext3", "MTD", "system", "/system")
assert failed: mount("ext3", "MTD", "system", "/system")
E:Error in /tmp/sideload/package.zip
(Status 7)
Installation aborted.
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
I:Set boot command ""
elyhlapetina said:
When I looked in my cache thingy there wasn't anything there. Am I missing something or looking in the wrong spot?
Click to expand...
Click to collapse
Same here. No files there.
elyhlapetina said:
When I looked in my cache thingy there wasn't anything there. Am I missing something or looking in the wrong spot?
Click to expand...
Click to collapse
Oaklands said:
Same here. No files there.
Click to expand...
Click to collapse
If you don't have root enabled you won't be able to view the folder contents. SO, if you used the OTA RootKeeper app and temporarily removed root, you will need to back into that application and restore root...
Viewing the last_log in the /cache/recovery location isn't needed, if you do the manual installation using the Motorola Recovery. The same error messages appear in the yellow text after the update fails and before you reboot the phone.
branshaw09 said:
I cant find any dump links that are active. My problem is with the settings.apk. can anyone help?
Found one dump and no match.
Click to expand...
Click to collapse
Branshaw, did you take a look at my two download options listed in my original post? Settings.apk SHOULD be in there. You can also try grabbing one from one of the few ROMS that are out for the RAZR - i suggest trying to pull the apk from the RAZRX 1.0 ROM
kb3awq said:
I originally needed the maps odex file (as that was what was showing up in the log but I had it on my phone I must have done something as to how it disappeared) which i got from your download well one thing had lead to another with all these zips of the update and this is where I am at now. I guess I will stop here until I get better direction on what to do now. I am not sure if it is better or worse than before. This is the current log of where I am. If you know where to go from here please let me know. Thanks!
Parsing the directoryd_name: 3-0:1.0
Parsing the directoryd_name: 2-1
Parsing the directoryd_name: 2-1:1.0
Finding update package...
I:Update location: /cache/Blur_Version.6.11.744.XT912.Verizon.en.US.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1461 bytes; signature 1438 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
installing motoflash extensions
installing NV updater extensions
installing omapdevtype updater extension
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
Verifying current system...
file "/system/build.prop" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to stat "/data/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/build.prop", "88b14d106c1935ebf67d34285a6840e9fc4a77da", "84e1256862a5723b93d38b6135ce947e97a39504")
assert failed: apply_patch_check("/system/build.prop", "88b14d106c1935ebf67d34285a6840e9fc4a77da", "84e1256862a5723b93d38b6135ce947e97a39504")
E:Error in /cache/Blur_Version.6.11.744.XT912.Verizon.en.US.zip
(Status 7)
Installation aborted.
-------------------------------------------------------------------------------------
update: I tried to install the 744 copy that was on the sd card and this is the error it gave me. The above is the error it gives me directly from the ota download and update.
-- Install /sdcard/download ...
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /tmp/sideload/package.zip
Opening update package...
I:1 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1461 bytes; signature 1438 bytes from end
I:whole-file signature verified
I:verify_file returned 0
Installing update...
installing motoflash extensions
installing NV updater extensions
installing omapdevtype updater extension
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
Failed to mount /dev/block/mmcblk1p20 on /system: Device or resource busy
mtd mount of system failed: Device or resource busy
script aborted: assert failed: mount("ext3", "MTD", "system", "/system")
assert failed: mount("ext3", "MTD", "system", "/system")
E:Error in /tmp/sideload/package.zip
(Status 7)
Installation aborted.
blk: partition "emstorage" size 8603435008 not a multiple of io_buffer_size 524288
I:Set boot command ""
Click to expand...
Click to collapse
It sounds like you ran something on your phone that may have adjusted settings in the build.prop file (supercharger, jakebitesmod, etc). I can try and give you a copy of mine when I get home tonight, but hopefully someone else in here would be kind enough to attach it to a post on this thread.
it worked!!
thank you so much it worked perfected
Great solution, but what if I just have to restore an app (Facebook Authenticator in this case) I'm already Post-OTA, deleted it by accident, any help please? been scratching my brain for days. TIBU just hangs when I try to restore it.
jerkwad said:
It sounds like you ran something on your phone that may have adjusted settings in the build.prop file (supercharger, jakebitesmod, etc). I can try and give you a copy of mine when I get home tonight, but hopefully someone else in here would be kind enough to attach it to a post on this thread.
Click to expand...
Click to collapse
Actually I haven't ran anything extra just copied the map codex in with the others and the pre and post update on here gives signature verification error lie the other couple I tried from droid forums from the other guy who had a zip for a solution which was a stock root zip. This is amazing my Droid 1 could flash anything etc. And I was trying to be a stock good boy with this phone except root.
can someone please help me on what to do now. after i got to trying to install the update i recieved the status 7
this is what my phone said
assert failed: apply_patchcheck("system/app/livewallpappers.apk", "37db550d10330f4e0bcf0efb60a86b62f7598a4a3", "d3686011083bcb1b46cb9d1702b1788bf5772e37")
E:error in /tmp/sideload/package.zip
(status 7)
Installation aborted
So I took a look at what was missing, and it doesn't match with the directions you gave. Atleast I don't think it does.
here's what i got:
--Install /sdcard/Android Dev Update ...
Finding update package...
Opening update package...
Installing update...
Verifying current system...
assert failed: apply_patch_check("/preinstall/KnowYourDevice/Motorola_XT912_BatterySave.3gp",
5faf882a9f143c2e45a264aad9c067233a43be8b", "6bcc903965d9cd3862f5c5a5760e129d36b07cf5")
E:Error in /tmp/sideload/package.zip
(status 7)
Installation aborted.
I didn't, myself, remove or freez any apps.
jerkwad said:
Branshaw, did you take a look at my two download options listed in my original post? Settings.apk SHOULD be in there. You can also try grabbing one from one of the few ROMS that are out for the RAZR - i suggest trying to pull the apk from the RAZRX 1.0 ROM
Click to expand...
Click to collapse
I am trying to download your pre ota file now. The settings.apk md5sum in razrx ROM fine match my error report
I have the same problem. Im rooted and use astro file manager and nothing is in cache.
Sent from my DROID RAZR using xda premium
I have same issue with guidedtours.odex
checksum first 4 are
64d7
1c18
5bb6 & 5cc1
Sent from my DROID RAZR using xda premium
95ea and b39c for gmail.odex any info greatly appreciated.
HDW

[Q] DVC Q7 tablet error

Hi,
I have a DVC Q7 tablet. It's stopping the boot logo when I try to open. no action. I opened the Android System recovery <3e> with the push menu and power buttons.
I try WIPE DATA/FACTORY RESET after delete all user with volume buttons. I don't back to factory settings and have a error message;
E:force to update_package
Finding update package...
Openning update package...
Verifying update package...
E:failed to open /sdcard/update.zip (no such file or directory)
E:signature failed
Installation aborted.
E:Can't open /cahce/recovery/log
E:Can't open /cahce/recovery/last_log
---Wiping data..
Formatting /data...
Formatting /cache...
Data wip complete
Click to expand...
Click to collapse
Can I extract update.zip file from android image (*.img) files ?
How can I fix? Thank you.
Item specifics
Item Type: Tablet PC
Tablet Data Capacity: 8GB
Screen Size:7"
Brand Name: DVC
Battery Life: 4hrs around for video online
Processor Manufacture: AllWinner
Touch Screen Type:Capacitive Screen
Color: White
Processor Main Frequency: 1~1.5ghz
Memory Capacity:512MB
Feature: Wifi,Webcams,Multi Touch,HDMI,G Sensor,Camera
Operating System: Android 4.0
Display resolution:800x480
Weight:410 g
Model Number:Q7
Processor Model:A10

[Q] HELP I can no longer update Mediapad X1 7D 501U /SOLVED/

SOLVED!
I used the dload.zip in this thread http://forum.xda-developers.com/showpost.php?p=56384204&postcount=1
to force installation of my previous rom.
Big thanks to potatohead
I had B008 installed and did an online update to B009 , now I'm getting this error when I try to flash another rom and my device is a 7d-501u.
=========================================
E:check_software_version_rule begin
E:
==========sofeware version rule check==============
E:New software version=7D-501uV100R001C233B021
E:Get software version from vrcb success.
E:Current software version=7D-503LV100R002C208B009
E:Current software version product type=7D-503L
E:New software version product type=7D-501u
E:Error:line:326 :match_product_type not match
Eroduct type mismatch.
E:FAILroduct type check.
E:[huawei_sd_update] time:30.0 s
E:cxt->action: 0
W:finish_recovery, clearset_bootloader_status:flag == null
E:Can't open /tmp/recovery_modem.log

[Zenfone 5] System update fails with status 0, fota return code 409

I flashed recovery and flastboot versions 2.21.20.44_ww successfully.
But when I send the package UL-ASUS_T00F-WW-5.3.3.3-user via adb sideload, I get errors.
E: Can't open /tmp/update-script.log
(After receiving package)
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Device image SKU:
WW
OTA image SKU: WW
E:Error in /tmp/update.zip
(Status 0)
E: fota_return_code 409
Installation aborted.
E:Can't open /tmp/update-script.log
E:Can't open /tmp/update-script.log
Please help.
WW 5.3.3.3 is used for downgrade only. If you wanna downgrade from lollipop just directly flash this ota, won't have this problem.
Now you just need flash 2.21.20.44 directly
eitanlevy said:
WW 5.3.3.3 is used for downgrade only. If you wanna downgrade from lollipop just directly flash this ota, won't have this problem.
Now you just need flash 2.21.20.44 directly
Click to expand...
Click to collapse
I flashed 2.22.40.54 and it worked! Thanks!
[Fixed] [Solved] Asus Zenfone 5 update problem
[Fixed] [Solved] Asus Zenfone 5 update problem E: can't open /tmp/update-script.
Solution is here, copy and paste folling url in address bar:
tectables.blogspot.in/2015/10/fixed-solved-asus-zenfone-5-update.html

[Q] F2FS not working

Hello guys!
So after I saw Strix's latest TWRP (January 21) I tried to change my file system to f2fs, but everytime I do, it gives me an error message: Failed to mount 'system ' (Operation not supported or transport endpoint)
What do I need to do to make it working?
Try TWRP M4 Recovery

Categories

Resources