[HTC Sensation] InfinityFTW:
Hey there guys.

I'm in the process of cooking a ROM based on AOKP milestone 6.

When i flash the rom, i get the following message:

Error.

Installation aborted

(status 6)

or something like this.

here is the updater script:

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/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system"); 0
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/[");
symlink("busybox", "/system/xbin/[[");
symlink("busybox", "/system/xbin/adjtimex");
symlink("busybox", "/system/xbin/arp");
symlink("busybox", "/system/xbin/ash");
symlink("busybox", "/system/xbin/awk");
symlink("busybox", "/system/xbin/base64");
symlink("busybox", "/system/xbin/basename");
symlink("busybox", "/system/xbin/bbconfig");
symlink("busybox", "/system/xbin/blkid");
symlink("busybox", "/system/xbin/blockdev");
symlink("busybox", "/system/xbin/brctl");
symlink("busybox", "/system/xbin/bunzip2");
symlink("busybox", "/system/xbin/bzcat");
symlink("busybox", "/system/xbin/bzip2");
symlink("busybox", "/system/xbin/cal");
symlink("busybox", "/system/xbin/cat");
symlink("busybox", "/system/xbin/catv");
symlink("busybox", "/system/xbin/chattr");
symlink("busybox", "/system/xbin/chgrp");
symlink("busybox", "/system/xbin/chmod");
symlink("busybox", "/system/xbin/chown");
symlink("busybox", "/system/xbin/chroot");
symlink("busybox", "/system/xbin/clear");
symlink("busybox", "/system/xbin/cmp");
symlink("busybox", "/system/xbin/comm");
symlink("busybox", "/system/xbin/cp");
symlink("busybox", "/system/xbin/cpio");
symlink("busybox", "/system/xbin/crond");
symlink("busybox", "/system/xbin/crontab");
symlink("busybox", "/system/xbin/cut");
symlink("busybox", "/system/xbin/date");
symlink("busybox", "/system/xbin/dc");
symlink("busybox", "/system/xbin/dd");
symlink("busybox", "/system/xbin/depmod");
symlink("busybox", "/system/xbin/devmem");
symlink("busybox", "/system/xbin/df");
symlink("busybox", "/system/xbin/diff");
symlink("busybox", "/system/xbin/dirname");
symlink("busybox", "/system/xbin/dmesg");
symlink("busybox", "/system/xbin/dnsd");
symlink("busybox", "/system/xbin/dos2unix");
symlink("busybox", "/system/xbin/du");
symlink("busybox", "/system/xbin/echo");
symlink("busybox", "/system/xbin/ed");
symlink("busybox", "/system/xbin/egrep");
symlink("busybox", "/system/xbin/env");
symlink("busybox", "/system/xbin/expand");
symlink("busybox", "/system/xbin/expr");
symlink("busybox", "/system/xbin/false");
symlink("busybox", "/system/xbin/fdisk");
symlink("busybox", "/system/xbin/fgrep");
symlink("busybox", "/system/xbin/find");
symlink("busybox", "/system/xbin/flash_lock");
symlink("busybox", "/system/xbin/flash_unlock");
symlink("busybox", "/system/xbin/flashcp");
symlink("busybox", "/system/xbin/flock");
symlink("busybox", "/system/xbin/fold");
symlink("busybox", "/system/xbin/free");
symlink("busybox", "/system/xbin/freeramdisk");
symlink("busybox", "/system/xbin/fsync");
symlink("busybox", "/system/xbin/ftpget");
symlink("busybox", "/system/xbin/ftpput");
symlink("busybox", "/system/xbin/fuser");
symlink("busybox", "/system/xbin/getopt");
symlink("busybox", "/system/xbin/grep");
symlink("busybox", "/system/xbin/groups");
symlink("busybox", "/system/xbin/gunzip");
symlink("busybox", "/system/xbin/gzip");
symlink("busybox", "/system/xbin/halt");
symlink("busybox", "/system/xbin/head");
symlink("busybox", "/system/xbin/hexdump");
symlink("busybox", "/system/xbin/id");
symlink("busybox", "/system/xbin/ifconfig");
symlink("busybox", "/system/xbin/insmod");
symlink("busybox", "/system/xbin/install");
symlink("busybox", "/system/xbin/iostat");
symlink("busybox", "/system/xbin/ip");
symlink("busybox", "/system/xbin/kill");
symlink("busybox", "/system/xbin/killall");
symlink("busybox", "/system/xbin/killall5");
symlink("busybox", "/system/xbin/length");
symlink("busybox", "/system/xbin/less");
symlink("busybox", "/system/xbin/ln");
symlink("busybox", "/system/xbin/losetup");
symlink("busybox", "/system/xbin/ls");
symlink("busybox", "/system/xbin/lsattr");
symlink("busybox", "/system/xbin/lsmod");
symlink("busybox", "/system/xbin/lsusb");
symlink("busybox", "/system/xbin/lzcat");
symlink("busybox", "/system/xbin/lzma");
symlink("busybox", "/system/xbin/lzop");
symlink("busybox", "/system/xbin/lzopcat");
symlink("busybox", "/system/xbin/man");
symlink("busybox", "/system/xbin/md5sum");
symlink("busybox", "/system/xbin/mesg");
symlink("busybox", "/system/xbin/mkdir");
symlink("busybox", "/system/xbin/mke2fs");
symlink("busybox", "/system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mkfs.ext2");
symlink("busybox", "/system/xbin/mkfs.vfat");
symlink("busybox", "/system/xbin/mknod");
symlink("busybox", "/system/xbin/mkswap");
symlink("busybox", "/system/xbin/mktemp");
symlink("busybox", "/system/xbin/modinfo");
symlink("busybox", "/system/xbin/modprobe");
symlink("busybox", "/system/xbin/more");
symlink("busybox", "/system/xbin/mount");
symlink("busybox", "/system/xbin/mountpoint");
symlink("busybox", "/system/xbin/mpstat");
symlink("busybox", "/system/xbin/mv");
symlink("busybox", "/system/xbin/nanddump");
symlink("busybox", "/system/xbin/nandwrite");
symlink("busybox", "/system/xbin/netstat");
symlink("busybox", "/system/xbin/nice");
symlink("busybox", "/system/xbin/nohup");
symlink("busybox", "/system/xbin/nslookup");
symlink("busybox", "/system/xbin/ntpd");
symlink("busybox", "/system/xbin/od");
symlink("busybox", "/system/xbin/patch");
symlink("busybox", "/system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof");
symlink("busybox", "/system/xbin/ping");
symlink("busybox", "/system/xbin/pkill");
symlink("busybox", "/system/xbin/pmap");
symlink("busybox", "/system/xbin/poweroff");
symlink("busybox", "/system/xbin/printenv");
symlink("busybox", "/system/xbin/printf");
symlink("busybox", "/system/xbin/ps");
symlink("busybox", "/system/xbin/pstree");
symlink("busybox", "/system/xbin/pwd");
symlink("busybox", "/system/xbin/pwdx");
symlink("busybox", "/system/xbin/rdev");
symlink("busybox", "/system/xbin/readlink");
symlink("busybox", "/system/xbin/realpath");
symlink("busybox", "/system/xbin/renice");
symlink("busybox", "/system/xbin/reset");
symlink("busybox", "/system/xbin/resize");
symlink("busybox", "/system/xbin/rev");
symlink("busybox", "/system/xbin/rm");
symlink("busybox", "/system/xbin/rmdir");
symlink("busybox", "/system/xbin/rmmod");
symlink("busybox", "/system/xbin/route");
symlink("busybox", "/system/xbin/run-parts");
symlink("busybox", "/system/xbin/rx");
symlink("busybox", "/system/xbin/sed");
symlink("busybox", "/system/xbin/seq");
symlink("busybox", "/system/xbin/setconsole");
symlink("busybox", "/system/xbin/setserial");
symlink("busybox", "/system/xbin/setsid");
symlink("busybox", "/system/xbin/sh");
symlink("busybox", "/system/xbin/sha1sum");
symlink("busybox", "/system/xbin/sha256sum");
symlink("busybox", "/system/xbin/sha512sum");
symlink("busybox", "/system/xbin/sleep");
symlink("busybox", "/system/xbin/sort");
symlink("busybox", "/system/xbin/split");
symlink("busybox", "/system/xbin/stat");
symlink("busybox", "/system/xbin/strings");
symlink("busybox", "/system/xbin/stty");
symlink("busybox", "/system/xbin/sum");
symlink("busybox", "/system/xbin/swapoff");
symlink("busybox", "/system/xbin/swapon");
symlink("busybox", "/system/xbin/sync");
symlink("busybox", "/system/xbin/sysctl");
symlink("busybox", "/system/xbin/tac");
symlink("busybox", "/system/xbin/tail");
symlink("busybox", "/system/xbin/tar");
symlink("busybox", "/system/xbin/taskset");
symlink("busybox", "/system/xbin/tee");
symlink("busybox", "/system/xbin/telnet");
symlink("busybox", "/system/xbin/telnetd");
symlink("busybox", "/system/xbin/test");
symlink("busybox", "/system/xbin/tftp");
symlink("busybox", "/system/xbin/tftpd");
symlink("busybox", "/system/xbin/time");
symlink("busybox", "/system/xbin/timeout");
symlink("busybox", "/system/xbin/top");
symlink("busybox", "/system/xbin/touch");
symlink("busybox", "/system/xbin/tr");
symlink("busybox", "/system/xbin/traceroute");
symlink("busybox", "/system/xbin/true");
symlink("busybox", "/system/xbin/ttysize");
symlink("busybox", "/system/xbin/tune2fs");
symlink("busybox", "/system/xbin/umount");
symlink("busybox", "/system/xbin/uname");
symlink("busybox", "/system/xbin/uncompress");
symlink("busybox", "/system/xbin/unexpand");
symlink("busybox", "/system/xbin/uniq");
symlink("busybox", "/system/xbin/unix2dos");
symlink("busybox", "/system/xbin/unlzma");
symlink("busybox", "/system/xbin/unlzop");
symlink("busybox", "/system/xbin/unxz");
symlink("busybox", "/system/xbin/unzip");
symlink("busybox", "/system/xbin/uptime");
symlink("busybox", "/system/xbin/usleep");
symlink("busybox", "/system/xbin/uudecode");
symlink("busybox", "/system/xbin/uuencode");
symlink("busybox", "/system/xbin/vi");
symlink("busybox", "/system/xbin/watch");
symlink("busybox", "/system/xbin/wc");
symlink("busybox", "/system/xbin/wget");
symlink("busybox", "/system/xbin/which");
symlink("busybox", "/system/xbin/whoami");
symlink("busybox", "/system/xbin/xargs");
symlink("busybox", "/system/xbin/xz");
symlink("busybox", "/system/xbin/xzcat");
symlink("busybox", "/system/xbin/yes");
symlink("busybox", "/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/r");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
retouch_binaries /system/lib/libbluedroid.so c34417f2112488816f1e49ae8847f67e1eba7048 /system/lib/libiprouteutil.so d810756fb17a6226effe6685b5e2484ad10ca8e9 /system/lib/libz.so a6d069fe84c758eee9548a22af7a2668c280e714 /system/lib/libc.so d6c8cdf630a36b1f1527f949339c7300cfca2dfd /system/lib/libdivxdrmdecrypt.so 8c47a530eea80dda3cc604a4bfad92ce6013787e /system/lib/libncurses.so 0f5c4745b0f36cea76822e072f788d839c974777 /system/lib/libext2_com_err.so 72d8b9376965a79656f7f246bfe03921fad06cfa /system/lib/libstagefright_foundation.so a8a1e2e424a4c8ce4ef39bf9e8d369a26e101f3d /system/lib/libtilerenderer.so 72013cef28051b563d4032d83c4bb6f19d3227e4 /system/lib/libRS.so 734c5b99bff5626db9bf6144ac0b57652bbd91b4 /system/lib/libwpa_client.so 5e84c49d84ad6ebad66e942c916a07bea0fc441a /system/lib/libexpat.so 407c93bba25116f3d9b1952451563a27c0258393 /system/lib/libSR_AudioIn.so 5631b11217c9ad7874a482602a574db34a9ddce8 /system/lib/libdrm1.so 757ee2daeefe8b47204993d7f330ef5567ba5808 /system/lib/modules/bcmdhd.ko 657e95cd77bbfb02ecc5718b2b9f55fd1094fa25 /system/lib/modules/scsi_wait_scan.ko 4f4c003b30bc82e2c08c3aca2732c98711eb9570 /system/lib/libmm-color-convertor.so a239278d3c581203eecbe9499b1a4ad97d60a128 /system/lib/libnetlink.so 3c12f3ff1b6bc532a82ed200290684d732d16c9d /system/lib/libpng.so bd0d4e09d3d0dfb05c994bd3af7c6f698eeeeb97 /system/lib/libstagefright.so fcadac9cbac61154c3403dded6ad3e5ef307f0ae /system/lib/libstagefright_soft_vorbisdec.so c46b726d761b2eb9df1869fe815f4db002285f5e /system/lib/libstagefright_yuv.so f7be7b95cd2ee89b5e6b609233b87ce197dbbd52 /system/lib/libjnigraphics.so e39b2c5da30ee093aa74c7a3c14430dec96f82b7 /system/lib/libOpenVG.so 423f465abe2375398194db03dfc227cc76dcbea3 /system/lib/libmemalloc.so 56a1d483e3180cdab6c561553e6aa3a32b9ee8f1 /system/lib/libstlport.so c5dfc0ae1c9d461e040542a1671de9a4f7c71eea /system/lib/libjpeg.so 05cc164d9547a6dd5dd83681975f3e8e7b165ba3 /system/lib/libchromatix_s5k3h1gx_default_video.so 6920e8c0f78cb083adf24e4a1a9ce98f7a4f3b16 /system/lib/libstagefright_soft_mpeg4dec.so 99c0ec9e5338c739cd2bf515bcea71272b85702a /system/lib/libvariablespeed.so dd340561be54fe166dc0ad33f51fd43be7375074 /system/lib/libgsl.so 3573397437c49c4e2a75947e5329796c2448930d /system/lib/libclcore.bc a1e2610fdc0c2ef151248092fa32be807d1b983d /system/lib/libaudioeffect_jni.so a903460bcc3433ba60fa5f9c55f315c17ce6275b /system/lib/libacdbloader.so cbbd461ece23721d54f44121a91dd7134719a6cd /system/lib/soundfx/libreverbwrapper.so 8fd9be9a0124c1f14cf59f924d0495c6b2dd249c /system/lib/soundfx/libaudiopreprocessing.so ef8658375c3b88a50c0bcb37ca4b7dc940b9d440 /system/lib/soundfx/libvisualizer.so ec7300bfbdfa53c48479a30758888cce7d148ba2 /system/lib/soundfx/libbundlewrapper.so ca656b1f5a78557e72fa6b3379c01ec2d829ab53 /system/lib/libsrec_jni.so bdf274c4d23e6012b10ea340a91228767f4359d9 /system/lib/libdsi_netctrl.so 8f5893b5fa8fd8d1faa69557890a2f0f30af93ab /system/lib/libchromatix_s5k3h1gx_zsl.so 50e671c8bb789f98cd7932f377b6435d10dd3d44 /system/lib/libstagefright_soft_mp3dec.so caf60697c4e0f3cb169f64c8a898464772cddd12 /system/lib/libsc-a2xx.so 69595e90b0cea333c773c0c982a69f646608efb8 /system/lib/libutils.so 8739db6275bb241b9ed1fa3294ffbd92f4c1fb90 /system/lib/libgenlock.so 77f11d64b39bdbb17c0a78d14c745700f46d6e10 /system/lib/libbcinfo.so 8b900119b6e85e4ddfa46d1d1b7ae1825da90f0c /system/lib/libQcomUI.so 2e70d84dc953339d56cc992ef077edfc15c81181 /system/lib/libspeexresampler.so 3eaa1d573783f66ba5f188f639585f879ba712c0 /system/lib/libdl.so a895adf310c4290b4c75434799e145724dced8f4 /system/lib/libcamerapp.so 78ae7edcecc7e76f17728f6e9002210ff3c46dcd /system/lib/libstagefrighthw.so 3a8b054da51ab2f6a9bae032e8144109caa6cede /system/lib/liblog.so ef2d9d9b71f4483a0c2c7e829f64381dd3eb90c9 /system/lib/libm.so 174f4908709b70fba1dde2c58f1b49c90d9de46d /system/lib/libOlaEngine.so d31e5ff6c8d53c7c6ac6441f295b1d4933d66b1c /system/lib/libGLESv2.so 9a0a72a1cfc4c31c63ee10d2a822ec190ced9cef /system/lib/libFFTEm.so 394c7823813854e5013c909d09f6d1ec8e6d8005 /system/lib/libmmjpeg.so c41bb3c2314ab40bb19e2fbadc8abbc10bc5b9d1 /system/lib/libacdbmapper.so 0b4ba1b9894d1106d7de414d8a3737550323428f /system/lib/libdrmframework_jni.so 99683a9cbd5570be46396c9d98f92cb85dd83c88 /system/lib/libGLESv2_dbg.so e2629787ad09d566defe6ffe4aaaf8cf59d75000 /system/lib/libmm-omxcore.so 9084e6c90b4310921f8a67d58d87eaa9e8655ede /system/lib/libandroid.so 9512bdc386f8172002c966b940a10a3fc47a48ce /system/lib/libmediaplayerservice.so 6dc84d63b8b4ff4365be495014ddd09dbba24d70 /system/lib/libbluetooth.so 54a952bbcf03d73d967f6b64958471b5f5217126 /system/lib/libril.so eb97520a04df0a165ad34bf6f5ccac2608abaf9e /system/lib/libjni_mosaic.so a42c97e44633f163c993c000a5841ef704a252f6 /system/lib/liboemcamera.so b5978050e607f5e057750c8ee83f8624c38d5563 /system/lib/libgemini.so 62b32f26e2a6e537e73271dadc0203030203fea4 /system/lib/liblzo.so 3efd6d62028a2de9345caa7419d37d08e2d4fa06 /system/lib/libstagefright_omx.so 53cbe546597cc408ce8405a73871537bdeb57e3f /system/lib/libhtc_acoustic.so 68b202211e76dac400ab094394b6c697fa1ce7d2 /system/lib/libgabi++.so 5c7ea1a21b757c118511b9cb175eb11944c29d9c /system/lib/libfrsdk.so f091b2766fd752a527667c6430755769496b524a /system/lib/libext2_uuid.so 7a567e362df7385b2609b4bcaaa54d6cd9410478 /system/lib/bluez-plugin/audio.so d5a7fd8a8014f6fae0b8dda4c2170dee0be43eed /system/lib/bluez-plugin/input.so 4166506ba9861d47ab801d1015c04de9e0ebbdfd /system/lib/bluez-plugin/network.so a98fcf10c382d57c3bcef76515db9ac43528aa4d /system/lib/bluez-plugin/bluetooth-health.so c27994d91636661904522a555ec747f2447a4e72 /system/lib/libsoundpool.so 94f11629e0a8b024275519ffec18b5ddf37cd023 /system/lib/libnetmgr.so c7c083958bbf3c11248a8ff31b587339726d395c /system/lib/libicuuc.so e828d14ef6ecaa095b703d061fa4adbe9fd1417c /system/lib/libext2fs.so 15bc256d39b92eca726ded8ae603aecb8512d355 /system/lib/libpower.so b88e41064adaa1dffa399c00cb9310cc6c03acb5 /system/lib/libpixelflinger.so 1ae74d79dd0db7142a95bc50063a1537497aecfa /system/lib/libdll.so 48d4e3d09471efde16fd13d7ba42473c534bb75b /system/lib/libnfc_ndef.so 7fa3f9586ad1ea3c63b656b871a94e24680d2db8 /system/lib/libvideoeditorplayer.so 8ee602756b8e0caeb0152ec68ef0fba35d422cdd /system/lib/libwebrtc_audio_preprocessing.so 3497bf173605c90d0e102b67b22fb47230a42278 /system/lib/libmllite.so 4e10b7721b183e114d6e1268b6248d70959b432b /system/lib/libvideoeditor_jni.so de668c12e18eb341656c4a759092353c1acc6c0f /system/lib/libusbhost.so 76d4c70e7e4f14efb102d9a5363af76aa819cab0 /system/lib/libnativehelper.so fe77f10a2ed00d4dc42a2b0d3328f9b57e26d242 /system/lib/libsystem_server.so 41df528153a500e4c755b86067d93986eeaec186 /system/lib/libandroid_runtime.so dc44c9d4df62fb3cdbfd2d5ca8b685fc80a70862 /system/lib/libOpenMAXAL.so 07964a73a1167d2b5371da0a7a19e25d527363d6 /system/lib/libmtp.so 13feaef8d976f70cb8ee29162c0fc302dd51b3f0 /system/lib/libdiag.so 1a3b4d30b1776a225b7969357aeb263ad85924b9 /system/lib/libhtc_ril.so c3a4b706c0bc69d3cb9e3e460f8f7ddfdc0e3688 /system/lib/libcamera_client.so fa8c614e1ba9fa06013a07c9bb49f4a6f326c0f2 /system/lib/libchromium_net.so 350f525543473cf6e6c2aef25dd15b278a4cb568 /system/lib/libsurfaceflinger_client.so 12ba180d276b44d96e23f91c3d328f6ffdeed0eb /system/lib/libidl.so a897f54312d79d689d4b0dc52285b3bf9fbeb087 /system/lib/libttscompat.so 2aba31a1f620966e45654fc2eda768602d44ce61 /system/lib/libicui18n.so ce5c3d2e2e41892c8b0e00c7ee3305b513b32a84 /system/lib/libnetutils.so 1cbe9e79b7eec847894f1618928cb04d90c5af6b /system/lib/libdbus.so d85358a5c5223feda3c08c9dedfd66374970fd0a /system/lib/libttspico.so 8aac9c2a582dfdce03d39b5c614bc6592d955879 /system/lib/libemoji.so 9604661d499813cbb33a5e9d240deb2614228040 /system/lib/libwebcore.so 400d2d8ec9f055575c1f7bc99a05e9c0f94167ca /system/lib/libEGL.so 59205ba8091fa6433f20e7cb1b34a117d3d45223 /system/lib/libOmxCore.so 29e3f4edacd22162ba01b31de119d93d3c805ad7 /system/lib/libsysutils.so 549af86957d0fb8800519015c2b590515eb2a9c3 /system/lib/libC2D2.so 280ae37ff30d92ba153e54eab07bb759751e379b /system/lib/drm/libfwdlockengine.so 27828b0ef02d9130bae2b00b0c84eb36cffd82bc /system/lib/libstdc++.so aae6c360214fe7db761169654eaf7e9496c568d2 /system/lib/libsonivox.so 8dce49a1b1c3deff389eb53c571da0549bf5318f /system/lib/libmlplatform.so 9c2e64e09e52248119177c297ebf69c29631ace9 /system/lib/librs_jni.so ec922b08b0fdbb2f1bf956bd44b163b67889316d /system/lib/libext2_blkid.so 9ed77f17ec6e4ee5a20389ba161dc58f7fff8c55 /system/lib/libstagefright_soft_g711dec.so 5d4f6068e2aa2f1af06738b8d0701cd897898e41 /system/lib/libglib.so a268b2d26865743762ee33cb2926fb3daaf62d92 /system/lib/libext2_profile.so 37be1a75f40bd01182b22145770d024a212af41f /system/lib/libmedia_jni.so 266064f0e9dcf45c082a532380f97622f30fc87f /system/lib/libstagefright_soft_h264dec.so 0e44723c189893bc8c178cef5409159bd6bac919 /system/lib/librpc.so d73a67984cdb191b65d1394908cd41a39a2a63d8 /system/lib/libbluetoothd.so d91f49c399a9eee6f034b2dbd55a83c47e2be692 /system/lib/libstagefright_soft_vpxdec.so 358ed1047ce4ffef3b991f9e92c73c9e5cf7350a /system/lib/libharfbuzz.so 9fb7582dc7117912fc20483489c3c0aef56a04f6 /system/lib/libcrypto.so f0f3c4ae9a0ebc94f7410fc40cadd6b8443993f1 /system/lib/libdefcontainer_jni.so 29500f5651d4b714029962f1c2670a58e652f339 /system/lib/libaudioutils.so da63333f3a01dc9686a4ef7c03dddcbdf8860adf /system/lib/libhardware_legacy.so 9ee7672700be0fb6c9aa573c3157b1e356e336ae /system/lib/libbinder.so b09c5f1b093086c1e943f6ae755963e8fc4160e9 /system/lib/libeffects.so 2ae28eecafad14641e6373db7981425815d9903b /system/lib/libext2_e2p.so f0e7d80dbf066cacf63f2b381379c8659742e274 /system/lib/libmedia.so 520cfcf9d1eff6840d2a329ef68dad748a639e83 /system/lib/libpagemap.so 3ec42f71a6e4224fb173e14a076c442fdc3c1487 /system/lib/libexif.so a9ed8cedde944986f0831c5871de7c51fefef043 /system/lib/libui.so f9b0bd78590ee3400d9fd2459d4b1e009dca6e02 /system/lib/libaudioalsa.so 1b317da278c12bc471a0d5d9ad084659b91f0e86 /system/lib/libaudcal.so a752f9cf910cd500d8d5937ff6c7addd91dd25af /system/lib/liboverlay.so f6843f28443e613393676425c1bf9a4adcf5a223 /system/lib/libOmxVdec.so 54284b6df904cd8b8dd6489f95271b5eb22ba036 /system/lib/libsqlite.so 306f07bb04e8992f22f48d9cbe23eab82b0b2d25 /system/lib/libqmi.so 8f499b48bf05fd4d4b02c171aed3d41932e8dfd0 /system/lib/libOpenSLES.so c3341b0983af605b26c456352d422f7471398116 /system/lib/librtp_jni.so a1bea5327919e3b2f7608ef939d7094a5dddab0e /system/lib/libthread_db.so 7d998827a54a3772f0d95c5a0f6e341bd5e0a287 /system/lib/libmpl.so f8a9d50e7806d02acdcfd770f91ccce844a82b92 /system/lib/libaudioflinger.so 0782f16acd5b9da398206ee26fe1111ded5fac89 /system/lib/libWVphoneAPI.so 1ce8599032c622acb9af9acc809b3921311c03ae /system/lib/libv8.so 309bd7b575e53b575aba20698fcc56e6ae0448fa /system/lib/libgui.so 47f7537436f66c6f331d3547cab746dfc409c00d /system/lib/libjni_latinime.so 375fec8f8268bdd7caa0c0bf869d8a53348284c7 /system/lib/libOmxVenc.so 68ed98d8592bc600d19a6a4167cfc40ac5f4f759 /system/lib/libcameraface.so 5eab78c3319808534ce7b29c1898bd4cb1bfd769 /system/lib/libETC1.so 719a5aa41c456c62eddac45f4f1820172d9a14fb /system/lib/libsensorservice.so da4bf7947fadfea246bc9a246fdb894404ef28aa /system/lib/libstagefright_avc_common.so 50c8ca26b0bceb0736e03c38e739eab641ab2311 /system/lib/libfilterfw.so 4df85fe2d6e6d633c7c9aea282d8c6a44ebe6f63 /system/lib/libdrm1_jni.so 7dee320e2b31739837f1dc8de19f15555be72741 /system/lib/libstagefright_soft_aacdec.so cab3b741565cd951cc70d41169292e7bddd9a017 /system/lib/libposteffect.so 9aaabb30896c7b63eba67fce25c7eba2d1ee84f1 /system/lib/libchromatix_s5k3h1gx_hfr.so 4fb40bb33c724e5bf5dd82174b36bc6633898d2b /system/lib/libcutils.so ae3b37942bc27a08ac516b7d9cbb5e65ec352479 /system/lib/libhwui.so 8708dec1194fce0f3c56baf452f73e57cd589bbf /system/lib/libreference-ril.so 5e6b70a4da10b22cf060214e7e9d51846d1264d2 /system/lib/hw/gralloc.default.so c0166d494ba20386d8ef4914f3d8c21e58312d51 /system/lib/hw/gps.pyramid.so ee88a956da635b73cc0f227dcf82192e4352d87a /system/lib/hw/lights.goldfish.so b6ae660bf4a1ba95fe8deced2bf50835f352812a /system/lib/hw/audio_policy.msm8660.so a043bd4407a7d0585c3e80856b99cbd03a92461f /system/lib/hw/audio.primary.default.so 6c7351a0f8637abe2830eb1bb4fb1dc116a9fb5a /system/lib/hw/gralloc.msm8660.so 2704ff8ceb002d401303e8df37e21a8a75a37746 /system/lib/hw/sensors.goldfish.so 16e9e633f979ae44a4d7c8c9615ac0b4f77b1f94 /system/lib/hw/hwcomposer.msm8660.so b6e1b0442935811a52d9fbb5e23b56e5aa180ed7 /system/lib/hw/audio.a2dp.default.so 8c9ae4261ffe2d4fd3bdab3f292fb60bbd94b193 /system/lib/hw/camera.default.so 3f9e9007cf1294defb9a18187844a6c6d520f08b /system/lib/hw/lights.pyramid.so 9dbb0cde3c47da2959871a969980f930dded7c16 /system/lib/hw/gps.goldfish.so 9d48d57a6c3fa1302d08c06157fa23972be999fe /system/lib/hw/audio_policy.default.so aeb60beb5d9b8636757cba7b3b2d390ae04f9c14 /system/lib/hw/camera.goldfish.so 65e8e52c5ed199a87cbb3977b3f729631229da11 /system/lib/hw/audio.primary.msm8660.so d871399bfb1b84f53f1b2ef3df4ed4bf2cf8819d /system/lib/hw/sensors.pyramid.so adeb22e4424576943f20d121e6d37a14b488f116 /system/lib/hw/copybit.msm8660.so e504b77230bf3b79129181434363f9e3e26e667e /system/lib/libandroid_servers.so 4b114d1b6132122471411c634e0675cd31a40dcf /system/lib/libssl.so 1472200e4d82dd383f22f7a325815b76db4d941c /system/lib/libstagefright_enc_common.so ff0a50ffd2b2ae4af2053b01b4a68e43e1199e5b /system/lib/libstagefright_soft_amrdec.so 8b55f82eceb3bf48d49f4baf2189cdacf6bb3da8 /system/lib/libctest.so 81a5bcdcaf0e1669b6ed1f0ed61c7e617cd753fe /system/lib/libfilterpack_imageproc.so f262f6a9b08c424a000320cca324f0f8636cc55b /system/lib/libbtio.so 18829457f2e0d287ccb630dd7b7fc660e357f886 /system/lib/libwilhelm.so 561a6560e937f62f96dd92317b8275b5ee9fb243 /system/lib/libvorbisidec.so 04be44c789f4a3bc6ac51d6cb79f62b5bdc34f49 /system/lib/libdrmframework.so 447a233a87d79375659440e72369c7384de92d59 /system/lib/libqdp.so 6b42f3eb5d095316a12fa578c3b830779554e4a0 /system/lib/libbcc.so 088d9bea2aa0e7702873891d628857807b5e2e5f /system/lib/libpowermanager.so fc8199960ed4bedde5c5bf0e32dbbb4c28a9d506 /system/lib/libdvm.so b9a87944ad0fbc907e80c4efd43f36ece140da24 /system/lib/libc_malloc_debug_leak.so 68c39a26c2ba1fe3506ad06e52ac4b3acf1016ac /system/lib/libmpl_jni.so 67a74c8b71b2643c16ab7466508c39f40e6e9ccf /system/lib/libskia.so 783672fa4b5e7c9ff5b8238129fb17d90a678c98 /system/lib/libdsutils.so 1a334728e8c0709291f0beeb9082a53b7efc318c /system/lib/libdiskconfig.so 49cc98405eb1eb71c51b2bd79e8cf0f55023241f /system/lib/libmmipl.so 9cc5654ebcaebe207b98bad6dda912d967489c7f /system/lib/libsqlite_jni.so 77a383a3fd0da2528d072ea0c1f27dad8b392b2a /system/lib/libGLESv1_CM.so a05d2f02232d10f2a70a418c3ba81436d5943ea1 /system/lib/egl/libq3dtools_adreno200.so 8a1eaba01ff19f7909e998bd7744fd62b0b50a5d /system/lib/egl/eglsubAndroid.so 72c5a8319af1dfb4e6105d682cdcba14fa6f1485 /system/lib/egl/egl.cfg 812655c141446e225230be00e36f7e9d6eb89106 /system/lib/egl/libGLES_android.so c0e44a422c0236acbfab39eda4d2d1392cb371dc /system/lib/egl/libGLESv2_adreno200.so 6209076918830d3a018cf850a5f2b119356ec233 /system/lib/egl/libGLESv1_CM_adreno200.so 28a92c471624f72b33c0b7cb12ac4256fc2cef46 /system/lib/egl/libEGL_adreno200.so 2ee42be72aa7dcb51ed2df8458ce0709c22d29a7 /system/lib/libsurfaceflinger.so 6f9c20b69a7e594ce0863ce0bfc4ab320824e8e2 /system/lib/libchromatix_s5k3h1gx_preview.so 32e494a3a71ec5b2a73acbc025400ab1044d4aa4 /system/lib/libqmiservices.so f78ad9c864a1f8802398081448540258e5bd6a2f /system/lib/libbcc.so.sha1 a2a09ceb8d4c0fba0dc0ef510230be3701392706 /system/lib/libhardware.so cd256a2863be9d95eaaea8a1a07def94d665d38d /system/lib/libmicrobes_jni.so 1c5b27132b9103ea2655049cae0d69249395da47 /system/lib/libcameraservice.so 76cbd3a2559249289d8a19e1edcc86f157635e94 /system/lib/libinput.so c9ce2e631bdddf08a6aff2a9bbf2e2352f04a11c /system/lib/libstagefright_amrnb_common.so 2843cbbd3799f8b984af9cac7dd2cc02fcef20e9 /system/lib/libc_malloc_debug_qemu.so 2076983d7a4f88b2c6bd17ef218df1d3ece567ad /system/lib/libext4_utils.so 12b67e7581803f05b3975b937e9552b98752a36d
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_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
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");
package_extract_file("system/bin/modelid_cfg.sh", "/tmp/modelid_cfg.sh");
set_perm(0, 0, 0777, "/tmp/modelid_cfg.sh");
run_program("/tmp/modelid_cfg.sh");
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/mmcblk0p20");
show_progress(0.100000, 0);
unmount("/system");

Any help will be appreciated!