E:footer is wrong when sideloading zip on X1032 Cyanogenmod - Moto G Q&A, Help & Troubleshooting

I stupidly deleted google download manager, and I've converted a apk of Download manager for Android to a flashable zip as a replacement. I put it in sdk platform-tools and opened a command prompt in the directory. I use
Code:
adb sideload blah.zip
and get this in the terminal:
Code:
Total xfer: 0.06x
This on the phone (and a android on it's back):
Code:
Install failed
(blah blah)
E:footer is wrong
E:signature verification failed
Thank you for your help.

Related

Droid Inc2 root Error (misc_version question)

Hey, new member, I know this is the wrong place but I can't post here:
http://forum.xda-developers.com/showthread.php?t=1298990&page=7
Ubuntu 11.10, everything seems to be working ok, but when I run "sudo ./adb shell /data/local/tmp/sh -c '/data/local/tmp/misc_version -s 2.18.605.3'" I get:
Code:
--set_version set. VERSION will be changed to: 2.18.605.3
Patching and backing up partition 17...
Error opening backup file.
I had been trying to run all the commands myself, so then I tried running the actual "hack-vivow.sh" script. I got the same error mid-stream, but it proceeded, until hitting this error at the end:
Code:
INFOchecking main version...
FAILED (remote: 43 main version check fail)
rebooting...
Any help? What's in misc_version, and what can cause this?
So it looks like it's an access to the /sdcard/ issue, where misc_version tries to make a backup to the sdcard. I can't run "adb shell 'cd /sdcard/'" successfully, but the phone thinks it's mounted...I can unmount and remount it. Thoughts?

cyanogenmod flash_image boot

Hi
I create an apk.
It execute "erase_image boot".
It failed with "could not estabilish write context for boot".
When the apk do "flash_image boot boot.img", it returned "error writing boot".
This command works in adb.
How to make it works?

[Q] sideload error:Error executing updater binary in zip

[phone info] Nexus 5, D820, Android 6.0 MRA58K , rooted , TWRP
I sideload a zip file (55f77e7f2512b8759b3ff14cd9be04cbdeb7274e.signed - hammerhead-MRA58N-from-MRA58K1) in TWRP , but return error. "Error executing updater binary in zip", " this device has google/omni_hammerhead/hammerhead:5.0.2/LRX22G/2:eng/test-keys" ...
I can't post all the recovery.log content, as the outside link rule. Amazing~
this message was pulled from the recovery.log
script aborted: Package expects build fingerprint of google/hammerhead/hammerhead:6.0/MRA58K/2256973:user/release-keys or google/hammerhead/hammerhead:6.0/MRA58N/2289998:user/release-keys; this device has google/omni_hammerhead/hammerhead:5.0.2/LRX22G/2:eng/test-keys.
Package expects build fingerprint of google/hammerhead/hammerhead:6.0/MRA58K/2256973:user/release-keys or google/hammerhead/hammerhead:6.0/MRA58N/2289998:user/release-keys; this device has google/omni_hammerhead/hammerhead:5.0.2/LRX22G/2:eng/test-keys.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sideload/package.zip'
I:Signaling child sideload process to exit.
sideload_host finished
I:Waiting for child sideload process to exit.

Can't install a modified app using ADB "A problem occured during package analyze"

Can't install a modified app using ADB "A problem occured during package analyze"
Hello,
I have modify an app (actually a simple .txt file) and I package it again.
Then I move the base.apk in the original folder in /data/app/app_folder and when I hit base.apk, an error message appears :
"A problem occured during package analyze"
Have you got any idea where I am wrong ?
Thanks
probably corrupted signature - Did you re-sign it?
DSA said:
probably corrupted signature - Did you re-sign it?
Click to expand...
Click to collapse
In the installation folder there was : "lib" folder, "oat" foolder and the base.apk
I only modified the base.apk using an extractor like 7-zip and pack it again after in .apk
How do I sign it again ?
Error log:
"C:\Program Files (x86)\Minimal ADB and Fastboot>adb install D:\app\com.toyquest.Cayla.fr-1\base.apk
Failed to install D:\app\com.toyquest.Cayla.fr-1\base.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1492354494.tmp/base.apk: AndroidManifest.xml]"
I sign it using :
keytool -genkey -v -keystore my-release-key.keystore -alias CAYLA -keyalg RSA -keysize 2048 -validity 10000
sudo jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore base.apk CAYLA
sudo jarsigner -verify -verbose -certs base.apk
Right method ?
Session 'app': Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
Retry
i cant install , if i do push abb can i ?
The error reported has NOTHING to do with APK's signature:
Error log:
"C:\Program Files (x86)\Minimal ADB and Fastboot>adb install D:\app\com.toyquest.Cayla.fr-1\base.apk
Failed to install D:\app\com.toyquest.Cayla.fr-1\base.apk: Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1492354494.tmp/base.apk: AndroidManifest.xml]"
Click to expand...
Click to collapse
APK's AndroidManifest.xml is the culprit! Wondering why you don't carefully read error messages?
it's just that you removed or modify some line in xml file which is causing problem. just search for it alternatively if you want to change image file you can swamp it with another file with same name. hope it helped

rsync Android / TWRP

I'm trying to create rsync to my andorid / TWRP So i can backup android folder
My code for compile:
Code:
Downloaded from (https://github.com/WayneD/rsync/releases)
./configure --host=arm-linux-gnueabi CFLAGS="-static" --disable-xxhash --disable-zstd
make
make prefix=/home/fredy/Desktop/rsync install
i copy the file ("rsync", "rsync-ssl") into /sbin
But i got this error here and testet with command "rsync":
Code:
/sbin/rsync: line 1: syntax error: unexpected "("
Can you help me out?
Thanks for your time

Categories

Resources