Related
So I am keep on getting Installation Aborted because Im doing something wrong in the updater script
I am trying to add in data/app into a rom.
this is the code im adding in the middle of nowhere in the updater-script.
Code:
package_extract_dir("data/app", "/data/app");
can anyone help me out ?
here is a download link to the updater script im trying to modify.
http://www.mediafire.com/?g8lk25dli08z919
ORIGINAL FULL SCRIPT
Code:
ui_print("Checking Model ID ...");
assert(getprop("ro.product.device") == "ace" || getprop("ro.build.product") == "ace" || getprop("ro.product.board") == "ace");
ui_print("...PASSED");
ui_print(" ");
ui_print("Flashing SCI-MIUI 2.2.10v1.0 ...");
ui_print(" ");
ui_print("formate /system ...");
format("ext4", "EMMC", "/dev/block/mmcblk0p25");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
ui_print("extracting /system ...");
package_extract_dir("system", "/system");
assert(run_program("/sbin/grep","androidboot.mid=PD9812000","/proc/cmdline") == "0"
&& ui_print("Inspire 4G detected...")
&& delete_recursive("/system/etc/soundimage")
&& package_extract_dir("inspire", "/system")
|| ui_print(" "));
ui_print(" ");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/tty", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/log", "/system/bin/lsmod",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
symlink("/system/bin/bash", "/system/bin/sh");
symlink("/system/bin/bash", "/system/xbin/sh");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 04755, "/system/bin/sysrw");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/nano");
set_perm(0, 0, 04755, "/system/bin/bash");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/apply_firewall");
set_perm(0, 0, 06755, "/system/xbin/apply_theme");
set_perm(0, 0, 06755, "/system/xbin/dumplog");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/mv2sd");
set_perm(0, 0, 06755, "/system/xbin/ota");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
ui_print("flashing boot.img ...");
package_extract_file("boot.img", "/dev/block/mmcblk0p22");
package_extract_file("boot.img", "/tmp/boot.img");
ui_print("extracting LorDMod kernel...");
package_extract_dir("kernel", "/tmp");
ui_print("installing kernel...");
set_perm(0, 0, 0777, "/tmp/dd");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
ui_print("repack kernel files...");
run_program("/tmp/unpackbootimg", "/tmp/boot.img", "/tmp/");
run_program("/tmp/mkbootimg.sh");
assert(write_raw_image("/tmp/newboot.img", "/dev/block/mmcblk0p22"),
delete("/tmp/boot.img"));
ui_print("wiping /cache ...");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p27");
ui_print("wiping dalvik-cache ...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
ui_print("FINISHED!");
ui_print("");
ui_print("SCI MIUI successfully installed.");
unmount("/system");
unmount("/data");
ui_print(" ______________________________________________");
ui_print("");
ui_print(" SSSSS CCCCC IIIIIIII");
ui_print(" SSS SSS CCC CC II");
ui_print(" SSS SS CC II");
ui_print(" SSSS CC II");
ui_print(" SSSS CC II");
ui_print(" SS SSS CC II");
ui_print(" SSS SSS CCC CC II");
ui_print(" SSSSS CCCC IIIIIIII");
ui_print("");
ui_print(" ___________________by a user__________________");
ui_print("");
My phone is an Inspire 4G aka Desire HD
should be
Code:
package_extract_dir("data", "/data");
Then put your apps in the rom at /data/app/your.apps.apk unless your phone is different i have the evo 3d.
smokin1337 said:
should be
Code:
package_extract_dir("data", "/data");
Then put your apps in the rom at /data/app/your.apps.apk unless your phone is different i have the evo 3d.
Click to expand...
Click to collapse
I had that before, but it failed...
Warning:
This is an advanced level guide! You must already understand how to work with ramdisks and repacking them.
The guide will not cover any of the basics on how to modify and work with kernels and their ramdisks.
Click to expand...
Click to collapse
Introduction:
This is a guide to modify a rom to be compatable with alternate innerSD layouts.
Roms that are not modified are not able to otherwise take advantage of changes due to using a different layout.
The actual changes needed to be made are primarily in the mounts specificed in the ramdisk and the installer script for flashing the rom.
No changes are required for the kernel or android itself (will change if/when dual-sd support and MTP mode is available)
IT IS STRONGLY RECOMMENDED THAT ROM AUTHORS ADD THE SYSTEM CHECKS FURTHER IN THE GUIDE
Without the checks users will be able to inadvertantly flash the wrong kernel and thusly end up with a brick/bootloop.
Click to expand...
Click to collapse
innerSD partition layout:
See [REF]Streak 5 Partition layouts
See Dell Streak 5/Partition Layout - XDA wiki
Click to expand...
Click to collapse
Requirements:
A kernel capable of natively mounting ext4 partitions (future guide may include list of changes needed to backport support into kernel)
Compatable development environment
A x86-64 GNU/Linux pc with symlink capable partitions (eg: extx partitions)
Perl
GZip
extract-ramdisk.pl (Link TBA)
split-bootimg.pl (Link TBA)
mkbootfs (Link TBA)
mkbootimg (Link TBA)
Strong understanding of command line
Understanding how to repack ramdisks
Clockworkmod 6.0 (Streakmod does not support ext4 partitions, advanced edify scripting)
update-binary6 (CWM 6.0/ICS compatable update-binary)
Click to expand...
Click to collapse
Instructions:
Modifying the ramdisk
Extract and unpack your kernel and ramdisk with extract-ramdisk.pl and split-bootimg.pl
Navigate to the extracted ramdisk and open init.rc
Find the 'on fs' section where the mounting portion of the script is
Change the /system portion to: (See partition layout for list of mountpoints)
Code:
mount <desired filesystem> /dev/block/<desired mountpoint> /system
mount <desired filesystem> /dev/block/<desired mountpoint> /system rw remount
If needed: change the /cache and /data portion to ext4 from ext3
Rebuild the ramdisk with mkbootfs
Rebuild kernel with mkbootimg
Modifying rom for dual-sd support
(Future versions of guide will include instructions for modifying android to support dual-sds)
Modifying the install script
Strongly recommended: add/modify the first line of the script to: (add as many as supported)
Code:
assert(getprop("ro.product.device") == "<desired layout>" || getprop("ro.build.product") == "<desired layout>");
Modify format command to:
Code:
format("<desired FS>", "EMMC", "/dev/block/<desired mountpoint>", "0");
Modify mount command to:
Code:
run_program("/sbin/busybox", "mount", "/system");
Modify unmount command to:
Code:
run_program("/sbin/busybox", "umount", "/system");
(See example below to dynamically select layout on install)
Click to expand...
Click to collapse
Changelog:
Sep 16 2012: Added example files and scripts
Sep 15 2012: Wrote initial guide
Click to expand...
Click to collapse
2char
Example update script: (Based on paranoidandroid's update script)
Code:
[COLOR="Red"]assert(getprop("ro.product.device") == "streak" || getprop("ro.build.product") == "streak" ||
getprop("ro.product.device") == "streak5ex" || getprop("ro.build.product") == "streak5ex" ||
getprop("ro.product.device") == "streak5sd8" || getprop("ro.build.product") == "streak5sd8" ||
getprop("ro.product.device") == "streak5sd32" || getprop("ro.build.product") == "streak5sd32");[/COLOR]
[COLOR="Silver"]show_progress(0.500000, 0);[/COLOR]
[COLOR="Blue"]if getprop("ro.product.device") == "streak"
then
#{
format("yaffs2", "MTD", "system", "0")
#}
else if getprop("ro.product.device") == "streak5ex"
then
#{
format("yaffs2", "MTD", "system", "0")
#}
else if getprop("ro.product.device") == "streak5sd8" || getprop("ro.product.device") == "streak5sd32"
then
#{
format("ext4", "EMMC", "/dev/block/innersd0p7", "0")
#}
else
#{
abort("unknown device")
#}
endif; endif; endif;
run_program("/sbin/busybox", "mount", "/system");[/COLOR]
[COLOR="Silver"]package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
retouch_binaries("/system/lib/drm/libfwdlockengine.so", "ee5c193e440eb441c59861bc95272fbbcac24054", "/system/lib/libharfbuzz.so", "59b0ae8b81d90c80bc86e809f8c03ddd18ba1155", "/system/lib/libaudioeffect_jni.so", "095a3b53acfaacff9b091f2097f01e509d15a595", "/system/lib/libicui18n.so", "a0484aa7bee672e940b39486a9e53003078b6557", "/system/lib/libz.so", "a021c60940c4fe46b2af045ac42fa09b0d02c464", "/system/lib/libOpenVG.so", "423f465abe2375398194db03dfc227cc76dcbea3", "/system/lib/libidl.so", "f27bdd524d745b412ea25798a6278d22930492ae", "/system/lib/libext2_e2p.so", "129e37e69e3c5e741e00d2e70adfacb812572149", "/system/lib/libsysutils.so", "077926777081c5a1afa4db2424437c4db5f5a45a", "/system/lib/librtp_jni.so", "90e5e496ad2c5adca6bdd81a1962e669eef7ee5f", "/system/lib/librpc.so", "d3134a222f1016c2c2b70f6ff7e111a8a593e1fb", "/system/lib/liblog.so", "ed6f1dd53d74865160652253ec1664c5a23a7828", "/system/lib/libpowermanager.so", "3921ba30284d588711674296d8f555e4812a4791", "/system/lib/libsonivox.so", "e2b5256ed77c415b98a831a0ae16c8b1ace7a516", "/system/lib/libsensorservice.so", "b75fcf0ef502ebd8d559f7b196b365c0a455e29d", "/system/lib/libdrmframework.so", "7ad238ab95ff5a17449b30e0894495a6ee95ea59", "/system/lib/libbcc.so", "1e8e80fee734c6cf4e1045243e485a5e24098df4", "/system/lib/libiprouteutil.so", "82ee6bc73adfed270dc44851bc465afa5252178e", "/system/lib/libpixelflinger.so", "e9d9ffbf32f6c09684749acf023acfaeffc38a2b", "/system/lib/libdiag.so", "9931d9c541633d2339d4b8f62a878822449281ea", "/system/lib/libskia.so", "fa0ac669b5deee1ffb61c8f860693afa8c785d4e", "/system/lib/libttscompat.so", "e270e0ec8c78eb0101e2c6a0f87e6e2abff02112", "/system/lib/libwilhelm.so", "61c12861a735492ec285aa635823a16bd1044a30", "/system/lib/libicuuc.so", "fee4e37378f0b597c5143064597811482e0df4aa", "/system/lib/libcamera.so", "5b65b940bdd15feea92fb35e273036c5eed6cd97", "/system/lib/libstlport.so", "d050764088d595d54cd53b79ff1f76ffdd587b9e", "/system/lib/libwebrtc_audio_preprocessing.so", "7c865d4e372401247abc47bfc8495e90e6b4fab1", "/system/lib/libgabi++.so", "ad7947f80fcaa2ae432c9577413e2ce34552abc3", "/system/lib/libcamera_client.so", "76f3743dbfadc551570222369111c37f05444af2", "/system/lib/libc_malloc_debug_leak.so", "4320a9411414098811b5c430c7ef9b5f9a486945", "/system/lib/libaudioflinger.so", "ddc0e4ce1ceed6ec83ba743d2220fe9dc406cd54", "/system/lib/hw/hwcomposer.qsd8k.so", "934af5e8de6dc0ff282f46f173fcc7d4ac9c18ff", "/system/lib/hw/audio.a2dp.default.so", "133d777eefa44ccc79634a76310d79f9ff793c5e", "/system/lib/hw/sensors.goldfish.so", "a90de8f55e836ab043a9375b5b2a51370f6bad59", "/system/lib/hw/lights.goldfish.so", "32919458bc69937230f652b86e662720a04bc688", "/system/lib/hw/sensors.streak.so", "cd79fb697020eb961863521ea3a99fdbb209d9b9", "/system/lib/hw/copybit.qsd8k.so", "4cb5e06f7812363a9701d16ab1e73342ab256ae9", "/system/lib/hw/audio_policy.default.so", "61ab34eca9a5485574967ce10c455715cefb3c9b", "/system/lib/hw/gps.goldfish.so", "d050812586137eea02a8ce78f7ab4945724c5811", "/system/lib/hw/audio.primary.qsd8k.so", "ebbea79e565f31f42191088a03b1de0cd6c77c8a", "/system/lib/hw/gralloc.qsd8k.so", "f0a4137963b679bc3da48a48126448b914aed001", "/system/lib/hw/audio.primary.streak.so", "305f9cd4639c3cfc516b74b412c01fbad25f3f3d", "/system/lib/hw/gps.streak.so", "c2d5b3ed743dce327548b3311f17dcf95d5a2694", "/system/lib/hw/camera.goldfish.so", "0356a7956e6dcc6d72aa9d32cc05e46b8836e16b", "/system/lib/hw/gralloc.default.so", "4b40a47e5a0a4442144ed9616ff7fc68cde5c420", "/system/lib/hw/audio.primary.default.so", "7479999206628d7f5f2f0ccdb73f3656c3b0b4b0", "/system/lib/libstagefright_foundation.so", "1cb026014a83ecbf1fab6e94ab5f5abe9db9292e", "/system/lib/libdsutils.so", "0e4326cdb45192fd7a46befa2a11e4ebd682ab55", "/system/lib/libOmxCore.so", "7531240d5cc878716895aa815104bf66e6cebe80", "/system/lib/libvideoeditorplayer.so", "fc1ad89978fadda499b444b306a4a3a12bf4b066", "/system/lib/libcameraservice.so", "332c1d898175ddc6819e143108c49118382a3c22", "/system/lib/libstagefright_omx.so", "6ba415c0a0b0baebd29e393947be56ff17ded17e", "/system/lib/libwms.so", "10ba6cf5a05d557ce33a6cd140ad0c855de1c824", "/system/lib/libandroid_runtime.so", "b8a98a03bb975c04c8321ea498a8b1614b6f53d4", "/system/lib/libril-qcril-hook-oem.so", "bdbefef2724686159291d9f2dabcc845762e46bd", "/system/lib/libjni_latinime.so", "df0600e7af8f7c948626ce82d5a1382b1dd828ad", "/system/lib/libhardware_legacy.so", "987b944def7223e4ebdfe484d05b3003516fab1a", "/system/lib/libssl.so", "3a7baf6c4e937cd5bdaad2828fbc07db3028f580", "/system/lib/libmedia_jni.so", "90361797add6cbf0fc6b5b7a3562bfe35032c116", "/system/lib/libstagefright_soft_vorbisdec.so", "3327d2681c4ee419e9e6b3d439f29997bb365a8e", "/system/lib/libinput.so", "fc17676b083c0c195d3590c37af57522c863f416", "/system/lib/libauth.so", "468808d6c8686665f2a7c3d4804b67523a750987", "/system/lib/libsurfaceflinger.so", "f608e297e4408e5882e1ca17871a90a3ff63d842", "/system/lib/libstagefright_yuv.so", "6c9887963a1cd34ed797439d2e9748262d874b50", "/system/lib/libloc_api-rpc-qc.so", "08c3c2407413fc99fdd74cec98de61bf83d89dd5", "/system/lib/libgenlock.so", "330a100bbf73708b5a529ea857b4a19643962adb", "/system/lib/libOmxVidEnc.so", "84c94c915f2564aed7b5d8baf6708317add317a1", "/system/lib/libdl.so", "d04140dc157e944cbfb7af907ac607d6f676decc", "/system/lib/libsqlite.so", "425e0094e38b47b0f02385304f2091433f89d946", "/system/lib/libext2_blkid.so", "227635122d83fba4d424b7a2518f40b562071f2e", "/system/lib/libm.so", "5bdcd5cc52789b54e1df8969a161df11a9868c7a", "/system/lib/libFFTEm.so", "2c11be29528d844bcae58636fc3f3570e462a9ef", "/system/lib/libdbus.so", "69df67b34a04ebce6fa2c5a8739d0a4fded266d5", "/system/lib/modules/dhd.ko", "493f6a0bb2298e5a98120a19690dbf0d827a8f79", "/system/lib/modules/vsync.ko", "23567a84febc85312f3b047bc343c63721f9ee2a", "/system/lib/liboem_rapi.so", "a6896fc59daed40a16892662f9bb6403485feaca", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libWnnEngDic.so", "dfc8f0f4f32160eb456008972c23fbc5dd6bdea3", "/system/lib/libmedia.so", "20a76890f75c91e43095039e9e6481d07bcda955", "/system/lib/libGLESv2_dbg.so", "9371c287e9b17ae759267f1bbdfc8230899b483a", "/system/lib/libsoundpool.so", "2ad316da20659c734f7c83cb5f92912034513627", "/system/lib/libdvm.so", "2357b71e04a64f536de09b1f5a959b92e05d1c17", "/system/lib/libglib.so", "dd6eadb758eb0f04242b7d9c9210d2ec1b65cb83", "/system/lib/libbluetooth.so", "1b06b3dfb979883d8dca97ab97fd8a1d342c1131", "/system/lib/libsqlite_jni.so", "770e4253f9b138bd807253812208a2351b3bb7dd", "/system/lib/soundfx/libaudiopreprocessing.so", "241023ca85c33e6f7b8e96c144641402db17525b", "/system/lib/soundfx/libreverbwrapper.so", "8a258d6ba54c72d4c5a7b985447ebba1d480f76a", "/system/lib/soundfx/libbundlewrapper.so", "afc102854b5f7133f56f13411e45fcd6b44dac07", "/system/lib/soundfx/libvisualizer.so", "fa19ad0ed1f2ca4b1d18adc369580edab66680f3", "/system/lib/libgsdi_exp.so", "a04f74b5af862fa5d946648c1d5b698071dc3208", "/system/lib/libgstk_exp.so", "a454f560c56f9451e6670fde33ce7beb4d4d629a", "/system/lib/libSR_AudioIn.so", "b4aca75b511e97a154fc26a05e1e77c258942458", "/system/lib/libstagefright_soft_h264dec.so", "46952cd010d3f74076a9957b95e70122861c0267", "/system/lib/libeffects.so", "8815ea7cd9fd905944025529d99d42bdac8995cc", "/system/lib/libWnnJpnDic.so", "2e47f67dbed276311a9fdf846c3a07278fbd475e", "/system/lib/liboemcamera.so", "e5ae5ec669e41d3e3a476f28681905d6255e4082", "/system/lib/libmtp.so", "57726bd3c4af9f64b3c93097de9b6c59cbdd99a2", "/system/lib/libRS.so", "831645ee575b379cddb60e6f535cf8528ee03a0b", "/system/lib/libC2D2.so", "280ae37ff30d92ba153e54eab07bb759751e379b", "/system/lib/libdiskconfig.so", "203db5f02940c31ce847ae0d43180a0d945577b6", "/system/lib/libnv.so", "08b03b2171eb0582438bfd0aa724c718bd159157", "/system/lib/libctest.so", "2e1197124ae284e7c58fe25f1d055093a857255b", "/system/lib/libstagefright.so", "e64c86bf7b3d1b2343dddad9c27fc78b8ec6caeb", "/system/lib/libETC1.so", "1a94fe6c5e854ea5144a6d498ace26795378a7cf", "/system/lib/libOpenMAXAL.so", "c16b36036fffba50666562c10b3c69cbe09eb1ca", "/system/lib/libstagefright_amrnb_common.so", "4c93061ae11469068a7e772ca95978c264a87897", "/system/lib/libGLESv1_CM.so", "e3777deb8be7e5c63e707ae047e774cb8984da92", "/system/lib/libvorbisidec.so", "ec02427fc2933fb91c5e9321c944c9860f1e3669", "/system/lib/libnativehelper.so", "d62190800fc8e975a7c9ab1cd1ddf71cd35f9a63", "/system/lib/libdrm1_jni.so", "ad0a95577479090bc3b6844d7a9f09060a5df85e", "/system/lib/libui.so", "37cb554d3757e39495666dbb12f513724b85a49f", "/system/lib/libpagemap.so", "ef631d186a2849e465072bd7c1dea85e23613e04", "/system/lib/libbcinfo.so", "9350184ed45683f12a1ce580d8a1e49adea8c58a", "/system/lib/libqueue.so", "9936fd9da90bbdc88b005956bf3f001865dea89b", "/system/lib/libreference-ril.so", "93a58f3e3335eaa762d4847da10aa420c3454c64", "/system/lib/bluez-plugin/audio.so", "74bc795d6fc6eaff8cb4081ee9954d042fb424f2", "/system/lib/bluez-plugin/input.so", "35c1d3f1392ffd3c140cb534b2c0ff5bc098eb8e", "/system/lib/bluez-plugin/bluetooth-health.so", "f126ee6aeecc86dddbe89c93b5515179567ba3cf", "/system/lib/bluez-plugin/network.so", "42af260bee28f0c1b767ac3c7dee76cba5688a8c", "/system/lib/libtilerenderer.so", "36b50074ed93b5ba1ed35c7150fb345717f720fc", "/system/lib/libsrec_jni.so", "fce4dc6c8ae6f2e0e103adcb4162fa7335a184ac", "/system/lib/libnetutils.so", "b7c8e76d3f6408b611ffb7c01f861b9b139bc37a", "/system/lib/libril.so", "ea28ce307379d2edd7a6836a98c0076c16737428", "/system/lib/libwmsts.so", "3639293fec735eee7f1cd53a74df187f2fa062d8", "/system/lib/libpbmlib.so", "e10ae777d113da3b2ade10b0acfbf72844520ab4", "/system/lib/libandroid.so", "8a48274ca0237a4aea88d48971f4782bee53c787", "/system/lib/libmmgsdilib.so", "4c536c87045b18cb394bbefc5dd77151e250db3d", "/system/lib/libext4_utils.so", "1edd6984d50a701f73cbaea7660a03ebf9c9a270", "/system/lib/libchromium_net.so", "fe8b115403509dee0fa4d43ec780391e17986f94", "/system/lib/liba2dp.so", "84bee100e062235efc144f6964cbaa6b64fb6606", "/system/lib/libandroid_servers.so", "a116039042ea191572f4bc819869ecafa6ea285f", "/system/lib/libvideoeditor_jni.so", "a72d253060e9c92775e04321f4c38a99763afa35", "/system/lib/libQcomUI.so", "d17ed9ba354b5dac46de99f3c0abc5971543675b", "/system/lib/libusbhost.so", "5aac4a7af542b4927b6b3e2876ad8c16661b19f0", "/system/lib/libstagefright_soft_mpeg4dec.so", "a52790667a1957b876566de67892aed706af134a", "/system/lib/libnetlink.so", "0df9514f962588dcdb31727e9711e3f2a75ca9f0", "/system/lib/libwnndict.so", "08248e858e4fb99cac783aaac0d3cb5e8d62942a", "/system/lib/libfilterfw.so", "fcd1c4f09819fd2cbe9c8cff28295c602998e28d", "/system/lib/libext2_com_err.so", "4cb734a7c5669bf811d6f11472ce889286aaaef8", "/system/lib/libjnigraphics.so", "279f9cd416f80601aca170332cf28f87bcdf489d", "/system/lib/libjni_mosaic.so", "f5f4d5039294d58f2ee3ac1e362a678ff61d6699", "/system/lib/libcm.so", "8029a6fb3b6ab56f8ae2b805fadbb18fcbd65455", "/system/lib/libbcc.so.sha1", "5a7f0aa1fcd8bfcbe9bb6898e8bf32f3e9947a3b", "/system/lib/libmmjpeg.so", "07e3c0b9c79b64f3cd49d86f091ff6d7de826be9", "/system/lib/libwpa_client.so", "c89a03f06d97dd91107ca9cd554c135366de65b9", "/system/lib/libdefcontainer_jni.so", "9375da4c688f9627801a39f0a3187f0d3497f720", "/system/lib/libspeexresampler.so", "3bd6bcdb4c630b157ebf7d9b34bfa60024029929", "/system/lib/libext2fs.so", "635eebc1ce93a66e575c0222430f23013254e5c6", "/system/lib/libsurfaceflinger_client.so", "12ba180d276b44d96e23f91c3d328f6ffdeed0eb", "/system/lib/libcommondefs.so", "750d1a53b98e6cc5d99a6c7156f33377fa8b1f12", "/system/lib/libbtio.so", "3aec834604347409751c1407884ddfc28010d270", "/system/lib/libbinder.so", "b7189ba80bc19eac00c0a102820fd2247c782381", "/system/lib/libstagefright_soft_g711dec.so", "e3c949a95578419806514d9ff1e9381e204ac91c", "/system/lib/libbluetoothd.so", "affe21f3df050571e30d595a6577fb1149bc466b", "/system/lib/libext2_uuid.so", "189116fb821f27b05e8af2eefd2d20b972021c87", "/system/lib/libOpenSLES.so", "f32bc879bdf98f9aef6c63277c0055c2f1a3479f", "/system/lib/libexif.so", "6e1227d92047e874de7eb692b4514e51db33ee5e", "/system/lib/libEGL.so", "3d01292faeebb15c720933a61b9dfeeeec75988e", "/system/lib/libqmi.so", "ed901037b0fb21d914b7594da35785632f471575", "/system/lib/libext2_profile.so", "63e2b063c898d491f4538ebf8243b1b9d1337989", "/system/lib/libgui.so", "b8b2f854ca90e78301f3d0924a1ceee41744e976", "/system/lib/libpower.so", "ab7c4ae5bd1cd974fdc0650854335ed9eae8fd72", "/system/lib/libstagefright_soft_aacdec.so", "aca05675a54c34d306708b2163ed36f26b00eea5", "/system/lib/egl/libGLES_android.so", "9666f31b593fd4941cc42f1963056a6b7a241592", "/system/lib/egl/egl.cfg", "b6bee7378c35bb5e86741adb3b65d44032fd4d0e", "/system/lib/egl/libGLESv2_adreno200.so", "6209076918830d3a018cf850a5f2b119356ec233", "/system/lib/egl/libGLESv1_CM_adreno200.so", "28a92c471624f72b33c0b7cb12ac4256fc2cef46", "/system/lib/egl/eglsubAndroid.so", "72c5a8319af1dfb4e6105d682cdcba14fa6f1485", "/system/lib/egl/libq3dtools_adreno200.so", "8a1eaba01ff19f7909e998bd7744fd62b0b50a5d", "/system/lib/egl/libEGL_adreno200.so", "2ee42be72aa7dcb51ed2df8458ce0709c22d29a7", "/system/lib/libdrmframework_jni.so", "5147353f7324b6d118cdc5e625ff6d26f896ae0e", "/system/lib/libstagefright_soft_mp3dec.so", "6407cb73981d80931bfeae929fc53901e1c3a9eb", "/system/lib/libvariablespeed.so", "5cd5cda521c2a53b6895424108d218d411331080", "/system/lib/libmmipl.so", "9799d1aac1f19d7bde569103b1cfcde196c66f74", "/system/lib/libmediaplayerservice.so", "be03b663375ab1cd3454c43e6a635fb10cfc9213", "/system/lib/libstagefright_soft_vpxdec.so", "1809388425c28f4c6b3e0d9bddd8b7411b3fd182", "/system/lib/libGLESv2.so", "051a8c2c6129afb2486ccd0c7e93c23196b93ea6", "/system/lib/libc.so", "36c426b12bcf1eae820a56baceb80c377714376b", "/system/lib/libcutils.so", "e54e65954130ce70c221ff2449dcd2d96b831c05", "/system/lib/libdrm1.so", "f2170c94004281d7ecf7a2651bd4842a2704cf09", "/system/lib/libmemalloc.so", "a76d46f6a1684ce4a000f2862c03727900e265bd", "/system/lib/libdss.so", "4e50e60eaced9bf8391dfa1ad3d1d406b1afd7de", "/system/lib/libstdc++.so", "371a217806ae30f62077efa3838c59528d3b35c1", "/system/lib/libnfc_ndef.so", "de9929835ea5b58b46312c12cfe207ad1c64d042", "/system/lib/libstagefright_avc_common.so", "4bc6181f85933748a765e50d6f279222d9448ed9", "/system/lib/libstagefright_enc_common.so", "dda11032c58ceb574577a273173ee99c79ed6c02", "/system/lib/libutils.so", "75ad26b10cc8c08ef7c70a13d8c854f25d6f7c95", "/system/lib/libril-qc-1.so", "30c9b52699719936ce530771d298bf960d73cba2", "/system/lib/libdsm.so", "ead561860ad169d5ba0bf7894f344d0e4c713703", "/system/lib/liboncrpc.so", "3203d30308f04fb0ad22b2ce1e979ecbf911950a", "/system/lib/libbluedroid.so", "7b9509fb041f74a3ce39b64049629cab6f5e8b8f", "/system/lib/librs_jni.so", "9bbaf3295b1e8c6e34a2d0c5117fe960b4917cc1", "/system/lib/libttspico.so", "0af369bac8c770ee156f94e39ef2b28917c8e5b5", "/system/lib/libhwui.so", "036f239454332db6e22cfa199a5cad8a0dcbb46f", "/system/lib/libgsl.so", "3573397437c49c4e2a75947e5329796c2448930d", "/system/lib/libthread_db.so", "afbf14e5f1723061cf5e426465ab69a2b89e7cfd", "/system/lib/libwebcore.so", "b8d716bb52f2ef282e78ae690d977994eba98341", "/system/lib/libhardware.so", "4e396a90fd88d5afb25cee4071c5ee5f6c59964b", "/system/lib/libcrypto.so", "950baac05a78a3c4251ef9bdeb7293581503249b", "/system/lib/libstagefright_soft_amrdec.so", "06bef69e7b6ccdb9d151a0f3ffa174184d14e93e", "/system/lib/libsc-a2xx.so", "69595e90b0cea333c773c0c982a69f646608efb8", "/system/lib/liboverlay.so", "3940a85a8c2e26748cd0a679455faaadc594273a", "/system/lib/libjpeg.so", "0e86ca59c79be1ae3915c90fed086fd18a40ed55", "/system/lib/libc_malloc_debug_qemu.so", "6d4a4b94d95018e640731f4adf2be3fe6409c11a", "/system/lib/invoke_mock_media_player.so", "52737754e4cf06cd93a9cd922c7a72d8bb4eabb4", "/system/lib/libexpat.so", "8be615c961002829cb93317fcff7844c476c2e51", "/system/lib/libfilterpack_imageproc.so", "61b1e17f09f5404c2bc3e86597292ccad067db00", "/system/lib/libsystem_server.so", "04a60f67eeaabd5be3bb188b02218865acecddc6", "/system/lib/libemoji.so", "aa42eb9a3ef25317e67866510697d01be39acf32");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/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");
show_progress(0.200000, 0);
show_progress(0.200000, 10);[/COLOR]
[COLOR="Blue"]if getprop("ro.product.device") == "streak"
then
#{
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
ui_print("streak5")
#}
else if getprop("ro.product.device") == "streak5ex"
then
#{
assert(package_extract_file("bootex.img", "/tmp/bootex.img"),
write_raw_image("/tmp/bootex.img", "boot"),
delete("/tmp/bootex.img"));
ui_print("streak5ex")
#}
else if getprop("ro.product.device") == "streak5sd8" || getprop("ro.product.device") == "streak5sd32"
then
#{
assert(package_extract_file("bootsd.img", "/tmp/bootsd.img"),
write_raw_image("/tmp/bootsd.img", "boot"),
delete("/tmp/bootsd.img"));
ui_print("streak5sd8 or streak5sd32")
#}
else
#{
abort("unknown device")
#}
endif; endif; endif;[/COLOR]
[COLOR="Silver"]show_progress(0.100000, 0);[/COLOR]
[COLOR="Blue"]run_program("/sbin/busybox", "umount", "/system");[/COLOR]
Legend:
Red: Optional, but strongly recommended
Blue: Required code changes
Gray: Underlying script
Click to expand...
Click to collapse
Details:
Example script includes support for:
streak
streak5ex
streak5sd8
streak5sd32
Also:
streak5sd8 and streak5sd32 should not require seperate ramdisks, they should both be able to run off the same one
streak5sd32 is not actually implemented, but as it shouldnt require additional changes over streak5sd8, it is included for forward-compability
If your ramdisk already mounts /cache and /data as ext4, you can combine streak and streak5ex
{ and } are not actually supported in edify, they are merely comments to help script authors visualise the script's organization
If you are unable to support a specific layout, simply remove the associated lines for that layout
The script will echo what layout the device is at the end of the install
New layout for update.zip
META-INF
system
<any other dirs>
boot.img - streak
bootex.img - streak5ex
bootsd.img - streak5sd8 and streak5sd32
<any other files>
Click to expand...
Click to collapse
2char
Recommended naming scheme:
It is recommended to standardize the naming scheme of your update zips.
This is the naming scheme I use (and applies for all my releases across all dell devices):
update-<device>-<title>-<version>-<revision>.zip
<device>: only used if update being flashed contains device specific contents, otherwise left out
<title>: name of update, without version number
<version>: actual version number (major)
<revision>: revision number (minor)
Examples would be:
update-S5-S5ex-S5sd-paranoidandroid-1.1-b1.zip
device: S5 or S5ex or S5sd
version: 1.1
revision: b1
update-S10-CM9-120715-mod-1.zip
device: S10
version: 120715-mod
revision: 1
update-Gapps-Opt-GB-20712.zip
device: any
version: GB
revision: 20172
Standardized date stamp I use is: YmmDD
Where Y is the last digit of the year
MM is the month
DD is the day
Click to expand...
Click to collapse
Example roms:
TBA
Click to expand...
Click to collapse
2char
This space for rent 3
Ok so first of all this is a question addressed more to the developers, and I hope they will read it, if there is any developer here that takes a look in this section, because this is the only section I can post this sort of things. Anyway so the question is:
Is it possible to make a flashable Zip for Recovery that contains entire kernel too? I mean, when I was thinking to make a surprise to my friend and flash CM9 on his LG O2x P990, I've checked the content of the Zip and i've seen that there is a boot.img and a kernel folder too in which are contained some files to reassemble a kernel and make it a boot.img(zImage + ramdisk). I've also seen something like this in my friend's Zips for his HTC Wildfire S, so both LG and HTC(as far as I've seen) can flash also kernels inside recovery. I will attach a picture with the content of the Zip and I will post the code of the update-script(I won't upload the Zip because I want to prevent newbies around here from damaging their phones by flashing wrong Zip).
PS: I know we can already flash zImage inside recovery(KA Speed) but I'm talking about the entire boot.img, so we can install CyanogenMod without PC
Code:
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p1", "0");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
package_extract_dir("kernel", "/tmp");
set_perm(0, 0, 0777, "/tmp/dump_image");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
run_program("/tmp/dump_image", "/dev/block/mmcblk0p5", "/tmp/boot.img");
run_program("/tmp/unpackbootimg", "-i", "/tmp/boot.img", "-o", "/tmp/");
run_program("/tmp/mkbootimg.sh");
run_program("/sbin/busybox", "dd", "if=/tmp/newboot.img", "of=/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p1", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p2", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/cache");
unmount("/cache");
run_program("/sbin/busybox", "mount", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blockdev", "/system/xbin/brctl",
"/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2",
"/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv",
"/system/xbin/chattr", "/system/xbin/chgrp", "/system/xbin/chmod",
"/system/xbin/chown", "/system/xbin/chroot", "/system/xbin/clear",
"/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp",
"/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab",
"/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
"/system/xbin/dd", "/system/xbin/depmod", "/system/xbin/devmem",
"/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname",
"/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dos2unix",
"/system/xbin/du", "/system/xbin/echo", "/system/xbin/ed",
"/system/xbin/egrep", "/system/xbin/env", "/system/xbin/expand",
"/system/xbin/expr", "/system/xbin/false", "/system/xbin/fdisk",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
retouch_binaries("/system/lib/libGLESv1_CM.so", "45ab6b30191dc804cec015d64028160a8d6a88e5", "/system/lib/libEGL.so", "60e9f670ae6e2b23d5ba78f7c7beec15ce37c2b6", "/system/lib/libcutils.so", "567d91c4b1d8fc0b292968bad4c9011ce90541ef", "/system/lib/libRS.so", "9045b26ed823c5c9a9632e9b2efb64b777049039", "/system/lib/libicuuc.so", "6acd2accc204118cb3ac705dedc01e9229857975", "/system/lib/libext2fs.so", "0c404b2e2ec8406c7da67e27cba1b9304b309823", "/system/lib/libbluetoothd.so", "7eb7fcdd301aa774255a04c83956de96d1218588", "/system/lib/libcgdrv.so", "6d12aa478da8fb060616e57e3c9f925d3c3ef6af", "/system/lib/libpixelflinger.so", "e672271c87e76d79785f70477554bd1490655488", "/system/lib/libGLESv2_dbg.so", "9717c0ad0adec847d025483fe9b47a8d93479285", "/system/lib/liblvvil.so", "7b0791695e63570ca3bf29838089465c4a490d82", "/system/lib/libcamera.so", "291d2d6067da71151a0948488927dc51360b2b30", "/system/lib/libstdc++.so", "d8b10940d86c66089378382e2551da4ecc2258b8", "/system/lib/liblog.so", "58580c57fa11e20cc91d350a49ecf2b956ce4d82", "/system/lib/libext4_utils.so", "8fae47d24b6ddf4bc8c958b6dc9468fc9f2b605b", "/system/lib/libandroid_servers.so", "1dc44ca735360b53092f7d54ca4437aca38bacb9", "/system/lib/libdvm.so", "9d3fa05ec2959d2bd3950f472f89b0b23e1e61f9", "/system/lib/libthread_db.so", "9bc4fc19176c19054e353d8c0e5b42d422ef1583", "/system/lib/libbcinfo.so", "914285a0caea9c5607ae08260c4319a2ad0d6f87", "/system/lib/libandroid_runtime.so", "2c5a8bc7ab58352d0f52b93713d4936c8bed332d", "/system/lib/libnvmm_service.so", "ceca088543055b1ea9c20790ab891c860c6d1f93", "/system/lib/libui.so", "e6fdffe73d5a7eaf3aa84772c88a71bc77c37288", "/system/lib/libdbus.so", "92f26eee8245e26fff4143b2d889d7b838026ae6", "/system/lib/libnvomxilclient.so", "ee2955d36196c24cb87262fedd82d6bd6fc551b3", "/system/lib/libjni_latinime.so", "d600eaa8f6a21b07d4770de11943e62c41510f07", "/system/lib/libsystem_server.so", "fa94ab2f8441063b0a0459a9c61389e792f7c922", "/system/lib/liblgemmqcelp.so", "fb5a983eb2781e7521fef86b8a3c16b4ec643a51", "/system/lib/libspeexresampler.so", "2e0190203442c931f7bd50a0cf35fd43eb663523", "/system/lib/libstagefright_enc_common.so", "4fa643507b98948ad554309ccfc479e268d08e76", "/system/lib/libpagemap.so", "77659d0abcdf6092ab46bd961bd14cfe1c5015e4", "/system/lib/libnetutils.so", "ec2a97b5a5d21c8e741c7de2756635112cbec798", "/system/lib/libpng.so", "9f2987d83ae016cfae35865129186b5aac07cfc0", "/system/lib/libGLESv2.so", "45801dc7cd452238ff7745cbb00600c6acff0b0e", "/system/lib/libext2_e2p.so", "b28f6f0ea6db81d03a185528a5ad86ce00836603", "/system/lib/libstagefrighthw.so", "cbc7cf4e190b5da8ab3480d1da4f2fb3a94ca344", "/system/lib/libext2_uuid.so", "2dc24589218289ba3d91765d707624763e5b5c0f", "/system/lib/libnvddk_audiofx.so", "6a8576664dedf3611568e466782c8f25ef70c990", "/system/lib/libmtp.so", "baaf339cd1e1914cb4fd364e90062908c74f0cd7", "/system/lib/libnvomx.so", "0388a031b39d5598cdbab640b87d07814faeb786", "/system/lib/hw/overlay.tegra.so", "f250e7609a1fa7145672cd92098342d1bc4f5c0a", "/system/lib/hw/sensors.tegra.so", "ab28fdb1ef6a0048930dc1b624796b19bf97abf6", "/system/lib/hw/audio.a2dp.default.so", "d084068c7aec51c2f747915aa8fa25a129ab1907", "/system/lib/hw/gralloc.tegra.so", "4a46386b93bf1346b83e48a27257065f696a599a", "/system/lib/hw/gralloc.default.so", "f5fdf154fa575317d786e413abd8db5624090c1e", "/system/lib/hw/audio_policy.default.so", "0dc14982cc8fa9909e187afee0dca09060e729c7", "/system/lib/hw/gps.tegra.so", "c61918134b2d2ab3c4b55855ad0392fef2db8c7c", "/system/lib/hw/lights.goldfish.so", "5ff444248f9036bf43dff9d2f9ea1b491cb4126c", "/system/lib/hw/sensors.goldfish.so", "bed57428cf1d6d6c7e90f7350eda80c2acaa62cb", "/system/lib/hw/lights.p990.so", "9fc0866fa8958797d1de5b47557861d9463754a6", "/system/lib/hw/camera.goldfish.so", "6bb6d61658203901e34c115c9d8f0a3450c9ec53", "/system/lib/hw/camera.tegra.so", "51d5338b958dbaee11a07880cf206e21088c8fe4", "/system/lib/hw/hwcomposer.default.so", "9deb372be8d24a7b636be907a1d362c90584d206", "/system/lib/hw/gps.goldfish.so", "ee1084a29ce870c4eabc4e3d61f2ff4c04da1be2", "/system/lib/hw/audio.primary.default.so", "bc6b7a736f328ac27abf26a69978870a5859ebab", "/system/lib/hw/audio.primary.p990.so", "ff113518949ca43a13a921129596f221178b81ea", "/system/lib/libaudioflinger.so", "a5704a73788097baa97bf7a2ff17ac164c3a8b9a", "/system/lib/lge-ril.so", "c1cd3054a8d4bd9012de991d0975e2bd02b050a7", "/system/lib/libdl.so", "23868a6f84a3ed51f9c69bfee7362e99a13a0f69", "/system/lib/libstagefright_soft_g711dec.so", "f6fd1de4e491a91cf713420ff77f9ff36e23bd37", "/system/lib/libwebrtc_audio_preprocessing.so", "5d39a31de0f9a0388478cceb672964793d4e3fda", "/system/lib/libstagefright.so", "967cc6587cfb70e906b0f16d99e3f77196636293", "/system/lib/libnativehelper.so", "fea3a64f8db15de309bb391bcb19130d81370889", "/system/lib/libstagefright_soft_mp3dec.so", "410743d82d0e49b83324e5da7df2646e05e7d83a", "/system/lib/libnfc_ndef.so", "e42977f95b19b69ee300afda35b9dabcd28e3a0a", "/system/lib/libfilterpack_imageproc.so", "67ad9a6df738d230d9ffa43083098f1a64e327e2", "/system/lib/libbluetooth.so", "c7ead583a6e3997a3e896f5dcf1b7e4a3110d03a", "/system/lib/libinput.so", "26e72bf87f7a4fb97f8895bcbb109afad4007032", "/system/lib/libOpenMAXAL.so", "162dcfc337a77cdf81f2965a176028b4cd96e882", "/system/lib/libnvddk_2d_v2.so", "d4ab17588cc5466551d03faf9542c68c8412a6e0", "/system/lib/libdefcontainer_jni.so", "f3c4e2e811e2b7d147344c038c1d2432b9b84fa9", "/system/lib/libnvrm_graphics.so", "5527fa8e8b40e1f8571261b568a8d532281303d0", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libnvddk_2d.so", "a41be80338188004a59ffdf32c88f3a425e64735", "/system/lib/libstagefright_soft_vpxdec.so", "f0fbd2edea65f24c9f4cac6a4dbb1f261bff3b2c", "/system/lib/liblgemmdts.so", "0335dafec5f91c5ff6803aa5713a8e19c62eeb6d", "/system/lib/libnvmm_videorenderer.so", "b9aee3a1f01a0096a50dafdd17db6c9ff587c02e", "/system/lib/liblgemmec3.so", "1a39fcc3b02a89ebc7a20e17241ccb6a9c287bbd", "/system/lib/libnvmm_utils.so", "2bcb0bc5484c650265de4d0b027c7b453fa31efc", "/system/lib/libaudioeffect_jni.so", "fc960a6fc193b14c7dc2aaeb8ef1c8ef36617ad4", "/system/lib/libbridge_jni.so", "de4f089f0866333bd00b851fd65ae619aed38ccc", "/system/lib/libnetlink.so", "e5f9350012b9bc801313430344ba0ece6d2f9901", "/system/lib/libbluedroid.so", "2bf4f0d00fca6ee841653133c8c05fee1f3be0f8", "/system/lib/libhwmediarecorder.so", "260cf68dcb67f41cd176189ffc2d67e1c557994b", "/system/lib/libvideoeditor_jni.so", "b7879f18d24a2459cd13c03fbcca7114b1b5da46", "/system/lib/libhwmediaplugin.so", "aa8cd3f49764809d7a2a3266eaf42a23d4c68782", "/system/lib/libexif.so", "634ce134f1e71f34ad40785790427537ba267a56", "/system/lib/libnvodm_misc.so", "fc301b0c54ff6c7de8e3540935e72c05f46dfcbf", "/system/lib/libsurfaceflinger_client.so", "b92f3eda04433405a7ec9e89911879d90e49cfb5", "/system/lib/libaudio.so", "b13bc3570073fed7a7ca7f34760c25d04469e4e7", "/system/lib/libstagefright_soft_aacdec.so", "8089fd63d9fe6c3043b596d79647ae70dcf0ed9b", "/system/lib/libjackpal-androidterm3.so", "ecaeb903c230d76e6becedc058fc61b518e9d60b", "/system/lib/libnvmm_manager.so", "2a8c20b2d62ae97f55640b7a9db89a5b66739918", "/system/lib/libext2_profile.so", "9957b852ff1918a6ccafdc8da1eee276af640292", "/system/lib/libwpa_client.so", "a4df9e9b3ce6a2eb09808b9593ae7f11c1c67ace", "/system/lib/libcameraservice.so", "af63c7b861908d3a657240ab7dfe99e5ff316599", "/system/lib/libSR_AudioIn.so", "5570584f22fdf32944a5ad930df4ad2e67a37a87", "/system/lib/libnvmm_image.so", "dc531db66daf878da877b0173d66af34260c30e7", "/system/lib/libc.so", "c989baf9816fc9fbfa046902089a15583c0488bb", "/system/lib/libext2_com_err.so", "0f5efa50a80905f52bebeb5d6eb8064105f8fe8d", "/system/lib/libexpat.so", "4da45f18188e5c5bdf5c17f72135a112a85f3d20", "/system/lib/libmediaplayerservice.so", "b0723f1f47f33fe620790211673bd1ecf0e544af", "/system/lib/libnvmm_logger.so", "722a585cdf63aa7e149259674f98edd170484c81", "/system/lib/librtp_jni.so", "f03ad048641f88a9a141f28cea9730a677fef954", "/system/lib/libttscompat.so", "4d5ca2a7e3deb8b5f342c21397d855f000c396ec", "/system/lib/libpowermanager.so", "61b15f27479881c7bd53c2474714947ebd338f96", "/system/lib/libdiskconfig.so", "e3f9358dcb9a26392e7d7b83bd95a4e79a833823", "/system/lib/libbcc.so.sha1", "64c65ba930d91f52ef0e8daea95b61ee62ff96de", "/system/lib/libnvmm.so", "de2bc5f27b9e91198b83ee4692ceb148096f0bf0", "/system/lib/libdrmframework_jni.so", "53f0ea872d735c027b49f00fc1bde65538ed70e8", "/system/lib/libnvodm_query.so", "738ef8ceae3774a48e93644fca30596eada95eb2", "/system/lib/librs_jni.so", "f688b85dc60292c8e6a8f7583accfd5385f792f6", "/system/lib/libutils.so", "32626e771c3450b300f2121e3fd5735dc7663e09", "/system/lib/liblgeswcodecs.so", "cc8cf01966b888756eb4c3ee8a48b9622410cfe8", "/system/lib/drm/libfwdlockengine.so", "2ac6e461feb158ab3366da1660d1b7145e29c181", "/system/lib/libdrm1_jni.so", "8025fd0142cc168f0f8a9b34f6668be4690ab077", "/system/lib/libctest.so", "639beb017816cb52ab2d5e189c4aed39189aea6d", "/system/lib/libsoundpool.so", "3cb25cd7479282f4c584d5f41943596dbf683371", "/system/lib/libnvmm_writer.so", "f452c502a078c6fd977b0f8ab0126bccc03a5adb", "/system/lib/libnvsm.so", "7506e7764fed1b06a770ede9ca4fe2f77f30a836", "/system/lib/libnvmm_tracklist.so", "832687de5303369bb431d7658c14984014ad8752", "/system/lib/libbinder.so", "a5aefaccc1f463e75e0fa8012aa14ccb83339b70", "/system/lib/libril.so", "31b51f31c6e19be13a9cf287c4ed4d477659a4e9", "/system/lib/libstagefright_soft_h264dec.so", "2c93d9963d3b25e74aeebe8039e3fbde3d7dcc57", "/system/lib/libstagefright_avc_common.so", "fd2e14a05076c048858fa8935b5427a940d52d79", "/system/lib/libsurfaceflinger.so", "0e33e70a65287acf2e9f74e55f0df6602943821f", "/system/lib/libbridges.so", "6b97be5106c41b9193ed6ffaa7907218ee9f7be8", "/system/lib/libsrec_jni.so", "473ab5ad9df39a6f06c1c9af23c672100e5f1e57", "/system/lib/libnvmm_contentpipe.so", "a4c11bd64a2db8915b2381eb4aaa3ea75e01b9d4", "/system/lib/libjpeg.so", "6714993e921cc0e191f82b97e6c2f7f2b2c765a8", "/system/lib/libvideoeditorplayer.so", "2ea07d9cdb577c78b93f5399edbf5542c92cfd29", "/system/lib/libjnigraphics.so", "8dd45b2fc6ba2d78c73d602087671ecf748b6377", "/system/lib/libncurses.so", "0a8ada7ad6796c1417e5798db94189eccc959798", "/system/lib/libiprouteutil.so", "3b9ee976f231c1f247331661e0ed582b29ab0df6", "/system/lib/libz.so", "9fd029c0484409a0051fd21710170c777d19fab8", "/system/lib/libbcc.so", "e47ece12c70c2af156c59690df4d0520b1f10314", "/system/lib/libstlport.so", "d2ee59133151ad04d21a87ef23062e22c3014379", "/system/lib/libjackpal-androidterm4.so", "f79cab69953a22a9e57ff6df719d1ad98369ce9c", "/system/lib/libstagefright_yuv.so", "27166e4240fdefe0033b978cd1d0da1bf24fb633", "/system/lib/libnvapputil.so", "8f6fa966fd0c0bd427f872b54158554f023b100b", "/system/lib/libFFTEm.so", "4f4a6172ae17a64e7fef96f78486f1738041f106", "/system/lib/libnvmm_misc.so", "01bde555dc9083c1605f79a3868cc96f488f9145", "/system/lib/libcrypto.so", "93ef005d20b81d1e709ad76d1333d0bfbc10044f", "/system/lib/libglib.so", "a707c5bab6bce96014a93d79a9a34bed68ccb2d7", "/system/lib/libstagefright_soft_vorbisdec.so", "7d63cfdc8ab5e5b5e86de532cc09ac63ee6eb3bc", "/system/lib/libhardware.so", "478f37b0a1b8ca5c76463f34008c1220a848ed48", "/system/lib/libstagefright_amrnb_common.so", "f304e1ecc24e6b99fe7f650781e40cbc52138b12", "/system/lib/libnvodm_hdmi.so", "17fe27ad61e279e940e075a638718fec57c16ed6", "/system/lib/libmedia.so", "52f7798f5c0e61a386eeb661ec1cad3a427759d1", "/system/lib/libsecureclock.so", "24e51bffcd01d257f658087460c7785bf0aea7b8", "/system/lib/libnvodm_dtvtuner.so", "031f49a5ff9db671f5304a0a3406ff576c87a61d", "/system/lib/libhardware_legacy.so", "9822fade3b8eddf4dc10d2bb68675d22727188cd", "/system/lib/libnvmm_vp6_video.so", "da2b749ba975a102673fcd60a1dd26d868021a67", "/system/lib/libnvmm_parser.so", "80ed0c3a1f1effc49c9377cfe47dd6eb746308d6", "/system/lib/libhwui.so", "1ff8a0f7fdffad4a1b337a06824faba9f2ce4d5a", "/system/lib/egl/libGLES_android.so", "19d6732d6c728b2eee5f00d7566ba77ff95f3f6a", "/system/lib/egl/egl.cfg", "d3b5f99fdfa35fa75b0d66a5e6a9dcdea1295dda", "/system/lib/egl/libGLESv1_CM_tegra.so", "4db445207c3c852c6b7b5ef526c851305f3d0b51", "/system/lib/egl/libGLESv2_tegra.so", "10940611ba5aba5bc1c3fa0630594529f6ae5ecf", "/system/lib/egl/libEGL_tegra.so", "b824aaad270b171f54175473f0172ec425f8d99e", "/system/lib/libemoji.so", "72b5fc501feb455dae3156c87fe6a413262704e5", "/system/lib/libsqlite_jni.so", "4d92d2095bfd4c7a9a5982b0173158c7e2ac93f7", "/system/lib/libstagefright_foundation.so", "1657a1ea1d461b23c1956040d51faf705aec303c", "/system/lib/libnvmm_camera.so", "7eb2e18e64f0ab4690577f47f8916b7b296fd888", "/system/lib/libdivxdrm.so", "fa0b20ecabe05691a5bd8a3c635ad7e3fdafa57f", "/system/lib/libnvrm.so", "9f27ecf863325b23597c5365dd956d40cda17bb3", "/system/lib/libskia.so", "ff15d04e031c6dbef1dff2830ee774ee2662c4f3", "/system/lib/libbtio.so", "36bb21fb2210447f314cbdfdd6e27addec7dc1cc", "/system/lib/libttspico.so", "3e465d53ebab73be1065726ff78e471c673ba306", "/system/lib/libeffects.so", "01bcd9c04e3cc22588ff04f4c02a5d0d2a17dc2d", "/system/lib/libchromium_net.so", "1571481540dd2711eb7b497fbfcae1ecb6ecaf60", "/system/lib/libETC1.so", "4a172f9b42ecb1e93fd80285bf88bfea851ba892", "/system/lib/libbridge.so", "fa34883f583b20c4949c548c3b3ef746fecfa89b", "/system/lib/libnvmm_audio.so", "dd1264572bdf343f93d5897bab77638353c4e300", "/system/lib/libaudiopolicy.so", "0a5dae3c9bf9feeb7c86a8a2548cbdcac3ac735a", "/system/lib/libdrmframework.so", "a0c47ffb2e848864d746065c5e1739d5dfa727b9", "/system/lib/libsensorservice.so", "fc84a3a08fdd2f59a08d9ea7b61d84a3d47ab039", "/system/lib/libm.so", "f330321cb5eb586cf8e1fd7f90749d8d2158c194", "/system/lib/libext2_blkid.so", "41848ed7f4bd167289705159e6fe28f6341b783a", "/system/lib/libusbhost.so", "3e69b03c11ba1c65489250c27529642b8fe7074c", "/system/lib/libvariablespeed.so", "7f54db8dbc4e1d552786d520118d89edbb4826c7", "/system/lib/libnvwsi.so", "0da5628e87f6d2e2d18c4f36f1e9e25939031049", "/system/lib/libstagefright_soft_mpeg4dec.so", "ca9e301f33da672721e97988021265ff7825b0cc", "/system/lib/libsqlite.so", "fc374e13521c965f091094b2196514bf3809750c", "/system/lib/libOpenSLES.so", "ebce5933e8087f548f16b4b7d9e6914e67712a3e", "/system/lib/libwebcore.so", "8656de1fe0069bdffb4295fe55026dd5bdcceefc", "/system/lib/soundfx/libbundlewrapper.so", "a35b2827f04eacf89ada06c6e92b0dd45e6ec5cd", "/system/lib/soundfx/libaudiopreprocessing.so", "eafdb8cae0c6619f6baf18335c90977808b52704", "/system/lib/soundfx/libvisualizer.so", "9c3cedf269096c4ea81612d12950850e56182d7e", "/system/lib/soundfx/libreverbwrapper.so", "7850df2501ad73d2138223b3339194ec6ac56302", "/system/lib/soundfx/libcyanogen-dsp.so", "6e2512d8245ff39e9de26f0dcaf805ff3ccb5628", "/system/lib/libnvdispmgr_d.so", "d9ea456ed7b01f0d41c36d8a1d196379d430ccf1", "/system/lib/libicui18n.so", "9b784c00cb6c097d40eba0573f929fabf0ca2eda", "/system/lib/libcamera_client.so", "35c03b40992e1bafc0fb31089fb31198ba32b934", "/system/lib/liblzo.so", "74545e9fb8dd4e1589be21d0c4ec9044e50953ae", "/system/lib/libfilterfw.so", "4c45e89aad35bd032713efa52278631a17fe2b0a", "/system/lib/libsysutils.so", "80cf1f8052d22c92043d66ef72358300cf334c9e", "/system/lib/libjni_mosaic.so", "d50d54e65890091062f3c6247f21522b3da9fdf2", "/system/lib/libnvdispatch_helper.so", "256e9f2969b055969bd23f531d95c289d2c3fbfe", "/system/lib/libnvrm_channel.so", "7c6794349a0e922f47ec3f6631d45fe1c43fe3d3", "/system/lib/libc_malloc_debug_qemu.so", "4618c0de1172d4c211803e87f979eae2f6e6b802", "/system/lib/libwilhelm.so", "2150fab10e6b251bc853d3348b47dfaefe4e622c", "/system/lib/libmedia_jni.so", "b498c7b0e23eeb1618e31e1e34df5441da0ddd7e", "/system/lib/libgui.so", "ff15bdbe226998562b5b7e064405422bb573c7c6", "/system/lib/libandroid.so", "6f9b2add3b248b0f8ef2c83d91db849b0ea90269", "/system/lib/bluez-plugin/bluetooth-health.so", "d45272b187bd1cf2d46b7be3b01810200e3bc0ee", "/system/lib/bluez-plugin/network.so", "4619f96b22de868b85b6935ed9b5c63c2ce04eab", "/system/lib/bluez-plugin/audio.so", "627eee5f0ae6598025b1a85592469a43aea81149", "/system/lib/bluez-plugin/input.so", "9bb52b8a7dac2df30160c9b92879a99b2dca37be", "/system/lib/liblgemmevrc.so", "4e34bac68f466cd689f5ea2b9a1b9b7fab64a4b5", "/system/lib/libssl.so", "051a60e58da88e7e3d280b5cfeb7da2380053fab", "/system/lib/libstagefright_soft_amrdec.so", "46ea010cbdbff28799cdff68ab072ef5f05c1ea5", "/system/lib/libc_malloc_debug_leak.so", "5c2744f0b2af3d4d3784a2c530905999b1f70a76", "/system/lib/libvorbisidec.so", "470cdd26ad9892b7884c3df420e46af99b93c179", "/system/lib/libnvmm_video.so", "c0b4748f8e56209fb1da6120e723726960501512", "/system/lib/liba2dp.so", "6168bfd96e0ee52e4783f0fde39e846d36c1e4a3", "/system/lib/libnvodm_imager.so", "14a32f23c6d60b5b932cdf4d1d42d3aa3d26fec7", "/system/lib/libpower.so", "35f931e653dad92ccf0e8849d0dea8e90f95931a", "/system/lib/libnvos.so", "2c5be126c52775c603cf76ae0fb8331c02380b12", "/system/lib/libreference-ril.so", "b697359a11401902c92a743f4c1abce9a88d0598", "/system/lib/modules/wireless.ko", "999b6a8d9802a05637acfb6d4f9cae44e378481d", "/system/lib/libgabi++.so", "94c6627054a9d8b7f0e98988360831a2d66af080", "/system/lib/libstagefright_omx.so", "3ecea9900f8e8e55dc2bca4e3f672ff141c08940", "/system/lib/libdrm1.so", "a782c1280fb616900106d51bc63522974e2bfb6a", "/system/lib/libharfbuzz.so", "f87bf01851879d3c6047e4773c69a999e24681ef", "/system/lib/libsonivox.so", "ba9e5d435d8b5e963056e6eb33eb594cf2541650", "/system/lib/liblge_divxdrm.so", "8493b08e5bbaadf12610dc839f101b6896034728", "/system/lib/liblgdrm.so", "4b5bb0aafa17110883c0d8a66c77407b125e3844");
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/theme");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
show_progress(0.100000, 0);
unmount("/system");
PICS:
{
"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"
}
steryman said:
Ok so first of all this is a question addressed more to the developers, and I hope they will read it, if there is any developer here that takes a look in this section, because this is the only section I can post this sort of things. Anyway so the question is:
Is it possible to make a flashable Zip for Recovery that contains entire kernel too? I mean, when I was thinking to make a surprise to my friend and flash CM9 on his LG O2x P990, I've checked the content of the Zip and i've seen that there is a boot.img and a kernel folder too in which are contained some files to reassemble a kernel and make it a boot.img(zImage + ramdisk). I've also seen something like this in my friend's Zips for his HTC Wildfire S, so both LG and HTC(as far as I've seen) can flash also kernels inside recovery. I will attach a picture with the content of the Zip and I will post the code of the update-script(I won't upload the Zip because I want to prevent newbies around here from damaging their phones by flashing wrong Zip).
PS: I know we can already flash zImage inside recovery(KA Speed) but I'm talking about the entire boot.img, so we can install CyanogenMod without PC
Code:
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p1", "0");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
package_extract_dir("kernel", "/tmp");
set_perm(0, 0, 0777, "/tmp/dump_image");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
run_program("/tmp/dump_image", "/dev/block/mmcblk0p5", "/tmp/boot.img");
run_program("/tmp/unpackbootimg", "-i", "/tmp/boot.img", "-o", "/tmp/");
run_program("/tmp/mkbootimg.sh");
run_program("/sbin/busybox", "dd", "if=/tmp/newboot.img", "of=/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p1", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p2", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/cache");
unmount("/cache");
run_program("/sbin/busybox", "mount", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
run_program("/sbin/busybox", "mount", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blockdev", "/system/xbin/brctl",
"/system/xbin/bunzip2", "/system/xbin/bzcat", "/system/xbin/bzip2",
"/system/xbin/cal", "/system/xbin/cat", "/system/xbin/catv",
"/system/xbin/chattr", "/system/xbin/chgrp", "/system/xbin/chmod",
"/system/xbin/chown", "/system/xbin/chroot", "/system/xbin/clear",
"/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp",
"/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab",
"/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
"/system/xbin/dd", "/system/xbin/depmod", "/system/xbin/devmem",
"/system/xbin/df", "/system/xbin/diff", "/system/xbin/dirname",
"/system/xbin/dmesg", "/system/xbin/dnsd", "/system/xbin/dos2unix",
"/system/xbin/du", "/system/xbin/echo", "/system/xbin/ed",
"/system/xbin/egrep", "/system/xbin/env", "/system/xbin/expand",
"/system/xbin/expr", "/system/xbin/false", "/system/xbin/fdisk",
"/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
retouch_binaries("/system/lib/libGLESv1_CM.so", "45ab6b30191dc804cec015d64028160a8d6a88e5", "/system/lib/libEGL.so", "60e9f670ae6e2b23d5ba78f7c7beec15ce37c2b6", "/system/lib/libcutils.so", "567d91c4b1d8fc0b292968bad4c9011ce90541ef", "/system/lib/libRS.so", "9045b26ed823c5c9a9632e9b2efb64b777049039", "/system/lib/libicuuc.so", "6acd2accc204118cb3ac705dedc01e9229857975", "/system/lib/libext2fs.so", "0c404b2e2ec8406c7da67e27cba1b9304b309823", "/system/lib/libbluetoothd.so", "7eb7fcdd301aa774255a04c83956de96d1218588", "/system/lib/libcgdrv.so", "6d12aa478da8fb060616e57e3c9f925d3c3ef6af", "/system/lib/libpixelflinger.so", "e672271c87e76d79785f70477554bd1490655488", "/system/lib/libGLESv2_dbg.so", "9717c0ad0adec847d025483fe9b47a8d93479285", "/system/lib/liblvvil.so", "7b0791695e63570ca3bf29838089465c4a490d82", "/system/lib/libcamera.so", "291d2d6067da71151a0948488927dc51360b2b30", "/system/lib/libstdc++.so", "d8b10940d86c66089378382e2551da4ecc2258b8", "/system/lib/liblog.so", "58580c57fa11e20cc91d350a49ecf2b956ce4d82", "/system/lib/libext4_utils.so", "8fae47d24b6ddf4bc8c958b6dc9468fc9f2b605b", "/system/lib/libandroid_servers.so", "1dc44ca735360b53092f7d54ca4437aca38bacb9", "/system/lib/libdvm.so", "9d3fa05ec2959d2bd3950f472f89b0b23e1e61f9", "/system/lib/libthread_db.so", "9bc4fc19176c19054e353d8c0e5b42d422ef1583", "/system/lib/libbcinfo.so", "914285a0caea9c5607ae08260c4319a2ad0d6f87", "/system/lib/libandroid_runtime.so", "2c5a8bc7ab58352d0f52b93713d4936c8bed332d", "/system/lib/libnvmm_service.so", "ceca088543055b1ea9c20790ab891c860c6d1f93", "/system/lib/libui.so", "e6fdffe73d5a7eaf3aa84772c88a71bc77c37288", "/system/lib/libdbus.so", "92f26eee8245e26fff4143b2d889d7b838026ae6", "/system/lib/libnvomxilclient.so", "ee2955d36196c24cb87262fedd82d6bd6fc551b3", "/system/lib/libjni_latinime.so", "d600eaa8f6a21b07d4770de11943e62c41510f07", "/system/lib/libsystem_server.so", "fa94ab2f8441063b0a0459a9c61389e792f7c922", "/system/lib/liblgemmqcelp.so", "fb5a983eb2781e7521fef86b8a3c16b4ec643a51", "/system/lib/libspeexresampler.so", "2e0190203442c931f7bd50a0cf35fd43eb663523", "/system/lib/libstagefright_enc_common.so", "4fa643507b98948ad554309ccfc479e268d08e76", "/system/lib/libpagemap.so", "77659d0abcdf6092ab46bd961bd14cfe1c5015e4", "/system/lib/libnetutils.so", "ec2a97b5a5d21c8e741c7de2756635112cbec798", "/system/lib/libpng.so", "9f2987d83ae016cfae35865129186b5aac07cfc0", "/system/lib/libGLESv2.so", "45801dc7cd452238ff7745cbb00600c6acff0b0e", "/system/lib/libext2_e2p.so", "b28f6f0ea6db81d03a185528a5ad86ce00836603", "/system/lib/libstagefrighthw.so", "cbc7cf4e190b5da8ab3480d1da4f2fb3a94ca344", "/system/lib/libext2_uuid.so", "2dc24589218289ba3d91765d707624763e5b5c0f", "/system/lib/libnvddk_audiofx.so", "6a8576664dedf3611568e466782c8f25ef70c990", "/system/lib/libmtp.so", "baaf339cd1e1914cb4fd364e90062908c74f0cd7", "/system/lib/libnvomx.so", "0388a031b39d5598cdbab640b87d07814faeb786", "/system/lib/hw/overlay.tegra.so", "f250e7609a1fa7145672cd92098342d1bc4f5c0a", "/system/lib/hw/sensors.tegra.so", "ab28fdb1ef6a0048930dc1b624796b19bf97abf6", "/system/lib/hw/audio.a2dp.default.so", "d084068c7aec51c2f747915aa8fa25a129ab1907", "/system/lib/hw/gralloc.tegra.so", "4a46386b93bf1346b83e48a27257065f696a599a", "/system/lib/hw/gralloc.default.so", "f5fdf154fa575317d786e413abd8db5624090c1e", "/system/lib/hw/audio_policy.default.so", "0dc14982cc8fa9909e187afee0dca09060e729c7", "/system/lib/hw/gps.tegra.so", "c61918134b2d2ab3c4b55855ad0392fef2db8c7c", "/system/lib/hw/lights.goldfish.so", "5ff444248f9036bf43dff9d2f9ea1b491cb4126c", "/system/lib/hw/sensors.goldfish.so", "bed57428cf1d6d6c7e90f7350eda80c2acaa62cb", "/system/lib/hw/lights.p990.so", "9fc0866fa8958797d1de5b47557861d9463754a6", "/system/lib/hw/camera.goldfish.so", "6bb6d61658203901e34c115c9d8f0a3450c9ec53", "/system/lib/hw/camera.tegra.so", "51d5338b958dbaee11a07880cf206e21088c8fe4", "/system/lib/hw/hwcomposer.default.so", "9deb372be8d24a7b636be907a1d362c90584d206", "/system/lib/hw/gps.goldfish.so", "ee1084a29ce870c4eabc4e3d61f2ff4c04da1be2", "/system/lib/hw/audio.primary.default.so", "bc6b7a736f328ac27abf26a69978870a5859ebab", "/system/lib/hw/audio.primary.p990.so", "ff113518949ca43a13a921129596f221178b81ea", "/system/lib/libaudioflinger.so", "a5704a73788097baa97bf7a2ff17ac164c3a8b9a", "/system/lib/lge-ril.so", "c1cd3054a8d4bd9012de991d0975e2bd02b050a7", "/system/lib/libdl.so", "23868a6f84a3ed51f9c69bfee7362e99a13a0f69", "/system/lib/libstagefright_soft_g711dec.so", "f6fd1de4e491a91cf713420ff77f9ff36e23bd37", "/system/lib/libwebrtc_audio_preprocessing.so", "5d39a31de0f9a0388478cceb672964793d4e3fda", "/system/lib/libstagefright.so", "967cc6587cfb70e906b0f16d99e3f77196636293", "/system/lib/libnativehelper.so", "fea3a64f8db15de309bb391bcb19130d81370889", "/system/lib/libstagefright_soft_mp3dec.so", "410743d82d0e49b83324e5da7df2646e05e7d83a", "/system/lib/libnfc_ndef.so", "e42977f95b19b69ee300afda35b9dabcd28e3a0a", "/system/lib/libfilterpack_imageproc.so", "67ad9a6df738d230d9ffa43083098f1a64e327e2", "/system/lib/libbluetooth.so", "c7ead583a6e3997a3e896f5dcf1b7e4a3110d03a", "/system/lib/libinput.so", "26e72bf87f7a4fb97f8895bcbb109afad4007032", "/system/lib/libOpenMAXAL.so", "162dcfc337a77cdf81f2965a176028b4cd96e882", "/system/lib/libnvddk_2d_v2.so", "d4ab17588cc5466551d03faf9542c68c8412a6e0", "/system/lib/libdefcontainer_jni.so", "f3c4e2e811e2b7d147344c038c1d2432b9b84fa9", "/system/lib/libnvrm_graphics.so", "5527fa8e8b40e1f8571261b568a8d532281303d0", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libnvddk_2d.so", "a41be80338188004a59ffdf32c88f3a425e64735", "/system/lib/libstagefright_soft_vpxdec.so", "f0fbd2edea65f24c9f4cac6a4dbb1f261bff3b2c", "/system/lib/liblgemmdts.so", "0335dafec5f91c5ff6803aa5713a8e19c62eeb6d", "/system/lib/libnvmm_videorenderer.so", "b9aee3a1f01a0096a50dafdd17db6c9ff587c02e", "/system/lib/liblgemmec3.so", "1a39fcc3b02a89ebc7a20e17241ccb6a9c287bbd", "/system/lib/libnvmm_utils.so", "2bcb0bc5484c650265de4d0b027c7b453fa31efc", "/system/lib/libaudioeffect_jni.so", "fc960a6fc193b14c7dc2aaeb8ef1c8ef36617ad4", "/system/lib/libbridge_jni.so", "de4f089f0866333bd00b851fd65ae619aed38ccc", "/system/lib/libnetlink.so", "e5f9350012b9bc801313430344ba0ece6d2f9901", "/system/lib/libbluedroid.so", "2bf4f0d00fca6ee841653133c8c05fee1f3be0f8", "/system/lib/libhwmediarecorder.so", "260cf68dcb67f41cd176189ffc2d67e1c557994b", "/system/lib/libvideoeditor_jni.so", "b7879f18d24a2459cd13c03fbcca7114b1b5da46", "/system/lib/libhwmediaplugin.so", "aa8cd3f49764809d7a2a3266eaf42a23d4c68782", "/system/lib/libexif.so", "634ce134f1e71f34ad40785790427537ba267a56", "/system/lib/libnvodm_misc.so", "fc301b0c54ff6c7de8e3540935e72c05f46dfcbf", "/system/lib/libsurfaceflinger_client.so", "b92f3eda04433405a7ec9e89911879d90e49cfb5", "/system/lib/libaudio.so", "b13bc3570073fed7a7ca7f34760c25d04469e4e7", "/system/lib/libstagefright_soft_aacdec.so", "8089fd63d9fe6c3043b596d79647ae70dcf0ed9b", "/system/lib/libjackpal-androidterm3.so", "ecaeb903c230d76e6becedc058fc61b518e9d60b", "/system/lib/libnvmm_manager.so", "2a8c20b2d62ae97f55640b7a9db89a5b66739918", "/system/lib/libext2_profile.so", "9957b852ff1918a6ccafdc8da1eee276af640292", "/system/lib/libwpa_client.so", "a4df9e9b3ce6a2eb09808b9593ae7f11c1c67ace", "/system/lib/libcameraservice.so", "af63c7b861908d3a657240ab7dfe99e5ff316599", "/system/lib/libSR_AudioIn.so", "5570584f22fdf32944a5ad930df4ad2e67a37a87", "/system/lib/libnvmm_image.so", "dc531db66daf878da877b0173d66af34260c30e7", "/system/lib/libc.so", "c989baf9816fc9fbfa046902089a15583c0488bb", "/system/lib/libext2_com_err.so", "0f5efa50a80905f52bebeb5d6eb8064105f8fe8d", "/system/lib/libexpat.so", "4da45f18188e5c5bdf5c17f72135a112a85f3d20", "/system/lib/libmediaplayerservice.so", "b0723f1f47f33fe620790211673bd1ecf0e544af", "/system/lib/libnvmm_logger.so", "722a585cdf63aa7e149259674f98edd170484c81", "/system/lib/librtp_jni.so", "f03ad048641f88a9a141f28cea9730a677fef954", "/system/lib/libttscompat.so", "4d5ca2a7e3deb8b5f342c21397d855f000c396ec", "/system/lib/libpowermanager.so", "61b15f27479881c7bd53c2474714947ebd338f96", "/system/lib/libdiskconfig.so", "e3f9358dcb9a26392e7d7b83bd95a4e79a833823", "/system/lib/libbcc.so.sha1", "64c65ba930d91f52ef0e8daea95b61ee62ff96de", "/system/lib/libnvmm.so", "de2bc5f27b9e91198b83ee4692ceb148096f0bf0", "/system/lib/libdrmframework_jni.so", "53f0ea872d735c027b49f00fc1bde65538ed70e8", "/system/lib/libnvodm_query.so", "738ef8ceae3774a48e93644fca30596eada95eb2", "/system/lib/librs_jni.so", "f688b85dc60292c8e6a8f7583accfd5385f792f6", "/system/lib/libutils.so", "32626e771c3450b300f2121e3fd5735dc7663e09", "/system/lib/liblgeswcodecs.so", "cc8cf01966b888756eb4c3ee8a48b9622410cfe8", "/system/lib/drm/libfwdlockengine.so", "2ac6e461feb158ab3366da1660d1b7145e29c181", "/system/lib/libdrm1_jni.so", "8025fd0142cc168f0f8a9b34f6668be4690ab077", "/system/lib/libctest.so", "639beb017816cb52ab2d5e189c4aed39189aea6d", "/system/lib/libsoundpool.so", "3cb25cd7479282f4c584d5f41943596dbf683371", "/system/lib/libnvmm_writer.so", "f452c502a078c6fd977b0f8ab0126bccc03a5adb", "/system/lib/libnvsm.so", "7506e7764fed1b06a770ede9ca4fe2f77f30a836", "/system/lib/libnvmm_tracklist.so", "832687de5303369bb431d7658c14984014ad8752", "/system/lib/libbinder.so", "a5aefaccc1f463e75e0fa8012aa14ccb83339b70", "/system/lib/libril.so", "31b51f31c6e19be13a9cf287c4ed4d477659a4e9", "/system/lib/libstagefright_soft_h264dec.so", "2c93d9963d3b25e74aeebe8039e3fbde3d7dcc57", "/system/lib/libstagefright_avc_common.so", "fd2e14a05076c048858fa8935b5427a940d52d79", "/system/lib/libsurfaceflinger.so", "0e33e70a65287acf2e9f74e55f0df6602943821f", "/system/lib/libbridges.so", "6b97be5106c41b9193ed6ffaa7907218ee9f7be8", "/system/lib/libsrec_jni.so", "473ab5ad9df39a6f06c1c9af23c672100e5f1e57", "/system/lib/libnvmm_contentpipe.so", "a4c11bd64a2db8915b2381eb4aaa3ea75e01b9d4", "/system/lib/libjpeg.so", "6714993e921cc0e191f82b97e6c2f7f2b2c765a8", "/system/lib/libvideoeditorplayer.so", "2ea07d9cdb577c78b93f5399edbf5542c92cfd29", "/system/lib/libjnigraphics.so", "8dd45b2fc6ba2d78c73d602087671ecf748b6377", "/system/lib/libncurses.so", "0a8ada7ad6796c1417e5798db94189eccc959798", "/system/lib/libiprouteutil.so", "3b9ee976f231c1f247331661e0ed582b29ab0df6", "/system/lib/libz.so", "9fd029c0484409a0051fd21710170c777d19fab8", "/system/lib/libbcc.so", "e47ece12c70c2af156c59690df4d0520b1f10314", "/system/lib/libstlport.so", "d2ee59133151ad04d21a87ef23062e22c3014379", "/system/lib/libjackpal-androidterm4.so", "f79cab69953a22a9e57ff6df719d1ad98369ce9c", "/system/lib/libstagefright_yuv.so", "27166e4240fdefe0033b978cd1d0da1bf24fb633", "/system/lib/libnvapputil.so", "8f6fa966fd0c0bd427f872b54158554f023b100b", "/system/lib/libFFTEm.so", "4f4a6172ae17a64e7fef96f78486f1738041f106", "/system/lib/libnvmm_misc.so", "01bde555dc9083c1605f79a3868cc96f488f9145", "/system/lib/libcrypto.so", "93ef005d20b81d1e709ad76d1333d0bfbc10044f", "/system/lib/libglib.so", "a707c5bab6bce96014a93d79a9a34bed68ccb2d7", "/system/lib/libstagefright_soft_vorbisdec.so", "7d63cfdc8ab5e5b5e86de532cc09ac63ee6eb3bc", "/system/lib/libhardware.so", "478f37b0a1b8ca5c76463f34008c1220a848ed48", "/system/lib/libstagefright_amrnb_common.so", "f304e1ecc24e6b99fe7f650781e40cbc52138b12", "/system/lib/libnvodm_hdmi.so", "17fe27ad61e279e940e075a638718fec57c16ed6", "/system/lib/libmedia.so", "52f7798f5c0e61a386eeb661ec1cad3a427759d1", "/system/lib/libsecureclock.so", "24e51bffcd01d257f658087460c7785bf0aea7b8", "/system/lib/libnvodm_dtvtuner.so", "031f49a5ff9db671f5304a0a3406ff576c87a61d", "/system/lib/libhardware_legacy.so", "9822fade3b8eddf4dc10d2bb68675d22727188cd", "/system/lib/libnvmm_vp6_video.so", "da2b749ba975a102673fcd60a1dd26d868021a67", "/system/lib/libnvmm_parser.so", "80ed0c3a1f1effc49c9377cfe47dd6eb746308d6", "/system/lib/libhwui.so", "1ff8a0f7fdffad4a1b337a06824faba9f2ce4d5a", "/system/lib/egl/libGLES_android.so", "19d6732d6c728b2eee5f00d7566ba77ff95f3f6a", "/system/lib/egl/egl.cfg", "d3b5f99fdfa35fa75b0d66a5e6a9dcdea1295dda", "/system/lib/egl/libGLESv1_CM_tegra.so", "4db445207c3c852c6b7b5ef526c851305f3d0b51", "/system/lib/egl/libGLESv2_tegra.so", "10940611ba5aba5bc1c3fa0630594529f6ae5ecf", "/system/lib/egl/libEGL_tegra.so", "b824aaad270b171f54175473f0172ec425f8d99e", "/system/lib/libemoji.so", "72b5fc501feb455dae3156c87fe6a413262704e5", "/system/lib/libsqlite_jni.so", "4d92d2095bfd4c7a9a5982b0173158c7e2ac93f7", "/system/lib/libstagefright_foundation.so", "1657a1ea1d461b23c1956040d51faf705aec303c", "/system/lib/libnvmm_camera.so", "7eb2e18e64f0ab4690577f47f8916b7b296fd888", "/system/lib/libdivxdrm.so", "fa0b20ecabe05691a5bd8a3c635ad7e3fdafa57f", "/system/lib/libnvrm.so", "9f27ecf863325b23597c5365dd956d40cda17bb3", "/system/lib/libskia.so", "ff15d04e031c6dbef1dff2830ee774ee2662c4f3", "/system/lib/libbtio.so", "36bb21fb2210447f314cbdfdd6e27addec7dc1cc", "/system/lib/libttspico.so", "3e465d53ebab73be1065726ff78e471c673ba306", "/system/lib/libeffects.so", "01bcd9c04e3cc22588ff04f4c02a5d0d2a17dc2d", "/system/lib/libchromium_net.so", "1571481540dd2711eb7b497fbfcae1ecb6ecaf60", "/system/lib/libETC1.so", "4a172f9b42ecb1e93fd80285bf88bfea851ba892", "/system/lib/libbridge.so", "fa34883f583b20c4949c548c3b3ef746fecfa89b", "/system/lib/libnvmm_audio.so", "dd1264572bdf343f93d5897bab77638353c4e300", "/system/lib/libaudiopolicy.so", "0a5dae3c9bf9feeb7c86a8a2548cbdcac3ac735a", "/system/lib/libdrmframework.so", "a0c47ffb2e848864d746065c5e1739d5dfa727b9", "/system/lib/libsensorservice.so", "fc84a3a08fdd2f59a08d9ea7b61d84a3d47ab039", "/system/lib/libm.so", "f330321cb5eb586cf8e1fd7f90749d8d2158c194", "/system/lib/libext2_blkid.so", "41848ed7f4bd167289705159e6fe28f6341b783a", "/system/lib/libusbhost.so", "3e69b03c11ba1c65489250c27529642b8fe7074c", "/system/lib/libvariablespeed.so", "7f54db8dbc4e1d552786d520118d89edbb4826c7", "/system/lib/libnvwsi.so", "0da5628e87f6d2e2d18c4f36f1e9e25939031049", "/system/lib/libstagefright_soft_mpeg4dec.so", "ca9e301f33da672721e97988021265ff7825b0cc", "/system/lib/libsqlite.so", "fc374e13521c965f091094b2196514bf3809750c", "/system/lib/libOpenSLES.so", "ebce5933e8087f548f16b4b7d9e6914e67712a3e", "/system/lib/libwebcore.so", "8656de1fe0069bdffb4295fe55026dd5bdcceefc", "/system/lib/soundfx/libbundlewrapper.so", "a35b2827f04eacf89ada06c6e92b0dd45e6ec5cd", "/system/lib/soundfx/libaudiopreprocessing.so", "eafdb8cae0c6619f6baf18335c90977808b52704", "/system/lib/soundfx/libvisualizer.so", "9c3cedf269096c4ea81612d12950850e56182d7e", "/system/lib/soundfx/libreverbwrapper.so", "7850df2501ad73d2138223b3339194ec6ac56302", "/system/lib/soundfx/libcyanogen-dsp.so", "6e2512d8245ff39e9de26f0dcaf805ff3ccb5628", "/system/lib/libnvdispmgr_d.so", "d9ea456ed7b01f0d41c36d8a1d196379d430ccf1", "/system/lib/libicui18n.so", "9b784c00cb6c097d40eba0573f929fabf0ca2eda", "/system/lib/libcamera_client.so", "35c03b40992e1bafc0fb31089fb31198ba32b934", "/system/lib/liblzo.so", "74545e9fb8dd4e1589be21d0c4ec9044e50953ae", "/system/lib/libfilterfw.so", "4c45e89aad35bd032713efa52278631a17fe2b0a", "/system/lib/libsysutils.so", "80cf1f8052d22c92043d66ef72358300cf334c9e", "/system/lib/libjni_mosaic.so", "d50d54e65890091062f3c6247f21522b3da9fdf2", "/system/lib/libnvdispatch_helper.so", "256e9f2969b055969bd23f531d95c289d2c3fbfe", "/system/lib/libnvrm_channel.so", "7c6794349a0e922f47ec3f6631d45fe1c43fe3d3", "/system/lib/libc_malloc_debug_qemu.so", "4618c0de1172d4c211803e87f979eae2f6e6b802", "/system/lib/libwilhelm.so", "2150fab10e6b251bc853d3348b47dfaefe4e622c", "/system/lib/libmedia_jni.so", "b498c7b0e23eeb1618e31e1e34df5441da0ddd7e", "/system/lib/libgui.so", "ff15bdbe226998562b5b7e064405422bb573c7c6", "/system/lib/libandroid.so", "6f9b2add3b248b0f8ef2c83d91db849b0ea90269", "/system/lib/bluez-plugin/bluetooth-health.so", "d45272b187bd1cf2d46b7be3b01810200e3bc0ee", "/system/lib/bluez-plugin/network.so", "4619f96b22de868b85b6935ed9b5c63c2ce04eab", "/system/lib/bluez-plugin/audio.so", "627eee5f0ae6598025b1a85592469a43aea81149", "/system/lib/bluez-plugin/input.so", "9bb52b8a7dac2df30160c9b92879a99b2dca37be", "/system/lib/liblgemmevrc.so", "4e34bac68f466cd689f5ea2b9a1b9b7fab64a4b5", "/system/lib/libssl.so", "051a60e58da88e7e3d280b5cfeb7da2380053fab", "/system/lib/libstagefright_soft_amrdec.so", "46ea010cbdbff28799cdff68ab072ef5f05c1ea5", "/system/lib/libc_malloc_debug_leak.so", "5c2744f0b2af3d4d3784a2c530905999b1f70a76", "/system/lib/libvorbisidec.so", "470cdd26ad9892b7884c3df420e46af99b93c179", "/system/lib/libnvmm_video.so", "c0b4748f8e56209fb1da6120e723726960501512", "/system/lib/liba2dp.so", "6168bfd96e0ee52e4783f0fde39e846d36c1e4a3", "/system/lib/libnvodm_imager.so", "14a32f23c6d60b5b932cdf4d1d42d3aa3d26fec7", "/system/lib/libpower.so", "35f931e653dad92ccf0e8849d0dea8e90f95931a", "/system/lib/libnvos.so", "2c5be126c52775c603cf76ae0fb8331c02380b12", "/system/lib/libreference-ril.so", "b697359a11401902c92a743f4c1abce9a88d0598", "/system/lib/modules/wireless.ko", "999b6a8d9802a05637acfb6d4f9cae44e378481d", "/system/lib/libgabi++.so", "94c6627054a9d8b7f0e98988360831a2d66af080", "/system/lib/libstagefright_omx.so", "3ecea9900f8e8e55dc2bca4e3f672ff141c08940", "/system/lib/libdrm1.so", "a782c1280fb616900106d51bc63522974e2bfb6a", "/system/lib/libharfbuzz.so", "f87bf01851879d3c6047e4773c69a999e24681ef", "/system/lib/libsonivox.so", "ba9e5d435d8b5e963056e6eb33eb594cf2541650", "/system/lib/liblge_divxdrm.so", "8493b08e5bbaadf12610dc839f101b6896034728", "/system/lib/liblgdrm.so", "4b5bb0aafa17110883c0d8a66c77407b125e3844");
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/theme");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
show_progress(0.100000, 0);
unmount("/system");
PICS:
Click to expand...
Click to collapse
The boot.img contains the kernel, the ramdisk and the RPM block, a.k.a. everything needed for it to run. CM10 nightlies and AOKP can already be flashed without a PC.
K900 said:
The boot.img contains the kernel, the ramdisk and the RPM block, a.k.a. everything needed for it to run. CM10 nightlies and AOKP can already be flashed without a PC.
Click to expand...
Click to collapse
Okay now it comes the noob question: Does it works without unlocking bootloader?
And I hope the devs will implement this in other ROMs too like KA Speed
steryman said:
Okay now it comes the noob question: Does it works without unlocking bootloader?
And I hope the devs will implement this in other ROMs too like KA Speed
Click to expand...
Click to collapse
KA also has that already IIRC. Won't work with a locked BL.
K900 said:
KA also has that already IIRC. Won't work with a locked BL.
Click to expand...
Click to collapse
Ok then I'm sorry for starting this thread... Oh and the final question: I assume it's not really hard to make a kernel flashable inside recovery, right? I mean, if I want to unlock my bootloader and after flashing CM10 I want back to stock, I just have to compile a stock boot.img then set the update-script...
steryman said:
Ok then I'm sorry for starting this thread... Oh and the final question: I assume it's not really hard to make a kernel flashable inside recovery, right? I mean, if I want to unlock my bootloader and after flashing CM10 I want back to stock, I just have to compile a stock boot.img then set the update-script...
Click to expand...
Click to collapse
You can just flash back to stock with flashtool, cause I assume that's what you'll use anyway. Also, *shameless plug*, give AOKP a try, too.
K900 said:
You can just flash back to stock with flashtool, cause I assume that's what you'll use anyway. Also, *shameless plug*, give AOKP a try, too.
Click to expand...
Click to collapse
OFC I will, I use CM as example cuz it's faster to write I asked cuz maybe sometimes I won't be able to reach PC to restore my phone to stock... that's why I'm asking
Anyway let's talk on PM... don't want to flood the forum with my questions xD
I have a samsung galaxy s2 running aokp ICS. I wanted to update to a 4.3 ROM. I downloaded SlimBean4.2.2 and tried flashing it after doing a factory reset wipe, cache wipe, dalvic cache wipe, and /system format. It gave me a status 7 when I tried to flash it.
I tried to read up on possible reasons this could happen, so now I'm trying to flash a Jelly Bean kernel (AJK v4.9) before continuing.
But now it says:
Can't copy META-INF/com/google/android/update-binary
Why am I getting this error?
Any help would be much appreciated as this is my only phone (I know I'm dumb for taking such a big risk).
Thanks!
Status 7 means the asserts line in the updater script of the rom's flashable zip file is looking for a phone version other than the one contained in your phone's build.prop file. You can either edit the asserts line or delete the asserts line in the updater script, or you can edit the build.prop file on your phone to match what the asserts is looking for. But before you do any of these, make absolutely sure that the firmware you are flashing is for your phone, because if you flash firmware for another phone, you can make a brick, and that is what Status 7 is all about.
If you need to make edits, you should be able to find any number of tutorials by searching.
working on it...
creepyncrawly said:
Status 7 means the asserts line in the updater script of the rom's flashable zip file is looking for a phone version other than the one contained in your phone's build.prop file. You can either edit the asserts line or delete the asserts line in the updater script, or you can edit the build.prop file on your phone to match what the asserts is looking for. But before you do any of these, make absolutely sure that the firmware you are flashing is for your phone, because if you flash firmware for another phone, you can make a brick, and that is what Status 7 is all about.
If you need to make edits, you should be able to find any number of tutorials by searching.
Click to expand...
Click to collapse
I found the updater script, but it doesn't show any assert line. this is the whole script:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("system/addon.d", "/system/addon.d");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
ui_print("");
ui_print("");
ui_print("Slim Roms");
ui_print("");
ui_print(" www.slimroms.net ");
ui_print("");
ui_print("");
ui_print("Format and Mount System, Mount Data...");
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
ui_print("Symlinks and permissions...");
symlink("/system/xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fstrim", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pipe_progress",
"/system/xbin/pkill", "/system/xbin/pmap", "/system/xbin/poweroff",
"/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps",
"/system/xbin/pstree", "/system/xbin/pwd", "/system/xbin/pwdx",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/rev", "/system/xbin/rm", "/system/xbin/rmdir",
"/system/xbin/rmmod", "/system/xbin/route", "/system/xbin/run-parts",
"/system/xbin/rx", "/system/xbin/sed", "/system/xbin/seq",
"/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha3sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp",
"/system/bin/date", "/system/bin/dd", "/system/bin/df",
"/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/grep", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/md5", "/system/bin/mkdir", "/system/bin/mount",
"/system/bin/mv", "/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/restart", "/system/bin/rm",
"/system/bin/rmdir", "/system/bin/rmmod", "/system/bin/route",
"/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/touch",
"/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
"/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_dir("system/addon.d", "/system/addon.d");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
ui_print("Flashing boot image...");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
show_progress(0.100000, 0);
unmount("/data");
unmount("/system");
Why did you try and install Slim if you wanted 4.3? It isn't currently available for our device - did you flash the 9100 version by mistake? If so that's why you're getting Status 7. As creepy said, there are many guides to help you edit your way out of this issue.
One other, archaic method, would be to flash the old JB siyah kernel by ktoonez... then flash a new rom and kernel afterwards.
But editing build.prop is generally the best solution.
Hi everyone, as said in the title i was installing a custom rom whith my rooted phone, but i had a "Status 7 error". I have deleted the "assert lines" in the "updater-script" and now i get a "Status 6 error" saying "Line 1 col 59: syntax error, unexpected BAD 1 parse errors", here is the updater-script :
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p10", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/system");
package_extract_dir("system", "/system");
symlink("../xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fstrim", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/less", "/system/xbin/ln",
"/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
"/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
"/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
"/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
"/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
"/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
"/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
"/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
"/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
"/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
"/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pipe_progress",
"/system/xbin/pkill", "/system/xbin/pmap", "/system/xbin/poweroff",
"/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps",
"/system/xbin/pstree", "/system/xbin/pwd", "/system/xbin/pwdx",
"/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
"/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
"/system/xbin/rev", "/system/xbin/rm", "/system/xbin/rmdir",
"/system/xbin/rmmod", "/system/xbin/route", "/system/xbin/run-parts",
"/system/xbin/rx", "/system/xbin/sed", "/system/xbin/seq",
"/system/xbin/setconsole", "/system/xbin/setserial",
"/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
"/system/xbin/sha256sum", "/system/xbin/sha3sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("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_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh", "");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p9");
show_progress(0.100000, 0);
unmount("/system");
please help, it's been now 2 days that i'm trying, and i really don't know what to do anymore
First download the ROM (the file should be .zip)use winrar or 7zip extract boot.IMG from the zip .then flash it via fastboot and flash the ROM its will be fine
Sent from my Xperia U using xda app-developers app
dara007_168 said:
First download the ROM (the file should be .zip)use winrar or 7zip extract boot.IMG from the zip .then flash it via fastboot and flash the ROM its will be fine
Sent from my Xperia U using xda app-developers app
Click to expand...
Click to collapse
It worked, thank's a lot !
omx is not working for me everything else is working, anybody knows why?
thx!
beats98 said:
omx is not working for me everything else is working, anybody knows why?
thx!
Click to expand...
Click to collapse
Try reflashing the rom.