[HELP][Q]Own Custom ROM Error- Root Problems - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

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

Related

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

k1 possible ICS leak?

There are several files on lenovo's download site for the k1 dated 18-MAY-2012. I downloaded one and the build.prop says it is 4.0.3. So ICS must be getting close. I have a thinkpad, not a k1, so i cannot test it.
http://download.lenovo.com/slates/k1/OTA_TEST/
mandrsn1 said:
There are several files on lenovo's download site for the k1 dated 18-MAY-2012. I downloaded one and the build.prop says it is 4.0.3. So ICS must be getting close. I have a thinkpad, not a k1, so i cannot test it.
http://download.lenovo.com/slates/k1/OTA_TEST/
Click to expand...
Click to collapse
Looks like those are for the Medion lifetab, which is a rebranded varient of the K1. Not sure if the hardware is completely compatible.
http://forums.lenovo.com/t5/IdeaPad...in-Europe-as-Medion-Lifetab-P9516/td-p/719641
http://vschart.com/compare/medion-lifetab-p9514/vs/lenovo-ideapad-k1
http://uk.hardware.info/productinfo/150047/medion-lifetab-p9514-tablet-pc#tab:testresults
Links showing more info. On the Lifetab. Maybe close enough? Anyone possibly try the test os that mandrsn1 mentioned? Could just wait til the vanilla release from Lenovo, but who really knows when that'll be seeings how they pushed the release date back what 4-5 times now?
I am using a Lenovo IdeaPad K1 Wifi+3G. The Medion Honeycomb firmware is working on my device. But it won't boot anymore if I apply the Medion ICS update. Anyway, they have deleted the Honeycomb OTA for Medion Lifetab P9516 from their server.
There are also K1 files dated may 16th but the links appear broken.
Update Script
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p3", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
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/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/libsmapi.so", "b43b1022966f49679a2b604770b289d7e01bc363", "/system/lib/libc.so", "35c075d036b9ed26f3ec170a205bbca17bc40bc6", "/system/lib/libsurfaceflinger.so", "26e946fb30ae32270a51ad5d6d0eb764707badca", "/system/lib/libemoji.so", "c7b7df787c3212209e1397e84a91536dba78b0da", "/system/lib/libctest.so", "0da66ce370ccefe037291d6bd0668a5c41d40047", "/system/lib/libnvcontrol_jni.so", "151fa58b85134ca4a41bb474d1bfdb01a2adad92", "/system/lib/libETC1.so", "a646346c896789fc4e4302dcb931509ae539a4ba", "/system/lib/libstagefright_soft_aacdec.so", "5b2be22557b04f2ef2805c6b4097cba2c5ad95c7", "/system/lib/libnvaviparserhal.so", "e65d06d05772ba5f81f045907753c1b452bc5792", "/system/lib/libstagefright_soft_vpxdec.so", "74202d7192d3e0d86fc1021e54fc10cf7b73b1ef", "/system/lib/libutils.so", "1c1609ed86565c0eeac02a899a6f8d35af8f46e2", "/system/lib/libnetlink.so", "7f15c7c73c6cf927dfe9778b353906da2dedb665", "/system/lib/libbcinfo.so", "8ddd087a0520f58d66c703464e391605bff63b50", "/system/lib/libmplmpu.so", "6e434d595a46a5d11add7f7a2e2748df855a7a24", "/system/lib/libOpenSLES.so", "9355d1899308fba0f7389873474982c7f29015ab", "/system/lib/libnvddk_2d_v2.so", "01fecbbdfc75057b0ef8c29ead715db87670fb33", "/system/lib/libsensors.base.so", "bdf2a94f5eada0401e1e369acdb2e80f42270fe2", "/system/lib/libnvmm_audio.so", "300328d78d6ca395bba115d82a1f058f36ca6d98", "/system/lib/librtp_jni.so", "8b6cb12c7c0ecc126f42ede16fec0363d7b36877", "/system/lib/libstdc++.so", "a521c2814071da0327412219c75b68f0e8795da4", "/system/lib/libmllite.so", "884929aa0886d364562ca764f2cd8958d7130fda", "/system/lib/libnvavp.so", "f7fa0e7649f035d571c72cfeb1b580b86bc1df86", "/system/lib/libvoicesearch.so", "978da70eb4ba78ef37e8fcd7c66dadba64912107", "/system/lib/libmtp.so", "13990a0f2221b603041b86238353796f12f40f60", "/system/lib/libgabi++.so", "a9f1b458a1a9d94be9db2fbf3866ac3b7d55da06", "/system/lib/libstagefrighthw.so", "c1ad1244a187eddd62e297c9edb6d4e2fffb2082", "/system/lib/libnvmm_image.so", "cb238f3d179555a50cfb65daed0e6dd7e59802e7", "/system/lib/libjni_latinime.so", "439b77f88b6a99e7d5c61b7f74c910445b2eac19", "/system/lib/egl/libGLESv2_tegra.so", "02109cd4df082c28f393b0ff9050ed93e893a541", "/system/lib/egl/libGLESv2_perfhud.so", "bf22eb715ff3c86eeec5163d3c5e1a9fdd70bedf", "/system/lib/egl/libGLES_android.so", "f3421915e0f592c792ebc2a1c1e69df256938027", "/system/lib/egl/egl.cfg", "490b07f24cccb26a3a25daa04372ff9a65210357", "/system/lib/egl/libGLESv1_CM_tegra.so", "1345c9faa6917b39ad2dd1a5b344984159267894", "/system/lib/egl/libEGL_perfhud.so", "70c2adb66884fbb6bfb45c2b6925a3e1c2b93fc8", "/system/lib/egl/libEGL_tegra.so", "a3d0e1ffe82f006877e3acbdade1d3ddb1906f06", "/system/lib/egl/libGLESv1_CM_perfhud.so", "ba0b9bdd9d72fabdc831005fb796a285bd80c7ac", "/system/lib/libfrsdk.so", "6ad2ca8638d63d0f9a3bb58bd95f3591bb46a7e5", "/system/lib/libfilterpack_facedetect.so", "62b6b283e25282eecd1176868849e2e87ac0a491", "/system/lib/libnvhdmi3dplay_jni.so", "bfc3d0dca7d2ed2236f14e2512ebd298649099ea", "/system/lib/libwpa_client.so", "da59fb469d89a82516d59df92bb9aa35391bf4d4", "/system/lib/libnvmm_misc.so", "6b44f8f0730b4634f68e7eba79149c2cfe097206", "/system/lib/libakmd.so", "2e7dd1bcd3da1fb83f35f91ffa4f836c405e6ac9", "/system/lib/libdvm.so", "6757fa5c20f5ac5fafa14f90d6339b662c0aad59", "/system/lib/libnvmm_aviparser.so", "b28dfc1191da6399f877e4373d9aec876dc3b035", "/system/lib/libreference-ril.so", "023bc1ecdb01998cfee90047e9e66705de2be3ec", "/system/lib/libstagefright_soft_h264dec.so", "c7d2c379e6219652c9b99568d478e542b2fda3a1", "/system/lib/libfilterpack_imageproc.so", "13605f14be813bdb646936e523a16a265f052e0c", "/system/lib/libgui.so", "3b8a4be81d27e5f3ae1fae3848b3f415cf4930b9", "/system/lib/libusbhost.so", "6fcf4f0542e64e0f8b36b85a1347988fce4981eb", "/system/lib/libbluetooth.so", "a4dd6a35035d6ea59946654be5f8d3ae7c1685ae", "/system/lib/libandroid.so", "fb7abbd35ed3b67e246f1402d3f707f4941ce099", "/system/lib/libext2_e2p.so", "72c3a7d3da9c812a48341538792e7d1b54bf77b9", "/system/lib/modules/bcm4329.ko", "276a5fc18b8766f78699ab089e273d94cbe58a67", "/system/lib/modules/scsi_wait_scan.ko", "738099703355b42160a1556d97f84212fa39174f", "/system/lib/libeglstreamtexture.so", "1a2650eca3e96a9c0fc3f94511c6667913ccb295", "/system/lib/libsensors.mpl.so", "47a3ac6f3b969f56631552e27f35635bb4b955d0", "/system/lib/libbtio.so", "00e327e63d482c0d31c7dbb50b1929076b7248e8", "/system/lib/libnvmm_video.so", "914ea0c84bc1f9e60b96554f5c49905a3bc73512", "/system/lib/libwebrtc_audio_preprocessing.so", "090da35514579b33bef1783e9e025595272ee1aa", "/system/lib/libext2_uuid.so", "6334bc4974ccf25cf1c1c241afc3fec7526239eb", "/system/lib/libnvwinsys.so", "1f1ccfeff6cf026684288738d8462c9a56651c9d", "/system/lib/libjpeg.so", "7d3d7bef31db7abb75acb5a53eeff6348e7fe913", "/system/lib/libsonivox.so", "0bbfed20603b993e00a1c214b4109f083b416401", "/system/lib/libnvmm_parser.so", "26bdf5a8bc6fd30e406cc014ebff05620111862a", "/system/lib/libbcc.so.sha1", "f45f90b3ec6c6e16e40ad73a4a719af1ae15527b", "/system/lib/libnvodm_imager.so", "a7d74105d49a4a0d094f690f34a555e1b6e1bf49", "/system/lib/libnvmm_camera.so", "4043099cacc37452415ed13b5d235bc0fea181a5", "/system/lib/libandroid_servers.so", "08cbb4e5bf510fd9e4828731bfb4a154c4444c8b", "/system/lib/libfilterfw.so", "cfd15c297dbb230deea70d142e81f780684f3761", "/system/lib/libflint_engine_jni_api.so", "dcca3a1883d840eea560350b477a61e497918f1f", "/system/lib/libthread_db.so", "af961b1707a2a4de575bf653da6b549dc51b2ddb", "/system/lib/hw/audio_policy.tegra.so", "e75a6c60f196b892c62f3e6a8cd51e73c9c95087", "/system/lib/hw/audio.a2dp.default.so", "eae1c972d3a332845974a3752226aa52646b8417", "/system/lib/hw/hwcomposer.tegra.so", "e50a405bd18a21d4f99750862b1e4a1ee41a65e8", "/system/lib/hw/gralloc.default.so", "71fff4c1cc53a777dca7f16d863fc152b0669f61", "/system/lib/hw/audio.primary.default.so", "9941b2d165a8e81460e3b3ca13bea21d7d6cb509", "/system/lib/hw/lights.ventana.so", "a632e5547c41c755da374fd30b91c6f02118fa86", "/system/lib/hw/gralloc.tegra.so", "b42e9dcd05f00ac8f98827f969343af88329b087", "/system/lib/hw/audio.primary.tegra.so", "caf0220f6cbdb871d324b275340fb91b1f0e1123", "/system/lib/hw/audio_policy.default.so", "f4e25305a9b5699338e304b28199e39b9d21a2e0", "/system/lib/hw/sensors.ventana.so", "737dadaef2646baaba123b8a06b35da3035b4ee7", "/system/lib/hw/nfc.tegra.so", "c04f0fdadec8f145c32a33559d983a3da6538511", "/system/lib/hw/camera.tegra.so", "31417e28e1f7fa00ff2db110096985c13d7e641b", "/system/lib/hw/gps.tegra.so", "0bb99faac0dbe54cd2e4ee4343dfc8c71ab611e6", "/system/lib/libstagefright_yuv.so", "5c6b423c5a9df9d5e2b86c5f535de1f3cf085ce4", "/system/lib/libeffects.so", "bbec4344ed7cfb34f9d50f065131500f6cedd292", "/system/lib/libspeexwrapper.so", "6b13c980b87d164277c02b707a61f8f494d09ac7", "/system/lib/libstagefright_soft_mpeg4dec.so", "3616f9f0c82c26d27b6403565a4d85e5aa6557ba", "/system/lib/omxplayer.so", "bc319e7153998abbc68a73e9238f2711f9a8e844", "/system/lib/libcameraservice.so", "78de6148037c43894cf492eeb6a78bf68da502ab", "/system/lib/libskia.so", "773556b3f74397f8c0df252264c7f6818fd2d02b", "/system/lib/libvorbisidec.so", "9f2e2a863937fa4e36021dd2baa459440c45577c", "/system/lib/libnativehelper.so", "7a3b90e701a5097350bc7b3b36698e91296b2f00", "/system/lib/libstagefright_soft_vorbisdec.so", "e33c21e3cb923586da40140505e703890a7dd6ba", "/system/lib/libnvmmlite_video.so", "ae1507b683819aae72a7cb879c8b16ca6aef493f", "/system/lib/libfacelock_jni.so", "8c8b91ffaaa870e5a343a8f2461ad2f618f0102f", "/system/lib/libsensorservice.so", "539863616a077e72a8e3d1cf3d6b87df5fc209e9", "/system/lib/libardrv_dynamic.so", "0e24cbd0639ba850af181cfe5d518381ef4e86f5", "/system/lib/libinput.so", "d378a1d29ba9344cc14e8bde3336ada040e97058", "/system/lib/libdefcontainer_jni.so", "5969d89407c3a828fcee62c4a214f1f2ce99ef2f", "/system/lib/libGLESv2.so", "393cbf84ccd4a7878a5dff9b275812c8f3692116", "/system/lib/libwilhelm.so", "1e731d7e010823af65f72195dc294531ebdf7f24", "/system/lib/libGLESv1_CM.so", "b2a6d5cabcdfbf8d4e64e2a9a65ae7f5c7153554", "/system/lib/libnfc_ndef.so", "50bf64ce797ea7632106a70e28105a661a90b5b6", "/system/lib/libmpl.so", "73d4080f87bc483bbba1e54ee4384036183a8cda", "/system/lib/libinvensense_hal.so", "c2e7eb6460ffb57685bc66df3dedf70343bb6743", "/system/lib/libstagefright_enc_common.so", "b0de49469db0ad0003f20b33031c12ae0afb7260", "/system/lib/libext2_com_err.so", "508866d907b2006583e28bbf75f982afb14da0ba", "/system/lib/libjnigraphics.so", "5125e4c6be320739d67115b8572fd8487162069f", "/system/lib/libnvtvmr.so", "a63392f1d0d4d21f51b9730f69e11842e965fbdc", "/system/lib/libsqlite.so", "cb1ac634ef45a441bb48a9814eb04238bdaac7fb", "/system/lib/libharfbuzz.so", "1750c426b6c0425e31042448bef65b5b184a211d", "/system/lib/libcrypto.so", "66b108807599f0d29f68e1d942887bc486189d33", "/system/lib/libsqlite_jni.so", "db7d85f37512920ec01a9e2d3bdcb0aa21115028", "/system/lib/libcamera_client.so", "5fff50655c8f6a827d79b263875380dd4ce9eb26", "/system/lib/libbinder.so", "bc5d148bb82f8d4516f8f8ea29d5f14a05a006a1", "/system/lib/libstagefright.so", "b9a6d722a3401b6609145c505e0984db92cc8e2f", "/system/lib/libpixelflinger.so", "0758e4f780d2893f0535f2527f93d3a9e41c5b75", "/system/lib/libnvmm_manager.so", "1194f413cf1d78470bb94d3cb726df006eb380c3", "/system/lib/libsystem_server.so", "7724cd7777c49741506ecf0a72ebb88cd4cbeab0", "/system/lib/librs_jni.so", "8889d50de56fea2e9c69b6a87efb76be5c512ea1", "/system/lib/libril.so", "4341646df14f48e222ab02e23492b9e585ecca3c", "/system/lib/libnvmmlite.so", "e12aa6015a5526cf3c49bcde2531ebdb9c743ee5", "/system/lib/libext4_utils.so", "d5b6c7ec212b1c53efe4770bc2034596c385a2ed", "/system/lib/libnvddk_2d.so", "8045625bd59c1d09870ee98e13d92f71f7106136", "/system/lib/libOpenMAXAL.so", "35284131b86b9257cdf7bd28e602c1e7f147b54f", "/system/lib/libpowermanager.so", "3b9adc50ba012ed4557a44c384360525d7b45fb6", "/system/lib/libexif.so", "0d68a01c18ee23b2604e3ee398180650420ae359", "/system/lib/libnvomxilclient.so", "6de4be85d278531a5420a6e8f8859c8ae33d0d99", "/system/lib/libmedia.so", "ab84c21dd55e7d67fce1f899bed6818254ea0825", "/system/lib/libjni_mosaic.so", "2d64446aff425b0397fa6ed7d96a183ee9594e09", "/system/lib/libnvos.so", "0b035761a6cf0591d46532094b0a4c17c44a5e26", "/system/lib/libnvmm_contentpipe.so", "8fc0d8fe683af076a9784d5a01f20a0ab59a1fc1", "/system/lib/libsurfaceflinger_client.so", "bedbc4ee036e2a4f7e6fbdbcef43852e34b8bdab", "/system/lib/libspeexresampler.so", "17aaa6afb5fa4d161d37f308b7dc2389f6133553", "/system/lib/libwebcore.so", "990217ec2b2389bb9aecff3d811a8895e234a885", "/system/lib/libglib.so", "5d886427c25490e31595da6743b85e6985c50fe7", "/system/lib/libm.so", "0f8feae8c1a2240b8acf992ad1319ab0c3318062", "/system/lib/libsoundpool.so", "86c4965ea6d5cd9608e1fa786f7cd1f967b3c872", "/system/lib/libpower.so", "dbc2ea3bb1f348487ee2886eb7213eea5de0c1f2", "/system/lib/libsensors.isl29018.so", "407d0dd3f7fb535c50fd5be4b44fe6e08afef45e", "/system/lib/bluez-plugin/network.so", "dfb4e3c4b9bd6c3748f652d9bd93a1295877059a", "/system/lib/bluez-plugin/audio.so", "4820d45777921abf6ad134d6ad8108ea0a0bf37b", "/system/lib/bluez-plugin/bluetooth-health.so", "9f03c3518eabc79cdd44d08040804ee17254891a", "/system/lib/bluez-plugin/input.so", "fe2a38715ff4504cde53894b1aeb226a836c8515", "/system/lib/libui.so", "84eb7d9f5499ee52c0abca51c8dd1e7b10d3bc51", "/system/lib/libnvtestio.so", "77dcb25c93010c2d8ac9913657b06e2777cb2fbc", "/system/lib/libnvmm_utils.so", "e78bc388e85efa61103189d1365df90bd4aaed7a", "/system/lib/libext2fs.so", "d9483a255d3aefec6d5e7352e4b4628f20e2be24", "/system/lib/libnvmmlite_audio.so", "af711a4587d73ca012d925eab610656d3f9a42bb", "/system/lib/libstagefright_avc_common.so", "fbe8da2d20c25a35e80a72f2a586ce0612f0df57", "/system/lib/libsrec_jni.so", "b5b662a84b86eb5d2c9eb7db447643cd8a740a2b", "/system/lib/libnvomx.so", "974ef44d6c0cfae71cc24b54365cd6f5b679fe90", "/system/lib/libbluedroid.so", "abba80c9f7bbe164c12781ff0bd595c1f0a2287d", "/system/lib/libnvodm_hdmi.so", "6988b8b28bd60e8cdb3bebab3cc908f2246cf49d", "/system/lib/libnvomxadaptor.so", "5b1409833f0d5ede64ae2cade564636edf9c5745", "/system/lib/libdbus.so", "589d76227939eba6a8b5f0c5007a80923acf70b1", "/system/lib/libpicowrapper.so", "b6b0ce5d40b19f6da8a2027f2a8e7987d555bcfb", "/system/lib/libaudioservice.so", "682441a22934686fdb931c95e277a23efefde5ec", "/system/lib/libdrmframework.so", "25da187d88b03f303a3c2086c21342a3c47efac1", "/system/lib/libstagefright_soft_g711dec.so", "9851c11e2c28d1453afb955c6b8de3894629ffc8", "/system/lib/libnvcpud_client.so", "9d8a8119855eea83c647a049ab611cc560a47e5e", "/system/lib/libz.so", "a489a2037ab1d72c824cf3a0548fe9256239d57d", "/system/lib/libnvmm_writer.so", "7808b5aefb804dd6e70a79143e3c844ad700ed38", "/system/lib/libstagefright_foundation.so", "ac291a2d78957c1d9f2d003e3ae38c940a1bdd28", "/system/lib/libhwui.so", "d907ed519a78b34cf447aaac7699f61a21387ef7", "/system/lib/libvideochat_stabilize.so", "f51e325e8fffff591f5525b774d0a1a68a2479a2", "/system/lib/libnvtestresults.so", "621af8929d2cc7b34b857e3c529de6efc888a081", "/system/lib/libnvmm_vc1_video.so", "3e9cfeec29b0c8e0407796365c64e194481d3eb1", "/system/lib/libext2_blkid.so", "e13601dc4d14194e1fed7286afa155fe9d10e239", "/system/lib/libnvmm_msaudio.so", "f021133fe0fbd8d8e03c37f8dd8ac0bc1eeb7300", "/system/lib/libstagefright_soft_amrdec.so", "fe3ea19e8407f3f3b2fcec90c115c0c94ceeef2a", "/system/lib/libnvasfparserhal.so", "645922e939fb53d2f77656a5d90a28bb364560f5", "/system/lib/libhuawei-ril.so", "6c700e83213dce585986fff4ff83e3b84b929d18", "/system/lib/libnvodm_dtvtuner.so", "a1373ca133c4d9695c14f46dc28682ae3b4cd629", "/system/lib/libnetutils.so", "c0585e5ebadcc4f4c0d6b77f0816b620d11659f4", "/system/lib/libicuuc.so", "c26afecef125ca90ab21d5270018c8d03f23656b", "/system/lib/libdrmframework_jni.so", "7648bbb758fb88ec7811fbc2ebdb53815505d34a", "/system/lib/libnvmm.so", "db23867464f594133db43ac2af90a6af26bb4bd9", "/system/lib/libssl.so", "b391c182f4be69d67255d35a7122e03f33be2688", "/system/lib/libvideoeditor_jni.so", "f7b2d7cd1a873ae08eead83181b0d2b73448ee22", "/system/lib/libdrm1.so", "4ddc0419dd6d644ec683d30f25420d7b33c9db71", "/system/lib/libpython2.6.so", "576f3bc50a7efbfcab6b6d99e075c900422839ba", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libnvdispmgr_d.so", "5d2b27edcbb05740ec6f751f589a12ca30a70062", "/system/lib/libicui18n.so", "a0e525baa550ef4c57a22afe46afee461e8c97b5", "/system/lib/libnvmmlite_utils.so", "2be48806e0a7ccbb9ab899085cc25456861d62ff", "/system/lib/libnvsm.so", "1d894af31cc6e5c58dffe51c3b73077111007c2d", "/system/lib/libnvsystemuiext_jni.so", "61741e29c1acacd657a151b51878972db4fb3e09", "/system/lib/libstagefright_soft_mp3dec.so", "56fc8eaa0947ac04ebd25e2fad6d44a1878aed3b", "/system/lib/libmedia_jni.so", "678132b9798442b29ac6b6aaae90ede55233cdbb", "/system/lib/libmlplatform.so", "6431e014e14d1fbd691fb07087e9999e976bc8f8", "/system/lib/libexpat.so", "5812a8f9f9312ec86309badd170ddc699034fcae", "/system/lib/libdrm1_jni.so", "1fa8cac6a029b2ab09d36e12af9de8af51bc9bba", "/system/lib/libEGL.so", "3d890a4c0cc06d5b5a4969bcedd693d7924fd03e", "/system/lib/libasound.so", "563c09dee7ecafde3e78d401d825247b9fbdfa8d", "/system/lib/soundfx/libdolbymobileeffect.so", "b88da112e81992251df88a1639613f8a7120c5e7", "/system/lib/soundfx/libvisualizer.so", "7681b3ce723e8e3841d756fb670543854c06dd60", "/system/lib/soundfx/libreverbwrapper.so", "1fbb9b6b89e4ebb3397836f3d39d4c9a443452ea", "/system/lib/soundfx/libbundlewrapper.so", "3891fc07470444df5d95114dd1b523a5a137d9fc", "/system/lib/soundfx/libaudiopreprocessing.so", "f3d8b791516df94171adf375224b81731506f1be", "/system/lib/libstagefright_omx.so", "f1990ae6392a7fe876761667e8e2ca75cc438b8f", "/system/lib/libnvrm.so", "68cd216f32c9f0534b5e9fada9a8d221a54dd74f", "/system/lib/libvideochat_jni.so", "6cc4d56b56118c959c65b65724e947de74f05402", "/system/lib/libandroid_runtime.so", "edd08cda2c7b69fc22d2359aaac4f8f7b99f1c9b", "/system/lib/python2.6/lib-dynload/parser.so", "69b10f6d963ed0579f5101d6c79d1eec56f9426d", "/system/lib/python2.6/lib-dynload/binascii.so", "075e0ea2d3e6c82fab5a76594f78538072967a8b", "/system/lib/python2.6/lib-dynload/_fileio.so", "d1c043d926a9dbe93c83c2fbef794158335c5bf8", "/system/lib/python2.6/lib-dynload/_struct.so", "7b9105b4a5c1663e8be4008c92953d521cb3c9dd", "/system/lib/python2.6/lib-dynload/_random.so", "3a744ba783f40b3d8d5c77982a9abd413a28c3c2", "/system/lib/python2.6/lib-dynload/fcntl.so", "afabc0b750e82332be475351475569f67f8267ab", "/system/lib/python2.6/lib-dynload/_weakref.so", "5ff6fbe9e2461587f83c746f4f58f320e5338621", "/system/lib/python2.6/lib-dynload/operator.so", "63ffbd77f921336154843eb905253007a65bf82c", "/system/lib/python2.6/lib-dynload/_collections.so", "59c9ff7c03ea37daa68875f34eaaae94291dd32b", "/system/lib/python2.6/lib-dynload/_socket.so", "7ad9fc4dc21f80d0f92d9a901cf71207a3090b0d", "/system/lib/python2.6/lib-dynload/time.so", "4bfdacbade4eb5cb5ae9c2d7a62ed6438e4362e0", "/system/lib/python2.6/lib-dynload/cmath.so", "191fe31db2a035c19421b24f198569104b9ad7eb", "/system/lib/python2.6/lib-dynload/array.so", "51c871940c444ff562a4a4a6ed44edb78256160c", "/system/lib/python2.6/lib-dynload/_functools.so", "91ce6092facc590a3c16f42e82702a0904b645d3", "/system/lib/python2.6/lib-dynload/strop.so", "49c5ea52b9e5b4bf0e86bb53b73866c735f0e82b", "/system/lib/python2.6/lib-dynload/unicodedata.so", "90eb4841d0d2e000ec60ef3f5d6245021c521d17", "/system/lib/python2.6/lib-dynload/_nvcamera.so", "89744b22b3bbc52b01c810e88bc74b3cd8f92699", "/system/lib/python2.6/lib-dynload/datetime.so", "0defbdf93753e517e425257cf0406d9abd8530ab", "/system/lib/python2.6/lib-dynload/math.so", "8dc25fff032a5df805204bbe6f1be00300ce8dbe", "/system/lib/libgcomm_jni.so", "ea94a30c0dc6bf867395cc0d131e2492d9f80851", "/system/lib/libext2_profile.so", "69b086d0c920ea92e60a4cc4d9ac4056e711a345", "/system/lib/libstlport.so", "2b745b4d15e887d405c34a08d4218992335a9502", "/system/lib/libnvmm_asfparser.so", "1c858000b79ceadfdbfb4d59d722c563bf927a95", "/system/lib/libdiskconfig.so", "4d4ddeaaee09096324b8b830193e2faf56bc9007", "/system/lib/libnvodm_query.so", "493e8ad104a9030830e5d956deed7db9be5d0cb9", "/system/lib/libRS.so", "f1ae2833bf591ce7e6dda4be08bb3f5ed1ec0ae2", "/system/lib/libsysutils.so", "04c4cb3032ddfb01cbac4beac33bddf294bc70ac", "/system/lib/libnvwsi.so", "9d537ed8cc127493134ec6a6d88263995041a0b5", "/system/lib/libchromium_net.so", "3328fbcb174595778a95f4172148279db9000f1f", "/system/lib/libbcc.so", "bce9df0cc2493305688ddcbcd4953b64500315b8", "/system/lib/libhardware.so", "1686f1dccae9fa70ea7dbe5bc33e9cb44e24a1d2", "/system/lib/libiprouteutil.so", "0faeb9e9f8149e6d3ac6ab7b6eaec1ab6ebd8f29", "/system/lib/libnvcpud.so", "ba83c3bf6c053f247c5982a184e270dafd14f4c7", "/system/lib/libstagefright_soft_ddpdec.so", "8b7de994873f600fc79f156ab5772d314dd35263", "/system/lib/libGLESv2_dbg.so", "007c445d1490fd5dd091fc683db8258c25da973a", "/system/lib/libmediaplayerservice.so", "f42da5a0c0b766e109372ad0b17fbdf4ef5ee95c", "/system/lib/libhardware_legacy.so", "cd36fcf23fe3884d9b95b31a3cebc32b649814e1", "/system/lib/libSR_AudioIn.so", "5f62848b61344c095f4761dec6be3204ecdf523e", "/system/lib/libvariablespeed.so", "87685d538c6cc209f3f6e34254ec002e908ffa58", "/system/lib/libtf_crypto_sst.so", "7c836f5e9feeb7d6a7c94c6013ad378245a50aca", "/system/lib/libnvrm_graphics.so", "b8426e0096f0d12f349fd189151969aa76e758cc", "/system/lib/libaudioeffect_jni.so", "5670f6c3bef4caaaf85e68196f6c739fef6d3fe8", "/system/lib/libFFTEm.so", "d9f4fafbb1e06ae89f7ae67c42c2980415b4fd79", "/system/lib/libnvodm_misc.so", "0c4efb280978afe3e64594ce28a82f56da78ebdd", "/system/lib/libcutils.so", "af142e13f3b60bee44305cbe7bc000a96a27d93d", "/system/lib/libnvparser.so", "610cf7c95c63d3911c266fd09edaf6bc09d7cb92", "/system/lib/libvideoeditorplayer.so", "6b1d8922ee8d79f40cdd86b0ac0cbc35a9d19fab", "/system/lib/libbluetoothd.so", "66ae0241084217ecb6e380db1ced610b1a08bd32", "/system/lib/libWVphoneAPI.so", "1ce8599032c622acb9af9acc809b3921311c03ae", "/system/lib/liblog.so", "1fed48d417e9016fb57368061bbfaa814087ba55", "/system/lib/libcgdrv.so", "91e72f2b84359620bcc7e4f137122e71181cf293", "/system/lib/libdl.so", "cfcdfc7d9cdab3affcc3bab44d25dc73bf3a5dc8", "/system/lib/libnvmm_service.so", "76139ff5119497239a4771e7fd0dbb30cf2a730d", "/system/lib/libaudioflinger.so", "0a8c8c88ae0ae72310fb1ce41d7421eda3e9fd19", "/system/lib/libstagefright_amrnb_common.so", "5ad8ceb94d11f7eb20d0cbf38aa21d93dc1b27b3");
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, 1000, 06750, "/system/bin/obexftpd");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 1000, 06750, "/system/bin/sdptool");
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(0, 0, 0644, "/system/etc/bluetooth/bdaddr");
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(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware/bcm4329");
set_perm(0, 2000, 0755, "/system/vendor/firmware/bcm4330");
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, 0644, "/system/vendor/pittpatt");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-r0-ri30.4a/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rn30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rp30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-num/p2");
show_progress(0.100000, 0);
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p7", "/data");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p8", "/data/temp");
delete("/data/media/.apk-link");
set_perm(0, 0, 7755, "/system/xbin/su");
unmount("/data/temp");
unmount("/data");
unmount("/system");
And... So...????????
Is anybody interested in the Android 3.2 OTA for Medion Lifetab P9516? If so, I would upload this file. It will work on your Lenovo IdeaPad K1 (at least it did on mine) and it should give you the build properties you need to flash the ICS OTA on Lenovos' server.
isime13 said:
Is anybody interested in the Android 3.2 OTA for Medion Lifetab P9516? If so, I would upload this file. It will work on your Lenovo IdeaPad K1 (at least it did on mine) and it should give you the build properties you need to flash the ICS OTA on Lenovos' server.
Click to expand...
Click to collapse
Didn't you say in your last post the HC for the medion worked on your K-1 but the ICS updates didn't work? And shouldn't you note that your using the 3G K-1 according to your last post. I believe the build would be differs t than that for the pure Wi Fi K-1.
jfkerekes said:
Didn't you say in your last post the HC for the medion worked on your K-1 but the ICS updates didn't work? And shouldn't you note that your using the 3G K-1 according to your last post. I believe the build would be differs t than that for the pure Wi Fi K-1.
Click to expand...
Click to collapse
Yes. I managed to install the Medion Honeycomb firmware, but the device is stuck at the Lenovo logo after applying the ICS update.
I thought maybe someone else might want to test it, because I don't unterstand why it's not working. Maybe it's just an very early build, Medion said it will release the Medion Lifetab P9516 update at the beginning of July. Another reason might be that the preinstalled apps are missing on the Honeycomb OTA. But I think it shouldn't be a problem whether you use a K1 Wifi oder K1 Wifi+3G. At least I can use the Lenovo US Wifi-only firmware on my K1 Wifi+3G.
Well, I've made a backup script for my device using nvflash, so I can test updates and restore the backup afterwards...
i managed to get a bit further ...I took Khannings ics CWM flashable update zip and ripped out all of the files and started dumping in the files from the international medion rom and managed to get as far as the boot screen wich is nice ....almost has that nexus feel to it then it says LIFETAB .....then it died ....but atleast it got past the lenovo screen
at first it was complaining that the build prop didnt match so i made it match and it installed
Thanks a lot tech5. I've tried quite a lot, but every time after applying the update with CWM and rebooting, my device is stuck at the Lenovo logo.
I am very curious to find out if it is possible to use the Medion firmware on my device, because it isn't yet clear whether the official ICS release for the Lenovo K1 will support the K1 with 3G. And the ICS release from Medion will definitely support 3G.
Could you maybe upload the update.zip you created?
isime13 said:
Yes. I managed to install the Medion Honeycomb firmware, but the device is stuck at the Lenovo logo after applying the ICS update.
I thought maybe someone else might want to test it, because I don't unterstand why it's not working. Maybe it's just an very early build, Medion said it will release the Medion Lifetab P9516 update at the beginning of July. Another reason might be that the preinstalled apps are missing on the Honeycomb OTA. But I think it shouldn't be a problem whether you use a K1 Wifi oder K1 Wifi+3G. At least I can use the Lenovo US Wifi-only firmware on my K1 Wifi+3G.
Well, I've made a backup script for my device using nvflash, so I can test updates and restore the backup afterwards...
Click to expand...
Click to collapse
Either kernel,framework, will cause that
Sent from my Xoom using Xparent Green Tapatalk 2

