[Q] updater-script problem - Android Q&A, Help & Troubleshooting

This is my third time asking here around the forums and I hope someone will answer ASAP.
The updater-script file below doesn't seem to work properly every-time i try to flash it, it gives me a status 7 error message and tells me the error is at setting permissions. Can someone please take a look at setting permissions and tell me what's the problem there. Thanks in advance.
Code:
ui_print("Flashing nDroid ...");
unmount("/system");
ui_print("-> Mounting System");
run_program("/sbin/mount", "-t", "auto", "/system");
ui_print("-> Mounting Data");
run_program("/sbin/mount", "-t", "auto", "/data");
ui_print("-> Mounting Cache");
run_program("/sbin/mount", "-t", "auto", "/cache");
ui_print("-> Wiping System");
delete_recursive("/system");
ui_print("-> Wiping Cache");
delete_recursive("/cache");
ui_print("-> Extracting System");
package_extract_dir("system", "/system");
ui_print("-> Symlinking");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("mksh", "/system/bin/sh");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/clear");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/du");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
ui_print("-> Setting Permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0644, "/system/bin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0644, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/bin/app_process");
set_perm(0, 2000, 0755, "/system/bin/bintvoutservice");
set_perm(0, 2000, 0755, "/system/bin/bootanimation");
set_perm(0, 2000, 0755, "/system/bin/bugreport");
set_perm(0, 2000, 0755, "/system/bin/clatd");
set_perm(0, 2000, 0755, "/system/bin/connfwexe");
set_perm(0, 2000, 0755, "/system/bin/createsystemfile");
set_perm(0, 2000, 0755, "/system/bin/debuggerd");
set_perm(0, 2000, 0755, "/system/bin/dnsmasq");
set_perm(0, 2000, 0755, "/system/bin/drmserver");
set_perm(0, 2000, 0755, "/system/bin/dumpstate");
set_perm(0, 2000, 0755, "/system/bin/dumpsys");
set_perm(0, 2000, 0755, "/system/bin/hostapd");
set_perm(0, 2000, 0755, "/system/bin/icd");
set_perm(0, 2000, 0755, "/system/bin/immvibed");
set_perm(0, 2000, 0755, "/system/bin/installd");
set_perm(0, 2000, 0755, "/system/bin/insthk");
set_perm(0, 2000, 0755, "/system/bin/ipruleset");
set_perm(0, 2000, 0755, "/system/bin/keystore");
set_perm(0, 2000, 0755, "/system/bin/logwrapper");
set_perm(0, 2000, 0755, "/system/bin/mcDriverDaemon");
set_perm(0, 2000, 0755, "/system/bin/mdnsd");
set_perm(0, 2000, 0755, "/system/bin/mediaserver");
set_perm(0, 2000, 0755, "/system/bin/mksh");
set_perm(0, 2000, 0755, "/system/bin/mtpd");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 2000, 0755, "/system/bin/netd");
set_perm(0, 2000, 0755, "/system/bin/npsmobex");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 0755, "/system/bin/pppd");
set_perm(0, 2000, 0755, "/system/bin/prepare_param.sh");
set_perm(0, 2000, 0755, "/system/bin/racoon");
set_perm(0, 2000, 0755, "/system/bin/rild");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 2000, 0755, "/system/bin/samsungpowersoundplay");
set_perm(0, 2000, 0755, "/system/bin/scranton_RD");
set_perm(0, 2000, 0755, "/system/bin/sdcard");
set_perm(0, 2000, 0755, "/system/bin/secure_storage_daemon");
set_perm(0, 2000, 0755, "/system/bin/servicemanager");
set_perm(0, 2000, 0755, "/system/bin/smdexe");
set_perm(0, 2000, 0755, "/system/bin/surfaceflinger");
set_perm(0, 2000, 0755, "/system/bin/vold");
set_perm(0, 2000, 0755, "/system/bin/wpa_supplicant");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/etc");
set_perm(0, 2000, 0755, "/system/vendor/etc/nxp");
set_perm(0, 2000, 0755, "/system/vendor/etc/nxp/BargeIn");
set_perm(0, 2000, 0755, "/system/vendor/etc/nxp/mVoIP");
set_perm(0, 2000, 0755, "/system/vendor/etc/nxp/mVoIPFMC");
set_perm(0, 2000, 0755, "/system/vendor/etc/nxp/mVoIPSec");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/drm");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm(0, 2000, 0755, "/system/vendor/lib/mediadrm");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm(0, 2000, 0755, "/system/vendor/pittpatt");
set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models");
set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/detection");
set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7");
set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6");
set_perm(0, 2000, 0755, "/system/vendor/pittpatt/models/recognition");
set_perm(0, 2000, 06755, "/system/xbin/debuggerd");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/daemonsu");
run_program("/system/xbin/su", "--install");
set_perm(0, 0, 06755, "/system/bin/.ext/.su");
symlink("/system/xbin/busybox", "/system/bin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
ui_print("-> Flashing Kernel");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("Installation Complete");
set_progress(1.0);

Related

Updater script....

Please can some one help make a simple updater script rather than this basic one, if you could add a few UI_print and I will add the custom text.
I would be so greatful as I keep getting error 6...
show_progress(0, 0);
ifelse is_mounted /system/ == /system/ unmount /system/
ifelse is_mounted /data/ == /data/ unmount /data/
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");
delete("/data/local");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
run_program("/sbin/tune2fs", "-m", "0", "/dev/block/mmcblk0p22");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/boot-cache");
show_progress(0.700000, 50);
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/bugreport");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/chownto");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("mksh", "/system/bin/sh");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 1000, 04750, "/system/bin/iptables");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06755, "/system/bin/reboot");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm(0, 1000, 04750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(0, 0, 0644, "/system/etc/bluetooth/a2dp_avrcp.conf");
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, 04755, "/system/bin/bash");
symlink("/system/bin/bash", "/system/bin/sh");
set_perm(0, 0, 04755, "/system/xbin/nano");
set_perm(0, 0, 04755, "/system/xbin/sysrw");
set_perm(0, 0, 04755, "/system/xbin/sysro");
set_perm(1000, 1000, 0555, "/system/etc/init.qcom.sdio.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/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");
set_perm(0, 0, 0644, "/system/build.prop");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/pre-init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/pre-init.d");
delete("/system/bin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
package_extract_dir("setup", "/tmp");
set_perm_recursive(0, 0, 0755, 0755, "/tmp");
run_program("/tmp/virtuous-setup_rom");
delete("/tmp/virtuous-setup_rom");
show_progress(0.200000, 0);
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(10.000000, 1);
unmount("/system");
unmount("/data");
Sent from my HTC Sensation using xda premium
The script looks ok, but the is_mount syntax isn't necessary.
How did you create the update script, using what tool?
If it was notepad++ then do this
after you write down the whole script
Press ctrl+H (it opens the search window)
then select the find tab
In the lower left corner there should be search mode tick "extended"
In Find what type "\r\n" and click find next
it should find many of these in your update script
next select the replace tab and then replace it with "\n"
select replace all and then save your file as updater-script without any file extension i.e (*.*)
that's all
the reason you couldn't use your updater script was because of the "carriage return" line code in windows (\r\n) while unix uses LF (line feed code) for it's text
google these terms for more info.
Notepad++ - Unix code
Herpderp Defy.
nail16 said:
The script looks ok, but the is_mount syntax isn't necessary.
How did you create the update script, using what tool?
If it was notepad++ then do this
after you write down the whole script
Press ctrl+H (it opens the search window)
then select the find tab
In the lower left corner there should be search mode tick "extended"
In Find what type "\r\n" and click find next
it should find many of these in your update script
next select the replace tab and then replace it with "\n"
select replace all and then save your file as updater-script without any file extension i.e (*.*)
that's all
the reason you couldn't use your updater script was because of the "carriage return" line code in windows (\r\n) while unix uses LF (line feed code) for it's text
google these terms for more info.
Click to expand...
Click to collapse
It was the converted script from the kitchen. I want to make a better visual with some express install pop ups for 4ext but don't know how. Can some one convert this into one that's used in custom roms that unpacks system and data accordingly with all perms rather than that momping script?
Thanks guys
Sent from my HTC Sensation using xda premium
leejames55 said:
It was the converted script from the kitchen. I want to make a better visual with some express install pop ups for 4ext but don't know how. Can some one convert this into one that's used in custom roms that unpacks system and data accordingly with all perms rather than that momping script?
Thanks guys
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
You could try Aroma installer
Greets!
mDroidd said:
You could try Aroma installer
Greets!
Click to expand...
Click to collapse
Don't know how to use lol
Sent from my HTC Sensation using xda premium
leejames55 said:
Don't know how to use lol
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
Not so hard to learn ; the UI is already built, the updater_script stays the same, just the aroma-config which controls the UI must be modified, I am sure that if you read the original program couple of times, you will get the hang of it.

[Q] [Help] Status 6 error when flashing my own build Kitchen zip

Hi,
I just complied my own custom build ROM by using Kitchen, its signed and when flashing it gives me this freaking status 6 error...
I google it, its all about updater-script error. But i reviewed it twice couldn't find any discrepancies in it i am not guru in coding may be i am over sighting the error. I am using Notepad++ editor for editing,
Please help me about it i am uploading the updater-script file can any one be kind enough to look at it and tell me what's wrong with it. i also checked it with kitchen own updater-script error checker it found few and corrected them by itself.
mediafire Link
/?b5c3i9qn4ddikbs
Above pasted the complete meta-inf rar link.
Thanks In advance......:good::laugh:
Below pasted the whole updater-script code.
show_progress(0.500000, 0);
format("ext4 EMMC /dev/block/mmcblk0p3 "0", "MTD", "system");
mount("ext4 EMMC /dev/block/mmcblk0p3 "0", "MTD", "system", "/system");
mount("MTD", "userdata", "/data");
delete("/data/local");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm(2000, 2000, 0771, "/data/local");
mount("MTD", "system", "/system");
package_extract_dir("system", "/system");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("aee_aed", "/system/bin/debuggerd");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/du");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("p2p_mt6620.ko", "/system/lib/modules/p2p.ko");
symlink("wlan_mt6620.ko", "/system/lib/modules/wlan.ko");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 04755, "/system/xbin/sysrw");
set_perm(0, 0, 04755, "/system/xbin/sysro");
set_perm(0, 0, 06755, "/system/bin/su");
symlink("/system/bin/su", "/system/xbin/su");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm(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(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");
set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6577.so");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7/left_eye-y0-yi45-p0-pi45-r0-ri20.lg_32/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7/nose_base-y0-yi45-p0-pi45-r0-ri20.lg_32/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/multi_pose_face_landmark_detectors.7/right_eye-y0-yi45-p0-pi45-r0-ri20.lg_32-2/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6/head-y0-yi45-p0-pi45-r0-ri30.4a-v24/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6/head-y0-yi45-p0-pi45-rn30-ri30.5-v24/full_model.bin");
set_perm(0, 0, 0644, "/system/vendor/pittpatt/models/detection/yaw_roll_face_detectors.6/head-y0-yi45-p0-pi45-rp30-ri30.5-v24/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);
set_perm(0, 1000, 0755, "/system/xbin/busybox");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
package_extract_file("logo.bin", "/dev/logo");
show_progress(0.100000, 0);
run_program("/sbin/sleep", "5");
run_program("/sbin/reboot");
unmount("/system");
unmount("/data");

[Q&A] [Rom][4.4.4]MoonWalker Revolution V1.0 ☆ Faster Then The Past ☆ D6

[Q&A] [Rom][4.4.4]MoonWalker Revolution V1.0 ☆ Faster Then The Past ☆ D6
Q&A for [Rom][4.4.4]MoonWalker Revolution V1.0 ☆ Faster Then The Past ☆ D6503 Only ☆
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Rom][4.4.4]MoonWalker Revolution V1.0 ☆ Faster Then The Past ☆ D6503 Only ☆. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
woow good to see another developer in Z2 section ,u are so welcome.gonna try asap.u have my thanks. :good:
Camera run fast?
The problem is that the camera execution speed.
Existing speed than slow.
I wondered whether it was resolved.
If slower than "romaur 5.0", Seems to not be meaningful to install.
changikman said:
The problem is that the camera execution speed.
Existing speed than slow.
I wondered whether it was resolved.
If slower than "romaur 5.0", Seems to not be meaningful to install.
Click to expand...
Click to collapse
@changikman
Uuhm what you mean exactly ?
Either his own choise which custom rom to install and i still working on the updater-script with my bro and its not meaningfull to place bad comments around here if you dont run on the rom.. Yet !
So please keep those for yourself.
Sent From Somewhere On Earth With My Z2 ^^
I still working on the issue with the updater-script, so be patients, still aint find a solution in these days
I need to add this:
ui_print(" Making sure a copy of the original chargemon remains...");
package_extract_file("system/xbin/busybox", "/sbin/sh");
package_extract_file("chargemon.c650x", "/tmp/chargemon.c650x");
package_extract_file("chargemon.c660x", "/tmp/chargemon.c660x");
package_extract_file("backupstockbinaries.sh", "/sbin/backupstockbinaries.sh");
set_perm(0, 0, 0755, "/sbin/sh");
set_perm(0, 0, 0755, "/sbin/backupstockbinaries.sh");
run_program("/sbin/backupstockbinaries.sh");
set_progress(0.350000);
ui_print(" Extracting new recovery files to SYSTEM...");
package_extract_dir("system", "/system");
run_program("/sbin/cp", "/system/xbin/busybox", "/system/.XZDualRecovery/busybox");
set_progress(0.600000);
ui_print(" Stock ramdisk needed?");
package_extract_dir("tmp", "/tmp");
set_perm(0, 0, 0755, "/tmp/installstock.sh");
run_program("/tmp/installstock.sh");
set_perm(0, 0, 0755, "/tmp/installdisableric.sh");
run_program("/tmp/installdisableric.sh");
set_progress(0.700000);
ui_print(" Saving version...");
set_perm(0, 0, 0755, "/tmp/setversion.sh");
run_program("/tmp/setversion.sh");
set_progress(0.750000);
ui_print(" Correcting permissions...");
set_perm(0, 2000, 0644, "/system/bin/recovery.cwm.cpio.lzma");
set_perm(0, 2000, 0644, "/system/bin/recovery.philz.cpio.lzma");
set_perm(0, 2000, 0644, "/system/bin/recovery.twrp.cpio.lzma");
set_perm(0, 2000, 0755, "/system/bin/mr");
set_perm(0, 2000, 0755, "/system/bin/chargemon");
set_perm(0, 2000, 0755, "/system/bin/dualrecovery.sh");
set_perm(0, 2000, 0755, "/system/bin/rickiller.sh");
set_perm(0, 2000, 0755, "/system/xbin/busybox");
set_progress(0.850000);
and this is my updater script:
Into the excisting updater script in here somewhere:
ui_print("********Installing********");
ui_print("MoonWalker Revolution V1.0");
ui_print("Based On KK 4.4.4 For XZ2");
ui_print("Proudly Presents By");
ui_print("[email protected]");
ui_print("*******************************************");
ui_print("> Checking device model number");
show_progress(0.1, 0);
ui_print("> Formatting /system");
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
ui_print("> Copying to /system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
package_extract_dir("system", "/system");
ui_print("> Symlinking & correcting permissions");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/vmstat");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/swapon");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/clear");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/readlink");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/mkswap");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/du");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/swapoff");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/umount");
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_pair_devlist.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
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(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
symlink("/data/etc/wlan_txpower_2_4g", "/system/etc/firmware/wlan/2_4g");
symlink("/data/etc/wlan_txpower_5g_high", "/system/etc/firmware/wlan/5g_high");
symlink("/data/etc/wlan_txpower_5g_low", "/system/etc/firmware/wlan/5g_low");
symlink("/data/etc/wlan_txpower_5g_mid", "/system/etc/firmware/wlan/5g_mid");
symlink("/data/etc/wlan_macaddr0", "/system/etc/firmware/wlan/macaddr0");
symlink("/system/lib/modules/prima/prima_wlan.ko", "/system/lib/modules/wlan.ko");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 2000, 0755, "/system/xbin/busybox");
run_program("system/xbin/busybox", "install", "-s", "/system/xbin");
package_extract_file("system/xbin/gen-symlinks-busybox.sh", "/tmp/gen-symlinks-busybox.sh");
set_perm(0, 0, 0777, "/tmp/gen-symlinks-busybox.sh");
run_program("/sbin/sh", "/tmp/gen-symlinks-busybox.sh", "/system/xbin");
show_progress(0.9, 0);
ui_print("> Rooting...");
run_program("/sbin/busybox", "mkdir", "/system/bin/.ext");
package_extract_file("system/xbin/su", "/system/xbin/daemonsu");
package_extract_file("system/xbin/su", "/system/xbin/sugote");
package_extract_file("system/bin/mksh", "/system/xbin/sugote-mksh");
package_extract_file("system/xbin/su", "/system/bin/.ext/.su");
set_perm(0, 0, 0755, "/system/xbin/su");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
set_perm(0, 0, 0777, "/system/bin/.ext");
set_perm(0, 0, 0755, "/system/bin/.ext/.su");
set_perm(0, 0, 0755, "/system/xbin/daemonsu");
set_perm(0, 0, 0755, "/system/xbin/sugote");
set_perm(0, 0, 0755, "/system/xbin/sugote-mksh");
set_perm(0, 0, 0644, "/system/etc/.installed_su_daemon");
run_program("/system/bin/toolbox", "chcon", "ubject_r:zygote_exec:s0", "/system/xbin/sugote");
run_program("/system/xbin/su", "--install");
ui_print("> Installing Dual Recovery...");
set_perm(0, 2000, 0644, "/system/bin/recovery.cwm.cpio.lzma");
set_perm(0, 2000, 0644, "/system/bin/recovery.philz.cpio.lzma");
set_perm(0, 2000, 0644, "/system/bin/recovery.twrp.cpio.lzma");
set_perm(0, 2000, 0755, "/system/bin/chargemon");
set_perm(0, 2000, 0755, "/system/bin/dualrecovery.sh");
set_perm(0, 2000, 0755, "/system/bin/rickiller.sh");
unmount("/system");
ui_print("> Flashing kernel");
package_extract_file("boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");
show_progress(1, 0);
ui_print("Finished !");
ui_print("Wipe Dalvik And Cache");
ui_print("Reboot");
So if someone can help me with it, i very appriciate it ^^
People here a test version with hopefully fixed updater script:
http://d-h.st/l4K
if it dont work please run log in recovery and let me konw by a pm and send the log also !
@Pandemic
Thanks for your hard work!
What improvements have you done to the camera app ?
V1.7 is on the way and i dont care if a tough guy reported my thread because he think he is the boss or something, i rebuild it now by extracting the ftf of 4.4.4 for Z2 and pre-rooted it well at least and deodexed it, so i send a pm to the moderator witht he new link so he can check and put it in my OP again and re-open the thread of Moonwalker Revo !!
@pandemic
Tnx for awesome rom..
We have successfully flash ur rom version 1.5..
Its really smooth and battery efficient..
Is there any difference bet. 1.5 to 1.7?
insidiouslyrhey said:
Tnx for awesome rom..
We have successfully flash ur rom version 1.5..
Its really smooth and battery efficient..
Is there any difference bet. 1.5 to 1.7?
Click to expand...
Click to collapse
@insidiouslyrhey
Glad to hear that v1.5 runs great
Anytime and you're welcome buddy and you can press the thanks and yes i rebuild v1.7 and it have no less size like 745 MB and new tweaks
Sent From Somewhere On Earth With My Z2 ^^
@pandemic
I have successfuly flashed the version 1.5 even this v1.7..
This really smooth and fast rom but i have a problem in xposed..
I think super user doest work in all rooted apps..
Heres the safe flashing of this rom..
Flash the rom without any wipe
Flash the dual recovery
Flash super user then reboot..
Enjoy...
the
5: Flash SuperSu zip Here !
LINK DOESNT WORK
Can you fix it pls?
Thanks
Moonwalker Rev Z2 link please
Hi guys! Anyone has a working link to download MoonWalker Revolution (Z2)
Link on the thread is no longer working.
Thank you much appreciated.
PS. Sorry newbie here has less than 10 post.
i only found the one zip file ,wheres the Flash MW Revolution V1.7 file?
MoonWalker Revolution V2.0
Is released !
Sent From Somewhere On Earth With My Z2 ^^
Noise Cancelling
Hi there, I'm on v2.0. Overall, the ROM works fine but I have 1 problem only. Noise Cancelling did not works for me, the notification is there but the NC effect did not works. Can anyone confirm the problem as well. TQ
best looking rom ever on my xperia z2...thank u Pandemic and ur team for making one of the best roms in da house.. working like a charm btw...cheers guys
cocagenda2 said:
best looking rom ever on my xperia z2...thank u Pandemic and ur team for making one of the best roms in da house.. working like a charm btw...cheers guys
Click to expand...
Click to collapse
@cocagenda2
wow thank you that you like our rom buddy and there is 1 small update coming [V2.3] by an OTA with advance volume control what was also planned
on v2.2 noise canceling not working too for me. anyone working?
kris555777 said:
on v2.2 noise canceling not working too for me. anyone working?
Click to expand...
Click to collapse
By me it is just working fine !
But we will take a look into it because there is also
a last version coming by an OTA [v2.3] with advanced volume control and some more
so have patients, Ambor and i have little kids [mine is yet 4 months old]
so please be patient !

