[Q] Cant update rom using sideload or using scard - Android Q&A, Help & Troubleshooting

Please help,
I first extracated the system.img and boot.img files from the phone and then I used kitchen to bulild a new ROM from these files, everything went well with this process
When I tried to sideload it gave me an error of missing scatter so I used some tool to extract the scatter file, I then put the scatter fileinside the update.zip file and tried to sideload again but now Im getting an error of missing type, here is the log:
Now send the package you want to apply
to the device with "adb sideload <filename>"...
userid is 2000
sideload_service invoked
adbd exiting after successful sideload
I:Finding update package...
I:Update location: /tmp/update.zip
Ipening update package...
I:read key e=3
I:1 key(s) loaded from /res/keys
I:Verifying update package...
I:verify_file returned 1
Error: Invalid OTA package, missing type
Installation aborted.
To me it looks like to be the securities keys but Ive tried signing the rom with the testkeys but still no luck, I get the same error.

Related

[help] clockwork mod recovery not working

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
-- Installing: /sdcard/update.zip
Finding update package...
I:Update location: /sdcard/update.zip
I:using /data/media, no /sdcard found.
Opening update package...
E:Can't open /sdcard/update.zip
(No such file or directory)
Installation aborted.
I:using /data/media, no /sdcard found.
goo

[Q] Using RecoverySystem to install an update.zip

Good afternoon,
I'm using
Code:
RecoverySystem.installPackage
to install a ROM that I've pushed to /sdcard/update.zip but am getting the following error code in ClockworkMod Recovery:
Code:
E:Invalid command argument
Finding update package...
E:unknown volume for path [/storage/emulated/legacy/update.zip]
E:Can't mount /storage/emulated/legacy/update.zip
Installation aborted.
Can anybody help me resolve this issue?

Help, please: Can't load OTApkg.zip

Moonshine rooted and s-off.
Downloaded the OTApkg.zip (verified MD5) and tried to flash in recovery. Failed.
Installed TWRP which at least allowed me to copy the log file. Relevant error message seems to be here:
---------------------------------------------------------------------------start
Installing '/sdcard/OTAPkg.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/OTAPkg.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
emmc_mount_partition: mount dev system success
checkmid: device mid = PL8320000
Verifying current system...
failed to stat "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex": No such file or directory
file "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.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: assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
E:Error executing updater binary in zip '/sdcard/OTAPkg.zip'
Error flashing zip '/sdcard/OTAPkg.zip'
---------------------------------------------------------------------------------------------------fin
Any thoughts?
Thanks in advance as always.
psetnik said:
Moonshine rooted and s-off.
Downloaded the OTApkg.zip (verified MD5) and tried to flash in recovery. Failed.
Installed TWRP which at least allowed me to copy the log file. Relevant error message seems to be here:
---------------------------------------------------------------------------start
Installing '/sdcard/OTAPkg.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/OTAPkg.zip.md5
Skipping MD5 check: no MD5 file found.
I:Zip does not contain SELinux file_contexts file in its root.
emmc_mount_partition: mount dev system success
checkmid: device mid = PL8320000
Verifying current system...
failed to stat "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex": No such file or directory
file "/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.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: assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
assert failed: apply_patch_check("/system/app/AudibleAndroid_v1.39_Release_Signed_20120914.odex", "f026ad9f240d917580bd3db2fd69c5890aab01c8", "860ed3c1848b6e69390bd381ee3425f126f55025")
E:Error executing updater binary in zip '/sdcard/OTAPkg.zip'
Error flashing zip '/sdcard/OTAPkg.zip'
---------------------------------------------------------------------------------------------------fin
Any thoughts?
Thanks in advance as always.
Click to expand...
Click to collapse
I don't think the OTApkg.zip is meant to be flashed... If you are trying to get updated firmware check my Sig link below. If you want an updated Rom go to the android dev section for sense roms...
Sent from my dlx using XDA Premium HD app

