cyanogen: from 4.0.1 to 4.2.1 - Upgrading, Modifying and Unlocking

Can I know what should I do to make this update? Just replace update.zip file or what?
Now I get this error:
E:Failure at line 5:
run_program PACKAGE:backuptool.sh backup
thanks in advance!
Htc g1

Related

[Theme Template] For Haykuro H and G builds

I have posted these in another thread, but thought it deserves its own thread.
These will be helpful for anyone creating themes for Haykuro's builds.
With these you can create non-wipe update.zip files for these builds.
H Build (Based on Hr4)
G Build (Based on Gr4)
Update: Fixed the issue with update-script
I just tried to flash this after dropping in my images and the update was shot down. I immediately signed your unmodified version, and attempted to flash it, and got the same error. Not sure what would be causing it, since I'm not one for modifying update-scripts, but here's the error.
Code:
Installing from sdcard...
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Copying files...
E:Can't mount SYSTEM
E:Failure at line 1:
copy_dir PACKAGE:system SYSTEM
Installation aborted
Press Home+Back to reboot
bahnburner said:
I just tried to flash this after dropping in my images and the update was shot down. I immediately signed your unmodified version, and attempted to flash it, and got the same error. Not sure what would be causing it, since I'm not one for modifying update-scripts, but here's the error.
Code:
Installing from sdcard...
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Copying files...
E:Can't mount SYSTEM
E:Failure at line 1:
copy_dir PACKAGE:system SYSTEM
Installation aborted
Press Home+Back to reboot
Click to expand...
Click to collapse
Which version did you try?
I think i missed a ":" in the H version.
I will update soon. Until then, it will work if you change the update-script to look like this.
Code:
copy_dir PACKAGE:system SYSTEM:
Update: I was also missing a new line after the command.
I am uploading new files now.
Thanks man. Like I said, I'm not much for modding update-scripts.
***EDIT***
I can download them
but is there another line in the update script needed??
and in the update script u said there is another command needed...
i only see one line...
copy_dir PACKAGE:system SYSTEM:
is there one after this?
bigballa said:
***EDIT***
I can download them
but is there another line in the update script needed??
and in the update script u said there is another command needed...
i only see one line...
copy_dir PACKAGE:system SYSTEM:
is there one after this?
Click to expand...
Click to collapse
No that is it.
And since you downloaded them now, i'm sure you downloaded the new version.
What was needed in the old version was an empty line after the first line.
Does your G template work for the new 5.0.2g build?

[Q][Kitchen] E:Board does not support mtd utils.E:Failure at line ***:write_raw_image

I used Kitchen to remove some APKs from a Clockworkmod backup I made. I was able to sign the APKs and zip but after recovery, I got the error:
E:Board does not support mtd utils.E:Failure at line ***:
write_raw_image PACKAGE:boot.img BOOT:
Installation aborted.
Did I miss a step somewhere? I'd like to find out if I missed something or if there is a fix to be able to flash the ROM I made.
I'm using an HTC Desire Z with 1.34.707.5 and rooted using gfree.

problem chown/mod flashing AOSP over HTC Desire

Hello, I have a problem when I try to flash the AOSP compiled for the HTC Desire,
I'm using the recovery ClockworkMod 2.5.0.7
and when I flash the update.zip I get the following error:
E: Can't chown/mod /system/keyspa.sh
(No such file or directory)
E:Failure at line 14:
set_perm 0 0 06755 SYSTEM:keyspa.sh
Installation aborted
somebody know what's happening?
Thanks in advance..
How about keeping it all in one thread as opposed to starting a new one for every problem?
EddyOS said:
How about keeping it all in one thread as opposed to starting a new one for every problem?
Click to expand...
Click to collapse
Sorry, Now I did it.
Just in this case I dont have any idea how can solve it.
Thanks in advance..
now the problem is the update-script / updater-script
I think the problem is the update-script. Well I try replacing the update-script by a updater-script from customized roms like Oxygen1.04 or CyanogenMod 6. But when I try to apply the update.zip I get the following error:
can't open /dev/tty0: No such file or directory
So I'm using the ClockworkMod recovery 2.5.0.7, and I don't know if that recovery can work with "updater-script" or just update-script.
Hope anybody can help me
how can I generate the update-binary for my updater-script
I figured that maybe the problem is because I dont have a udpate-binary file next to my updater-script.
someone can told how can I generate this file?
Thanks in advance..

