Problems flashing uotkitchen Theme - XPERIA X10 General

Hello,
I tried changing my system look with uotkitchen. Everything worked fine until I have the update zip for recovery. I try to flash it via xrecovery 0.3 but it says that there is a syntax error in the update script. Perhaps anybody will find the error:
copy_dir PACKAGE:framework SYSTEM:framework
copy_dir PACKAGE:app SYSTEM:app
copy_dir PACKAGE:system SYSTEM:
Click to expand...
Click to collapse
I'm under android 2.3 with the custom rom in my sig.
Greetings

Related

Creating a simple update.zip

Hi all,
I've been trying to create a simple update.zip signed folder for my HTC Hero.
I have read all different "how to" but still face the same error message "Syntax error in update script"
I have copy/paste the following into the update-script
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10
i have create 2 folders.
1. system/app (here i have placed my APK)
2. META-INF/com/google/android/update-script
Now, i have made a ZIP file including the 2 folders.
I am using the autosign.bat and i manually select the ZIP file i created.
Everything is going ok, but then i get the Syntax error in update script when i try to run this using Amon Ra's bootloader.
Any suggestion or ideas?
I did it!!!
The problem was the extra " " space i had on the last script line!
Now, it works!
Another question. Is there a way to sign zip files on OS X?
Can you point me on the right direction pls?

Need help please

I'm trying to flash roms using clockworks custom recovery.....but everytime. I get to the part when the rom zip file starts copying files to the system I get this error
E:can't chown/mod system/xbin/ipctool
No such file or directory
E:failure at line 67
set_perm 00 04755 SYSTEM:xbin/ipctool
Installation aborted
Thus resulting in me having to restore my backup in order to get the phone working again.....

Creating Custom ROM...Need help!

