#assert(getprop("ro.product.name") == "a200_emea_de");
#if mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/data") != "/data"
#then
#ui_print("Device probably was encrypted, skip check data partition size\n");
#else
#ui_print("Mount Data success\n");
#package_extract_dir("CPS", "/tmp/CPS");
#set_perm(0, 2000, 0777, "/tmp/CPS/cps");
#run_program("/tmp/CPS/cps", "/data", "100");
#delete("/tmp/CPS/cps");
#unmount("/data");
#assert(getprop("check.partition.size") == "pass");
#endif;
show_progress(0.400000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0");
format("ext4", "EMMC", "/dev/block/mmcblk0p6", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p6", "/flex");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
package_extract_dir("flex", "/flex");
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/inetd", "/system/xbin/insmod",
        "/system/xbin/install", "/system/xbin/iostat", "/system/xbin/ip",
        "/system/xbin/kill", "/system/xbin/killall", "/system/xbin/killall5",
        "/system/xbin/length", "/system/xbin/less", "/system/xbin/ln",
        "/system/xbin/losetup", "/system/xbin/ls", "/system/xbin/lsattr",
        "/system/xbin/lsmod", "/system/xbin/lsusb", "/system/xbin/lzcat",
        "/system/xbin/lzma", "/system/xbin/lzop", "/system/xbin/lzopcat",
        "/system/xbin/man", "/system/xbin/md5sum", "/system/xbin/mesg",
        "/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
        "/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
        "/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
        "/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
        "/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
        "/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
        "/system/xbin/netstat", "/system/xbin/nice", "/system/xbin/nohup",
        "/system/xbin/nslookup", "/system/xbin/ntpd", "/system/xbin/od",
        "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
        "/system/xbin/ping", "/system/xbin/pkill", "/system/xbin/pmap",
        "/system/xbin/poweroff", "/system/xbin/printenv", "/system/xbin/printf",
        "/system/xbin/ps", "/system/xbin/pstree", "/system/xbin/pwd",
        "/system/xbin/pwdx", "/system/xbin/rdev", "/system/xbin/readlink",
        "/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
        "/system/xbin/resize", "/system/xbin/rev", "/system/xbin/rm",
        "/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
        "/system/xbin/run-parts", "/system/xbin/rx", "/system/xbin/sed",
        "/system/xbin/seq", "/system/xbin/setconsole", "/system/xbin/setserial",
        "/system/xbin/setsid", "/system/xbin/sh", "/system/xbin/sha1sum",
        "/system/xbin/sha256sum", "/system/xbin/sha512sum",
        "/system/xbin/sleep", "/system/xbin/sort", "/system/xbin/split",
        "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
        "/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
        "/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
        "/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
        "/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
        "/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
        "/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
        "/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
        "/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
        "/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
        "/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
        "/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
        "/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
        "/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
        "/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
        "/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
        "/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
        "/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
        "/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
        "/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
        "/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
        "/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
        "/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
        "/system/bin/kill", "/system/bin/ln", "/system/bin/log",
        "/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
        "/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
        "/system/bin/nandread", "/system/bin/netstat",
        "/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
        "/system/bin/ps", "/system/bin/reboot", "/system/bin/renice",
        "/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
        "/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
        "/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
        "/system/bin/smd", "/system/bin/start", "/system/bin/stop",
        "/system/bin/sync", "/system/bin/top", "/system/bin/touch",
        "/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
        "/system/bin/watchprops",
        "/system/bin/wipe");
retouch_binaries("/system/lib/libaudioflinger.so", "23a47f51960cfc57da20ba1f1cea6000e62e7ab0", "/system/lib/libhardware_legacy.so", "1f6b5e1c5282c0a18e11eae827a50945def67693", "/system/lib/libext4_utils.so", "cea7cec691ee192d53252fbd354c000d27a375c7", "/system/lib/libGLESv2.so", "393cbf84ccd4a7878a5dff9b275812c8f3692116", "/system/lib/libnvmm_audio.so", "b5813698a654e7193532e5af3e68c48431971b64", "/system/lib/omxplayer.so", "7a0cb1cf48cca288627dc9627d220504b8bf15be", "/system/lib/hw/camera.tegra.so", "4ada48c492f9d41a488d1dd30a145f52d39817cb", "/system/lib/hw/gralloc.tegra.so", "aa11ce5c4118c51a525d72ce82d99eb38fd06128", "/system/lib/hw/audio_policy.tegra.so", "82156a02bca4f5e753ff819ab2ec046624cf9a02", "/system/lib/hw/lights.picasso_e.so", "d91e03f688c88dc7a485eb6b52247ddb8a0d99f1", "/system/lib/hw/gralloc.default.so", "71fff4c1cc53a777dca7f16d863fc152b0669f61", "/system/lib/hw/gps.tegra.so", "93e9a63bee26dce1169aa4340dd050e876f2a669", "/system/lib/hw/sensors.tegra.so", "f356721d4203b1d96a77ed03471f0f90cde6ac21", "/system/lib/hw/audio.primary.default.so", "52f5beeb5cecab8e90e3f219d3e1d0ca8d34e8cf", "/system/lib/hw/audio_policy.default.so", "8d95f5b6080eb7dc14ab86666de56d29bc26d189", "/system/lib/hw/audio.primary.tegra.so", "8b6bdd2a6077cfc678412244145a1c7fb57a58b7", "/system/lib/hw/audio.a2dp.default.so", "a912a05ca758858f2136301b617f0d95037c8c69", "/system/lib/hw/hwcomposer.tegra.so", "3bab172939ddfb9964c492ef1b679833235e890b", "/system/lib/libicuuc.so", "d55899a0c4184ac6a284e2cec65f57a0c5772bea", "/system/lib/libspeexresampler.so", "17aaa6afb5fa4d161d37f308b7dc2389f6133553", "/system/lib/libjpeg.so", "3cd42076475727e3bace7bc0437215ca182934ae", "/system/lib/libwvm.so", "e38a8a2a093b816145eeab530945c5b4fddc6b17", "/system/lib/libext2fs.so", "d9483a255d3aefec6d5e7352e4b4628f20e2be24", "/system/lib/libETC1.so", "a646346c896789fc4e4302dcb931509ae539a4ba", "/system/lib/libhwui.so", "d907ed519a78b34cf447aaac7699f61a21387ef7", "/system/lib/libinput.so", "a8e73c11b19282b4600ec521cd7cd94098f5ba6e", "/system/lib/libnvasfparserhal.so", "40efe1c4efb9ef73b6ce300159f87a6e8344aa05", "/system/lib/libsrec_jni.so", "94a6d8fec5efdaaa1b6963eaad2a7c9e72690d88", "/system/lib/libdrm1.so", "4ddc0419dd6d644ec683d30f25420d7b33c9db71", "/system/lib/libvideoeditorplayer.so", "f8307207723de41497c1cb3fdaa6e6f8c90559ae", "/system/lib/libstagefright_soft_mpeg4dec.so", "3616f9f0c82c26d27b6403565a4d85e5aa6557ba", "/system/lib/libmedia.so", "26a9c0eefee1955db3598e75c105f713b527ffa3", "/system/lib/libpicowrapper.so", "b6b0ce5d40b19f6da8a2027f2a8e7987d555bcfb", "/system/lib/libnvmm_parser.so", "3fe096f3359bbfd2fa2bce3dab7038e3f20d92ba", "/system/lib/libnvmm_manager.so", "7a9d393bd28fafa46275a39c57e036d1bb922820", "/system/lib/libbinder.so", "7c6faac5b0a9e7554b4ccf51fbdee8110b3f77f4", "/system/lib/libmediaplayerservice.so", "acba2f83d4d3858e6fda57b171e9111920517d9f", "/system/lib/libnvddk_2d_v2.so", "ab5df05c666a2a99801b3e402c0ef9ec0dbda5fd", "/system/lib/libjni_xt9input.so", "524988b5f8e0f11db46c2239811607281c139837", "/system/lib/libdrm1_jni.so", "1fa8cac6a029b2ab09d36e12af9de8af51bc9bba", "/system/lib/libstagefright_soft_amrdec.so", "0f0b7336e24efca8f7dd65163ab65d773099597f", "/system/lib/libemoji.so", "c7b7df787c3212209e1397e84a91536dba78b0da", "/system/lib/libnvmm_asfparser.so", "c503e7cb34b524d7ff3b1733c299135b69fb437c", "/system/lib/libnvavp.so", "41cd390335ce41cf03b70d085e0f75be64c9e7aa", "/system/lib/libnvmm_vp6_video.so", "fdf4d71c66d5b2d88a883ae8360d3509a99f480a", "/system/lib/drm/libdrmwvmplugin.so", "ebee66aab5fbd68c9e5b3f33b04093c4c24a4aa1", "/system/lib/libwilhelm.so", "2bf9224974b945ef352f37a85300be0189ac2a61", "/system/lib/libreference-ril.so", "023bc1ecdb01998cfee90047e9e66705de2be3ec", "/system/lib/libcutils.so", "1c44dc4a58a741ccee712e105fe3a1537cf91917", "/system/lib/libmlplatform.so", "35ca8289bfece085393aae33030e7f1c8295ebec", "/system/lib/libvariablespeed.so", "87685d538c6cc209f3f6e34254ec002e908ffa58", "/system/lib/libnvodm_imager.so", "540ab289dcc8cf6e248d559180dafd88556f7ac7", "/system/lib/libbluetooth.so", "a4dd6a35035d6ea59946654be5f8d3ae7c1685ae", "/system/lib/libbcc.so.sha1", "b47eca07e01e4340436e26c08c5840a539941646", "/system/lib/libm.so", "0f8feae8c1a2240b8acf992ad1319ab0c3318062", "/system/lib/libmedia_jni.so", "87b528a5d91e009d22e24211ac710e698209819c", "/system/lib/libpython2.6.so", "b35d76db81d38c42f9d3326086a8f29ee3879092", "/system/lib/libmllite.so", "beeb6b26301bbae5c603b08a9c1d8840130b1638", "/system/lib/libstagefright.so", "70f9b475af01627471b888fd978b8c2c52f5a046", "/system/lib/libnvodm_hdmi.so", "6988b8b28bd60e8cdb3bebab3cc908f2246cf49d", "/system/lib/libstagefright_soft_mp3dec.so", "56fc8eaa0947ac04ebd25e2fad6d44a1878aed3b", "/system/lib/libnvmm.so", "d945b7f0cad9cce44873a69a13b34e61507071a9", "/system/lib/libcameraservice.so", "3dae5c91131a7749ae40da760b94d80957d506bf", "/system/lib/libnvos.so", "898d67c6d2235c177e612146137f06d03259c683", "/system/lib/libthread_db.so", "af961b1707a2a4de575bf653da6b549dc51b2ddb", "/system/lib/libnvmm_utils.so", "8c2ffa6494ad52e62214ab33ea285c63afd7cfff", "/system/lib/libcgdrv.so", "7f2e261b73db5647a157c6551a98b49990836c76", "/system/lib/libnfc_ndef.so", "50bf64ce797ea7632106a70e28105a661a90b5b6", "/system/lib/libril.so", "ac73c599e1cc07a55164b955e8d2594290dad246", "/system/lib/libnvodm_dtvtuner.so", "a1373ca133c4d9695c14f46dc28682ae3b4cd629", "/system/lib/libext2_profile.so", "69b086d0c920ea92e60a4cc4d9ac4056e711a345", "/system/lib/libnvmm_video.so", "d288af44e467f0491a14348802f7b2f73833215e", "/system/lib/soundfx/libbundlewrapper.so", "3891fc07470444df5d95114dd1b523a5a137d9fc", "/system/lib/soundfx/libvisualizer.so", "7681b3ce723e8e3841d756fb670543854c06dd60", "/system/lib/soundfx/libaudiopreprocessing.so", "f3d8b791516df94171adf375224b81731506f1be", "/system/lib/soundfx/libreverbwrapper.so", "1fbb9b6b89e4ebb3397836f3d39d4c9a443452ea", "/system/lib/libnvmmlite.so", "61a1021702653e1fa43ead126be06b616138dbff", "/system/lib/libnvmm_msaudio.so", "76a43061c6ed9e6914d02da06a8258d974de7b57", "/system/lib/libflint_engine_jni_api.so", "dcca3a1883d840eea560350b477a61e497918f1f", "/system/lib/libnvmm_contentpipe.so", "c0ccba7c3a3f3ad17e3743ed1a16ef4da52778fb", "/system/lib/libfilterfw.so", "368e67673f88f83a87b5c169990d6823d4a1b673", "/system/lib/libbluetoothd.so", "66ae0241084217ecb6e380db1ced610b1a08bd32", "/system/lib/libSR_AudioIn.so", "5f62848b61344c095f4761dec6be3204ecdf523e", "/system/lib/libcamera_client.so", "1cd39c3becbdcc1f482f63d1d9ae2d90af29cbc3", "/system/lib/libwvdrm_L3.so", "d3df2daf952f8c90c23d1ca1f263d6eb5314abe3", "/system/lib/libbtio.so", "00e327e63d482c0d31c7dbb50b1929076b7248e8", "/system/lib/libFFTEm.so", "b196e7973d8d297960a6bc532e42154071336366", "/system/lib/modules/bcm4329.ko", "2a7e9266ebdac14ac8757506dc09177cc24fedef", "/system/lib/modules/ufsd.ko", "77df4375e1806fb4092db8227bc7a643e8799c5a", "/system/lib/modules/scsi_wait_scan.ko", "12900c61b8ff566c62b22eefb3b4e0ce763b18b1", "/system/lib/libwebrtc_audio_preprocessing.so", "459027eda8baf8aeefba0e44898809221b2bec42", "/system/lib/libgabi++.so", "a9f1b458a1a9d94be9db2fbf3866ac3b7d55da06", "/system/lib/libvoicesearch.so", "978da70eb4ba78ef37e8fcd7c66dadba64912107", "/system/lib/libjni_mosaic.so", "2d64446aff425b0397fa6ed7d96a183ee9594e09", "/system/lib/libstagefright_soft_aacdec.so", "5b2be22557b04f2ef2805c6b4097cba2c5ad95c7", "/system/lib/libdrmframework.so", "b659863ff647fc8fee8f46d7b6c133e4ae83a6db", "/system/lib/libstagefright_soft_vpxdec.so", "74202d7192d3e0d86fc1021e54fc10cf7b73b1ef", "/system/lib/libdbus.so", "589d76227939eba6a8b5f0c5007a80923acf70b1", "/system/lib/libext2_e2p.so", "72c3a7d3da9c812a48341538792e7d1b54bf77b9", "/system/lib/libsensorservice.so", "539863616a077e72a8e3d1cf3d6b87df5fc209e9", "/system/lib/libext2_com_err.so", "508866d907b2006583e28bbf75f982afb14da0ba", "/system/lib/librs_jni.so", "285b9091a66d7b9772f78159bed4c9a124e84403", "/system/lib/libspeexwrapper.so", "6b13c980b87d164277c02b707a61f8f494d09ac7", "/system/lib/libpower.so", "dbc2ea3bb1f348487ee2886eb7213eea5de0c1f2", "/system/lib/libnvcpud_client.so", "e045ae69049f932743edb774bab1c00381e42c8e", "/system/lib/libRS.so", "c350b31ca4d9f6da3a24bdcdc8d4a8938e451eb3", "/system/lib/libstdc++.so", "a521c2814071da0327412219c75b68f0e8795da4", "/system/lib/libsurfaceflinger.so", "ee1f2a09039002462faf1a176f7e51d3a5f181fc", "/system/lib/libnvrm_graphics.so", "9b8c6d71f2b13e135184e85b2bd019020ec60bc0", "/system/lib/liblog.so", "06234b6d6f9ab3cbe1474221223f4027353af312", "/system/lib/egl/libGLESv2_perfhud.so", "95449446315933daead4d7093eddec1a66281f7b", "/system/lib/egl/libGLES_android.so", "f3421915e0f592c792ebc2a1c1e69df256938027", "/system/lib/egl/libGLESv2_tegra.so", "3c219760ec8d6e0ad93174eca1e08996e8becc0e", "/system/lib/egl/libEGL_perfhud.so", "5bdaee0caef92a5beb596e7f9108f396e10fb270", "/system/lib/egl/libGLESv1_CM_perfhud.so", "4cd21bbe7fab6f194848dfbe22ab356cab516479", "/system/lib/egl/libGLESv1_CM_tegra.so", "2e087326c05c47236106254c9b3304c968e4ea38", "/system/lib/egl/libEGL_tegra.so", "cfb48257056863adc51bdc623b7f30ce30c9cd43", "/system/lib/egl/egl.cfg", "490b07f24cccb26a3a25daa04372ff9a65210357", "/system/lib/bluez-plugin/bluetooth-health.so", "9f03c3518eabc79cdd44d08040804ee17254891a", "/system/lib/bluez-plugin/input.so", "fe2a38715ff4504cde53894b1aeb226a836c8515", "/system/lib/bluez-plugin/network.so", "dfb4e3c4b9bd6c3748f652d9bd93a1295877059a", "/system/lib/bluez-plugin/audio.so", "4820d45777921abf6ad134d6ad8108ea0a0bf37b", "/system/lib/libnvmmlite_audio.so", "4d76d46b30dd15dd5e6b2dc85af2c76411ebb6aa", "/system/lib/libnvmm_camera.so", "87cf0e2e747924dd1eaf436ad3fc3db06afc3de9", "/system/lib/libnvmm_writer.so", "ca8cde3315a0353b7c986a30bd3f39b40ae6fb1f", "/system/lib/libGLESv1_CM.so", "b2a6d5cabcdfbf8d4e64e2a9a65ae7f5c7153554", "/system/lib/libdefcontainer_jni.so", "5969d89407c3a828fcee62c4a214f1f2ce99ef2f", "/system/lib/libstagefright_soft_g711dec.so", "9851c11e2c28d1453afb955c6b8de3894629ffc8", "/system/lib/libandroid_servers.so", "e0a1e94821aab2118d62ae9181c7e84e9cccd6c7", "/system/lib/libwebcore.so", "b70bee0a193edad31dfa38b78a8ca38e3c02ef10", "/system/lib/libGLESv2_dbg.so", "007c445d1490fd5dd091fc683db8258c25da973a", "/system/lib/libWVStreamControlAPI_L3.so", "426c9a2bda1f8fc65f0c2dae41c6b363a0f87755", "/system/lib/libnvodm_query.so", "509c731b5197d3f236115eaad02714effdf727e5", "/system/lib/libext2_uuid.so", "6334bc4974ccf25cf1c1c241afc3fec7526239eb", "/system/lib/libsysutils.so", "04c4cb3032ddfb01cbac4beac33bddf294bc70ac", "/system/lib/libnvmm_service.so", "f3a4228cd55d7da75d5a0c607c8d34976c5d8b36", "/system/lib/libeffects.so", "bbec4344ed7cfb34f9d50f065131500f6cedd292", "/system/lib/libcrypto.so", "66b108807599f0d29f68e1d942887bc486189d33", "/system/lib/libpixelflinger.so", "0758e4f780d2893f0535f2527f93d3a9e41c5b75", "/system/lib/libstagefright_amrnb_common.so", "67c34bfda9a503afe2c8387853c6744e4b895057", "/system/lib/libsqlite_jni.so", "db7d85f37512920ec01a9e2d3bdcb0aa21115028", "/system/lib/libnvmmlite_video.so", "7f566658ac407be357be49ed0e1b0040008dc7e2", "/system/lib/libnvwinsys.so", "66b9067a7ce17960bee8145608d062e983620d64", "/system/lib/libnativehelper.so", "7a3b90e701a5097350bc7b3b36698e91296b2f00", "/system/lib/libsonivox.so", "2a3de261faa7944c5005adf500cf48ebd20881aa", "/system/lib/libskia.so", "a87a0f0c57e760aba4fe9bbeb5be154e68d758ad", "/system/lib/libdrmframework_jni.so", "7648bbb758fb88ec7811fbc2ebdb53815505d34a", "/system/lib/libvideochat_stabilize.so", "f51e325e8fffff591f5525b774d0a1a68a2479a2", "/system/lib/libgui.so", "417c1b257169f607801ebb52e34a82c73e743366", "/system/lib/libjnigraphics.so", "5125e4c6be320739d67115b8572fd8487162069f", "/system/lib/libnvomx.so", "52a6c65c8f892d6a0af09aadd0c8de31eee5987f", "/system/lib/libnvmm_misc.so", "2e12c72f63846b26eefc700b86498cbd04bbf33a", "/system/lib/libEGL.so", "d782b73de3f16c96b9bb99bc5083e9ba16671acb", "/system/lib/libdvm.so", "6757fa5c20f5ac5fafa14f90d6339b662c0aad59", "/system/lib/libstagefright_foundation.so", "ac291a2d78957c1d9f2d003e3ae38c940a1bdd28", "/system/lib/libwpa_client.so", "da59fb469d89a82516d59df92bb9aa35391bf4d4", "/system/lib/libstagefrighthw.so", "6de35b1beef082ea3fa71c654fc8c268fde742c8", "/system/lib/libvideochat_jni.so", "6cc4d56b56118c959c65b65724e947de74f05402", "/system/lib/libnetutils.so", "c0585e5ebadcc4f4c0d6b77f0816b620d11659f4", "/system/lib/libstagefright_avc_common.so", "fbe8da2d20c25a35e80a72f2a586ce0612f0df57", "/system/lib/libdl.so", "cfcdfc7d9cdab3affcc3bab44d25dc73bf3a5dc8", "/system/lib/libjni_latinime.so", "439b77f88b6a99e7d5c61b7f74c910445b2eac19", "/system/lib/libbluedroid.so", "f4cc37b53bfcb96b8694f0af30d98e78dd8dc12f", "/system/lib/libfilterpack_facedetect.so", "62b6b283e25282eecd1176868849e2e87ac0a491", "/system/lib/libfilterpack_imageproc.so", "13605f14be813bdb646936e523a16a265f052e0c", "/system/lib/libmpl.so", "8a71a4157f66225a036137cfcf367b3a2a151860", "/system/lib/libsqlite.so", "405814e394a8d7174cc9c5fb3360c34fcea43369", "/system/lib/libbcc.so", "54287415dca73448dfabe7923f8402582ba31c08", "/system/lib/libgcomm_jni.so", "ea94a30c0dc6bf867395cc0d131e2492d9f80851", "/system/lib/libnvtvmr.so", "20328b8fde648884bb1ce754b339322db5290c65", "/system/lib/libnvodm_misc.so", "46abc121fe00e40346736d0bb7b30a235651d801", "/system/lib/libexif.so", "17eb47e36221e4ef3461ada4fee60be878654663", "/system/lib/libnvdispmgr_d.so", "c21f7f55a547f9d12fbe6be89b46b9b0d0c8964a", "/system/lib/libctest.so", "0da66ce370ccefe037291d6bd0668a5c41d40047", "/system/lib/libz.so", "a489a2037ab1d72c824cf3a0548fe9256239d57d", "/system/lib/libstagefright_soft_vorbisdec.so", "e33c21e3cb923586da40140505e703890a7dd6ba", "/system/lib/libext2_blkid.so", "e13601dc4d14194e1fed7286afa155fe9d10e239", "/system/lib/libandroid_runtime.so", "068e74daa3eebbe23e09b44e7ac380f2c74af3c5", "/system/lib/libsystem_server.so", "7724cd7777c49741506ecf0a72ebb88cd4cbeab0", "/system/lib/libnvwsi.so", "8f5a5333c35ee0e8949127ece18a4bba9dd64bf7", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libfrsdk.so", "6ad2ca8638d63d0f9a3bb58bd95f3591bb46a7e5", "/system/lib/librtp_jni.so", "8b6cb12c7c0ecc126f42ede16fec0363d7b36877", "/system/lib/libvorbisidec.so", "9f2e2a863937fa4e36021dd2baa459440c45577c", "/system/lib/libusbhost.so", "6fcf4f0542e64e0f8b36b85a1347988fce4981eb", "/system/lib/libaudioeffect_jni.so", "5670f6c3bef4caaaf85e68196f6c739fef6d3fe8", "/system/lib/libnvomxadaptor.so", "4a2d7a1a39d93f8088590299765264baedd50b1f", "/system/lib/libsmapi.so", "531a95f491b3eeb314b970c63df220e877d30201", "/system/lib/libstlport.so", "2b745b4d15e887d405c34a08d4218992335a9502", "/system/lib/libnvmmlite_utils.so", "8c8cf3e80850cd7ed4615349b84f383bb55617f5", "/system/lib/libhardware.so", "1686f1dccae9fa70ea7dbe5bc33e9cb44e24a1d2", "/system/lib/libutils.so", "45736489059d22ba831f338e485f0a7aef40544e", "/system/lib/libicui18n.so", "9c8d775cc9d907788f292854b9933f9d65864fee", "/system/lib/python2.6/lib-dynload/parser.so", "3be9ded4b5bde9e1dde311c34ae462bc683d664d", "/system/lib/python2.6/lib-dynload/_struct.so", "ce93f3ee177ef51f63e46ece1f402a1ce146fbca", "/system/lib/python2.6/lib-dynload/math.so", "f736baa5d94ff82549dfa25c9e7f354f97467143", "/system/lib/python2.6/lib-dynload/_fileio.so", "ff50840b8e952e406090b71ee7731a24fb4bf4b1", "/system/lib/python2.6/lib-dynload/time.so", "b8eb544d15658420c941490ed82cfb59caf6d769", "/system/lib/python2.6/lib-dynload/array.so", "6b940cb53e8608b91217286845ffe11fd2af6e5a", "/system/lib/python2.6/lib-dynload/cmath.so", "765a7419f970ea439fcd0fec262b8d4a585bd1bb", "/system/lib/python2.6/lib-dynload/binascii.so", "fcf5126762c7c2af5a4ea2b27b651f99f1b0ca0d", "/system/lib/python2.6/lib-dynload/fcntl.so", "0de86435e3341da4b16f3585bb266412b062da48", "/system/lib/python2.6/lib-dynload/operator.so", "f28e1e9ba2a8f6283407e12445560505c5a5a043", "/system/lib/python2.6/lib-dynload/datetime.so", "fc7ce6f4ece71065e1ff5e7cb05be160f9697267", "/system/lib/python2.6/lib-dynload/strop.so", "5bb11ae0fc7bdf5eb2e4c0e2b88951cf8fbbe535", "/system/lib/python2.6/lib-dynload/_weakref.so", "8472659eb2afb04789f91affa2a2cb0575624f44", "/system/lib/python2.6/lib-dynload/_socket.so", "e33a1b97450e4c99e16155432eaedce7936f6c85", "/system/lib/python2.6/lib-dynload/_collections.so", "d61bd92c99a26fed74444b5e8e0f701d6bd99da9", "/system/lib/python2.6/lib-dynload/_functools.so", "91cecd66a5d4e47c965e8695db6eabcd20bab600", "/system/lib/python2.6/lib-dynload/_random.so", "c7b73dda4d218a312075dda1c606150c39f49de8", "/system/lib/python2.6/lib-dynload/unicodedata.so", "53c1d10515b6d26731a639e0bdce316cad627400", "/system/lib/python2.6/lib-dynload/_nvcamera.so", "d9269e9aa000f07e9e027a7d01d8f5514f9186b5", "/system/lib/libnvcpud.so", "9423fc4cf9d713944c60da78b55d3f64739e7741", "/system/lib/libbcinfo.so", "8ddd087a0520f58d66c703464e391605bff63b50", "/system/lib/libdiskconfig.so", "4d4ddeaaee09096324b8b830193e2faf56bc9007", "/system/lib/libharfbuzz.so", "20028a83225b2df37bc50b0357981c423f0d0000", "/system/lib/libasound.so", "0e828ce13fa0bb55af38a7aea0fc40dfc1ba3e05", "/system/lib/libandroid.so", "8683281dfb8a03a675e32e708136d4b09d0a3fed", "/system/lib/libc.so", "60c41572452079fe053c4fc7ee9a72eef9d5a8dd", "/system/lib/libnvmm_image.so", "fafeea61631c5f7110e13c0aa0c75cd0212b3f11", "/system/lib/libstagefright_soft_h264dec.so", "c7d2c379e6219652c9b99568d478e542b2fda3a1", "/system/lib/libnvomxilclient.so", "7afd8cf8669a1c39ecaef67a902b844747fad0f3", "/system/lib/libpowermanager.so", "3b9adc50ba012ed4557a44c384360525d7b45fb6", "/system/lib/libstagefright_yuv.so", "5c6b423c5a9df9d5e2b86c5f535de1f3cf085ce4", "/system/lib/libssl.so", "b391c182f4be69d67255d35a7122e03f33be2688", "/system/lib/libsoundpool.so", "86c4965ea6d5cd9608e1fa786f7cd1f967b3c872", "/system/lib/libOpenSLES.so", "9355d1899308fba0f7389873474982c7f29015ab", "/system/lib/libnetlink.so", "7f15c7c73c6cf927dfe9778b353906da2dedb665", "/system/lib/libardrv_dynamic.so", "c321850c20660885cbd9912be7d950547b41d3c9", "/system/lib/libui.so", "6f484ec6b76bc605ab91fe553bc962814730aefe", "/system/lib/libnvmm_vc1_video.so", "92dac6c2d8a2a5a52305e1a5cb3e6b43f5a68807", "/system/lib/libsurfaceflinger_client.so", "bedbc4ee036e2a4f7e6fbdbcef43852e34b8bdab", "/system/lib/libnvcontrol_jni.so", "387f0afce1813067c12122b7cd93c1c530326e90", "/system/lib/libiprouteutil.so", "0faeb9e9f8149e6d3ac6ab7b6eaec1ab6ebd8f29", "/system/lib/libmtp.so", "5ff591b6fd031545e1b30f6d3aea0e852df62d40", "/system/lib/libtf_crypto_sst.so", "1cbd546f9d9aaeb0681cb408474ed8b076357449", "/system/lib/libvideoeditor_jni.so", "8381fd2ae375c0d4ca75c112e871c86eb9e0a7bd", "/system/lib/libchromium_net.so", "bf5ccf8e076fd62daa45e2258be6d2b31de74a95", "/system/lib/libnvsm.so", "91ad428b80e74e43b421818ddedc780151cd81e7", "/system/lib/libexpat.so", "5812a8f9f9312ec86309badd170ddc699034fcae", "/system/lib/libnvddk_2d.so", "13090a3dd9e99bf68d87e4b32e39a73f63f08244", "/system/lib/libnvaviparserhal.so", "c5ce72cc79c5f2a8dfbda62c82d05d0fc8b1f79f", "/system/lib/libOpenMAXAL.so", "f3cad9bd6ae4fb45c1b661bc3a5a793ebc32c8eb", "/system/lib/libglib.so", "5d886427c25490e31595da6743b85e6985c50fe7", "/system/lib/libstagefright_enc_common.so", "b0de49469db0ad0003f20b33031c12ae0afb7260", "/system/lib/libnvparser.so", "b4880272f81096bce492e72c6a74bc8b3b548d84", "/system/lib/libnvmm_aviparser.so", "436473019ea88a20c8ccb3521248d919136cfba3", "/system/lib/libnvrm.so", "c400b4031310f731b64e05c1bc7b7101a28e8dd6", "/system/lib/libstagefright_omx.so", "ce4e741cc9d8abaae9abe3501ef884e9036a58c9");
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, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/fake.txt");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 0700, "/system/xbin/tcpdump");
set_perm(0, 0, 06755, "/system/xbin/su");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p2");
show_progress(0.100000, 0);
#package_extract_file("flexrom.img", "/dev/block/mmcblk0p6");
#package_extract_dir("EC", "/tmp/");
#set_perm(0, 2000, 0755, "/tmp/EC_flash");
#set_perm(0, 2000, 0755, "/tmp/ec.rom");
#package_extract_file("bootloader.blob","/dev/block/mmcblk0p5");
unmount("/flex");
unmount("/system");
