problem chown/mod flashing AOSP over HTC Desire - Desire General

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

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?

cyanogen: from 4.0.1 to 4.2.1

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

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

[Q] problem by cooking my first rom

Hi developers
I am developing my first ROM. I'm using dsixdas Android Kitchen. It's a mysense rom. I have only change some Images. Now when i flash the rom, there is the follow fail:
Code:
Copying Files...
E:Can't chown/mod /system/etc/bluz
(no such file of directory)
E:Failure at line 384:
set_perm_recursive 1002 1002 0755 0440 System:etc/bluz
Installation aborted.
Can someone help me?
have someone an idea?
try toggle verification
and how can i toggle verification?
can i do this with disxda's Android Kitchen?
Maybe you shouldn't be cooking a ROM you might break your phone lol
Sent from my HTC Desire using XDA Premium App
tischn said:
and how can i toggle verification?
Click to expand...
Click to collapse
You do that form recovery. If you are. Just find toggle signature verification, and click it. It should say signature verification disabled
tischn said:
Hi developers
I am developing my first ROM. I'm using dsixdas Android Kitchen. It's a mysense rom. I have only change some Images. Now when i flash the rom, there is the follow fail:
Code:
Copying Files...
E:Can't chown/mod /system/etc/bluz
(no such file of directory)
E:Failure at line 384:
set_perm_recursive 1002 1002 0755 0440 System:etc/bluz
Installation aborted.
Can someone help me?
Click to expand...
Click to collapse
ehm, the error message is clear:
E:Can't chown/mod /system/etc/bluz
(no such file of directory)
did you check if the directory exists in the folder structure of your rom?
Hypercaine said:
You do that form recovery. If you are. Just find toggle signature verification, and click it. It should say signature verification disabled
Click to expand...
Click to collapse
i'm using the ClockworkMod Recovery v2.5.0.7 but i can't find anywhere.
greg17477 said:
ehm, the error message is clear:
E:Can't chown/mod /system/etc/bluz
(no such file of directory)
did you check if the directory exists in the folder structure of your rom?
Click to expand...
Click to collapse
jes i did, but i isn't there.
Is that only a folder, than i can create?

(solved)Status 7 When install Update

Hi
I Installed the sensation rom. But i allways have some wifi issue so i go back to stock. wiped everything included chache dalvic...
After i installed the custom rom i get an update OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
I tried to install but get an error status 7
I renamed it to update.zip and tried to install.
this didnt work
i download this file manual from a thread here. but this dindt work
what can i do to get the last update?
Running extendedcommand...
Waiting for SD Card to mount (20s)
SD Card mounted...
Verifying SD Card marker...
bbf1350144b25f6e51499717bf478006
I:Running script:
I:
ui_print("ROM Manager Version 5.0.0.6");
ui_print("5. Mai 2012");
ui_print("Preparing to install ROM...");
run_program("/cache/dowipedalvikcache.sh");
assert(install_zip("/sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip"));
parse returned 0; 0 errors encountered
ROM Manager Version 5.0.0.6
5. Mai 2012
Preparing to install ROM...
about to run program [/cache/dowipedalvikcache.sh] with 1 args
mount: mounting /dev/block/mmcblk0p13 on /cache failed: Device or resource busy
mount: can't find /sd-ext in /etc/fstab
umount: can't umount /sd-ext: No such file or directory
run_program: child exited with status 1
-- Installing: /sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
Finding update package...
I:Update location: /sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
Opening update package...
Installing update...
checkmid: device mid = PJ4610000
Copying fotaBoot to /data/system for customize reload...
Verifying current system...
file "/system/app/AppSharing.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/AppSharing.apk", "afdd27bddd2ffffafeac22857e88b0cb49507f3c", "5b34f2af9b66e8c9a99a4b31224f086ebd293592")
assert failed: apply_patch_check("/system/app/AppSharing.apk", "afdd27bddd2ffffafeac22857e88b0cb49507f3c", "5b34f2af9b66e8c9a99a4b31224f086ebd293592")
E:Error in /sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip
(Status 7)
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/Download/OTA_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.7-1.28.401.9_release_259295wbmgoi0p47wgsfl6.zip")
Click to expand...
Click to collapse
You need stock recovery.
I tried
i flashed the stock Rom. there comes the Update which i cant install
ok i get it i flashed the old boot.img and everythink worked fine...
i extracted it from the old custom rom...
Could you explain how you fixed this? I have exactly the same error: update failed due to error AppSharing.apk - status 7.
It seems OTA is verifying current applications for discrepancies - problem is I have stock recovery and stock ROM which I installed using this RUU from ShippedRoms with verified MD5 > RUU_PYRAMID_ICS_HTC_Europe_3.32.401.5_Radio_11.69.3504.00U_11.22.3504.07_M_release_246089_signed
I'm confused as OTA is perhaps informing itself that AppSharing.apk has been modified... but from a clean install??
Neutrino22 said:
Could you explain how you fixed this? I have exactly the same error: update failed due to error AppSharing.apk - status 7.
It seems OTA is verifying current applications for discrepancies - problem is I have stock recovery and stock ROM which I installed using this RUU from ShippedRoms with verified MD5 > RUU_PYRAMID_ICS_HTC_Europe_3.32.401.5_Radio_11.69.3504.00U_11.22.3504.07_M_release_246089_signed
I'm confused as OTA is perhaps informing itself that AppSharing.apk has been modified... but from a clean install??
Click to expand...
Click to collapse
Errrr... something is wrong here.
BenPope said:
Errrr... something is wrong here.
Click to expand...
Click to collapse
Lol... I'm in marvel at your attention to detail!
Since you're a senior member, could I call upon your wealth of knowledge which you may dispense here, in this very thread?
Warm regards
Neutrino22 said:
Lol... I'm in marvel at your attention to detail!
Click to expand...
Click to collapse
The One X is Endeavor, not Pyramid.
BenPope said:
The One X is Endeavor, not Pyramid.
Click to expand...
Click to collapse
Oh, how could I have missed that! I'm in the wrong forum! Many thanks for highlighting my stupidity (which appears to be boundless!)
Warms regards.
I guess the problem is still the same, but the solution and diagnostics might differ.
I would say you need to check your recovery and boot.img are stock, you are locked, and that you are not installing an RUU with a bootloader older than the currently installed one. But I know nothing of Pyramid.
BenPope said:
I guess the problem is still the same, but the solution and diagnostics might differ.
I would say you need to check your recovery and boot.img are stock, you are locked, and that you are not installing an RUU with a bootloader older than the currently installed one. But I know nothing of Pyramid.
Click to expand...
Click to collapse
It's all working now. Manage to obtain RUU. Thanks!

Categories

Resources