assert(getprop("ro.product.device") == "toro" || getprop("ro.build.product") == "toro");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "0");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");
package_extract_dir("system", "/system");
symlink("/factory/hdcp.keys", "/system/vendor/firmware/hdcp.keys");
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/libbluedroid.so", "325999bf1e0ac373212f9f4d613633d9dacf01bf", "/system/lib/libiprouteutil.so", "847c54a57988f77f96b0c841c4a51dd1d6cd525c", "/system/lib/libz.so", "f80312e132ac3bf09eae9b489ea30d5edcaf99e5", "/system/lib/libc.so", "a2ad7c2f6fbbf1b3ad5e79e92a1db0d9b9fc18a3", "/system/lib/libext2_com_err.so", "ed432744b9cb891258ac6c3b5904490554962ffc", "/system/lib/libstagefright_foundation.so", "ee3cc462f2a3e44f36af8fd619777dd07d334c6c", "/system/lib/libRS.so", "2ce9f96d4add5f06a6aa535969f57f54e9ad10fb", "/system/lib/libwpa_client.so", "6573b4a8d09b8ddde595803e033de5c3e9e32366", "/system/lib/libexpat.so", "407c93bba25116f3d9b1952451563a27c0258393", "/system/lib/libSR_AudioIn.so", "1e6745906358031f4b0ad87e233b68c1174f9921", "/system/lib/libdrm1.so", "1dc468b88601d30de96ab41d1997e0d0eb89d8b6", "/system/lib/libtinyalsa.so", "603cd6b74413ab47279bb6fee578a160daa30c38", "/system/lib/libnetlink.so", "9ec8a4611b479018b8b3bfb33334936d527acfe1", "/system/lib/libpng.so", "5a74d4b0d383108578602a044c39dc490bc2b453", "/system/lib/libstagefright.so", "76af6a22cb65a8760a1b81a2946d8a27823144b4", "/system/lib/libstagefright_soft_vorbisdec.so", "58a3426b662d5a99ba42abcefee9520a6dbdfc7a", "/system/lib/libinvensense_hal.so", "b0a4ae0a83ff4d87bd0e8727b3f76cf7674282b5", "/system/lib/libstagefright_yuv.so", "28e840bdc19a3dc86050336b8a66deddde99d175", "/system/lib/libjnigraphics.so", "e48a57da42a6735738f75bd54e04903308c864e0", "/system/lib/libstlport.so", "f7f4edde5af6d92d27c2b9e54ae441734879adae", "/system/lib/libjpeg.so", "2767a623c0a0c4c45e8607102ba6bd33ff54e823", "/system/lib/libstagefright_soft_mpeg4dec.so", "6205c4154447ba192ff239caed2b86d5c214a6b1", "/system/lib/libvariablespeed.so", "039d6fc70a7851acda7be2786a4e1c4ea10c7d32", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libnfc.so", "a4e51d99d0531e6e155e717d8c66e210723f6102", "/system/lib/libaudioeffect_jni.so", "6a822197cd37501f6ca038944660df8157749d42", "/system/lib/soundfx/libreverbwrapper.so", "ac8c3233fe105e09f3ab51772ef1e6d68eebb562", "/system/lib/soundfx/libaudiopreprocessing.so", "5bbbd588ab265234638f24b9adb8545f19fbc897", "/system/lib/soundfx/libvisualizer.so", "114c0c8f7942abcfef89b4cf5d112a39cb4ce9c9", "/system/lib/soundfx/libbundlewrapper.so", "406144f2adcc4cf921ae9a0a87cfaf62eac1b612", "/system/lib/libsrec_jni.so", "39ee0b2a521e08442c1242e6f031fbd228bc51d9", "/system/lib/libstagefright_soft_mp3dec.so", "4c051332ba258e2d451d36814402d3afe09a1794", "/system/lib/libutils.so", "e3aedc974788a809a58ce7744097b7206df8c86f", "/system/lib/libbcinfo.so", "9e6bbb9b38f21411c6bbab50a0effcc93e267d6b", "/system/lib/libspeexresampler.so", "3eaa1d573783f66ba5f188f639585f879ba712c0", "/system/lib/libdl.so", "a895adf310c4290b4c75434799e145724dced8f4", "/system/lib/libstagefrighthw.so", "121c985644ac6897163d2bca1767bbd379f51627", "/system/lib/liblog.so", "84d69aee13f4c19ce8696531c86f492b57eb1814", "/system/lib/libm.so", "24654343de3277cc45b2176fbb9a913ebac5bfb4", "/system/lib/libGLESv2.so", "9a0a72a1cfc4c31c63ee10d2a822ec190ced9cef", "/system/lib/libFFTEm.so", "6fb922fdb45512c8db56892fb99ddd86e95bb648", "/system/lib/libWnnJpnDic.so", "bd9192201d5ef16ba715f65def15323946bb1593", "/system/lib/libdrmframework_jni.so", "46974780f37ff9062d4bc445f51ddc1aeb7a3004", "/system/lib/libsyncml_port.so", "828d50db8ec4910cbf5ca1163bbef7129fe70aec", "/system/lib/libGLESv2_dbg.so", "a751413b1ac46fdcbb91f5914ccc168d592a9d20", "/system/lib/libandroid.so", "904a51f6f135eba3f2919b273a71275e1a398a19", "/system/lib/libmediaplayerservice.so", "7b919b8311ea83141c91b4233cabe37ea110549b", "/system/lib/libbluetooth.so", "625e4d02935a04f895c32c0dae65def13f997803", "/system/lib/libril.so", "c6048a96401ca3b40d9e1058ef21fbd8a64075bd", "/system/lib/libjni_mosaic.so", "70770b4702cfcb1a9037b09200ca53d3c07f3203", "/system/lib/libWnnEngDic.so", "284ab6217ff8d0d19d90ccfc2fa740611a1722b7", "/system/lib/libwnndict.so", "1080aaab5ef5f7bb23c4ca32fa1989eea1c0330b", "/system/lib/libstagefright_omx.so", "b0296c749a448f8721ae128b60ef28b080ba8742", "/system/lib/libgabi++.so", "b860566faecb776a81a4c91836c82483a981ec34", "/system/lib/libOMX.TI.DUCATI1.VIDEO.CAMERA.so", "37b0101404b929a88c68f16d29d598f105549787", "/system/lib/libext2_uuid.so", "7b162d38ab1f4409aed6b852f882a5c4dbac3786", "/system/lib/bluez-plugin/audio.so", "44b43a0bdc2d1c7b4f99024a2d032df7b68c35b3", "/system/lib/bluez-plugin/input.so", "fe1b54394ac3511bf4b1fe14b2a9d77197315502", "/system/lib/bluez-plugin/network.so", "630b134b6873b6eaab0e010636633714f9216818", "/system/lib/bluez-plugin/bluetooth-health.so", "d8be958bbcc961fb7ff8c48dacf9e3efb52ea1dd", "/system/lib/libsoundpool.so", "4d4396681ffc5a97e3a8094dd85f90a8618724c3", "/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.so", "c22b522f4362d4a3d764bd976fe064fef2fdac16", "/system/lib/libicuuc.so", "0d078efae6f2c9dd917a0feeccc7482d55252d22", "/system/lib/libext2fs.so", "37835c005f85d448ec9468baa3ba156708e5bf8d", "/system/lib/libion.so", "e66ff54c3763fe9f2d6712593db2090f9ecf1498", "/system/lib/libOMX.TI.DUCATI1.VIDEO.DECODER.secure.so", "4fe6721fe090b4097ffd5104af04427b81db9bd9", "/system/lib/libpower.so", "57c0f33aa8f8e0e85333fced305ac638128a126c", "/system/lib/libpixelflinger.so", "9c6d652db9001fe50952e3b81b8eb15152d6c882", "/system/lib/libnfc_ndef.so", "7fa3f9586ad1ea3c63b656b871a94e24680d2db8", "/system/lib/libvideoeditorplayer.so", "1f095cc8ffbbf063115b4566120147e1f1e2de1a", "/system/lib/libwebrtc_audio_preprocessing.so", "a7f3ad83c3a04df67ddbecf0e83fd26d815e5b93", "/system/lib/libmllite.so", "4220ddd41949d2ef8e15358a4f69d9dbdcab8bef", "/system/lib/libvideoeditor_jni.so", "f3365793250f0d8e79e5368f4236ba55e77bda42", "/system/lib/libusbhost.so", "76d4c70e7e4f14efb102d9a5363af76aa819cab0", "/system/lib/libnativehelper.so", "a377c6c8f5f3f516bbb05156c44435b3c0606dfd", "/system/lib/libsystem_server.so", "d5e8b6215da91c81039a9e62f1da0900370eb469", "/system/lib/libandroid_runtime.so", "316f42dbdc2616b9fa1cfa33d6b2c8aec96d73f7", "/system/lib/libOpenMAXAL.so", "31544563450331f97e23e4bf5ef9c30496e1b808", "/system/lib/libmtp.so", "6d80d58b28e891f3980b16264c76bba7a3625a3c", "/system/lib/libcamera_client.so", "938f734325f0184ab949dbd3f261a93ab8eede9c", "/system/lib/libchromium_net.so", "ee5c380b2d9b6cea63cdb923fcb3c918cb3d72c0", "/system/lib/libsurfaceflinger_client.so", "12ba180d276b44d96e23f91c3d328f6ffdeed0eb", "/system/lib/libttscompat.so", "b4ab67e809342d5b2193ce1cd7cafce59cbd438d", "/system/lib/libicui18n.so", "4317108924c1d3d2347bf66febb4a36034df58da", "/system/lib/libnetutils.so", "8dd7ce302b138351a5304fe7cff65a85233121f3", "/system/lib/libdbus.so", "d5f64ae27715529bd3301808c68dce90db774e11", "/system/lib/libttspico.so", "385a53bee3d2c3064d1199ed09456f0ec92f5eae", "/system/lib/libemoji.so", "fd762ceee1ab95284458be1327f3fa20238fc62d", "/system/lib/libwebcore.so", "af7895e0f830fef8773835ed2ed6e767857cbc42", "/system/lib/libEGL.so", "fb4379e6a32929d0107ff2ba99ddcf282a6b6623", "/system/lib/libsysutils.so", "1b5a126302dbed53388e8db40600d846c0353ec7", "/system/lib/drm/libfwdlockengine.so", "c0d9eb10b3433c1e9ac93c4b4f79af9427c1eabd", "/system/lib/libstdc++.so", "b1d64771270c10b407b7ea1b0cda2e44137fae9d", "/system/lib/libsonivox.so", "56902e559a23f14b1c8a2d2064a667be6e6d3361", "/system/lib/libmlplatform.so", "f038b499dc397c0b322c2c8ffc1068ca48b8ef30", "/system/lib/librs_jni.so", "08068da3f2ca3dc773516bc2538dc9afa25d6790", "/system/lib/libI420colorconvert.so", "bddc896923dcd10dacf7aa39f3eaeb805bc92914", "/system/lib/libext2_blkid.so", "e7d39b8f277483b5ed9bf366254b7d3cadf7c7c5", "/system/lib/libOMX.TI.DUCATI1.VIDEO.MPEG4E.so", "3980fec4d191d1d92b527b6a3374407346726571", "/system/lib/libstagefright_soft_g711dec.so", "a8882d1a3d217d374cfb169c76c289e54415778f", "/system/lib/libglib.so", "c7b63745202c6ac60772d51a6498dff323418cb2", "/system/lib/libext2_profile.so", "b0a123319408e32d3d13dbb46b500f7c5dd6ef82", "/system/lib/libmedia_jni.so", "fbb5462abeeb219cd310f03a44217144b34c67fb", "/system/lib/libstagefright_soft_h264dec.so", "60b92ee9129afcfeebe45a10c765354d94f0435d", "/system/lib/libbluetoothd.so", "9826301034f679576a1d4fc2562fcfa2877e2c3d", "/system/lib/libstagefright_soft_vpxdec.so", "9ab64152073f584404498dbe1659288ece05a0c9", "/system/lib/libtiutils.so", "9b76f978d90120cacc63cf32d3ef9120af6eafaf", "/system/lib/libharfbuzz.so", "a3a2cd9f0e4584fcbf108db481fcf133da4577c9", "/system/lib/libcrypto.so", "b6f845fb9b111c3f5b27cfe5cbc985e9585e2a37", "/system/lib/libdefcontainer_jni.so", "c09dc9c1611f9e20f33ebb51f2019e6ca99bb351", "/system/lib/libaudioutils.so", "ad89482caea07bcbece9e5cf77ef91119f16298d", "/system/lib/libhardware_legacy.so", "e82bcfbbb7394238fde97f91fcf37217797ea75e", "/system/lib/libbinder.so", "31fda829ebc345258272d1a9097b19bf4d9e5e9a", "/system/lib/libOMX.TI.DUCATI1.VIDEO.H264E.so", "ed9532e8693bb0fbc9c73aab9d42cf55ab01e81d", "/system/lib/libeffects.so", "debf67f40292d978f1987799d42f5ebd2a81f798", "/system/lib/libext2_e2p.so", "24b8764f4f4f360d0c7a4e7237ba3c7c0635af61", "/system/lib/libmedia.so", "6e565304068c9eabbee2f277a3e6c55ef1a9e860", "/system/lib/libpagemap.so", "1307155d1add6ea6d4c649941d5e50c0a7239619", "/system/lib/libexif.so", "4e5b653bb36632f9e354a820e172625839eefb38", "/system/lib/libui.so", "8119ca79f8a3dab65026fe74b863d702cd91fdc2", "/system/lib/libdomx.so", "c8a1b3a5340cdb83681087dc9f390ea54f8215e1", "/system/lib/libsqlite.so", "ded8cc69a65c948f1697223d834070919d80eed2", "/system/lib/libsyncml_core.so", "b04f10a1568bcc19eacddba43854a26ddef14f2d", "/system/lib/libOpenSLES.so", "0b9174e852abb3fdf88ba3a5770e64108cf031d4", "/system/lib/librtp_jni.so", "f49ec3d636dbcaf8800cf6fd8cf5d062322b17ac", "/system/lib/libthread_db.so", "7d998827a54a3772f0d95c5a0f6e341bd5e0a287", "/system/lib/libaudioflinger.so", "03a200f47fcb1454808a7cdff13293a7fea34570", "/system/lib/libgui.so", "fca2dbd3a5303ef9cc2c8fae8d01b4d32d4e426a", "/system/lib/libjni_latinime.so", "375fec8f8268bdd7caa0c0bf869d8a53348284c7", "/system/lib/libETC1.so", "fc464c4b1432ef5bf833d223973dac163985e55a", "/system/lib/libsensorservice.so", "a64a109fab92d52434fd0eef8b3b271fc344f796", "/system/lib/libstagefright_avc_common.so", "659f63a15bbbcd604be7db26514a29a6bdbe8b50", "/system/lib/libfilterfw.so", "4eac2f1444234d194e4ee81284cec75f853bd75e", "/system/lib/libdrm1_jni.so", "153f3d11755b5f131b95520a435a9c8ea299d8a2", "/system/lib/libstagefright_soft_aacdec.so", "033f6dee62a2988fdd03e940f4cb5284505823c6", "/system/lib/libmm_osal.so", "aff7a5e5484885e4ddb40c88eeb98230a3620e85", "/system/lib/libcutils.so", "9259ddc92381b858f54b050aca5d3b73718ad2e5", "/system/lib/libhwui.so", "478693126a736d86bc3f262771b853a7574a12e0", "/system/lib/libreference-ril.so", "03922de6b76472160b4f3d489be654f775cbd8ad", "/system/lib/hw/gralloc.default.so", "ff72bdd6869a64f5b7dce81911f6b9b633dbc244", "/system/lib/hw/sensors.tuna.so", "3a2392a102f8920b4156d77038ad6e4c98f4cbed", "/system/lib/hw/lights.tuna.so", "85f80ec6d9035e393e02325a1425c1160560a24c", "/system/lib/hw/lights.goldfish.so", "5be40c26d1422787e13be766a06f299cc97271da", "/system/lib/hw/audio.primary.default.so", "f367c5daeb25fe199fe34206388ebb685992e613", "/system/lib/hw/camera.omap4.so", "b3a20b63f713369728ccd94cbe430fbe75f1c72a", "/system/lib/hw/sensors.goldfish.so", "7fc2c2f079651fab39aa89cc73f41e094124addd", "/system/lib/hw/audio.a2dp.default.so", "b6dac505535f5fcd02d3629186917414de8f585e", "/system/lib/hw/gps.goldfish.so", "bf1a721d3a5c671d49609f4edde52eb4cbc438b4", "/system/lib/hw/audio_policy.default.so", "bae0dacda47fb31512286072feb0ffb0c6a51e02", "/system/lib/hw/camera.goldfish.so", "3df6c7956eecdbd534e725f2f954476b825fa466", "/system/lib/hw/nfc.tuna.so", "e07433c5c394d232327d7e69bab6fd6edba52cae", "/system/lib/hw/audio.primary.tuna.so", "5d9e5b009e99b7a80f51137172e232dfde911a4b", "/system/lib/libandroid_servers.so", "389103c622604bbb659a86f5a6d4b0c20d875264", "/system/lib/libssl.so", "1472200e4d82dd383f22f7a325815b76db4d941c", "/system/lib/libstagefright_enc_common.so", "749b63aafedc96d7e33f7976ffd7bec7c4e1d23b", "/system/lib/libstagefright_soft_amrdec.so", "e41fe5da34106e1eb2f9fb24030b81ff735f3f85", "/system/lib/libctest.so", "a9da6c996ff0ebf95c777dc120d580e1ea901b0b", "/system/lib/libfilterpack_imageproc.so", "993f6547572e16ef422799d92c5af34de320bffa", "/system/lib/libbtio.so", "0fd2873aa527ebb400b22d3efb6352cd1193a5c3", "/system/lib/libwilhelm.so", "49fedfd7147f5e4e3b9ba69a80e37ca7ad848489", "/system/lib/libvorbisidec.so", "a019700242d0c7a08a0f8c8793c25c5f23fb6671", "/system/lib/libdrmframework.so", "83b084df55420a42cd5da16eeb4adcc4a0baead9", "/system/lib/libbcc.so", "6f91e17fe60bbbfa8cb256ec906ff68d43a95091", "/system/lib/libpowermanager.so", "d035a25d4782466a6accd99453771a4cd6bcb011", "/system/lib/libdvm.so", "d3c4a520a6e3f3cb12b32bdd4cae5716cef4b7e7", "/system/lib/libc_malloc_debug_leak.so", "d11d6d61a39f51fa7b73a173a5232a45168997d4", "/system/lib/libOMX.TI.DUCATI1.MISC.SAMPLE.so", "cd912984cba866f944ff7900cdba89dd2bf54cdb", "/system/lib/libskia.so", "4f35fdb8a8cdc14228d2e3661445488f5ab8b9b3", "/system/lib/libsecril-client.so", "26fb3f04cff45337d73e8a05dc34a7d0fdbd4f3a", "/system/lib/libdiskconfig.so", "49cc98405eb1eb71c51b2bd79e8cf0f55023241f", "/system/lib/libsqlite_jni.so", "702f8187e8500a3ec54c199b7b9f2b16a6844dfe", "/system/lib/libGLESv1_CM.so", "a05d2f02232d10f2a70a418c3ba81436d5943ea1", "/system/lib/egl/egl.cfg", "4c37531c1ebd969e871fe24ed194daeae6f599df", "/system/lib/egl/libGLES_android.so", "d5c5b25af3a2b2628a3b4bc1056bb0ed50d155b0", "/system/lib/libsurfaceflinger.so", "0396459fd6bd45547b085bcf4896294f2c5e689f", "/system/lib/libbcc.so.sha1", "06718fec74954c1bb0d32dd6c47fbafa10af9e63", "/system/lib/libhardware.so", "6718c851cd2a1fbc3a3e3993c1228dc8da44c4d0", "/system/lib/libmicrobes_jni.so", "1c5b27132b9103ea2655049cae0d69249395da47", "/system/lib/lib_gsd4t.so", "aff9aada4f1947abeb9a652c228bcc5a24ab08a7", "/system/lib/libcameraservice.so", "974a14fb1bbae21fbe0e3925455c0099e08794ad", "/system/lib/libinput.so", "597367c11262f7feba107a50397d11e6e3e9c24d", "/system/lib/libstagefright_amrnb_common.so", "7b01f78a2507471ce093a93b02e4b1ab0b3a5cf1", "/system/lib/libOMX_Core.so", "28b9d9b80322cd465b3e074aa9744b4838254ed6", "/system/lib/libnfc_jni.so", "cff74a09d495e9ce60e56706bb79e9e6e4376280", "/system/lib/libc_malloc_debug_qemu.so", "703cbb5a327c6d1be9321c46a59c2d4c858ff5e5", "/system/lib/libext4_utils.so", "8da03abcb34bc228c46dbef318c83b72b1ce0dc8");
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_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/sirfgps.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/res");
set_perm(0, 0, 0644, "/system/vendor/res/images/dock/dock.png");
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_recursive(0, 0, 0755, 0555, "/system/etc/init.d");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
run_program("/tmp/backuptool.sh", "restore");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/platform/omap/omap_hsmmc.0/by-name/boot");
show_progress(0.100000, 0);
unmount("/system");