assert(!less_than_int(1367894128, getprop("ro.build.date.utc")));
assert(getprop("ro.product.device") == "f16ref" ||
       getprop("ro.build.product") == "f16ref");
show_progress(0.700000, 60);
format("yaffs2", "MTD", "system", "0");
mount("yaffs2", "MTD", "system", "/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/arp", "/system/xbin/ash", "/system/xbin/awk",
        "/system/xbin/basename", "/system/xbin/bbconfig", "/system/xbin/blkid",
        "/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
        "/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
        "/system/xbin/catv", "/system/xbin/chgrp", "/system/xbin/chmod",
        "/system/xbin/chown", "/system/xbin/chroot", "/system/xbin/cksum",
        "/system/xbin/clear", "/system/xbin/cmp", "/system/xbin/cp",
        "/system/xbin/cpio", "/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/expr", "/system/xbin/false", "/system/xbin/fbset",
        "/system/xbin/fdisk", "/system/xbin/fgrep", "/system/xbin/find",
        "/system/xbin/fold", "/system/xbin/free", "/system/xbin/freeramdisk",
        "/system/xbin/fuser", "/system/xbin/getopt", "/system/xbin/grep",
        "/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/head",
        "/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
        "/system/xbin/insmod", "/system/xbin/install", "/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/lsmod",
        "/system/xbin/lspci", "/system/xbin/lsusb", "/system/xbin/lzop",
        "/system/xbin/lzopcat", "/system/xbin/md5sum", "/system/xbin/mkdir",
        "/system/xbin/mkdosfs", "/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/modprobe", "/system/xbin/more", "/system/xbin/mount",
        "/system/xbin/mountpoint", "/system/xbin/mv", "/system/xbin/netstat",
        "/system/xbin/nice", "/system/xbin/nohup", "/system/xbin/ntpd",
        "/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
        "/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
        "/system/xbin/printenv", "/system/xbin/printf", "/system/xbin/ps",
        "/system/xbin/pwd", "/system/xbin/rdev", "/system/xbin/readlink",
        "/system/xbin/realpath", "/system/xbin/renice", "/system/xbin/reset",
        "/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
        "/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/sed",
        "/system/xbin/seq", "/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/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/test", "/system/xbin/tftp",
        "/system/xbin/time", "/system/xbin/top", "/system/xbin/touch",
        "/system/xbin/tr", "/system/xbin/traceroute", "/system/xbin/true",
        "/system/xbin/tty", "/system/xbin/tune2fs", "/system/xbin/umount",
        "/system/xbin/uname", "/system/xbin/uniq", "/system/xbin/unix2dos",
        "/system/xbin/unlzop", "/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/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/libgui.so", "de83d7cd910a962370deb3c110163821f02b3ca1", "/system/lib/libnfc_ndef.so", "2e9f9e6f0b63d3cb75659974644cdbbe90a302d7", "/system/lib/libnetutils.so", "d348c03aeb52c8bdab6f177fcc82769ca2ee26c0", "/system/lib/libjni_latinime.so", "898cf22a264c3859ea45ffa7d5ce6ee0926a1ce4", "/system/lib/libcrypto.so", "63c414646279add74ca7e4ed055ab3a84c2b73cb", "/system/lib/libvariablespeed.so", "981d115977c191475a9091593293ab4f56d3ee04", "/system/lib/libext2_uuid.so", "b278830fe4a846c08daa380244e6a08ccd5b72d9", "/system/lib/libctest.so", "4f88a5c261513635a3535ccf142801750d91c1de", "/system/lib/libmdns_jni.so", "a67a974d85ad96aca30298a065c4d11c5642f136", "/system/lib/soundfx/libaudiopreprocessing.so", "8e47a34906abba7780c83cba891e0114702f18de", "/system/lib/soundfx/libbundlewrapper.so", "da80f73fda56dbb8b4ee83bea1d7e25b4e316c46", "/system/lib/soundfx/libreverbwrapper.so", "14bc15fa5588f376e81bcf791d67e8e45d75d4f2", "/system/lib/soundfx/libvisualizer.so", "fe9f92250103a01b4a330881e23af6c6c4a28352", "/system/lib/libamcodec.so", "085df7e9b3b82ec0700c5613b862962699efcc54", "/system/lib/libusb.so", "2549a5ef658a684b52cf003bf84a8d4d0606f6bf", "/system/lib/libandroid.so", "b991a93b8a6c1515f2bd7fb1fe8a5aa8521907d4", "/system/lib/libstagefright_soft_vorbisdec.so", "ce1d637489de9f87398285a334dd0e8bc31497ba", "/system/lib/libmms.so", "a6a3f340c80822a5e4acc1854dd19870785b7b9e", "/system/lib/libandroid_servers.so", "10abce98bbd9f4dbb296145f3320ba60f0734a2a", "/system/lib/libext4_utils.so", "417d813d3491d9421607e0ccd040431a7843b198", "/system/lib/libamavjni.so", "ee8fde2978eb5d1a60dec44694773926012b12ed", "/system/lib/libjnidvbdatabase.so", "9929855761dbd4dc9d4241ca1ed421ae4fdc4ccb", "/system/lib/libexif.so", "2fb6fb6319a46a08d7c2dbe3c80fb497470deeca", "/system/lib/libiprouteutil.so", "a481597136abe25bb90b41927881eb246bc7ef8c", "/system/lib/libthread_db.so", "ec33247c34f9f664bce5392f0f7d3a32173134b5", "/system/lib/libETC1.so", "4daeb96c26bf49c0a979dca3db7d048d0d27c09e", "/system/lib/libape.so", "9ea81745f0bcd4dec2b90467b511c14e1148b838", "/system/lib/libttspico.so", "5039a0a9a60bbcb60cd8169d7ddfb04abc01e700", "/system/lib/libpixelflinger.so", "1f868f880c07bb9e093c79854a6404ec0a169c72", "/system/lib/libc.so", "2c2b0edae543ce8d37c6ef8ef498a5522f58a81c", "/system/lib/libinput.so", "deb501c19056fae8bba0cea6d83e3076e1ccbf37", "/system/lib/libalacdecode.so", "1ff2aacc72cba8bc323ef46264a996dc7a8810ea", "/system/lib/libjnidvbfrontendctrl.so", "50b0bcf10e0241f7b7a0d7d24ca18c2cdcbd75cb", "/system/lib/libstagefright_foundation.so", "dcb2aa032631a24c965f811cac077b29d0d8333b", "/system/lib/libstagefright_soft_amrdec.so", "aeeb133093525cbd5ecb6368854ff45537107c67", "/system/lib/libusbhost.so", "1250fa7b49fbb1a4e0ff496f035ee53c649ed95e", "/system/lib/libharfbuzz.so", "95330593ef70417942e38734ec4ddd9f6c4c3c8c", "/system/lib/libmedia.so", "1f9896a9c7b173adb8d3423422f90236e19e1823", "/system/lib/libbcinfo.so", "ab729a04e59989593ee6c0712ccfe53d27da0511", "/system/lib/libamplayerjni.so", "b89b2930f0e05c4d88289c623517d15bd68b1acc", "/system/lib/libpowermanager.so", "563f22bb7d19b792c7403aa62918df9f8aacba37", "/system/lib/libfilterpack_imageproc.so", "05d38e7909085e56ff212013a3a2d50c3edf719a", "/system/lib/libjnidvbscanner.so", "a039b277238c907563f0b228aa63ebbb4cf03612", "/system/lib/libsmbmnt.so", "25d5737119e33f9f35921b6027eadc9243d423a5", "/system/lib/libDeflatingDecompressor.so", "1f3665a36fd8dfa21af24b81e6b24b82ac64ac04", "/system/lib/libsensorservice.so", "890422e594ec72d0a5e2d83ebc7c490592ba2d52", "/system/lib/libstagefright_soft_g711dec.so", "58df07e9f8ad640c5de5f31eb1baf0234cb728be", "/system/lib/libpower.so", "6c47d4eda799adc265b2b9a1838aac040648a528", "/system/lib/libsqlite_jni.so", "3155fe533bf8ad61e9548691ac35366381ef20e0", "/system/lib/libasound.so", "eadecd7a0f4aca60d7d808677d21d3a9ee4e6a4b", "/system/lib/libRS.so", "a20da7fb1cfcd33337a530335973a7fff7574f9c", "/system/lib/libamlpicjni.so", "b14b06d4914147252003cb859ed20c3db417ceca", "/system/lib/libdbus.so", "135c713887a6ca0e4b1f7f023ef2c899bccb97c5", "/system/lib/libGLESv2.so", "a7bd75e38581f3379aa9c19b76aeea18f0f339ec", "/system/lib/libvideoeditorplayer.so", "5b4d31ed2e93f7d432f6c71aff394bd0d903704e", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/cfg80211.ko", "4c98fee31f058692e11d311a4724a29841e14b5b", "/system/lib/lib_driver_load.so", "5ca874ce937d10dfbc0bdafde9fc3900742de070", "/system/lib/libsmbbase.so", "1d43647a308e25ada4347f5286d4e7875862b036", "/system/lib/libhardware.so", "b62edfbdf574ac3735b116d70da055272779dba5", "/system/lib/libaudioeffect_jni.so", "a617e6db14f6f7f63afb74277ed44e871d21294d", "/system/lib/libjnigraphics.so", "e1df6ae659e7619b0325c00c27059479e4642eee", "/system/lib/libsysutils.so", "7f87f04409692d8a19152f956eae80b82f3224d1", "/system/lib/libext2_com_err.so", "7fc192c6c70e23ef1c20eca1ac8f97bd8722cfd2", "/system/lib/libamplayer.so", "f595c1de4259681d04d8e33ee31576259e182f3d", "/system/lib/libdl.so", "fc6be7756cc7b9a7c0b7addad1422cedec24f0a1", "/system/lib/libpickit.so", "dd7eb1fedcf56a7fc31813d48b04f1f6a3fc765d", "/system/lib/libdrmframework_jni.so", "a3faebc2b9ae7ee7e763f3d8017c6a89a84906f1", "/system/lib/libreference-ril.so", "0a2d1755c85197a78673a9df9a78d1520ccb33f2", "/system/lib/libssl.so", "bc4a0e6d1d46ab03866f953e1fc912af76ad1cbb", "/system/lib/dhd.ko", "340be1586518c45436d788345c6e8d6072a02016", "/system/lib/libstagefright_yuv.so", "80ba77c09ee4105f0a3f9ba8ae695477125e5920", "/system/lib/librtp_jni.so", "dda43bc72ee0771fc071ad8db7050ed61e54194d", "/system/lib/libjnidsc.so", "e5d154d71e0773532a04afaebe2bfe09ebd6cc58", "/system/lib/libicui18n.so", "ba95be018fa49f4e4c6012e97bd0ca0cd1eba1d4", "/system/lib/libFFTEm.so", "844f30a67f84324c7416582f66b71355cf7f260c", "/system/lib/libjnidvbepgscanner.so", "53c0dc969b6d9f012ae5f1298b8084f14a31379e", "/system/lib/drm/libfwdlockengine.so", "9bcd2c002da4007a9494d0bf9ec3a8caa3ffb6d2", "/system/lib/libSR_AudioIn.so", "49726d43257a6fd1bab6839372b17744a4cd5715", "/system/lib/libstagefright_avc_common.so", "10826ec7771adfcf61e46d683c78f389959d8b27", "/system/lib/libstagefright_enc_common.so", "6f658b133b92102555146d8147fae5fcf780077a", "/system/lib/libutils.so", "ef1e0624fc29e2cc192fef634f9856a1060c4491", "/system/lib/libavutil.so", "8db76f02728246d34bf273fe4c98209e973541b9", "/system/lib/libdrmframework.so", "acaf8d4b5da6d44df7f78c0d17155a3a9b7282ff", "/system/lib/libGLESv1_CM.so", "a52756f5a63c9827632587d025ee28f67739bd97", "/system/lib/libext2fs.so", "13eff0cd5f62f8ea52df0bd2f490c21345cb1076", "/system/lib/libjnifrontend.so", "f96513a68507c7deaeb450e409700df48e7ff117", "/system/lib/libam_mw.so", "93d305e133f8e40addead02b00a9fa99b1044335", "/system/lib/libspeexresampler.so", "5fb9420cd6c9d93848aa813948046f62ac1847e4", "/system/lib/libext2_e2p.so", "d40b7666c2de28aa0771c469312d3554b15cbeb1", "/system/lib/libstdc++.so", "fe778405a536cdb271ecbf54a9865dbd89dcc6e5", "/system/lib/libpppoejni.so", "3fcb4b16691b16d3a2137623b8319ec850f93b4b", "/system/lib/libvorbisidec.so", "928e4add55d34c885ae0e68745a93c7822f743a6", "/system/lib/libUMP.so", "18f1b781c9e2c221e90abdd1b2440a9f7a4efd18", "/system/lib/libjnifilter.so", "122bb3998fc527e6ea535011bc5a8eeed0823b4c", "/system/lib/compat.ko", "c99e3da1bacda46192f3b4274e03b1453cd09e2f", "/system/lib/libbcc.so", "c7f2db2d1858f642922f7446807c235a010935d8", "/system/lib/libbcc.so.sha1", "92bde5dfae86175378ae4d5fe80e7c957f899808", "/system/lib/libwpa_client.so", "2f3e277dc12b2e8445b76aa09839fcde815bc3a2", "/system/lib/libstagefright_soft_h264dec.so", "f2bb15608fb92723dfee053e4927cbba4eaf6297", "/system/lib/libdefcontainer_jni.so", "0710b20a2e76b4cb95776093e4c2a239c54f075d", "/system/lib/libcutils.so", "657ee16de3dcbfb7145c47067d1a3fa5af45596c", "/system/lib/8192cu.ko", "d386d8e5fb1984b0c0d4d66121c9f50d2ad5195f", "/system/lib/libjnidvbplayer.so", "fee7562224dbe1be2df0f327adb72c95e334d66a", "/system/lib/libui.so", "d7878d5bb496333c7bad0361a5816f47c7b89325", "/system/lib/librs_jni.so", "3fcac6a100b79d3cf8aac57f1ccb804668762fa2", "/system/lib/libril.so", "746b2b9b85e046a5cb8e52d25db063e999b17cc2", "/system/lib/liboptimization.so", "6e704fbd0a9501a2d77e7c29c562d909902505a8", "/system/lib/libchromium_net.so", "0080e39d5883710cd5e945077ce59531bf895db5", "/system/lib/libam_adp.so", "a0c00942e952a7ed912b017a819d428a86bce24a", "/system/lib/libGLESv2_dbg.so", "b42cb60812e43c9b57fa1a885fcaee851602dd09", "/system/lib/libeffects.so", "67d79c533f63bff8cd91f75593b10ef7baa5de0c", "/system/lib/libext2_blkid.so", "229681717c0f1d24114e367cc97a24926e46d6f4", "/system/lib/libstagefright_soft_aacdec.so", "9058c21aaf0a9a1a334dd07117f3a52bdca6df8c", "/system/lib/libescreen.so", "7535de60b0e5e87e2136010a24840872951c858c", "/system/lib/libext2_profile.so", "711ff8e26b812c96dfc9ab75baa3ca751f2ca3d8", "/system/lib/libjnidvbclientsubtitle.so", "88999e6e40fae7724f86cdd1667c56cdaec760cd", "/system/lib/libamvdec.so", "e81d6e2f26aace25310201a0e52ba24f02b15e27", "/system/lib/libstlport.so", "00cfc938734875b16690da67495ba70b184cb75f", "/system/lib/libamstreaming.so", "909c1842e19b9fe5c4563d4e8eb3f094e032443a", "/system/lib/libaudioflinger.so", "71e5bb69567bb6d681b478fb8aa544fa99677f9d", "/system/lib/libedlna.so", "2e29620ff4b3bf3cdaf16d54ec90f19321d1e1d9", "/system/lib/libavcodec.so", "49bec16f3c561f5003694b354646225dfe66e46d", "/system/lib/libwebcore.so", "bea09dec50bf554f21e9c5851edb0f292ae5d51b", "/system/lib/libttscompat.so", "07b22edeae120bcae3476a3d63ec090fe2bbfe40", "/system/lib/libmedia_jni.so", "23a3fda8db01bd5ac9e4ce6485fb6eb8f2e813f2", "/system/lib/libwilhelm.so", "30418d26d8b12bcd9a7006d68a1c3d2bed8e83bf", "/system/lib/libamadec.so", "78fbf0a9aaa0664c933c0f586f1906f84da66b76", "/system/lib/libhwui.so", "ef5afc68deef42b6cef3aa8921b6faa5fb8e676b", "/system/lib/libavformat.so", "5bf345f81d3d12cfb7fb4709da5975c144841fd0", "/system/lib/libfuse_exfat.so", "9213206830572c3d90492b9a8c06fd1d2f3a533b", "/system/lib/libhostapd_client.so", "8d08e46c57897a89f06dccd15f003179c10b515e", "/system/lib/libjnidmx.so", "b7f3950d212f4632a3bfd92522c8c0ef4e242720", "/system/lib/libdrm1_jni.so", "db2be513f84dd0cae5d66bb3c3bed60fda48db6b", "/system/lib/librtmp.so", "ab1d0274ae5fa77f66202b0b326d49b5efc39b7d", "/system/lib/libsrec_jni.so", "829a3c34eb9d5e5f75766cd1de87ed14258db8f5", "/system/lib/plugins/com.adobe.flashplayer/libflashplayer.so", "f5d63f44bc0189789ae698f742ba443031e9253f", "/system/lib/plugins/com.adobe.flashplayer/libysshared.so", "4c1f3dd67874b54533fa7b2b1f3a684a293c9cc0", "/system/lib/libandroid_runtime.so", "545a13d48e9894ef9b0561cfee21458289c2498f", "/system/lib/libsurfaceflinger.so", "9849667f44012f50afa01f7075209f2b2bcdae9e", "/system/lib/libexfat.so", "a3dd93041af5cf7ba75f602e460dee341d8fc3e6", "/system/lib/libiconv.so", "03ed69192208a9fa418720faaf889c51dc6da2bc", "/system/lib/libdrm1.so", "4c22fe48aeaa76a5a9c74433d168a9461b184733", "/system/lib/libdtsenc.so", "7d5ddf21ebf6a7c88622ead8116d31317f1966ec", "/system/lib/libandroidcap.so", "aafb94fc3e074f930503ee2c8dd4baff81079502", "/system/lib/ath6kl_usb.ko", "1240f6f35370f4caba72e8bce148b1aec578a65a", "/system/lib/libskia.so", "06c331e29fcf822e6375b67fd5bda8ac64d9bfac", "/system/lib/libjpeg.so", "386ffc037ebc39269b6187c338d0e80418af611e", "/system/lib/libaacarray.so", "7574e39c04ee719737f0e1444954ef47155cddb0", "/system/lib/libeclcr.so", "6c5eddd00c55a11cf26e9f9a5c7d9f8d84f4de49", "/system/lib/libzvbi.so", "72f5912a048fe7e7dc3da149f594d94a456377ab", "/system/lib/libecodecs.so", "8e46ac398c97e943f34ebf14e9574692e718d107", "/system/lib/libbinder.so", "54fc3294bd341ad1cdced8a7adb81653ebd23b9a", "/system/lib/libmad.so", "ac9479c00ee5b3745de0862bc068ba72d7da476a", "/system/lib/libexpat.so", "01e38924833caea8504184cc2e3e727e87134e5c", "/system/lib/libsqlite.so", "584acaf501c3f730cbba69cca792ce34dc11037c", "/system/lib/libOpenMAXAL.so", "9151a28476fcd9fbddb268b745779d30a0eb501f", "/system/lib/libcameraservice.so", "f00709c785690cf1e5b257b41d3043877c2a6ec8", "/system/lib/libgabi++.so", "fbfd6df45d78d94743fa1446101fea4e516bd14c", "/system/lib/libmtp.so", "b8f7a11e3c65a3a2c8f63f7e63944be7da45ed6d", "/system/lib/libicuuc.so", "fd2deff041daf0346f7fcf0db915b923f9e97881", "/system/lib/libEGL.so", "a84cadddd908c513d493dbdf515c3c05106fd070", "/system/lib/liboutputswitchjni.so", "bcda72be965f48c394ec1fe39495db49dc6bc156", "/system/lib/liblog.so", "c4ee26f91e310ea1aca4a15bf5b00364b69efeed", "/system/lib/libz.so", "88232deb133e93dd1c5daf3f954821e5cdf4433c", "/system/lib/libfilterfw.so", "3258e2884366018e746d9a932755119f40ae7bae", "/system/lib/libOpenSLES.so", "397da66a99c8f6f924f8183a6dbed5fbb18b134f", "/system/lib/hw/hwcomposer.amlogic.so", "958604bb6e88e7bbd3dc2efa016cc94f168ed6d1", "/system/lib/hw/gralloc.default.so", "b3dae71505043dc94d03a432d1979bf673ab0f1d", "/system/lib/hw/acoustics.default.so", "dfb4da67be87ac31fbff627e4b45e18e8c250c49", "/system/lib/hw/audio.primary.amlogic.so", "6889cf8788ef1c9ac10a8d6e6229480a83ea711e", "/system/lib/hw/audio_policy.default.so", "670b47720a5d8c02bad7c8d32514bb6bd9ea7b76", "/system/lib/hw/alsa.default.so", "75442c2f5e469838366e6fe270af20107f7f92ae", "/system/lib/hw/camera.amlogic.so", "9e2963bcfe4769934d770a121af7955d9729c950", "/system/lib/libemoji.so", "d2a900b655db71fa3c6bf4d5c97a2d4c895fff77", "/system/lib/libMali.so", "6c3986afec4f8e7d4aa8d468ab61c91faeb7c068", "/system/lib/libcamera_client.so", "1bae3e1fa454a61ffd33d7bbed11cb46dc6a9fb6", "/system/lib/libnativehelper.so", "cbc633191bbe7893a44fb7f85a0c5dc255f7df07", "/system/lib/rt3070sta.ko", "f77f56d292e6eb3ddf341ef30689886e1f8c669e", "/system/lib/libwebrtc_audio_preprocessing.so", "1af1a9bbfcaa4b210f1a41cb57f1ec8c8593584b", "/system/lib/libsurfaceflinger_client.so", "38e12241f67900a2b811d8dfd9f3c2dc4dab4b62", "/system/lib/libjnidvr.so", "ee413fd6eca5428c6c9827667577f6ded3816e01", "/system/lib/libstagefright_amrnb_common.so", "64098a00c7e1add0c88a66f68f78c723bcbe01f6", "/system/lib/libsonivox.so", "7e82853a3ec6add5f422656a5d7f1fba2e856a17", "/system/lib/libinputdetectjni.so", "fb2019cdff8f0787b4edaa744f344cb9cf63ef43", "/system/lib/libjniamsmc.so", "0e19b5d0e12378506b44edaa7fed75715fc5513f", "/system/lib/libdiskconfig.so", "78e4f49ff6b398e16bee24f838d30ff94be49c2a", "/system/lib/libnetlink.so", "b07fa8f871dd2dd73f880a310c208f9f1cd78ade", "/system/lib/libjni_remoteime.so", "4189c37e5231e4cd991de4e5874efd3053d11375", "/system/lib/liboutputsettings.so", "ddf44d8daf94ebab2c4816b30dd7ebc0f87a08f0", "/system/lib/cfg80211_ath6kl.ko", "eddfb24be525fb70c90bdba4e472e2a31628294c", "/system/lib/libLineBreak.so", "25cfba64410f90a54a456b15f70750d8548a8723", "/system/lib/libstagefright_soft_mpeg4dec.so", "637678754c0dfe07d08ec8112e91fc6f309840b5", "/system/lib/libdvm.so", "46188a122e288501a1f0f5f9809b07e935f150f0", "/system/lib/libjnidvbrecorder.so", "54edf6112ee7cc528996aa757b1819b492b30314", "/system/lib/libsoundpool.so", "1bb53ef9d3e77d8227fc195a3d2f894ceac4d680", "/system/lib/libstagefright.so", "cecf2807b9bf478ed2ba344e30ad8e0f723bf1a2", "/system/lib/libvideoeditor_jni.so", "494f959a0fb3ff6c24e6cce90d27a0f581aee162", "/system/lib/libhardware_legacy.so", "a965a9a26dac62d3c883ad96a9e52ef973bb0ca6", "/system/lib/libstagefright_soft_mp3dec.so", "7aedd428b46bd1449dd7872cf0e25a0121a8f76c", "/system/lib/egl/libGLESv1_CM_mali.so", "9d81bd52ff26951b950bb6f0e406bb8286fd0bad", "/system/lib/egl/egl.cfg", "7c009a6c78875a0b3021595e23bf8093bbc5c5a8", "/system/lib/egl/libGLESv2_mali.so", "327cbc72e89d541baa69875390a27946969e8218", "/system/lib/egl/libGLES_android.so", "2efda98abdd889d1f26bf2e2b4a39af5e57a2114", "/system/lib/egl/libEGL_mali.so", "e53298ad7359070c8bc6e08960295a3c4e7dc74f", "/system/lib/libstagefright_soft_vpxdec.so", "52870bf4eb10bd2da283cb4b898adc5a13ae818b", "/system/lib/libntsc_decode.so", "d2ade86333eefbc7c16fd49f96f048cece02be15", "/system/lib/libstagefright_omx.so", "9b3d0feddd97fa0997e35b639e9d29e85e629fa6", "/system/lib/libfaad.so", "0b6b897c7b8015bde9ab01c117e9b6072f60fcdd", "/system/lib/libm.so", "76aae9e835458d1ca19792b7f371408612a7a2b9", "/system/lib/libamavutils.so", "0637b9face6ae2f4cb26e09ac9efcf15de6e0318", "/system/lib/libmediaplayerservice.so", "399c13ddad304d863b75bd1c4b1f07c97939a647", "/system/lib/libflac.so", "702958a739d0cb187f06d6b1358786a42c266a8b", "/system/lib/libjniosd.so", "c11f8539e046615c4bf4c4da3e2f394d8ec04bcd", "/system/lib/libswscale.so", "02f4fa5b9541184ebc895de15faad4b30ed1881e", "/system/lib/amplayer/libmms_mod.so", "b61c3372b5473f03f44f66299a3f7528d2456dbc", "/system/lib/amplayer/libvhls_mod.so", "24d7375fb052a17c9d410bbb1c7b8191a935cf84", "/system/lib/libsystem_server.so", "e3ba50f48977194d4ea3e67136c978155c804579", "/system/lib/libsubjni.so", "dbd2769d4cc9fa35fb3db68fb11111bbccf199bf");
write_raw_image(package_extract_file("aml_logo.img"), "aml_logo");
format("yaffs2", "MTD", "userdata", "0");
mount("yaffs2", "MTD", "userdata", "/data");
package_extract_dir("data", "/data");
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(0, 0, 0644, "/system/etc/bluetooth/BCM40183B2_26M.hcd");
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/dhcp_release.sh");
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/su");
unmount("/data");
unmount("/system");
show_progress(0.200000, 5);
write_raw_image(package_extract_file("boot.img"), "boot");
show_progress(0.100000, 0);