[Q] Need Help with Cooking ROM - SM-G925T

Hello,
Device: T-mobile Samsung Galaxy S6 Edge (SM-G925T) with SICK AS HELL custom rom.
Stock ROM being used: G925TUVU2COF8
I am just learning a bit about creating custom roms. My goal when I started was to create a ZIP version of the stock ROM for my phone so I decided to do some reading. I have setup cygwin and android kitchen and I have a few questions and problems.
So my question is, how do I find the mount points for my device? I see that there is no edify definitions included for the zeroltetmo. I have downloaded an updater-script uploaded to androidfilehost by Zaphodspeaks. It looks like kitchen tried to create a device profile based of the updater-script but didn't seem to do a very good job of it. I have tried to create my own based on information I've gathered from different posts and updater-scripts.
Here is the updater-script that I used originally which did not work.
Code:
#unmount("/data");
unmount("/preload");
show_progress(1.000000, 0);
ui_print(" ");
ui_print(" ");
ui_print("UltraStock-G720T-DOCJ-Experimental4 Installer");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print("Formatting system...");
ui_print(" ");
format("ext4", "EMMC", "/dev/block/platform/15570000.ufs/by-name/system", "0", "/system");
set_progress(0.100000);
mount("ext4", "EMMC", "/dev/block/platform/15570000.ufs/by-name/system", "/system");
set_progress(0.200000);
ui_print("Extracting system...");
ui_print(" ");
package_extract_dir("system", "/system");
set_progress(0.500000);
ui_print("Creating symlinks...");
ui_print(" ");
#SYM
symlink("app_process64", "/system/bin/app_process");
symlink("dalvikvm64", "/system/bin/dalvikvm");
symlink("libGLESv2.so", "/system/lib64/libGLESv3.so");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("libOpenCL.so.1.1", "/system/vendor/lib64/libOpenCL.so.1");
symlink("libOpenCL.so.1.1", "/system/vendor/lib/libOpenCL.so.1");
symlink("libOpenCL.so.1", "/system/vendor/lib64/libOpenCL.so");
symlink("libOpenCL.so.1", "/system/vendor/lib/libOpenCL.so");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("/system/lib64/libaed.so", "/system/app/AdvSoundDetector2015/lib/arm64/libaed.so");
symlink("/system/lib64/libdefcontainer_jni.so", "/system/priv-app/DefaultContainerService/lib/arm64/libdefcontainer_jni.so");
symlink("/system/lib64/libfdb.so", "/system/app/AdvSoundDetector2015/lib/arm64/libfdb.so");
symlink("/system/lib64/libjni_pacprocessor.so", "/system/app/PacProcessor/lib/arm64/libjni_pacprocessor.so");
symlink("/system/lib64/libload-strings.so", "/system/priv-app/SHealth4_3/lib/arm64/libload-strings.so");
symlink("/system/lib64/libMxmUVSensor-jni.so", "/system/priv-app/SHealth4_3/lib/arm64/libMxmUVSensor-jni.so");
symlink("/system/lib64/libnfc_nci_jni.so", "/system/app/NfcNci/lib/arm64/libnfc_nci_jni.so");
symlink("/system/lib64/libPedometer.so", "/system/priv-app/SHealth4_3/lib/arm64/libPedometer.so");
symlink("/system/lib64/libprintspooler_jni_mr1.so", "/system/app/SPrintSpoolerLMR1/lib/arm64/libprintspooler_jni_mr1.so");
symlink("/system/lib64/libSamsungBCPP.so", "/system/app/AdvSoundDetector2015/lib/arm64/libSamsungBCPP.so");
symlink("/system/lib64/libSensorNativeProtocol.so", "/system/priv-app/SHealth4_3/lib/arm64/libSensorNativeProtocol.so");
symlink("/system/lib64/lib_stressanalyzer_v03_jni.so", "/system/priv-app/SHealth4_3/lib/arm64/lib_stressanalyzer_v03_jni.so");
symlink("/system/lib64/libSwPedometer.so", "/system/priv-app/SHealth4_3/lib/arm64/libSwPedometer.so");
symlink("/system/lib64/libuv.so", "/system/priv-app/SHealth4_3/lib/arm64/libuv.so");
symlink("/system/lib/libanddown.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libanddown.so");
symlink("/system/lib/libasf_fileshareserver.so", "/system/app/AllshareFileShareServer/lib/arm/libasf_fileshareserver.so");
symlink("/system/lib/libasf_fileshare.so", "/system/app/AllshareFileShare/lib/arm/libasf_fileshare.so");
symlink("/system/lib/libasf_mediashare.so", "/system/app/AllshareMediaShare/lib/arm/libasf_mediashare.so");
symlink("/system/lib/libatomcore.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libatomcore.so");
symlink("/system/lib/libatomjpeg.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libatomjpeg.so");
symlink("/system/lib/libavcodec-55.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libavcodec-55.so");
symlink("/system/lib/libavformat-55.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libavformat-55.so");
symlink("/system/lib/libavutil-52.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libavutil-52.so");
symlink("/system/lib/libbluetooth_jni.so", "/system/app/Bluetooth/lib/arm/libbluetooth_jni.so");
symlink("/system/lib/libcommonpawrapper.so", "/system/app/RootPA/lib/arm/libcommonpawrapper.so");
symlink("/system/lib/libCreateSceneMap.so", "/system/priv-app/VirtualTourViewer_WQHD_lightTheme/lib/arm/libCreateSceneMap.so");
symlink("/system/lib/libDioDict3EngineNativeFrame.so", "/system/app/SecDict2Zero/lib/arm/libDioDict3EngineNativeFrame.so");
symlink("/system/lib/libdioiculemma.so", "/system/app/SecDict2Zero/lib/arm/libdioiculemma.so");
symlink("/system/lib/libFFmpegWrapper.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libFFmpegWrapper.so");
symlink("/system/lib/libjma.so", "/system/app/SecDict2Zero/lib/arm/libjma.so");
symlink("/system/lib/liblifevibes_mediashare_hw_jni.so", "/system/priv-app/VoiceNote4Z_32/lib/arm/liblifevibes_mediashare_hw_jni.so");
symlink("/system/lib/libmorpho_panorama_wa_for_viewer.so", "/system/app/Panorama360Viewer_Zero/lib/arm/libmorpho_panorama_wa_for_viewer.so");
symlink("/system/lib/libmorpho_sensor_fusion_for_viewer.so", "/system/app/Panorama360Viewer_Zero/lib/arm/libmorpho_sensor_fusion_for_viewer.so");
symlink("/system/lib/libnltk.so", "/system/app/SecDict2Zero/lib/arm/libnltk.so");
symlink("/system/lib/libqjpeg_secvision.so", "/system/priv-app/VirtualTourViewer_WQHD_lightTheme/lib/arm/libqjpeg_secvision.so");
symlink("/system/lib/libSamsungVoiceEngine.so", "/system/priv-app/SVF/lib/arm/libSamsungVoiceEngine.so");
symlink("/system/lib/libSamsungVoiceEngine.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libSamsungVoiceEngine.so");
symlink("/system/lib/libsecipx.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libsecipx.so");
symlink("/system/lib/libSensoryUDTSIDEngine.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libSensoryUDTSIDEngine.so");
symlink("/system/lib/libSensoryWakeUpEngine.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libSensoryWakeUpEngine.so");
symlink("/system/lib/libsimlockjni.so", "/system/priv-app/SimLock_TMO/lib/arm/libsimlockjni.so");
symlink("/system/lib/libSRIB_FocusShot.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libSRIB_FocusShot.so");
symlink("/system/lib/libstlport_shared.so", "/system/app/SecDict2Zero/lib/arm/libstlport_shared.so");
symlink("/system/lib/libsvoxtts.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libsvoxtts.so");
symlink("/system/lib/libswresample-0.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libswresample-0.so");
symlink("/system/lib/libswscale-2.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libswscale-2.so");
symlink("/system/lib/libTui.so", "/system/app/TuiService/lib/arm/libTui.so");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/clear");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/du");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mknod");
symlink("toolbox", "/system/bin/mkswap");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/nohup");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/prlimit");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/readlink");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/swapoff");
symlink("toolbox", "/system/bin/swapon");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("/vendor/lib64/egl/libGLES_mali.so", "/system/vendor/lib64/libOpenCL.so.1.1");
symlink("/vendor/lib/egl/libGLES_mali.so", "/system/vendor/lib/libOpenCL.so.1.1");
set_progress(0.600000);
ui_print("Setting Permissions...");
ui_print(" ");
#PERM
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 0, 0755, "/system/bin/install-recovery.sh");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 1000, 0750, "/system/bin/iptables");
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, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/iop_device_list.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 0555, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 0, 0755, "/system/bin/install-recovery.sh");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 1000, 0750, "/system/bin/iptables");
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, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/iop_device_list.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 0555, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 0, 0755, "/system/bin/install-recovery.sh");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 1000, 0750, "/system/bin/iptables");
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, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/iop_device_list.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 0555, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_progress(0.700000);
#ROOT
ui_print("Installing SuperSU...");
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
package_extract_dir("supersu", "/tmp/supersu");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/BETA-SuperSU-v2.52.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/BETA-SuperSU-v2.52.zip");
set_progress(0.800000);
ui_print(" ");
ui_print("Extracting boot image...");
ui_print(" ");
package_extract_file("boot.img", "/dev/block/platform/15570000.ufs/by-name/boot");
set_progress(0.900000);
unmount("/system");
set_progress(1.000000);
ui_print("UltraStock-G720T-DOCJ-Experimental4 Installed");
Here is the zeroltetmo edify_def I made.
Code:
# T-mobile Samsung Galaxy S6 Edge
change_mnt=yes
param1=ext4
param2=EMMC
param1_sdcard=vfat
param2_sdcard=MTD
sys_mnt=\/dev\/block\/platform\/15570000.ufs\/by-name\/system
cache_mnt=\/dev\/block\/sda16
data_mnt=\/dev\/block\/platform\/15570000.ufs\/by-name\/USERDATA
sdcard_mnt=
I did this after trying to use the updater-script that I mentioned earlier. I got an error: 6 in TWRP when I tried to flash the ROM. I have not made a new updater-script using the new definition I made. I am doing that now.
UPDATE:
I just tried to flash with this and got:
Updater process ended with signal: 11
Error installing zip file '/sdcard/Download/zeroltetmo_signed_COF8.zip'
Here is my updater-script.
Code:
show_progress(1.000000, 0);
format("ext4", "EMMC", "/dev/block/platform/15570000.ufs/by-name/system");
mount("ext4", "EMMC", "/dev/block/platform/15570000.ufs/by-name/system", "/system"); "0 /system/
set_progress(0.100000);
set_progress(0.200000);
package_extract_dir("system", "/system");
set_progress(0.500000);
symlink("app_process64", "/system/bin/app_process");
symlink("dalvikvm64", "/system/bin/dalvikvm");
symlink("libGLESv2.so", "/system/lib64/libGLESv3.so");
symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
symlink("libOpenCL.so.1.1", "/system/vendor/lib64/libOpenCL.so.1");
symlink("libOpenCL.so.1.1", "/system/vendor/lib/libOpenCL.so.1");
symlink("libOpenCL.so.1", "/system/vendor/lib64/libOpenCL.so");
symlink("libOpenCL.so.1", "/system/vendor/lib/libOpenCL.so");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
symlink("/system/lib64/libaed.so", "/system/app/AdvSoundDetector2015/lib/arm64/libaed.so");
symlink("/system/lib64/libdefcontainer_jni.so", "/system/priv-app/DefaultContainerService/lib/arm64/libdefcontainer_jni.so");
symlink("/system/lib64/libfdb.so", "/system/app/AdvSoundDetector2015/lib/arm64/libfdb.so");
symlink("/system/lib64/libjni_pacprocessor.so", "/system/app/PacProcessor/lib/arm64/libjni_pacprocessor.so");
symlink("/system/lib64/libload-strings.so", "/system/priv-app/SHealth4_3/lib/arm64/libload-strings.so");
symlink("/system/lib64/libMxmUVSensor-jni.so", "/system/priv-app/SHealth4_3/lib/arm64/libMxmUVSensor-jni.so");
symlink("/system/lib64/libnfc_nci_jni.so", "/system/app/NfcNci/lib/arm64/libnfc_nci_jni.so");
symlink("/system/lib64/libPedometer.so", "/system/priv-app/SHealth4_3/lib/arm64/libPedometer.so");
symlink("/system/lib64/libprintspooler_jni_mr1.so", "/system/app/SPrintSpoolerLMR1/lib/arm64/libprintspooler_jni_mr1.so");
symlink("/system/lib64/libSamsungBCPP.so", "/system/app/AdvSoundDetector2015/lib/arm64/libSamsungBCPP.so");
symlink("/system/lib64/libSensorNativeProtocol.so", "/system/priv-app/SHealth4_3/lib/arm64/libSensorNativeProtocol.so");
symlink("/system/lib64/lib_stressanalyzer_v03_jni.so", "/system/priv-app/SHealth4_3/lib/arm64/lib_stressanalyzer_v03_jni.so");
symlink("/system/lib64/libSwPedometer.so", "/system/priv-app/SHealth4_3/lib/arm64/libSwPedometer.so");
symlink("/system/lib64/libuv.so", "/system/priv-app/SHealth4_3/lib/arm64/libuv.so");
symlink("/system/lib/libanddown.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libanddown.so");
symlink("/system/lib/libasf_fileshareserver.so", "/system/app/AllshareFileShareServer/lib/arm/libasf_fileshareserver.so");
symlink("/system/lib/libasf_fileshare.so", "/system/app/AllshareFileShare/lib/arm/libasf_fileshare.so");
symlink("/system/lib/libasf_mediashare.so", "/system/app/AllshareMediaShare/lib/arm/libasf_mediashare.so");
symlink("/system/lib/libatomcore.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libatomcore.so");
symlink("/system/lib/libatomjpeg.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libatomjpeg.so");
symlink("/system/lib/libavcodec-55.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libavcodec-55.so");
symlink("/system/lib/libavformat-55.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libavformat-55.so");
symlink("/system/lib/libavutil-52.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libavutil-52.so");
symlink("/system/lib/libbluetooth_jni.so", "/system/app/Bluetooth/lib/arm/libbluetooth_jni.so");
symlink("/system/lib/libcommonpawrapper.so", "/system/app/RootPA/lib/arm/libcommonpawrapper.so");
symlink("/system/lib/libCreateSceneMap.so", "/system/priv-app/VirtualTourViewer_WQHD_lightTheme/lib/arm/libCreateSceneMap.so");
symlink("/system/lib/libDioDict3EngineNativeFrame.so", "/system/app/SecDict2Zero/lib/arm/libDioDict3EngineNativeFrame.so");
symlink("/system/lib/libdioiculemma.so", "/system/app/SecDict2Zero/lib/arm/libdioiculemma.so");
symlink("/system/lib/libFFmpegWrapper.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libFFmpegWrapper.so");
symlink("/system/lib/libjma.so", "/system/app/SecDict2Zero/lib/arm/libjma.so");
symlink("/system/lib/liblifevibes_mediashare_hw_jni.so", "/system/priv-app/VoiceNote4Z_32/lib/arm/liblifevibes_mediashare_hw_jni.so");
symlink("/system/lib/libmorpho_panorama_wa_for_viewer.so", "/system/app/Panorama360Viewer_Zero/lib/arm/libmorpho_panorama_wa_for_viewer.so");
symlink("/system/lib/libmorpho_sensor_fusion_for_viewer.so", "/system/app/Panorama360Viewer_Zero/lib/arm/libmorpho_sensor_fusion_for_viewer.so");
symlink("/system/lib/libnltk.so", "/system/app/SecDict2Zero/lib/arm/libnltk.so");
symlink("/system/lib/libqjpeg_secvision.so", "/system/priv-app/VirtualTourViewer_WQHD_lightTheme/lib/arm/libqjpeg_secvision.so");
symlink("/system/lib/libSamsungVoiceEngine.so", "/system/priv-app/SVF/lib/arm/libSamsungVoiceEngine.so");
symlink("/system/lib/libSamsungVoiceEngine.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libSamsungVoiceEngine.so");
symlink("/system/lib/libsecipx.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libsecipx.so");
symlink("/system/lib/libSensoryUDTSIDEngine.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libSensoryUDTSIDEngine.so");
symlink("/system/lib/libSensoryWakeUpEngine.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libSensoryWakeUpEngine.so");
symlink("/system/lib/libsimlockjni.so", "/system/priv-app/SimLock_TMO/lib/arm/libsimlockjni.so");
symlink("/system/lib/libSRIB_FocusShot.so", "/system/priv-app/OutOfFocusViewer_WQHD_K/lib/arm/libSRIB_FocusShot.so");
symlink("/system/lib/libstlport_shared.so", "/system/app/SecDict2Zero/lib/arm/libstlport_shared.so");
symlink("/system/lib/libsvoxtts.so", "/system/priv-app/S-Voice_Android_phone/lib/arm/libsvoxtts.so");
symlink("/system/lib/libswresample-0.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libswresample-0.so");
symlink("/system/lib/libswscale-2.so", "/system/priv-app/SAMSUNG_PLUS/lib/arm/libswscale-2.so");
symlink("/system/lib/libTui.so", "/system/app/TuiService/lib/arm/libTui.so");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chcon");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/clear");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/cp");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/du");
symlink("toolbox", "/system/bin/getenforce");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/getsebool");
symlink("toolbox", "/system/bin/grep");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/load_policy");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/md5");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mknod");
symlink("toolbox", "/system/bin/mkswap");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/nohup");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/prlimit");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/readlink");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/restorecon");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/runcon");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setenforce");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/setsebool");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/swapoff");
symlink("toolbox", "/system/bin/swapon");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("/vendor/lib64/egl/libGLES_mali.so", "/system/vendor/lib64/libOpenCL.so.1.1");
symlink("/vendor/lib/egl/libGLES_mali.so", "/system/vendor/lib/libOpenCL.so.1.1");
set_progress(0.600000);
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, 0, 0755, "/system/bin/install-recovery.sh");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 1000, 0750, "/system/bin/iptables");
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, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/iop_device_list.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 0555, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
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, 0, 0755, "/system/bin/install-recovery.sh");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 1000, 0750, "/system/bin/iptables");
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, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/iop_device_list.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 0555, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
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, 0, 0755, "/system/bin/install-recovery.sh");
set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 1000, 0750, "/system/bin/iptables");
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, 1000, 0750, "/system/bin/tc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pair_devlist.conf");
set_perm(0, 0, 0644, "/system/etc/bluetooth/iop_device_list.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 0, 0555, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/media");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_progress(0.700000);
run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");
package_extract_dir("supersu", "/tmp/supersu");
run_program("/sbin/busybox", "unzip", "/tmp/supersu/BETA-SuperSU-v2.52.zip", "META-INF/com/google/android/*", "-d", "/tmp/supersu");
run_program("/sbin/busybox", "sh", "/tmp/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/supersu/BETA-SuperSU-v2.52.zip");
set_progress(0.800000);
package_extract_file("boot.img", "/dev/block/platform/15570000.ufs/by-name/boot");
set_progress(0.900000);
set_progress(1.000000);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
unmount("/system");

