assert(getprop("ro.product.device") == "f16ref" ||
       getprop("ro.build.product") == "f16ref");
show_progress(0.900000, 150);
format("yaffs2", "MTD", "system", "0");
mount("yaffs2", "MTD", "system", "/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/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/libandroid_servers.so", "5ec3469145145fc6f5e03e04e546889f37aae037", "/system/lib/librs_jni.so", "3c545119780ff33fddf0f0822d2e1dbfad41cd25", "/system/lib/libhardware.so", "b158206711863fe970ee4e465df14ed29da97899", "/system/lib/libhwui.so", "633f50e45009888a69c4eeff8f9daea317219730", "/system/lib/libaudioflinger.so", "6b31077cf1065fd8a86976d9049bb268f012cc8a", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/liboutputsettings.so", "6f315ff541353d468a70115e648e4c4800219376", "/system/lib/libext4_utils.so", "fcdf9d9540cf82b4a8294f5e672cc47d55c915e5", "/system/lib/egl/libGLESv1_CM_mali.so", "c55a4a7a6259be281cedb70dca5c85efc629680a", "/system/lib/egl/libGLES_android.so", "b862b1f3ed0495eba1b5cfc3c5685ee0990ccd36", "/system/lib/egl/egl.cfg", "7c009a6c78875a0b3021595e23bf8093bbc5c5a8", "/system/lib/egl/libEGL_mali.so", "c4e6642e7ca8bbb3689fc4f3cc64dfa0f3ef8762", "/system/lib/egl/libGLESv2_mali.so", "84c313051d132a177c6ac066c893051e82b626fc", "/system/lib/libbluedroid.so", "36e66fbb90012c5ff28d861239f14adbb15bf779", "/system/lib/libdrm1_jni.so", "e4ce1fa4894986edd11c5ba60d47676c3e8cf87c", "/system/lib/libstagefright_enc_common.so", "a9fecab00fb7da04e8d246c562cdd712efb50329", "/system/lib/libexpat.so", "7156ffb8670030cb64313f59d18fecb283fb4a46", "/system/lib/libbinder.so", "6d15aaf76e7de460d97b687240da1cc9f315e053", "/system/lib/libOpenSLES.so", "b62eebb17080d7c44d5d24faa69f183f14b76dd3", "/system/lib/liboutputswitchjni.so", "bf31bce82d3ce0a812a027a3cb8504d95be46e7b", "/system/lib/libubi.so", "ae740f53d23de25aafe3d433f80fd49148634e8d", "/system/lib/libexfat.so", "d8be88a3b14c9260cd1f907090a4a4bf55aa9d85", "/system/lib/libjnigraphics.so", "d8eefa3d4bf0dec33dcd74a669199ac1821f4a5a", "/system/lib/libjni_mosaic.so", "5d301802289cabdd49b986dbbaec64443b93cfb5", "/system/lib/libgui.so", "d09b254c1938fe5d473b3b421843d61324da7e5e", "/system/lib/libvideoeditor_jni.so", "89694905a126f9e7bd8c7f3b5cc7362211775308", "/system/lib/libstagefright_soft_vpxdec.so", "015e234a00edf733fbf74bd7cb0e32f3e7ca13f0", "/system/lib/libicuuc.so", "bf55305715425aefa7883a638ddd20509e848dd7", "/system/lib/librtp_jni.so", "bfd900657af5b888f14c2324c222534fcd7f24d9", "/system/lib/libemoji.so", "f1c2ec7483cb73acd271e3bf0d3d922dd131005a", "/system/lib/libsqlite.so", "b833167d166d18da48b0acd5796d33efc652cd9c", "/system/lib/libpixelflinger.so", "78d9bf5e5873f39eafcd7f3ce5a0d8722e54e3ba", "/system/lib/libfilterfw.so", "fe05eaceced6d4425f4e2023c8541fb90999d022", "/system/lib/libwilhelm.so", "df208384e62e2a8a26d2d29477cbd4d90f8520ba", "/system/lib/libsrec_jni.so", "d277d2c633ad800f0a6969fc9a258b18085e13e5", "/system/lib/liblog.so", "c1296f824d6f03875e94ea51e6978e2997f88c16", "/system/lib/libmedia_jni.so", "f94cb85c5220918b8eb87daabf2faf0ab3ad3a2a", "/system/lib/libstagefright_soft_g711dec.so", "f0d6f572fc5b6e72bdb97adc8ab8752018381d93", "/system/lib/libvariablespeed.so", "1985e165ec0a5c16f4285cfd15a32045037c8947", "/system/lib/libwebrtc_audio_preprocessing.so", "d163d65517da3140a11304066f2c1635a535f783", "/system/lib/libskia.so", "bb162f9fd096bfef9e2dd81c16bfaf563020624f", "/system/lib/libGLESv1_CM.so", "60a361dd49bdcff0b25b4efca4cc8789d43d5236", "/system/lib/libRS.so", "2888ebe8d5e134656d00fd426a1005a725ab3ba1", "/system/lib/libspeexresampler.so", "77a5b512dbe4211aee81253be3bfefe71d9069ac", "/system/lib/libjni_remoteime.so", "c5978147df698011639970e06dc4457ff7dde72a", "/system/lib/libbluetooth.so", "f00b6a8f5a842a3d8d487a4957ad0f4f231b322a", "/system/lib/libUMP.so", "3d0e37749ff7400583f1d2aba3ff29937012b663", "/system/lib/libcrypto.so", "48639ceaf7ee07320426ba8117dc462b6a925bbd", "/system/lib/libSR_AudioIn.so", "8d61fc50443db3d51d43336a0d966eaa3571ff8e", "/system/lib/libpagemap.so", "94a942fd747b4327b98ccdb745d070dcd5902056", "/system/lib/libpickit.so", "7295bf4fb7a8f179c28aa78390f11b9aaf1f4110", "/system/lib/libpowermanager.so", "6811ea0f0d38ffbd372eff0b5af7903e452269a4", "/system/lib/libamlpicjni.so", "6fdea8213b0ded988c015e70aaddad57cfec4bd5", "/system/lib/libsurfaceflinger_client.so", "12ba180d276b44d96e23f91c3d328f6ffdeed0eb", "/system/lib/libttspico.so", "8dff43b75ff3890e76f2508e1f23f12a33878a0f", "/system/lib/libharfbuzz.so", "1221150e391ad5cb1688398c7efcfe866f1d6220", "/system/lib/libandroid.so", "1a09b06c927e902afc6ddfb658819a8bd118634a", "/system/lib/libcamera_client.so", "b1e4e5810d0ec1a83e077e985b516173f2b0a2db", "/system/lib/libsubjni.so", "a84e100cad7e7b67fb51ff3a33c26352c02a2d50", "/system/lib/libiprouteutil.so", "f24942a6ffd2a853639605e756a10e9a3a7ce605", "/system/lib/libhostapd_client.so", "269e13f439d38a3f11421253baafcf964f8d21fd", "/system/lib/libui.so", "4e78bdae7f6ec0a0c44df7d7e4af0c1640402e24", "/system/lib/libdvm.so", "426892451a616ffdc123d4804b089118eed5ae1d", "/system/lib/libc.so", "ff72553ecb1fdfdd5666d1aa68840e7750a3f2b1", "/system/lib/libstagefright_avc_common.so", "18cdb027e0048406afe7039cf06c044f2cf9aaf0", "/system/lib/libdrmframework_jni.so", "652d01e0966699221c50fca1feec00336adf5e97", "/system/lib/libm.so", "b49ab8ac81903bd61d3b49723a6fe630f0d0c5f7", "/system/lib/libMali.so", "a057ccf97a6034f48a58bb7e0bbe44d303ca1307", "/system/lib/libthread_db.so", "3b3afec55cd25f4cad1612952b94eacecde452b2", "/system/lib/libstagefright_amrnb_common.so", "ec14165203e9d5cf515df68681f5a1b6a8dc8ccd", "/system/lib/soundfx/libaudiopreprocessing.so", "b4f272ae8427b3ecb8b6b25a1fa21ef84cbb5f08", "/system/lib/soundfx/libreverbwrapper.so", "c054ff6f1d66fbe05caa868b542bffbf2a44c665", "/system/lib/soundfx/libbundlewrapper.so", "77131f675e3e2fc67f2ed813a67165737dcbacaa", "/system/lib/soundfx/libvisualizer.so", "f6e7932d3b174bbb02e00b10f968a352c9d68060", "/system/lib/libstdc++.so", "1a508f0a42862e5b81c39d8042338dac276d08bb", "/system/lib/libstagefright_soft_h264dec.so", "30e225878aae0428570143d870902120fd306b3e", "/system/lib/libGLESv2.so", "60f150eb145fb850d03e197143d21495d3c7d7ed", "/system/lib/libchromium_net.so", "74437b381c0cdbbe420ca558a648ccd85807f6cc", "/system/lib/libsensorservice.so", "5d1d713437f0bcba927d096eb61a8dd19f0bcad5", "/system/lib/libbtio.so", "58e360ca7b93d374e29c74d6976b6829d318d72a", "/system/lib/libdbus.so", "8ed3fa974a88d8a07e66e9d607e593d8bbb931c4", "/system/lib/libstagefright_soft_vorbisdec.so", "20bc219cc07ab9ba256102367c8c744425fcd814", "/system/lib/libglib.so", "a2211bbe3fbed96c4cac927470817a356508bbc5", "/system/lib/libdl.so", "96e2f39e30f2e68d1dfa9ef715e9894ef9422ee5", "/system/lib/libamavutils.so", "7e5dc4d42828ca95e0b0634c0bf5eaf82ffafae4", "/system/lib/libstagefright_soft_aacdec.so", "1cb006b2e96f642db8b9197640fde81fdf350c0c", "/system/lib/libbcc.so", "709f4e085f8bf2b5e6d8b20a41a8af953a469de7", "/system/lib/libstlport.so", "1a3ce845dc8614b615857d05b2bc89989c399bb8", "/system/lib/libvideoeditorplayer.so", "b0d6a92e8377d3f39afc99690713fbed5ce97f6b", "/system/lib/libstagefright_soft_amrdec.so", "a5be6f553badc2fdd100e6de329816a0f3f6c92a", "/system/lib/libnetutils.so", "8bfbec0393fde6551fe16a6f5df2178622c506ee", "/system/lib/libbcc.so.sha1", "45b0781f68c157917cac8df7e606a0998d203198", "/system/lib/bluez-plugin/bluetooth-health.so", "5471645c92153685912199219b474c0174b017d0", "/system/lib/bluez-plugin/audio.so", "7a422f12098d160c81f3381db37f213651cd67a5", "/system/lib/bluez-plugin/network.so", "bddf2ccb4df4c7c287e7d6a6ea13659b08a8eb30", "/system/lib/bluez-plugin/input.so", "93b7fffb7676b851fa0140748117ef5f66a0e9f8", "/system/lib/libstagefright_soft_mpeg4dec.so", "7895a25e6063d3c58ecd0b4e7462c4224e243f8f", "/system/lib/libutils.so", "0186f7dfed8671eb4fc05ad783346de7cb6bce6e", "/system/lib/libstagefright.so", "4fa0b8e5cbd5d42bcf26049f76d878f05783158e", "/system/lib/libgabi++.so", "b4689ac019e32cd430e0b6d5b25cda62f2a8984c", "/system/lib/libexif.so", "3b4995ce9704040e4d71601492284a22a7a33927", "/system/lib/libamplayer.so", "577cca6056a49b181e98dc5e9104dd57f671bae7", "/system/lib/libinput.so", "e03c0acffa145e1b65158393da8e76fdac972c22", "/system/lib/libGLESv2_dbg.so", "8646409ca2f73930a479f901c76d4cf10ebb7de9", "/system/lib/libETC1.so", "5c5b6470e33f99c7c8ecb4ec3898a274fff68844", "/system/lib/libFFTEm.so", "259ac2343933628fbfe518178df2265dd010fc01", "/system/lib/libril.so", "0592a6370659c76eae9b849b8b11488b036fbaf4", "/system/lib/libc_malloc_debug_qemu.so", "152fe257af32d4a3bd269fcc49e2886881fc6af3", "/system/lib/libttscompat.so", "9d1ac6ab19fe04da6120b8e55adb194c7a390b99", "/system/lib/libOpenMAXAL.so", "f9aa65e8b148c1ec131d0a01ae5feb505a64ea10", "/system/lib/libandroid_runtime.so", "88576c9710bbf5ab98efd25eb6fb768a5a6ce977", "/system/lib/libbluetoothd.so", "715e420e6bac4c3a56a0b117f91cd663447c93c7", "/system/lib/libcameraservice.so", "fd680fe86eccb9206d1f32e9322efde8aea6f301", "/system/lib/libsystem_server.so", "287b5e22e41e33f705da87aec4856532ec187a00", "/system/lib/libdrmframework.so", "dd79fa18a53f557cee9aaaa8ad2b062fbb667c7e", "/system/lib/libc_malloc_debug_leak.so", "1cc651dc27014e182169681fbe6aeec9b1df281f", "/system/lib/libnfc_ndef.so", "f2cd10ecb4da8341581f7b9a9615681620feb8de", "/system/lib/libusbhost.so", "13c7070db246180490bee011a913946c538f06ab", "/system/lib/libdiskconfig.so", "9cc7ccddf6776645a1057e684574c523fe889b62", "/system/lib/libctest.so", "6138075fedb86bff271ec2f12b6424ab7195ad0f", "/system/lib/libasound.so", "f813fdc35da647f4282cb7aab5677d7be1461ab7", "/system/lib/libsqlite_jni.so", "ea4510823e727310172ddf1777d815262c4c110d", "/system/lib/libnativehelper.so", "9d747dbf0aa51545e9c0fa8abf2344ebd6b6871b", "/system/lib/libstagefright_foundation.so", "d87af155c15efd24230db991496bfdffe9cec3f6", "/system/lib/libfilterpack_imageproc.so", "67588afc008202a63a5a6d4ed795fc7857f8b97d", "/system/lib/invoke_mock_media_player.so", "35b7e1ac698a48b733581b024fec0e1041128fcf", "/system/lib/drm/libfwdlockengine.so", "2403a7081db7d811680dda82c262090f98ca6f85", "/system/lib/libhardware_legacy.so", "a9c134273182eb0b6bb59e80c1bd01c2e5f336e4", "/system/lib/libcutils.so", "a2b15bb424dac2701e9b8cc0762774553d8d9468", "/system/lib/libicui18n.so", "8de9cf70864c62c0689025d7cd1f4a3e89a64819", "/system/lib/libamplayerjni.so", "3d0bebddcc3baa136d7fb9014a6d87a11819b620", "/system/lib/libdefcontainer_jni.so", "024a6490361138274241444cf48fae0198bc211f", "/system/lib/libjni_latinime.so", "3ba16e498efcad8ce22cd9994d551704880f9ead", "/system/lib/libwebcore.so", "d70ffca763a863f4372efe4d3ed606c2cacb1f1a", "/system/lib/libsonivox.so", "5b20daa2b172541bcc04267fdd771da58460b453", "/system/lib/libssl.so", "c8605b80ced0eb4c285c04242b69a63c9e341aa8", "/system/lib/hw/audio_policy.default.so", "6dafd39d1cedcdb9532c3685125a878ecfbcf445", "/system/lib/hw/sensors.goldfish.so", "a661a4029363e47612fd5fc1194510e9520b8270", "/system/lib/hw/camera.amlogic.so", "6be1e6873f7b97627150c24d5c287b2e71d91ca0", "/system/lib/hw/audio.a2dp.default.so", "57b879768ee02866c0ae6c4b634302679bd3cef3", "/system/lib/hw/gralloc.default.so", "ecd34d8dcec613c04c9719094358e5cf26dfe8e8", "/system/lib/hw/lights.goldfish.so", "79eaced833b61033ea92c31c7828792a68de09fe", "/system/lib/hw/hwcomposer.amlogic.so", "f64502e5af03bdef2f2474f1f8787a057595cfe4", "/system/lib/hw/acoustics.default.so", "b93340cf3dd96b03d30a1e2e0bb72d474f6981d8", "/system/lib/hw/audio.primary.amlogic.so", "43c57a146e834712f22e0edd40e6bcef7d88a05d", "/system/lib/hw/camera.goldfish.so", "d23f171332385b5ef3cbe420b47d888a59dd0c20", "/system/lib/hw/gps.goldfish.so", "3c2023e884f34ceb6d856448ed8b753e309b102e", "/system/lib/hw/alsa.default.so", "dccbcc0d7235167297343eb6b3bc5b2c41610a65", "/system/lib/libsysutils.so", "df2edd153eeaf06e0612a6d7f2aa68ba91c67d4e", "/system/lib/libvorbisidec.so", "192181b039ba07ae9ada8e6289a2e0b526fc2900", "/system/lib/8192cu.ko", "37ef87a64cb21900cf2ab8403b527c70b198c426", "/system/lib/libEGL.so", "073185e2059e46f6fcbef09a6798976000567312", "/system/lib/libsoundpool.so", "6d4ef7521cdbfdbb5a7dde5d52f4ffa4c31bbdf0", "/system/lib/libstagefright_soft_mp3dec.so", "8a86ec6a712bb831a8884245d05053b18c852845", "/system/lib/libdrm1.so", "3684442e645915dbb99202bb43aae43a5411bca3", "/system/lib/libstagefright_omx.so", "cfab1b85487b1e6899b950a785d962c706c23307", "/system/lib/libz.so", "e658245a655994fd21a48af1c463ab75e6ce835d", "/system/lib/libpower.so", "1e69deba1500c235bedf29801b3b0371fd078264", "/system/lib/libmediaplayerservice.so", "57198e77d60fdd0df887d34390b35b96297740f9", "/system/lib/libmtp.so", "6d68af25d0258ed37b31ee58a42901adbb6c86f6", "/system/lib/libfuse_exfat.so", "cbb5233bd3679c0db5d3d6f3156014b09a67fd9a", "/system/lib/libnetlink.so", "9a5c5f0345a13186c786706125f8391bf7144a3d", "/system/lib/libpppoejni.so", "df8b15fd881d608ef1299da464d7d3f75fb121fd", "/system/lib/libaudioeffect_jni.so", "6707a462be49be11ce181a37f6c62a3390b99a14", "/system/lib/libwpa_client.so", "1c36776c607a30ced8f25dd74612d955e844a290", "/system/lib/libmedia.so", "671a83bfc19d8af4f15fa44a73ba289eba88a01c", "/system/lib/libsurfaceflinger.so", "79f6c314320f640c952e87af1e6ed515fca5df35", "/system/lib/libbcinfo.so", "3b2817b1d8b42a0c25e7c5cfd8e244f5a0e40c82", "/system/lib/libreference-ril.so", "c6a1f55846232549031e396c2fd4a262020ab842", "/system/lib/libjpeg.so", "dfaa196c42b384c787a724e006a0b39b819bcd55", "/system/lib/libstagefright_yuv.so", "ec307a10acf4ee92fda81d5e30c42968609e0c0c", "/system/lib/libeffects.so", "6adbecd4c766e161cad139c4f7d87f3f7815afa2");
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(0, 2000, 06777, "/system/bin/jcsc");
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_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
unmount("/system");
format("yaffs2", "MTD", "userdata", "0");
mount("yaffs2", "MTD", "userdata", "/data");
package_extract_dir("data", "/data");
unmount("/data");
show_progress(0.100000, 10);
write_raw_image(package_extract_file("boot.img"), "boot");
write_raw_image(package_extract_file("recovery.img"), "recovery");
write_raw_image(package_extract_file("aml_logo.img"), "aml_logo");
