System Update fails verification problem, ROM flash fails device unknown? - Nexus 7 (2013) Q&A

Try to resurrect my old Nexus 7 2013 32 gigabyte tablet, started by flashing stock ROM. And the stock ROM wants to do a system update from May 2016 but fails with "verification problem". I would prefer you just update the latest custom ROM but no matter which version (15.1, 16.1, 17.1, pixel) I Flash it fails with:
E3004: This package is for device: flo; this device is .
E3004: This package is for device: flo; this device is .E:unknown
Any ideas?
Product name flow
Variant flow 32GB
Installer version flo 4.05
Signing yes
Secure boot enabled
Lock state unlocked
Android version 6.0.1
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
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: E3004: This package is for device: flo; this device is .
E3004: This package is for device: flo; this device is .E:unknown command [log]
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/PixelExperience_flo-10.0-20200123-2256-STOCK320dpi--UNOFFICIAL.zip'
Error flashing zip '/sdcard/Download/PixelExperience_flo-10.0-20200123-2256-STOCK320dpi--UNOFFICIAL.zip'
Updating partition details...
Iata backup size is 4009MB, free: 21308MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
E:Unable to mount storage.
I:Set page: 'flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'filemanagerlist'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Copying file /tmp/recovery.log to /usb-otg/recovery.log

Updating to the latest version of TWRP seems to have fixed the flashing error, thnx.

Related

[Q] Update with OpenDelta not working

Hi there,
Im trying to update through OpenDelta - I get the download - push flash - phone goes into TWRP - but no update happens - here is the log.. Can someone help on what I need to do?
etting 'tw_signed_zip_verify' to '1'
I:command is: 'install' and I:value is: 'OpenDelta/omni-4.4.4-20140730-geehrc-NIGHTLY.zip'
Installing zip file '/data/media/0/OpenDelta/omni-4.4.4-20140730-geehrc-NIGHTLY.zip'
Installing '/data/media/0/OpenDelta/omni-4.4.4-20140730-geehrc-NIGHTLY.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Verifying zip signature...
I:read key e=65537 hash=20
I:1 key(s) loaded from /res/keys
I:comment is 1477 bytes; signature 1459 bytes from end
I:failed to verify against key 0
I:i: 0, eocd_size: 1499, RSANUMBYTES: 256
E:failed to verify whole-file signature
E:Zip signature verification failed: 1
E:Error installing zip file '/data/media/0/OpenDelta/omni-4.4.4-20140730-geehrc-NIGHTLY.zip'
Done processing script file
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Switching packages (TWRP)
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
niknik76 said:
Hi there,
Im trying to update through OpenDelta - I get the download - push flash - phone goes into TWRP - but no update happens - here is the log.. Can someone help on what I need to do?
Click to expand...
Click to collapse
I also got issues with OpenDelta.
Now, I am using CyanDelta. Works well.

[Firmware][4.4.2] NE4/NE6/NF2 Recovery Flashable Firmware Corruption

Tried flashing firmware upgrade on I747.
File corruption error occurs.
Log File from TWRP (1)
Running boot script...
I:/sbin/postrecoveryboot.sh process ended with RC=0
Finished running boot script.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
I:Attempt to load settings from settings file...
I:Loading settings from '/data/media/0/TWRP/.twrps'.
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/ce166490'
I:Copying file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:TWFunc::Fixup_Time: Setting time offset from file /data/time/ats_2, offset 1390591287137
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/sdcard/I747_UCUFNE4_Base_Firmware.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/I747_UCUFNE4_Base_Firmware.zip.md5
Skipping MD5 check: no MD5 file found.
Verifying zip signature...
I:read key e=3 hash=20
I:read key e=65537 hash=20
I:2 key(s) loaded from /res/keys
E:footer is wrong
E:Zip signature verification failed: 1
Error flashing zip '/sdcard/I747_UCUFNE4_Base_Firmware.zip'
Updating partition details...
Iata backup size is 3245MB, free: 3053MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/sdcard/I747_UCUFNE4_Base_Firmware.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/I747_UCUFNE4_Base_Firmware.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
Log File from TWRP (2)
I747 UCUFNE4 Base Firmware
Preparing to Flash!
Extracting files and setting permissions...
minzip: Extracted file "/tmp/NON-HLOS.bin"
minzip: Extracted file "/tmp/aboot.mbn"
minzip: Extracted file "/tmp/dd"
minzip: Extracted file "/tmp/rpm.mbn"
minzip: Extracted file "/tmp/sbl2.mbn"
minzip: Extracted file "/tmp/sbl3.mbn"
minzip: Extracted file "/tmp/tz.mbn"
Verifying checksums...
FILE CORRUPTION DETECTED!!!
ABORTING FLASH.......
Cleaning up...
script result was [7]
Updating partition details...
Iata backup size is 3245MB, free: 3053MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
Forgot to say the phone is an I747 ATT. Running TWRP 2.7.1
Did you check the md5sum on the download? The NE4 package has been confirmed working.
Yes. The md5 did check out. It was correct.
One other note. When trying to install on TWRP. I checked the zip signature box, and i did receive the error message zip signature failed.
...
Dumb question can I flash through mobile odin, using the OTA/update ZIP file option. All other options require a .tar file
Thanks for any help.
Currently I'm parsing the updater-script and rechecked all of the sha1 checksums and they are all processing correctly. At least on the pc they are.
So I checked the md5 on the pc transfered the file to the phone and rechecked the md5.
All is good. So I know the file on the phone is the same as the file on the pc. Hence the checksums on the phone are correct.
So it leads me to believe the problem could be in the directory or file permissions??
I'm relatively new to this field, but I can tell you with 100% definition that the checksums are correct and the md5 file is 100% correct. At least on the pc they are.
Try using twrp 2.6.3.1, or maybe philz recovery. Could be a compatibility issue between the recovery and update binary.
DocHoliday77 said:
Try using twrp 2.6.3.1, or maybe philz recovery. Could be a compatibility issue between the recovery and update binary.
Click to expand...
Click to collapse
OK. I have new information to report back. (To Repeat I've checked the md5)
I flashed
twrp 2.6.3.1 ->File Corruption Detected
Philz Recover ->File Corruption Detected
CWM 6.0.4.7 -> File Corruption Detected
However on CWM when I click show log
I get
Install from sdcard complete.
I:using /data/media for /sdcard/0/clockworkmod/.last_install_path.
I:Can't partition non mmcblk device:/devices/platform/msm_sdoc.3/mmc_host/mmc1
Just rechecked...
Received the same exact error message through Philz Recovery. (in the log)
I've also run the Fix Permisions Tool. (In case the problem was a permision) However same outcome.
Any other ideas greatly appreciated.
Thanks to Doc for all the help also.
Non mmcblk device?!!!? Never seen that before, and it is wrong! The S3 is an mmcblk device! If you use a root capable file manager you can browse to /dev/block and you will see all the different mmcblk0p* partitions.
I hate to say it but i have no idea what could be going on. I hope someone else might have an idea. I am sorry for all the trouble. Hopefully we will figure it out soon. Ill try to find a different update-binary to see if that might help...

Trouble Updating to Lollipop

Hi guys!
I'm running a rootd Android KitKat, after unrooting the device and downloading the OTA file and trying to running it through TWRP since I couldnt update it automatically. But I get this error, what am I doing wrong? Kindly help!
Thanks.
PHP:
Installing '/external_sd/OTA.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.
load_volume_table(): failed to read /etc/recovery.fstab
I:emmc_scan_partitions:[partition_count:0] [allocat_num:128]
load_volume_table_v1(): Can't get the /proc/emmc table
main(): parse version 1 recovery.fstab
L50QCT.01.401.016
ensure_path_mounted(): unknown volume for path [/system]
ensure_path_mounted_v1(): unknown volume for path [/system]
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: File exists
ensure_path_mounted(): unknown volume for path [/data]
ensure_path_mounted_v1(): unknown volume for path [/data]
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: File exists
script aborted: Package expects build fingerprint of htc/htc_europe/htc_a5dug:4.4.2/KOT49H/408055.11:user/release-keys or htc/htc_europe/htc_a5dug:5.0.2/LRX22G/510432.1:user/release-keys; this device has htc/omni_a5/a5:4.4.4/KTU84P/eng.dees_troy.20150212.043028:eng/test-keys.
Package expects build fingerprint of htc/htc_europe/htc_a5dug:4.4.2/KOT49H/408055.11:user/release-keys or htc/htc_europe/htc_a5dug:5.0.2/LRX22G/510432.1:user/release-keys; this device has htc/omni_a5/a5:4.4.4/KTU84P/eng.dees_troy.20150212.043028:eng/test-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/external_sd/OTA.zip'
Error flashing zip '/external_sd/OTA.zip'
Updating partition details...
I:Data backup size is 67MB, free: 4006MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log
Izz0_ said:
Hi guys!
I'm running a rootd Android KitKat, after unrooting the device and downloading the OTA file and trying to running it through TWRP since I couldnt update it automatically. But I get this error, what am I doing wrong? Kindly help!
Thanks.
PHP:
Installing '/external_sd/OTA.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.
load_volume_table(): failed to read /etc/recovery.fstab
I:emmc_scan_partitions:[partition_count:0] [allocat_num:128]
load_volume_table_v1(): Can't get the /proc/emmc table
main(): parse version 1 recovery.fstab
L50QCT.01.401.016
ensure_path_mounted(): unknown volume for path [/system]
ensure_path_mounted_v1(): unknown volume for path [/system]
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: File exists
ensure_path_mounted(): unknown volume for path [/data]
ensure_path_mounted_v1(): unknown volume for path [/data]
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/userdata at /data: File exists
script aborted: Package expects build fingerprint of htc/htc_europe/htc_a5dug:4.4.2/KOT49H/408055.11:user/release-keys or htc/htc_europe/htc_a5dug:5.0.2/LRX22G/510432.1:user/release-keys; this device has htc/omni_a5/a5:4.4.4/KTU84P/eng.dees_troy.20150212.043028:eng/test-keys.
Package expects build fingerprint of htc/htc_europe/htc_a5dug:4.4.2/KOT49H/408055.11:user/release-keys or htc/htc_europe/htc_a5dug:5.0.2/LRX22G/510432.1:user/release-keys; this device has htc/omni_a5/a5:4.4.4/KTU84P/eng.dees_troy.20150212.043028:eng/test-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/external_sd/OTA.zip'
Error flashing zip '/external_sd/OTA.zip'
Updating partition details...
I:Data backup size is 67MB, free: 4006MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log
Click to expand...
Click to collapse
Read This post
http://forum.xda-developers.com/desire-816/help/how-to-install-ota-update-t3097232
Can't update ota through twrp. Or any custom recovery
.you need to flash the stock recovery..
Then relock bootloader..
slkpmp said:
Can't update ota through twrp. Or any custom recovery
.you need to flash the stock recovery..
Then relock bootloader..
Click to expand...
Click to collapse
Hey! Thanks for you reply, I've tried flashing the stock recovery via fastboot and this is what happenedm what do you suggest I do?
PHP:
C:\adb>fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.016s]
finished. total time: 0.018s
C:\adb>fastboot flash zip OTA_A5_DUG_L50_DESIRE_SENSE60_MR_HTC_Europe_2.34.401.1
-1.58.401.11_release_426622iqqf91v0oa9sb1r9.zip
sending 'zip' (859807 KB)...
OKAY [ 32.227s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) zip info parsing...
FAILED (remote: 24 parsing android-info fail)
finished. total time: 37.386s
sheenobis said:
Read This post
http://forum.xda-developers.com/desire-816/help/how-to-install-ota-update-t3097232
Click to expand...
Click to collapse
Thanks for your reply but I couldn't understand the 3rd and 4th steps in the first method!
Appears your trying to flash the ota not just the stock recovery..
The goal is to
1 unroot
2 flash stock recovery
3 relock bootloader..
4 reboot..accept..download..and update OTA
or run the RUU.exe program let it convert you back to stock unrooted..
I have he a5-chl .and these were the steps I needed.
your phone may be diffrent..
slkpmp said:
Appears your trying to flash the ota not just the stock recovery..
The goal is to
1 unroot
2 flash stock recovery
3 relock bootloader..
4 reboot..accept..download..and update OTA
or run the RUU.exe program let it convert you back to stock unrooted..
I have he a5-chl .and these were the steps I needed.
your phone may be diffrent..
Click to expand...
Click to collapse
Thanks for you reply! How to run an RUU program? Thanks!

please help me about twrp backup error

it occur after perform system partition backup.
here is some part of RecoveryLog
I:Backup Name is: '2017-01-30--08-49-09_MXB48T'
I:Full_Backup_Path is: '/data/media/0/TWRP/BACKUPS/d5a1b382/2017-01-30--08-49-09_MXB48T/'
I:Calculating backup details...
* Total number of partitions to back up: 1
* Total size of all data: 757MB
* Available space: 4526MB
[BACKUP STARTED]
* Backup Folder: /data/media/0/TWRP/BACKUPS/d5a1b382/2017-01-30--08-49-09_MXB48T/
Backing up System...
Error opening: '/system/app/AMAPNetworkLocation' (Not a directory)
I:Error in Generate_TarList!
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/d5a1b382/2017-01-30--08-49-09_MXB48T/system.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/d5a1b382/2017-01-30--08-49-09_MXB48T/recovery.log
I:Set page: 'action_complete'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log
and I attatch whole file too
thanks for helping me
I just delete AMAPNetworkLocation in twrp terminal and . . .
TADA !!
It's back to normal
I can backup system partition
I would have recommended a filesystem check from TWRP and then a retry...

| Xiaomi Mi5 | can't update since April

Ok, so I'm new here and I'm having problems updating my Mi5 32Gb to newest nightlies of Lineage OS 15.1
It all started in the beginning of May when I was having trouble with the 07.05 build (my Google account refused to work) and downgraded back to the latest April one. After the new build came out I've decided to update again multiple times but with no success.
Here's a raw piece of log for you guys:
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/sdcard/lineage-15.1-20180528-nightly-gemini-signed.zip'
Checking for Digest file...
Skipping Digest check: no Digest file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment not used in updater.
selinux_android_file_context: Error getting file context handle (No such file or directory)
Warning: No file_contextsscript aborted: assert failed: xiaomi.verify_modem("2018-04-20 15:21:31") == "1"
assert failed: xiaomi.verify_modem("2018-04-20 15:21:31") == "1"error: 25
Updater process ended with ERROR: 7
I:Install took 0 second(s).
Error installing zip file '/sdcard/lineage-15.1-20180528-nightly-gemini-signed.zip'
Updating partition details...
Iata backup size is 7575MB, free: 4786MB.
I:Unable to mount '/usb_otg'
I:Actual block device: '', current file system: 'vfat'
...done
I do have a basic understanding of what's written here and if I were to have enough time to look into it, maybe I would have solved it already, but something tells me it'd be better to seek guidance. Any help would be appreciated. Thanks in advance.
MiCrush said:
Ok, so I'm new here and I'm having problems updating my Mi5 32Gb to newest nightlies of Lineage OS 15.1...
Click to expand...
Click to collapse
I don't have this device but, your best bet is to post this question within the following Official LineageOS 15.1 thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=3669247
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Categories

Resources