Problem of error while installing stock rom i've made (now stuck at boot screen)

Hello,i'm Pikachuk, i'm new here so sorry if i post this question in the wrong section.
I've been trying to make custom rom for the "Archos 50 helium +"
this phone runs under android 5.1 and uses the chipset MT6735
Because i found absolutely 0 custom recovery and custom roms for this phone i managed to do it myself, i've first dumped the system folder and the boot.img/logo.bin (logo was a partition itself) i've dumped the original recovery too
from the recovery dump i successfully ported CWM on this phone from a build for an other phone using the exact same chipset and resolution, CWM runs perfectly
Now, from this system folder dump i've made a stock rom because before modifying i've need of a working stock rom.
the stock rom contains the system folder, the boot.img and the META-INF folder
this is the content of the updater-script (i would normally use pastebin but because i'm new it doesn't allow links...) :
ui_print("STOCK ROM ARCHOS 50 HELIUM+");
show_progress(0.100000, 10);
ui_print("");
ui_print("...Format system...");
format("ext4", "EMMC", "/dev/block/mmcblk0p22", "0");
format("ext4", "EMMC", "/dev/block/mmcblk0p20", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/data");
show_progress(0.700000, 40);
ui_print("");
ui_print("...Update Custom ROM...");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
symlink("aee_debuggerd", "/system/bin/debuggerd");
symlink("mksh", "/system/bin/sh");
ui_print("");
show_progress(0.100000, 5);
ui_print("");
ui_print("...Start set perms...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 0, 0755, 0644, "/cust");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/delapp");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/lib");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/prop");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/xml");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/alarms");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/animationsounds");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/notifications");
set_perm_recursive(0, 0, 0755, 0644, "/cust/hw/default/media/audio/ringtones");
set_perm_recursive(0, 0, 0755, 0644, "/IVDIC_2");
set_perm_recursive(0, 0, 0755, 0644, "/mobile_toolkit");
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(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, 0755, "/system/etc/init.d");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm_recursive(0, 2000, 0755, 0755, "/system/vendor/bin");
set_perm_recursive(0, 2000, 0755, 0777, "/system/etc/init.d");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/etc");
set_perm(0, 0, 0644, "/system/vendor/etc/audio_effects.conf");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/lib");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/drm");
set_perm(0, 0, 0644, "/system/vendor/lib/drm/libdrmwvmplugin.so");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm_recursive(0, 2000, 0755, 0644, "/system/vendor/lib/hw");
set_perm(0, 0, 0644, "/system/vendor/lib/hw/gralloc.mt6577.so");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 0755, "/system/xbin/tcpdump");
set_perm(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
delete("/system/app/RomasterSu.apk");
ui_print("");
ui_print("...Start write boot...");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "bootimg"),
delete("/tmp/boot.img"));
show_progress(0.200000, 0);
unmount("/data");
unmount("/system");
ui_print("+++++++++++++++++++++++++++++++++++++++++++++");
ui_print("+ OKKO OK OK +");
ui_print("+ OK OK OK OK +");
ui_print("+ OK OK OK OK +");
ui_print("+ OK OK OKOK +");
ui_print("+ OK OK OK OK +");
ui_print("+ OK OK OK OK +");
ui_print("+ OKKO OK OK +");
ui_print("+++++++++++++++++++++++++++++++++++++++++++++");
The problem is, CWM correctly formated the system partition, after that it was at the "update custom rom" screen for some minutes but once the progress bar was at the middle (almost 50%) i got a status 0 installation aborted and now my phone loops the boot screen part and don't boot
I can still access to fastboot and cwm recovery
What should i do ? i've the list of the partitions too if necessary :
lrwxrwxrwx root root 2017-02-14 00:48 boot -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2017-02-14 00:48 cache -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2017-02-14 00:48 expdb -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2017-02-14 00:48 flashinfo -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2017-02-14 00:48 frp -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2017-02-14 00:48 keystore -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2017-02-14 00:48 lk -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2017-02-14 00:48 logo -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2017-02-14 00:48 metadata -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2017-02-14 00:48 nvdata -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2017-02-14 00:48 nvram -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2017-02-14 00:48 oemkeystore -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2017-02-14 00:48 para -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2017-02-14 00:48 proinfo -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2017-02-14 00:48 protect1 -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2017-02-14 00:48 protect2 -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2017-02-14 00:48 recovery -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2017-02-14 00:48 seccfg -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2017-02-14 00:48 secro -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2017-02-14 00:48 system -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2017-02-14 00:48 tee1 -> /dev/block/mmcblk0p15
lrwxrwxrwx root root 2017-02-14 00:48 tee2 -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2017-02-14 00:48 userdata -> /dev/block/mmcblk0p22
Thanks in advance for your answers.
write_raw_image line.You need to specify path to where boot.img should be flashed. In your case /dev/block/mmcblk0p7.
tys0n said:
write_raw_image line.You need to specify path to where boot.img should be flashed. In your case /dev/block/mmcblk0p7.
Click to expand...
Click to collapse
I noticed this problem but even with the boot.img lines fixed i had the problem
I've ported TWRP too to the phone (and i prefer a lot twrp now) and even on twrp i had the problem, the cool thing now is that i found the original stock rom of the phone on the internet
i've looked a bit at the rom, it's probably the original rom by Archos cause all the directories are only img except META-INF
so the updater script is only
assert(package_extract_file("system_full.img", "/dev/block/platform/mtk-msdc.0/by-name/system"));
assert(package_extract_file("boot.img", "/dev/block/platform/mtk-msdc.0/by-name/boot"));
assert(package_extract_file("recovery.img", "/dev/block/platform/mtk-msdc.0/by-name/recovery"));
It finally worked, i'll edit this rom in android kitchen to make custom roms
So now i've reinstalled the stock rom and prepared a new custom rom from the stock but i've a problem, i've always the error 6 everytime i try to install the romn but it's strange since i don't find any error in the updater script, the code doesn't even seem to be loaded because i've directly the error 6 just after selecting the rom
I really don't see the problem (i've already posted the partitions, all the mount points are corrects)
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p20", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p22", "0", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/data");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/cmp");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/dmesg");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/mv");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/notify");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
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/md5");
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, 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_pair_devlist.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");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/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", "/dev/block/platform/mtk-msdc.0/by-name/boot"));
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
I finally found the problem using the save log option of twrp ^^ it was some little changes to make to some colons, it's really useful cause the log indicates the exact error line and colon

Categories

Resources