Hi All,
So here's the thing.. I've started to dabble in creating my own ROM, and I've hit a roadblock. I've started out with the basics, took JS7 from Samfirmware.com, replaced Zimage with a Hardcore Kernel, Zipaligned and de-odexed it, changed boot animation and shutdown animation, and created an update.zip. That's all. When I try to flash through CWM Recovery, (I did factory reset, dalvik, cache partion) I get an error:
E: Can't symlink /system/bin/cat
E: Failure at line 7:
symlink toolbox SYSTEM:bin/cat
Installation aborted.
I've messed around with the Galaxy for quite a while, but when am fairly new to the creation process.....Any and all help would be greatly appreciated, as when I get the hang of the basics of this I have big plans for an awesome ROM!
Thanks in advance,
Marky
what does line 7 says in updater-script? can you post the script?
deconfrost said:
what does line 7 says in updater-script? can you post the script?
Click to expand...
Click to collapse
Hey thanks for responding...so it is a problem with the updater-script? Forgive my ignorance...like i said im new to the cooking thing...where is it located in the rom?
Sent from my GT-I9000 using Tapatalk
Nevermind found it will post in a sec
Sent from my GT-I9000 using Tapatalk
show_progress 0.1 0
format SYSTEM:
delete DATA:local
delete_recursive SYSTEM:
delete_recursive DATA:dalvik-cache
copy_dir PACKAGE:system SYSTEM:
symlink toolbox SYSTEM:bin/cat
symlink toolbox SYSTEM:bin/chmod
symlink toolbox SYSTEM:bin/chown
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/df
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/ln
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/ls
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/mount
symlink toolbox SYSTEM:bin/mv
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rm
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/umount
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
show_progress 0.1 10
show_progress 0.2 0
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm_recursive 0 0 0755 0755 SYSTEM:etc
set_perm 0 3003 02755 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluetooth
set_perm 0 0 0755 SYSTEM:etc/bluetooth
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
set_perm_recursive 0 0 0777 0777 SYSTEM:etc/init.d
set_perm 0 0 04755 SYSTEM:xbin/su
set_perm 0 0 04755 SYSTEM:xbin/busybox
show_progress 0.2 10
show_progress 0.3 0
symlink /system/xbin/su SYSTEM:bin/su
run_program PACKAGE:root
show_progress 0.3 10
show_progress 0.4 0
format CACHE:
copy_dir PACKAGE:data DATA:
set_perm 2000 2000 0771 DATA:local
set_perm 1000 1000 0771 DATA:app
copy_dir PACKAGE:sdcard SDCARD:
copy_dir PACKAGE:updates TMP:/updates
set_perm 0 0 755 TMP:/updates/redbend_ua
run_program /tmp/updates/redbend_ua restore /tmp/updates/modem.bin /dev/block/bml12
run_program /tmp/updates/redbend_ua restore /tmp/updates/zImage /dev/block/bml7
show_progress 0.4 10
have you try doing a nandroid backup, format system, wipe the rest, then flash?
If you have that error when the updater tries to create that symlink, that means most of the time that a /system/bin/cat file already exists.
Thanks, I will look into that....appreciate you taking the time to try to help
Does that mean each symlink command creates the file it describes in System/bin?
I would hope so
Ok, so I tried what you said, formatted system, wiped, still getting the same error at the /cat file...btw doesn't the line in the script that says "delete_recursive SYSTEM:" do that? when I apply the zip it says formatting system...
THX
markywylder said:
Hi All,
Zipaligned and de-odexed it, changed boot animation and shutdown animation, and created an update.zip.
Click to expand...
Click to collapse
Sorry, how do you make zipalign and odex? And how do you create update.zip?
Sent from my GT-I9000 using Tapatalk
markywylder said:
Ok, so I tried what you said, formatted system, wiped, still getting the same error at the /cat file...btw doesn't the line in the script that says "delete_recursive SYSTEM:" do that? when I apply the zip it says formatting system...
THX
Click to expand...
Click to collapse
that's strange, may need someone more experience than I on your case, Im not that experienced. I did created a working update.zip but I can't see what went wrong on yours, or maybe im just missing something.
I will post back if I can find anything for you.
Your English is fine
Funny to be answering a question in my thread asking a question...lol
Follow this Link http://forum.xda-developers.com/showthread.php?t=633246
and do a little reading
Once again I really appreciate you trying to help me, I hit the thanks button If I can ask what steps/Base Rom did you use to create yours, and did you create your own updater-script?
I made mine based on CM7 for the Desire HD, mostly like what you did, changed boot animation, removed some system apps that I dont want, added a few tools and apps I want, changed the launcher etc, I went through updater-script that was already there for CM7 stock rom, yes mine uses updater-script and update-binary, zipalign and resigned, flashed and worked.
deconfrost said:
I made mine based on CM7 for the Desire HD, mostly like what you did, changed boot animation, removed some system apps that I dont want, added a few tools and apps I want, changed the launcher etc, I went through updater-script that was already there for CM7 stock rom, yes mine uses updater-script and update-binary, zipalign and resigned, flashed and worked.
Click to expand...
Click to collapse
I don't know if this means anything or not, but I don't have an update-binary, but I've looked at some updater-scripts for Galaxy S and they seem to have them...Any Idea where I find/create this for mine? I can't seem to find the updater script on the stock ROM...
if its update-script you have in yours, it doesnt use update-binary, updater-script uses update-binary, also got something to do with the version of clockwork you use, I'm using 3.0.0.6 for Desire HD, and it will not work with update-script, so it needs to be converted to updater-script and the binary, and the codes are slightly different in the script.
deconfrost said:
if its update-script you have in yours, it doesnt use update-binary, updater-script uses update-binary, also got something to do with the version of clockwork you use, I'm using 3.0.0.6 for Desire HD, and it will not work with update-script, so it needs to be converted to updater-script and the binary, and the codes are slightly different in the script.
Click to expand...
Click to collapse
yes, you're right, I've just found that out...upgraded dsixda's kitchen and it converts the update-script to updater-script and adds a binary for you. Thanks, zipping and signing the file now wish me luck!
good luck on it
I'm heading for the bed hope it works for you this time.
deconfrost said:
good luck on it
I'm heading for the bed hope it works for you this time.
Click to expand...
Click to collapse
whether it does or not, thanks for your time dude
Got the ROM to install, but when rebooting I'm hanging on the Galaxy Screen (not the animated one)....Anyone?
I would say the problem is to do with boot.img

