Updater-script problems - Galaxy S 4 Q&A, Help & Troubleshooting

hello all ive been working on my rom but i cant get it working in recovery it says the binary couldnt be read correctly, attached is my working folder zip from kitchen please help look into it i cant figure it out

Rename update-binary.orig to update-binary. That might be the issue mate!

Could you help me to check this problem? Thank you very much!
http://forum.xda-developers.com/showthread.php?t=2390510
Rahulrulez said:
Rename update-binary.orig to update-binary. That might be the issue mate!
Click to expand...
Click to collapse

Hi, I know this has nothing to do with what the OP asked on the thread, but it's related to Updater-Script so here goes:
I've notice a lot of people have been using delete_recursive instead of format command to wipe system.
Why is that? Is it safer to use delete_recursive? Because I'm using Android Kitchen and it creates an Updater-Script with format command.
It's the first time I'm using Android Kitchen though so I'm afraid of testing the zip I made before I'm sure it's safe to use format. Can somebody help me?
PS.: I didn't want to create another thread to ask this so I apologize in advance.

MaKTaiL said:
Hi, I know this has nothing to do with what the OP asked on the thread, but it's related to Updater-Script so here goes:
I've notice a lot of people have been using delete_recursive instead of format command to wipe system.
Why is that? Is it safer to use delete_recursive? Because I'm using Android Kitchen and it creates an Updater-Script with format command.
It's the first time I'm using Android Kitchen though so I'm afraid of testing the zip I made before I'm sure it's safe to use format. Can somebody help me?
PS.: I didn't want to create another thread to ask this so I apologize in advance.
Click to expand...
Click to collapse
It all started with mmc bug that has been presented by ICS source for GS2.
format() command was triggering hard brick.
You can find very good and full explanation of the bug in GS2 section of the forum but here is very short and simple explanation of the bug.
The MMC_CAP_ERASE command (part of format) was writing bunch of zeros in MMC killing the phone.
After kernel source was released we were able to disable that command and it became safer but some devs still use delete_recursive instead of format.
Both command do same and have pretty much same affect but delete_recursive might be few milliseconds slower than format()
Format command is formatting the partition where delete_recursive is deleting everything from partition (folders, subfolders, files etc) and then goes over the partition again to make sure nothing left behind (thus "recursive").
For new install format() command is cleaner, I think.
But if dev has modified his script at some point it will just keep using it till new modification is required. So there may be no need for delete_recursive any more but since it's in script and script is working no one is really looking into it.
Hope this make sense.

agat63 said:
It all started with mmc bug that has been presented by ICS source for GS2.
format() command was triggering hard brick.
You can find very good and full explanation of the bug in GS2 section of the forum but here is very short and simple explanation of the bug.
The MMC_CAP_ERASE command (part of format) was writing bunch of zeros in MMC killing the phone.
After kernel source was released we were able to disable that command and it became safer but some devs still use delete_recursive instead of format.
Both command do same and have pretty much same affect but delete_recursive might be few milliseconds slower than format()
Format command is formatting the partition where delete_recursive is deleting everything from partition (folders, subfolders, files etc) and then goes over the partition again to make sure nothing left behind (thus "recursive").
For new install format() command is cleaner, I think.
But if dev has modified his script at some point it will just keep using it till new modification is required. So there may be no need for delete_recursive any more but since it's in script and script is working no one is really looking into it.
Hope this make sense.
Click to expand...
Click to collapse
Thanks for reserving your time to answer me. Really appreciate it.
I came from a Galaxy S2 before the S4 and I'm aware of the MMC_CAP_ERASE problems.
I just didn't know it was caused by the format command. Thanks for explaining it to me.
I'll keep using delete_recursive from now on.

Here's my log...
Installing '/sdcard/GEM4.3_By:Joeyxc.zip'...
Checking for MD5 file...
I:Cannot find file /sdcard/GEM4.3_By:Joeyxc.zip.md5
Skipping MD5 check: no MD5 file found.
line 4 col 17: syntax error, unexpected STRING, expecting $end
line 5 col 19: syntax error, unexpected STRING, expecting ',' or ')'
2 parse errors
E:Error executing updater binary in zip '/sdcard/GEM4.3_By:Joeyxc.zip'
Error flashing zip '/sdcard/GEM4.3_By:Joeyxc.zip'
Updating partition details...
Please help
Sent from my SGH-I337 using Tapatalk 2

Joeyxc said:
hello all ive been working on my rom but i cant get it working in recovery it says the binary couldnt be read correctly, attached is my working folder zip from kitchen please help look into it i cant figure it out
Click to expand...
Click to collapse
The issue is the format the text is in. Also in addition to renaming update-binary.orig to update-binary, rename update-script to updater-script. Open the updater-script.orig with a text editor and look at the format and compare it to the text you have in 'update-script'. Change the format of the text in 'update-script' to match the format of 'updater-script.orig'. You should be able to notice right away that you will need to add parenthesis', semi-colons, and apostrophes as you are missing all of them. If you need more help let me know, I can look over/help you edit it.
Edit: Come to think about it, you just needed to convert update script to updater-script using kitchen.

