please around help in mine script´s is a mistake - HD2 Android Q&A, Help & Troubleshooting and Genera

I search an expert to me in my Rom the AROMA script and updater script on mistake can examine.
the works on eu leo and not on the tmous leo.
somewhere there sits a mistake and I cannot find him
here is the rom link:
http://d-h.st/ifW
many thanks
pixelfreak

re
it is so sadly nobody wants to help(assist).

-pixelfreak- said:
it is so sadly nobody wants to help(assist).
Click to expand...
Click to collapse
I guess the main reason why there is no help is none would want to download 400+ MB to see what is the mistake in the script. Posting the script alone, or a zip without the /system and /boot would be easier to check.
Swyped from my HTC HD2 using XDA app

ph03n!x said:
I guess the main reason why there is no help is none would want to download 400+ MB to see what is the mistake in the script. Posting the script alone, or a zip without the /system and /boot would be easier to check.
Swyped from my HTC HD2 using XDA app
Click to expand...
Click to collapse
but only so one can understand exactly the structure of Rom. only scripte will not bring there a lot.
pixelfreak

re
i have 4 kernels in my rom. under magldr can i work with GBLeo. the other kernels have mistake with WIFI. i think the mistake is in the updater script. i clk work all kernels good.
Code:
################# MAGLDR marc
ui_print("@- KERNEL Installation");
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "1"
then
ui_print(" ");
ui_print("@- MAGLDR kernel marc1706 0.2.2...");
format("MTD", "boot");
mount("MTD", "boot", "/boot");
package_extract_dir("kernels/kernels_marc/boot", "/boot");
package_extract_dir("systems/system_marc","/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/01_modules");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein MAGLDR kernel marc1706 0.2.2 Installiert...");
endif;
################ MAGLDR GBL
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "2"
then
ui_print(" ");
ui_print("@- MAGLDR GBLeoKernel-1.3-TBD+WiFi...");
format("MTD", "boot");
mount("MTD", "boot", "/boot");
package_extract_dir("kernels/kernels_GBLeo/boot", "/boot");
delete("/system/lib/modules");
delete("/system/etc/init.d/01_modules");
package_extract_dir("systems/system_GBLeo","/system");
set_perm(0, 0, 0777, "/system/bin/compcache");
set_perm(0, 0, 0777, "/system/bin/zram_stats");
set_perm(0, 0, 0777, "/system/bin/handle_compcache");
set_perm(0, 0, 0777, "/system/bin/bash");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/01_modules");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein MAGLDR GBLeoKernel-1.3-TBD+WiFi Installiert...");
endif;
################ MAGLDR WARREN
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "3"
then
ui_print(" ");
ui_print("@- MAGLDR Kernel Warren...");
format("MTD", "boot");
mount("MTD", "boot", "/boot");
package_extract_dir("kernels/kernels_warren/boot", "/boot");
delete("/system/lib/modules");
delete("/system/etc/init.d/01_modules");
package_extract_dir("systems/system_warren", "/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/01_modules");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein MAGLDR Warren Kernel Installiert...");
endif;
################ MAGLDR FIKRET
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "4"
then
ui_print(" ");
ui_print("@- MAGLDR Kernel Fikret...");
format("MTD", "boot");
mount("MTD", "boot", "/boot");
package_extract_dir("kernels/kernels_fikret/boot", "/boot");
package_extract_dir("systems/system_fikret", "/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/01_modules");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein MAGLDR Fikret Kernel Installiert...");
endif;
############## CLK marc
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "2" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "1"
then
ui_print(" ");
ui_print("@- CLK kernel marc1706 0.2.2...");
format("MTD", "boot");
assert(package_extract_file("kernels/kernels_marc/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
package_extract_dir("clk/clk_marc", "/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0777, "/system/etc/init.d/01_modules");
set_perm_recursive(0, 0, 0755, 0750, "/system/etc/ppp");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein CLK kernel marc1706 0.2.2... Installiert");
endif;
############## CLK GBL
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "2" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "2"
then
ui_print(" ");
ui_print("@- CLK GBLeoKernel-1.3-TBD+WiFi...");
format("MTD", "boot");
assert(package_extract_file("kernels/kernels_GBLeo/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
delete("/system/lib/modules");
delete("/system/etc/init.d/01_modules");
package_extract_dir("clk/clk_GBLeo", "/system");
package_extract_dir("systems/system_GBLeo","/system");
set_perm(0, 0, 0777, "/system/bin/compcache");
set_perm(0, 0, 0777, "/system/bin/zram_stats");
set_perm(0, 0, 0777, "/system/bin/handle_compcache");
set_perm(0, 0, 0777, "/system/bin/bash");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0750, "/system/etc/ppp");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein CLK GBLeoKernel-1.3-TBD+WiFi... installiert...");
endif;
############## CLK WARREN
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "2" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "3"
then
ui_print(" ");
ui_print("@- CLK Kernel Warren...");
format("MTD", "boot");
assert(package_extract_file("kernels/kernels_warren/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
delete("/system/lib/modules");
delete("/system/etc/init.d/01_modules");
package_extract_dir("clk/clk_warren", "/system");
package_extract_dir("systems/system_warren","/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0750, "/system/etc/ppp");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein CLK Warren Kernel Installiert...");
endif;
############## CLK FIKRET
if
file_getprop("/tmp/aroma-data/kernel.prop","selected.1") == "2" &&
file_getprop("/tmp/aroma-data/kernelver.prop","selected.1") == "4"
then
ui_print(" ");
ui_print("@- CLK Kernel Fikret...");
format("MTD", "boot");
assert(package_extract_file("kernels/kernels_fikret/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
delete("/system/lib/modules");
delete("/system/etc/init.d/01_modules");
package_extract_dir("clk/clk_fikret", "/system");
package_extract_dir("systems/system_fikret","/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0750, "/system/etc/ppp");
set_progress(0.96);
run_program("/system/bin/reboot");
else
ui_print("@- kein CLK Fikret Kernel Installiert...");
endif;
unmount("/boot");
unmount("/system");
unmount("/data");
unmount("/sd-ext");
ui_print(" ");
ui_print(" ");
ui_print("@FERTIG...");
set_progress(1.0);
here is my meta.inf

Related

[HELP] E:Error when flashing ROM

I'm a new developer and I am trying to release my next update for the Droid X2 MinimalX. Everything is built and should be, to my knowledge, functioning flawlessly.
When trying to flash the ROM, I run into this error:
Code:
E:Error in /emmc/...[rom name]
(status 6)
I've had this problem previously, and fixed it by correcting issues in my updater-script, but here, I cannot find where the error is occurring.
Any help is greatly appreciated.
updater-script:
Code:
#
# Updater-script for Motorola Droid X2 by c21johnson
#
ui_print(" c21johnson ");
ui_print(" presents ");
ui_print(" _ __ __");
ui_print(" _ __ ___ (_)_ __ \ \/ /");
ui_print("| '_ ` _ \| | '_ \ \ / ");
ui_print("| | | | | | | | | |/ \ ");
ui_print("|_| |_| |_|_|_| |_/_/\_\");
ui_print(" DULCE ");
ui_print(" ");
ui_print("Having sexual intercourse with X2");
ui_print(" aka mounting ");
mount("ext3", "/dev/block/mmcblk0p12", "/system");
mount("ext3", "/dev/block/mmcblk0p16", "/data");
ui_print("Debloat-ify");
format("ext3", "/dev/block/mmcblk0p12", "/system");
format("ext3", "/dev/block/mmcblk0p15", "/cache");
format("ext3", "/dev/block/mmcblk0p17", "/preinstall");
delete_recursive("/data/data/com.android.vending/cache");
delete_recursive("/data/dalvik-cache");
delete("/data/system/batterystats.bin");
ui_print("Installing MinSystem...");
package_extract_dir("system", "/system");
ui_print("...");
package_extract_dir("data", "/data");
ui_print("Complete!");
ui_print("Setting permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 1000, 06750, "/system/bin/encryption_test");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 1001, 04770, "/system/bin/pppd-ril");
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(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 06777, "/system/app/Superuser.apk");
set_perm(0, 0, 06755, "/system/xbin/su");
run_program("/system/bin/busybox", "--install", "/system/xbin");
ui_print("System Minimalized");
ui_print(" ");
ui_print(" ");
unmount("/system");
unmount("/data");
ui_print(" DroidForums.net ");
ui_print(" ");
ui_print(" +=======Minimal X======+ ");
ui_print(" | [email protected] | ");
ui_print(" +======================+ ");
ui_print(" Thanks!!! ");
ui_print(" ");
ui_print("Allow ~5min for intial boot");
Thanks again!

Syntax Error???

Guys,
Ive been trying all morning to flash my update but im getting a syntax error (CODE6) and i cant find it, Any help guys?
recovery log....
-- Installing: /sdcard/IC_HoneySense_v.1.4_CM7.zip
mtd: successfully wrote block at 0
I:Set boot command "boot-recovery"
Finding update package...
I:Update location: /sdcard/IC_HoneySense_v.1.4_CM7.zip
Opening update package...
Installing update...
line 9 col 11: syntax error, unexpected STRING, expecting ',' or ')'
1 parse errors
E:Error in /sdcard/IC_HoneySense_v.1.4_CM7.zip
(Status 6)
Installation aborted.
mtd: successfully wrote block at 0
I:Set boot command ""
Click to expand...
Click to collapse
Updater Script...
ui_print("");
ui_print("");
ui_print(" >>> ROM NAME.... <<<");
ui_print("");
ui_print(" >>>> Themed By..... <<<<");
ui_print("");
ui_print(" >>>> Special thanks..... <<<<");
mount("MTD","userdata","/data");
run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/sd-ext");
show_progress(0.500000, 0);
package_extract_dir("sdext", "/sd-ext");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/framework_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/lib_s");
set_perm_recursive(1000, 1000, 0775, 0644, "/sd-ext/weather");
show_progress(0.100000, 10);
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/etc");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
format("MTD", "system");
mount("MTD", "system", "/system");
# Start checking data partition
# End checking data partition
show_progress(0.100000, 10);
package_extract_dir("system", "/system");
symlink("/system/sd/framework_s","/system/framework");
symlink("/data/etc/hosts","/system/etc/hosts");
symlink("/data/local/bootanimation.zip","/system/customize/resource/bootanimation.zip");
symlink("/data/local/downanimation.zip","/system/customize/resource/downanimation.zip");
symlink("/proc/calibration", "/system/etc/calibration");
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");
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");
show_progress(0.100000, 5);
show_progress(0.100000, 10);
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
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/reboot");
set_perm(0, 2000, 06755, "/system/bin/run-as");
set_perm(0, 0, 0777, "/system/bin/strt");
set_perm(0, 0, 0777, "/system/bin/ssts");
set_perm(0, 0, 0777, "/system/bin/prio");
set_perm(0, 0, 0777, "/system/bin/camprio");
set_perm(0, 0, 0777, "/system/bin/close");
set_perm(0, 0, 0777, "/system/bin/unionfs");
set_perm(0, 0, 0777, "/system/bin/nano");
set_perm(0, 0, 0777, "/system/bin/sysrw");
set_perm(0, 0, 0777, "/system/bin/sysro");
set_perm(0, 0, 0777, "/system/bin/optmz");
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_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/xbin/sqlite3");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
delete_recursive("/data/data/com.noshufou.android.su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/sysrw");
set_perm(0, 0, 04755, "/system/bin/fix_permissions");
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/bin/bash");
set_perm(0, 0, 04755, "/system/xbin/dropbear");
set_perm(0, 0, 04755, "/system/xbin/flash_image");
set_perm(0, 0, 04755, "/system/xbin/dump_image");
set_perm (0, 0, 0777, "/system/bin/a2sd");
set_perm (0, 0, 0777, "/system/etc/init.d/99complete");
set_perm (0, 0, 0777, "/system/bin/launcha2sd");
set_perm (0, 0, 0777, "/system/bin/starta2sd");
set_perm (0, 0, 0777, "/system/bin/chka2sd");
set_perm (0, 0, 0777, "/system/bin/zipalign");
set_perm (0, 0, 0777, "/system/bin/sysinit");
set_perm (0, 0, 0777, "/system/bin/bash");
set_perm (0, 0, 0777, "/system/bin/busybox.a2sd");
set_perm (0, 0, 0644, "/system/bin/apps2sd.hlp");
set_perm (0, 0, 0777, "/system/bin/dtinstall");
set_perm (0, 0, 0777, "/data/dtinstall.launch");
set_perm (0, 0, 0777, "/system/bin/e2fsck");
set_perm (0, 0, 0777, "/system/bin/tune2fs");
set_perm (0, 0, 0777, "/system/etc/init.d/dtapp");
set_perm (0, 0, 0777, "/system/bin/fix_permissions");
symlink("dropbear","/system/xbin/dropbearkey");
symlink("dropbear","/system/xbin/dbclient");
symlink("dropbear","/system/xbin/ssh");
delete("/system/etc/resolv.conf");
symlink("/data/local/resolv.conf","/system/etc/resolv.conf");
set_perm(0, 0, 0644, "/data/local/resolv.conf");
set_perm(0, 0, 0755, "/data/xbin/set_resolvconf");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
delete("/system/bin/su");
symlink("/system/xbin/su","/system/bin/su");
package_extract_file("MS", "/tmp/MS");
set_perm(0, 0, 0777, "/tmp/MS");
run_program("/tmp/MS");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
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"));
show_progress(10.000000, 1);
ui_print("Done.Crossfingers!");
unmount("/system");
run_program("/sbin/busybox", "umount", "/sd-ext");
unmount("/data");
Click to expand...
Click to collapse
PLEASE MOVE TO Q&A.
Sorry i thought i was there!!!!
Plz can any1 help?
Sent from my HTC Sensation Z710e using XDA App
Same problem here...! I'm trying to do a porting from a Desire ROM to a Nexus One.
Solutions?? :-(
Iperzampem0 said:
Same problem here...! I'm trying to do a porting from a Desire ROM to a Nexus One.
Solutions?? :-(
Click to expand...
Click to collapse
Did you edit the updater script?
Sent via my rooted HTC Sensation.....

[HELP][Q]Own Custom ROM Error- Root Problems

Hello Everyone! I hope somebody can help me.
I'm creating a custom ROM for SGY using DXLF1.
Deodexed and Zipaligned.
I already added the bmlunlock, Busybox and the SuperUser
However, some of the Applications don't detect the SuperUser.
I don't know if the error come's from the Updater Script.
Well, here's the code.
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
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_recursive(1002, 1002, 0755, 0440, "/system/etc/bluez");
set_perm(0, 0, 0755, "/system/etc/bluez");
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(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/gps.xml");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
ui_print("--flashing boot.img");
package_extract_file("bmlunlock", "bmlunlock");
package_extract_file("boot.img", "boot.img");
set_perm(0, 0, 0755, "bmlunlock");
run_program("bmlunlock");
run_program("/system/bin/dd", "if=boot.img", "of=/dev/block/bml7");
show_progress(0.2, 10);
ui_print("Done flashing boot");
show_progress(0.2, 10);
ui_print("Get ready to unmount");
unmount("/data");
unmount("/system");
unmount("/sdcard");
show_progress(5000, 0);
I hope someone can help me.
I am building a ROM that will have Green Themes and some secrets.
I don't have any problems in APKs and other, just this SuperUser

[Q] Problem with patching CM10 with opendroid

I'm now using CM10 by tezet.
When I tried to patch the ROM (CM10-20121228-NIGHTLY-milestone2 http://forum.xda-developers.com/showthread.php?t=1827801) with Auto-Patcher http://forum.xda-developers.com/showthread.php?t=1719408
An ERROR appeared.
Here's the log.
Code:
ROOT= /cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/ap
TOOL= /cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/f/Users/lxdluke/Downloads/Programs/CM10-20121228-NIGHTLY-milestone2.zip
ROMX= F:\Users\lxdluke\DOWNLO~1\Programs\CM10-2~1.ZIP
### verify tools ###
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin/patch
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin/tar
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/Java/bin/jar
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/Java/bin/java
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin/cpio
### verify ROM ###
### running ./auto_patcher /cygdrive/f/Users/lxdluke/Downloads/Programs/CM10-20121228-NIGHTLY-milestone2.zip openpdroid cm
PATH= /cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/ap/tmp20130610123832:/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/Java/bin:/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin:/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/usr/sbin
### unzip patch tools ###
### unzip patch patches ###
... result of ROM check: RIL= MotoWrigley3GRIL
### probe rom type ###
#### Standard Build Query ####
# VER= v2.9.8
# OS= cygwin 32bit
# VID= 4.1.2
# PID= openpdroid
# MID= cm_milestone2-userdebug
# RID= cm
# ANDR= 4.1
# BDID= 20121229
# DID= milestone2
# BID= 20130201
Patches are openpdroid/4.1/cm/20130201
### DELETE FILES=
### COPY FILES= system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar
### APK FILES= system/app/Mms.apk
### IMG FILES=
### TXT FILES=
### unzip rom ###
### create updater script ###
... using Clockworkmod installer ...
# generated updater-script
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("* *");
ui_print("* * The Auto-Patcher * *");
ui_print("* * * * * *");
ui_print("* * by mateor * *");
ui_print("* *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print(" Attention");
ui_print(" ************************************");
ui_print("");
ui_print(" There is nothing that can go wrong here");
ui_print(" that reflashing your ROM won't fix.");
ui_print("");
mount("ext3", "EMMC", "/dev/block/mmcblk1p21", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/binary/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/script/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/recovery/sbin/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/2nd-boot/sbin/");
set_perm(0, 0, 0755, "/system/bootmenu/2nd-init/init");
set_perm(0, 0, 0755, "/system/bootmenu/2nd-boot/init");
set_perm_recursive(0, 2000, 0775, 0664, "/system/bootmenu/config/");
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(0, 0, 0755, "/system/etc/wifi/hostap_wrapper.sh");
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, 0, 0755, 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_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
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(0, 0, 06755, "/system/xbin/tcpdump");
set_perm(0, 0, 0755, "/system/etc/motorola/comm_drv/commdrv_fs.sh");
ui_print(" .");
ui_print(" .");
ui_print(" done!");
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
���: preloaded-classes
... decompile core.jar ...
... decompile services.jar ...
���: system/framework/framework-res.apk
... installing framework files ...
... decompile Mms.apk ...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: F:\Users\lxdluke\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
### copy patch openpdroid/4.1/cm/20130201 ###
... copying system/media/PDroid.jpeg ...
... overwriting system/media/PDroid.jpeg from openpdroid ...
`patches/openpdroid/4.1/cm/20130201/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'
### delete patch openpdroid/4.1/cm/20130201 ###
### jar patch openpdroid/4.1/cm/20130201 ###
... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/view/ViewGroup.smali.rej
... apply preloaded.patch ...
GARBAGE=
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/view/ViewGroup.smali.rej
... apply core.patch ...
GARBAGE=
GARBAGE=
... apply services.patch ...
142 out of 143 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej
!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!
!!! patch error for com/android/server/ServerThread.smali !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed com/android/server/ServerThread.smali in services.jar cannot be remedied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can anyone please tell me how to correct it?
tried it several times some months ago. allways the same error as yours. than i read the first post of opd and autopatcher thread. there you can find the solution. -> "it isn't possible to patch quarx's roms yet". tezets is based on quarx's defy rom.
if you want to use opd, you have to use engle_mars's cm10.1. he patched directly the source, cause autopatcher didn't do this job as well.
lulli1 said:
tried it several times some months ago. allways the same error as yours. than i read the first post of opd and autopatcher thread. there you can find the solution. -> "it isn't possible to patch quarx's roms yet". tezets is based on quarx's defy rom.
if you want to use opd, you have to use engle_mars's cm10.1. he patched directly the source, cause autopatcher didn't do this job as well.
Click to expand...
Click to collapse
you mean autopatcher works with engle_mars's cm10.1 ?
---------------------------------------------------------------
update: I have found PDroid had been intergrated in his ROM. Thx for your help.

[GUIDE] how to remove armora installer

as i promised i posted this guide too
you will need this if you wana port a rom that has new version of amora installer because touchscreen wont work for play
what you need:
1-again a brain
2-my guide
3-notepad ++
4-winrar
5-rom that you wana remove armora installer of it
6- http://www.diffchecker.com/
7-my files
ok now we can start
copy your rom .zip to a folder (for example porting porject)
open you rom rom zip
now extract armora folder of rom.zip to you folder (needed for later)
because most of the roms have similar update-script you can rebuild an update-script and replace the rebuilded META-INF folder with the one in the rom that you are going to port
go to META-INF/com/google/android and open update-script with notepad ++
now copy the whole texts to changed text in http://www.diffchecker.com/
now open the file that i attached and go META-INF/com/google/android and open update-script with notepad ++
now copy the whole texts to original text in http://www.diffchecker.com/
now do a diff check
you will see some armora related lines like
Code:
if
file_getprop("/tmp/aroma-data/demo.prop","selected") == "1"
then
ui_print("Formatting /system");
unmount("/system");
format("MTD", "system");
ui_print("Mounting /system");
mount("MTD", "system", "/system");
ui_print("Clearing Cache");
mount("MTD", "cache", "/cache");
delete_recursive("/cache");
ui_print("Mounting /data");
mount("MTD", "userdata", "/data");
delete_recursive("/data/dalvik-cache");
ui_print(" ");
ui_print(" ");
##---- Features
ui_print("@Main Features");
ui_print(" ");
ui_print(" ");
ui_print("@Copying System files...");
show_progress(0.95, "-65000");
ui_print(" - Core Files...");
package_extract_dir("system", "/system");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("sdcard", "/sdcard");
ui_print(" ");
ui_print(" ");
# Bootloader Selection
if
file_getprop("/tmp/aroma/mods.prop","selected.1") == "1"
then
ui_print("@Configuring ROM for locked BL...");
package_extract_dir("Aroma/bl/locked/system", "/system");
package_extract_dir("update", "/tmp");
set_perm(0, 0, 0755, "/tmp/update", "/tmp/sh");
run_program("/tmp/update", "check");
ui_print(" ");
ui_print(" installing init.d.loader . . .");
run_program("/tmp/update", "install");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.1") == "2"
then
ui_print("@Configuring ROM for unlocked BL...");
endif;
ui_print("");
ui_print("");
ui_print("@Device selection");
# Device Selection
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "1"
then
ui_print("Selected device - Xperia Arc");
package_extract_dir("Aroma/device/arc", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "2"
then
ui_print("Selected device - Xperia Arc S");
package_extract_dir("Aroma/device/arcs", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "3"
then
ui_print("Selected device - Xperia Neo");
package_extract_dir("Aroma/device/neo", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "4"
then
ui_print("Selected device - Xperia Neo V");
package_extract_dir("Aroma/device/neov", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "5"
then
ui_print("Selected device - Xperia Pro");
package_extract_dir("Aroma/device/pro", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.2") == "6"
then
ui_print("Selected device - Xperia Ray");
package_extract_dir("Aroma/device/ray", "/system");
endif;
# Launchers
if
file_getprop("/tmp/aroma/mods.prop","selected.3") == "1"
then
ui_print("Installing Dark Xperia Home");
package_extract_dir("Aroma/home/dark", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.3") == "2"
then
ui_print("Installing Transparent Home");
package_extract_dir("Aroma/home/trans", "/system");
endif;
# Fonts
if
file_getprop("/tmp/aroma/mods.prop","selected.4") == "1"
then
ui_print("Installing Z1 Font");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.4") == "2"
then
ui_print("Installing NXT 2012 Font");
package_extract_dir("Aroma/font/nxt2012", "/system/fonts");
endif;
# convo
if
file_getprop("/tmp/aroma/mods.prop","selected.5") == "1"
then
ui_print("Installing Z White Conversation...");
package_extract_dir("Aroma/convo/white", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.5") == "2"
then
ui_print("Installing Xperia Z Black Conversation...");
package_extract_dir("Aroma/convo/black", "/system");
endif;
# Key
if
file_getprop("/tmp/aroma/mods.prop","selected.6") == "1"
then
ui_print("Z Keyboard...");
package_extract_dir("Aroma/keyboard/jbswype", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.6") == "2"
then
ui_print("Stock Keyboard...");
package_extract_dir("Aroma/keyboard/stockkb", "/system");
endif;
# small
if
file_getprop("/tmp/aroma/mods.prop","selected.7") == "1"
then
ui_print("Enable Small Apps...");
package_extract_dir("Aroma/smallapp/system", "/system");
package_extract_dir("Aroma/smallapp/data", "/data");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.7") == "2"
then
ui_print("Disable Small Apps...");
endif;
# lock
if
file_getprop("/tmp/aroma/mods.prop","selected.8") == "1"
then
ui_print("Installing Z Lockscreen...");
package_extract_dir("Aroma/lockscreen/normalz", "/system");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.8") == "2"
then
ui_print("Installing Z Lockscreen Modified...");
package_extract_dir("Aroma/lockscreen/newz", "/system");
endif;
# sound
if
file_getprop("/tmp/aroma/mods.prop","selected.9") == "1"
then
ui_print("Viper4Android Sound Mod...");
package_extract_dir("Aroma/soundmod/viper/data", "/data/app");
package_extract_dir("Aroma/soundmod/viper/sd", "/sdcard");
endif;
if
file_getprop("/tmp/aroma/mods.prop","selected.9") == "2"
then
ui_print("Pure X Audio Sound Mod...");
package_extract_dir("Aroma/soundmod/purex", "/system");
endif;
ui_print(" ");
ui_print(" ");
##---- End Features
##---- Customization
ui_print("@Additional features");
# youtube
if
file_getprop("/tmp/aroma/customize.prop","item.1.1") == "1"
then
ui_print("- Youtube");
package_extract_dir("Aroma/stuffs/youtb", "/data/app");
endif;
# Titanium backup
if
file_getprop("/tmp/aroma/customize.prop","item.1.2") == "1"
then
ui_print("- Titanium Backup");
package_extract_dir("Aroma/stuffs/titanium", "/data/app");
endif;
# xboost
if
file_getprop("/tmp/aroma/customize.prop","item.1.3") == "1"
then
ui_print("- xBooster");
package_extract_dir("Aroma/stuffs/xboost", "/data/app");
endif;
# FB Integration
if
file_getprop("/tmp/aroma/customize.prop","item.1.4") == "1"
then
ui_print("- Facebook inside Xperia & Social Engine");
package_extract_dir("Aroma/stuffs/fb", "/system");
endif;
# Live Wallpaper
if
file_getprop("/tmp/aroma/customize.prop","item.1.5") == "1"
then
ui_print("- Live wallpaper support");
package_extract_dir("Aroma/stuffs/lw", "/system/app");
endif;
# Quick Pic
if
file_getprop("/tmp/aroma/customize.prop","item.1.6") == "1"
then
ui_print("- Quick Pic Album App");
package_extract_dir("Aroma/stuffs/qpic", "/data/app");
endif;
# Sim Tool Kit
if
file_getprop("/tmp/aroma/customize.prop","item.1.7") == "1"
then
ui_print("- Sim Tool Kit");
package_extract_dir("Aroma/stuffs/stk", "/system/app");
endif;
# pico
if
file_getprop("/tmp/aroma/customize.prop","item.1.8") == "1"
then
ui_print("- Pico TTS");
package_extract_dir("Aroma/stuffs/pico", "/system");
endif;
# email
if
file_getprop("/tmp/aroma/customize.prop","item.1.9") == "1"
then
ui_print("- SemcEmail");
package_extract_dir("Aroma/stuffs/email", "/system/app");
endif;
# sony
if
file_getprop("/tmp/aroma/customize.prop","item.1.10") == "1"
then
ui_print("- Sony Select");
package_extract_dir("Aroma/stuffs/sonyselect", "/system");
endif;
# social
if
file_getprop("/tmp/aroma/customize.prop","item.1.11") == "1"
then
ui_print("- Social Life");
package_extract_dir("Aroma/stuffs/sociallife", "/system");
endif;
you wont nee to inculde these things in your update-script
you might see some lines like these one
Code:
ui_print("Enabling Fly-on Mode...");
set_perm_recursive(0, 2000, 0777, 0777, "/system/etc/rngd");
set_perm(0, 0, 0777, "/system/bin/entropy_off");
set_perm(0, 0, 0777, "/system/bin/entropy_on");
set_perm(0, 0, 0777, "/system/bin/uninstaller");
set_perm(0, 0, 0777, "/system/xbin/openvpn");
set_perm(0, 0, 0777, "/system/etc/init.d/sqlite_optimize");
set_perm(0, 0, 0777, "/system/xbin/zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/09sdcardspeedfix");
set_perm(0, 0, 0777, "/system/etc/init.d/92cleaner");
set_perm(0, 0, 0777, "/system/etc/init.d/94Governor_tweaks");
set_perm(0, 0, 0777, "/system/etc/init.d/98fly_engine");
set_perm(0, 0, 0777, "/system/etc/init.d/darky_zipalign");
set_perm(0, 0, 0777, "/system/etc/init.d/zipaligndata");
set_perm(0, 0, 0777, "/system/etc/init.d/ram_manager");
set_perm(0, 0, 0777, "/system/etc/hosts");
set_perm(0, 0, 0777, "/system/etc/sysctl.conf");
these things should be added to you update-script of my files
now your update-script is ready
so save it and open my files again (after saving)
now delete META-INF and armora folder in your rom zip and replace the META-INF with the one that you rebuilded (my files)
now armora is removed but you will need to add some files from you armora installer that you extracted before then you rom is ready for flashing
i will explain them in second post
ok now we have to build the rom.zip for a successful flash
go to folder that you made/armora
now you will see some folders inside that
you need make you chooses that you have to make when installing the rom in the armora installer
ok first of all drag all xperia arc device files to /system of you rom
now simply open each customization folder and make your decision and then drag the file to your .system of your rom.zip
but be carefuller
some of the roms will extract a file to a specific folder insead of /system
for example when you go to massgae folder you will only see apk files instead of /system folder so you will need to drag apk to system/apk
if you dont know where to drag the file simply quick replay my post and wait for my answer or open update-script of your unchanged rom and search for the massgae related lines then you will find out what to do
if you quick replay my post please post your update-script or any other usefull information
reserved for later
please give me a thanks if this guide helped you
that will make me happy

Categories

Resources