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
Code:
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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
steryman said:
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
Code:
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:
Click to expand...
Click to collapse
The boot.img contains the kernel, the ramdisk and the RPM block, a.k.a. everything needed for it to run. CM10 nightlies and AOKP can already be flashed without a PC.
K900 said:
The boot.img contains the kernel, the ramdisk and the RPM block, a.k.a. everything needed for it to run. CM10 nightlies and AOKP can already be flashed without a PC.
Click to expand...
Click to collapse
Okay now it comes the noob question: Does it works without unlocking bootloader?
And I hope the devs will implement this in other ROMs too like KA Speed
steryman said:
Okay now it comes the noob question: Does it works without unlocking bootloader?
And I hope the devs will implement this in other ROMs too like KA Speed
Click to expand...
Click to collapse
KA also has that already IIRC. Won't work with a locked BL.
K900 said:
KA also has that already IIRC. Won't work with a locked BL.
Click to expand...
Click to collapse
Ok then I'm sorry for starting this thread... Oh and the final question: I assume it's not really hard to make a kernel flashable inside recovery, right? I mean, if I want to unlock my bootloader and after flashing CM10 I want back to stock, I just have to compile a stock boot.img then set the update-script...
steryman said:
Ok then I'm sorry for starting this thread... Oh and the final question: I assume it's not really hard to make a kernel flashable inside recovery, right? I mean, if I want to unlock my bootloader and after flashing CM10 I want back to stock, I just have to compile a stock boot.img then set the update-script...
Click to expand...
Click to collapse
You can just flash back to stock with flashtool, cause I assume that's what you'll use anyway. Also, *shameless plug*, give AOKP a try, too.
K900 said:
You can just flash back to stock with flashtool, cause I assume that's what you'll use anyway. Also, *shameless plug*, give AOKP a try, too.
Click to expand...
Click to collapse
OFC I will, I use CM as example cuz it's faster to write I asked cuz maybe sometimes I won't be able to reach PC to restore my phone to stock... that's why I'm asking
Anyway let's talk on PM... don't want to flood the forum with my questions xD
Related
So I am keep on getting Installation Aborted because Im doing something wrong in the updater script
I am trying to add in data/app into a rom.
this is the code im adding in the middle of nowhere in the updater-script.
Code:
package_extract_dir("data/app", "/data/app");
can anyone help me out ?
here is a download link to the updater script im trying to modify.
http://www.mediafire.com/?g8lk25dli08z919
ORIGINAL FULL SCRIPT
Code:
ui_print("Checking Model ID ...");
assert(getprop("ro.product.device") == "ace" || getprop("ro.build.product") == "ace" || getprop("ro.product.board") == "ace");
ui_print("...PASSED");
ui_print(" ");
ui_print("Flashing SCI-MIUI 2.2.10v1.0 ...");
ui_print(" ");
ui_print("formate /system ...");
format("ext4", "EMMC", "/dev/block/mmcblk0p25");
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system");
ui_print("extracting /system ...");
package_extract_dir("system", "/system");
assert(run_program("/sbin/grep","androidboot.mid=PD9812000","/proc/cmdline") == "0"
&& ui_print("Inspire 4G detected...")
&& delete_recursive("/system/etc/soundimage")
&& package_extract_dir("inspire", "/system")
|| ui_print(" "));
ui_print(" ");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/tty", "/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("toolbox", "/system/bin/cat", "/system/bin/cmp",
"/system/bin/date", "/system/bin/dd", "/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/log", "/system/bin/lsmod",
"/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/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/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
symlink("/system/bin/bash", "/system/bin/sh");
symlink("/system/bin/bash", "/system/xbin/sh");
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, 0750, "/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(0, 0, 04755, "/system/bin/sysrw");
set_perm(0, 0, 04755, "/system/bin/sysro");
set_perm(0, 0, 04755, "/system/bin/nano");
set_perm(0, 0, 04755, "/system/bin/bash");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
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/apply_firewall");
set_perm(0, 0, 06755, "/system/xbin/apply_theme");
set_perm(0, 0, 06755, "/system/xbin/dumplog");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/mv2sd");
set_perm(0, 0, 06755, "/system/xbin/ota");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
ui_print("flashing boot.img ...");
package_extract_file("boot.img", "/dev/block/mmcblk0p22");
package_extract_file("boot.img", "/tmp/boot.img");
ui_print("extracting LorDMod kernel...");
package_extract_dir("kernel", "/tmp");
ui_print("installing kernel...");
set_perm(0, 0, 0777, "/tmp/dd");
set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");
set_perm(0, 0, 0777, "/tmp/mkbootimg");
set_perm(0, 0, 0777, "/tmp/unpackbootimg");
ui_print("repack kernel files...");
run_program("/tmp/unpackbootimg", "/tmp/boot.img", "/tmp/");
run_program("/tmp/mkbootimg.sh");
assert(write_raw_image("/tmp/newboot.img", "/dev/block/mmcblk0p22"),
delete("/tmp/boot.img"));
ui_print("wiping /cache ...");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p27");
ui_print("wiping dalvik-cache ...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
delete_recursive("/data/dalvik-cache");
unmount("/data");
ui_print("FINISHED!");
ui_print("");
ui_print("SCI MIUI successfully installed.");
unmount("/system");
unmount("/data");
ui_print(" ______________________________________________");
ui_print("");
ui_print(" SSSSS CCCCC IIIIIIII");
ui_print(" SSS SSS CCC CC II");
ui_print(" SSS SS CC II");
ui_print(" SSSS CC II");
ui_print(" SSSS CC II");
ui_print(" SS SSS CC II");
ui_print(" SSS SSS CCC CC II");
ui_print(" SSSSS CCCC IIIIIIII");
ui_print("");
ui_print(" ___________________by a user__________________");
ui_print("");
My phone is an Inspire 4G aka Desire HD
should be
Code:
package_extract_dir("data", "/data");
Then put your apps in the rom at /data/app/your.apps.apk unless your phone is different i have the evo 3d.
smokin1337 said:
should be
Code:
package_extract_dir("data", "/data");
Then put your apps in the rom at /data/app/your.apps.apk unless your phone is different i have the evo 3d.
Click to expand...
Click to collapse
I had that before, but it failed...
I've a problem! I'm trying to make BOOT-TO-GECKO available for my GALAXY GIO.
I made a flashable package, and the phone succeeds to flash it, but at the first boot, while it's loading, it forces reboot to recovery.
I know that it's a SYMLINK problem, but how can I fix it?
This is my updater-script:
Code:
format("ext4", "EMMC", "/dev/block/stl12", "0");
mount("ext4", "EMMC", "/dev/block/stl12", "/system");
package_extract_dir("system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/s3c-sdhci.0/by-name/userdata", "/data");
package_extract_dir("data", "/data");
symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
"/system/xbin/arp", "/system/xbin/ash", "/system/xbin/awk",
"/system/xbin/base64", "/system/xbin/basename", "/system/xbin/bbconfig",
"/system/xbin/blockdev", "/system/xbin/brctl", "/system/xbin/bunzip2",
"/system/xbin/bzcat", "/system/xbin/bzip2", "/system/xbin/cal",
"/system/xbin/cat", "/system/xbin/catv", "/system/xbin/chattr",
"/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
"/system/xbin/chroot", "/system/xbin/clear", "/system/xbin/cmp",
"/system/xbin/comm", "/system/xbin/cp", "/system/xbin/cpio",
"/system/xbin/crond", "/system/xbin/crontab", "/system/xbin/cut",
"/system/xbin/date", "/system/xbin/dc", "/system/xbin/dd",
"/system/xbin/depmod", "/system/xbin/devmem", "/system/xbin/df",
"/system/xbin/diff", "/system/xbin/dirname", "/system/xbin/dmesg",
"/system/xbin/dnsd", "/system/xbin/dos2unix", "/system/xbin/du",
"/system/xbin/echo", "/system/xbin/ed", "/system/xbin/egrep",
"/system/xbin/env", "/system/xbin/expand", "/system/xbin/expr",
"/system/xbin/false", "/system/xbin/fdisk", "/system/xbin/fgrep",
"/system/xbin/find", "/system/xbin/flash_lock",
"/system/xbin/flash_unlock", "/system/xbin/flashcp",
"/system/xbin/flock", "/system/xbin/fold", "/system/xbin/free",
"/system/xbin/freeramdisk", "/system/xbin/fsync", "/system/xbin/ftpget",
"/system/xbin/ftpput", "/system/xbin/fuser", "/system/xbin/getopt",
"/system/xbin/grep", "/system/xbin/groups", "/system/xbin/gunzip",
"/system/xbin/gzip", "/system/xbin/halt", "/system/xbin/head",
"/system/xbin/hexdump", "/system/xbin/id", "/system/xbin/ifconfig",
"/system/xbin/insmod", "/system/xbin/install", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/system/xbin/length", "/system/xbin/less",
"/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
"/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lsusb",
"/system/xbin/lzcat", "/system/xbin/lzma", "/system/xbin/lzop",
"/system/xbin/lzopcat", "/system/xbin/man", "/system/xbin/md5sum",
"/system/xbin/mesg", "/system/xbin/mkdir", "/system/xbin/mke2fs",
"/system/xbin/mkfifo", "/system/xbin/mkfs.ext2",
"/system/xbin/mkfs.vfat", "/system/xbin/mknod", "/system/xbin/mkswap",
"/system/xbin/mktemp", "/system/xbin/modinfo", "/system/xbin/modprobe",
"/system/xbin/more", "/system/xbin/mount", "/system/xbin/mountpoint",
"/system/xbin/mpstat", "/system/xbin/mv", "/system/xbin/nanddump",
"/system/xbin/nandwrite", "/system/xbin/netstat", "/system/xbin/nice",
"/system/xbin/nohup", "/system/xbin/nslookup", "/system/xbin/ntpd",
"/system/xbin/od", "/system/xbin/patch", "/system/xbin/pgrep",
"/system/xbin/pidof", "/system/xbin/ping", "/system/xbin/pkill",
"/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
"/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
"/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdev",
"/system/xbin/readlink", "/system/xbin/realpath", "/system/xbin/renice",
"/system/xbin/reset", "/system/xbin/resize", "/system/xbin/rev",
"/system/xbin/rm", "/system/xbin/rmdir", "/system/xbin/rmmod",
"/system/xbin/route", "/system/xbin/run-parts", "/system/xbin/rx",
"/system/xbin/sed", "/system/xbin/seq", "/system/xbin/setconsole",
"/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
"/system/xbin/sha1sum", "/system/xbin/sha256sum",
"/system/xbin/sha512sum", "/system/xbin/sleep", "/system/xbin/sort",
"/system/xbin/split", "/system/xbin/stat", "/system/xbin/strings",
"/system/xbin/stty", "/system/xbin/sum", "/system/xbin/swapoff",
"/system/xbin/swapon", "/system/xbin/sync", "/system/xbin/sysctl",
"/system/xbin/tac", "/system/xbin/tail", "/system/xbin/tar",
"/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
"/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
"/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
"/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
"/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
"/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
"/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
"/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
"/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
"/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
"/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
"/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
"/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
"/system/xbin/zcat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/getevent", "/system/bin/getprop", "/system/bin/hd",
"/system/bin/id", "/system/bin/ifconfig", "/system/bin/iftop",
"/system/bin/insmod", "/system/bin/ioctl", "/system/bin/ionice",
"/system/bin/kill", "/system/bin/ln", "/system/bin/log",
"/system/bin/ls", "/system/bin/lsmod", "/system/bin/lsof",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/nandread", "/system/bin/netstat",
"/system/bin/newfs_msdos", "/system/bin/notify", "/system/bin/printenv",
"/system/bin/ps", "/system/bin/r", "/system/bin/reboot",
"/system/bin/renice", "/system/bin/rm", "/system/bin/rmdir",
"/system/bin/rmmod", "/system/bin/route", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setprop", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/sync",
"/system/bin/top", "/system/bin/touch", "/system/bin/umount",
"/system/bin/uptime", "/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
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, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/gps.xml");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/invoke-as");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
show_progress(0.200000, 0);
ui_print("|______________________________|");
show_progress(0.200000, 10);
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
unmount("/data");
package_extract_file("boot.img", "/tmp/boot.img");write_raw_image("/tmp/boot.img", "boot");
show_progress(0.100000, 0);
unmount("/system");
Do you see something wrong!? Do you have any ideas!? Please, help me! Ty
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
proudly presents
Multiboot for HTC One
Code:
System.out.println("
Your warranty is now void
I am not responsible for bricked devices, dead SD cards
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this MOD
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
");
Sources
Team: https://github.com/RomSwitchers/RomSwitcher
Recovery: https://github.com/RomSwitchers/android_bootable_recovery/tree/cm-10.2-m7ul
Kernel: https://github.com/n3ocort3x/android_device_htc_m7ul
Ramdisk: https://github.com/RomSwitchers/RomSwitcher-m7ul
App: https://github.com/RomSwitchers/RomSwitcher
Features
Boot multiple ROMs on your device
(up to 5 ROMs, Only ROM1 can be Sense)
Easy install multiple ROMs through CWM based recovery
App Sharing between ROM1 and ROM2
Data Sharing between ROM1 and ROM2 (experimental, ROM1 must be AOSP)
Setup a password which will protect your ROMs
OTA updates
teaMseven's awesome kernel
To do list
Run ROMs through OTG
Manual boot
How to install
Check if busybox and superuser are installed
Make sure your internal SD card has at least 1GB free space (one AOSP ROM + Gapps requires about 650MB)
Download RomSwitcher App: Direct Download
Follow the instructions on the App
From the App - More - and Install RomSwitcher Recovery
Reboot to Recovery
In romswitcher section install a ROM of your choice
Contributors
Grarak MaDc0w
Do you want support Grarak?
You can buy him a beer via PayPal
Press Thanks
Press "Tip us?" above the OP
Rate this Thread with 5 Stars
Report bugs
Known Issues and Bugs
Credits
AndreiLux (helping and perseus kernel)
Intervigil, codeworkx, Faryaab (device tree)
Gokhanmoral (using some scripts of his Siyah Kernel)
JijonHyuni (init scripts)
DerTeufel1980 (recovery scripts)
Chenglu (touch recovery source)
CyanogenMod (CWM)
Google (AOSP)
Samsung (5410 kernel source)
Disturbed™ (testing and support)
[email protected] (RomSwitcher Banners)
n3ocort3x and tbalden for kernel
remind me if I forget to give credits to anybody..
Changelog
16 Nov
Update kernel to teaMseven's v53
11 Nov
Update kernel to teaMseven's v52
30 Oct
Update kernel to teaMseven's v51
Added CIR fixes
20 Oct
New App, Recovery and ramdisk
Support multiboot of 5 ROMs
Update kernel to teaMseven's
Major changes and fixes
03 Oct
Synced with latest CM
minor changes
29 Sep
Synced with latest CM
data and cache now on data/media
16 Sep
appsharing changes
13 Sep
Synced with latest CM
appsharing alpha
04 Sep
Synced with latest CM
Fixed camera
02 Sep
Initial Release
will be testing soon. Thanks
Sent from my HTC One using Tapatalk 2
---------- Post added at 02:40 PM ---------- Previous post was at 02:31 PM ----------
When using Pac Rom, will I need to change the script all the time for new nightlies ?
Sent from my HTC One using Tapatalk 2
Ok, so im going to give it a go
But I have a couple of questions.
How would I go about flashing to the aosp rom?
For example, latest super su.
And I imagine trying to install xposed framework through an app wouldn't work as is a different location?
And anything un modified that's flashed just goes to the sense rom an I right?
And do both have to be the same version, ie 4.3, 4.2.2?
Thank you, is an amazing set up
Just followed the instructions and modified both scripts.
Flashed with no errors
However phone boots up showing HTC Logo and then just black screen.
Anyway ideas?
I didn't extract everything just extracted the script and used notepad++ to modify and added back to the zip to overwrite
snowblind2142 said:
But I have a couple of questions.
How would I go about flashing to the aosp rom?
For example, latest super su.
And I imagine trying to install xposed framework through an app wouldn't work as is a different location?
And anything un modified that's flashed just goes to the sense rom an I right?
And do both have to be the same version, ie 4.3, 4.2.2?
Thank you, is an amazing set up
Click to expand...
Click to collapse
You have to modify updater script yourself when you want to flash any mods.
But why you want to flash supersu? All AOSP roms are pre-rooted.
You have to use AOSP 4.3
Mr. Droid said:
Just followed the instructions and modified both scripts.
Flashed with no errors
However phone boots up showing HTC Logo and then just black screen.
Anyway ideas?
Click to expand...
Click to collapse
Did you removed package_extract_file("boot.img", "/dev/block/mmcblk0p33); ?
Grarak said:
You have to modify updater script yourself when you want to flash any mods.
But why you want to flash supersu? All AOSP roms are pre-rooted.
You have to use AOSP 4.3
Did you removed package_extract_file("boot.img", "/dev/block/mmcblk0p33); ?
Click to expand...
Click to collapse
Yes I did
I'm running ARHD 20.1
I had a nandroid which i restored and im back to sense rom for now
Code:
assert(getprop("ro.product.device") == "m7" || getprop("ro.build.product") == "m7" ||
getprop("ro.product.device") == "m7ul" || getprop("ro.build.product") == "m7ul");
mount("ext4", "EMMC", "/dev/block/mmcblk0p36", "/system");
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");
unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
package_extract_dir("system", "/system");
symlink("/system/xbin/su", "/system/bin/su");
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/blkid", "/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/fbsplash", "/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/fstrim", "/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/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/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/nbd-client", "/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/pipe_progress",
"/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/sha3sum",
"/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("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("logcat", "/system/bin/lolcat");
symlink("mksh", "/system/bin/sh");
symlink("mount.exfat", "/system/bin/fsck.exfat",
"/system/bin/mkfs.exfat");
symlink("pigz", "/system/xbin/unpigz");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
"/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
"/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/du", "/system/bin/getenforce", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/getsebool", "/system/bin/grep",
"/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/load_policy", "/system/bin/log", "/system/bin/ls",
"/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",
"/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/restart", "/system/bin/restorecon",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setenforce", "/system/bin/setprop",
"/system/bin/setsebool", "/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");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
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(1000, 1000, 0644, "/system/etc/paranoid/properties.conf");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware/keymaster");
set_perm(0, 2000, 0755, "/system/vendor/lib");
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");
show_progress(0.200000, 10);
show_progress(0.100000, 0);
unmount("/system");
---------- Post added at 03:21 PM ---------- Previous post was at 03:19 PM ----------
and my gapps script
Code:
ui_print("***********************************************");
ui_print(" Google Apps for Android 4.3.0");
ui_print("***********************************************");
ui_print("Installing files...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p36", "/system");
show_progress(1, 15);
delete("/system/app/Provision.apk","/system/app/QuickSearchBox.apk","/system/app/SetupWizard.apk","/system/app/Velvet.apk","/system/app/Vending.apk","/system/app/BrowserProviderProxy.apk","/system/app/PartnerBookmarksProvider.apk","/system/app/Gmail2.apk");
package_extract_dir("system", "/system");
set_perm(0, 0, 0755, "/system/addon.d/70-gapps.sh");
package_extract_dir("optional", "/tmp");
package_extract_file("install-optional.sh", "/tmp/install-optional.sh");
set_perm(0, 0, 0777, "/tmp/install-optional.sh");
run_program("/tmp/install-optional.sh", "");
show_progress(1, 15);
ui_print("Cleaning up...");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");
Mr. Droid said:
Yes I did
Click to expand...
Click to collapse
You forget this line mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
there are two of them
Sorry but you override your current rom
i also have two indentical line
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
must both modified?
Grarak said:
You forget this line mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
there are two of them
Sorry but you override your current rom
Click to expand...
Click to collapse
Ok line modified and will test again now
I had a backup so i was ok
But can we add that to the instructions that ther are 2 lines need to be modified !
Thanks
criszz said:
i also have two indentical line
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/system");
must both modified?
Click to expand...
Click to collapse
yes modify both
Perfect that worked and now I'm on PAC Rom
Rated thread 5 stars
Will you guys implement shared data between the roms?
Mr. Droid said:
Perfect that worked and now I'm on PAC Rom
Rated thread 5 stars
Will you guys implement shared data between the roms?
Click to expand...
Click to collapse
I am working on it, but currently it's stopped for a while, because I am trying to find a method to install easier the 2nd rom.
Mr. Droid said:
Ok line modified and will test again now
I had a backup so i was ok
But can we add that to the instructions that ther are 2 lines need to be modified !
Thanks
Click to expand...
Click to collapse
It does say in the OP.
"Look for these lines"
There may be ROMs or other flasher scripts that have more or less.
We are mounting the cache partition (mmcblk0p36) as system.
Every script must be changed accordingly or it may end up damaging the Sense ROM installation..
tested on dual sim 802w and not working, this was the only chance we got to work with AOSP roms(
criszz said:
tested on dual sim 802w and not working, this was the only chance we got to work with AOSP roms(
Click to expand...
Click to collapse
This is for m7ul
We never said that 802w will also work?
Grarak said:
This is for m7ul
We never said that 802w will also work?
Click to expand...
Click to collapse
i know, just tested )
Grarak said:
You have to modify updater script yourself when you want to flash any mods.
But why you want to flash supersu? All AOSP roms are pre-rooted.
Click to expand...
Click to collapse
For Me Xposed wont install unless I update to SuperSU to 1.55
This presents the other problem, I used to just install the Xposed installer and let it run.
Im just having a nosey round for a Xposed flashable xip I can change.
Learning as I go....:good:
Struggling to find a flashable zip, have found a way to manually unpack it..lol
Will leave it for now =P
Can we use our own gapps?
Sent from my HTC One using Tapatalk 4
---------- Post added at 12:57 PM ---------- Previous post was at 12:47 PM ----------
ok this is awesome just one question what do we do when both roms have updates ... i think for the sense version just be on sense and update.... and for aosp download the update and redo the steps to the zip file correct ???
I have a samsung galaxy s2 running aokp ICS. I wanted to update to a 4.3 ROM. I downloaded SlimBean4.2.2 and tried flashing it after doing a factory reset wipe, cache wipe, dalvic cache wipe, and /system format. It gave me a status 7 when I tried to flash it.
I tried to read up on possible reasons this could happen, so now I'm trying to flash a Jelly Bean kernel (AJK v4.9) before continuing.
But now it says:
Can't copy META-INF/com/google/android/update-binary
Why am I getting this error?
Any help would be much appreciated as this is my only phone (I know I'm dumb for taking such a big risk).
Thanks!
Status 7 means the asserts line in the updater script of the rom's flashable zip file is looking for a phone version other than the one contained in your phone's build.prop file. You can either edit the asserts line or delete the asserts line in the updater script, or you can edit the build.prop file on your phone to match what the asserts is looking for. But before you do any of these, make absolutely sure that the firmware you are flashing is for your phone, because if you flash firmware for another phone, you can make a brick, and that is what Status 7 is all about.
If you need to make edits, you should be able to find any number of tutorials by searching.
working on it...
creepyncrawly said:
Status 7 means the asserts line in the updater script of the rom's flashable zip file is looking for a phone version other than the one contained in your phone's build.prop file. You can either edit the asserts line or delete the asserts line in the updater script, or you can edit the build.prop file on your phone to match what the asserts is looking for. But before you do any of these, make absolutely sure that the firmware you are flashing is for your phone, because if you flash firmware for another phone, you can make a brick, and that is what Status 7 is all about.
If you need to make edits, you should be able to find any number of tutorials by searching.
Click to expand...
Click to collapse
I found the updater script, but it doesn't show any assert line. this is the whole script:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_dir("system/addon.d", "/system/addon.d");
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");
unmount("/system");
show_progress(0.500000, 0);
ui_print("");
ui_print("");
ui_print("Slim Roms");
ui_print("");
ui_print(" www.slimroms.net ");
ui_print("");
ui_print("");
ui_print("Format and Mount System, Mount Data...");
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
ui_print("Symlinks and permissions...");
symlink("/system/xbin/su", "/system/bin/su");
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/blkid", "/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/fbsplash", "/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/fstrim", "/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/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/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/nbd-client", "/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/pipe_progress",
"/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/sha3sum",
"/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("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat", "/system/bin/chmod",
"/system/bin/chown", "/system/bin/cmp", "/system/bin/cp",
"/system/bin/date", "/system/bin/dd", "/system/bin/df",
"/system/bin/dmesg", "/system/bin/du", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/grep", "/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/md5", "/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/restart", "/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");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
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_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
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");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_dir("system/addon.d", "/system/addon.d");
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");
show_progress(0.200000, 10);
ui_print("Flashing boot image...");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
show_progress(0.100000, 0);
unmount("/data");
unmount("/system");
Why did you try and install Slim if you wanted 4.3? It isn't currently available for our device - did you flash the 9100 version by mistake? If so that's why you're getting Status 7. As creepy said, there are many guides to help you edit your way out of this issue.
One other, archaic method, would be to flash the old JB siyah kernel by ktoonez... then flash a new rom and kernel afterwards.
But editing build.prop is generally the best solution.
Hi everyone, as said in the title i was installing a custom rom whith my rooted phone, but i had a "Status 7 error". I have deleted the "assert lines" in the "updater-script" and now i get a "Status 6 error" saying "Line 1 col 59: syntax error, unexpected BAD 1 parse errors", here is the updater-script :
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/system");
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");
unmount("/system");
show_progress(0.500000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p10", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/system");
package_extract_dir("system", "/system");
symlink("../xbin/su", "/system/bin/su");
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/blkid", "/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/fbsplash", "/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/fstrim", "/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/inetd", "/system/xbin/insmod",
"/system/xbin/install", "/system/xbin/ionice", "/system/xbin/iostat",
"/system/xbin/ip", "/system/xbin/kill", "/system/xbin/killall",
"/system/xbin/killall5", "/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/nbd-client", "/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/pipe_progress",
"/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/sha3sum",
"/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("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("logcat", "/system/bin/lolcat");
symlink("mksh", "/system/bin/sh");
symlink("mount.exfat", "/system/bin/fsck.exfat",
"/system/bin/mkfs.exfat");
symlink("pigz", "/system/xbin/unpigz");
symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
"/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
"/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
"/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
"/system/bin/du", "/system/bin/getenforce", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/getsebool", "/system/bin/grep",
"/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/load_policy", "/system/bin/log", "/system/bin/ls",
"/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",
"/system/bin/mkdir", "/system/bin/mkswap", "/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/readlink",
"/system/bin/renice", "/system/bin/restart", "/system/bin/restorecon",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
"/system/bin/sendevent", "/system/bin/setconsole",
"/system/bin/setenforce", "/system/bin/setfattr", "/system/bin/setprop",
"/system/bin/setsebool", "/system/bin/sleep", "/system/bin/smd",
"/system/bin/start", "/system/bin/stop", "/system/bin/swapoff",
"/system/bin/swapon", "/system/bin/sync", "/system/bin/top",
"/system/bin/touch", "/system/bin/umount", "/system/bin/uptime",
"/system/bin/vmstat", "/system/bin/watchprops",
"/system/bin/wipe");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0755, "/system/addon.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 0, 0755, "/system/bin/ping");
set_perm(0, 2000, 0750, "/system/bin/run-as");
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_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/camera");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
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");
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);
package_extract_file("boot.img", "/dev/block/mmcblk0p9");
show_progress(0.100000, 0);
unmount("/system");
please help, it's been now 2 days that i'm trying, and i really don't know what to do anymore
First download the ROM (the file should be .zip)use winrar or 7zip extract boot.IMG from the zip .then flash it via fastboot and flash the ROM its will be fine
Sent from my Xperia U using xda app-developers app
dara007_168 said:
First download the ROM (the file should be .zip)use winrar or 7zip extract boot.IMG from the zip .then flash it via fastboot and flash the ROM its will be fine
Sent from my Xperia U using xda app-developers app
Click to expand...
Click to collapse
It worked, thank's a lot !
omx is not working for me everything else is working, anybody knows why?
thx!
beats98 said:
omx is not working for me everything else is working, anybody knows why?
thx!
Click to expand...
Click to collapse
Try reflashing the rom.