Can I ask an updater-script related problem here please.
I write a few CWM utils (see my thread)
Some of these scripts perform a factory reset (wipe /data essentially)
On the GS2, this used to work great, but on the GS4, doing this also wipes the entire internal SD card!
I think this happening because there is a link to sd card in /data/media/0 perhaps.
My question is, how can I perform such a wipe of /data in the updater-script and keep internal SD Card in tact?
I've tried delete_recursive and format
But always, the script ends up wiping the entire SD card along with /data
example of commands I've been using in the updater-script are:
format("ext4", "EMMC", "/dev/block/mmcblk0p29", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p29", "/data");
delete_recursive("/data");
I've also tried unmounting /sdcard before attempting one of the above commands:
unmount("/sdcard");
run_program("/sbin/umount", "/sdcard");
(also tried both of these with /data/media/0)
both actually unmounted /sdcard (as I could no longer access it in recovery) but both the format and the delete_recursive command still managed to wipe the entire internal SD card.
If unmounted, I am then unable to get recovery to see the sdcard until the device is rebooted.
I've tried to remount the sdcard to get it back online for the current recovery session in the updater-script using:
mount("vfat", "EMMC", "/dev/block/mmcblk0p1", "/sdcard");
but this doesn't seem to work.
Any pointers or advice would be greatly appreciated as this has been driving me nuts! :silly:
:good:

FWIW, I had issues with data too, I was unable to restore shealth2 since it is preinstalled in /data/app and I would soft-brick everytime I tried flashing it until I finally used the script below with success.
unmount("/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p29", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
package_extract_dir("system", "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system");
run_program("adb", "install", "-r", "added_files/system/app/HealthContentProvider.apk");
run_program("adb", "install", "-r", "added_files/system/app/SensorService.apk");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
run_program("adb", "install", "-r", "added_files/data/app/SHealth2.apk");
unmount("/system");
unmount("/data");
Sent from my TouchPad using xda app-developers app

Data wiping on S4:
Recent CWM versions have seemed to handle this without issue.
I'm still using my alpha CWM and it handles this case without a problem.
Are you using current recovery repos from CM as well as device repos?
Removed 3 posts as they are not development related.
Please - If you're just downloading/flashing a ROM, not developing or creating it - try that ROM's specific thread.
If one isn't there consider asking in the Q&A for that specific device.

hey guys i know it's been some time no one has replied to this thread, i hope someone can help though... Here is my issue, i am building my own rom from stock SGH-M919V (Galaxy S4..carrier Video Tron) rom using latest android kitchen, i have removed lots of bloatware, removed knox, deodexed the apps..etc.etc. I am ready to build the rom so i do that, then comes the time to flash the new rom created by android-kitchen i am using Philz Touch recovery latest, this is the error i get in recovery:
Code:
Installing update...
format() expects 5 args, got 4
E:Error in /storage/sdcard1/stock.zip
(Status 7)
Installation aborted.
some times i get...format() expects 3 args, got 4...if i try a different setting in recovery.
I know a lot of ppl had this issue before, i just cant find the solution for my phone, model, rom specifically.
Android Kitchen says it needs to convert the update-script to updater-script...so i do what it suggest...ive learn this was the issue i am having...can someone point to the right direction to fix this and to successfully flash my rom?
BTW this is the very first rom i try to bake so i am farely new to this. I would also like to remove the format() command and use delete_recursive() ..how do i implement it ? do i just rename the command ?.
THANKS ! :fingers-crossed:

I am making a rom in cwm but I always get the error status of 0 , help me fill in the updater script correctly?
This is the updater script made from cygwin:
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
format("MTD", "userdata");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("debuggerd", "/system/bin/csview");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/playback");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0777, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
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(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
show_progress(0.1, 10);
show_progress(0.2, 0);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
The rom is for s3 mini

Related

Streamline /data for System app symlinks

I just wanted to point something out now that there are quite a few different roms using larger then normal system partitions and offloading that data onto the data partition with symlinks. Here is only three examples:
Kingdom Rewind:
Code:
ui_print("Writing System...");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("/data/Rewind-System/system.app", "/system/app");
Kinged Kingdom and HateSLINGER:
Code:
ui_print("Writing System...");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("/data/King-System/system.app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/King-System/system.app");
Synergy Nightly:
Code:
ui_print("Writing System...");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("/data/Synergy-System/system.app", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/Synergy-System/system.app");
Doing this is only making it more difficult for mods/themes/kernels. How about doing something more productive?
Code:
symlink("/data/Data-System/system.app", "/system/app");
If every Rom mod used a more universal system this would make it easier for updates/themes/mods/kernels to be used on these new and larger rom. Making less work and creating more productivity when working on things.
I get that its your rom, but does everyones symlinks need to be different? Now, since I started working on a kernel, I have to create an update.zip for each specific rom. Let's work together as a community and streamline this.
Amen, it would be nice. Not that I'm a dev or anything but what makes one devs life easier would obviously make others as well....

k1 possible ICS leak?

There are several files on lenovo's download site for the k1 dated 18-MAY-2012. I downloaded one and the build.prop says it is 4.0.3. So ICS must be getting close. I have a thinkpad, not a k1, so i cannot test it.
http://download.lenovo.com/slates/k1/OTA_TEST/
mandrsn1 said:
There are several files on lenovo's download site for the k1 dated 18-MAY-2012. I downloaded one and the build.prop says it is 4.0.3. So ICS must be getting close. I have a thinkpad, not a k1, so i cannot test it.
http://download.lenovo.com/slates/k1/OTA_TEST/
Click to expand...
Click to collapse
Looks like those are for the Medion lifetab, which is a rebranded varient of the K1. Not sure if the hardware is completely compatible.
http://forums.lenovo.com/t5/IdeaPad...in-Europe-as-Medion-Lifetab-P9516/td-p/719641
http://vschart.com/compare/medion-lifetab-p9514/vs/lenovo-ideapad-k1
http://uk.hardware.info/productinfo/150047/medion-lifetab-p9514-tablet-pc#tab:testresults
Links showing more info. On the Lifetab. Maybe close enough? Anyone possibly try the test os that mandrsn1 mentioned? Could just wait til the vanilla release from Lenovo, but who really knows when that'll be seeings how they pushed the release date back what 4-5 times now?
I am using a Lenovo IdeaPad K1 Wifi+3G. The Medion Honeycomb firmware is working on my device. But it won't boot anymore if I apply the Medion ICS update. Anyway, they have deleted the Honeycomb OTA for Medion Lifetab P9516 from their server.
There are also K1 files dated may 16th but the links appear broken.
Update Script
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p3", "/system");
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
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/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/libsmapi.so", "b43b1022966f49679a2b604770b289d7e01bc363", "/system/lib/libc.so", "35c075d036b9ed26f3ec170a205bbca17bc40bc6", "/system/lib/libsurfaceflinger.so", "26e946fb30ae32270a51ad5d6d0eb764707badca", "/system/lib/libemoji.so", "c7b7df787c3212209e1397e84a91536dba78b0da", "/system/lib/libctest.so", "0da66ce370ccefe037291d6bd0668a5c41d40047", "/system/lib/libnvcontrol_jni.so", "151fa58b85134ca4a41bb474d1bfdb01a2adad92", "/system/lib/libETC1.so", "a646346c896789fc4e4302dcb931509ae539a4ba", "/system/lib/libstagefright_soft_aacdec.so", "5b2be22557b04f2ef2805c6b4097cba2c5ad95c7", "/system/lib/libnvaviparserhal.so", "e65d06d05772ba5f81f045907753c1b452bc5792", "/system/lib/libstagefright_soft_vpxdec.so", "74202d7192d3e0d86fc1021e54fc10cf7b73b1ef", "/system/lib/libutils.so", "1c1609ed86565c0eeac02a899a6f8d35af8f46e2", "/system/lib/libnetlink.so", "7f15c7c73c6cf927dfe9778b353906da2dedb665", "/system/lib/libbcinfo.so", "8ddd087a0520f58d66c703464e391605bff63b50", "/system/lib/libmplmpu.so", "6e434d595a46a5d11add7f7a2e2748df855a7a24", "/system/lib/libOpenSLES.so", "9355d1899308fba0f7389873474982c7f29015ab", "/system/lib/libnvddk_2d_v2.so", "01fecbbdfc75057b0ef8c29ead715db87670fb33", "/system/lib/libsensors.base.so", "bdf2a94f5eada0401e1e369acdb2e80f42270fe2", "/system/lib/libnvmm_audio.so", "300328d78d6ca395bba115d82a1f058f36ca6d98", "/system/lib/librtp_jni.so", "8b6cb12c7c0ecc126f42ede16fec0363d7b36877", "/system/lib/libstdc++.so", "a521c2814071da0327412219c75b68f0e8795da4", "/system/lib/libmllite.so", "884929aa0886d364562ca764f2cd8958d7130fda", "/system/lib/libnvavp.so", "f7fa0e7649f035d571c72cfeb1b580b86bc1df86", "/system/lib/libvoicesearch.so", "978da70eb4ba78ef37e8fcd7c66dadba64912107", "/system/lib/libmtp.so", "13990a0f2221b603041b86238353796f12f40f60", "/system/lib/libgabi++.so", "a9f1b458a1a9d94be9db2fbf3866ac3b7d55da06", "/system/lib/libstagefrighthw.so", "c1ad1244a187eddd62e297c9edb6d4e2fffb2082", "/system/lib/libnvmm_image.so", "cb238f3d179555a50cfb65daed0e6dd7e59802e7", "/system/lib/libjni_latinime.so", "439b77f88b6a99e7d5c61b7f74c910445b2eac19", "/system/lib/egl/libGLESv2_tegra.so", "02109cd4df082c28f393b0ff9050ed93e893a541", "/system/lib/egl/libGLESv2_perfhud.so", "bf22eb715ff3c86eeec5163d3c5e1a9fdd70bedf", "/system/lib/egl/libGLES_android.so", "f3421915e0f592c792ebc2a1c1e69df256938027", "/system/lib/egl/egl.cfg", "490b07f24cccb26a3a25daa04372ff9a65210357", "/system/lib/egl/libGLESv1_CM_tegra.so", "1345c9faa6917b39ad2dd1a5b344984159267894", "/system/lib/egl/libEGL_perfhud.so", "70c2adb66884fbb6bfb45c2b6925a3e1c2b93fc8", "/system/lib/egl/libEGL_tegra.so", "a3d0e1ffe82f006877e3acbdade1d3ddb1906f06", "/system/lib/egl/libGLESv1_CM_perfhud.so", "ba0b9bdd9d72fabdc831005fb796a285bd80c7ac", "/system/lib/libfrsdk.so", "6ad2ca8638d63d0f9a3bb58bd95f3591bb46a7e5", "/system/lib/libfilterpack_facedetect.so", "62b6b283e25282eecd1176868849e2e87ac0a491", "/system/lib/libnvhdmi3dplay_jni.so", "bfc3d0dca7d2ed2236f14e2512ebd298649099ea", "/system/lib/libwpa_client.so", "da59fb469d89a82516d59df92bb9aa35391bf4d4", "/system/lib/libnvmm_misc.so", "6b44f8f0730b4634f68e7eba79149c2cfe097206", "/system/lib/libakmd.so", "2e7dd1bcd3da1fb83f35f91ffa4f836c405e6ac9", "/system/lib/libdvm.so", "6757fa5c20f5ac5fafa14f90d6339b662c0aad59", "/system/lib/libnvmm_aviparser.so", "b28dfc1191da6399f877e4373d9aec876dc3b035", "/system/lib/libreference-ril.so", "023bc1ecdb01998cfee90047e9e66705de2be3ec", "/system/lib/libstagefright_soft_h264dec.so", "c7d2c379e6219652c9b99568d478e542b2fda3a1", "/system/lib/libfilterpack_imageproc.so", "13605f14be813bdb646936e523a16a265f052e0c", "/system/lib/libgui.so", "3b8a4be81d27e5f3ae1fae3848b3f415cf4930b9", "/system/lib/libusbhost.so", "6fcf4f0542e64e0f8b36b85a1347988fce4981eb", "/system/lib/libbluetooth.so", "a4dd6a35035d6ea59946654be5f8d3ae7c1685ae", "/system/lib/libandroid.so", "fb7abbd35ed3b67e246f1402d3f707f4941ce099", "/system/lib/libext2_e2p.so", "72c3a7d3da9c812a48341538792e7d1b54bf77b9", "/system/lib/modules/bcm4329.ko", "276a5fc18b8766f78699ab089e273d94cbe58a67", "/system/lib/modules/scsi_wait_scan.ko", "738099703355b42160a1556d97f84212fa39174f", "/system/lib/libeglstreamtexture.so", "1a2650eca3e96a9c0fc3f94511c6667913ccb295", "/system/lib/libsensors.mpl.so", "47a3ac6f3b969f56631552e27f35635bb4b955d0", "/system/lib/libbtio.so", "00e327e63d482c0d31c7dbb50b1929076b7248e8", "/system/lib/libnvmm_video.so", "914ea0c84bc1f9e60b96554f5c49905a3bc73512", "/system/lib/libwebrtc_audio_preprocessing.so", "090da35514579b33bef1783e9e025595272ee1aa", "/system/lib/libext2_uuid.so", "6334bc4974ccf25cf1c1c241afc3fec7526239eb", "/system/lib/libnvwinsys.so", "1f1ccfeff6cf026684288738d8462c9a56651c9d", "/system/lib/libjpeg.so", "7d3d7bef31db7abb75acb5a53eeff6348e7fe913", "/system/lib/libsonivox.so", "0bbfed20603b993e00a1c214b4109f083b416401", "/system/lib/libnvmm_parser.so", "26bdf5a8bc6fd30e406cc014ebff05620111862a", "/system/lib/libbcc.so.sha1", "f45f90b3ec6c6e16e40ad73a4a719af1ae15527b", "/system/lib/libnvodm_imager.so", "a7d74105d49a4a0d094f690f34a555e1b6e1bf49", "/system/lib/libnvmm_camera.so", "4043099cacc37452415ed13b5d235bc0fea181a5", "/system/lib/libandroid_servers.so", "08cbb4e5bf510fd9e4828731bfb4a154c4444c8b", "/system/lib/libfilterfw.so", "cfd15c297dbb230deea70d142e81f780684f3761", "/system/lib/libflint_engine_jni_api.so", "dcca3a1883d840eea560350b477a61e497918f1f", "/system/lib/libthread_db.so", "af961b1707a2a4de575bf653da6b549dc51b2ddb", "/system/lib/hw/audio_policy.tegra.so", "e75a6c60f196b892c62f3e6a8cd51e73c9c95087", "/system/lib/hw/audio.a2dp.default.so", "eae1c972d3a332845974a3752226aa52646b8417", "/system/lib/hw/hwcomposer.tegra.so", "e50a405bd18a21d4f99750862b1e4a1ee41a65e8", "/system/lib/hw/gralloc.default.so", "71fff4c1cc53a777dca7f16d863fc152b0669f61", "/system/lib/hw/audio.primary.default.so", "9941b2d165a8e81460e3b3ca13bea21d7d6cb509", "/system/lib/hw/lights.ventana.so", "a632e5547c41c755da374fd30b91c6f02118fa86", "/system/lib/hw/gralloc.tegra.so", "b42e9dcd05f00ac8f98827f969343af88329b087", "/system/lib/hw/audio.primary.tegra.so", "caf0220f6cbdb871d324b275340fb91b1f0e1123", "/system/lib/hw/audio_policy.default.so", "f4e25305a9b5699338e304b28199e39b9d21a2e0", "/system/lib/hw/sensors.ventana.so", "737dadaef2646baaba123b8a06b35da3035b4ee7", "/system/lib/hw/nfc.tegra.so", "c04f0fdadec8f145c32a33559d983a3da6538511", "/system/lib/hw/camera.tegra.so", "31417e28e1f7fa00ff2db110096985c13d7e641b", "/system/lib/hw/gps.tegra.so", "0bb99faac0dbe54cd2e4ee4343dfc8c71ab611e6", "/system/lib/libstagefright_yuv.so", "5c6b423c5a9df9d5e2b86c5f535de1f3cf085ce4", "/system/lib/libeffects.so", "bbec4344ed7cfb34f9d50f065131500f6cedd292", "/system/lib/libspeexwrapper.so", "6b13c980b87d164277c02b707a61f8f494d09ac7", "/system/lib/libstagefright_soft_mpeg4dec.so", "3616f9f0c82c26d27b6403565a4d85e5aa6557ba", "/system/lib/omxplayer.so", "bc319e7153998abbc68a73e9238f2711f9a8e844", "/system/lib/libcameraservice.so", "78de6148037c43894cf492eeb6a78bf68da502ab", "/system/lib/libskia.so", "773556b3f74397f8c0df252264c7f6818fd2d02b", "/system/lib/libvorbisidec.so", "9f2e2a863937fa4e36021dd2baa459440c45577c", "/system/lib/libnativehelper.so", "7a3b90e701a5097350bc7b3b36698e91296b2f00", "/system/lib/libstagefright_soft_vorbisdec.so", "e33c21e3cb923586da40140505e703890a7dd6ba", "/system/lib/libnvmmlite_video.so", "ae1507b683819aae72a7cb879c8b16ca6aef493f", "/system/lib/libfacelock_jni.so", "8c8b91ffaaa870e5a343a8f2461ad2f618f0102f", "/system/lib/libsensorservice.so", "539863616a077e72a8e3d1cf3d6b87df5fc209e9", "/system/lib/libardrv_dynamic.so", "0e24cbd0639ba850af181cfe5d518381ef4e86f5", "/system/lib/libinput.so", "d378a1d29ba9344cc14e8bde3336ada040e97058", "/system/lib/libdefcontainer_jni.so", "5969d89407c3a828fcee62c4a214f1f2ce99ef2f", "/system/lib/libGLESv2.so", "393cbf84ccd4a7878a5dff9b275812c8f3692116", "/system/lib/libwilhelm.so", "1e731d7e010823af65f72195dc294531ebdf7f24", "/system/lib/libGLESv1_CM.so", "b2a6d5cabcdfbf8d4e64e2a9a65ae7f5c7153554", "/system/lib/libnfc_ndef.so", "50bf64ce797ea7632106a70e28105a661a90b5b6", "/system/lib/libmpl.so", "73d4080f87bc483bbba1e54ee4384036183a8cda", "/system/lib/libinvensense_hal.so", "c2e7eb6460ffb57685bc66df3dedf70343bb6743", "/system/lib/libstagefright_enc_common.so", "b0de49469db0ad0003f20b33031c12ae0afb7260", "/system/lib/libext2_com_err.so", "508866d907b2006583e28bbf75f982afb14da0ba", "/system/lib/libjnigraphics.so", "5125e4c6be320739d67115b8572fd8487162069f", "/system/lib/libnvtvmr.so", "a63392f1d0d4d21f51b9730f69e11842e965fbdc", "/system/lib/libsqlite.so", "cb1ac634ef45a441bb48a9814eb04238bdaac7fb", "/system/lib/libharfbuzz.so", "1750c426b6c0425e31042448bef65b5b184a211d", "/system/lib/libcrypto.so", "66b108807599f0d29f68e1d942887bc486189d33", "/system/lib/libsqlite_jni.so", "db7d85f37512920ec01a9e2d3bdcb0aa21115028", "/system/lib/libcamera_client.so", "5fff50655c8f6a827d79b263875380dd4ce9eb26", "/system/lib/libbinder.so", "bc5d148bb82f8d4516f8f8ea29d5f14a05a006a1", "/system/lib/libstagefright.so", "b9a6d722a3401b6609145c505e0984db92cc8e2f", "/system/lib/libpixelflinger.so", "0758e4f780d2893f0535f2527f93d3a9e41c5b75", "/system/lib/libnvmm_manager.so", "1194f413cf1d78470bb94d3cb726df006eb380c3", "/system/lib/libsystem_server.so", "7724cd7777c49741506ecf0a72ebb88cd4cbeab0", "/system/lib/librs_jni.so", "8889d50de56fea2e9c69b6a87efb76be5c512ea1", "/system/lib/libril.so", "4341646df14f48e222ab02e23492b9e585ecca3c", "/system/lib/libnvmmlite.so", "e12aa6015a5526cf3c49bcde2531ebdb9c743ee5", "/system/lib/libext4_utils.so", "d5b6c7ec212b1c53efe4770bc2034596c385a2ed", "/system/lib/libnvddk_2d.so", "8045625bd59c1d09870ee98e13d92f71f7106136", "/system/lib/libOpenMAXAL.so", "35284131b86b9257cdf7bd28e602c1e7f147b54f", "/system/lib/libpowermanager.so", "3b9adc50ba012ed4557a44c384360525d7b45fb6", "/system/lib/libexif.so", "0d68a01c18ee23b2604e3ee398180650420ae359", "/system/lib/libnvomxilclient.so", "6de4be85d278531a5420a6e8f8859c8ae33d0d99", "/system/lib/libmedia.so", "ab84c21dd55e7d67fce1f899bed6818254ea0825", "/system/lib/libjni_mosaic.so", "2d64446aff425b0397fa6ed7d96a183ee9594e09", "/system/lib/libnvos.so", "0b035761a6cf0591d46532094b0a4c17c44a5e26", "/system/lib/libnvmm_contentpipe.so", "8fc0d8fe683af076a9784d5a01f20a0ab59a1fc1", "/system/lib/libsurfaceflinger_client.so", "bedbc4ee036e2a4f7e6fbdbcef43852e34b8bdab", "/system/lib/libspeexresampler.so", "17aaa6afb5fa4d161d37f308b7dc2389f6133553", "/system/lib/libwebcore.so", "990217ec2b2389bb9aecff3d811a8895e234a885", "/system/lib/libglib.so", "5d886427c25490e31595da6743b85e6985c50fe7", "/system/lib/libm.so", "0f8feae8c1a2240b8acf992ad1319ab0c3318062", "/system/lib/libsoundpool.so", "86c4965ea6d5cd9608e1fa786f7cd1f967b3c872", "/system/lib/libpower.so", "dbc2ea3bb1f348487ee2886eb7213eea5de0c1f2", "/system/lib/libsensors.isl29018.so", "407d0dd3f7fb535c50fd5be4b44fe6e08afef45e", "/system/lib/bluez-plugin/network.so", "dfb4e3c4b9bd6c3748f652d9bd93a1295877059a", "/system/lib/bluez-plugin/audio.so", "4820d45777921abf6ad134d6ad8108ea0a0bf37b", "/system/lib/bluez-plugin/bluetooth-health.so", "9f03c3518eabc79cdd44d08040804ee17254891a", "/system/lib/bluez-plugin/input.so", "fe2a38715ff4504cde53894b1aeb226a836c8515", "/system/lib/libui.so", "84eb7d9f5499ee52c0abca51c8dd1e7b10d3bc51", "/system/lib/libnvtestio.so", "77dcb25c93010c2d8ac9913657b06e2777cb2fbc", "/system/lib/libnvmm_utils.so", "e78bc388e85efa61103189d1365df90bd4aaed7a", "/system/lib/libext2fs.so", "d9483a255d3aefec6d5e7352e4b4628f20e2be24", "/system/lib/libnvmmlite_audio.so", "af711a4587d73ca012d925eab610656d3f9a42bb", "/system/lib/libstagefright_avc_common.so", "fbe8da2d20c25a35e80a72f2a586ce0612f0df57", "/system/lib/libsrec_jni.so", "b5b662a84b86eb5d2c9eb7db447643cd8a740a2b", "/system/lib/libnvomx.so", "974ef44d6c0cfae71cc24b54365cd6f5b679fe90", "/system/lib/libbluedroid.so", "abba80c9f7bbe164c12781ff0bd595c1f0a2287d", "/system/lib/libnvodm_hdmi.so", "6988b8b28bd60e8cdb3bebab3cc908f2246cf49d", "/system/lib/libnvomxadaptor.so", "5b1409833f0d5ede64ae2cade564636edf9c5745", "/system/lib/libdbus.so", "589d76227939eba6a8b5f0c5007a80923acf70b1", "/system/lib/libpicowrapper.so", "b6b0ce5d40b19f6da8a2027f2a8e7987d555bcfb", "/system/lib/libaudioservice.so", "682441a22934686fdb931c95e277a23efefde5ec", "/system/lib/libdrmframework.so", "25da187d88b03f303a3c2086c21342a3c47efac1", "/system/lib/libstagefright_soft_g711dec.so", "9851c11e2c28d1453afb955c6b8de3894629ffc8", "/system/lib/libnvcpud_client.so", "9d8a8119855eea83c647a049ab611cc560a47e5e", "/system/lib/libz.so", "a489a2037ab1d72c824cf3a0548fe9256239d57d", "/system/lib/libnvmm_writer.so", "7808b5aefb804dd6e70a79143e3c844ad700ed38", "/system/lib/libstagefright_foundation.so", "ac291a2d78957c1d9f2d003e3ae38c940a1bdd28", "/system/lib/libhwui.so", "d907ed519a78b34cf447aaac7699f61a21387ef7", "/system/lib/libvideochat_stabilize.so", "f51e325e8fffff591f5525b774d0a1a68a2479a2", "/system/lib/libnvtestresults.so", "621af8929d2cc7b34b857e3c529de6efc888a081", "/system/lib/libnvmm_vc1_video.so", "3e9cfeec29b0c8e0407796365c64e194481d3eb1", "/system/lib/libext2_blkid.so", "e13601dc4d14194e1fed7286afa155fe9d10e239", "/system/lib/libnvmm_msaudio.so", "f021133fe0fbd8d8e03c37f8dd8ac0bc1eeb7300", "/system/lib/libstagefright_soft_amrdec.so", "fe3ea19e8407f3f3b2fcec90c115c0c94ceeef2a", "/system/lib/libnvasfparserhal.so", "645922e939fb53d2f77656a5d90a28bb364560f5", "/system/lib/libhuawei-ril.so", "6c700e83213dce585986fff4ff83e3b84b929d18", "/system/lib/libnvodm_dtvtuner.so", "a1373ca133c4d9695c14f46dc28682ae3b4cd629", "/system/lib/libnetutils.so", "c0585e5ebadcc4f4c0d6b77f0816b620d11659f4", "/system/lib/libicuuc.so", "c26afecef125ca90ab21d5270018c8d03f23656b", "/system/lib/libdrmframework_jni.so", "7648bbb758fb88ec7811fbc2ebdb53815505d34a", "/system/lib/libnvmm.so", "db23867464f594133db43ac2af90a6af26bb4bd9", "/system/lib/libssl.so", "b391c182f4be69d67255d35a7122e03f33be2688", "/system/lib/libvideoeditor_jni.so", "f7b2d7cd1a873ae08eead83181b0d2b73448ee22", "/system/lib/libdrm1.so", "4ddc0419dd6d644ec683d30f25420d7b33c9db71", "/system/lib/libpython2.6.so", "576f3bc50a7efbfcab6b6d99e075c900422839ba", "/system/lib/libclcore.bc", "a1e2610fdc0c2ef151248092fa32be807d1b983d", "/system/lib/libnvdispmgr_d.so", "5d2b27edcbb05740ec6f751f589a12ca30a70062", "/system/lib/libicui18n.so", "a0e525baa550ef4c57a22afe46afee461e8c97b5", "/system/lib/libnvmmlite_utils.so", "2be48806e0a7ccbb9ab899085cc25456861d62ff", "/system/lib/libnvsm.so", "1d894af31cc6e5c58dffe51c3b73077111007c2d", "/system/lib/libnvsystemuiext_jni.so", "61741e29c1acacd657a151b51878972db4fb3e09", "/system/lib/libstagefright_soft_mp3dec.so", "56fc8eaa0947ac04ebd25e2fad6d44a1878aed3b", "/system/lib/libmedia_jni.so", "678132b9798442b29ac6b6aaae90ede55233cdbb", "/system/lib/libmlplatform.so", "6431e014e14d1fbd691fb07087e9999e976bc8f8", "/system/lib/libexpat.so", "5812a8f9f9312ec86309badd170ddc699034fcae", "/system/lib/libdrm1_jni.so", "1fa8cac6a029b2ab09d36e12af9de8af51bc9bba", "/system/lib/libEGL.so", "3d890a4c0cc06d5b5a4969bcedd693d7924fd03e", "/system/lib/libasound.so", "563c09dee7ecafde3e78d401d825247b9fbdfa8d", "/system/lib/soundfx/libdolbymobileeffect.so", "b88da112e81992251df88a1639613f8a7120c5e7", "/system/lib/soundfx/libvisualizer.so", "7681b3ce723e8e3841d756fb670543854c06dd60", "/system/lib/soundfx/libreverbwrapper.so", "1fbb9b6b89e4ebb3397836f3d39d4c9a443452ea", "/system/lib/soundfx/libbundlewrapper.so", "3891fc07470444df5d95114dd1b523a5a137d9fc", "/system/lib/soundfx/libaudiopreprocessing.so", "f3d8b791516df94171adf375224b81731506f1be", "/system/lib/libstagefright_omx.so", "f1990ae6392a7fe876761667e8e2ca75cc438b8f", "/system/lib/libnvrm.so", "68cd216f32c9f0534b5e9fada9a8d221a54dd74f", "/system/lib/libvideochat_jni.so", "6cc4d56b56118c959c65b65724e947de74f05402", "/system/lib/libandroid_runtime.so", "edd08cda2c7b69fc22d2359aaac4f8f7b99f1c9b", "/system/lib/python2.6/lib-dynload/parser.so", "69b10f6d963ed0579f5101d6c79d1eec56f9426d", "/system/lib/python2.6/lib-dynload/binascii.so", "075e0ea2d3e6c82fab5a76594f78538072967a8b", "/system/lib/python2.6/lib-dynload/_fileio.so", "d1c043d926a9dbe93c83c2fbef794158335c5bf8", "/system/lib/python2.6/lib-dynload/_struct.so", "7b9105b4a5c1663e8be4008c92953d521cb3c9dd", "/system/lib/python2.6/lib-dynload/_random.so", "3a744ba783f40b3d8d5c77982a9abd413a28c3c2", "/system/lib/python2.6/lib-dynload/fcntl.so", "afabc0b750e82332be475351475569f67f8267ab", "/system/lib/python2.6/lib-dynload/_weakref.so", "5ff6fbe9e2461587f83c746f4f58f320e5338621", "/system/lib/python2.6/lib-dynload/operator.so", "63ffbd77f921336154843eb905253007a65bf82c", "/system/lib/python2.6/lib-dynload/_collections.so", "59c9ff7c03ea37daa68875f34eaaae94291dd32b", "/system/lib/python2.6/lib-dynload/_socket.so", "7ad9fc4dc21f80d0f92d9a901cf71207a3090b0d", "/system/lib/python2.6/lib-dynload/time.so", "4bfdacbade4eb5cb5ae9c2d7a62ed6438e4362e0", "/system/lib/python2.6/lib-dynload/cmath.so", "191fe31db2a035c19421b24f198569104b9ad7eb", "/system/lib/python2.6/lib-dynload/array.so", "51c871940c444ff562a4a4a6ed44edb78256160c", "/system/lib/python2.6/lib-dynload/_functools.so", "91ce6092facc590a3c16f42e82702a0904b645d3", "/system/lib/python2.6/lib-dynload/strop.so", "49c5ea52b9e5b4bf0e86bb53b73866c735f0e82b", "/system/lib/python2.6/lib-dynload/unicodedata.so", "90eb4841d0d2e000ec60ef3f5d6245021c521d17", "/system/lib/python2.6/lib-dynload/_nvcamera.so", "89744b22b3bbc52b01c810e88bc74b3cd8f92699", "/system/lib/python2.6/lib-dynload/datetime.so", "0defbdf93753e517e425257cf0406d9abd8530ab", "/system/lib/python2.6/lib-dynload/math.so", "8dc25fff032a5df805204bbe6f1be00300ce8dbe", "/system/lib/libgcomm_jni.so", "ea94a30c0dc6bf867395cc0d131e2492d9f80851", "/system/lib/libext2_profile.so", "69b086d0c920ea92e60a4cc4d9ac4056e711a345", "/system/lib/libstlport.so", "2b745b4d15e887d405c34a08d4218992335a9502", "/system/lib/libnvmm_asfparser.so", "1c858000b79ceadfdbfb4d59d722c563bf927a95", "/system/lib/libdiskconfig.so", "4d4ddeaaee09096324b8b830193e2faf56bc9007", "/system/lib/libnvodm_query.so", "493e8ad104a9030830e5d956deed7db9be5d0cb9", "/system/lib/libRS.so", "f1ae2833bf591ce7e6dda4be08bb3f5ed1ec0ae2", "/system/lib/libsysutils.so", "04c4cb3032ddfb01cbac4beac33bddf294bc70ac", "/system/lib/libnvwsi.so", "9d537ed8cc127493134ec6a6d88263995041a0b5", "/system/lib/libchromium_net.so", "3328fbcb174595778a95f4172148279db9000f1f", "/system/lib/libbcc.so", "bce9df0cc2493305688ddcbcd4953b64500315b8", "/system/lib/libhardware.so", "1686f1dccae9fa70ea7dbe5bc33e9cb44e24a1d2", "/system/lib/libiprouteutil.so", "0faeb9e9f8149e6d3ac6ab7b6eaec1ab6ebd8f29", "/system/lib/libnvcpud.so", "ba83c3bf6c053f247c5982a184e270dafd14f4c7", "/system/lib/libstagefright_soft_ddpdec.so", "8b7de994873f600fc79f156ab5772d314dd35263", "/system/lib/libGLESv2_dbg.so", "007c445d1490fd5dd091fc683db8258c25da973a", "/system/lib/libmediaplayerservice.so", "f42da5a0c0b766e109372ad0b17fbdf4ef5ee95c", "/system/lib/libhardware_legacy.so", "cd36fcf23fe3884d9b95b31a3cebc32b649814e1", "/system/lib/libSR_AudioIn.so", "5f62848b61344c095f4761dec6be3204ecdf523e", "/system/lib/libvariablespeed.so", "87685d538c6cc209f3f6e34254ec002e908ffa58", "/system/lib/libtf_crypto_sst.so", "7c836f5e9feeb7d6a7c94c6013ad378245a50aca", "/system/lib/libnvrm_graphics.so", "b8426e0096f0d12f349fd189151969aa76e758cc", "/system/lib/libaudioeffect_jni.so", "5670f6c3bef4caaaf85e68196f6c739fef6d3fe8", "/system/lib/libFFTEm.so", "d9f4fafbb1e06ae89f7ae67c42c2980415b4fd79", "/system/lib/libnvodm_misc.so", "0c4efb280978afe3e64594ce28a82f56da78ebdd", "/system/lib/libcutils.so", "af142e13f3b60bee44305cbe7bc000a96a27d93d", "/system/lib/libnvparser.so", "610cf7c95c63d3911c266fd09edaf6bc09d7cb92", "/system/lib/libvideoeditorplayer.so", "6b1d8922ee8d79f40cdd86b0ac0cbc35a9d19fab", "/system/lib/libbluetoothd.so", "66ae0241084217ecb6e380db1ced610b1a08bd32", "/system/lib/libWVphoneAPI.so", "1ce8599032c622acb9af9acc809b3921311c03ae", "/system/lib/liblog.so", "1fed48d417e9016fb57368061bbfaa814087ba55", "/system/lib/libcgdrv.so", "91e72f2b84359620bcc7e4f137122e71181cf293", "/system/lib/libdl.so", "cfcdfc7d9cdab3affcc3bab44d25dc73bf3a5dc8", "/system/lib/libnvmm_service.so", "76139ff5119497239a4771e7fd0dbb30cf2a730d", "/system/lib/libaudioflinger.so", "0a8c8c88ae0ae72310fb1ce41d7421eda3e9fd19", "/system/lib/libstagefright_amrnb_common.so", "5ad8ceb94d11f7eb20d0cbf38aa21d93dc1b27b3");
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, 1000, 06750, "/system/bin/obexftpd");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 1000, 06750, "/system/bin/sdptool");
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(0, 0, 0644, "/system/etc/bluetooth/bdaddr");
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(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware/bcm4329");
set_perm(0, 2000, 0755, "/system/vendor/firmware/bcm4330");
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, 0644, "/system/vendor/pittpatt");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/left_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/nose_base-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-r0-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rn7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.3/right_eye-y0-yi45-p0-pi45-rp7-ri20.2d_n2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-r0-ri30.4a/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rn30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.3/head-y0-yi45-p0-pi45-rp30-ri30.5/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/recognition/face.face.y0-y0-22-b-N/full_model.bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-num/p2");
show_progress(0.100000, 0);
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p7", "/data");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-num/p8", "/data/temp");
delete("/data/media/.apk-link");
set_perm(0, 0, 7755, "/system/xbin/su");
unmount("/data/temp");
unmount("/data");
unmount("/system");
And... So...????????
Is anybody interested in the Android 3.2 OTA for Medion Lifetab P9516? If so, I would upload this file. It will work on your Lenovo IdeaPad K1 (at least it did on mine) and it should give you the build properties you need to flash the ICS OTA on Lenovos' server.
isime13 said:
Is anybody interested in the Android 3.2 OTA for Medion Lifetab P9516? If so, I would upload this file. It will work on your Lenovo IdeaPad K1 (at least it did on mine) and it should give you the build properties you need to flash the ICS OTA on Lenovos' server.
Click to expand...
Click to collapse
Didn't you say in your last post the HC for the medion worked on your K-1 but the ICS updates didn't work? And shouldn't you note that your using the 3G K-1 according to your last post. I believe the build would be differs t than that for the pure Wi Fi K-1.
jfkerekes said:
Didn't you say in your last post the HC for the medion worked on your K-1 but the ICS updates didn't work? And shouldn't you note that your using the 3G K-1 according to your last post. I believe the build would be differs t than that for the pure Wi Fi K-1.
Click to expand...
Click to collapse
Yes. I managed to install the Medion Honeycomb firmware, but the device is stuck at the Lenovo logo after applying the ICS update.
I thought maybe someone else might want to test it, because I don't unterstand why it's not working. Maybe it's just an very early build, Medion said it will release the Medion Lifetab P9516 update at the beginning of July. Another reason might be that the preinstalled apps are missing on the Honeycomb OTA. But I think it shouldn't be a problem whether you use a K1 Wifi oder K1 Wifi+3G. At least I can use the Lenovo US Wifi-only firmware on my K1 Wifi+3G.
Well, I've made a backup script for my device using nvflash, so I can test updates and restore the backup afterwards...
i managed to get a bit further ...I took Khannings ics CWM flashable update zip and ripped out all of the files and started dumping in the files from the international medion rom and managed to get as far as the boot screen wich is nice ....almost has that nexus feel to it then it says LIFETAB .....then it died ....but atleast it got past the lenovo screen
at first it was complaining that the build prop didnt match so i made it match and it installed
Thanks a lot tech5. I've tried quite a lot, but every time after applying the update with CWM and rebooting, my device is stuck at the Lenovo logo.
I am very curious to find out if it is possible to use the Medion firmware on my device, because it isn't yet clear whether the official ICS release for the Lenovo K1 will support the K1 with 3G. And the ICS release from Medion will definitely support 3G.
Could you maybe upload the update.zip you created?
isime13 said:
Yes. I managed to install the Medion Honeycomb firmware, but the device is stuck at the Lenovo logo after applying the ICS update.
I thought maybe someone else might want to test it, because I don't unterstand why it's not working. Maybe it's just an very early build, Medion said it will release the Medion Lifetab P9516 update at the beginning of July. Another reason might be that the preinstalled apps are missing on the Honeycomb OTA. But I think it shouldn't be a problem whether you use a K1 Wifi oder K1 Wifi+3G. At least I can use the Lenovo US Wifi-only firmware on my K1 Wifi+3G.
Well, I've made a backup script for my device using nvflash, so I can test updates and restore the backup afterwards...
Click to expand...
Click to collapse
Either kernel,framework, will cause that
Sent from my Xoom using Xparent Green Tapatalk 2

[Q] Problem with patching CM10 with opendroid

I'm now using CM10 by tezet.
When I tried to patch the ROM (CM10-20121228-NIGHTLY-milestone2 http://forum.xda-developers.com/showthread.php?t=1827801) with Auto-Patcher http://forum.xda-developers.com/showthread.php?t=1719408
An ERROR appeared.
Here's the log.
Code:
ROOT= /cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/ap
TOOL= /cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/ap/patch_tools.tgz
ROM= /cygdrive/f/Users/lxdluke/Downloads/Programs/CM10-20121228-NIGHTLY-milestone2.zip
ROMX= F:\Users\lxdluke\DOWNLO~1\Programs\CM10-2~1.ZIP
### verify tools ###
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin/patch
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin/tar
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/Java/bin/jar
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/Java/bin/java
/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin/cpio
### verify ROM ###
### running ./auto_patcher /cygdrive/f/Users/lxdluke/Downloads/Programs/CM10-20121228-NIGHTLY-milestone2.zip openpdroid cm
PATH= /cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/ap/tmp20130610123832:/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/Java/bin:/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/bin:/cygdrive/f/Users/lxdluke/Downloads/Programs/ApGPackages/cygwin/usr/sbin
### unzip patch tools ###
### unzip patch patches ###
... result of ROM check: RIL= MotoWrigley3GRIL
### probe rom type ###
#### Standard Build Query ####
# VER= v2.9.8
# OS= cygwin 32bit
# VID= 4.1.2
# PID= openpdroid
# MID= cm_milestone2-userdebug
# RID= cm
# ANDR= 4.1
# BDID= 20121229
# DID= milestone2
# BID= 20130201
Patches are openpdroid/4.1/cm/20130201
### DELETE FILES=
### COPY FILES= system/media/PDroid.jpeg
### JAR FILES= system/framework/framework.jar system/framework/core.jar system/framework/services.jar
### APK FILES= system/app/Mms.apk
### IMG FILES=
### TXT FILES=
### unzip rom ###
### create updater script ###
... using Clockworkmod installer ...
# generated updater-script
ui_print("");
ui_print("");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("* *");
ui_print("* * The Auto-Patcher * *");
ui_print("* * * * * *");
ui_print("* * by mateor * *");
ui_print("* *");
ui_print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~");
ui_print("");
ui_print(" Attention");
ui_print(" ************************************");
ui_print("");
ui_print(" There is nothing that can go wrong here");
ui_print(" that reflashing your ROM won't fix.");
ui_print("");
mount("ext3", "EMMC", "/dev/block/mmcblk1p21", "/system");
package_extract_dir("system", "/system");
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/bootmenu/binary/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/script/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/recovery/sbin/");
set_perm_recursive(0, 0, 0755, 0755, "/system/bootmenu/2nd-boot/sbin/");
set_perm(0, 0, 0755, "/system/bootmenu/2nd-init/init");
set_perm(0, 0, 0755, "/system/bootmenu/2nd-boot/init");
set_perm_recursive(0, 2000, 0775, 0664, "/system/bootmenu/config/");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 0, 0755, "/system/etc/wifi/hostap_wrapper.sh");
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, 0, 0755, 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, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/hcitool");
set_perm(0, 0, 06755, "/system/xbin/librank");
set_perm(0, 0, 06755, "/system/xbin/procmem");
set_perm(0, 0, 06755, "/system/xbin/procrank");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/tcpdump");
set_perm(0, 0, 0755, "/system/etc/motorola/comm_drv/commdrv_fs.sh");
ui_print(" .");
ui_print(" .");
ui_print(" done!");
### create restore.zip ###
### decompile system files ###
... decompile framework.jar ...
... extract preloaded-classes ...
���: preloaded-classes
... decompile core.jar ...
... decompile services.jar ...
���: system/framework/framework-res.apk
... installing framework files ...
... decompile Mms.apk ...
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: F:\Users\lxdluke\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
### copy patch openpdroid/4.1/cm/20130201 ###
... copying system/media/PDroid.jpeg ...
... overwriting system/media/PDroid.jpeg from openpdroid ...
`patches/openpdroid/4.1/cm/20130201/system/media/PDroid.jpeg' -> `./system/media/PDroid.jpeg'
### delete patch openpdroid/4.1/cm/20130201 ###
### jar patch openpdroid/4.1/cm/20130201 ###
... apply framework.patch ...
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file smali/android/view/ViewGroup.smali.rej
... apply preloaded.patch ...
GARBAGE=
GARBAGE= tmp/system/framework/framework.jar.out/smali/android/view/ViewGroup.smali.rej
... apply core.patch ...
GARBAGE=
GARBAGE=
... apply services.patch ...
142 out of 143 hunks FAILED -- saving rejects to file smali/com/android/server/ServerThread.smali.rej
!!! PATCHING FAILED FOR com/android/server/ServerThread.smali !!!
!!! patch error for com/android/server/ServerThread.smali !!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!! error: failed com/android/server/ServerThread.smali in services.jar cannot be remedied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Can anyone please tell me how to correct it?
tried it several times some months ago. allways the same error as yours. than i read the first post of opd and autopatcher thread. there you can find the solution. -> "it isn't possible to patch quarx's roms yet". tezets is based on quarx's defy rom.
if you want to use opd, you have to use engle_mars's cm10.1. he patched directly the source, cause autopatcher didn't do this job as well.
lulli1 said:
tried it several times some months ago. allways the same error as yours. than i read the first post of opd and autopatcher thread. there you can find the solution. -> "it isn't possible to patch quarx's roms yet". tezets is based on quarx's defy rom.
if you want to use opd, you have to use engle_mars's cm10.1. he patched directly the source, cause autopatcher didn't do this job as well.
Click to expand...
Click to collapse
you mean autopatcher works with engle_mars's cm10.1 ?
---------------------------------------------------------------
update: I have found PDroid had been intergrated in his ROM. Thx for your help.

[GUIDE][Noobs]How to Create your own stock based XPERIA ROM

Hey Guys,
My name is Braa, I’am just a new developer here in the XDA and today I’am going to show you a complete guide on how to make your own “XPERIA” Stock Based ROM.
First of all you have to get the Stock XPERIA Firmware of your device
Let’s get started to build our ROM:
First Step: (Getting the STOCK FTF File of your Device)
1) Get the latest stock FTF Firmware of your device
{
"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"
}
2) Open it using 7-ZIP
3) Now we will be focusing on the most important file “system.sin” Just Extract it to your desktop
4)Now go to the XPERIA Flashtool  Tools  Sin Editor   Choose the system.sin file you have just extracted to your desktop Extract Data
5)Now you will have a file called “system.ext4”
6)Get a tool called “EXT4 Unpacker” then select that file  Extract all the files into a folder
Congrlatiouns you have got your stock device firmware but not in the form of “FTF” instead in the form of “ZIP”
But this was not everything we will now move into more advanced part but don’t panic everything will be explained easily with screenshots so, Let’s GO !
Understanding the System folder you have just extracted
System Folder Contains the Majority of ROM Files, now we have to explain the SYSTEM Folder structure
1. app : contain all the system's app and the odex file of system app
2. bin : contain the command and bin files for the rom
3. vendor: specified vendor system. you have your specific vendor's app, libs, and config files here also contains the Themes (XPERIA 2011-2012 Devices)
4. etc : additional setting and files for the ROM.
5. font : It’s Clear it contains the fonts
6. framework : system's framework files and the odex file for framework
7. lib : drivers, modules, kernel related files for the rom
8. media: media files-ringtones, notification, bootanimation.
10. usr : files needed for keyboard, bluetooth, etc.
11. xbin : additional command and bin files (busybox is usually installed here)
12. build.prop file : Contains your Device default properties
Q)DEODEX VS ODEX
A)Most of custom rom available is deodexed rom while our stock rom is half deodexed rom. I'll try to explain it in most simple way. First of all, we should understand that mostly every app in android consist of three part, *apk files, *dex/odex files, and lib files.
ODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in same folder with the apk files (/system/app). the positive side, it consume less internal memory and a execute faster. the negative side, it makes the app uncostumizable (cannot apply custom themes) and need more space in system partition.
DEODEXED rom means that *dex file needed to run the app is extracted from the apk file and placed in /data/dalvik-cache. the positive side, the app can be themed (full customizable) and consume less system partition. we could put more app in /system/app in deodexed rom. the negative side, it consume a lot of internal memory. please be cautious with the internal memory space if you use deodexed rom. (NOTE: if you start from stock rom, you may use Kitchen to convert odexed to deodexed rom).
Now if you want a really looking good Ui ROM u will stick into DeOdexing your ROM
Note: What was explained above in the part of ODEX VS DEODEX doesn’t mean that DeOdexing ROM will decrease it’s Performance
Q)How to DeOdex My ROM ?
A)Bro, This could be done using many tools like (Universal DeOdexer or DsiXda Kitchen)
Now I will explain the Dsixda kitchen method
Tools Needed:
Cygwin
JDK
Android Kitchen
Steps:
1)Extract Cygwin.zip  Run Setup.exe  Next  Install from local directory  Set the root directory as it  Set the local package directory as cygwin_packages  Select that reload icon and install all
2)Now Click on Cygwin icon on desktop you will see that commands appear automaticly
3)Now Extract the kitchen Android-Kitchen-0.224.zip then rename it to “kitchen” (without the quotations)
4)Then copy that folder into c:/Cygwin  home  your username folder
5)Open the cygwin and write these commnds
6)Cd kitchen  ./menu
7) Just compress the system folder we have just extracted from the ext4 unpacker into ZIP File
8)Now copy that file to C:\cygwin\home\Your username\kitchen\original_update
9)Open the cygwin  then write the kitchen commands I’ve mentioned above
10)Select “Set up working folder of your ROM”  Press Enter  Select the zip you compressed  It will ask you to add a null boot.img agree to this
11)Select the “Advanced Options”  Select De-Odex files in your ROM  Select “b” DeOdex both folders (Recommended) wait till the process finishes
Updater Script ! (Nightmare to a lot of noobs)
Sorry Guys I can’t help you with this part  even my updater-script in my ROM I forgot how I did it here is it you can base your updater-script on it
Just download it !
WE’VE Done this part !
Modifying your ROM
1)Adding Tweaks
1.1)Adding init.d Support
Adding init.d support means that you can run your favorite scripts and tweaks on your Stock Based ROM
Download the file “enable_init.d.zip” and put all its files inside system folder into your ROM System Folder
1.2)Modifying Build.Prop for more stability
Here’s a lot of Build.prop Tweaks
1. Force launcher into memory
ro.HOME_APP_ADJ=1
2. Raise JPG quality to 100%
ro.media.enc.jpeg.quality=100
3. VM Heapsize; higher RAM, higher hp can be
dalvik.vm.heapsize=48m
4. Render UI with GPU
debug.sf.hw=1
5. Decrease dialing out delay
ro.telephony.call_ring.delay=0
6. Helps scrolling responsiveness
windowsmgr.max_events_per_sec=150
7. Save battery
wifi.supplicant_scan_interval=180
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
8. Disable debugging notify icon on statusbar
persist.adb.notify=0
9. Increase overall touch responsiveness
debug.performance.tuning=1
video.accelerate.hw=1
10. Raise photo and video recording quality
ro.media.dec.jpeg.memcap=8000000
ro.media.enc.hprof.vid.bps=8000000
11. Signal (3G) tweaks
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=10
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=5
12. Net speed tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
13. Disable blackscreen issue after a call
ro.lge.proximity.delay=25
mot.proximity.delay=25
14. Fix some application issues
ro.kernel.android.checkjni=0
15. Phone will not wake up from hitting volume rocker
ro.config.hwfeature_wakeupkey=0
16. Force button lights on when screen is on
ro.mot.buttonlight.timeout=0
17. Disable boot animation for faster boot
debug.sf.nobootanimation=1
18. Miscellaneous flags
ro.config.hw_menu_unlockscreen=false
persist.sys.use_di ring=0
persist.sys.purgeable_assets=1
dalvik.vm.dexopt-flags=m=y
ro.mot.eri.losalert.delay=1000
Q)How can I add these lines to my build.prop
A)I will tell you
Download a tool called “Notepad++”
Extract the build.prop file from your ROM then right click on it then edit with notepad++
Go to Last line:
Then add
# Tweak Name
Tweak Properties
#
Done
Here’s my build.prop I used in my ROM: its just a sample copy what you want from it
2)Bravia Engine 2 with X-Reality
Download the file of BE-2 then paste it in your ROM then add these lines to build.prop
# X-Reality Engine
ro.service.swiqi2.supported = true
persist.service.swiqi2.enable = 1
#
ro.service.swiqi3.supported = true
persist.service.swiqi3.enable = 1
#
3) Modifying the wallpapers of the ROM
Go to etc\customization\content\com\sonyericsson\wallpaperpicker\wallpapers
Then Add your Wallpapers
4) Modifying the Themes
system\vendor\overlay\framework
Themes are found here
In newer XPERIA Devices Themes are found in /app
5) Adding Supercharger intiries
Just add these lines to your build.prop
# V6 SuperCharger, OOM Grouping & Priority Fixes created by zeppelinrox.
# DO NOT DELETE COMMENTS. DELETING COMMENTS WILL BREAK UNINSTALL ROUTINE!
# BEGIN OOM_MEM_Settings
ro.FOREGROUND_APP_MEM=1536
ro.VISIBLE_APP_MEM=3072
ro.PERCEPTIBLE_APP_MEM=4096
ro.HEAVY_WEIGHT_APP_MEM=20480
ro.SECONDARY_SERVER_MEM=8192
ro.BACKUP_APP_MEM=14080
ro.HOME_APP_MEM=1024
ro.HIDDEN_APP_MEM=10240
ro.EMPTY_APP_MEM=15360
# END OOM_MEM_Settings
# BEGIN OOM_ADJ_Settings
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=3
ro.PERCEPTIBLE_APP_ADJ=3
ro.HEAVY_WEIGHT_APP_ADJ=5
ro.SECONDARY_SERVER_ADJ=7
ro.BACKUP_APP_ADJ=6
ro.HOME_APP_ADJ=1
ro.HIDDEN_APP_MIN_ADJ=12
ro.EMPTY_APP_ADJ=15
# END OOM_ADJ_Settings
# End of V6 SuperCharged Entries
6) Making your Apptray Transparent
Just Replace the apptray_pane_bg.9.png I provided to your Home.apk in store mode
7) Changing the bootanimation (HDPI)
XPERIA Z1
XPERIA Z2
8) Media not scanned or No pictures found here’s the solution
Download Rescan media root and put it in data folder of your ROM
If you are on 4.1.2 and HDPI Device (Maybe works on XHDPI or MDPI)
So my ROM “Doomsday” is open source for you, it contains full XPERIA Z2 Ui just take the download link from my signature then download it and take what you need from it but don’t forget to give me the proper credits and press thanks for me
Thread will be updated soon :laugh:
Downloads
My Personal ROM Updater-script
My Build.prop
[URL="http://d-h.st/j59"]Doomsday ROM[/URL]
EXT4 Unpacker
X-Reality and BE-2
apptray_pane_bg.9
XPERIA Z1 Bootanimation (HDPI)
XPERIA Z2 Bootanimation (HDPI)
Init.d Support
Why it says, Installation aborted.. I tried 3,4 times to make installation from custom rom. file... but unable to flash by using that rom the ROM.
Error shows this image in background.. (Can not make ScreenShot)
@Eliminator79 ho did you made a working custom rom from the above tutorial?
I have created 15-20 custom rom in different ways from different tutorials from xda, mostly it stops installation with an error. 4-5 times it started phone just for showing start animation ...
I quit....
Right now Installed stock rom back. after wasting 2 days..
Might be an updater-script
aatifaneeq said:
@Eliminator79 ho did you made a working custom rom from the above tutorial?
I have created 15-20 custom rom in different ways from different tutorials from xda, mostly it stops installation with an error. 4-5 times it started phone just for showing start animation ...
I quit....
Right now Installed stock rom back. after wasting 2 days..
Click to expand...
Click to collapse
Might be an updater-script problem
What's the error that comes during installation ?
Status 7 or Status 6 :good:
no status..
it just says
installation abort..
this time is says , aborted status (0)
View attachment 2893076
Here is the updater script code
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("debuggerd", "/system/bin/csview");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
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(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, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
unmount("/system");
Also replaced, updater script with yours 1, stil same error..
aatifaneeq said:
this time is says , aborted status (0)
View attachment 2893076
Here is the updater script code
Code:
show_progress(0.1, 0);
format("MTD", "system");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("debuggerd", "/system/bin/csview");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/touchinput");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/playback");
symlink("toolbox", "/system/bin/du");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 06755, "/system/bin/ip");
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(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, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
show_progress(0.1, 10);
show_progress(0.2, 0);
show_progress(0.2, 10);
unmount("/system");
Click to expand...
Click to collapse
you should set correct code partition in your update script
i mean this lines:
format("MTD", "system");
mount("MTD", "system", "/system");
you can find this lines in another custom roms which correct work on your phone.
just find this lines in that custom rom ( in meta inf folder in that custom rom ) then copy that lines and replace that in your update script
if your custom rom has a kernel , you should find the partition of kernel at the end of update script and replace in end of your update script
finally replace the update binary in that custom rom which correct work on your rom with your update binary.
do this work at the end of your work.means make your rom first then do this work with your rom.zip file
hope can help you
I have also used the working update script downloaded from Eliminator79's 2nd post... but still displaying same error..
Maybe works
aatifaneeq said:
I have also used the working update script downloaded from Eliminator79's 2nd post... but still displaying same error..
Click to expand...
Click to collapse
Replace the whole META-INF folder of your ROM with mine
Strongly will work :good:
Also did this too..also replaced with few other Xperia J roms, not worked. even replaced only apps folder. but in vain..
aatifaneeq said:
I have also used the working update script downloaded from Eliminator79's 2nd post... but still displaying same error..
Click to expand...
Click to collapse
NO bro
just used update binary from another rom which work correct on your phone
but about update script just edit 2 lines that i told you before
find it in update script for another custom rom for your phone and replace with your update script ( just 2 lines )
of course when you build your rom then do this
Thanks for the reply.
I already did this too. but it only shows boot animation , i have waited 10-12 minutes but nothing changed... same story all the time
aatifaneeq said:
Thanks for the reply.
I already did this too. but it only shows boot animation , i have waited 10-12 minutes but nothing changed... same story all the time
Click to expand...
Click to collapse
Give me the META-INF from your custom rom ( which you made it ) and META-INF from other custom roms which correct work on your phone
hamidreza2010 said:
Give me the META-INF from your custom rom ( which you made it ) and META-INF from other custom roms which correct work on your phone
Click to expand...
Click to collapse
Bro, thanks for the reply..
Here are both META-INF folders, both are not working when i replace (delete and paste all new files) system folder.
P.S. Installation only works when i modify app files from Doomsday ROM Jlo v5 ROM, But i also want to change all other system folders, not only app folder.
aatifaneeq said:
Bro, thanks for the reply..
Here are both META-INF folders, both are not working when i replace (delete and paste all new files) system folder.
P.S. Installation only works when i modify app files from Doomsday ROM Jlo v5 ROM, But i also want to change all other system folders, not only app folder.
Click to expand...
Click to collapse
ok just 2 thing:
1- Your roms has custom kernel ?
2- Give me META-INF folders from another normal custom rom not aroma
hamidreza2010 said:
ok just 2 thing:
1- Your roms has custom kernel ?
2- Give me META-INF folders from another normal custom rom not aroma
Click to expand...
Click to collapse
i do not have any other meta inf :|
Well, i found a rom, and using it as base, where i have replaced app, framework folder and installation worked and Phone is working fine.. But when i replace complete system directory, it stopped on boot screen..
about kernal, i am using stock kernal.sin
here is the meta inf that worked only with app/framework folder
thanks dude
Great TUT :highfive: :good: :victory:
Now I get my ROM installed ok
But BIGGEST PROBLEM I FACE! On Rebooting it stucks on splash screen and then it reboots! :'(
Check my updater script!
Help me someone please :'( Been working a lot but this sh*t doesn't resolves!
I use Xperia SP and this is my whole META-INF Folder
Thanks in advance. Anyone who can help me
Meta INF download below :
Tech N You said:
thanks dude
Great TUT :highfive: :good: :victory:
Now I get my ROM installed ok
But BIGGEST PROBLEM I FACE! On Rebooting it stucks on splash screen and then it reboots! :'(
Check my updater script!
Help me someone please :'( Been working a lot but this sh*t doesn't resolves!
I use Xperia SP and this is my whole META-INF Folder
Thanks in advance. Anyone who can help me
Meta INF download below :
Click to expand...
Click to collapse
Probably one of these
1)Framework issue (Both .jar & -res.apk)
2)Modified Wrongly Build.prop
3)Permissions are set wrongly
4)/lib problems
Just check and let me know