[Q] Unable to update. Missing Qik.apk

Im trying to update my phone and I the installation aborts. Looking at the recovery log it says that it can't find the qik.apk. Where can I get it so I can update the phone?
failed to stat "/system/app/qik.apk": No such file or directory
file "/system/app/qik.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/qik.apk", "5b256baeaa079afa6fbaa0bbed6c4ce1d8e5c938", "00a8ce96e19f6141ccd9d6564b11ad81958ec001")
I:read: ui_print assert failed: apply_patch_check("/system/app/qik.apk", "5b256baeaa079aassert failed: apply_patch_check("/system/app/qik.apk", "5b256baeaa079aI:read: fa6fbaa0bbed6c4ce1d8e5c938", "00a8ce96e19f6141ccd9d6564b11ad81958ec001")
E:unknown command [fa6fbaa0bbed6c4ce1d8e5c938",]
I:read: ui_print
E:Error in /cache/OTA_Supersonic_4.67.651.3-4.54.651.1_releaseecho5vr6xg5c1hzy.zip
(Status 7)
Installation aborted.
Click to expand...
Click to collapse
Are you rooted? If so, you shouldn't be taking an update.
Either way, you can find it in any stock rom in the Dev section, however you will need to be rooted to push it to the system folder, which again, if you are rooted you shouldnt be taking an update.
Oh? I am rooted. I didn't know about not accepting updates. What do I do when new software updates come out? Are there rooted versions of them?
SabaBoBaba said:
Oh? I am rooted. I didn't know about not accepting updates. What do I do when new software updates come out? Are there rooted versions of them?
Click to expand...
Click to collapse
Yes there are rooted versions out actually multiple rooted versions of the 4.67 update just head over to the development section and look for them or use the search feature
Sent from my PC36100 using XDA

[Q] ApplicationsProvider.apk doesn't have any of expected sha1 sums

I am currently running 4.1.1 takju and I can't update to 4.1.2 and therefore can't update to 4.2 (via OTA).
I tried to do it manually by copying the file to /sdcard but I still get checksum errors.
I thought that I was on stock 4.1.1 so I can't see how this file fails the checksums.
Can I download and replace ApplicationsProvider.apk with the correct checksum from somewhere?
This is the end of the recovery log.
Code:
-- Installing: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
Finding update package...
I:Update location: /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
I:using /data/media, no /sdcard found.
Opening update package...
Installing update...
installing samsung updater extensions
mount: failed to mount /dev/block/platform/omap/omap_hsmmc.0/by-name/system at /system: Device or resource busy
Verifying current system...file "/system/app/ApplicationsProvider.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/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
assert failed: apply_patch_check("/system/app/ApplicationsProvider.apk", "13b2f4b91d21fd67dff3e72f63745255dd4d9c1a", "08db09578758c61cf5c8ec895b1331a5fa4cc349")
E:Error in /sdcard/!ReadyToFlash/06fa1976791d.signed-takju-JZO54K-from-JRO03C.06fa1976.zip
(Status 7)
Installation aborted.
Got exactly same here.
If you still care, here is how I fixed the problem.
1. Download firmware image: https://developers.google.com/android/nexus/images
2. Follow HOW-TO: Return to stock for ALL Galaxy Nexus phones except step D.10
I was hoping to avoid flashing and just replace the single file and do an OTA update.
I extracted the factory image with 7-Zip and thought I could extract the relevant apk from system.img.
Unfortunately unyaffs kept failing with a stack dump.
Looks like it is backup and reload now

Categories

Resources