problem no file_contexts - Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin

I have this problem in no recovery file_contexts how can you solve?

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

Error file_contexts not found

When i was un repacking the system of 4.0.1
I got this error
I used the file_contexts from boot img
Still the same error
Can any one help ?

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