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
Related
Hi
I Installed the sensation rom. But i allways have some wifi issue so i go back to stock. wiped everything included chache dalvic...
After i installed the custom rom i get an update OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
I tried to install but get an error status 7
I renamed it to update.zip and tried to install.
this didnt work
i download this file manual from a thread here. but this dindt work
what can i do to get the last update?
Running extendedcommand...
Waiting for SD Card to mount (20s)
SD Card mounted...
Verifying SD Card marker...
bbf1350144b25f6e51499717bf478006
I:Running script:
I:
ui_print("ROM Manager Version 5.0.0.6");
ui_print("5. Mai 2012");
ui_print("Preparing to install ROM...");
run_program("/cache/dowipedalvikcache.sh");
assert(install_zip("/sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip"));
parse returned 0; 0 errors encountered
ROM Manager Version 5.0.0.6
5. Mai 2012
Preparing to install ROM...
about to run program [/cache/dowipedalvikcache.sh] with 1 args
mount: mounting /dev/block/mmcblk0p13 on /cache failed: Device or resource busy
mount: can't find /sd-ext in /etc/fstab
umount: can't umount /sd-ext: No such file or directory
run_program: child exited with status 1
-- Installing: /sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
Finding update package...
I:Update location: /sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
Opening update package...
Installing update...
checkmid: device mid = PJ4610000
Copying fotaBoot to /data/system for customize reload...
Verifying current system...
file "/system/app/AppSharing.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/AppSharing.apk", "afdd27bddd2ffffafeac22857e88b0cb49507f3c", "5b34f2af9b66e8c9a99a4b31224f086ebd293592")
assert failed: apply_patch_check("/system/app/AppSharing.apk", "afdd27bddd2ffffafeac22857e88b0cb49507f3c", "5b34f2af9b66e8c9a99a4b31224f086ebd293592")
E:Error in /sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
(Status 7)
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip")
Click to expand...
Click to collapse
You need stock recovery.
I tried
i flashed the stock Rom. there comes the Update which i cant install
ok i get it i flashed the old boot.img and everythink worked fine...
i extracted it from the old custom rom...
Could you explain how you fixed this? I have exactly the same error: update failed due to error AppSharing.apk - status 7.
It seems OTA is verifying current applications for discrepancies - problem is I have stock recovery and stock ROM which I installed using this RUU from ShippedRoms with verified MD5 > RUU_PYRAMID_ICS_HTC_Europe_3.32.401.5_Radio_11.69.3504.00U_11.22.3504.07_M_release_246089_signed
I'm confused as OTA is perhaps informing itself that AppSharing.apk has been modified... but from a clean install??
Neutrino22 said:
Could you explain how you fixed this? I have exactly the same error: update failed due to error AppSharing.apk - status 7.
It seems OTA is verifying current applications for discrepancies - problem is I have stock recovery and stock ROM which I installed using this RUU from ShippedRoms with verified MD5 > RUU_PYRAMID_ICS_HTC_Europe_3.32.401.5_Radio_11.69.3504.00U_11.22.3504.07_M_release_246089_signed
I'm confused as OTA is perhaps informing itself that AppSharing.apk has been modified... but from a clean install??
Click to expand...
Click to collapse
Errrr... something is wrong here.
BenPope said:
Errrr... something is wrong here.
Click to expand...
Click to collapse
Lol... I'm in marvel at your attention to detail!
Since you're a senior member, could I call upon your wealth of knowledge which you may dispense here, in this very thread?
Warm regards
Neutrino22 said:
Lol... I'm in marvel at your attention to detail!
Click to expand...
Click to collapse
The One X is Endeavor, not Pyramid.
BenPope said:
The One X is Endeavor, not Pyramid.
Click to expand...
Click to collapse
Oh, how could I have missed that! I'm in the wrong forum! Many thanks for highlighting my stupidity (which appears to be boundless!)
Warms regards.
I guess the problem is still the same, but the solution and diagnostics might differ.
I would say you need to check your recovery and boot.img are stock, you are locked, and that you are not installing an RUU with a bootloader older than the currently installed one. But I know nothing of Pyramid.
BenPope said:
I guess the problem is still the same, but the solution and diagnostics might differ.
I would say you need to check your recovery and boot.img are stock, you are locked, and that you are not installing an RUU with a bootloader older than the currently installed one. But I know nothing of Pyramid.
Click to expand...
Click to collapse
It's all working now. Manage to obtain RUU. Thanks!
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
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
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.
As explained in an other thread i got this issue :
with TWRP-offain and original one downloaded from TWRP website i received this error message after installation attempts of different custom ROMs
No OS installed
I wiped System and Data partition on each A and B slots and then tried to install on each slots some custom ROMs
At the end of each installations i received also this error message :
failed to mount "/System" (Permission denied)
How can i solve the issue ?
updater process ended with ERROR: 1
i have also tried to solve issue installing dm-verity disabler KO again
now when i try to install custom ROMs smartphone returns this error :
updater process ended with ERROR: 1
Error installing zip file "/external SD/name_custom_rom.zip
johnjohnmel said:
i have also tried to solve issue installing dm-verity disabler KO again
now when i try to install custom ROMs smartphone returns this error :
updater process ended with ERROR: 1
Error installing zip file "/external SD/name_custom_rom.zip
Click to expand...
Click to collapse
You need to use this twrp. Then it will work. About twrp errors: just ignore...
I've already used also that TWRP version
twrp-installer-daisy-3.3.0-0-offain.zip
KO
Voodoojonny said:
You need to use this twrp. Then it will work. About twrp errors: just ignore...
Click to expand...
Click to collapse
I started and completed successfully installation of TWRP and custom ROM in a slot, but when i try to change slot i received this error message "Failed to mount /system (permission denied)"
In TWRP > advanced i'm not enable to mount /system partition
How can i solve ?