Delete

Delete
remove these mate
http://prntscr.com/ghikhf
every permissions line, you have an extra " right before the first 0
they should look like:
Code:
set_perm(0, 0, 0777, "/system.su.d/50V4a");
You have:
Code:
set_perm("0, 0, 0777, "/system.su.d/50V4a");
kevp75 said:
remove these mate
http://prntscr.com/ghikhf
every permissions line, you have an extra " right before the first 0
they should look like:
You have:
Click to expand...
Click to collapse
Ah, thanks a ton man
Craz Basics said:
Ah, thanks a ton man
Click to expand...
Click to collapse
No prob mate.
LOL I went back to stock a couple weeks ago, and still have not rooted again... if that tells ya how busy I've been lately
kevp75 said:
No prob mate.
LOL I went back to stock a couple weeks ago, and still have not rooted again... if that tells ya how busy I've been lately
Click to expand...
Click to collapse
It does haha. I've been thinking about flashing stock lately but V4A and Xposed are too important
Edit: Didn't work removing those quotations :/
Craz Basics said:
It does haha. I've been thinking about flashing stock lately but V4A and Xposed are too important
Edit: Didn't work removing those quotations :/
Click to expand...
Click to collapse
hmm. ..
same errors?
ill take another peek tomorrow
kevp75 said:
hmm. ..
same errors?
ill take another peek tomorrow
Click to expand...
Click to collapse
Cool, thanks man. When I press the flash button at the end of the installer, it doesn't show anything in the box, but says successfull and askes if I wanna reboot... I tore apart your installer btw.
Try this mate:
Code:
ui_print(" ");
ui_print(" ---------------------------------------");
ui_print(" ---------------------------------------");
ui_print(" Flashing Viper4Android");
ui_print(" by Craz Basics");
ui_print(" ---------------------------------------");
ui_print(" ---------------------------------------");
sleep(1);
ui_print("@ Mounting Partitions ...");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/userdata", "/data");
sleep(1);
# VIPER
if
file_getprop("/tmp/aroma/dha.prop","selected.1") == "1"
then
ui_print("- Flashing V4A 2.3.4.0 ...");
package_extract_dir("2.3.4.0", "/system/priv-app");
set_perm(0, 0, 0777, "/system/priv-app/com.vipercn.viper4android_v2_fx-1/base.apk");
set_perm(0, 0, 0644, "/system/priv-app/com.vipercn.viper4android_v2_fx-1");
endif;
# VIPER1
if
file_getprop("/tmp/aroma/dha.prop","selected.1") == "2"
then
ui_print("- Flashing V4A 2.5.0.5 ...");
package_extract_dir("2.5.0.5", "/system/priv-app");
set_perm(0, 0, 0777, "/system/priv-app/com.vipercn.viper4android_v2_fx-1/base.apk");
set_perm(0, 0, 0644, "/system/priv-app/com.vipercn.viper4android_v2_fx-1");
endif;
# SELinux
if
file_getprop("/tmp/aroma/dvm.prop","selected.1") == "1"
then
ui_print("- Flashing TheSELinuxToggler ...");
package_extract_dir("data", "/data");
set_perm(0, 0, 0777, "/data/app/com.mrbimc.selinux-1/base.apk");
set_perm(0, 0, 0644, "/data/app/com.mrbimc.selinux-1");
endif;
# SELinux1
if
file_getprop("/tmp/aroma/dvm.prop","selected.1") == "2"
then
ui_print("- Permissive on boot via su.d ...");
package_extract_dir("system/su.d", "/system");
set_perm(0, 0, 0777, "/system/su.d");
set_perm(0, 0, 0777, "/system.su.d/50V4a");
endif;
# All set
run_program("/sbin/sync");
delete_recursive("/tmp");
unmount("/system");
unmount("/data");
ui_print(" ");
ui_print(" ---------------------------------------");
ui_print(" ---------------------------------------");
ui_print(" Installed!");
ui_print(" Reboot and Enjoy");
ui_print(" ---------------------------------------");
ui_print(" ---------------------------------------");
sleep(1);
Make sure that "data", "2.3.4.0", "2.5.0.5", and "system" directories are right in the root of your zip.
kevp75 said:
Try this mate:
Make sure that "data", "2.3.4.0", "2.5.0.5", and "system" directories are right in the root of your zip.
Click to expand...
Click to collapse
Will do, at soccer rn tho
i just noticed i got the permissions swapped.
should 0755 for the folder and 0644 for the .apk
kevp75 said:
i just noticed i got the permissions swapped.
should 0755 for the folder and 0644 for the .apk
Click to expand...
Click to collapse
It worked man, thanks a ton. Gonna finish editing it a bit and upload
How do I change the splash image? I've tried twice, I keep the same name as yours. I thought it was the file type so I made sure to use PNG and still just a black screen.

Categories

Resources