[SOLVED] Updater-scripts...corrupted? - General Questions and Answers

Trying to flash my aosp rom to test it, but my updater script is funking up every time...
The recovery log shows that there is an unexpected symbol/character...then syntax errors. I know it boils down to me using a text editor to edit these files. I have used nano, TextEdit, and Text Wrangler (on mac), all to no different result.
I'm officially stuck. Help?
Code:
// recovery.log //
-- Installing: SDCARD:deepfreeze.zip
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: SDCARD:deepfreeze.zip
Opening update package...
I:Update file path: /sdcard/deepfreeze.zip
Installing update...
I:Trying update-binary.
1 parse errors
line 3 col 34: syntax error, unexpected STRING, expecting ',' or ')'
E:Error in /sdcard/deepfreeze.zip
(Status 6)
Installation aborted.
edit: if i use the updater-script from a cyanogenmod nightly (unedited) I get no errors...Am I using the wrong editor?

So, in a stroke of pure genius, I found the solution. Edit with Eclipse, problem solved. Hope this helps someone

Related

[Q] No longer able to get Custom Rom (Cyanogen) to install in CWM

So I've been dealing with a rather unstable ROM for the past little while and have been struggling to install the newest nightly or stable build through CWM.
For some reason I am getting an error, and while at first I thought it was a bad .zip, or the location of it on my device - it has turned out to be a problem regardless of my many attempts to troubleshoot those possibilities. I have tried to toggle verification on/off, I have wiped all the data/cache/dalvik.. nothing is doing the trick.
Here's a dump of the log.
Code:
-- Installing: /storage/sdcard0/Download/cm-11-20140625-NIGHTLY-ville.zip
Finding update package...
I:Update location: /storage/sdcard0/Download/cm-11-20140625-NIGHTLY-ville.zip
Opening update package...
I:read key e=3 hash=20
I:read key e=65537 hash=20
I:2 key(s) loaded from /res/keys
Verifying update package...
I:comment is 1738 bytes; signature 1720 bytes from end
I:whole-file signature verified against key 0
I:verify_file returned 0
Installing update...
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: No such file or directory
about to run program [/tmp/backuptool.sh] with 2 args
grep: /system/build.prop: No such file or directory
Not backing up files from incompatible version: 11
run_program: child exited with status 127
unmount of /system failed; no such volume
error: make_ext4fs: open: No such file or directory
longjmp botch.
E:Error in /storage/sdcard0/Download/cm-11-20140625-NIGHTLY-ville.zip
(Status 0)
Installation aborted.
I:Can't partition non mmcblk device: /devices/platform/msm_sdcc.1/mmc_host/mmc0
I searched around for some of those log descriptions and also haven't come across many solutions. I have an HTC One S if that matters, but I think the problem is general enough that device is not the issue.
I had been able to flash a rom before with no issue, I went from a nightly Cyanogen to a Stable which ironically was much more buggier.
I am hoping that there is something I can do to resolve this that doesn't rely on me having to use a PC - since I am at work without my personal computer and I have all the files on my phone at the moment along with access to the file manager.
Thanks in advance!
RESOLVED: Issue was needed to update CWM for Cyanogen,
Beginning with nightly 20140501 (and eventually Milestone7), an updated recovery that has kernel support for by-name partitions is required to install/update CyanogenMod on this device. The following devices are affected:
evita - HTC One XL
fireball - HTC Droid Incredible 4G LTE
jewel - HTC EVO 4G LTE
m4 - HTC One Mini
m7 - HTC One [GSM]
m7spr - HTC One [Sprint]
m7vzw - HTC One [Verizon]
ville - HTC One S
Click to expand...
Click to collapse

Trouble flashing OTA

I tried to download the OTA today after not receiving it, and whenever I try to flash it I get an error reading
Code:
assert failed: apply_patch_check
E:Error executing updater binary in zip '/data/media/0/sideload.zip'
How do I fix this?

[Q] failed to update rooted nexus 7 2013 from 4.4.3 to 4.4.4

Hi everyone,
I have update my rooted Nexus 7 2013-LTE using the method described here:
liliputing.com/2014/06/upgrade-nexus-android-4-4-3-without-losing-root.html
successfully. I used SuperSU and Xposed framework was temporarily uninstalled. However, when I tried the same procedure to update to 4.4.4, following errors are appearing:
file "/system/bin/debuggerd" 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: "/system/bin/debuggerd" has unexpected contents.
"/system/bin/debuggerd" has unexpected contents.
E:Error in /cache/0c3dd9bfb71f2b8437be322e6cab5832ce2b4d35.signed-razorg-KTU84P-from-KTU84L.0c3dd9bf.zip
(Status 7)
Installation aborted.
It seems that file debuggerd is somehow changed (my guess by stickmount app). Is it correct that I have to replace the one installed in my /system/bin/ with the original one to continue updating to 4.4.4? Does anyone have the original debuggerd file nexus 7 2013-lte 4.4.3?
Thx u

[Q] Failed to sideload lollipop, says unexpected content

Hello,
I am trying to sideload android lollipop and I got this error that says:
Verifying current system...
"/system/fonts/Roboto-Regular.ttf" has unexpected contents
E: Error in /tmp/update/zip
(Status 7)
Installation aborted.
So what should I do?
Flash a system image or ROM.zip.

[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.

Categories

Resources