[Sony Xperia P, U, Sola, Go] steryman:
Ok so first of all this is a question addressed more to the developers, and I hope they will read it, if there is any developer here that takes a look in this section, because this is the only section I can post this sort of things. Anyway so the question is:

Is it possible to make a flashable Zip for Recovery that contains entire kernel too? I mean, when I was thinking to make a surprise to my friend and flash CM9 on his LG O2x P990, I've checked the content of the Zip and i've seen that there is a boot.img and a kernel folder too in which are contained some files to reassemble a kernel and make it a boot.img(zImage + ramdisk). I've also seen something like this in my friend's Zips for his HTC Wildfire S, so both LG and HTC(as far as I've seen) can flash also kernels inside recovery. I will attach a picture with the content of the Zip and I will post the code of the update-script(I won't upload the Zip because I want to prevent newbies around here from damaging their phones by flashing wrong Zip).

PS: I know we can already flash zImage inside recovery(KA Speed) but I'm talking about the entire boot.img, so we can install CyanogenMod without PC

package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "backup");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p1", "0");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
package_extract_dir("kernel", "/tmp");
set_perm(0, 0, 0777, "/tmp/dump_image");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
run_program("/tmp/dump_image", "/dev/block/mmcblk0p5", "/tmp/boot.img");
run_program("/tmp/unpackbootimg", "-i", "/tmp/boot.img", "-o", "/tmp/");
run_program("/tmp/mkbootimg.sh");
run_program("/sbin/busybox", "dd", "if=/tmp/newboot.img", "of=/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p1", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p2", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/cache");
unmount("/cache");
run_program("/sbin/busybox", "mount", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
run_program("/sbin/busybox", "mount", "/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/adjtimex", "/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/taskset", "/system/xbin/tee", "/system/xbin/telnet",
"/system/xbin/telnetd", "/system/xbin/test", "/system/xbin/tftp",
"/system/xbin/tftpd", "/system/xbin/time", "/system/xbin/timeout",
"/system/xbin/top", "/system/xbin/touch", "/system/xbin/tr",
"/system/xbin/traceroute", "/system/xbin/true", "/system/xbin/ttysize",
"/system/xbin/tune2fs", "/system/xbin/umount", "/system/xbin/uname",
"/system/xbin/uncompress", "/system/xbin/unexpand", "/system/xbin/uniq",
"/system/xbin/unix2dos", "/system/xbin/unlzma", "/system/xbin/unlzop",
"/system/xbin/unxz", "/system/xbin/unzip", "/system/xbin/uptime",
"/system/xbin/usleep", "/system/xbin/uudecode", "/system/xbin/uuencode",
"/system/xbin/vi", "/system/xbin/watch", "/system/xbin/wc",
"/system/xbin/wget", "/system/xbin/which", "/system/xbin/whoami",
"/system/xbin/xargs", "/system/xbin/xz", "/system/xbin/xzcat",
"/system/xbin/yes",
"/system/xbin/zcat");
symlink("iwmulticall", "/system/xbin/iwconfig", "/system/xbin/iwgetid",
"/system/xbin/iwlist", "/system/xbin/iwpriv",
"/system/xbin/iwspy");
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/libGLESv1_CM.so", "45ab6b30191dc804cec015d64028160a8d6a88e5", "/system/lib/libEGL.so", "60e9f670ae6e2b23d5ba78f7c7beec15ce37c2b6", "/system/lib/libcutils.so", "567d91c4b1d8fc0b292968bad4c9011ce90541ef", "/system/lib/libRS.so", "9045b26ed823c5c9a9632e9b2efb64b777049039", "/system/lib/libicuuc.so", "6acd2accc204118cb3ac705dedc01e9229857975", "/system/lib/libext2fs.so", "0c404b2e2ec8406c7da67e27cba1b9304b309823", "/system/lib/libbluetoothd.so", "7eb7fcdd301aa774255a04c83956de96d1218588", "/system/lib/libcgdrv.so", "6d12aa478da8fb060616e57e3c9f925d3c3ef6af", "/system/lib/libpixelflinger.so", "e672271c87e76d79785f70477554bd1490655488", "/system/lib/libGLESv2_dbg.so", "9717c0ad0adec847d025483fe9b47a8d93479285", "/system/lib/liblvvil.so", "7b0791695e63570ca3bf29838089465c4a490d82", "/system/lib/libcamera.so", "291d2d6067da71151a0948488927dc51360b2b30", "/system/lib/libstdc++.so", "d8b10940d86c66089378382e2551da4ecc2258b8", "/system/lib/liblog.so", "58580c57fa11e20cc91d350a49ecf2b956ce4d82", "/system/lib/libext4_utils.so", "8fae47d24b6ddf4bc8c958b6dc9468fc9f2b605b", "/system/lib/libandroid_servers.so", "1dc44ca735360b53092f7d54ca4437aca38bacb9", "/system/lib/libdvm.so", "9d3fa05ec2959d2bd3950f472f89b0b23e1e61f9", "/system/lib/libthread_db.so", "9bc4fc19176c19054e353d8c0e5b42d422ef1583", "/system/lib/libbcinfo.so", "914285a0caea9c5607ae08260c4319a2ad0d6f87", "/system/lib/libandroid_runtime.so", "2c5a8bc7ab58352d0f52b93713d4936c8bed332d", "/system/lib/libnvmm_service.so", "ceca088543055b1ea9c20790ab891c860c6d1f93", "/system/lib/libui.so", "e6fdffe73d5a7eaf3aa84772c88a71bc77c37288", "/system/lib/libdbus.so", "92f26eee8245e26fff4143b2d889d7b838026ae6", "/system/lib/libnvomxilclient.so", "ee2955d36196c24cb87262fedd82d6bd6fc551b3", "/system/lib/libjni_latinime.so", "d600eaa8f6a21b07d4770de11943e62c41510f07", "/system/lib/libsystem_server.so", "fa94ab2f8441063b0a0459a9c61389e792f7c922", "/system/lib/liblgemmqcelp.so", "fb5a983eb2781e7521fef86b8a3c16b4ec643a51", "/system/lib/libspeexresampler.so", "2e0190203442c931f7bd50a0cf35fd43eb663523", "/system/lib/libstagefright_enc_common.so", "4fa643507b98948ad554309ccfc479e268d08e76", "/system/lib/libpagemap.so", "77659d0abcdf6092ab46bd961bd14cfe1c5015e4", "/system/lib/libnetutils.so", "ec2a97b5a5d21c8e741c7de2756635112cbec798", "/system/lib/libpng.so", "9f2987d83ae016cfae35865129186b5aac07cfc0", "/system/lib/libGLESv2.so", "45801dc7cd452238ff7745cbb00600c6acff0b0e", "/system/lib/libext2_e2p.so", "b28f6f0ea6db81d03a185528a5ad86ce00836603", "/system/lib/libstagefrighthw.so", "cbc7cf4e190b5da8ab3480d1da4f2fb3a94ca344", "/system/lib/libext2_uuid.so", "2dc24589218289ba3d91765d707624763e5b5c0f", "/system/lib/libnvddk_audiofx.so", "6a8576664dedf3611568e466782c8f25ef70c990", "/system/lib/libmtp.so", "baaf339cd1e1914cb4fd364e90062908c74f0cd7", "/system/lib/libnvomx.so", "0388a031b39d5598cdbab640b87d07814faeb786", "/system/lib/hw/overlay.tegra.so", "f250e7609a1fa7145672cd92098342d1bc4f5c0a", "/system/lib/hw/sensors.tegra.so", "ab28fdb1ef6a0048930dc1b624796b19bf97abf6", "/system/lib/hw/audio.a2dp.default.so", "d084068c7aec51c2f747915aa8fa25a129ab1907", "/system/lib/hw/gralloc.tegra.so", "4a46386b93bf1346b83e48a27257065f696a599a", "/system/lib/hw/gralloc.default.so", "f5fdf154fa575317d786e413abd8db5624090c1e", "/system/lib/hw/audio_policy.default.so", "0dc14982cc8fa9909e187afee0dca09060e729c7", "/system/lib/hw/gps.tegra.so", "c61918134b2d2ab3c4b55855ad0392fef2db8c7c", "/system/lib/hw/lights.goldfish.so", "5ff444248f9036bf43dff9d2f9ea1b491cb4126c", "/system/lib/hw/sensors.goldfish.so", "bed57428cf1d6d6c7e90f7350eda80c2acaa62cb", "/system/lib/hw/lights.p990.so", "9fc0866fa8958797d1de5b47557861d9463754a6", "/system/lib/hw/camera.goldfish.so", "6bb6d61658203901e34c115c9d8f0a3450c9ec53", "/system/lib/hw/camera.tegra.so", "51d5338b958dbaee11a07880cf206e21088c8fe4", "/system/lib/hw/hwcomposer.default.so", "9deb372be8d24a7b636be907a1d362c90584d206", "/system/lib/hw/gps.goldfish.so", "ee1084a29ce870c4eabc4e3d61f2ff4c04da1be2", "/system/lib/hw/audio.primary.default.so", "bc6b7a736f328ac27abf26a69978870a5859ebab", "/system/lib/hw/audio.primary.p990.so", "ff113518949ca43a13a921129596f221178b81ea", "/system/lib/libaudioflinger.so", "a5704a73788097baa97bf7a2ff17ac164c3a8b9a", "/system/lib/lge-ril.so", "c1cd3054a8d4bd9012de991d0975e2bd02b050a7", "/system/lib/libdl.so", "23868a6f84a3ed51f9c69bfee7362e99a13a0f69", "/system/lib/libstagefright_soft_g711dec.so", "f6fd1de4e491a91cf713420ff77f9ff36e23bd37", "/system/lib/libwebrtc_audio_preprocessing.so", "5d39a31de0f9a0388478cceb672964793d4e3fda", "/system/lib/libstagefright.so", "967cc6587cfb70e906b0f16d99e3f77196636293", "/system/lib/libnativehelper.so", "fea3a64f8db15de309bb391bcb19130d81370889", "/system/lib/libstagefright_soft_mp3dec.so", "410743d82d0e49b83324e5da7df2646e05e7d83a", "/system/lib/libnfc_ndef.so", "e42977f95b19b69ee300afda35b9dabcd28e3a0a", "/system/lib/libfilterpack_imageproc.so", "67ad9a6df738d230d9ffa43083098f1a64e327e2", "/system/lib/libbluetooth.so", "c7ead583a6e3997a3e896f5dcf1b7e4a3110d03a", "/system/lib/libinput.so", "26e72bf87f7a4fb97f8895bcbb109afad4007032", "/system/lib/libOpenMAXAL.so", "162dcfc337a77cdf81f2965a176028b4cd96e882", "/system/lib/libnvddk_2d_v2.so", "d4ab17588cc5466551d03faf9542c68c8412a6e0", "/system/lib/libdefcontainer_jni.so", "f3c4e2e811e2b7d147344c038c1d2432b9b84fa9", "/system/lib/libnvrm_graphics.so", "5527fa8e8b40e1f8571261b568a8d532281303d0", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libnvddk_2d.so", "a41be80338188004a59ffdf32c88f3a425e64735", "/system/lib/libstagefright_soft_vpxdec.so", "f0fbd2edea65f24c9f4cac6a4dbb1f261bff3b2c", "/system/lib/liblgemmdts.so", "0335dafec5f91c5ff6803aa5713a8e19c62eeb6d", "/system/lib/libnvmm_videorenderer.so", "b9aee3a1f01a0096a50dafdd17db6c9ff587c02e", "/system/lib/liblgemmec3.so", "1a39fcc3b02a89ebc7a20e17241ccb6a9c287bbd", "/system/lib/libnvmm_utils.so", "2bcb0bc5484c650265de4d0b027c7b453fa31efc", "/system/lib/libaudioeffect_jni.so", "fc960a6fc193b14c7dc2aaeb8ef1c8ef36617ad4", "/system/lib/libbridge_jni.so", "de4f089f0866333bd00b851fd65ae619aed38ccc", "/system/lib/libnetlink.so", "e5f9350012b9bc801313430344ba0ece6d2f9901", "/system/lib/libbluedroid.so", "2bf4f0d00fca6ee841653133c8c05fee1f3be0f8", "/system/lib/libhwmediarecorder.so", "260cf68dcb67f41cd176189ffc2d67e1c557994b", "/system/lib/libvideoeditor_jni.so", "b7879f18d24a2459cd13c03fbcca7114b1b5da46", "/system/lib/libhwmediaplugin.so", "aa8cd3f49764809d7a2a3266eaf42a23d4c68782", "/system/lib/libexif.so", "634ce134f1e71f34ad40785790427537ba267a56", "/system/lib/libnvodm_misc.so", "fc301b0c54ff6c7de8e3540935e72c05f46dfcbf", "/system/lib/libsurfaceflinger_client.so", "b92f3eda04433405a7ec9e89911879d90e49cfb5", "/system/lib/libaudio.so", "b13bc3570073fed7a7ca7f34760c25d04469e4e7", "/system/lib/libstagefright_soft_aacdec.so", "8089fd63d9fe6c3043b596d79647ae70dcf0ed9b", "/system/lib/libjackpal-androidterm3.so", "ecaeb903c230d76e6becedc058fc61b518e9d60b", "/system/lib/libnvmm_manager.so", "2a8c20b2d62ae97f55640b7a9db89a5b66739918", "/system/lib/libext2_profile.so", "9957b852ff1918a6ccafdc8da1eee276af640292", "/system/lib/libwpa_client.so", "a4df9e9b3ce6a2eb09808b9593ae7f11c1c67ace", "/system/lib/libcameraservice.so", "af63c7b861908d3a657240ab7dfe99e5ff316599", "/system/lib/libSR_AudioIn.so", "5570584f22fdf32944a5ad930df4ad2e67a37a87", "/system/lib/libnvmm_image.so", "dc531db66daf878da877b0173d66af34260c30e7", "/system/lib/libc.so", "c989baf9816fc9fbfa046902089a15583c0488bb", "/system/lib/libext2_com_err.so", "0f5efa50a80905f52bebeb5d6eb8064105f8fe8d", "/system/lib/libexpat.so", "4da45f18188e5c5bdf5c17f72135a112a85f3d20", "/system/lib/libmediaplayerservice.so", "b0723f1f47f33fe620790211673bd1ecf0e544af", "/system/lib/libnvmm_logger.so", "722a585cdf63aa7e149259674f98edd170484c81", "/system/lib/librtp_jni.so", "f03ad048641f88a9a141f28cea9730a677fef954", "/system/lib/libttscompat.so", "4d5ca2a7e3deb8b5f342c21397d855f000c396ec", "/system/lib/libpowermanager.so", "61b15f27479881c7bd53c2474714947ebd338f96", "/system/lib/libdiskconfig.so", "e3f9358dcb9a26392e7d7b83bd95a4e79a833823", "/system/lib/libbcc.so.sha1", "64c65ba930d91f52ef0e8daea95b61ee62ff96de", "/system/lib/libnvmm.so", "de2bc5f27b9e91198b83ee4692ceb148096f0bf0", "/system/lib/libdrmframework_jni.so", "53f0ea872d735c027b49f00fc1bde65538ed70e8", "/system/lib/libnvodm_query.so", "738ef8ceae3774a48e93644fca30596eada95eb2", "/system/lib/librs_jni.so", "f688b85dc60292c8e6a8f7583accfd5385f792f6", "/system/lib/libutils.so", "32626e771c3450b300f2121e3fd5735dc7663e09", "/system/lib/liblgeswcodecs.so", "cc8cf01966b888756eb4c3ee8a48b9622410cfe8", "/system/lib/drm/libfwdlockengine.so", "2ac6e461feb158ab3366da1660d1b7145e29c181", "/system/lib/libdrm1_jni.so", "8025fd0142cc168f0f8a9b34f6668be4690ab077", "/system/lib/libctest.so", "639beb017816cb52ab2d5e189c4aed39189aea6d", "/system/lib/libsoundpool.so", "3cb25cd7479282f4c584d5f41943596dbf683371", "/system/lib/libnvmm_writer.so", "f452c502a078c6fd977b0f8ab0126bccc03a5adb", "/system/lib/libnvsm.so", "7506e7764fed1b06a770ede9ca4fe2f77f30a836", "/system/lib/libnvmm_tracklist.so", "832687de5303369bb431d7658c14984014ad8752", "/system/lib/libbinder.so", "a5aefaccc1f463e75e0fa8012aa14ccb83339b70", "/system/lib/libril.so", "31b51f31c6e19be13a9cf287c4ed4d477659a4e9", "/system/lib/libstagefright_soft_h264dec.so", "2c93d9963d3b25e74aeebe8039e3fbde3d7dcc57", "/system/lib/libstagefright_avc_common.so", "fd2e14a05076c048858fa8935b5427a940d52d79", "/system/lib/libsurfaceflinger.so", "0e33e70a65287acf2e9f74e55f0df6602943821f", "/system/lib/libbridges.so", "6b97be5106c41b9193ed6ffaa7907218ee9f7be8", "/system/lib/libsrec_jni.so", "473ab5ad9df39a6f06c1c9af23c672100e5f1e57", "/system/lib/libnvmm_contentpipe.so", "a4c11bd64a2db8915b2381eb4aaa3ea75e01b9d4", "/system/lib/libjpeg.so", "6714993e921cc0e191f82b97e6c2f7f2b2c765a8", "/system/lib/libvideoeditorplayer.so", "2ea07d9cdb577c78b93f5399edbf5542c92cfd29", "/system/lib/libjnigraphics.so", "8dd45b2fc6ba2d78c73d602087671ecf748b6377", "/system/lib/libncurses.so", "0a8ada7ad6796c1417e5798db94189eccc959798", "/system/lib/libiprouteutil.so", "3b9ee976f231c1f247331661e0ed582b29ab0df6", "/system/lib/libz.so", "9fd029c0484409a0051fd21710170c777d19fab8", "/system/lib/libbcc.so", "e47ece12c70c2af156c59690df4d0520b1f10314", "/system/lib/libstlport.so", "d2ee59133151ad04d21a87ef23062e22c3014379", "/system/lib/libjackpal-androidterm4.so", "f79cab69953a22a9e57ff6df719d1ad98369ce9c", "/system/lib/libstagefright_yuv.so", "27166e4240fdefe0033b978cd1d0da1bf24fb633", "/system/lib/libnvapputil.so", "8f6fa966fd0c0bd427f872b54158554f023b100b", "/system/lib/libFFTEm.so", "4f4a6172ae17a64e7fef96f78486f1738041f106", "/system/lib/libnvmm_misc.so", "01bde555dc9083c1605f79a3868cc96f488f9145", "/system/lib/libcrypto.so", "93ef005d20b81d1e709ad76d1333d0bfbc10044f", "/system/lib/libglib.so", "a707c5bab6bce96014a93d79a9a34bed68ccb2d7", "/system/lib/libstagefright_soft_vorbisdec.so", "7d63cfdc8ab5e5b5e86de532cc09ac63ee6eb3bc", "/system/lib/libhardware.so", "478f37b0a1b8ca5c76463f34008c1220a848ed48", "/system/lib/libstagefright_amrnb_common.so", "f304e1ecc24e6b99fe7f650781e40cbc52138b12", "/system/lib/libnvodm_hdmi.so", "17fe27ad61e279e940e075a638718fec57c16ed6", "/system/lib/libmedia.so", "52f7798f5c0e61a386eeb661ec1cad3a427759d1", "/system/lib/libsecureclock.so", "24e51bffcd01d257f658087460c7785bf0aea7b8", "/system/lib/libnvodm_dtvtuner.so", "031f49a5ff9db671f5304a0a3406ff576c87a61d", "/system/lib/libhardware_legacy.so", "9822fade3b8eddf4dc10d2bb68675d22727188cd", "/system/lib/libnvmm_vp6_video.so", "da2b749ba975a102673fcd60a1dd26d868021a67", "/system/lib/libnvmm_parser.so", "80ed0c3a1f1effc49c9377cfe47dd6eb746308d6", "/system/lib/libhwui.so", "1ff8a0f7fdffad4a1b337a06824faba9f2ce4d5a", "/system/lib/egl/libGLES_android.so", "19d6732d6c728b2eee5f00d7566ba77ff95f3f6a", "/system/lib/egl/egl.cfg", "d3b5f99fdfa35fa75b0d66a5e6a9dcdea1295dda", "/system/lib/egl/libGLESv1_CM_tegra.so", "4db445207c3c852c6b7b5ef526c851305f3d0b51", "/system/lib/egl/libGLESv2_tegra.so", "10940611ba5aba5bc1c3fa0630594529f6ae5ecf", "/system/lib/egl/libEGL_tegra.so", "b824aaad270b171f54175473f0172ec425f8d99e", "/system/lib/libemoji.so", "72b5fc501feb455dae3156c87fe6a413262704e5", "/system/lib/libsqlite_jni.so", "4d92d2095bfd4c7a9a5982b0173158c7e2ac93f7", "/system/lib/libstagefright_foundation.so", "1657a1ea1d461b23c1956040d51faf705aec303c", "/system/lib/libnvmm_camera.so", "7eb2e18e64f0ab4690577f47f8916b7b296fd888", "/system/lib/libdivxdrm.so", "fa0b20ecabe05691a5bd8a3c635ad7e3fdafa57f", "/system/lib/libnvrm.so", "9f27ecf863325b23597c5365dd956d40cda17bb3", "/system/lib/libskia.so", "ff15d04e031c6dbef1dff2830ee774ee2662c4f3", "/system/lib/libbtio.so", "36bb21fb2210447f314cbdfdd6e27addec7dc1cc", "/system/lib/libttspico.so", "3e465d53ebab73be1065726ff78e471c673ba306", "/system/lib/libeffects.so", "01bcd9c04e3cc22588ff04f4c02a5d0d2a17dc2d", "/system/lib/libchromium_net.so", "1571481540dd2711eb7b497fbfcae1ecb6ecaf60", "/system/lib/libETC1.so", "4a172f9b42ecb1e93fd80285bf88bfea851ba892", "/system/lib/libbridge.so", "fa34883f583b20c4949c548c3b3ef746fecfa89b", "/system/lib/libnvmm_audio.so", "dd1264572bdf343f93d5897bab77638353c4e300", "/system/lib/libaudiopolicy.so", "0a5dae3c9bf9feeb7c86a8a2548cbdcac3ac735a", "/system/lib/libdrmframework.so", "a0c47ffb2e848864d746065c5e1739d5dfa727b9", "/system/lib/libsensorservice.so", "fc84a3a08fdd2f59a08d9ea7b61d84a3d47ab039", "/system/lib/libm.so", "f330321cb5eb586cf8e1fd7f90749d8d2158c194", "/system/lib/libext2_blkid.so", "41848ed7f4bd167289705159e6fe28f6341b783a", "/system/lib/libusbhost.so", "3e69b03c11ba1c65489250c27529642b8fe7074c", "/system/lib/libvariablespeed.so", "7f54db8dbc4e1d552786d520118d89edbb4826c7", "/system/lib/libnvwsi.so", "0da5628e87f6d2e2d18c4f36f1e9e25939031049", "/system/lib/libstagefright_soft_mpeg4dec.so", "ca9e301f33da672721e97988021265ff7825b0cc", "/system/lib/libsqlite.so", "fc374e13521c965f091094b2196514bf3809750c", "/system/lib/libOpenSLES.so", "ebce5933e8087f548f16b4b7d9e6914e67712a3e", "/system/lib/libwebcore.so", "8656de1fe0069bdffb4295fe55026dd5bdcceefc", "/system/lib/soundfx/libbundlewrapper.so", "a35b2827f04eacf89ada06c6e92b0dd45e6ec5cd", "/system/lib/soundfx/libaudiopreprocessing.so", "eafdb8cae0c6619f6baf18335c90977808b52704", "/system/lib/soundfx/libvisualizer.so", "9c3cedf269096c4ea81612d12950850e56182d7e", "/system/lib/soundfx/libreverbwrapper.so", "7850df2501ad73d2138223b3339194ec6ac56302", "/system/lib/soundfx/libcyanogen-dsp.so", "6e2512d8245ff39e9de26f0dcaf805ff3ccb5628", "/system/lib/libnvdispmgr_d.so", "d9ea456ed7b01f0d41c36d8a1d196379d430ccf1", "/system/lib/libicui18n.so", "9b784c00cb6c097d40eba0573f929fabf0ca2eda", "/system/lib/libcamera_client.so", "35c03b40992e1bafc0fb31089fb31198ba32b934", "/system/lib/liblzo.so", "74545e9fb8dd4e1589be21d0c4ec9044e50953ae", "/system/lib/libfilterfw.so", "4c45e89aad35bd032713efa52278631a17fe2b0a", "/system/lib/libsysutils.so", "80cf1f8052d22c92043d66ef72358300cf334c9e", "/system/lib/libjni_mosaic.so", "d50d54e65890091062f3c6247f21522b3da9fdf2", "/system/lib/libnvdispatch_helper.so", "256e9f2969b055969bd23f531d95c289d2c3fbfe", "/system/lib/libnvrm_channel.so", "7c6794349a0e922f47ec3f6631d45fe1c43fe3d3", "/system/lib/libc_malloc_debug_qemu.so", "4618c0de1172d4c211803e87f979eae2f6e6b802", "/system/lib/libwilhelm.so", "2150fab10e6b251bc853d3348b47dfaefe4e622c", "/system/lib/libmedia_jni.so", "b498c7b0e23eeb1618e31e1e34df5441da0ddd7e", "/system/lib/libgui.so", "ff15bdbe226998562b5b7e064405422bb573c7c6", "/system/lib/libandroid.so", "6f9b2add3b248b0f8ef2c83d91db849b0ea90269", "/system/lib/bluez-plugin/bluetooth-health.so", "d45272b187bd1cf2d46b7be3b01810200e3bc0ee", "/system/lib/bluez-plugin/network.so", "4619f96b22de868b85b6935ed9b5c63c2ce04eab", "/system/lib/bluez-plugin/audio.so", "627eee5f0ae6598025b1a85592469a43aea81149", "/system/lib/bluez-plugin/input.so", "9bb52b8a7dac2df30160c9b92879a99b2dca37be", "/system/lib/liblgemmevrc.so", "4e34bac68f466cd689f5ea2b9a1b9b7fab64a4b5", "/system/lib/libssl.so", "051a60e58da88e7e3d280b5cfeb7da2380053fab", "/system/lib/libstagefright_soft_amrdec.so", "46ea010cbdbff28799cdff68ab072ef5f05c1ea5", "/system/lib/libc_malloc_debug_leak.so", "5c2744f0b2af3d4d3784a2c530905999b1f70a76", "/system/lib/libvorbisidec.so", "470cdd26ad9892b7884c3df420e46af99b93c179", "/system/lib/libnvmm_video.so", "c0b4748f8e56209fb1da6120e723726960501512", "/system/lib/liba2dp.so", "6168bfd96e0ee52e4783f0fde39e846d36c1e4a3", "/system/lib/libnvodm_imager.so", "14a32f23c6d60b5b932cdf4d1d42d3aa3d26fec7", "/system/lib/libpower.so", "35f931e653dad92ccf0e8849d0dea8e90f95931a", "/system/lib/libnvos.so", "2c5be126c52775c603cf76ae0fb8331c02380b12", "/system/lib/libreference-ril.so", "b697359a11401902c92a743f4c1abce9a88d0598", "/system/lib/modules/wireless.ko", "999b6a8d9802a05637acfb6d4f9cae44e378481d", "/system/lib/libgabi++.so", "94c6627054a9d8b7f0e98988360831a2d66af080", "/system/lib/libstagefright_omx.so", "3ecea9900f8e8e55dc2bca4e3f672ff141c08940", "/system/lib/libdrm1.so", "a782c1280fb616900106d51bc63522974e2bfb6a", "/system/lib/libharfbuzz.so", "f87bf01851879d3c6047e4773c69a999e24681ef", "/system/lib/libsonivox.so", "ba9e5d435d8b5e963056e6eb33eb594cf2541650", "/system/lib/liblge_divxdrm.so", "8493b08e5bbaadf12610dc839f101b6896034728", "/system/lib/liblgdrm.so", "4b5bb0aafa17110883c0d8a66c77407b125e3844");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 0, 0755, 0755, "/system/theme");
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_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
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");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_perm(0, 0, 0777, "/tmp/backuptool.sh");
set_perm(0, 0, 0644, "/tmp/backuptool.functions");
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
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);
show_progress(0.100000, 0);
unmount("/system");

PICS: