I can't install room in TWRP - G4 Q&A, Help & Troubleshooting

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.

Related

[Q] error updating via twrp

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

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

Trying to flash cm13 on Huawei g7 l01

Hi, I am trying to flash cm13 cm-13.0-20160607-UNOFFICIAL-mparus-g760.zip from this site on my Huawei g7 l01.
I keep getting the following,
E:Error executing updater binary in zip '/
I am using twrp and I'm running lollipop 5.1.1 b331.
I have tried various fixes from Google, but none have worked.
Could someone please help?
Here is a section of the log,
environment initialized.
script aborted: This package is for device: g620s,G620S,hwg620s,hwG620S,G620S-L01,g760,G760,hwg760,G760-L01,G760-L03; this device is .
This package is for device: g620s,G620S,hwg620s,hwG620S,G620S-L01,g760,G760,hwg760,G760-L01,G760-L03; this device is .
I:Legacy property environment disabled
Error flashing zip '/external_sd/Download/cm-13.0-20160607-UNOFFICIAL-mparus-g760.zip
E:Error executing updater binary in zip '/
Hey there,
i had the same problem on my G7-L01 with kitkat 4.4.4. i couldnt find a solution and just gave up. have you had any luck?
Yes, I used another version of twrp (Google twrp Huawei g7) it won't let me post the link.
tupenix said:
Hi, I am trying to flash cm13 cm-13.0-20160607-UNOFFICIAL-mparus-g760.zip from this site on my Huawei g7 l01.
I keep getting the following,
E:Error executing updater binary in zip '/
I am using twrp and I'm running lollipop 5.1.1 b331.
I have tried various fixes from Google, but none have worked.
Could someone please help?
Here is a section of the log,
environment initialized.
script aborted: This package is for device: g620s,G620S,hwg620s,hwG620S,G620S-L01,g760,G760,hwg760,G760-L01,G760-L03; this device is .
This package is for device: g620s,G620S,hwg620s,hwG620S,G620S-L01,g760,G760,hwg760,G760-L01,G760-L03; this device is .
I:Legacy property environment disabled
Error flashing zip '/external_sd/Download/cm-13.0-20160607-UNOFFICIAL-mparus-g760.zip
E:Error executing updater binary in zip '/
Click to expand...
Click to collapse
thats my problem too...thats why id tried to install cm 12.1 and its good to go..... just try to install cm12.1 first before you flash cm13

Unable to install ROM via TWRP.

Tablet is reporting " E: unknown command [log]
E: Error executing updater binary in zip "/sdcard/lineage-15.1-20180815-UNOFFICAIAL-flo.zip"
E3004: This package is for device: flo; this device is .
WTF?
nvm. I figured it out. old TWRP.

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