[Q] error updating via twrp - ZenFone 2 Q&A, Help & Troubleshooting

Every time i try to update i got this message
Code:
[Installing '/sdcard/Download/WW_Z00A-20150804-20150807-20150811.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: Package expects build fingerprint of asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.58_20150804_5878_user:user/release-keys or asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.59_20150807_7712_user:user/release-keys; this device has asus/WW_Z00A/Z00A:5.0/LRX21V/2.19.40.18_20150612_1183_user:user/release-keys.
Package expects build fingerprint of asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.58_20150804_5878_user:user/release-keys or asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.59_20150807_7712_user:user/release-keys; this device has asus/WW_Z00A/Z00A:5.0/LRX21V/2.19.40.18_20150612_1183_user:user/release-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/WW_Z00A-20150804-20150807-20150811.zip'
MtpServer::run fd: 14
E:request read returned -1, errno: 5, exiting MtpServer::run loop
Error flashing zip '/sdcard/Download/WW_Z00A-20150804-20150807-20150811.zip'
Im using 20.58 update , how to solve ? Thans in advance , sorry for bad english

baonxxx said:
Every time i try to update i got this message
Code:
[Installing '/sdcard/Download/WW_Z00A-20150804-20150807-20150811.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: Package expects build fingerprint of asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.58_20150804_5878_user:user/release-keys or asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.59_20150807_7712_user:user/release-keys; this device has asus/WW_Z00A/Z00A:5.0/LRX21V/2.19.40.18_20150612_1183_user:user/release-keys.
Package expects build fingerprint of asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.58_20150804_5878_user:user/release-keys or asus/WW_Z00A/Z00A:5.0/LRX21V/2.20.40.59_20150807_7712_user:user/release-keys; this device has asus/WW_Z00A/Z00A:5.0/LRX21V/2.19.40.18_20150612_1183_user:user/release-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/WW_Z00A-20150804-20150807-20150811.zip'
MtpServer::run fd: 14
E:request read returned -1, errno: 5, exiting MtpServer::run loop
Error flashing zip '/sdcard/Download/WW_Z00A-20150804-20150807-20150811.zip'
Im using 20.58 update , how to solve ? Thans in advance , sorry for bad english
Click to expand...
Click to collapse
change your recovery flash this http://www.mediafire.com/download/afulultx06r70a4/recovery.img
then flash stock rom

Related

[Q] ApplicationsProvider.apk doesn't have any of expected sha1 sums

I am currently running 4.1.1 takju and I can't update to 4.1.2 and therefore can't update to 4.2 (via OTA).
I tried to do it manually by copying the file to /sdcard but I still get checksum errors.
I thought that I was on stock 4.1.1 so I can't see how this file fails the checksums.
Can I download and replace ApplicationsProvider.apk with the correct checksum from somewhere?
This is the end of the recovery log.
Code:
-- Installing: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
Finding update package...
I:Update location: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
I:using /data/media, no /sdcard found.
Opening update package...
Installing update...
installing samsung updater extensions
mount: failed to mount /dev/block/platform/omap/omap_hsmmc.0/by-name/system at /system: Device or resource busy
Verifying current system...file "/system/app/ApplicationsProvider.apk" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
E:Error in /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
(Status 7)
Installation aborted.
Got exactly same here.
If you still care, here is how I fixed the problem.
1. Download firmware image: https://developers.google.com/android/nexus/images
2. Follow HOW-TO: Return to stock for ALL Galaxy Nexus phones except step D.10
I was hoping to avoid flashing and just replace the single file and do an OTA update.
I extracted the factory image with 7-Zip and thought I could extract the relevant apk from system.img.
Unfortunately unyaffs kept failing with a stack dump.
Looks like it is backup and reload now

[Q] nexus 7 4.4.2-4.4.3 wont update

I keep getting an error message every time I try to update my nexus 7
i have picture of error message but wont let me post
imgur com/a/43Iwv
You're going to have to do better...
here's the log
I:command is: 'install'
I:value is: '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Trying to find zip '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip' on '/data/media/0'...
I:Looking for zip at '/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
I:Looking for zip at '/data/media/0/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
Installing zip file '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
Installing '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Verifying current system...
file "/system/framework/core.odex" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/framework/core.odex" has unexpected contents.
"/system/framework/core.odex" has unexpected contents.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
E:Error installing zip file '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip
Me Too
My Nexus 7 [2013] is not updating to KTU84L from KOT49H. The downloader complains that there is not enough space in /cache. The download is 77MB in size, my cache partition is 35M. I have over 10G of free space in /data and /sdcard. I think the download tool is broken.
damn i actually had the same problem i ended up just using the factory restore straight to the 4.4.4 image but hey the 5.0 image is out today ya can try to flash it to 5.0 the only problem i have is that i dont know how to set up the flash-all script for 5.0 ill post a link how to factory restore it to 4.4.4 if ya need it http://forum.xda-developers.com/showthread.php?t=2382051 just read through it the post have all the tools u need to dl for it

Can't update to MMB29Q with stock rooted ROM

Hello,
On my Nexus 7 2013 WiFi I'm running the stock MMB29O build (6.0.1) with root and custom recovery. I'm trying to install the MMB29Q OTA update but, as soon as I try to install it in TWRP, I get this message:
Code:
Installing '/sdcard/Download/2fc034153ea4d52bbdcd3d5f699b665f1cbd4177.signed-signed-razor-MMB29Q-from-MMB29O.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
script aborted: Package expects build fingerprint of google/razor/flo:6.0.1/MMB29O/2459718:user/release-keys or google/razor/flo:6.0.1/MMB29Q/2480792:user/release-keys; this device has Android/omni_flo/flo:5.0.2/LRX22G/2:eng/test-keys.
Package expects build fingerprint of google/razor/flo:6.0.1/MMB29O/2459718:user/release-keys or google/razor/flo:6.0.1/MMB29Q/2480792:user/release-keys; this device has Android/omni_flo/flo:5.0.2/LRX22G/2:eng/test-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/2fc034153ea4d52bbdcd3d5f699b665f1cbd4177.signed-signed-razor-MMB29Q-from-MMB29O.zip'
Error flashing zip '/sdcard/Download/2fc034153ea4d52bbdcd3d5f699b665f1cbd4177.signed-signed-razor-MMB29Q-from-MMB29O.zip'
Updating partition details...
I:Data backup size is 5306MB, free: 4770MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
What can I do?
Thanks
OTA is currently impossible on a modified system. You can do this https://developers.google.com/android/nexus/images

I can't install room in TWRP

I have a problem with install room in TWRP. When I try to install rom from zip. I paste log here.
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsscript aborted: E3004: This package is for device: g4,p1,h815; this device is .
E3004: This package is for device: g4,p1,h815; this device is .E:unknown command [log]
Proces Updater zakończony z błędem: 7
I have H815 from European distribution.
mateuszko said:
I have a problem with install room in TWRP. When I try to install rom from zip. I paste log here.
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsscript aborted: E3004: This package is for device: g4,p1,h815; this device is .
E3004: This package is for device: g4,p1,h815; this device is .E:unknown command [log]
Proces Updater zakończony z błędem: 7
I have H815 from European distribution.
Click to expand...
Click to collapse
I think in this Rom there are missing Files or this Rom isn´t for your G4 Model.
Have you tried to install an other Rom for testing?
Foto .....
I tried this room aoscp_h815-6.0.0-20180718-official.zip and tried LineageOs rom for H815 too
mateuszko said:
I tried this room aoscp_h815-6.0.0-20180718-official.zip and tried LineageOs rom for H815 too
Click to expand...
Click to collapse
What twrp version. The selinux errors aren't the issue. I believe you are trying to install Oreo with twrp 3.1.1. Correct?
If so, try 3.2.2 (latest official)
mateuszko said:
I have a problem with install room in TWRP. When I try to install rom from zip. I paste log here.
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsscript aborted: E3004: This package is for device: g4,p1,h815; this device is .
E3004: This package is for device: g4,p1,h815; this device is .E:unknown command [log]
Proces Updater zakończony z błędem: 7
I have H815 from European distribution.
Click to expand...
Click to collapse
There is an official TWRP thread.
The log you posted is useless, check my signature on how to get the real log.
Always use the latest available TWRP version.
Sent from my LG-H815 using XDA Labs
I instaled newest TWRP and working. Thanks for help.

failed to install LineageOS on Riva

Hello, i want to give a try LineageOS on my Xiaomi Redmi 5A (Riva), i have unlock bootloader and flasing recovery img (twrp), and every file checksum is even. i tried to flash
lineage-17.1-20201020-UNOFFICIAL-riva.zip
Click to expand...
Click to collapse
on my device but i got an error log. sound like problem in selinux. can someone help me?
Code:
I:operation_start: 'Flashing'
Installing zip file '/sdcard1/lineage-17.1-20201020-UNOFFICIAL-riva.zip'
Checking for Digest file...
Unmounting System...
I:Update binary zip
Cannot verify treble package compatibility, must build TWRP in Oreo tree or higher.
I:Extracting updater binary 'META-INF/com/google/android/update-binary'
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
No path given to file labeling backend
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsscript aborted: assert failed: riva.verify_trustzone("TZ.BF.4.0.5-157266")
assert failed: riva.verify_trustzone("TZ.BF.4.0.5-157266") == "1"error: 25
Updater process ended with ERROR: 7
I:Install took 0 second(s).
Error installing zip file '/sdcard1/lineage-17.1-20201020-UNOFFICIAL-riva.zip'
Cvar1984 said:
Hello, i want to give a try LineageOS on my Xiaomi Redmi 5A (Riva), i have unlock bootloader and flasing recovery img (twrp), and every file checksum is even. i tried to flash on my device but i got an error log. sound like problem in selinux. can someone help me?
Click to expand...
Click to collapse
Sounds like wrong twrp recovery
https://forum.xda-developers.com/xi...ent/rom-lineage-os-17-1-t4051339/post81771033

Categories

Resources