[Android Software/Hacking General [Developers Only]] karamelos:
META-INF/com/google/android/updater-script

hi

assert(getprop("ro.product.device") == "galaxynote" || getprop("ro.build.product") == "galaxynote" ||
getprop("ro.product.device") == "n7000" || getprop("ro.build.product") == "n7000" ||
getprop("ro.product.device") == "GT-N7000" || getprop("ro.build.product") == "GT-N7000");
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);
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
"/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
"/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
"/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
"/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
"/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chgrp",
"/system/xbin/chmod", "/system/xbin/chown", "/system/xbin/chroot",
"/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/comm",
"/system/xbin/cp", "/system/xbin/cpio", "/system/xbin/crond",
"/system/xbin/crontab", "/system/xbin/cut", "/system/xbin/date",
"/system/xbin/dc", "/system/xbin/dd", "/system/xbin/depmod",
"/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
"/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
"/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
"/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
"/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
"/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
"/system/xbin/flash_lock", "/system/xbin/flash_unlock",
"/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
"/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fsync",
"/system/xbin/ftpget", "/system/xbin/ftpput", "/system/xbin/fuser",
"/system/xbin/getopt", "/system/xbin/grep", "/system/xbin/groups",
"/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
"/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/id",
"/system/xbin/ifconfig", "/system/xbin/insmod", "/system/xbin/install",
"/system/xbin/iostat", "/system/xbin/ip", "/system/xbin/kill",
"/system/xbin/killall", "/system/xbin/killall5", "/system/xbin/length",
"/system/xbin/less", "/system/xbin/ln", "/system/xbin/losetup",
"/system/xbin/ls", "/system/xbin/lsattr", "/system/xbin/lsmod",
"/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
"/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
"/system/xbin/md5sum", "/system/xbin/mesg", "/system/xbin/mkdir",
"/system/xbin/mke2fs", "/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/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/modules/cpufreq_smartass2.ko", "55764d96c06a4d54490ab3b7a2133aaa43306ffd", "/system/lib/modules/dhd.ko", "6d6e040590d834d57faa6c3b5053b80f10985795", "/system/lib/modules/Si4709_driver.ko", "d98642852c5335cce585d02e72d9a6e0f72d23c7", "/system/lib/modules/j4fs.ko", "42478521d6fe2f7ca5f48a294253eb243eb36d2e", "/system/lib/modules/scsi_wait_scan.ko", "1318aa298ab5abebd8b2b1c25cd039306528b12e", "/system/lib/modules/cifs.ko", "103058becd4caa93cfd15e95c04874ca10b11959", "/system/lib/libjackpal-androidterm4.so", "f79cab69953a22a9e57ff6df719d1ad98369ce9c", "/system/lib/libMali.so", "1a6559c90df25d9cb210bbc2511e6bfaef3a1739", "/system/lib/egl/libGLESv1_CM_mali.so", "c57856a945316a4d2ace3436b3f73a40b2da840c", "/system/lib/egl/libEGL_mali.so", "0de0a176bb573bd5a7adac9adb765eb86ce363e7", "/system/lib/egl/libGLESv2_mali.so", "dd7413200a1306b7a7a8a0b318b8bf39fa60f887", "/system/lib/egl/egl.cfg", "b2d1143e7cd9ff4c0889c94f7caf1cfcc6dccafb", "/system/lib/egl/libGLES_android.so", "2efda98abdd889d1f26bf2e2b4a39af5e57a2114", "/system/lib/libion.so", "57759459c585c06a39ea32da3d3f8869955e2b47", "/system/lib/libUMP.so", "eb1fc3e7c553591b26b73f94daeb10caa7cbfb32", "/system/lib/hw/gralloc.exynos4.so", "d7e9c5e30f67077abab278ec31a0c32d0caed95c", "/system/lib/hw/vendor-camera.exynos4.so", "13d8ee7df747c23f4cfbfc3c6a36591a0f7270cb", "/system/lib/hw/sensors.exynos4.so", "d4f08c11b8bdc7f302602161abbbb40ab2db8bcd", "/system/lib/hw/audio.primary.exynos4.so", "1b877afac27a947603c526a9d21e22f48b325739", "/system/lib/hw/alsa.default.so", "38049d662aff142108950db32b46dc2fd1a7eb4d", "/system/lib/hw/audio_policy.exynos4.so", "58937afc3dcaf724a06df9878ba5ca7453bd54b5", "/system/lib/hw/gps.exynos4.so", "335caa9ef7db3655b81c9d5fb9c069c0a44c491c", "/system/lib/hw/lights.exynos4.so", "3ebb389dc8fc30e3b53e9bd9eec2c39e4054b3fd", "/system/lib/hw/audio.primary.default.so", "2fd589cac1d27e0364cb73dae350060ac532795c", "/system/lib/hw/gralloc.default.so", "9493ae3841d819f67ac7626c5612ddcac681aeb2", "/system/lib/hw/lights.goldfish.so", "d842c9fcdd4be24eac6f2b7eed670e880f2ffc32", "/system/lib/hw/sensors.goldfish.so", "2d87a4ec30fb6fdfa563f0802a35c049e857c4d9", "/system/lib/hw/gps.goldfish.so", "1246fd2e17a772deb65f5608b8c3b88a1c263edc", "/system/lib/hw/audio.a2dp.default.so", "89f3f7b47ac41aa7a855dc69b3efdb544bf61ebf", "/system/lib/hw/hwcomposer.exynos4.so", "0436105b7b923cead438a011e40d981edcc8b30d", "/system/lib/hw/camera.exynos4.so", "78d6c72a7a6d6fc63ffcf7f2c97be3f4981391c3", "/system/lib/hw/audio_policy.default.so", "cd687c7cb65bb603e1ba259dbdd560b8cec9902a", "/system/lib/hw/camera.goldfish.so", "0cc24603cf1c221d11a88844a6e38321cad0a3a7", "/system/lib/libcec.so", "757c9c0df9d775fec8afe68537fd05442838e3ff", "/system/lib/libddc.so", "423c76269e5617c5554128de4f84d8ad40d172f6", "/system/lib/libhdmi.so", "1c08af5992b013f9f625dfd0333400b9530a0213", "/system/lib/libedid.so", "1a762d6f2d368da59f60c48d819dc7ea45384f67", "/system/lib/libhdmiclient.so", "3a820898f67964533efdeed28ed69090d225e5a0", "/system/lib/libTVOut.so", "eb1b5c0e3a5fdf536dca4c376d274ad4c382962c", "/system/lib/libtvout_jni.so", "249b344b2e800a6a0f56b69d1f4e18117b72b41b", "/system/lib/libtvoutinterface.so", "1c4fac42b4b46169a3ee667694801b0babb3e1b9", "/system/lib/libtvoutservice.so", "b349de786334df5ef2cc2f6a17c957d8e94e43b7", "/system/lib/libcaps.so", "460777d6cabbc0ff9d59d5f944b5ed7e3a4a2ef8", "/system/lib/libakm.so", "82f4632f3754bc5659106ee45972d25adec46efd", "/system/lib/libsec-ril.so", "17de217753a78bd900c730bd538429898b228566", "/system/lib/libsecril-client.so", "8e643fff043b87c49de1594e3775b83bd28d22a8", "/system/lib/lib_Samsung_Acoustic_Module_Llite.so", "268d47dd7d384715672c6797e1e1bd07ac65a305", "/system/lib/lib_Samsung_Resampler.so", "f6c9242f9a66beaad87a2ea12c79ef9387e2f17b", "/system/lib/lib_Samsung_Sound_Booster.so", "0678d36c7bc6ea2003107f219f968a464cf098ca", "/system/lib/libasound.so", "165fd276c61f38867979b5e16ea7dab5487a3496", "/system/lib/liblvvefs.so", "4043b0ab6f3afafd40d5f384e6dedd4b53fa9f26", "/system/lib/libmediayamaha.so", "67b6229188f06481ae8ca2ce4b944040e255b119", "/system/lib/libmediayamaha_jni.so", "4a22fd9e68c6d9655e5957981f6a3a9590cee53b", "/system/lib/libmediayamaha_tuning_jni.so", "06ea99f190ec46edf270a836b74318d6a6438023", "/system/lib/libmediayamahaservice.so", "7f61cf5e3e4d7244461b918850bc61c64d87d27b", "/system/lib/libsamsungSoundbooster.so", "80b76665c5d0bd10e2c2946402d68b9cb3062eca", "/system/lib/libsamsungAcousticeq.so", "07f26fbe91a2880cd0181053bffa9910ee01ba75", "/system/lib/libyamahasrc.so", "60d12c1ce078e49c96d8b04a9d3a13b33d45f497", "/system/lib/libjni_latinime.so", "48dbb2f15464297ad48ffc1a02dd0f745a3f1c6e", "/system/lib/libdl.so", "6da2fb74fc4be8ac87257194482045709a64596b", "/system/lib/libz.so", "305c5cd6d74a6fa5254a9bab96c290d823f5908a", "/system/lib/libexpat.so", "72a845d6bc5c0d13d50d08741e185053ee3a5b10", "/system/lib/libc.so", "334fa01add7012f560fe23f9e8773f410df5fd1c", "/system/lib/libnetlink.so", "c9144b49c4ea904c09e8f24c089df0398d83ab77", "/system/lib/libstdc++.so", "b27c94ba709c5d36b406512d4212485eaa9572fc", "/system/lib/libiprouteutil.so", "f9a61b77858492884f648ec3e7b04a0a695c8cd0", "/system/lib/libgabi++.so", "a0971dd1da863c9e42a8ba5f3e45543e2ebc66b8", "/system/lib/libm.so", "979cbbd27fb6bc8bbae66e534ca80e8e80b1b08c", "/system/lib/libcrypto.so", "2610b482140f0fa397bb8fdc6ecaf0fb34b1a948", "/system/lib/libext2_com_err.so", "fe3859337e4e42ce111bebab95b9e98dfd922520", "/system/lib/libext2_uuid.so", "97e4c542bdba6160e91398dd874213fe02d4b6be", "/system/lib/libext2_e2p.so", "bde766d68e7015f1a726d9ff23f6410c5d4396c0", "/system/lib/libc_malloc_debug_leak.so", "75a2f511071e8510d6eac8f606590fb94925f578", "/system/lib/libc_malloc_debug_qemu.so", "faf0fc5f038ff041ca6a7bcdfa355eb9a53a6637", "/system/lib/libthread_db.so", "65792d3a6c62012a19c748afd1eaed716379b484", "/system/lib/libssl.so", "220694a4acdd5685c5278adedf3e2e5992c7faff", "/system/lib/libext2_profile.so", "da114a7216c44879b1f653b520de0ec2afe474ce", "/system/lib/libext2_blkid.so", "d76735d4d5ddfbedb9d2bfb8eab9635d01b6b5de", "/system/lib/liblog.so", "be714627547dd910b82fc034bf81e3e416a3599c", "/system/lib/libstlport.so", "a3f17410bd5b24c900d453218edda4029412ecaa", "/system/lib/libicuuc.so", "fbfab7eaa25526680922514ae434742698baee07", "/system/lib/libstagefright_amrnb_common.so", "c5e5d359e5f11b9fe252a9717ffc2c8158f86504", "/system/lib/libvorbisidec.so", "3ce6f9ca0a6ae30e03b2ca89a0377ff350501fc0", "/system/lib/libstagefright_enc_common.so", "eedbd3fffd6bb7f30d13b5b292f09150e5a4422b", "/system/lib/libstagefright_avc_common.so", "c5e537ce9c96f8e5382452b620e6afeab0a60202", "/system/lib/libETC1.so", "48873375c8e00d546e851166ba6f5bef88fdb995", "/system/lib/libglib.so", "43c2d744426685dafbb84c1de305fd067bdde31b", "/system/lib/libext4_utils.so", "fe3d4291056f476ba1caec1bfe1f60ed4355000d", "/system/lib/libctest.so", "96c4b25cb1b5a34bce3bd5de3f95abe3a75496c9", "/system/lib/libpagemap.so", "6af316c8a5e23af6a665928112cea574e8f9be13", "/system/lib/libpng.so", "2b99827c34d49c05cd8890f86d3ee998b928c779", "/system/lib/libspeexresampler.so", "33ea61557fbd13456a19354b4b95d3e13f4051c4", "/system/lib/libsurfaceflinger_client.so", "12ba180d276b44d96e23f91c3d328f6ffdeed0eb", "/system/lib/libncurses.so", "f106b983effb2e72027864d15b451a0aa81efe2b", "/system/lib/liblzo.so", "2eeefb2d2b9c40347455a8d42d6e6d8908d072a3", "/system/lib/libext2fs.so", "de5e603e11c6cef763987392559ee654ca3d27fa", "/system/lib/libs5pjpeg.so", "602acb7cc03adc563f524274ca77d9d5a68bc488", "/system/lib/libxml2.so", "93f7e8f41df6483ac6424c3d5051bd928fd7c9d7", "/system/lib/libcutils.so", "a11eabfccacd5b894d8a3f0fc672c622666b30f0", "/system/lib/libicui18n.so", "9232f3a0553ece8047e05f504cc751cf10f9e400", "/system/lib/libsysutils.so", "e2e91256c51612cc8721b3cb1140c1d1c686aa09", "/system/lib/libpower.so", "fa374abd363c187d8105183e6fff17f7388d55e8", "/system/lib/soundfx/libbundlewrapper.so", "da80f73fda56dbb8b4ee83bea1d7e25b4e316c46", "/system/lib/soundfx/libreverbwrapper.so", "14bc15fa5588f376e81bcf791d67e8e45d75d4f2", "/system/lib/soundfx/libcyanogen-dsp.so", "1fa2f5ebe42a4f3fdb4944002ac26890a295dbd9", "/system/lib/soundfx/libvisualizer.so", "fe9f92250103a01b4a330881e23af6c6c4a28352", "/system/lib/soundfx/libaudiopreprocessing.so", "8e47a34906abba7780c83cba891e0114702f18de", "/system/lib/libutils.so", "094a586840a3e1ec45fb7f1eb8043945621deabe", "/system/lib/libwpa_client.so", "47f5735c8a73fa87146dfff8b47be6e1c8788f37", "/system/lib/libhardware.so", "9140cff2346b4552746d1ec64e7e626433b837f5", "/system/lib/libnetutils.so", "0a035c3b6a733dd7c1627366e9d5a7770c6f64b7", "/system/lib/libjpeg.so", "d3a51aae95e80ec3052a47ec740dc4083f8e2948", "/system/lib/libstagefright_yuv.so", "84bc0dd44e1927339541c4d787d06a8858c9a201", "/system/lib/libnfc_ndef.so", "75400f7f5a7332b0af9b108d3147210f9f3804df", "/system/lib/libbluedroid.so", "9adc5244c3c541f6665b84277ee22e4b628cc5ce", "/system/lib/libbluetooth.so", "e8f57555e2d88c9e1f745175963b58c8f709f532", "/system/lib/libeffects.so", "c6f3c4394b5ab7106e3ee67328388ab6363b0544", "/system/lib/libnativehelper.so", "36b90cfb196f066eb687128469083260bcd25f07", "/system/lib/libdbus.so", "591bfc7a6ce222b95faa6a5dcd4caa500216ff14", "/system/lib/libusbhost.so", "4a51a7653089f06fc0583cdfe398da17dd75a776", "/system/lib/libdiskconfig.so", "573f5a160d43bfee70704e90175f5e9e9b0ebfa7", "/system/lib/libbcinfo.so", "76c280f0e4356c16daa0c859e889fc45e5c3cb84", "/system/lib/libwebrtc_audio_preprocessing.so", "04d1bfbb6ff3410006ae2555d45d10f37ff8ddaa", "/system/lib/libGLESv2_dbg.so", "b42cb60812e43c9b57fa1a885fcaee851602dd09", "/system/lib/libhardware_legacy.so", "059326f4d80714d2cf49aec88f9bbb040355cf49", "/system/lib/libttspico.so", "d1dacd7ab316d6747237a1914faf975069698544", "/system/lib/libSEC_OMX_Resourcemanager.so", "b7dff5d0c4b4677321bbf0ecb61dfebd87240448", "/system/lib/libdrm1.so", "ed2cb4b2ac53d67ae2ca9372132d88b9aa578c0f", "/system/lib/libfimc.so", "93f1eaca3f3c9f1b6f0bbf37b5d50da2bcaa462b", "/system/lib/libemoji.so", "d705ab3bc0460a42fd1af90d0e80b10e5078966e", "/system/lib/libbinder.so", "ec6c22a8f5f78baf29b7169a1e3aae93d1a85e2c", "/system/lib/libsonivox.so", "90e26787c5eb847057fd48a50afd6b64f69f6bf9", "/system/lib/libdefcontainer_jni.so", "be60011959e47bcca0976e2eb133e6d96f3c753a", "/system/lib/libsqlite.so", "81719c016d5853efa4e0f0b427acdbdd12f033d2", "/system/lib/libharfbuzz.so", "1ae12216b339e3e95787027b0414ab5e0c381f5a", "/system/lib/libbtio.so", "d4cab581c1c538a12eb9cefca894f4b48cef4331", "/system/lib/libexif.so", "44758b8a76124e9edb826bbf12951104d861a622", "/system/lib/libdvm.so", "7ee5b55001da786f4acb53777bbaedb34cf361f6", "/system/lib/libEGL.so", "5b741b54216a06f9d919a9546dc1412a15e1ec22", "/system/lib/libpixelflinger.so", "a0e41c57ed947050bc49f9b12d8d12a4ad4b3795", "/system/lib/libskia.so", "2c46a9907d2acfb5da494b13cd133054bb7837b3", "/system/lib/libstagefright_foundation.so", "ed3221c9324da1ff74cc27a8d7fac31abaf6bc14", "/system/lib/libdrmframework.so", "2bfec28fdd12ffdd559202ec197de70c17213bf0", "/system/lib/libpowermanager.so", "1bf6a05f9de84c1a6fef51fe7ab81d0d6f5c25e7", "/system/lib/libril.so", "0b349dba3feeb18c041ddc2b7d863c250945dcd4", "/system/lib/libSEC_OMX_Core.so", "6c574c676bc28b995dc0ef3a730359f93fb7a530", "/system/lib/libdrm1_jni.so", "9e1a7a172c06f4224c4f9aa83fafeaf895ef756c", "/system/lib/libfimg.so", "81f5c6c25301772fe2c5baf94bb75cd480e90c7c", "/system/lib/libhwconverter.so", "045f821d40715ed11fad04051566e7cf7098ed1c", "/system/lib/libmtp.so", "f217d91981033f6d99a04176ec7fc298e0cc82f9", "/system/lib/libsqlite_jni.so", "4368db752a7f0e8be9a2cace07ed9e67ecff41e0", "/system/lib/libbluetoothd.so", "a5d2d53df7f66e24d5a3b91781323960c33eca99", "/system/lib/libchromium_net.so", "ef1cfc0fb47d842d0a258a69d41f6675acaf7096", "/system/lib/libreference-ril.so", "004a08c848285618e5d488922cd588b43daaf1ae", "/system/lib/libGLESv2.so", "a7bd75e38581f3379aa9c19b76aeea18f0f339ec", "/system/lib/libGLESv1_CM.so", "a52756f5a63c9827632587d025ee28f67739bd97", "/system/lib/bluez-plugin/audio.so", "2ffaf871155fde3863563311dd6182d67e059bcd", "/system/lib/bluez-plugin/bluetooth-health.so", "adddac684118b030fdd985c03b48fe12ce4dd59f", "/system/lib/bluez-plugin/input.so", "e92d672c1c13ecf9fe6d6293808fe1e9477648aa", "/system/lib/bluez-plugin/network.so", "ef185ee10728211bafd03e7d8cebc5e2aa76dfa1", "/system/lib/libui.so", "78d4ffeb4875f27802c41b4cc8e2faff672f7d94", "/system/lib/omx/libOMX.SEC.AVC.Decoder.so", "71306d94077cc3e904345e66a6d91ce9a7e984e8", "/system/lib/omx/libOMX.SEC.M4V.Decoder.so", "200f4e458355add89a242fec13ccf1ec89471ba2", "/system/lib/omx/libOMX.SEC.AVC.Encoder.so", "44bb0c865c7b8b83df85ee0cfa4cd6e90e0f213e", "/system/lib/omx/libOMX.SEC.M4V.Encoder.so", "d4f9234cc2e24777634bd0f54da47e3a692c6267", "/system/lib/omx/libOMX.SEC.WMV.Decoder.so", "c36df984a190de064e2afcba3fbb61274685878b", "/system/lib/libstagefrighthw.so", "b38aad3d06116e8acd0ac1b10b354517eafb0fdb", "/system/lib/libgui.so", "483dcfab8006ab8f4f293be28af874f5e4774ff7", "/system/lib/libjni_mosaic.so", "501e9769435880785b1950ddfcd4bb67ff451fc2", "/system/lib/libhwui.so", "c928d9c1d52c9a79613d20e9b5afccf5553c7e09", "/system/lib/libsensorservice.so", "72289e5252c3159e02612d9b6e0288f678ad8ba7", "/system/lib/libbcc.so.sha1", "fc4c9ef39cd283b5c836856134678c978c7b2226", "/system/lib/libcamera_client.so", "ca7da846a8d23e4eeb1282201b4b8099431b6f5c", "/system/lib/libinput.so", "428438b8e7c04547979bddf006bbb0b3ced5182e", "/system/lib/libmedia.so", "95c8a3925523475bac429ff917923d97d69088a3", "/system/lib/libstagefright_omx.so", "00c71ee3fcd7a6a8c09bb48cae86d10254d96b2a", "/system/lib/libcameraservice.so", "d5e93cefeb2c902f4835ed28336291227c23683d", "/system/lib/librtp_jni.so", "1441b2dadc6058271f4ffdabf9a7a285a5fd1cbd", "/system/lib/libaudioflinger.so", "99be2c208e63edec1a7a0a23a8e40b8a69176c6f", "/system/lib/libSR_AudioIn.so", "13f51a53ec5aecd23302a084dab649b8082ec85c", "/system/lib/libsrec_jni.so", "2273e6d9210e2930bbf863a3f7acbfe0f6b6026a", "/system/lib/libstagefright_soft_amrdec.so", "0833ead0035e465e8aef0d046501622d6fb3326f", "/system/lib/libstagefright_soft_aacdec.so", "621d0cce996c57c86e3f72b83bd431fcf274e0e0", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libbcc.so", "a9b3c42a864ecc951d1dd92469686b10ae41a19c", "/system/lib/libandroid_runtime.so", "6961c58e282025ab8f075be6337bb7e78e60e1ca", "/system/lib/libRS.so", "d225113d84fcadee3c8993cb82080fefa849e9b6", "/system/lib/libttscompat.so", "1a9b68e01ca664939bcc69db96eace923cc5f52d", "/system/lib/drm/libfwdlockengine.so", "57b0408b7e6639166d5936973e683b1ccbba8db7", "/system/lib/libandroid.so", "2504021c6a9b6b27af816285540cd4747b03a2f6", "/system/lib/libaudioeffect_jni.so", "c06e306d4b96abf4dabc0229eac52e54325d516d", "/system/lib/libdrmframework_jni.so", "0e7a60857fab0b38aa65b631caa49db69ca026e3", "/system/lib/librs_jni.so", "ce1bc998b215983662e695d5e31410affb14a7d8", "/system/lib/libstagefright.so", "d16bed98eb33411302be8060da11bb3bc93952ca", "/system/lib/libsoundpool.so", "6350c7b997b744768805ea828fb173f15475cc72", "/system/lib/libFFTEm.so", "ce7939b4245206bf33557819fe4232f1df98c79d", "/system/lib/libjnigraphics.so", "e7561c3b38503d01b5c2a63aeeca948e9e8f25a3", "/system/lib/libsurfaceflinger.so", "d453ae9e7fcc380d8a4646979cec4ec757de3727", "/system/lib/libstagefright_soft_mp3dec.so", "c5b01fba04015dca781b1f1147260c5beeaa9150", "/system/lib/libstagefright_soft_g711dec.so", "9b5883528d05be28b0487797d0dba235e5fb7a31", "/system/lib/libstagefright_soft_vorbisdec.so", "9629bb795957ffd268fcebb867e1ee504590144e", "/system/lib/libstagefright_soft_vpxdec.so", "a77482b2aa018562b34d4b9e7fed6a7083f46eca", "/system/lib/libvideoeditorplayer.so", "66bdd89dc679b86ff12ae6bd056e9e676c4ccb4a", "/system/lib/libmedia_jni.so", "c938ec68b748ece8d949e1867a0050d90cf8e8d5", "/system/lib/libstagefright_soft_mpeg4dec.so", "e205a26a527b74c5b04576c7798b931317849784", "/system/lib/libmediaplayerservice.so", "1ba14151aa58f5b96238cca029a30d63ac1102bc", "/system/lib/libwilhelm.so", "640a26627b811b875ed5527b9366589f9dc6e6ba", "/system/lib/libstagefright_soft_h264dec.so", "748136b1f1a5932abe12e72b165b39813efc56fc", "/system/lib/libfilterfw.so", "5119747b154bb8656790f3111d7f64926e4a2607", "/system/lib/libOpenSLES.so", "75821da6c085c2cc963b3ade2de0d2051ffd15f2", "/system/lib/libsystem_server.so", "9f5f0663dbdbba2a39816e71ca8d1c10eeb92757", "/system/lib/libOpenMAXAL.so", "7c71daf9380bb1b56dc241fbb58d6b14f9cd550a", "/system/lib/libvideoeditor_jni.so", "7d5c6985b6eb3b59cb956ec0e7180fc9560a2de6", "/system/lib/libfilterpack_imageproc.so", "2d58a6dc93e554f70d411eccea79a5bd1103d662", "/system/lib/libvariablespeed.so", "a85b2b77c3352247c522c6b829a665f478bc7e6d", "/system/lib/libandroid_servers.so", "a9067317834edb92710949d01c6547b6b3b02edb", "/system/lib/libwebcore.so", "fd31e970931ce2cadc44b6c50a202eafab9524c8");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
unmount("/system");

link to the rom [ROM][ICS 4.0.4] PARANOIDANDROID v0.5 [TABLET/HYBRID][CM9][14/07]