• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Neph/MT, et al... Who can Help with an Update Script?

MrB206

Android Expert
I got CM9 to install, but it won't boot. I think it has to do with my install script. Neph helped me out with this before, but I don't have that info anymore.

Anyone know what I need to change here to get it to install properly?

CM9 Install Script - Pastebin.com

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/mmcblk0p27", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/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/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/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/modules/wireless.ko", "b960a40955e3ae27f7d7254b9a32df7b5b1c8ee7", "/system/lib/modules/scsi_wait_scan.ko", "1c8e2a1a81a82d4599160c7f30a4aeb74cc86352", "/system/lib/libjackpal-androidterm4.so", "f79cab69953a22a9e57ff6df719d1ad98369ce9c", "/system/lib/hw/sensors.msm8660.so", "dddf8f253d343f434a4d815ea02b658651179fb0", "/system/lib/hw/camera.msm8660.so", "057b98409cab17d0717bfd18227357b40fab3881", "/system/lib/hw/lights.msm8660.so", "c990bfdf672eb83c2b98dfe8ca1574fc71f8b4cc", "/system/lib/hw/audio.primary.default.so", "de4ff68547cea038373fa124e102dfcb91e59701", "/system/lib/hw/gralloc.default.so", "0221b63144ac395e1a53b0490bbf67bc88b534db", "/system/lib/hw/lights.goldfish.so", "d842c9fcdd4be24eac6f2b7eed670e880f2ffc32", "/system/lib/hw/sensors.goldfish.so", "c863ec01a2675808d73805406429488f8a3eff7c", "/system/lib/hw/gps.goldfish.so", "19b57cf337188d24f31f9acfe0b861d046b15df7", "/system/lib/hw/gps.p930.so", "d95bc1086beb1ec4fd9c20a96ea44e0756b3558b", "/system/lib/hw/copybit.msm8660.so", "fcc247b6b177efbccb04e8d28bccd10eb6f968eb", "/system/lib/hw/audio.a2dp.default.so", "b72abb8b7cf0a5c3857753ea15f9bd933ed42603", "/system/lib/hw/gralloc.msm8660.so", "e90a42a0abd24a7df5a62eb71ea4abcb1208d716", "/system/lib/hw/hwcomposer.msm8660.so", "867e85eeda3212e579f74fda446582a6aba33591", "/system/lib/hw/audio.primary.goldfish.so", "ef1388e5e2313b51071c16f6c0cfdb1ffe9d02b6", "/system/lib/hw/audio.primary.p930.so", "d6e8da81e5bd47d4a57fd6bb9dd5cdbdfed58bd8", "/system/lib/hw/audio_policy.default.so", "0160cf5615cb93d9933ed2641264811b9455a599", "/system/lib/hw/audio_policy.msm8660.so", "116b048e25f8720ad62d9221c30eae93af9bd4ec", "/system/lib/hw/camera.goldfish.so", "94bdfa6b3ee89263b18061d5a96554d4ba1899c1", "/system/lib/egl/libq3dtools_adreno200.so", "48b3f05a4f2d531e6dc6b45a046abd448b4094eb", "/system/lib/egl/libGLESv2_adreno200.so", "dad37cb8997934e7980e78c3e10a9b49bed34511", "/system/lib/egl/libEGL_adreno200.so", "17e77e721bd0f2665d7584388147250121a08956", "/system/lib/egl/libGLESv1_CM_adreno200.so", "7bed1aae80ce5fff9d6e254a5b53bab0a1d3361f", "/system/lib/egl/eglsubAndroid.so", "9200e8dcbcd6aa16e0481d5e9456da9325d6c6a6", "/system/lib/egl/egl.cfg", "812655c141446e225230be00e36f7e9d6eb89106", "/system/lib/egl/libGLES_android.so", "4d87af9b6ea6e4a5744d5b763e2817e472debf13", "/system/lib/libC2D2.so", "65dabe3dc911bbf11ada1a18cdde86e1252b1dcb", "/system/lib/libOpenVG.so", "70e68d1984bd9166505286e10e90773f5c5b7df5", "/system/lib/libgsl.so", "5e7a97be0ab301c626b9ef825af7d24a567a457a", "/system/lib/libsc-a2xx.so", "726a1432d27be3ff9940d499ad6693d04bf66fb3", "/system/lib/libril-qc-qmi-1.so", "b982c388b84b6b5a9d2e53c09e01881c0e129c9a", "/system/lib/libril-qcril-hook-oem.so", "ecb0537ab0123460f8984d0e80d17662526e954c", "/system/lib/libqmi.so", "4acbffaf61ae983bf4cd9704bd8b93cf38a57838", "/system/lib/libqdi.so", "d2ba16bedf997ec2e5399a6000b756db4e840172", "/system/lib/libdiag.so", "d6a0abb8262c80b346a730f71260d2f89a40bc21", "/system/lib/libdsutils.so", "1e199f6ceb97b66033d95e41feb7ebef66cc2b98", "/system/lib/libqmiservices.so", "b0ef6db15c0e7610e07446699cdc7f30739686c8", "/system/lib/libidl.so", "f44399283b7bc9780595b8b985506fa7ddb650d0", "/system/lib/libdsi_netctrl.so", "f1293d213a9e90c1271aa0535b23dd3078f82f9e", "/system/lib/libqdp.so", "0cadc0e19edb49afb5a6ab455a46a8a3be98c288", "/system/lib/libnetmgr.so", "400e10f65070e84514694cbe0436f86e5197df60", "/system/lib/libtime_genoff.so", "34247673bc10c84041dd90abac18e346a226b1ca", "/system/lib/liboncrpc.so", "c1ae90bc74f2c6a3209427478138b05469173a6c", "/system/lib/libnv.so", "176d8d52c6eae4d9dcca48997cc48236bec58134", "/system/lib/libdsm.so", "5886b6696286f04f877d198905af8efbaed4582e", "/system/lib/libqueue.so", "675e6afcca8b446f4407d77a3830fc37f78849df", "/system/lib/libtime_remote_atom.so", "43fe4e9320c790d9f67f34089c1e2d56bae3b742", "/system/lib/libthermal_mitigation_fusion.so", "a7b786691dfe89624a93ce96d62f7e697f2edb07", "/system/lib/libthermal_mitigation.so", "d1939e9d5dcd25184a7365c94d5fcdb878ebf7bd", "/system/lib/libaudioalsa.so", "c21f106aaaeeee697ba02cda179f996e61af72e9", "/system/lib/libaudio.so", "40941e7d3bdcfc5bdc075acd9101a62030b8dfbb", "/system/lib/libaudcal.so", "040e6b8b086efc38e374d82a0a3e0f2af6989f6f", "/system/lib/libacdbmapper.so", "3c64457c4b0ca1b455e02830d6134096efbbcd36", "/system/lib/libacdbloader.so", "1f1b5fafaa6593568cf9acd42ead7f5b03cf3a03", "/system/lib/liba2dp.so", "463f7a303dfcd0ec38d11faa29c75a751a6445b2", "/system/lib/libmmjps.so", "eeafa2177835fb162e392ed69fafec68c233f1b1", "/system/lib/libmmjpeg.so", "1977b504a3c63c02c1d8fb753499dede977ec597", "/system/lib/libmmipl.so", "393dc0837bd77064d4525e5fd19bad6e9c8c5b0d", "/system/lib/liboemcamera.so", "b48590c9412a5240548c2cd2d41ac998a55ef512", "/system/lib/libmmmpod.so", "91c208451b71a28699a4ef6a4223c6ecdf2803a2", "/system/lib/libmmmpo.so", "605aad2f442b572a9f76bf643ad6be767523dc5d", "/system/lib/libmmstereo.so", "503fec3017e705544f2c9e28493a076573668628", "/system/lib/lib_LG_fastaf_v2.0.so", "021868d6ee0d4b35d3be5c1a82ed756c9db4206b", "/system/lib/libgemini.so", "190558e1437b3763cb3ee382c6f06b34ba3fdf6a", "/system/lib/libchromatix_imx105_preview.so", "5315f37dfa9285ddafa46a1b46bd65983b3bde23", "/system/lib/libv8.so", "905deb0d0779babdb3dd22a18dccfb50067af261", "/system/lib/libjni_latinime.so", "48dbb2f15464297ad48ffc1a02dd0f745a3f1c6e", "/system/lib/libdl.so", "6da2fb74fc4be8ac87257194482045709a64596b", "/system/lib/libz.so", "305c5cd6d74a6fa5254a9bab96c290d823f5908a", "/system/lib/libexpat.so", "72a845d6bc5c0d13d50d08741e185053ee3a5b10", "/system/lib/libcrypto.so", "2610b482140f0fa397bb8fdc6ecaf0fb34b1a948", "/system/lib/libc.so", "616a11c238ed131b68d2aa45e17568ef3ce83daa", "/system/lib/libssl.so", "220694a4acdd5685c5278adedf3e2e5992c7faff", "/system/lib/libiprouteutil.so", "933ba6857135e53cdec83f518bc047a68d3c6c98", "/system/lib/libnetlink.so", "2c7b5c5d0099d7aeceed4947d93b12d6ff22911a", "/system/lib/libc_malloc_debug_leak.so", "48687e76586544789248ccf11eac65ac6febd7ce", "/system/lib/libc_malloc_debug_qemu.so", "bec76e78f05c6dc39a3757951c185766be761ae3", "/system/lib/libgabi++.so", "7422d51300b6084b116b619811798db31489e920", "/system/lib/libstdc++.so", "ae73e553eaf97528ad3fe3479e555e00ce5b44ae", "/system/lib/libm.so", "979cbbd27fb6bc8bbae66e534ca80e8e80b1b08c", "/system/lib/libthread_db.so", "65792d3a6c62012a19c748afd1eaed716379b484", "/system/lib/libext2_com_err.so", "fe3859337e4e42ce111bebab95b9e98dfd922520", "/system/lib/libext2_uuid.so", "47149886d1f4221524c01d60ed5b531f5536e204", "/system/lib/libext2_e2p.so", "c2cfecfe2ffbb1edb447816993592ea7037892d7", "/system/lib/libext2_blkid.so", "bfcf7c56a9b940e6a2feff509d616a19eaa204a7", "/system/lib/libext2_profile.so", "5c49ba097055af5ae6704711bf75743e02244108", "/system/lib/liblog.so", "8965cc241bb8a7affeb174be5a768ef77af0fbe6", "/system/lib/libstlport.so", "90d685ae05aa0eb094d0896d761d524d71ee1608", "/system/lib/libicuuc.so", "43afcd7718c15715c1cea4429fe19554714627ef", "/system/lib/libvorbisidec.so", "145e20cb8bc55a5a6c66c05e395bcf14c9eff6fa", "/system/lib/libstagefright_amrnb_common.so", "a16e8acc71c3d1ba0d9db462568e1228ddf45600", "/system/lib/libstagefright_enc_common.so", "a4cd66723d7b5ec178e1d330a79946d985fa2afc", "/system/lib/libstagefright_avc_common.so", "c5e537ce9c96f8e5382452b620e6afeab0a60202", "/system/lib/libETC1.so", "be8c468fd85754761392edb5d30c45b5feafe9da", "/system/lib/libglib.so", "f034b6d5fb14036849cbcbadb47eac18356ee95a", "/system/lib/libctest.so", "96c4b25cb1b5a34bce3bd5de3f95abe3a75496c9", "/system/lib/libpagemap.so", "7f838c32aeacf7c5b0e452f8ae027501233158de", "/system/lib/libpng.so", "e7225cc93d9f8b8ac02158688c375bf71403c4cd", "/system/lib/libspeexresampler.so", "33ea61557fbd13456a19354b4b95d3e13f4051c4", "/system/lib/libsurfaceflinger_client.so", "12ba180d276b44d96e23f91c3d328f6ffdeed0eb", "/system/lib/libncurses.so", "8ea3bfbf4eae23265b00871e75bab35e090ab85a", "/system/lib/liblzo.so", "af456f2d807dc8ed8585f4bc004ac35abc0ced2b", "/system/lib/libext4_utils.so", "b9068f1a490b19145a301350eb59f06697601658", "/system/lib/libOmxCore.so", "308e2e3a19b6f2b6aa1f4c6ba12ebde3ea01a1fd", "/system/lib/libdivxdrmdecrypt.so", "e0b386d765762d30308e47eddbb8e3d96bac804e", "/system/lib/libmm-omxcore.so", "2bc2e7bd0f22fec4b291f7994597a2cc7ba96eb8", "/system/lib/libxml2.so", "802c6ca9522b88099b623e6c8567e9c853beb14d", "/system/lib/libext2fs.so", "b0c85d87a06b948f51ac7df9239bcf0c886bf62d", "/system/lib/libcutils.so", "6563029f2f622bb5ad2b103c472bd12cffba8436", "/system/lib/libicui18n.so", "5ddf427da3ca5a149d696b8088b9ae058d5359f4", "/system/lib/libwebrtc_audio_preprocessing.so", "416bdbfc328d709a4a3fdd93e238fef544c24695", "/system/lib/soundfx/libbundlewrapper.so", "b1b5e38b4f1f134acafd8bc164cad539393ea2e9", "/system/lib/soundfx/libcyanogen-dsp.so", "a8c57d73ef62db742ee3fdf297b064490036cbc3", "/system/lib/soundfx/libreverbwrapper.so", "a945a995fec4af0f434b7ef6c9d21f0011c40382", "/system/lib/soundfx/libvisualizer.so", "2c63c6fba1ac1c92d49c86ff0edd09aa819ad727", "/system/lib/soundfx/libaudiopreprocessing.so", "aa0cc258472cb90c1db0c8f8b329c1a084f2863f", "/system/lib/libutils.so", "10f195de428fd0ef698cb7706354ba83c7388b88", "/system/lib/libwpa_client.so", "c8fe67c097d9a871e29c56d165e0e7c0b8b87d1f", "/system/lib/libnetutils.so", "bc202fa9be3405216dc21ad721fd0441d60ded0f", "/system/lib/libhardware.so", "9140cff2346b4552746d1ec64e7e626433b837f5", "/system/lib/libjpeg.so", "ec733bca964e71d8d3a946d9323cf8d403cf1d8b", "/system/lib/libnativehelper.so", "bb069ddfae524a169b91e17ed9dce4889bdc37ce", "/system/lib/libstagefright_yuv.so", "b44dbaf953e994a0af6f54b693466aaa69d9cf4b", "/system/lib/libnfc_ndef.so", "75400f7f5a7332b0af9b108d3147210f9f3804df", "/system/lib/libusbhost.so", "4a51a7653089f06fc0583cdfe398da17dd75a776", "/system/lib/libbluedroid.so", "9adc5244c3c541f6665b84277ee22e4b628cc5ce", "/system/lib/libeffects.so", "5ee132ac1d8a9ab2bab6799c07faf1116b0652b6", "/system/lib/libsysutils.so", "5e2fcca8ca174b2aa07285b5b1e7f21b9b8f9896", "/system/lib/libdiskconfig.so", "573f5a160d43bfee70704e90175f5e9e9b0ebfa7", "/system/lib/librpc.so", "61e051cf46a4df38ae136b4e341dac406fd1e6a6", "/system/lib/libgenlock.so", "025f71252664584d2dc53fc62bf37c5fc6115d57", "/system/lib/libGLESv2_dbg.so", "b97a4128f3de229f966f1dc83fe7344c60e7f8e4", "/system/lib/libhardware_legacy.so", "11e507528e093e3e1180b2437fde426c3b6c31de", "/system/lib/libemoji.so", "331d701b25bfa318d7479e51f1709dc0ca1dc60d", "/system/lib/libbinder.so", "b3bb91ea506197656f35944a24884c569feb116b", "/system/lib/libsonivox.so", "e225ffeb99828102467b4ddfbbb88eafdca7a504", "/system/lib/libmemalloc.so", "b68cd12ef85c81ca176856c1673a16f1ee2a3502", "/system/lib/libdvm.so", "c50367d02d64bdfb1b49998b19c3522a14125cc9", "/system/lib/libharfbuzz.so", "8103f0cbfc768364e3bc0d749fe22f16716c43f4", "/system/lib/libOmxAacEnc.so", "7562b3878a3a937b3ac6bf9f805861a55a2f4f65", "/system/lib/libOmxAmrEnc.so", "5b674fee59cf19e9e8d25111c97e7e160b407205", "/system/lib/libdrm1.so", "c4dbd3a807fb32222c9d10726fc8f161de185524", "/system/lib/libexif.so", "caf307ef5a622a361d57ebe66449a2016ec6c6bd", "/system/lib/libbcinfo.so", "2a15d58ccbe0cf5f8035ae27d5b788a755eaeb02", "/system/lib/libsqlite.so", "37851bbd019485e2d2cd5d84ac6280e7eb54258d", "/system/lib/libdefcontainer_jni.so", "be60011959e47bcca0976e2eb133e6d96f3c753a", "/system/lib/libdbus.so", "f7786dc04a3df45123611cd2466680c05bbde032", "/system/lib/libttspico.so", "85f3fdee6a65592ad6c99311a97f483b701a61bc", "/system/lib/libbluetooth.so", "7a8e3fb0e0283a8e989dbdf8e9b36ff211591ce7", "/system/lib/libpower.so", "bc6b159ed41443cfb365f4247e10b3054a5afaf9", "/system/lib/libstagefright_foundation.so", "8499134cbec00151ef8ab4dac8dc0e7a81a57805", "/system/lib/libdrmframework.so", "e9d965a4917c2398cbcaa0c1660882ecb10f2413", "/system/lib/libpowermanager.so", "472d90cb17e6fd9ed08d687fad64662eeb5cab9c", "/system/lib/libril.so", "41d1c7ea9c462c4e0c3fdaaca0a384dc38914ffa", "/system/lib/liboverlay.so", "873c9cf2cbd7298c11ac1c615ae7a7939e113330", "/system/lib/libOmxVdec.so", "31e348cbf53f54e57ec14a5ef6c4526913e70037", "/system/lib/libOmxVenc.so", "1ea15e75ac705c86f590b82cfd2e080614c0f643", "/system/lib/libdrm1_jni.so", "0bbc9f80059aa8f416334a8f832eb5fd038463e9", "/system/lib/libmtp.so", "0f9c3a8342eb23a36a983b50f293b757e1feb772", "/system/lib/libsqlite_jni.so", "3b32577816d3402eed055242dd5fb2cfc0142225", "/system/lib/libEGL.so", "1d27e7774b8889bb954d061dfab59117b77e83a2", "/system/lib/libpixelflinger.so", "6d0ee85f14bf068cd6ec4d96fb2cc6191f5bf68b", "/system/lib/libskia.so", "7550745bebb1d50dd41e2149e814d53122566f47", "/system/lib/libbtio.so", "232589d02c39a4d264af778d3ab11163c622552c", "/system/lib/libGLESv1_CM.so", "f7c1e638b878446b98d703decb3909a5a4bf4bd9", "/system/lib/libreference-ril.so", "004a08c848285618e5d488922cd588b43daaf1ae", "/system/lib/libui.so", "b4fcefe8cd9bea50de878c795044c079515afd46", "/system/lib/libGLESv2.so", "0e5f7baed857620600b7492773e3ca7b55cb19fb", "/system/lib/libbluetoothd.so", "8d4929c4653fcb9514dba21a7a294e1d2eb80943", "/system/lib/libQcomUI.so", "c5da059c3361849784c0b72201ef81b83ae72144", "/system/lib/libstagefrighthw.so", "70b5d26cc2ebbbcf5fac873519907413bc730490", "/system/lib/libjni_mosaic.so", "9ae4a203c0ad64a2cf6dcaeffe51fc30807ecb15", "/system/lib/libhwui.so", "1aca5a15a632476a39ce04c47c3cc22ed38dd515", "/system/lib/bluez-plugin/audio.so", "0f762ce2fde4412c264c3bb8cde7bbec5c9ca156", "/system/lib/bluez-plugin/bluetooth-health.so", "145db816d4f8c7730d535a6b819641ef51c36b4f", "/system/lib/bluez-plugin/network.so", "d16b0a0c696527ad789c327ea603d290496bd93d", "/system/lib/bluez-plugin/input.so", "0ac8e85dcb1571c29911985e0fbfa91b14399118", "/system/lib/libgui.so", "e476952f75cacf739d83d45de44a1e67f0ddeeda", "/system/lib/libtilerenderer.so", "f29d538a18e78c5b495422b8bf2ba29055470db4", "/system/lib/libsensorservice.so", "8173d73de050468b734de60dec15e70dc67ac51f", "/system/lib/libcamera_client.so", "ffa48068152e63e3941108fbb52b0c6422d680bf", "/system/lib/libinput.so", "7dea55f22c2ec548ca6471f889e5af2334fb08fa", "/system/lib/libbcc.so.sha1", "21b5030e5bf066f0de3907903a65ef8f2ac9a94c", "/system/lib/libmedia.so", "5f301e27b382193ec7408d4d333d812110897a2c", "/system/lib/libstagefright_omx.so", "0cbf814406ed9145e17555ab6318185afb23e94d", "/system/lib/libcameraservice.so", "4f01ad5621ffe343f5e3c1563676881b896033cc", "/system/lib/libSR_AudioIn.so", "13f51a53ec5aecd23302a084dab649b8082ec85c", "/system/lib/libaudioflinger.so", "0085363c1445bfd2429c72b371ccfa1c69456f49", "/system/lib/librtp_jni.so", "bfa3ef8f399e9df6d2b5e794dda363d90e96d24e", "/system/lib/libchromium_net.so", "f8c8f7f5255f8678389326a573ec4bc0a86f9a04", "/system/lib/libsrec_jni.so", "2d1bd367b449ab9933be56561206670b37350d73", "/system/lib/libstagefright_soft_aacdec.so", "18484505300622d2b03bea2aa9364e7739e90284", "/system/lib/libstagefright_soft_amrdec.so", "4021f7a7d257ac9f0b5030d4de4a2bc0c9343b92", "/system/lib/libandroid_runtime.so", "9440e36da22b1bd816e70108e9c6dd5a9ea36ec5", "/system/lib/libttscompat.so", "0c4ebcc277689fddb550e2df3b7fd5f5640edb34", "/system/lib/drm/libfwdlockengine.so", "fe0380fb3aad2a09cbb599a0be8344e91c1a0c53", "/system/lib/libsurfaceflinger.so", "acc85b1c5d695c4a7971fd2e6df5ef99370097dc", "/system/lib/libFFTEm.so", "20af19ebc8f8cca7a1d13bdda146cd5d95c06eb0", "/system/lib/libandroid.so", "10b25274f6380d28b93a7ac0b09d1401cb228a78", "/system/lib/libaudioeffect_jni.so", "06bba35f5b363b25143f8b397610a4be5281903f", "/system/lib/libdrmframework_jni.so", "f02c9fe4781bd81be6e48d51d8e3aff47fa824cd", "/system/lib/libsoundpool.so", "acade87779c8538f8a3e5dfd3134ebc163cf912b", "/system/lib/libjnigraphics.so", "e7561c3b38503d01b5c2a63aeeca948e9e8f25a3", "/system/lib/libstagefright.so", "9f10854237a7704d265a913a47537be74e1384f3", "/system/lib/libfilterfw.so", "992cad889c839d7cb1d79a9ead23c50c8b4dc304", "/system/lib/libstagefright_soft_g711dec.so", "fd5fe502fab74a1476551903431f21372885f911", "/system/lib/libstagefright_soft_vorbisdec.so", "4ea9f74850754113b4cef59f6ee83df6bab9bc6d", "/system/lib/libfilterpack_imageproc.so", "2d58a6dc93e554f70d411eccea79a5bd1103d662", "/system/lib/libstagefright_soft_mpeg4dec.so", "bb5201b4bf2fe208f3e9f294228bd6d3820f792d", "/system/lib/libmedia_jni.so", "e62b643dcdb5fcd672c09d6604b45547cd6ee821", "/system/lib/libstagefright_soft_vpxdec.so", "321710db28b4622bd86795366e7114a538502a30", "/system/lib/libvideoeditorplayer.so", "e484acd3b27201f37a0cf9380116a2f17a614903", "/system/lib/libmediaplayerservice.so", "ffb33a87fe8ba387a1af4b2f013610ea0cd1a4f3", "/system/lib/libsystem_server.so", "a6ab257bafdd7ae3da269b386ae4c52f9baf1bf4", "/system/lib/libvideoeditor_jni.so", "253c233e31c02937646e4ac1a6a2c7f25be61895", "/system/lib/libandroid_servers.so", "fb706eaafd2be10ac6e7df7a8a43e8f261a5e769", "/system/lib/libwilhelm.so", "77bbfb2e6a82c26bda38d4081567059dab5e7254", "/system/lib/libOpenSLES.so", "75821da6c085c2cc963b3ade2de0d2051ffd15f2", "/system/lib/libOpenMAXAL.so", "7c71daf9380bb1b56dc241fbb58d6b14f9cd550a", "/system/lib/libvariablespeed.so", "94a277e39cade848bc0a6c414b4dbeee7055734a", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libbcc.so", "94a66a26e94751f03ed3c86c7f19697f32e4f7b6", "/system/lib/libRS.so", "b503bda8e0b65e66f65371a735b26895361d9ee6", "/system/lib/librs_jni.so", "585c874a06e2faa74b3840ab5cfab292ecfb449e", "/system/lib/libstagefright_soft_mp3dec.so", "20650022389e793ecac58f847440c0d91b5d560e", "/system/lib/libstagefright_soft_h264dec.so", "31c11f2b36dc0f9af435a23160919e426d0c3b46", "/system/lib/libwebcore.so", "a9d8e1ff573ecc3eb27ea6dcba5c64fdaa1a104f");
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, 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);
package_extract_file("boot.img", "/dev/block/mmcblk0p8");
show_progress(0.100000, 0);
unmount("/system");
 
I'm guessing it has to do with the backup script and the naming of the files it needs to grab. You're probably better off grabbing all the files manually, sticking them in the rom, and packaging it that way, until you can work the bugs out.
 
Not sure I follow. I dumped the libs and other files in the appropriate folders in the rom as usual. I think it might be the kernel. I flashed from blitz, not stock.
 
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh"); package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");

Those two items are what I'm looking at. They are both run by the install script, but if you have not modified them, then they are just muking up everything.
 
On that same note, you're at the same point I was at when I tried a CM9 bin kang. It boot looped trying to find all the drivers and it never got past the LG logo. I couldn't even get it far enough to ADB into it to try and do a log cat.
 
As far as I can tell, you can remove it without issues. It just keeps files in place that you install in the /system that don't come with the Rom and even then, it only copies them if the build.prop matches what you are currently working with.
 
Cool. I always wondered what the point of that process was, since you're wiping the os and files off.
 
I have a source port in progress. Debugging SurfaceFlinger/ServiceManager. Hangs at a gray screen used to hang at LG Logo but i had USB running and adb couldnt connect. Tweaked init.rc and it got me adb, backported genlock and got to a gray screen
 
Yea, when I compiled CM7 from source, it was hanging @ a gray screen too. The more I think about it, the more I wonder if replacing the kernel might have allowed it to boot.

Right now, the CM9 port sticks @ the LG logo, so I assume that means the OS isn't loading. Would that mean, then, that the kernel is not working to allow the OS to boot up? If so, wouldn't installing a new kernel with cm9 do the trick?
 
Honestly, I don't think so. I've never had much luck with adb on my laptop. I'll give it a try, though. I can send you a link to what I'm working with to see if you can get it to load.
 
No adb access. :/ After I reboot, the phone disconnects USB and it doesn't reconnect at the LG logo.

I accidentally made a nand when I was trying to restore my original rom, if you want to see the nand for any clues.
 
Not sure of the difference. I added the Spec files for libs and such into the rom, updated the build prop and updater.
 
Yea, given all my issues with the vendor and device repos and since I wasn't able to get CM7 to boot, I figured it was probably easier to take an official CM release for a compatible phone and bin kang it. Of course, since we can't even get a kang to boot, that really makes this a more perplexing issue.
 
That was the first thing I checked: CM9 Install Script - Pastebin.com

I actually updated that script to match what MT uses for BrokenOut:

ui_print("Mounting");
mount("ext4", "EMMC", "/dev/block/mmcblk0p27", "/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p28", "/data");

ui_print("Formatting System");
delete_recursive("/system");
delete_recursive("/system");
delete_recursive("/system");

ui_print("Formatting Cache & Dalvik");
delete_recursive("/cache");
delete_recursive("/cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/dalvik-cache");

If you see something out of wack, lemme know and I can try it out.
 
No sorry I mispoke... I just used the recursive delete from his script (the quoted text). The rest is from the cm9 script.
 
Back
Top Bottom