please around help in mine script´s is a mistake

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

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

[Q] Can't flash any ROMs

I have an i9507 and I've tried twrp and clockwork mod recoveries but every time I try to flash a ROM it says the zip is bad but it happens with every zip I try. Tried different ROMS and tried re-downloading them as well. Nothing seems to work.
I've tried the m10 snapshot of the official cyanogenmod and also the 4.6 paranoid android beta 1. These have been ROMs for the i9505 which have worked before on this device. I re-installed stock touchwiz a while ago with the official firmware. I then used the auto-root method to root my device and flashed twrp with a .tar through odin but ROMS wouldn't flash in recovery so tried flashing cwm through heimdall cmd prompt. Then tried to flash more ROMs but still a no go.
Any ideas on how to fix this?
Cheers
Hello,
you only need to open the file updater-script (in any flashable ZIP under META-INF/com/google/android) and delete any line like the followings:
Code:
assert.getprop
getprop
abort: "This package is for"
And just leave the mount as first line, then save the file and flash ZIP.
This disables the check of the device
Inviato dal mio GT-I9505
Hi
Thanks for the reply.
I tried this and I still get "bad zip".
Any other ideas?
Is there something I can do that will give a better idea of the problem?
kris-adams said:
Hi
Thanks for the reply.
I tried this and I still get "bad zip".
Any other ideas?
Is there something I can do that will give a better idea of the problem?
Click to expand...
Click to collapse
Redownload the ZIP and repeat the procedure. Read also on the net how to write an updater-script, so you could be sure of the modification to it, leave the "mount" line as first.
If you get bad ZIP it's not compressed well (have you decompressed to modify that file and recompressed?) or download is corrupted
Inviato dal mio GT-I9505
558
AntaresOne said:
Redownload the ZIP and repeat the procedure. Read also on the net how to write an updater-script, so you could be sure of the modification to it, leave the "mount" line as first.
If you get bad ZIP it's not compressed well (have you decompressed to modify that file and recompressed?) or download is corrupted
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
I've tried re-downloading the zips and also other ROMs too.
I did decompress the zip and modify the updater-script file then recompress numerous times.
I also tried to do a repair on the zips on my winrar app as well.
Nothing has worked so far. I'll look up how to write the updater-script file and check if I'm doing it right.
Thanks
EDIT - So I decompressed the zip, made sure to delete what this http://en.miui.com/thread-13226-1-1.html told me to delete then reompressed and tried to flash, still the same "bad zip" error.
kris-adams said:
I've tried re-downloading the zips and also other ROMs too.
I did decompress the zip and modify the updater-script file then recompress numerous times.
I also tried to do a repair on the zips on my winrar app as well.
Nothing has worked so far. I'll look up how to write the updater-script file and check if I'm doing it right.
Thanks
EDIT - So I decompressed the zip, made sure to delete what this http://en.miui.com/thread-13226-1-1.html told me to delete then reompressed and tried to flash, still the same "bad zip" error.
Click to expand...
Click to collapse
Don't compress by clicking on the folder->compress, in this way it's normal that it's a bad flashable zip.
Compress by selecting all the files/folders, in this way:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note that not all files/folders are the same in any flashable zip, but the correct procedure is this
AntaresOne said:
Don't compress by clicking on the folder->compress, in this way it's normal that it's a bad flashable zip.
Compress by selecting all the files/folders, in this way:
Note that not all files/folders are the same in any flashable zip, but the correct procedure is this
Click to expand...
Click to collapse
Yep, that's how I've been doing it
kris-adams said:
Yep, that's how I've been doing it
Click to expand...
Click to collapse
Can you paste here your modified updater-script? Between HIDE & CODE tags
Inviato dal mio GT-I9505
AntaresOne said:
Can you paste here your modified updater-script? Between HIDE & CODE tags
Inviato dal mio GT-I9505
Click to expand...
Click to collapse
I don't really know enough to know what you mean by CODE and HIDE tags sorry so I'll just paste the whole thing.
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("/firmware-mdm/image/acdb.mbn", "/system/etc/firmware/acdb.mbn");
symlink("/firmware-mdm/image/apps.mbn", "/system/etc/firmware/apps.mbn");
symlink("/firmware-mdm/image/dsp1.mbn", "/system/etc/firmware/dsp1.mbn");
symlink("/firmware-mdm/image/dsp2.mbn", "/system/etc/firmware/dsp2.mbn");
symlink("/firmware-mdm/image/dsp3.mbn", "/system/etc/firmware/dsp3.mbn");
symlink("/firmware-mdm/image/efs1.mbn", "/system/etc/firmware/efs1.mbn");
symlink("/firmware-mdm/image/efs2.mbn", "/system/etc/firmware/efs2.mbn");
symlink("/firmware-mdm/image/efs3.mbn", "/system/etc/firmware/efs3.mbn");
symlink("/firmware-mdm/image/mdm_acdb.img", "/system/etc/firmware/mdm_acdb.img");
symlink("/firmware-mdm/image/rpm.mbn", "/system/etc/firmware/rpm.mbn");
symlink("/firmware-mdm/image/sbl1.mbn", "/system/etc/firmware/sbl1.mbn");
symlink("/firmware-mdm/image/sbl2.mbn", "/system/etc/firmware/sbl2.mbn");
symlink("/firmware/image/q6.b00", "/system/etc/firmware/q6.b00");
symlink("/firmware/image/q6.b01", "/system/etc/firmware/q6.b01");
symlink("/firmware/image/q6.b03", "/system/etc/firmware/q6.b03");
symlink("/firmware/image/q6.b04", "/system/etc/firmware/q6.b04");
symlink("/firmware/image/q6.b05", "/system/etc/firmware/q6.b05");
symlink("/firmware/image/q6.b06", "/system/etc/firmware/q6.b06");
symlink("/firmware/image/q6.mdt", "/system/etc/firmware/q6.mdt");
symlink("/firmware/image/tzapps.b00", "/system/etc/firmware/tzapps.b00");
symlink("/firmware/image/tzapps.b01", "/system/etc/firmware/tzapps.b01");
symlink("/firmware/image/tzapps.b02", "/system/etc/firmware/tzapps.b02");
symlink("/firmware/image/tzapps.b03", "/system/etc/firmware/tzapps.b03");
symlink("/firmware/image/tzapps.mdt", "/system/etc/firmware/tzapps.mdt");
symlink("/firmware/image/vidc.b00", "/system/etc/firmware/vidc.b00");
symlink("/firmware/image/vidc.b01", "/system/etc/firmware/vidc.b01");
symlink("/firmware/image/vidc.b02", "/system/etc/firmware/vidc.b02");
symlink("/firmware/image/vidc.b03", "/system/etc/firmware/vidc.b03");
symlink("/firmware/image/vidc.mdt", "/system/etc/firmware/vidc.mdt");
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/chcon",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/chvt", "/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/deallocvt", "/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/fgconsole",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
"/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/getenforce", "/system/xbin/getopt",
"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
"/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/lspci",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/matchpathcon", "/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/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
"/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/rdate",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/restorecon", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/runcon", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/selinuxenabled", "/system/xbin/seq",
"/system/xbin/sestatus", "/system/xbin/setconsole",
"/system/xbin/setenforce", "/system/xbin/setfiles",
"/system/xbin/setkeycodes", "/system/xbin/setsebool",
"/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/smemcap", "/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("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("logcat", "/system/bin/lolcat");
symlink("mksh", "/system/bin/sh");
symlink("mount.exfat", "/system/bin/fsck.exfat",
"/system/bin/mkfs.exfat");
symlink("pigz", "/system/xbin/unpigz");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
"/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
"/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/du", "/system/bin/getenforce", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/getsebool", "/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/load_policy", "/system/bin/log", "/system/bin/ls",
"/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",
"/system/bin/mkdir", "/system/bin/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/system/bin/restorecon",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setenforce", "/system/bin/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/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_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:drmserver_exec:s0");
set_metadata("/system/bin/efsks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:kickstart_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:keystore_exec:s0");
set_metadata("/system/bin/ks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:kickstart_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_ring_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_rpp_exec:s0");
set_metadata("/system/bin/qcks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:kickstart_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "ubject_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "ubject_r:dhcp_system_file:s0");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/etc/install-cm-recovery.sh", "uid", 0, "gid", 0, "mode", 0544, "capabilities", 0x0);
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "ubject_rpp_system_file:s0");
set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0);
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/etc", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/drm/libdrmwvmplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/mediadrm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/vendor/lib/mediadrm/libwvdrmengine.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "ubject_r:su_exec:s0");
show_progress(0.200000, 0);
delete("/system/bin/otasigcheck.sh");
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_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
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", "/tmp/boot.img");
assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0);
ifelse(is_substring("I337", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/vzw/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i 's/ro.com.google.clientidbase=android-google/ro.com.google.clientidbase=android-verizon/g' /system/build.prop"));
ifelse(is_substring("L720", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("M919", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("R970", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I9505", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9507", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9508", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
unmount("/system");
kris-adams said:
I don't really know enough to know what you mean by CODE and HIDE tags sorry so I'll just paste the whole thing.
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_file("system/bin/otasigcheck.sh", "/tmp/otasigcheck.sh");
package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
set_metadata("/tmp/otasigcheck.sh", "uid", 0, "gid", 0, "mode", 0755);
run_program("/tmp/otasigcheck.sh");
sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
unmount("/data");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("/firmware-mdm/image/acdb.mbn", "/system/etc/firmware/acdb.mbn");
symlink("/firmware-mdm/image/apps.mbn", "/system/etc/firmware/apps.mbn");
symlink("/firmware-mdm/image/dsp1.mbn", "/system/etc/firmware/dsp1.mbn");
symlink("/firmware-mdm/image/dsp2.mbn", "/system/etc/firmware/dsp2.mbn");
symlink("/firmware-mdm/image/dsp3.mbn", "/system/etc/firmware/dsp3.mbn");
symlink("/firmware-mdm/image/efs1.mbn", "/system/etc/firmware/efs1.mbn");
symlink("/firmware-mdm/image/efs2.mbn", "/system/etc/firmware/efs2.mbn");
symlink("/firmware-mdm/image/efs3.mbn", "/system/etc/firmware/efs3.mbn");
symlink("/firmware-mdm/image/mdm_acdb.img", "/system/etc/firmware/mdm_acdb.img");
symlink("/firmware-mdm/image/rpm.mbn", "/system/etc/firmware/rpm.mbn");
symlink("/firmware-mdm/image/sbl1.mbn", "/system/etc/firmware/sbl1.mbn");
symlink("/firmware-mdm/image/sbl2.mbn", "/system/etc/firmware/sbl2.mbn");
symlink("/firmware/image/q6.b00", "/system/etc/firmware/q6.b00");
symlink("/firmware/image/q6.b01", "/system/etc/firmware/q6.b01");
symlink("/firmware/image/q6.b03", "/system/etc/firmware/q6.b03");
symlink("/firmware/image/q6.b04", "/system/etc/firmware/q6.b04");
symlink("/firmware/image/q6.b05", "/system/etc/firmware/q6.b05");
symlink("/firmware/image/q6.b06", "/system/etc/firmware/q6.b06");
symlink("/firmware/image/q6.mdt", "/system/etc/firmware/q6.mdt");
symlink("/firmware/image/tzapps.b00", "/system/etc/firmware/tzapps.b00");
symlink("/firmware/image/tzapps.b01", "/system/etc/firmware/tzapps.b01");
symlink("/firmware/image/tzapps.b02", "/system/etc/firmware/tzapps.b02");
symlink("/firmware/image/tzapps.b03", "/system/etc/firmware/tzapps.b03");
symlink("/firmware/image/tzapps.mdt", "/system/etc/firmware/tzapps.mdt");
symlink("/firmware/image/vidc.b00", "/system/etc/firmware/vidc.b00");
symlink("/firmware/image/vidc.b01", "/system/etc/firmware/vidc.b01");
symlink("/firmware/image/vidc.b02", "/system/etc/firmware/vidc.b02");
symlink("/firmware/image/vidc.b03", "/system/etc/firmware/vidc.b03");
symlink("/firmware/image/vidc.mdt", "/system/etc/firmware/vidc.mdt");
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/chcon",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/chvt", "/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/deallocvt", "/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/fgconsole",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
"/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/getenforce", "/system/xbin/getopt",
"/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
"/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/lspci",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/matchpathcon", "/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/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
"/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
"/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/rdate",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/restorecon", "/system/xbin/rev", "/system/xbin/rm",
"/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
"/system/xbin/run-parts", "/system/xbin/runcon", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/selinuxenabled", "/system/xbin/seq",
"/system/xbin/sestatus", "/system/xbin/setconsole",
"/system/xbin/setenforce", "/system/xbin/setfiles",
"/system/xbin/setkeycodes", "/system/xbin/setsebool",
"/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/smemcap", "/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("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("logcat", "/system/bin/lolcat");
symlink("mksh", "/system/bin/sh");
symlink("mount.exfat", "/system/bin/fsck.exfat",
"/system/bin/mkfs.exfat");
symlink("pigz", "/system/xbin/unpigz");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
"/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
"/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/du", "/system/bin/getenforce", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/getsebool", "/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/load_policy", "/system/bin/log", "/system/bin/ls",
"/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",
"/system/bin/mkdir", "/system/bin/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/system/bin/restorecon",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setenforce", "/system/bin/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/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_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/addon.d", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/app_process", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");
set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:clatd_exec:s0");
set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:debuggerd_exec:s0");
set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dhcp_exec:s0");
set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dnsmasq_exec:s0");
set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:drmserver_exec:s0");
set_metadata("/system/bin/efsks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:kickstart_exec:s0");
set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hostapd_exec:s0");
set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:installd_exec:s0");
set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:keystore_exec:s0");
set_metadata("/system/bin/ks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:kickstart_exec:s0");
set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mediaserver_exec:s0");
set_metadata("/system/bin/mksh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:shell_exec:s0");
set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mtp_exec:s0");
set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:netd_exec:s0");
set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ping_exec:s0");
set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ppp_exec:s0");
set_metadata("/system/bin/qcks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:kickstart_exec:s0");
set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:racoon_exec:s0");
set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:rild_exec:s0");
set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "u:object_r:runas_exec:s0");
set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:sdcardd_exec:s0");
set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:servicemanager_exec:s0");
set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:surfaceflinger_exec:s0");
set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vold_exec:s0");
set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:wpa_exec:s0");
set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:dhcp_system_file:s0");
set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/init.d", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/etc/install-cm-recovery.sh", "uid", 0, "gid", 0, "mode", 0544, "capabilities", 0x0);
set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", 0x0, "selabel", "u:object_r:ppp_system_file:s0");
set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0);
set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/etc", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/etc/audio_effects.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/drm/libdrmwvmplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/egl", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/vendor/lib/mediadrm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/vendor/lib/mediadrm/libwvdrmengine.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
set_metadata("/system/xbin/su", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
show_progress(0.200000, 0);
delete("/system/bin/otasigcheck.sh");
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_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
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", "/tmp/boot.img");
assert(run_program("/sbin/sh", "/system/etc/loki.sh") == 0);
ifelse(is_substring("I337", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/vzw/* /system/"));
ifelse(is_substring("I545", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox sed -i 's/ro.com.google.clientidbase=android-google/ro.com.google.clientidbase=android-verizon/g' /system/build.prop"));
ifelse(is_substring("L720", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("M919", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("R970", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/cdma/* /system/"));
ifelse(is_substring("I9505", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9507", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
ifelse(is_substring("I9508", getprop("ro.bootloader")), run_program("/sbin/sh", "-c", "busybox cp -R /system/blobs/gsm/* /system/"));
unmount("/system");
Click to expand...
Click to collapse
Do you have an empty line after "unmount("/system");"? It's needed
By the way, your device is officially supported as jflte so you should be able to install without editing anything.
Maybe your recovery version is old? Flash the latest Philz touch and retry without editing the zip
2184
I just tried to flash the recovery you mentioned and it came up with this:
Can’t copy META-INF/com/google/android/update-binary installation aborted
kris-adams said:
I just tried to flash the recovery you mentioned and it came up with this:
Can’t copy META-INF/com/google/android/update-binary installation aborted
Click to expand...
Click to collapse
You can find in the same folder where you found the zip an Odin-flashable .tar.md5 of Philz, use it
Inviato dal mio GT-I9505
Installed philz touch tar file through odin with no problem but still getting the same errors :/
EDIT - I did a clean wipe after installing philz touch through odin and it now works!!! Finally have CM on my phone again
Thanks for the help

Categories

Resources