I'm a new developer and I am trying to release my next update for the Droid X2 MinimalX. Everything is built and should be, to my knowledge, functioning flawlessly.
When trying to flash the ROM, I run into this error:
I've had this problem previously, and fixed it by correcting issues in my updater-script, but here, I cannot find where the error is occurring.
Any help is greatly appreciated.
updater-script:
Thanks again!
When trying to flash the ROM, I run into this error:
Code:
E:Error in /emmc/...[rom name]
(status 6)
I've had this problem previously, and fixed it by correcting issues in my updater-script, but here, I cannot find where the error is occurring.
Any help is greatly appreciated.
updater-script:
Code:
#
# Updater-script for Motorola Droid X2 by c21johnson
#
ui_print(" c21johnson ");
ui_print(" presents ");
ui_print(" _ __ __");
ui_print(" _ __ ___ (_)_ __ \ \/ /");
ui_print("| '_ ` _ \| | '_ \ \ / ");
ui_print("| | | | | | | | | |/ \ ");
ui_print("|_| |_| |_|_|_| |_/_/\_\");
ui_print(" DULCE ");
ui_print(" ");
ui_print("Having sexual intercourse with X2");
ui_print(" aka mounting ");
mount("ext3", "/dev/block/mmcblk0p12", "/system");
mount("ext3", "/dev/block/mmcblk0p16", "/data");
ui_print("Debloat-ify");
format("ext3", "/dev/block/mmcblk0p12", "/system");
format("ext3", "/dev/block/mmcblk0p15", "/cache");
format("ext3", "/dev/block/mmcblk0p17", "/preinstall");
delete_recursive("/data/data/com.android.vending/cache");
delete_recursive("/data/dalvik-cache");
delete("/data/system/batterystats.bin");
ui_print("Installing MinSystem...");
package_extract_dir("system", "/system");
ui_print("...");
package_extract_dir("data", "/data");
ui_print("Complete!");
ui_print("Setting permissions...");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 1000, 06750, "/system/bin/encryption_test");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 1001, 04770, "/system/bin/pppd-ril");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 0, 0544, "/system/etc/install-recovery.sh");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm(0, 0, 06755, "/system/bin/su");
set_perm(0, 0, 06777, "/system/app/Superuser.apk");
set_perm(0, 0, 06755, "/system/xbin/su");
run_program("/system/bin/busybox", "--install", "/system/xbin");
ui_print("System Minimalized");
ui_print(" ");
ui_print(" ");
unmount("/system");
unmount("/data");
ui_print(" DroidForums.net ");
ui_print(" ");
ui_print(" +=======Minimal X======+ ");
ui_print(" | [email protected] | ");
ui_print(" +======================+ ");
ui_print(" Thanks!!! ");
ui_print(" ");
ui_print("Allow ~5min for intial boot");
Thanks again!