Not able to update CM10.2 to CM11

Hi all
I'm using CM10.2 with dorimanx kernel 3.12.0-rc6-Dorimanx-V9.43-JB-SGII-PWR-CORE.
There was an update notification for cm-i9100-a3ceb63be1-to-297dd5d348-signed which was downloaded but when I clicked install update It created problem . so I downloaded it manually from mirror[dot]internode[dot]on[dot]net and installed using recovery.
now there is another update of XNPQ32P Incremental which is downloaded but is not getting installed. manually downloaded from same site cm-i9100-297dd5d348-to-b0be55494d-signed.zip
but I'm not able to update..
here's the log.
Installing: /emmc/Download/cm-i9100-297dd5d348-to-b0be55494d-signed.zip
Finding update package...
I:Update location: /emmc/Download/cm-i9100-297dd5d348-to-b0be55494d-signed.zip
Opening update package...
Installing update...
Warning: No file_contexts
mount: failed to mount /dev/block/mmcblk0p9 at /system: Device or resource busy
unmount of /system failed; no such volume
file "/system/lib/modules/Si4709_driver.ko" 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/lib/modules/Si4709_driver.ko","53bf0332579e5679fa163eda3650504be88780f4","8b74736860895147af676ca4aa27a5689e36a562")
assert failed: apply_patch_check("/system/lib/modules/Si4709_driver.ko","53bf0332579e5679fa163eda3650504be88780f4","8b74736860895147af676ca4aa27a5689e36a562")
E:Error in /emmc/Download/cm-i9100-297dd5d348-to-b0be55494d-signed.zip
(Status 7)
Installation aborted.
Please help me in this matter.
ashish0294 said:
Hi all
I'm using CM10.2 with dorimanx kernel 3.12.0-rc6-Dorimanx-V9.43-JB-SGII-PWR-CORE.
There was an update notification for cm-i9100-a3ceb63be1-to-297dd5d348-signed which was downloaded but when I clicked install update It created problem . so I downloaded it manually from mirror[dot]internode[dot]on[dot]net and installed using recovery.
now there is another update of XNPQ32P Incremental which is downloaded but is not getting installed. manually downloaded from same site cm-i9100-297dd5d348-to-b0be55494d-signed.zip
but I'm not able to update..
here's the log.
Installing: /emmc/Download/cm-i9100-297dd5d348-to-b0be55494d-signed.zip
Finding update package...
I:Update location: /emmc/Download/cm-i9100-297dd5d348-to-b0be55494d-signed.zip
Opening update package...
Installing update...
Warning: No file_contexts
mount: failed to mount /dev/block/mmcblk0p9 at /system: Device or resource busy
unmount of /system failed; no such volume
file "/system/lib/modules/Si4709_driver.ko" 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/lib/modules/Si4709_driver.ko","53bf0332579e5679fa163eda3650504be88780f4","8b74736860895147af676ca4aa27a5689e36a562")
assert failed: apply_patch_check("/system/lib/modules/Si4709_driver.ko","53bf0332579e5679fa163eda3650504be88780f4","8b74736860895147af676ca4aa27a5689e36a562")
E:Error in /emmc/Download/cm-i9100-297dd5d348-to-b0be55494d-signed.zip
(Status 7)
Installation aborted.
Please help me in this matter.
Click to expand...
Click to collapse
Seems like an error in either the recovery or the zip. Why not just download the cm11 m10 snapshot for i9100 since the installer version is exactly identical to the m9 snapshot? I thinks it's just a problem with the zip file.

Twrp zte z982

So I'm trying to root this device in all ways possible, but anything is working, when I try to run the "recovery.img" using the command "adb sideload recovery.img" with the adb tool it gives me this error..
Finding update package...
Opening update package...
Verifying update package...
E:footer is wrong
Update package verification took 0.1 s (result 1).
E:Signature verification failed
E:error: 21
Installation aborted.
Please help :C

Categories

Resources