[Q] Help, trying to modify a updater script - Desire HD Q&A, Help & Troubleshooting

So I am keep on getting Installation Aborted because Im doing something wrong in the updater script
I am trying to add in data/app into a rom.
I already have data/app in the rom zip already with apps in it.
I want all the apps to be installed during the flash of this rom.
this is the code im adding in the middle of nowhere in the updater-script.
Code:
package_extract_dir("data", "/data");
can anyone help me out ?
here is a download link to the updater script im trying to modify.
http://www.mediafire.com/?g8lk25dli08z919
ORIGINAL FULL SCRIPT
Code:
ui_print("Checking Model ID ...");
assert(getprop("ro.product.device") == "ace" || getprop("ro.build.product") == "ace" || getprop("ro.product.board") == "ace");
ui_print("...PASSED");
ui_print(" ");
ui_print("Flashing SCI-MIUI 2.2.10v1.0 ...");
ui_print(" ");
ui_print("formate /system ...");
format("ext4", "EMMC", "/dev/block/mmcblk0p25");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
ui_print("extracting /system ...");
package_extract_dir("system", "/system");
assert(run_program("/sbin/grep","androidboot.mid=PD9812000","/proc/cmdline") == "0"
&& ui_print("Inspire 4G detected...")
&& delete_recursive("/system/etc/soundimage")
&& package_extract_dir("inspire", "/system")
|| ui_print(" "));
ui_print(" ");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/tty", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/log", "/system/bin/lsmod",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
symlink("/system/bin/bash", "/system/bin/sh");
symlink("/system/bin/bash", "/system/xbin/sh");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 04755, "/system/bin/sysrw");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/nano");
set_perm(0, 0, 04755, "/system/bin/bash");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/apply_firewall");
set_perm(0, 0, 06755, "/system/xbin/apply_theme");
set_perm(0, 0, 06755, "/system/xbin/dumplog");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/mv2sd");
set_perm(0, 0, 06755, "/system/xbin/ota");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
ui_print("flashing boot.img ...");
package_extract_file("boot.img", "/dev/block/mmcblk0p22");
package_extract_file("boot.img", "/tmp/boot.img");
ui_print("extracting LorDMod kernel...");
package_extract_dir("kernel", "/tmp");
ui_print("installing kernel...");
set_perm(0, 0, 0777, "/tmp/dd");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
ui_print("repack kernel files...");
run_program("/tmp/unpackbootimg", "/tmp/boot.img", "/tmp/");
run_program("/tmp/mkbootimg.sh");
assert(write_raw_image("/tmp/newboot.img", "/dev/block/mmcblk0p22"),
delete("/tmp/boot.img"));
ui_print("wiping /cache ...");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p27");
ui_print("wiping dalvik-cache ...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
ui_print("FINISHED!");
ui_print("");
ui_print("SCI MIUI successfully installed.");
unmount("/system");
unmount("/data");
ui_print(" ______________________________________________");
ui_print("");
ui_print(" SSSSS CCCCC IIIIIIII");
ui_print(" SSS SSS CCC CC II");
ui_print(" SSS SS CC II");
ui_print(" SSSS CC II");
ui_print(" SSSS CC II");
ui_print(" SS SSS CC II");
ui_print(" SSS SSS CCC CC II");
ui_print(" SSSSS CCCC IIIIIIII");
ui_print("");
ui_print(" ___________________by a user__________________");
ui_print("");
My phone is an Inspire 4G aka Desire HD

Where are you inserting it? You need to mount /data before you can extract files to it; if you look at the script there's a line mounting /system immediately before the package_extract_dir command; you'll need to do a similar thing for the /data partition (you can either copy the mount/unmount pair of commands used for /data further down the script where the dalvik-cache is cleared, or just move that mount command from there to an earlier point in the script instead).

hopscotchjunkie said:
Where are you inserting it? You need to mount /data before you can extract files to it; if you look at the script there's a line mounting /system immediately before the package_extract_dir command; you'll need to do a similar thing for the /data partition (you can either copy the mount/unmount pair of commands used for /data further down the script where the dalvik-cache is cleared, or just move that mount command from there to an earlier point in the script instead).
Click to expand...
Click to collapse
so would this be the code to insert?
Code:
mount("/data")
package_extract_dir("data", "/data");
before
Code:
ui_print("wiping /cache ...");
unmount("/cache");

You need to use the same format as the mount command that's already there (have a look at the command to clear dalvik-cache near the end of the existing script to see what I mean). So, if you just wanted a stand-alone bit to be plugged in anywhere, you would use:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
package_extract_dir("data", "/data");
unmount("/data");
That would work with where you're proposing to put it so it'll mount /data, extract your packages, then unmount it (then a little further on mount it again, clear dalvik-cache, and unmount again).
Edit Or, to keep it tidier, just include your package extract command in the section where /data is already being mounted anyway; so change this existing section:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
to:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
package_extract_dir("data", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");

hopscotchjunkie said:
You need to use the same format as the mount command that's already there (have a look at the command to clear dalvik-cache near the end of the existing script to see what I mean). So, if you just wanted a stand-alone bit to be plugged in anywhere, you would use:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
package_extract_dir("data", "/data");
unmount("/data");
That would work with where you're proposing to put it so it'll mount /data, extract your packages, then unmount it (then a little further on mount it again, clear dalvik-cache, and unmount again).
Edit Or, to keep it tidier, just include your package extract command in the section where /data is already being mounted anyway; so change this existing section:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
to:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
package_extract_dir("data", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
Click to expand...
Click to collapse
Ill try that and give you a feed back Thank you for the only one trying to help me out. I really appreciate it.
PS. To moderators, sorry for posting something like this in a phone section of the forum. I posted this in Android q&a but no one was willing to help me.
Sent from my Inspire 4G using XDA App

P00t said:
PS. To moderators, sorry for posting something like this in a phone section of the forum. I posted this in Android q&a but no one was willing to help me.
Click to expand...
Click to collapse
Don't worry about it, it's much friendlier in this neck of the woods anyway.

I just came home and tried what you told me to do, but it was still a failure.
- in the root of the ROM.ZIP, I have data/app folders made with apps(about 30apps in it) in the app folder.
- I used this code u provided me
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
package_extract_dir("data", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
Click to expand...
Click to collapse
-The installion error says..
E: Error in /sdcard/ROM.ZIP
(status 6)
Installation aborted.
Click to expand...
Click to collapse
EDIT: So, I just tested trying to see if the installation abort would still occur if I still used the original script. Yes, installation still aborted. Idk whats wrong. I just added about 30apps in a MIUI Rom.Zip some apps and its causing it to abort.

Hmm... What are you using to edit the script? If you're on Windows I recommend using Notepad++ (because Windows uses a different end-of-line character to Unix, so if you use Notepad or similar it causes problems). If you're already on Mac/*nix you can disregard that.
Also, how are you adding your extra folders to the zip file? That might potentially have something to do with it (e.g. if you're extracting then re-zipping you'd probably need to sign the zip to be able to flash it). I've always used 7zip on Windows to add/remove/edit things in a zip before flashing and it's always worked fine.
//sent from my Desire HD using Tapatalk; all errors entirely intentional.

hopscotchjunkie said:
Hmm... What are you using to edit the script? If you're on Windows I recommend using Notepad++ (because Windows uses a different end-of-line character to Unix, so if you use Notepad or similar it causes problems). If you're already on Mac/*nix you can disregard that.
Also, how are you adding your extra folders to the zip file? That might potentially have something to do with it (e.g. if you're extracting then re-zipping you'd probably need to sign the zip to be able to flash it). I've always used 7zip on Windows to add/remove/edit things in a zip before flashing and it's always worked fine.
//sent from my Desire HD using Tapatalk; all errors entirely intentional.
Click to expand...
Click to collapse
I use notepad+ to edit the script, running on windows 7 64bit.
I just extract all the apks from my phone then just manually add apks to the rom zip. I'll try it out using 7zip.
EDIT: now the problem is...i added all the apks and used the original updater-script, and it worked fine! but when I added in the pacakage extract command in the updater script, installation aborts again. i think its something in the script that wont allow it?
Sent from my HTC Inspire 4G using XDA App

what does the log say? what's the error? the installation can abort for many reasons, if you can be more specific about you problem maybe a solution can be found.

Related

[Q] LeeDroid 2.4 Data++?

Hi
I wanna test this ROM on my Desire, but i want to use data++ layout. How can i edit this rom to symlink all files and folders (system, framework and fonts) to sd-ext before flashing ROM?
Hi.
Did you check this post ? You need a standard hboot layout to install, but then you can change to a data++ one.
Yes but i wanted to know how can symlink files before flashing ROM.
I managed to flash Leedroid, checking InsertCoin Data++ update-script and doing the same changes in the update-script in LeeDroid. Zipped and flashed, no errors until now
Do you mean you have made a zip install of LeeDroid that will fit on a data++ layout ?
Yes, even in CM7 Layout. Only uses 100 mb (aprox) in system partition.
Hi maybe you can share your file?
cause i tried something similar but got stuck.
You have done it with the sense version of leedroid 2.4?
thanks
ps: i tried this setup
Yes, Leedroid 2.4 with Sense. And yes, i can share it, if Lee gives permission to do.
However i can post steps that i followed to achieve that.
That would be great.
maybe i also try the cm7 partitiontable, i just tried sense and oxygen but think they are both to small
but on the otherhand 5mb cache is very small, have you done a market fix?
Well, here we go:
1) Unzip ROM wherever you want. When done, you should see a few folders (data,META-INF,system) and a few files (boot.img, changelog.txt)
2) Create a new folder here called sd-ext
3) Go into sd-ext and create two new folders called, app_s and framework_s
4) Now, go into system folder, and copy all contents of app folder (/system/app) into sd-ext/app_s. Remove /system/app folder
5) Do the same with framework folder. Copy all contents into sd-ext/framework_s and remove /system/framework.
6) Now, go into /system/etc/init.d. Remove all files except 40a2sd and 99complete.
7) Edit 40a2sd script in notepad. You can use this if you want:
Code:
#!/system/bin/sh
#
# Apps2SD using symlinks and bind mounts
# [email protected] (cyanogen)
# Adapted by Teknologist
#Removed this as there is no /etc/sysctl.conf as of now in MCR
/system/bin/strt
# execute any postinstall script then kill it
if [ -e /dev/block/mmcblk0p2 ];
then
# mount and set perms
busybox mount -o noatime,nodiratime -t auto /dev/block/mmcblk0p2 /system/sd;
busybox chown 1000:1000 /system/sd;
busybox chmod 771 /system/sd;
# clean up any old symlinks, create data directories
for i in data;
do
if [ -h /data/$i ];
then
rm /data/$i;
fi;
if [ ! -d /data/$i ];
then
mkdir /data/$i;
busybox chown 1000:1000 /data/$i;
busybox chmod 771 /data/$i;
fi;
done;
# don't allow /data/data on sd because of upgrade issues - move it if possible
if [ -d /system/sd/data ];
then
busybox cp -a /system/sd/data/* /data/data/;
busybox rm -rf /system/sd/data;
fi;
# move apps from internal memory to sdcard
for i in app;
do
if [ ! -d /system/sd/$i ];
then
mkdir /system/sd/$i;
fi
busybox chown 1000:1000 /system/sd/$i;
busybox chmod 771 /system/sd/$i
if [ -d /data/$i ] && [ ! -h /data/$i ];
then
busybox cp -a /data/$i/* /system/sd/$i/;
busybox rm -f /data/$i/*;
fi;
done;
# symlink app dirs - they must be on the same filesystem
for i in app;
do
if [ -d /data/$i ] && [ ! -h /data/$i ];
then
busybox rm -rf /data/$i;
busybox ln -s /system/sd/$i /data/$i;
fi;
done;
# clean up old whiteouts
for i in local misc property system tombstones data;
do
if [ -h /system/sd/$i ]; then rm -f /system/sd/$i; fi
done;
# please don't put odex files in the app directory people!
# it causes dexopt to crash when switching builds!
busybox rm -f /system/sd/app/*.odex
setprop cm.a2sd.active 1;
echo "+++ Apps-to-SD successfully enabled";
else
# replace symlinks with directories so we can boot without sd
for i in app;
do
if [ -h /data/$i ];
then
rm -f /data/$i;
mkdir /data/$i;
busybox chown 1000:1000 /data/$i;
busybox chmod 771 /data/$i;
fi;
done;
setprop cm.a2sd.active 0;
fi;
sync;
8)Now, go into META-INF/com/google/android. Replace updater-script contents with this:
Code:
#Updater-script LeeDrOiD Mod
#For the HTC Desire
#Follow me on Twitter @LeeDrOiD
show_progress(0.500000, 0);
assert(getprop("ro.product.device") == "bravo" || getprop("ro.build.product") == "bravo" || getprop("ro.product.board") == "bravo");
ui_print("-Now Flashing LeeDrOiD 2.4");
ui_print("-Please be patient");
ui_print("-1st boot may take a few minutes");
show_progress(0.500000, 40);
ui_print("-Wiping system and cache.");
format("MTD", "cache");
format("MTD", "system");
ui_print("-Writing Data");
mount("MTD", "userdata", "/data");
package_extract_dir("data", "/data");
ui_print("-Writing SD-EXT");
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
package_extract_dir("sd-ext", "/sd-ext");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/app_s");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/framework_s");
mount("MTD", "system", "/system");
ui_print("-Writing System");
package_extract_dir("system", "/system");
show_progress(0.400000, 0);
ui_print("-Creating toolbox symlinks");
symlink("toolbox", "/system/bin/chownto", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/ioctl", "/system/bin/log", "/system/bin/nandread", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setprop", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe", "/system/bin/top");
ui_print("-Creating busybox symlinks");
symlink("/system/xbin/busybox", "/system/xbin/[", "/system/xbin/[[", "/system/xbin/addgroup", "/system/xbin/adduser", "/system/xbin/adjtimex", "/system/xbin/ar", "/system/xbin/arp", "/system/xbin/arping", "/system/xbin/ash", "/system/xbin/awk", "/system/xbin/basename", "/system/xbin/bbconfig", "/system/xbin/beep", "/system/xbin/blkid", "/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chat", "/system/xbin/chattr", "/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chpasswd", "/system/xbin/chpst", "/system/xbin/chroot", "/system/xbin/chrt", "/system/xbin/chvt", "/system/xbin/cksum", "/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cryptpw", "/system/xbin/cttyhack", "/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd", "/system/xbin/deallocvt", "/system/xbin/delgroup", "/system/xbin/deluser", "/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dnsdomainname", "/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/dumpkmap", "/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/eject", "/system/xbin/env", "/system/xbin/envdir", "/system/xbin/envuidgid", "/system/xbin/ether-wake", "/system/xbin/expand", "/system/xbin/expr", "/system/xbin/fakeidentd", "/system/xbin/false", "/system/xbin/fbset", "/system/xbin/fbsplash", "/system/xbin/fdflush", "/system/xbin/fdformat", "/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs", "/system/xbin/fold", "/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsck", "/system/xbin/fsck.minix", "/system/xbin/fsync", "/system/xbin/ftpd", "/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt", "/system/xbin/getty", "/system/xbin/grep", "/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/hd", "/system/xbin/hdparm", "/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hostid", "/system/xbin/hostname", "/system/xbin/httpd", "/system/xbin/hush", "/system/xbin/hwclock", "/system/xbin/id", "/system/xbin/ifdown", "/system/xbin/ifenslave", "/system/xbin/ifplugd", "/system/xbin/ifup", "/system/xbin/inetd", "/system/xbin/init", "/system/xbin/insmod", "/system/xbin/install", "/system/xbin/ionice", "/system/xbin/ip", "/system/xbin/ipaddr", "/system/xbin/ipcalc", "/system/xbin/ipcrm", "/system/xbin/ipcs", "/system/xbin/iplink", "/system/xbin/iproute", "/system/xbin/iprule", "/system/xbin/iptunnel", "/system/xbin/kbd_mode", "/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5", "/system/xbin/klogd", "/system/xbin/last", "/system/xbin/length", "/system/xbin/less", "/system/xbin/linux32", "/system/xbin/linux64", "/system/xbin/linuxrc", "/system/xbin/ln", "/system/xbin/loadfont", "/system/xbin/loadkmap", "/system/xbin/logger", "/system/xbin/login", "/system/xbin/logname", "/system/xbin/logread", "/system/xbin/losetup", "/system/xbin/lpd", "/system/xbin/lpq", "/system/xbin/lpr", "/system/xbin/ls", "/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lzmacat", "/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/makedevs", "/system/xbin/makemime", "/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mdev", "/system/xbin/mesg", "/system/xbin/microcom", "/system/xbin/mkdir", "/system/xbin/mkdosfs", "/system/xbin/mkfifo", "/system/xbin/mkfs.minix", "/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkpasswd", "/system/xbin/mkswap", "/system/xbin/mktemp", "/system/xbin/modprobe", "/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/msh", "/system/xbin/mt", "/system/xbin/mv", "/system/xbin/nameif", "/system/xbin/nc", "/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/od", "/system/xbin/openvt", "/system/xbin/passwd", "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/ping6", "/system/xbin/pipe_progress", "/system/xbin/pivot_root", "/system/xbin/pkill", "/system/xbin/popmaildir", "/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pscan", "/system/xbin/pwd", "/system/xbin/raidautorun", "/system/xbin/rdate", "/system/xbin/rdev", "/system/xbin/readahead", "/system/xbin/readlink", "/system/xbin/readprofile", "/system/xbin/realpath", "/system/xbin/reformime", "/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route", "/system/xbin/rtcwake", "/system/xbin/run-parts", "/system/xbin/runlevel", "/system/xbin/runsv", "/system/xbin/runsvdir", "/system/xbin/rx", "/system/xbin/script", "/system/xbin/scriptreplay", "/system/xbin/sed", "/system/xbin/sendmail", "/system/xbin/seq", "/system/xbin/setarch", "/system/xbin/setconsole", "/system/xbin/setfont", "/system/xbin/setkeycodes", "/system/xbin/setlogcons", "/system/xbin/setsid", "/system/xbin/setuidgid", "/system/xbin/sha1sum", "/system/xbin/sha256sum", "/system/xbin/sha512sum", "/system/xbin/showkey", "/system/xbin/slattach", "/system/xbin/sleep", "/system/xbin/softlimit", "/system/xbin/sort", "/system/xbin/split", "/system/xbin/start-stop-daemon", "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty", "/system/xbin/sulogin", "/system/xbin/sum", "/system/xbin/sv", "/system/xbin/svlogd", "/system/xbin/swapoff", "/system/xbin/swapon", "/system/xbin/switch_root", "/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/syslogd", "/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar", "/system/xbin/tcpsvd", "/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout", "/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/tty", "/system/xbin/ttysize", "/system/xbin/tunctl", "/system/xbin/udpsvd", "/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vconfig", "/system/xbin/vi", "/system/xbin/vlock", "/system/xbin/volname", "/system/xbin/watch", "/system/xbin/watchdog", "/system/xbin/wc", "/system/xbin/wget", "/system/xbin/which", "/system/xbin/who", "/system/xbin/whoami", "/system/xbin/xargs", "/system/xbin/yes", "/system/xbin/zcat", "/system/xbin/zcip");
ui_print("-Setting additional symlinks");
symlink("/system/xbin/busybox", "/system/bin/busybox");
symlink("/system/xbin", "/system/xbin/bb");
symlink("/system/xbin/su", "/system/bin/su");
symlink("/data/data/hosts", "/system/etc/hosts");
symlink("/system/sd/app_s","/system/app");
symlink("/system/sd/framework_s","/system/framework");
ui_print("-Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 2000, 0775, "/system/bin/iptables");
set_perm_recursive(1002, 1002, 0775, 0440, "/system/etc/bluez");
set_perm(0, 0, 0775, "/system/etc/bluez");
set_perm(1000, 1000, 0755, "/system/bin/bash");
set_perm(1000, 1000, 0755, "/system/bin/nano");
set_perm(1000, 1000, 0755, "/system/bin/sysro");
set_perm(1000, 1000, 0755, "/system/bin/sysrw");
set_perm(1000, 1000, 0755, "/system/bin/openvpn");
set_perm(1000, 1000, 0755, "/system/bin/iproute-script.sh");
set_perm(1000, 1000, 0755, "/system/bin/vpnc");
set_perm(1000, 1000, 0755, "/system/bin/vpnc-script.sh");
set_perm(0, 3004, 02755, "/system/bin/ping");
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, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm(0, 0, 04755, "/system/bin/sh");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(0, 0, 0644, "/system/bin/profile");
set_perm_recursive(0, 0, 0700, 0600, "/data/property");
show_progress(0.200000, 10);
ui_print("-Writing boot.img");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print("-Cleaning up");
format("MTD", "cache");
mount("MTD", "sdext", "/sdext");
delete_recursive("/data/dalvik-cache");
delete_recursive("/sdext/dalvik-cache");
show_progress(0.100000, 0);
ui_print("-Flashing Complete");
ui_print("Welcome to");
ui_print(" ");
ui_print("L EEEE EEEE DDD RRR OO IIIII DDD");
ui_print("L E E D D R R O O I D D");
ui_print("L EEE EEE D D R R O O I D D");
ui_print("L E E D D R R O O I D D");
ui_print("LLLL EEEE EEEE DDD R R OO IIIII DDD");
ui_print(" ");
ui_print(" 222 44 ");
ui_print(" 2 2 4 4 ");
ui_print(" 2 4 4 ");
ui_print(" 2.4 2.4 2 444444 2.4 2.4 ");
ui_print(" 2 .. 4 ");
ui_print(" 22222 .. 444 ");
ui_print(" ");
ui_print("-Please ensure you");
ui_print("-complete at least 1 full boot");
ui_print("-prior to flashing any themes");
unmount("/sdext");
unmount("/data");
unmount("/system");
9) Zip all files and folders again
10) Flash it.
11 (optional)) If you want market fix, after first boot, edit init.rc (ADB push/pull)
Replace all contents with this
Hope this helps, and sorry for my bad english
Thanks for sharing your interesting procedure.
Let me know : now that you have dalvik cache on nand rather than sd, do you really see a perfomance improvement ?
very nice!
after looking at your files, i cant see any differance between that what you have done and mine.
so i think i'll try to flash it with the cm7 hboot
thanks for you work
Definitely yes, and a very-low battery drain while phone is asleep with connectivity off (4ma).
Oh! As always, do a Nandroid backup before try this method.
@Aragornhr now that you have done 10 posts you should be able to post on the LeeDroid thread here (if i understood the rules of this forum ...).
If you do it i think it will interest many people there, including Lee himself, because installing LeeDroid on a reduced system partition table has been discussed some days ago (don't remember at what page exactly, they are so many ...).
it was here Page: 2030
Ed Roid said:
@Aragornhr now that you have done 10 posts you should be able to post on the LeeDroid thread here (if i understood the rules of this forum ...).
If you do it i think it will interest many people there, including Lee himself, because installing LeeDroid on a reduced system partition table has been discussed some days ago (don't remember at what page exactly, they are so many ...).
Click to expand...
Click to collapse
Posted, thanks
one question, have you played games with this setup? or noticed other problems?
cause i heard with the small cache there could be problems with roms who are not optimized for that
The only game I've tried has been angry birds. It seems to run fine.
last question for today
have you tried to flash it over a old leedroid rom, without complete wipe?
i ask because i think maybe you've done it so, so it could spend me time restoring all my apps
thanks
No, before using LeeDroid i was using InsertCoin Data++
I'm getting a 'status 6' error when trying to flash...any idea why...?

[Q] Error (level 6) by installing my port from MyTouch 4g

Hello!
i am developing a Port from a HTC MyTouch 4g custom ROM. I have copied some Files from MyTouch ROM to that ROM using araxis merge.
Then i have copied /system/framework to /data/framework_s and the following apps from /system/app to /sd-ext/app_s:
Code:
Carrera.apk
Downtown.apk
Graffiti.apk
HTCSetupWizard.apk
install_flash_player.apk
Quickoffice.apk
RedRocks.apk
Ruby.apk
Swype.apk
teeter.apk
TwonkyMobile_T-Mobile.apk
Vending.apk
VSuiteApp.apk
Wildflower.apk
Then i edited updater-script:
Code:
# Script Version: 0.9
show_progress(0.999999, 99);
ui_print(" ");
ui_print("-installing t ROM touch 0.0.2");
ui_print("-Recommended Partition Layout");
ui_print("-Fat32+Ext4");
ui_print(" ");
ui_print("-Installing DATA Partition...");
unmount("/data");
mount("MTD","userdata","/data");
delete_recursive("/data/dalvik-cache");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
set_perm_recursive(0, 0, 0755, 0644, "/data/framework_s");
ui_print(" ");
ui_print("-Installing SDEXT Partition...");
unmount("/sd-ext");
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
delete_recursive("/sd-ext/app_s");
delete_recursive("/sd-ext/framework_s");
delete_recursive("/sd-ext/lib_s");
delete_recursive("/sd-ext/dalvik-cache");
package_extract_dir("sd-ext", "/sd-ext");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/app_s");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/lib_s");
ui_print(" ");
ui_print("-Installing SYSTEM Partition...");
unmount("/system");
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
ui_print(" ");
ui_print("-Setting Up SYSTEM Permissions...");
symlink("/sd-ext/lib_s","/system/lib");f
symlink("/sd-ext/app_s","/system/app");
symlink("/data/framework_s","/system/framework");
symlink("/data/hosts","/system/etc/hosts");
symlink("/proc/calibration","/system/etc/calibration");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluz");
set_perm(0, 3003, 0755, "/system/bin/ip");
set_perm(0, 3003, 0755, "/system/bin/ipd");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3003, 06755, "/system/bin/netd");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06755, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
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, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/sysrw");
symlink("/system/xbin/busybox","/system/xbin/bb/ifconfig");
symlink("/system/xbin/busybox","/system/xbin/bb/route");
set_perm(0, 0, 04755, "/system/xbin/openvpn");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 0, 04755, "/system/xbin/dropbear");
set_perm(0, 0, 04755, "/system/xbin/flash_image");
symlink("dropbear","/system/xbin/dropbearkey");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
ui_print(" ");
ui_print("-Installing Toolbox & Busybox...");
symlink("toolbox", "/system/bin/chownto", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/ioctl", "/system/bin/log", "/system/bin/nandread", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setprop", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe", "/system/bin/top");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/sbin/sh","-c",
concat("( cd /system/xbin ; ",
" ./busybox --install -s /system/xbin )"));
delete_recursive("/data/data/com.noshufou.android.su");
set_perm(0, 0, 06755, "/system/bin/su");
delete("/system/xbin/su");
symlink("/system/bin/su","/system/xbin/su");
package_extract_dir("sdcard", "/sdcard");
ui_print(" ");
ui_print("-Installing Boot Partition...");
unmount("/boot");
format("MTD", "boot");
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print(" ");
ui_print("-Installation Completed");
ui_print("-Reboot and Enjoy");
unmount("/system");
unmount("/data");
unmount("/cache");
unmount("/sd-ext");
show_progress(0.000000, 0);
Now if i install the ROM via CWR, i get the following error:
Code:
Installing: /sdcard/update.zip
finding update package...
Opening update package...
Installing update...
E: error in /sdcard/update.zip (status 6)
installation aborted.
here is my rom:
http://www.multiupload.com/LQ81YXSCN0
Can you tell me, what the error status 6 means and how i can fix it?
It's a syntax/file format error. Can also happen if updater-script does not include a particular command..
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
Droidzone said:
It's a syntax/file format error. Can also happen if updater-script does not include a particular command..
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
Click to expand...
Click to collapse
what is a particular command?
Sent from my HTC Desire using xda premium
tischn said:
what is a particular command?
Click to expand...
Click to collapse
and how can i add one?
He just means there may be a command missing from your script. There isnt a type of comand called "Particular command"
rootSU said:
He just means there may be a command missing from your script. There isnt a type of comand called "Particular command"
Click to expand...
Click to collapse
and how can i add a comand called "Particular command"?
very simple.. Compile your own recovery
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
tischn said:
and how can i add a comand called "Particular command"?
Click to expand...
Click to collapse
There is no command called "particular command"
Reminds me of the time I 'talked' to a bot named A.L.I.C.E
Alice: What's your name, oh kind Sir?
Dz: I don't have a name.
Alice: Ok, I don't have a name, how do you do today?
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
Droidzone said:
Reminds me of the time I 'talked' to a bot named A.L.I.C.E
Alice: What's your name, oh kind Sir?
Dz: I don't have a name.
Alice: Ok, I don't have a name, how do you do today?
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
Click to expand...
Click to collapse
hehe. ALICE was shocking. Theres a video somewhere on the net with 2 different robots "talking" to each other.
Droidzone said:
very simple.. Compile your own recovery
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
Click to expand...
Click to collapse
and how can i compile my own recovery
tischn said:
and how can i compile my own recovery
Click to expand...
Click to collapse
And what do you mean with compile?
Topic unsubscribed
TouchPal-d from my Desire running Supernova Extreme Rom - 450 apps and counting. .
I'm sorry to say, I think you are a long way off where you want to be right now. I think you need to get to know android a bit better for now.
Compiling = compiling source code (or building) to create either a rom or recovery (etc)
You're probably right! Nevertheless, I'll try it because i can learn during this
How much of the script did you update? was it from the original device? Have a look at some of the scripts in roms for our device. Particularly the CM7 hboot versions that ship stuff out to sd-EXT and have a look what they are doing.
I had a look at the updater-script from the cool3d bliss v1a, and had extended the updater-script with some commands that the data on the sd-ext can be used
tischn said:
Hello!
i am developing a Port from a HTC MyTouch 4g custom ROM. I have copied some Files from MyTouch ROM to that ROM using araxis merge.
Then i have copied /system/framework to /data/framework_s and the following apps from /system/app to /sd-ext/app_s:
Code:
Carrera.apk
Downtown.apk
Graffiti.apk
HTCSetupWizard.apk
install_flash_player.apk
Quickoffice.apk
RedRocks.apk
Ruby.apk
Swype.apk
teeter.apk
TwonkyMobile_T-Mobile.apk
Vending.apk
VSuiteApp.apk
Wildflower.apk
Then i edited updater-script:
Code:
# Script Version: 0.9
show_progress(0.999999, 99);
ui_print(" ");
ui_print("-installing t ROM touch 0.0.2");
ui_print("-Recommended Partition Layout");
ui_print("-Fat32+Ext4");
ui_print(" ");
ui_print("-Installing DATA Partition...");
unmount("/data");
mount("MTD","userdata","/data");
delete_recursive("/data/dalvik-cache");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
set_perm_recursive(0, 0, 0755, 0644, "/data/framework_s");
ui_print(" ");
ui_print("-Installing SDEXT Partition...");
unmount("/sd-ext");
run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
delete_recursive("/sd-ext/app_s");
delete_recursive("/sd-ext/framework_s");
delete_recursive("/sd-ext/lib_s");
delete_recursive("/sd-ext/dalvik-cache");
package_extract_dir("sd-ext", "/sd-ext");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/app_s");
set_perm_recursive(0, 0, 0755, 0644, "/sd-ext/lib_s");
ui_print(" ");
ui_print("-Installing SYSTEM Partition...");
unmount("/system");
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
ui_print(" ");
ui_print("-Setting Up SYSTEM Permissions...");
symlink("/sd-ext/lib_s","/system/lib");f
symlink("/sd-ext/app_s","/system/app");
symlink("/data/framework_s","/system/framework");
symlink("/data/hosts","/system/etc/hosts");
symlink("/proc/calibration","/system/etc/calibration");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluz");
set_perm(0, 3003, 0755, "/system/bin/ip");
set_perm(0, 3003, 0755, "/system/bin/ipd");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3003, 06755, "/system/bin/netd");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06755, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
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, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/sysrw");
symlink("/system/xbin/busybox","/system/xbin/bb/ifconfig");
symlink("/system/xbin/busybox","/system/xbin/bb/route");
set_perm(0, 0, 04755, "/system/xbin/openvpn");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 0, 04755, "/system/xbin/dropbear");
set_perm(0, 0, 04755, "/system/xbin/flash_image");
symlink("dropbear","/system/xbin/dropbearkey");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
ui_print(" ");
ui_print("-Installing Toolbox & Busybox...");
symlink("toolbox", "/system/bin/chownto", "/system/bin/getevent", "/system/bin/getprop", "/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/ioctl", "/system/bin/log", "/system/bin/nandread", "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/schedtop", "/system/bin/sendevent", "/system/bin/setprop", "/system/bin/smd", "/system/bin/start", "/system/bin/stop", "/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe", "/system/bin/top");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/sbin/sh","-c",
concat("( cd /system/xbin ; ",
" ./busybox --install -s /system/xbin )"));
delete_recursive("/data/data/com.noshufou.android.su");
set_perm(0, 0, 06755, "/system/bin/su");
delete("/system/xbin/su");
symlink("/system/bin/su","/system/xbin/su");
package_extract_dir("sdcard", "/sdcard");
ui_print(" ");
ui_print("-Installing Boot Partition...");
unmount("/boot");
format("MTD", "boot");
package_extract_file("boot.img","/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print(" ");
ui_print("-Installation Completed");
ui_print("-Reboot and Enjoy");
unmount("/system");
unmount("/data");
unmount("/cache");
unmount("/sd-ext");
show_progress(0.000000, 0);
Now if i install the ROM via CWR, i get the following error:
Code:
Installing: /sdcard/update.zip
finding update package...
Opening update package...
Installing update...
E: error in /sdcard/update.zip (status 6)
installation aborted.
here is my rom:
http://www.multiupload.com/LQ81YXSCN0
Can you tell me, what the error status 6 means and how i can fix it?
Click to expand...
Click to collapse
i read in one thread that you have to use notepad instead of wordpad so you dont get that error!!

build cm9 success but flash zip has problem,help

hi guys,i compiled from cm9 succeed and it make a zip file ,i flash this zip file and it suspend at middle of update,i wait for one hour but it always stoped,i think its maybe updater-script have some error but i dont know where,so i copy it and somebody can help me solve this problem.thanks.
Code:
assert(getprop("ro.product.device") == "ace" || getprop("ro.build.product") == "ace");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p25", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blockdev", "/system/xbin/brctl",
"/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2",
"/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv",
"/system/xbin/chattr", "/system/xbin/chgrp", "/system/xbin/chmod",
"/system/xbin/chown", "/system/xbin/chroot", "/system/xbin/clear",
"/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp",
"/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab",
"/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
"/system/xbin/dd", "/system/xbin/depmod", "/system/xbin/devmem",
"/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname",
"/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dos2unix",
"/system/xbin/du", "/system/xbin/echo", "/system/xbin/ed",
"/system/xbin/egrep", "/system/xbin/env", "/system/xbin/expand",
"/system/xbin/expr", "/system/xbin/false", "/system/xbin/fdisk",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
retouch_binaries("/system/lib/libsoundpool.so", "a5d48c6e36153baf0d92509888b2bd38be9fa0d9", "/system/lib/libcamera_client.so", "aeff4ba5ef28715cf0492aedbb5c1851e820c1cf", "/system/lib/libpowermanager.so", "a890977eabf0af8b1dfd49f5e4a1b83cc3938bcc", "/system/lib/libstagefright_soft_aacdec.so", "803b0b99c3cc8ee931166cba069f04a4108fe7a7", "/system/lib/libwpa_client.so", "a523a3baf56879ccdb5bf4c87f890e2270bc54a2", "/system/lib/libSR_AudioIn.so", "cc31b89bad2617c764b97e99078cdea662c6f159", "/system/lib/libstagefright_yuv.so", "b7cf6f69b06d2fe7fd8dc92bc662acbc34680324", "/system/lib/libaudioeffect_jni.so", "0a5b0a63145f293ffe278536d37a4e6b73d7bee2", "/system/lib/libOpenMAXAL.so", "ecf6fb6037789661ad19ac4781ab819dd33758fa", "/system/lib/libext2_com_err.so", "f4c699df8deef77a56307632f1ee6b989f331992", "/system/lib/libusbhost.so", "0e3fca28ea9072b9682cdef6412e0e2ce75bc84a", "/system/lib/libthread_db.so", "12c0ba5de744f4dbd677a9df5529e8c481d01815", "/system/lib/libOpenSLES.so", "976c9e2f1d5e950dedb248718099201adea78352", "/system/lib/libssl.so", "7c7a664cd91cc3f149804616d0926a090929d497", "/system/lib/librpc.so", "81269761ad2f8a7d54ea13fc3f86b8f491344a50", "/system/lib/libmedia.so", "79a1aef4bc622a9c8381c0b3276b0ac74708e84a", "/system/lib/libicuuc.so", "a6e47f4aa2cf2262407b4f0e4b79ca889e1e4510", "/system/lib/libandroid_runtime.so", "1ab84c695ddf2dc4007825a9a9dab137981b9e9c", "/system/lib/libstagefright_soft_mp3dec.so", "f17f15e637342e007d986cf6dd01f93e13d0f6b8", "/system/lib/libglib.so", "ec19b88851dd92659b3e9aeedaf02f8c93f96350", "/system/lib/libiprouteutil.so", "cb8c823e5d41950bb9453775b5024a0991278393", "/system/lib/libmmipl.so", "f7096e0d979fbe4ee22ac555376889158a465872", "/system/lib/libbtio.so", "9f8286311c91c0e8398f001d6d3f45e66dfec210", "/system/lib/libbcc.so", "10489deea0fb6f0b2986fcc6d021e71d712bc351", "/system/lib/libjni_latinime.so", "5ad99a4a72ab946f4154909e7d30f81ef5e8020b", "/system/lib/libgemini.so", "a5b790d704be44cf6939475439827401d7f3bea5", "/system/lib/libm.so", "ca64503ca4f3ce90bf250dd2caf7e6bd271651ff", "/system/lib/libdefcontainer_jni.so", "bc9b85f39a3c08e50de25f52e29548c88f56fc4a", "/system/lib/libstagefright_soft_g711dec.so", "19fbfdd1edd44ba197896f22cfd93dcfcab2f667", "/system/lib/libstagefright_enc_common.so", "ea7299347006531eb240b1a26840ebbd5f555479", "/system/lib/libjni_mosaic.so", "080c9d122e47d8d9d5be6bce270d063bbc09bef9", "/system/lib/egl/libGLES_android.so", "c09c83725d39345cae9ef70ea1e4e18282ee2648", "/system/lib/egl/egl.cfg", "812655c141446e225230be00e36f7e9d6eb89106", "/system/lib/libchromium_net.so", "f8a053d8fbfe9a2fa922866d0e6e8150ee39f97b", "/system/lib/libsurfaceflinger.so", "92257681560c9b59abee06ef3ccfa80d45c503a6", "/system/lib/libandroid_servers.so", "89e523f10f6ea9c1206e6d4ca90295b116eb3692", "/system/lib/liboemcamera.so", "5c19f8e7edf4dfc379079e7ce15ae835161c9b9e", "/system/lib/librs_jni.so", "37c61578d0fa35e454997ef9ce734dc7a44af23e", "/system/lib/libdl.so", "f0323d28e326838004cfd11b8bcec4c91f5c1d8b", "/system/lib/libutils.so", "a9a3dc69058d51774ba71b99c521a48e093960d2", "/system/lib/libc_malloc_debug_qemu.so", "53fce0d256f85677fff96cfda94a1d597c6186db", "/system/lib/libstdc++.so", "41458f14a8d24a304ea4e347d265e672dfb9a083", "/system/lib/libc_malloc_debug_leak.so", "f5394f41f07b23bef97ccea65a7763f5915e9745", "/system/lib/libgenlock.so", "d390180ed2fd62e9eb27a8cdcf8eb197ea51475d", "/system/lib/libdrmframework.so", "85bd36e0b05b04c0f73b36ba6fd557baea8fb950", "/system/lib/libjpeg.so", "24560c6602e918a1f8430cd93436a47063f4b3bc", "/system/lib/libfilterfw.so", "da5ff869f1558eb4d8c8470f4fc34f005c7a1d99", "/system/lib/libril.so", "e9af198043b43beacf8a0ae6422213053ea14a26", "/system/lib/libhardware_legacy.so", "01e4087ffdc0e2e73bb8800fbd84a53a193c8b41", "/system/lib/libnativehelper.so", "a316997ac2d9246f8fe345402511ac52def3aa67", "/system/lib/libui.so", "ba13f522b1c3b049095df888342bb455033105b2", "/system/lib/libGLESv2_dbg.so", "619209c2b442fce4cfc6258d5f49b1ded1098daf", "/system/lib/libjnigraphics.so", "e1d278d49df02a3937957f219355ceae492ff1f5", "/system/lib/libnetutils.so", "61de2f995d8c84
22b4d8c2915792ff49eeba2059", "/system/lib/libext2_uuid.so", "87c218a0d2991de40e95aab928ee88ad8eb79cac", "/system/lib/libttscompat.so", "95b5221bdccc49fba70f64d4e2f954b9aeb50290", "/system/lib/libttspico.so", "89b8d0a1b8577d4143c247ce7bf2f20438804d94", "/system/lib/libGLESv1_CM.so", "1c6c268dee62b56746d18906b7eb8209071171ee", "/system/lib/libfilterpack_imageproc.so", "d33beba8349a858156b23732b8f44b5579a84d3e", "/system/lib/libmtp.so", "39e848d0535652fe9c08e257402cd7d1acc8b9d6", "/system/lib/libaudioalsa.so", "4435b96bbdbfd9f560fc3c4b4db8c2ef8ed694ca", "/system/lib/libsurfaceflinger_client.so", "12ba180d276b44d96e23f91c3d328f6ffdeed0eb", "/system/lib/libext2fs.so", "1431cebe96dddba42caa9f0613d9e0911260c978", "/system/lib/libbcc.so.sha1", "2d23aa048f412379d2e1f1f2aa4ba4685107a9e7", "/system/lib/libcamera.so", "107bd1bd5dc05e7b4c2bacf1459e9bd25e2f8f09", "/system/lib/libstagefright_omx.so", "99f8ebbaf51ff6c32f51f4c106a10f3da6835d74", "/system/lib/libpng.so", "cfbba1a25a995970c6b68f52ef1c31e98f874154", "/system/lib/libext2_e2p.so", "5be87d44afcdccd21a5ca3386191120124042e44", "/system/lib/libext2_blkid.so", "8e7eb7e130c4b5d5ee078ad9ffd7a5d38271610a", "/system/lib/libskia.so", "8698cb7bd69dde1b4594470caab30220c0ad020c", "/system/lib/libtilerenderer.so", "e5c0da385ad2db5b9c6e83de28c3d23d32878660", "/system/lib/libFFTEm.so", "8a8115371bca10035ef6412f8426eaa1fa93d3a9", "/system/lib/drm/libfwdlockengine.so", "9744ca0cbf9631e6bdea10631c3f73d0c0678424", "/system/lib/libstagefright_soft_vpxdec.so", "209ee82d8f234f996f7894c24954973ff897bd26", "/system/lib/libpagemap.so", "fab121b83cc3488a545df63d70388e64c311f0e3", "/system/lib/libext4_utils.so", "b40f1d095c70f670eda9b9054472489b27ee95f1", "/system/lib/libbcinfo.so", "3621e5c860a9b998dee2eef316e5c17e4e2c2e85", "/system/lib/libsonivox.so", "4f4823dd577a42d43914ca9a3c029cc77da4e643", "/system/lib/libdrmframework_jni.so", "508a4f03e2e959018f46d804097ac62cdf1fedc7", "/system/lib/libGLESv2.so", "0536c4f0bf9192994ef7bf40f648d66c60067530", "/system/lib/libstlport.so", "f9188aa8529e775e111a3f7faeb7c4f1afc3d7d5", "/system/lib/libhardware.so", "fc105835a44c49e5b877c618ba97bf4f3cb080f1", "/system/lib/libhtc_acoustic.so", "e0449fed468f3305e93766f568cfc08f554fb115", "/system/lib/libEGL.so", "61bd74dc7e2f2aad5bf5d9ffe1ab626aa420915e", "/system/lib/modules/bcm4329.ko", "84763878fda689827434452600c86f84f278a94b", "/system/lib/libstagefright_soft_mpeg4dec.so", "4ac70b0ce9d6866fc3efd38149cbb1cc88c2eabc", "/system/lib/liboverlay.so", "da2ec4e0195b2712fde31de430161a8c44558811", "/system/lib/soundfx/libcyanogen-dsp.so", "2fcabd44a9f6b79749344a8164cf5ac8c2dd1c21", "/system/lib/soundfx/libbundlewrapper.so", "ebbb70bc7fbc2b4cd414f402554864e5c323a0ac", "/system/lib/soundfx/libaudiopreprocessing.so", "3890ae1d4f7546b77c43c64cb4b6257878a0a1c3", "/system/lib/soundfx/libvisualizer.so", "28b54b7d21d3cc964c2e011fd0a3b87adeedd3fa", "/system/lib/soundfx/libreverbwrapper.so", "0b2c7cc03f0972d57b5562afe694fbb1ed724879", "/system/lib/libstagefright_foundation.so", "36aa4b1e0fa8608f936755470d93d7c57f064c89", "/system/lib/libmmjpeg.so", "4f280cd08cfdfcb6a572f5a00b1a8c247c8112f7", "/system/lib/libwebcore.so", "6e47e01c306ca7dd311f8fdb7842a9c302d770a1", "/system/lib/libaudioutils.so", "982c1ff66521bb872ad7f7f8496eee38a9c1cdf1", "/system/lib/libeffects.so", "f3417eddb53330e205275a6803619b87cce5aff4", "/system/lib/libext2_profile.so", "e3b2880981cff5de06fb4e8d51dcb3e86a438531", "/system/lib/libvorbisidec.so", "20a1798355ee6db4ed0283319bf2471d44f18530", "/system/lib/libexif.so", "e1a2fa88a0ed9f1572027e5b12bffd07549040c1", "/system/lib/libinput.so", "692b06a229d3cfe3a541710851c39fe3cd08ba6b", "/system/lib/libcutils.so", "884aabed8d114caa4cd0b417da02c0a962f2ae99", "/system/lib/libsqlite.so", "495f69c7aa3b61594000df210ceabe949596d003", "/system/lib/libnfc_ndef.so", "d84ebc031d82752b01c616b1a3c19f0b75b27349", "/system/lib/libstagefright_avc_common.so", "0d02453f3073709d58a085ad9919c480b3c8f1b2", "/system/lib/libsysutils.so", "453d4afc10ae39ad95987e3fa582240e8386bb4a", "/system/lib/libbluetoothd.so", "ac94327536583332c5ccb87d51cbf7c10
a9e8a46", "/system/lib/libbinder.so", "a41c7896a8dc24f4ea1d4be34dc94d061ce44c92", "/system/lib/libstagefrighthw.so", "a4562e2b5d60d3c4b9e89a34e0141e27ed2d92d6", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libdvm.so", "d836c4fc405cfe428207bb7b9647f4f5e27ce788", "/system/lib/libhtc_ril.so", "8ef21a8048df5a6d889bbbb757576d7f8860d0b4", "/system/lib/libmemalloc.so", "3c3ade16e87adcc1b8e32c7ea9d6c2468ffcce4b", "/system/lib/libctest.so", "819668572b1077dea9feb7e19a07d4f0adc99dd5", "/system/lib/libncurses.so", "eb298d7eb1195a61760c6690c36cd10aec4c112d", "/system/lib/libdrm1_jni.so", "ebc33e6c6e0016ef043d1406e3fefd52b18d783f", "/system/lib/libdbus.so", "f87b9b10356ed95f19d04a5b225b2393855c8e53", "/system/lib/libstagefright.so", "cba814773102690910825277080ea2888851c75c", "/system/lib/libRS.so", "38cff4e90e1ecacc5fab71e591806c4306bc3b83", "/system/lib/hw/audio_policy.default.so", "060d38892ec66f4656bc6aad8953ef8c3e23a12e", "/system/lib/hw/audio.primary.msm7x30.so", "d7d81980fab542a654fde7087c5b6a9a77d00f5f", "/system/lib/hw/camera.goldfish.so", "0d2c621c888d51b8d85755dbc60180d34c204872", "/system/lib/hw/lights.goldfish.so", "cd907cb3d8fcc723fde04bf1f49e9bcde152e8cb", "/system/lib/hw/sensors.goldfish.so", "78d908be6a76775cd970669814632e4c56620996", "/system/lib/hw/gralloc.default.so", "f514a3b009f8a8d552d26dd661a9d1cab4367f85", "/system/lib/hw/lights.spade.so", "83fe331a62eaa5051472fedd70a6315b21b5b35d", "/system/lib/hw/audio.primary.default.so", "cc3b65565d89c0218d124c6ff623ec981233f085", "/system/lib/hw/audio.a2dp.default.so", "1b236a04ee5ab26c65efdf27ea1772f08041ebf6", "/system/lib/hw/gps.goldfish.so", "9a92af561375f5b1e7c3f1a96b0957333fcaab9b", "/system/lib/hw/gralloc.msm7x30.so", "a59b62b4bd6adbdae882ab4e7378eb586a7d52a1", "/system/lib/hw/hwcomposer.msm7x30.so", "d268e912e6227b2b7c6403eec6eec13a19f3a6c4", "/system/lib/hw/sensors.spade.so", "1742a1a8dd38de812b9c3be772d5008c09411756", "/system/lib/hw/audio_policy.msm7x30.so", "490a27cb57432fb2ea8f95ab101dbb933f2836b8", "/system/lib/hw/gps.spade.so", "70fe8f95548f546c8f368ba53b339d6d567d0788", "/system/lib/libnetlink.so", "256bc13f9142c52a1af6a671eb0efbf50d9cd37f", "/system/lib/libaudioflinger.so", "0e34661f9775510b69030d60392170c0ab53873e", "/system/lib/libbluedroid.so", "8640764a2aeed6a10d58d7c22808c50f2609d207", "/system/lib/libreference-ril.so", "77798de198b2d3079c5cc6f87520fa499c070894", "/system/lib/libETC1.so", "e16b2b3bdcbc01eb4bd34a179334cea639722b4b", "/system/lib/libexpat.so", "4114776ff9c9315fdec6003ddf49a07d6077635f", "/system/lib/libwebrtc_audio_preprocessing.so", "e7f941f179af00cf2ce4f5976e00f9852c6223c6", "/system/lib/libcameraservice.so", "a6ac461b3b445dd41cf26dc5b5a057003f022b92", "/system/lib/libz.so", "3036287ac6c3089613e28d95e46ff0e82a3793fe", "/system/lib/libmedia_jni.so", "2f04b75170abbee25c5d11bd1a4328235db91ea4", "/system/lib/libsqlite_jni.so", "3743e5caf2ee2f6eef31c437d4308b3d682435ab", "/system/lib/libgui.so", "85fdd31fd5d1217a98bc51e92003fc38cc9516f6", "/system/lib/libdrm1.so", "a284082e24bb38c71f233d909d80141bf3c87084", "/system/lib/libpower.so", "dcdda598918567c4e98e0ffa6936d12dcc799b60", "/system/lib/libsensorservice.so", "def94e7e5c4936e035bfa2db27d02fb4d2dac6f5", "/system/lib/libmediaplayerservice.so", "b6503e5839c57d198b06d4eb9e8782d093249c8d", "/system/lib/libbluetooth.so", "227e968a74ca4868364f901ee4f434728a8c02e7", "/system/lib/libOmxCore.so", "532197caa9a3393a8fa001d3acca10f443bbccd6", "/system/lib/libjackpal-androidterm3.so", "ecaeb903c230d76e6becedc058fc61b518e9d60b", "/system/lib/libhwui.so", "9d2a13833dfdfe00bc13ff680b7428b492b389fa", "/system/lib/libgabi++.so", "7b93573cf78029a43c298d9aa5941e1028727e97", "/system/lib/libstagefright_soft_vorbisdec.so", "d5e1628ab36cfce2c4c0bf179e23fdf584f07d20", "/system/lib/libpixelflinger.so", "5bbef5f11a00a52f06ee81ba28ffc6cffbd6382b", "/system/lib/libsrec_jni.so", "96a19b4e21792923d417e98caec8686d4b3ce687", "/system/lib/libspeexresampler.so", "b0061198c320e029798f43c5645b296d3d98405a", "/system/lib/libharfbuzz.so", "13cc8451d4ff949a3308ac557dba2d2ab7981835", "/
system/lib/librtp_jni.so", "1e053ce1ad300696ee56017a5862506c1b0c4987", "/system/lib/libandroid.so", "eecd1267f083982677f274811eb44742d17a0490", "/system/lib/libstagefright_soft_h264dec.so", "5f438a50fe66ebba4a2a24706709dbcc15827935", "/system/lib/libstagefright_amrnb_common.so", "a18e41ae62cd9412590c399a3541e67cdca0d0ff", "/system/lib/libvariablespeed.so", "da29aa11a8fa88b23588b0e02960d43494a01fcf", "/system/lib/libdiskconfig.so", "b7a8064b05476bd6003ad3409186cdb281e8facf", "/system/lib/libemoji.so", "691b154ea187d3001056ecc6c428931a464814b0", "/system/lib/bluez-plugin/input.so", "bac981242ca067fb85e3353c9612694853c70b95", "/system/lib/bluez-plugin/audio.so", "cbfa5b27fff855a5ff2786cf0b887fa24a952427", "/system/lib/bluez-plugin/bluetooth-health.so", "f245b147c55f93c8495292b08ca1ebefe592f35d", "/system/lib/bluez-plugin/network.so", "06cf3475f6a8c5aa6a2c81ad4fb03a94a0bf6de2", "/system/lib/libvideoeditorplayer.so", "8d92f795481fb3b839ea573a1836abc4815d4d0d", "/system/lib/libc.so", "430fc15ccb464e2403bc9cbbf7a8695d108d5645", "/system/lib/libcrypto.so", "8216ea97fa82ed43069ab54d39c13a9692bb0d1d", "/system/lib/libQcomUI.so", "01723e07d9cb8175db18616055d3f07124fbd939", "/system/lib/libstagefright_soft_amrdec.so", "d8152489950361148aebea2916e9d0566bf0d0d4", "/system/lib/libvideoeditor_jni.so", "01ce607fed814c5c9df25ff8fef211219aa5270c", "/system/lib/libwilhelm.so", "f45a6bc49f675a4a182ae9ee66d9964852d11b9c", "/system/lib/libsystem_server.so", "012a7bd7139ad645e0fdf2ada51b3409cccb900a", "/system/lib/liblog.so", "1abd49064783fd60156b8e819d3deba11a6cf875", "/system/lib/libicui18n.so", "a751000ac375953553fcde981ac1401f6c074518");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p22");
show_progress(0.100000, 0);
unmount("/system");
Have you tried recompiling?
Maybe some permission errors?

[Q] fixed status 7, but cm install still aborting

Hi, I am trying to install a new version of CM. I have however encountered a status 7 error which I have fixed by editing the updater-script in the zip file. After trying to re-install I don't get a status 7 error anymore, but the installation just aborts. Here is my log file if anyone can help!
Starting recovery on Sat Aug 17 12:50:27 2013
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (720 x 1280)
ClockworkMod Recovery v5.8.4.0
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /recovery emmc /dev/block/mmcblk0p5 (null) 0
2 /boot emmc /dev/block/mmcblk0p4 (null) 0
3 /cache ext4 /dev/block/mmcblk0p13 (null) 0
4 /data ext4 /dev/block/mmcblk0p15 (null) 0
5 /sdcard vfat /dev/block/mmcblk0p14 (null) 0
6 /system ext4 /dev/block/mmcblk0p12 (null) 0
7 /misc emmc /dev/block/mmcblk0p17 (null) 0
W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
Irocessing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=IMM76I
ro.build.display.id=cm_endeavoru-userdebug 4.0.4 IMM76I eng.koush.20120609.101958 test-keys
ro.build.version.incremental=eng.koush.20120609.101958
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Sat Jun 9 10:20:25 PDT 2012
ro.build.date.utc=0
ro.build.type=userdebug
ro.build.user=koush
ro.build.host=Koushik-Lion.local
ro.build.tags=test-keys
ro.product.model=endeavoru
ro.product.brand=htc
ro.product.name=cm_endeavoru
ro.product.device=endeavoru
ro.product.board=endeavoru
ro.product.cpu.abi=armeabi
ro.product.manufacturer=htc
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=endeavoru
ro.build.description=cm_endeavoru-userdebug 4.0.4 IMM76I eng.koush.20120609.101958 test-keys
ro.build.fingerprint=htc/cm_endeavoru/endeavoru:4.0.4/IMM76I/eng.koush.20120609.101958:userdebug/test-keys
ro.build.characteristics=default
ro.cm.device=endeavoru
ro.rommanager.developerid=cyanogenmod
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=9.0.0-RC0-endeavoru-UNOFFICIAL
ro.modversion=9.0.0-RC0-endeavoru-UNOFFICIAL
ro.config.ringtone=CyanTone.ogg
ro.config.notification_sound=CyanMessage.ogg
ro.config.alarm_alert=CyanAlarm.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=HT243W126399
ro.bootmode=recovery
ro.baseband=1.1204.105.14
ro.carrier=HTC-WWE
ro.bootloader=0.95.0000
ro.hardware=endeavoru
ro.revision=0
ro.emmc=1
init.svc.recovery=running
init.svc.choice_fn=stopped
init.svc.htcbatt=running
ro.9kramdump=0
service.adb.root=1
init.svc.adbd=running
I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
SD Card mounted...
Verifying SD Card marker...
e90fa0ca78495c1aa3db624ac1df2165
I:Running script:
I:
run_program("/sbin/cp", "-R", "/cache/recovery", "/tmp/recovery");
ui_print("ROM Manager Version 5.5.3.0");
ui_print("August 17, 2013");
ui_print("Preparing to install ROM...");
run_program("/cache/dowipedalvikcache.sh");
mount("/system");
run_program("/sbin/chmod", "+x", "/tmp/recovery/11-rommanager.sh");
run_program("/tmp/recovery/11-rommanager.sh", "place");
run_program("/sbin/umount", "/system");
assert(install_zip("/sdcard/goomanager/cm-10.1-20130816-NIGHTLY-endeavoru.zip"));
parse returned 0; 0 errors encountered
about to run program [/sbin/cp] with 4 args
ROM Manager Version 5.5.3.0
August 17, 2013
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: Invalid argument
run_program: child exited with status 1
about to run program [/sbin/chmod] with 3 args
about to run program [/tmp/recovery/11-rommanager.sh] with 2 args
mount: mounting /dev/block/mmcblk0p12 on /system failed: Device or resource busy
about to run program [/sbin/umount] with 2 args
-- Installing: /sdcard/goomanager/cm-10.1-20130816-NIGHTLY-endeavoru.zip
Finding update package...
I:Update location: /sdcard/goomanager/cm-10.1-20130816-NIGHTLY-endeavoru.zip
Opening update package...
Installing update...
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/goomanager/cm-10.1-20130816-NIGHTLY-endeavoru.zip")
Click to expand...
Click to collapse
and here is the updater-script
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
package_extract_dir("system", "/system");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fstrim", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pipe_progress",
"/system/xbin/pkill", "/system/xbin/pmap", "/system/xbin/poweroff",
"/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps",
"/system/xbin/pstree", "/system/xbin/pwd", "/system/xbin/pwdx",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/rev", "/system/xbin/rm", "/system/xbin/rmdir",
"/system/xbin/rmmod", "/system/xbin/route", "/system/xbin/run-parts",
"/system/xbin/rx", "/system/xbin/sed", "/system/xbin/seq",
"/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha3sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp",
"/system/bin/date", "/system/bin/dd", "/system/bin/df",
"/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restart", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/touch",
"/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
"/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 0, 0644, "/system/vendor/firmware/libpn544_fw.so");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p4");
show_progress(0.100000, 0);
unmount("/system");
Click to expand...
Click to collapse
brucezepplin said:
Hi, I am trying to install a new version of CM. I have however encountered a status 7 error which I have fixed by editing the updater-script in the zip file. After trying to re-install I don't get a status 7 error anymore, but the installation just aborts. Here is my log file if anyone can help!
and here is the updater-script
Click to expand...
Click to collapse
Try redownloading Rom ...and maybe flash other recovery if that doesn't work
Gesendet von meinem HTC One X mit Tapatalk 2
Update the hboot first. Hboot 0.95 is not supported. You need a jellybean hboot !
At least for the latest CM roms
Download the stable version of cm, not the night builds.
Sent from my HTC One X using xda premium
Mr Hofs said:
Update the hboot first. Hboot 0.95 is not supported. You need a jellybean hboot !
At least for the latest CM roms
Click to expand...
Click to collapse
just to check - if I have no CID id, can I use any hboot firmware?
Theoretically yes, but only if you have s-off

[AROMA][tweak][How To]Only Flash themes, mods and apps without entire rom

Hi all,
Again a thread to tweak
I have the idea to use only part relatives with APPs or THEMEs from an AROMA ROM. the only AROMA ROM i found to make it easy as a tuto is last build V4 from @tokobot (thanks to him)
I found this [ROM][AOKP-4.2.2] TokoRom V4 [AROMA+OTA][ThemeManager][SonySmallApps][19/08/2013] is remarquable to show you what i have done to only use AROMA choice from ZIP ROM to only install APP and THEME from it in a new JBAM 10.1.0 (banished in XDA) i put in my S2 for test this new method today
I edit updater-script from tokorom AROMA ZIP ROM and delete all lines relative with the entire flash ROM process, like formating system partition, extracting system folder from zip to system partition on tel, all usual symlink lines and the flaks of kernel in ZIP ROM.
I only let lines to use AROMA apps and themes choices.
1rst test i give was not good because i mistake when i choose all apks in aroma except google apps and i havent enought space on system partition rom, but this gives me the idea to put all apks and themes from ZIP ROM to data/app folder of rom and let gapps from aroma in their original input, in system/app of rom.
Toko'Gapps in zip rom are 120Mo large and i only have 60Mo available on my system partition, but with some gapps already installed with my 4.3 rom i use i can let them to go to system/app folder in tel , from ZIP ROM during flash process.
Find my extracted AROMA MOD for 4.2 ROM here.
original updater-script :
(RED lines are the code i remove and some blue as demo will be change to ", "/data/app"); in final script.
Code:
ui_print("");
ui_print("####################################");
ui_print(" Welcome to the installation of the Tokorom 8D ");
ui_print("");
show_progress(0.500000, 0);
unmount("/cache");
unmount("/data");
unmount("/system");
[COLOR="Red"]format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0");[/COLOR]
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");
delete_recursive("/data/dalvik-cache");
[COLOR="Red"]ui_print("Extracting files...");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");[/COLOR]
# Stock theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.1") == "1"
then
ui_print("Installing Stock theme");
package_extract_dir("TokoRom/Themes/stock[COLOR="Blue"]", "/system/app");[/COLOR]
endif;
# Sense theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.2") == "1"
then
ui_print("Installing Sense theme");
package_extract_dir("TokoRom/Themes/sense/app[COLOR="Blue"]", "/system/app");[/COLOR]
package_extract_file("TokoRom/Themes/sense/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# TouchWiz 5 theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.3") == "1"
then
ui_print("Installing Touchwiz5 theme");
package_extract_dir("TokoRom/Themes/tw/app", "/system/app");
package_extract_file("TokoRom/Themes/tw/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Xperia theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.4") == "1"
then
ui_print("Installing Xperia theme");
package_extract_dir("TokoRom/Themes/xperia/app", "/system/app");
package_extract_file("TokoRom/Themes/xperia/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Motorola theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.5") == "1"
then
ui_print("Installing Motorola theme");
package_extract_dir("TokoRom/Themes/motorola/app", "/system/app");
package_extract_file("TokoRom/Themes/motorola/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# MIUI theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.6") == "1"
then
ui_print("Installing MIUI theme");
package_extract_dir("TokoRom/Themes/miui/app", "/system/app");
package_extract_file("TokoRom/Themes/miui/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Lunar UI
if
file_getprop("/tmp/aroma/theme.prop","item.1.7") == "1"
then
ui_print("Installing Lunar UI");
package_extract_dir("TokoRom/Themes/lunarui/app", "/system/app");
package_extract_file("TokoRom/Themes/lunarui/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Ubuntu theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.8") == "1"
then
ui_print("Installing Ubuntu theme");
package_extract_dir("TokoRom/Themes/ubuntu/app", "/system/app");
package_extract_file("TokoRom/Themes/ubuntu/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Windows8 theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.9") == "1"
then
ui_print("Installing Windows8 theme");
package_extract_dir("TokoRom/Themes/windows/app", "/system/app");
package_extract_file("TokoRom/Themes/windows/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Chronium theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.10") == "1"
then
ui_print("Installing Chronium theme");
package_extract_dir("TokoRom/Themes/chronium/app", "/system/app");
package_extract_file("TokoRom/Themes/chronium/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# ADW.Launcher
if
file_getprop("/tmp/aroma/launcher.prop","item.1.1") == "1"
then
ui_print("Installing ADW.Launcher");
package_extract_dir("TokoRom/Launcher/adw[COLOR="Blue"]", "/system/app");[/COLOR]
endif;
# Apex Launcher
if
file_getprop("/tmp/aroma/launcher.prop","item.1.2") == "1"
then
ui_print("Installing Apex Launcher");
package_extract_dir("TokoRom/Launcher/apex[COLOR="Blue"]", "/system/app");[/COLOR]
endif;
# Nova Launcher
if
file_getprop("/tmp/aroma/launcher.prop","item.1.3") == "1"
then
ui_print("Installing Nova Launcher");
package_extract_dir("TokoRom/Launcher/nova[COLOR="Blue"]", "/system/app");[/COLOR]
endif;
# ES File Explorer
if
file_getprop("/tmp/aroma/filemanager.prop","item.1.1") == "1"
then
ui_print("Installing ES File Explorer");
package_extract_dir("TokoRom/FileManager/es", "/system/app");
endif;
# Xplore
if
file_getprop("/tmp/aroma/filemanager.prop","item.1.2") == "1"
then
ui_print("Installing Xplore");
package_extract_dir("TokoRom/FileManager/xplore", "/system/app");
endif;
# File Expert
if
file_getprop("/tmp/aroma/filemanager.prop","item.1.3") == "1"
then
ui_print("Installing File Expert");
package_extract_dir("TokoRom/FileManager/fileexpert", "/system/app");
endif;
# Google Music
if
file_getprop("/tmp/aroma/musicplayer.prop","item.1.2") == "1"
then
ui_print("Installing Google Music");
package_extract_dir("TokoRom/MusicPlayer/google", "/system/app");
endif;
# AMP Music Player
if
file_getprop("/tmp/aroma/musicplayer.prop","item.1.1") == "1"
then
ui_print("Installing Shuttle Music Player");
package_extract_dir("TokoRom/MusicPlayer/amp", "/system/app");
endif;
# Stock Camera
if
file_getprop("/tmp/aroma/camera.prop","item.1.1") == "1"
then
ui_print("Installing Stock AOKP Camera");
package_extract_dir("TokoRom/Camera/stock/app", "/system/app");
package_extract_dir("TokoRom/Camera/stock/lib", "/system/lib");
endif;
# Android 4.3 Camera
if
file_getprop("/tmp/aroma/camera.prop","item.1.2") == "1"
then
ui_print("Installing Android 4.3 Camera");
package_extract_dir("TokoRom/Camera/mod/app", "/system/app");
endif;
# Gapps
if
file_getprop("/tmp/aroma/gapps.prop","item.1.1") == "1"
then
ui_print("@ Installing Gapps JB");
delete("/system/app/Provision.apk","/system/app/QuickSearchBox.apk","/system/app/Vending.apk");
package_extract_dir("TokoRom/Google/system", "/system");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("TokoRom/Google/optional", "/tmp");
package_extract_file("TokoRom/Google/install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
# NO Gapps
if
file_getprop("/tmp/aroma/gapps.prop","item.1.2") == "1"
then
package_extract_dir("TokoRom/Nogapps","/system");
endif;
[COLOR="Red"]ui_print("Symlinking...");
symlink("SegoeWP-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("SegoeWP-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
"/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
"/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
"/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
"/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
"/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
"/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
"/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
"/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
"/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
"/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
"/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha512sum",
"/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
"/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
"/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
"/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
"/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
ui_print("Setting Permission...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 1000, 0750, "/system/bin/iptables");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/beatsbass");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/beatsnormal");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_gec");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_gec_bt");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_gec_x");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_ibeats");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_ibeats_solo");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_ibeats_solo_x");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_ibeats_studio");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/basimage_ibeats_x");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_gec");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_gec_bt");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_gec_x");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_ibeats");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_ibeats_solo");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_ibeats_solo_x");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_ibeats_studio");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/dynimage_ibeats_x");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_beatbox_bt");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_beats_wireless_bt");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_gec");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_gec_bt");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_htc_earbud");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_htc_midtier");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_ibeats");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_ibeats_solo");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_ibeats_solo_v2");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/image_ibeats_v2");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/load_mg_driver");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/load_sony_driver");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/mm-audio-acdb-test");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/mm-audio-native-test");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/pm_snd");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/snd");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/snd8k");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/snd3008");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/sony_sysd");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/sound");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/sound7x30");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/sound8x60");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/sound8960");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/spkamp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin/xaplay");
set_perm(0, 0, 0777, "/system/etc/init.d/06removecache");
set_perm(0, 0, 0777, "/system/etc/init.d/64misckernel");
set_perm(0, 0, 0777, "/system/etc/init.d/69removelogger");
set_perm(0, 0, 0777, "/system/etc/init.d/Battery");
set_perm(0, 0, 0777, "/system/etc/init.d/mramllag");
set_perm(0, 0, 0777, "/system/etc/init.d/LoopySmoothness");
set_perm(0, 0, 0777, "/system/etc/init.d/S98CFS");
set_perm(0, 0, 0777, "/system/etc/init.d/Speedy");
set_perm(0, 0, 0777, "/system/etc/init.d/Zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/Zram");
set_perm(0, 0, 0777, "/system/etc/init.d/sysctl_tweaks");
set_perm(0, 0, 0777, "/system/xbin/zipalign");
set_perm(0, 0, 0777, "/system/bin/boost");
set_perm(0, 0, 0777, "/system/etc/hosts");
set_perm(0, 0, 0777, "/system/etc/sysctl.conf");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
show_progress(0.200000, 0);
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));[/COLOR]
show_progress(0.100000, 0);
ui_print("Installation Finished");
ui_print("Thank You for choosing the TokoRom");
ui_print("And remember to post your thoughts on the forum :D");
unmount("/system");
final updater-script :
Code:
ui_print("");
ui_print("####################################");
ui_print(" Welcome to the installation of the Tokorom 8D ");
ui_print("");
show_progress(0.500000, 0);
unmount("/cache");
unmount("/data");
unmount("/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");
delete_recursive("/data/dalvik-cache");
# Stock theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.1") == "1"
then
ui_print("Installing Stock theme");
package_extract_dir("TokoRom/Themes/stock[B][COLOR="Black"]", "/data/app");[/COLOR][/B]
endif;
# Sense theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.2") == "1"
then
ui_print("Installing Sense theme");
package_extract_dir("TokoRom/Themes/sense/app[B][COLOR="Black"]", "/data/app");[/COLOR][/B]
package_extract_file("TokoRom/Themes/sense/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# TouchWiz 5 theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.3") == "1"
then
ui_print("Installing Touchwiz5 theme");
package_extract_dir("TokoRom/Themes/tw/app", "/data/app");
package_extract_file("TokoRom/Themes/tw/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Xperia theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.4") == "1"
then
ui_print("Installing Xperia theme");
package_extract_dir("TokoRom/Themes/xperia/app", "/data/app");
package_extract_file("TokoRom/Themes/xperia/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Motorola theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.5") == "1"
then
ui_print("Installing Motorola theme");
package_extract_dir("TokoRom/Themes/motorola/app", "/data/app");
package_extract_file("TokoRom/Themes/motorola/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# MIUI theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.6") == "1"
then
ui_print("Installing MIUI theme");
package_extract_dir("TokoRom/Themes/miui/app", "/data/app");
package_extract_file("TokoRom/Themes/miui/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Lunar UI
if
file_getprop("/tmp/aroma/theme.prop","item.1.7") == "1"
then
ui_print("Installing Lunar UI");
package_extract_dir("TokoRom/Themes/lunarui/app", "/data/app");
package_extract_file("TokoRom/Themes/lunarui/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Ubuntu theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.8") == "1"
then
ui_print("Installing Ubuntu theme");
package_extract_dir("TokoRom/Themes/ubuntu/app", "/data/app");
package_extract_file("TokoRom/Themes/ubuntu/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Windows8 theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.9") == "1"
then
ui_print("Installing Windows8 theme");
package_extract_dir("TokoRom/Themes/windows/app", "/data/app");
package_extract_file("TokoRom/Themes/windows/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# Chronium theme
if
file_getprop("/tmp/aroma/theme.prop","item.1.10") == "1"
then
ui_print("Installing Chronium theme");
package_extract_dir("TokoRom/Themes/chronium/app", "/data/app");
package_extract_file("TokoRom/Themes/chronium/build/theme.sh", "/tmp/theme.sh");
set_perm(0, 0, 0777, "/tmp/theme.sh");
run_program("/tmp/theme.sh");
endif;
# ADW.Launcher
if
file_getprop("/tmp/aroma/launcher.prop","item.1.1") == "1"
then
ui_print("Installing ADW.Launcher");
package_extract_dir("TokoRom/Launcher/adw", "/data/app");
endif;
# Apex Launcher
if
file_getprop("/tmp/aroma/launcher.prop","item.1.2") == "1"
then
ui_print("Installing Apex Launcher");
package_extract_dir("TokoRom/Launcher/apex", "/data/app");
endif;
# Nova Launcher
if
file_getprop("/tmp/aroma/launcher.prop","item.1.3") == "1"
then
ui_print("Installing Nova Launcher");
package_extract_dir("TokoRom/Launcher/nova", "/data/app");
endif;
# ES File Explorer
if
file_getprop("/tmp/aroma/filemanager.prop","item.1.1") == "1"
then
ui_print("Installing ES File Explorer");
package_extract_dir("TokoRom/FileManager/es", "/data/app");
endif;
# Xplore
if
file_getprop("/tmp/aroma/filemanager.prop","item.1.2") == "1"
then
ui_print("Installing Xplore");
package_extract_dir("TokoRom/FileManager/xplore", "/data/app");
endif;
# File Expert
if
file_getprop("/tmp/aroma/filemanager.prop","item.1.3") == "1"
then
ui_print("Installing File Expert");
package_extract_dir("TokoRom/FileManager/fileexpert", "/data/app");
endif;
# Google Music
if
file_getprop("/tmp/aroma/musicplayer.prop","item.1.2") == "1"
then
ui_print("Installing Google Music");
package_extract_dir("TokoRom/MusicPlayer/google", "/system/app");
endif;
# AMP Music Player
if
file_getprop("/tmp/aroma/musicplayer.prop","item.1.1") == "1"
then
ui_print("Installing Shuttle Music Player");
package_extract_dir("TokoRom/MusicPlayer/amp", "/system/app");
endif;
# Stock Camera
if
file_getprop("/tmp/aroma/camera.prop","item.1.1") == "1"
then
ui_print("Installing Stock AOKP Camera");
package_extract_dir("TokoRom/Camera/stock/app", "/system/app");
package_extract_dir("TokoRom/Camera/stock/lib", "/system/lib");
endif;
# Android 4.3 Camera
if
file_getprop("/tmp/aroma/camera.prop","item.1.2") == "1"
then
ui_print("Installing Android 4.3 Camera");
package_extract_dir("TokoRom/Camera/mod/app", "/system/app");
endif;
# Gapps
if
file_getprop("/tmp/aroma/gapps.prop","item.1.1") == "1"
then
ui_print("@ Installing Gapps JB");
delete("/system/app/Provision.apk","/system/app/QuickSearchBox.apk","/system/app/Vending.apk");
package_extract_dir("TokoRom/Google/system", "/system");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("TokoRom/Google/optional", "/tmp");
package_extract_file("TokoRom/Google/install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
# NO Gapps
if
file_getprop("/tmp/aroma/gapps.prop","item.1.2") == "1"
then
package_extract_dir("TokoRom/Nogapps","/system");
endif;
show_progress(0.200000, 0);
show_progress(0.200000, 10);
show_progress(0.200000, 0);
show_progress(0.200000, 10);
show_progress(0.100000, 0);
ui_print("Installation Finished");
ui_print("Thank You for choosing the TokoRom");
ui_print("And remember to post your thoughts on the forum :D");
unmount("/system");
As its an example of use so i expect you will make a nandoid of your tel befor the try you give after reading this abnormal use of script.
in attachment, updater-script i use to replace in tokorom you can download from original thread. (remove ".txt" before replace in zip)
thanks
EDIT : i have a test with Gapps in AROMA we are talking about and seems that libjni_latinime.so in zip make my AOSP keyboard FCs. FCs stop when i restore only this file from my original in ROM i use.
so i think only this file can ben remove from this aroma before flash too, to avoid same trouble.
thanks a lot :good:
i want this one
i want this one
a new thread with new goodies
great job buddy :good:

Categories

Resources