[Completed] [Q] How to Fix Bootloop After Flashing Rom from Kitchen - XDA Assist

I made a Stock Rom of our device in Android Kitchen but it's stuck in boot logo after flashing. Any idea how to fix this?
Here is my updater-script:
Code:
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p12");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
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/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("mksh", "/system/bin/sh");
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(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(0, 2000, 0755, "/system/vendor/lib");
set_perm(0, 2000, 0755, "/system/vendor/lib/egl");
set_perm(0, 2000, 0755, "/system/vendor/lib/hw");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/xbin/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"),
ui_print("Flashing Boot.img...");
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
ui_print("Kernel imaged flashed...");
ui_print(" ");,
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
Thanks

Hi there,
Wrong update-binary.
Please see this thread: http://forum.xda-developers.com/showthread.php?t=1437936
Also for more questions please use this forum: http://forum.xda-developers.com/android/help
Good luck

Related

[ROM 5/26] - Stock Rooted De-Odexed RUU 1.85.502.3 based / CWM Install!

This is a stock rooted ROM based on AT&T RUU 1.85.502.3. You may use this ROM to do as choose. Feel free to use as base for your own work.
DISCLAIMER
You and you alone take responsibility for any issues that may arise when you flash this ROM. I tested it briefly and it seemed to function fine. If you have a problem post it in the thread!
Just like any new technology this ROM could have issues. Be prepared to RUU back to stock! Post anything you find!
Prerequisites
Must be Unlocked and have CWM installed!
Must be on AT&T 1.85.502.3 RUU! You can test it on older RUU's and report results! It may work depending on how much kernel changes are between the two. It also may not work! So if you are not on 1.85 then be prepared to RUU back to the RUU you are on!
I failed to properly implement ROOT so you need to flash Chainfire's Root package right after ROM! My bad. Did not catch that until upload finished. Will fix it later....
Make a Nandroid back up before installing!
Important Notes
This ROM will wipe Data!
AS of now flashing a boot.img causes soft brick so I left it out until someone smarter than me can figure it out. This is also why you need to be on 1.85 RUU. So the kernel matches the modules.
I broke root so you will need to flash root from HERE
Thanks to Chainfire. Full root app thread here: http://forum.xda-developers.com/showthread.php?t=1538053 <-Please go thank this thread for the root tool!
Wiper App seems to crash now and then. Not sure why. Will figure it out later. But I think it may be permissions related. I also think that is the app causing the multi-tasking issues so I may just remove it and test. If you do so then please post results!
Install Instructions
Place ROM and Root ZIPS on storage
Reboot to Recovery
Make a Nandroid back up before installing!
Flash ROM
Flash Root
Reboot
Profit!
MD5
98ABDA67D135C883E2A826C0C19ACA7D
DOWNLOAD!
Please Thank this thread. If you like whats going on so far please consider donating so I can pay my Verizon Early Term Fee
​
Addon's
Three Button Mod
Removes the silly three buttons and maps the Task Key to Menu.
Long press Home Key to bring up Task switch.
Flash in recovery. No need to wipe anything. You will get Android is updating when it boots back up! This is normal!
Original credits to sk08 for the mod and dkirchik for sending me the files.
Click to expand...
Click to collapse
Tiffany84 said:
All YA!!!!
Click to expand...
Click to collapse
Damn I didnt even get second post, lol
scrosler said:
As the name implies... Fully stock rooted deodexed ROM uploading now!
Will post back in a minute when its done....
Click to expand...
Click to collapse
I will wait up for this!!! LOL Thank You!!!
ok, now i'm ****ing confused. i thought we had to wait until s-off or whatever before flashing would work. sigh...time to google more on "s-off"
sweet man, i cant wait to see your script!
.... <3 no homo lol but I had a total bill and Ted moment seeing this.
Sent from my HTC One X using xda premium
scrosler said:
Damn I didnt even get second post, lol
Click to expand...
Click to collapse
I'm quick. U wasn't responding so I had to come see what you were doing
Debloat would be nice hehe
chaosjh said:
ok, now i'm ****ing confused. i thought we had to wait until s-off or whatever before flashing would work. sigh...time to google more on "s-off"
Click to expand...
Click to collapse
U can flash roms, just can't flash radios, bootloaders and stuff like that
Can i flash this to Rogers? I dont have supercid (but i can do it if need be)
EDIT: Need to be more patient till upload is finished with instructions
XsMagical said:
sweet man, i cant wait to see your script!
Click to expand...
Click to collapse
Instead of waiting I will just post it for you because I know you are working on some isht too....
Formats data and system.... Unzips, creates sym links... unmounts
I had it format data because CWM will not work right when you selelct it in the menu.
It doesnt flash boot.img because we are not S-OFF.
Code:
ui_print(" Stock Rooted 1.85.502.3");
ui_print("");
ui_print(" Please visit Scott's ROMS at");
ui_print(" www.scottsroms.com");
ui_print("");
ui_print(" Installing...");
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p35");
format("ext4", "EMMC", "/dev/block/mmcblk0p33");
mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/data");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
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("mksh", "/system/bin/sh");
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");
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, 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(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_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
unmount("/system");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("Done!");
scrosler said:
Instead of waiting I will just post it for you because I know you are working on some isht too....
Code:
ui_print(" Stock Rooted 1.85.502.3");
ui_print("");
ui_print(" Please visit Scott's ROMS at");
ui_print(" www.scottsroms.com");
ui_print("");
ui_print(" Installing...");
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p35");
format("ext4", "EMMC", "/dev/block/mmcblk0p33");
mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/data");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
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("mksh", "/system/bin/sh");
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");
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, 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(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_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
unmount("/system");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("Done!");
Click to expand...
Click to collapse
See good stuff going on in this forum.
I figure I'd be the odd one out to ask this.. would the 3 dot mod key remap possibly work with this?
Sent from my HTC One X using xda premium
scrosler said:
Instead of waiting I will just post it for you because I know you are working on some isht too....
Formats data and system.... Unzips, creates sym links... unmounts
I had it format data because CWM will not work right when you selelct it in the menu.
It doesnt flash boot.img because we are not S-OFF.
Code:
ui_print(" Stock Rooted 1.85.502.3");
ui_print("");
ui_print(" Please visit Scott's ROMS at");
ui_print(" www.scottsroms.com");
ui_print("");
ui_print(" Installing...");
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p35");
format("ext4", "EMMC", "/dev/block/mmcblk0p33");
mount("ext4", "EMMC", "/dev/block/mmcblk0p33", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p35", "/data");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
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("mksh", "/system/bin/sh");
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");
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, 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(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_recursive(0, 2000, 0755, 0644, "/system/vendor");
set_perm_recursive(0, 0, 0755, 0644, "/system/vendor/firmware");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
show_progress(0.1, 10);
show_progress(0.2, 0);
unmount("/system");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("Done!");
Click to expand...
Click to collapse
thanks bro, im going to try this right now!
Hi Scott can you post the method to get the 1.85 radio as well?
zguy
zguy30 said:
Hi Scott can you post the method to get the 1.85 radio as well?
zguy
Click to expand...
Click to collapse
if you changed your cid, relock your phone, flash the new ruu, unlock the phone, push recovery and flash the rom or root. The ruu will flash all the new radios.
XsMagical said:
if you changed your cid, relock your phone, flash the new ruu, unlock the phone, push recovery and flash the rom or root. The ruu will flash all the new radios.
Click to expand...
Click to collapse
Yep, thats exactly what I did!
Great thanks guys will give it a try also will your clean dev rom work with 1.85?
zguy
---------- Post added at 03:55 AM ---------- Previous post was at 03:52 AM ----------
I get everything except push recovery you mean stock recovery through the HBOOT menu, CWM or fastboot command line
zguy30
zguy30 said:
Great thanks guys will give it a try also will your clean dev rom work with 1.85?
zguy
---------- Post added at 03:55 AM ---------- Previous post was at 03:52 AM ----------
I get everything except push recovery you mean stock recovery through the HBOOT menu, CWM or fastboot command line
zguy30
Click to expand...
Click to collapse
Not sure about Dev edition....
I dont understand your question?
Files up!

built stock rom, no data/bt/wifi etc.. sch-i705

Hey all,
As I'm new to ROM development, I have some questions with my first "build".
This is a stock rooted/zipaligned/deodexed rom, all done using dsixda's kitchen. I know this tab is not officially supported but it's similar to the gs3, which is supported. So I thought I'd give it a go.
It builds everything just fine, with a few minor changes to the updater-script it flahses just fine, too. Except the list below:
Data, bluetooth, wifi, doesn't work. It can't get past the 'activation' screen because of this (even if I build it without the setup apk it has no connections).
Pressing volume buttons has extreme lag
Lockscreen doesn't present itself
That's all I can test at the moment. My theory is there's a permissions problem.
Can anybody help me out? Below is my updater-script
Code:
show_progress(0.1, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p14", "/system");
package_extract_dir("system", "/system");
symlink("toolbox", "/system/bin/ioctl");
symlink("toolbox", "/system/bin/dd");
symlink("toolbox", "/system/bin/mv");
symlink("wiperiface_v02.so", "/system/bin/wiperiface");
symlink("debuggerd", "/system/bin/csview");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/sleep");
symlink("toolbox", "/system/bin/ifconfig");
symlink("toolbox", "/system/bin/notify");
symlink("mksh", "/system/bin/sh");
symlink("toolbox", "/system/bin/setconsole");
symlink("toolbox", "/system/bin/umount");
symlink("toolbox", "/system/bin/mount");
symlink("toolbox", "/system/bin/setprop");
symlink("toolbox", "/system/bin/ls");
symlink("toolbox", "/system/bin/uptime");
symlink("toolbox", "/system/bin/sync");
symlink("toolbox", "/system/bin/date");
symlink("toolbox", "/system/bin/rm");
symlink("toolbox", "/system/bin/insmod");
symlink("toolbox", "/system/bin/schedtop");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/printenv");
symlink("toolbox", "/system/bin/newfs_msdos");
symlink("toolbox", "/system/bin/netstat");
symlink("toolbox", "/system/bin/route");
symlink("toolbox", "/system/bin/ionice");
symlink("toolbox", "/system/bin/ps");
symlink("toolbox", "/system/bin/lsof");
symlink("toolbox", "/system/bin/nandread");
symlink("toolbox", "/system/bin/renice");
symlink("toolbox", "/system/bin/smd");
symlink("toolbox", "/system/bin/reboot");
symlink("toolbox", "/system/bin/cmp");
symlink("toolbox", "/system/bin/iftop");
symlink("toolbox", "/system/bin/log");
symlink("toolbox", "/system/bin/rmmod");
symlink("toolbox", "/system/bin/start");
symlink("toolbox", "/system/bin/mkdir");
symlink("toolbox", "/system/bin/touch");
symlink("toolbox", "/system/bin/ln");
symlink("toolbox", "/system/bin/sendevent");
symlink("toolbox", "/system/bin/df");
symlink("toolbox", "/system/bin/id");
symlink("toolbox", "/system/bin/top");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/hd");
symlink("toolbox", "/system/bin/getevent");
symlink("toolbox", "/system/bin/kill");
symlink("toolbox", "/system/bin/rmdir");
symlink("toolbox", "/system/bin/getprop");
symlink("toolbox", "/system/bin/wipe");
symlink("toolbox", "/system/bin/lsmod");
symlink("toolbox", "/system/bin/stop");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/dmesg");
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_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 1000, 0755, "/system/xbin/busybox");
symlink("/system/xbin/busybox", "/system/bin/busybox");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");
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);
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
show_progress(0.2, 10);
unmount("/system");
Any help at all will be, well.. helpful

[Q] Clockworkmod Status (0) wrong or corript updater-script

Hello friends from the best adroid forum that ever exist, i post you from Mexico, my problem is about the installation of my own custom ROM for my Alcatel OT 890, i follow all the steps for cooking ROM in the tutorial for Kitchen from dsixda.
What happened?
As i told you, i was creating my own ROM but when i was determinate to install it with CWM an error appeared me, the error was "status (0)", looking for in forums in XDA developers they said that the error is because something is wrong with the script to mount the ROM, i check and verify and according to me, the scripts were right, in fact i guess the "format" for the updater script are right but inside the file (updater-script) is the problem. This is all the line from my updater-script, maybe you should know whats are the mistakes of lines. Please help me, i saw here that someone had the same problem and you help him , this is my last chance to be an expert kitchener LOL.
Thanks
show_progress(0.200000, 10);
format("ext4", "EMMC", "/dev/block/mmcblk0p16");
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
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");
mount("ext4", "EMMC", "/dev/block/mmcblk0p18", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
format("ext4", "EMMC", "/dev/block/mmcblk0p17");
show_progress(0.200000, 20);
package_extract_dir("system", "/system");
show_progress(0.200000, 30);
symlink("/system/media/bootsamsungloop.qmg", "/system/media/bootsamsung.qmg");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
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/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/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/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("busybox", "/system/xbin/[ /system/xbin/[[ /system/xbin/dc /system/xbin/dd /system/xbin/cp /system/xbin/df");
symlink("busybox", "/system/xbin/ed /system/xbin/du /system/xbin/id /system/xbin/ip /system/xbin/ln /system/xbin/ls /system/xbin/mv");
symlink("busybox", "/system/xbin/od /system/xbin/ps /system/xbin/rm /system/xbin/sh /system/xbin/tr /system/xbin/vi /system/xbin/wc");
symlink("busybox", "/system/xbin/arp /system/xbin/ash /system/xbin/awk /system/xbin/cal /system/xbin/cat /system/xbin/cmp /system/xbin/cut");
symlink("busybox", "/system/xbin/env /system/xbin/pwd /system/xbin/sed /system/xbin/seq /system/xbin/tac /system/xbin/tar /system/xbin/tee");
symlink("busybox", "/system/xbin/top /system/xbin/tty /system/xbin/yes /system/xbin/catv /system/xbin/date /system/xbin/cpio /system/xbin/diff");
symlink("busybox", "/system/xbin/echo /system/xbin/dnsd /system/xbin/find /system/xbin/expr /system/xbin/fold /system/xbin/free /system/xbin/head");
symlink("busybox", "/system/xbin/grep /system/xbin/gzip /system/xbin/kill /system/xbin/less /system/xbin/lzop /system/xbin/more /system/xbin/nice");
symlink("busybox", "/system/xbin/ntpd /system/xbin/ping /system/xbin/rdev /system/xbin/tail /system/xbin/sort /system/xbin/test /system/xbin/tftp");
symlink("busybox", "/system/xbin/stat /system/xbin/time /system/xbin/stty /system/xbin/sync /system/xbin/true /system/xbin/uniq /system/xbin/wget");
symlink("busybox", "/system/xbin/zcat /system/xbin/uudecode /system/xbin/dos2unix /system/xbin/uuencode /system/xbin/dirname /system/xbin/killall");
symlink("busybox", "/system/xbin/unix2dos /system/xbin/brctl /system/xbin/chgrp /system/xbin/chmod /system/xbin/chown /system/xbin/clear");
symlink("busybox", "/system/xbin/cksum /system/xbin/bzcat /system/xbin/bzip2 /system/xbin/dmesg /system/xbin/egrep /system/xbin/false");
symlink("busybox", "/system/xbin/fdisk /system/xbin/fgrep /system/xbin/fuser /system/xbin/lsmod /system/xbin/lspci /system/xbin/lsusb");
symlink("busybox", "/system/xbin/mkdir /system/xbin/mknod /system/xbin/mount /system/xbin/nohup /system/xbin/patch /system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof /system/xbin/pkill /system/xbin/reset /system/xbin/rmdir /system/xbin/rmmod /system/xbin/route");
symlink("busybox", "/system/xbin/sleep( /system/xbin/split /system/xbin/touch /system/xbin/uname /system/xbin/unzip /system/xbin/watch);");
symlink("busybox", "/system/xbin/which /system/xbin/xargs /system/xbin/freeramdisk /system/xbin/sha1sum /system/xbin/traceroute");
symlink("busybox", "/system/xbin/modprobe /system/xbin/losetup /system/xbin/killall5 /system/xbin/strings /system/xbin/chroot");
symlink("busybox", "/system/xbin/mkfs.ext2 /system/xbin/depmod /system/xbin/devmem /system/xbin/swapoff /system/xbin/lzopcat");
symlink("busybox", "/system/xbin/getopt /system/xbin/mountpoint /system/xbin/netstat /system/xbin/gunzip /system/xbin/insmod");
symlink("busybox", "/system/xbin/length /system/xbin/md5sum /system/xbin/sha256sum /system/xbin/mke2fs /system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mktemp /system/xbin/mkswap /system/xbin/tune2fs /system/xbin/ifconfig /system/xbin/nslookup");
symlink("busybox", "/system/xbin/sha512sum /system/xbin/printf /system/xbin/renice /system/xbin/hexdump /system/xbin/setsid");
symlink("busybox", "/system/xbin/telnet /system/xbin/swapon /system/xbin/sysctl /system/xbin/umount /system/xbin/unlzop");
symlink("busybox", "/system/xbin/uptime /system/xbin/usleep( /system/xbin/whoami /system/xbin/printenv /system/xbin/run-parts);");
symlink("busybox", "/system/xbin/bbconfig /system/xbin/readlink /system/xbin/install /system/xbin/basename /system/xbin/realpath");
symlink("busybox", "/system/xbin/bunzip2");
symlink("/system/bin/dumpstate", "/system/bin/dumpmesg");
symlink("/system/bin/debuggerd", "/system/bin/csview");
show_progress(0.200000, 50);
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_recursive(0, 0, 0755, 0755, "/system/etc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 04755, "/system/xbin/bash");
symlink("/system/xbin/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(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm_recursive(0, 0, 0755, 0755, "/system/usr");
set_perm(0, 2000, 0755, "/system/etc/bluetooth");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
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, 0644, "/system/lib/modules");
set_perm(0, 2000, 0755, "/system/bin/mm-audio-acdb-test");
set_perm(0, 2000, 0755, "/system/bin/mm-audio-alsa-test");
set_perm(0, 2000, 0755, "/system/bin/mm-venc-omx-test720p");
set_perm(0, 2000, 0755, "/system/bin/mm-video-encdrv-test");
set_perm(0, 0, 0755, "/data/tune2fs");
set_perm(0, 0, 0755, "/data/journaldisable");
set_perm(0, 0, 0644, "/system/etc/hosts");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
run_program("/sbin/busybox", "sh", "/data/journaldisable");
show_progress(0.200000, 60);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
show_progress(0.200000, 70);
package_extract_file("fix_permissions", "/tmp/fix_permissions");
set_perm(0, 0, 0777, "/tmp/fix_permissions");
run_program("/tmp/fix_permissions");
delete("/tmp/tmp/fix_permissions");
show_progress(0.200000, 80);
show_progress(1.000000, 0);
unmount("/system");
unmount("/data");
m44nu33l said:
Hello friends from the best adroid forum that ever exist, i post you from Mexico, my problem is about the installation of my own custom ROM for my Alcatel OT 890, i follow all the steps for cooking ROM in the tutorial for Kitchen from dsixda.
What happened?
As i told you, i was creating my own ROM but when i was determinate to install it with CWM an error appeared me, the error was "status (0)", looking for in forums in XDA developers they said that the error is because something is wrong with the script to mount the ROM, i check and verify and according to me, the scripts were right, in fact i guess the "format" for the updater script are right but inside the file (updater-script) is the problem. This is all the line from my updater-script, maybe you should know whats are the mistakes of lines. Please help me, i saw here that someone had the same problem and you help him , this is my last chance to be an expert kitchener LOL.
Thanks
show_progress(0.200000, 10);
format("ext4", "EMMC", "/dev/block/mmcblk0p16");
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
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");
mount("ext4", "EMMC", "/dev/block/mmcblk0p18", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
format("ext4", "EMMC", "/dev/block/mmcblk0p17");
show_progress(0.200000, 20);
package_extract_dir("system", "/system");
show_progress(0.200000, 30);
symlink("/system/media/bootsamsungloop.qmg", "/system/media/bootsamsung.qmg");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
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/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/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/umount");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("busybox", "/system/xbin/[ /system/xbin/[[ /system/xbin/dc /system/xbin/dd /system/xbin/cp /system/xbin/df");
symlink("busybox", "/system/xbin/ed /system/xbin/du /system/xbin/id /system/xbin/ip /system/xbin/ln /system/xbin/ls /system/xbin/mv");
symlink("busybox", "/system/xbin/od /system/xbin/ps /system/xbin/rm /system/xbin/sh /system/xbin/tr /system/xbin/vi /system/xbin/wc");
symlink("busybox", "/system/xbin/arp /system/xbin/ash /system/xbin/awk /system/xbin/cal /system/xbin/cat /system/xbin/cmp /system/xbin/cut");
symlink("busybox", "/system/xbin/env /system/xbin/pwd /system/xbin/sed /system/xbin/seq /system/xbin/tac /system/xbin/tar /system/xbin/tee");
symlink("busybox", "/system/xbin/top /system/xbin/tty /system/xbin/yes /system/xbin/catv /system/xbin/date /system/xbin/cpio /system/xbin/diff");
symlink("busybox", "/system/xbin/echo /system/xbin/dnsd /system/xbin/find /system/xbin/expr /system/xbin/fold /system/xbin/free /system/xbin/head");
symlink("busybox", "/system/xbin/grep /system/xbin/gzip /system/xbin/kill /system/xbin/less /system/xbin/lzop /system/xbin/more /system/xbin/nice");
symlink("busybox", "/system/xbin/ntpd /system/xbin/ping /system/xbin/rdev /system/xbin/tail /system/xbin/sort /system/xbin/test /system/xbin/tftp");
symlink("busybox", "/system/xbin/stat /system/xbin/time /system/xbin/stty /system/xbin/sync /system/xbin/true /system/xbin/uniq /system/xbin/wget");
symlink("busybox", "/system/xbin/zcat /system/xbin/uudecode /system/xbin/dos2unix /system/xbin/uuencode /system/xbin/dirname /system/xbin/killall");
symlink("busybox", "/system/xbin/unix2dos /system/xbin/brctl /system/xbin/chgrp /system/xbin/chmod /system/xbin/chown /system/xbin/clear");
symlink("busybox", "/system/xbin/cksum /system/xbin/bzcat /system/xbin/bzip2 /system/xbin/dmesg /system/xbin/egrep /system/xbin/false");
symlink("busybox", "/system/xbin/fdisk /system/xbin/fgrep /system/xbin/fuser /system/xbin/lsmod /system/xbin/lspci /system/xbin/lsusb");
symlink("busybox", "/system/xbin/mkdir /system/xbin/mknod /system/xbin/mount /system/xbin/nohup /system/xbin/patch /system/xbin/pgrep");
symlink("busybox", "/system/xbin/pidof /system/xbin/pkill /system/xbin/reset /system/xbin/rmdir /system/xbin/rmmod /system/xbin/route");
symlink("busybox", "/system/xbin/sleep( /system/xbin/split /system/xbin/touch /system/xbin/uname /system/xbin/unzip /system/xbin/watch);");
symlink("busybox", "/system/xbin/which /system/xbin/xargs /system/xbin/freeramdisk /system/xbin/sha1sum /system/xbin/traceroute");
symlink("busybox", "/system/xbin/modprobe /system/xbin/losetup /system/xbin/killall5 /system/xbin/strings /system/xbin/chroot");
symlink("busybox", "/system/xbin/mkfs.ext2 /system/xbin/depmod /system/xbin/devmem /system/xbin/swapoff /system/xbin/lzopcat");
symlink("busybox", "/system/xbin/getopt /system/xbin/mountpoint /system/xbin/netstat /system/xbin/gunzip /system/xbin/insmod");
symlink("busybox", "/system/xbin/length /system/xbin/md5sum /system/xbin/sha256sum /system/xbin/mke2fs /system/xbin/mkfifo");
symlink("busybox", "/system/xbin/mktemp /system/xbin/mkswap /system/xbin/tune2fs /system/xbin/ifconfig /system/xbin/nslookup");
symlink("busybox", "/system/xbin/sha512sum /system/xbin/printf /system/xbin/renice /system/xbin/hexdump /system/xbin/setsid");
symlink("busybox", "/system/xbin/telnet /system/xbin/swapon /system/xbin/sysctl /system/xbin/umount /system/xbin/unlzop");
symlink("busybox", "/system/xbin/uptime /system/xbin/usleep( /system/xbin/whoami /system/xbin/printenv /system/xbin/run-parts);");
symlink("busybox", "/system/xbin/bbconfig /system/xbin/readlink /system/xbin/install /system/xbin/basename /system/xbin/realpath");
symlink("busybox", "/system/xbin/bunzip2");
symlink("/system/bin/dumpstate", "/system/bin/dumpmesg");
symlink("/system/bin/debuggerd", "/system/bin/csview");
show_progress(0.200000, 50);
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_recursive(0, 0, 0755, 0755, "/system/etc");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 04755, "/system/xbin/bash");
symlink("/system/xbin/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(0, 0, 06755, "/system/xbin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm_recursive(0, 0, 0755, 0755, "/system/usr");
set_perm(0, 2000, 0755, "/system/etc/bluetooth");
set_perm(0, 3003, 02755, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
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, 0644, "/system/lib/modules");
set_perm(0, 2000, 0755, "/system/bin/mm-audio-acdb-test");
set_perm(0, 2000, 0755, "/system/bin/mm-audio-alsa-test");
set_perm(0, 2000, 0755, "/system/bin/mm-venc-omx-test720p");
set_perm(0, 2000, 0755, "/system/bin/mm-video-encdrv-test");
set_perm(0, 0, 0755, "/data/tune2fs");
set_perm(0, 0, 0755, "/data/journaldisable");
set_perm(0, 0, 0644, "/system/etc/hosts");
set_perm_recursive(0, 0, 0755, 0644, "/system/lib/modules");
run_program("/sbin/busybox", "sh", "/data/journaldisable");
show_progress(0.200000, 60);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
show_progress(0.200000, 70);
package_extract_file("fix_permissions", "/tmp/fix_permissions");
set_perm(0, 0, 0777, "/tmp/fix_permissions");
run_program("/tmp/fix_permissions");
delete("/tmp/tmp/fix_permissions");
show_progress(0.200000, 80);
show_progress(1.000000, 0);
unmount("/system");
unmount("/data");
Click to expand...
Click to collapse
Did you include a kernel because if you didnt,you need to delete these lines:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
Click Thanks if i helped!!!!:fingers-crossed:

[Q]can i use cygwin to build custom rom for galaxy core 2 ?

I tried to create flashable stock rom by android kitchen but the output zip can not be flashed.
I think you need linux for build....and if you build android 5 you need a 64bit system.
younis12c said:
I tried to create flashable stock rom by android kitchen but the output zip can not be flashed.
Click to expand...
Click to collapse
Cocolopes said:
I think you need linux for build....and if you build android 5 you need a 64bit system.
Click to expand...
Click to collapse
I'm using only android and windows here
Damn, got 2 buy new laptop for unix sys too )
Little help ppl please http://forum.xda-developers.com/showpost.php?p=58746468&postcount=24
need CSC files from different rom G355HN.
Thx
StratOS_HTC said:
I'm using only android and windows here
Damn, got 2 buy new laptop for unix sys too )
Little help ppl please http://forum.xda-developers.com/showpost.php?p=58746468&postcount=24
need CSC files from different rom G355HN.
Thx
Click to expand...
Click to collapse
I have some problem with my own rom can you check it for me?
Code:
show_progress(0.1, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
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("mksh", "/system/bin/sh");
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_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/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", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
hahanhata123 said:
I have some problem with my own rom can you check it for me?
Code:
[STRIKE]assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));[/STRIKE]
package_extract_file("boot.img", "/dev/block/mmcblk0p17");
Click to expand...
Click to collapse
Cannot help you with init files in rom ...
But guess rom won't boot ?
Add added command and delete striked.
younis12c said:
I tried to create flashable stock rom by android kitchen but the output zip can not be flashed.
Click to expand...
Click to collapse
can you upload your updater script so i can check it

Aurii secret custom rom

So currently , I am making a custom rom for my Firefly AURII Envy 4G
I successfully made one using Android kitchen. :good::fingers-crossed:
But when I'm about to flash it, using CTR recovery V 6.6.1 , I got an error saying that
"Using legacy property
environment for
update-binary...
Please upgrade to latest
binary..."
Yes, I've searched google before posting here but no luck
I don't know what to do. I've checked the updater script for the mounting errors , but theres no wrong. :crying:
Here is the inside of the updater-script
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p20");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/data");
delete("/data/local");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
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/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_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", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
And here is the partition table
/boot emmc /dev/block/mmcblk0p7
/cache ext4 /dev/block/mmcblk0p21
/recovery emmc /dev/block/mmcblk0p8
/system ext4 /dev/block/mmcblk0p20 fs_options=rw
/data ext4 /dev/block/mmcblk0p22 fs_options=rw
#/sdcard datamedia /dev/null
#/data_sd ext4 /dev/block/mmcblk1p2 fs_options=adopted
Here is the log of the recovery
-- Installing:
/sdcard/AURII_Secret_signed_042017_094804.zip
Finding update package...
I:Update location: /sdcard/AURII_Secret_signed_042017_094804.zip
Opening update package...
Installing update...
Using legacy property
environment for
update-binary...
Please upgrade to latest
binary...
I:Legacy property environment initialized.
Creating filesystem with parameters:
Size: 2147483648
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 8192
Label:
Blocks: 524288
Block groups: 16
Reserved block group size: 127
Created filesystem with 11/131072 inodes and 17193/524288 blocks
mount: failed to mount /dev/block/mmcblk0p22 at /data: Device or resource busy
at the end of the extracting
set_perm: chown of /system/bin/netcfg to 0 3003 failed: No such file or directory
set_perm: chmod of /system/bin/netcfg to 2750 failed: No such file or directory
set_perm: chown of /system/etc/dbus.conf to 1002 1002 failed: No such file or directory
set_perm: chmod of /system/etc/dbus.conf to 440 failed: No such file or directory
set_perm: chown of /system/etc/init.goldfish.sh to 0 2000 failed: No such file or directory
set_perm: chmod of /system/etc/init.goldfish.sh to 550 failed: No such file or directory
about to run program [/system/xbin/busybox] with 4 args
assert failed:
write_raw_image("/tmp/boot.img",
"boot")
I:Legacy property environment disabled.
E:Failed to install
/sdcard/AURII_Secret_signed_042017_094804.zip
Elease take note of all the
above lines for reports
Install from sdcard complete.
I:Can't partition, datamedia volume on: /internal_sd
Please help me There's no other developer for this Device.
Thanks
angelo2468 said:
So currently , I am making a custom rom for my Firefly AURII Envy 4G
I successfully made one using Android kitchen. :good::fingers-crossed:
But when I'm about to flash it, using CTR recovery V 6.6.1 , I got an error saying that
"Using legacy property
environment for
update-binary...
Please upgrade to latest
binary..."
Yes, I've searched google before posting here but no luck
I don't know what to do. I've checked the updater script for the mounting errors , but theres no wrong. :crying:
Here is the inside of the updater-script
show_progress(0.1, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p20");
mount("ext4", "EMMC", "/dev/block/mmcblk0p20", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/data");
delete("/data/local");
package_extract_dir("data", "/data");
set_perm(2000, 2000, 0771, "/data/local");
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/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_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", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(0.2, 10);
unmount("/system");
unmount("/data");
And here is the partition table
/boot emmc /dev/block/mmcblk0p7
/cache ext4 /dev/block/mmcblk0p21
/recovery emmc /dev/block/mmcblk0p8
/system ext4 /dev/block/mmcblk0p20 fs_options=rw
/data ext4 /dev/block/mmcblk0p22 fs_options=rw
#/sdcard datamedia /dev/null
#/data_sd ext4 /dev/block/mmcblk1p2 fs_options=adopted
Here is the log of the recovery
-- Installing:
/sdcard/AURII_Secret_signed_042017_094804.zip
Finding update package...
I:Update location: /sdcard/AURII_Secret_signed_042017_094804.zip
Opening update package...
Installing update...
Using legacy property
environment for
update-binary...
Please upgrade to latest
binary...
I:Legacy property environment initialized.
Creating filesystem with parameters:
Size: 2147483648
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 8192
Label:
Blocks: 524288
Block groups: 16
Reserved block group size: 127
Created filesystem with 11/131072 inodes and 17193/524288 blocks
mount: failed to mount /dev/block/mmcblk0p22 at /data: Device or resource busy
at the end of the extracting
set_perm: chown of /system/bin/netcfg to 0 3003 failed: No such file or directory
set_perm: chmod of /system/bin/netcfg to 2750 failed: No such file or directory
set_perm: chown of /system/etc/dbus.conf to 1002 1002 failed: No such file or directory
set_perm: chmod of /system/etc/dbus.conf to 440 failed: No such file or directory
set_perm: chown of /system/etc/init.goldfish.sh to 0 2000 failed: No such file or directory
set_perm: chmod of /system/etc/init.goldfish.sh to 550 failed: No such file or directory
about to run program [/system/xbin/busybox] with 4 args
assert failed:
write_raw_image("/tmp/boot.img",
"boot")
I:Legacy property environment disabled.
E:Failed to install
/sdcard/AURII_Secret_signed_042017_094804.zip
Elease take note of all the
above lines for reports
Install from sdcard complete.
I:Can't partition, datamedia volume on: /internal_sd
Please help me There's no other developer for this Device.
Thanks
Click to expand...
Click to collapse
sir can you provide me a backup of your nvram. i really need it thanks

Categories

Resources