[Q] E: Error in /sdcard/update.zip (Status 6)

Hi guys,
i just tried to make my own update.zip.
The files inside are like this:
Code:
META-INF/
-com/
-google/
-android/
update-binary
updater-script
system/
-app/
Gallery3D.apk
I took update-binary and updater-script from another update.zip.
Then i modified updater-script to this:
Code:
show_progress 0.1 0
delete SYSTEM:app/Gallery.apk
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10
Unfortunately it doesn't work. This is what i get if i try to apply the .zip:
Code:
-- Install from sdcard...
Finding update package...
Opening update package...
Installing update...
E:Error in /sdcard/update.zip
(Status 6)
Installation aborted.
I just don't get it. Why isn't it working?
luckybk said:
Hi guys,
i just tried to make my own update.zip.
The files inside are like this:
Code:
META-INF/
-com/
-google/
-android/
update-binary
updater-script
system/
-app/
Gallery3D.apk
I took update-binary and updater-script from another update.zip.
Then i modified updater-script to this:
Code:
show_progress 0.1 0
delete SYSTEM:app/Gallery.apk
copy_dir PACKAGE:system SYSTEM:
set_perm_recursive 0 0 0755 0644 SYSTEM:app
show_progress 0.1 10
Unfortunately it doesn't work. This is what i get if i try to apply the .zip:
Code:
-- Install from sdcard...
Finding update package...
Opening update package...
Installing update...
E:Error in /sdcard/update.zip
(Status 6)
Installation aborted.
I just don't get it. Why isn't it working?
Click to expand...
Click to collapse
The syntax you're using if for an "update-script" not an "updateR-script"
Off the top of my head! This should work as an updateR-script...
Code:
show_progress(0.900000, 3);
mount("yaffs2", "MTD", "system", "/system");
delete("/system/app/Gallery.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/app/Gallery.apk");
show_progress(0.100000, 1);
unmount("/system");
I ran into this same issue when trying to roll my own zips. I tried both syntaxes without luck. I had to abandon my work for the time being. If I can find it, I'll see about posting up here for reference. I couldn't even get a ONE LINER to work.
Read my sig, look up my Gallery3D mod, it has update-script and updater-script variants.
Phoenix84118 said:
I ran into this same issue when trying to roll my own zips. I tried both syntaxes without luck. I had to abandon my work for the time being. If I can find it, I'll see about posting up here for reference. I couldn't even get a ONE LINER to work.
Click to expand...
Click to collapse
In that case you have the wrong binary included...
Just try a:
Code:
ui_print("Hello world!");
line...
djmcnz said:
The syntax you're using if for an "update-script" not an "updateR-script"
Off the top of my head! This should work as an updateR-script...
Code:
show_progress(0.900000, 3);
mount("yaffs2", "MTD", "system", "/system");
delete("/system/app/Gallery.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0644, "/system/app/Gallery.apk");
show_progress(0.100000, 1);
unmount("/system");
Click to expand...
Click to collapse
yeah but my friend except the progress code all the rests i'll do them but i see the same error what can i do in that case?? PLZ help!
paok96 said:
yeah but my friend except the progress code all the rests i'll do them but i see the same error what can i do in that case?? PLZ help!
Click to expand...
Click to collapse
Status 6 is a syntax problem... you need to find it!
Do not use Windows Notepad
Make sure there is a <cr> (carriage return/enter) at the end of the file...

about lidroid 1.6.1 Aroma installation error

Hi everyone,
I wanna to flash official lidroid 1.6.1 for my s4 i9500, But when the Aroma installation reach something about 80% ... and it show error
script aborted: file_getprop: failed to stat "/tmp/aroma/other.prop": No such file or directory
file_getprop: failed to stat "/tmp/aroma/other.prop": No such file or directory
any solution?

Categories

Resources