[General Questions and Answers] Lycris11:
Rom port.

Hi guys, im trying to port or however name it or change a complete theme, im taked needed files from Zte blade q maxi lollirom, and everything seems good but .zip file was showing me first error(status 6) fixed it converting updaterscript to UNIX format.

Well now i have problem with error(status 0), thats shows when cwm try to mount /system...

Is problem related to permissions in updater script or ?

****************************************");

ui_print(" adapted to Huawei Ascend Y530 ");

ui_print(" by Lycris11 ");

ui_print(" ****************************************");

show_progress(0.300000, 0);

ui_print("");

ui_print(" ****************************************");

ui_print(" | FORMATING DATA AND CACHE |");

ui_print(" ****************************************");

format("ext4", "EMMC", "emmc@usrdata", "0", "/data");

format("ext4", "EMMC", "emmc@cache", "0", "/cache");

ui_print(" ****************************************");

ui_print(" | FORMATING & MOUNTING SYSTEM |");

ui_print(" ****************************************");

format("ext4", "EMMC", "/dev/block/mmcblk0p4", "0", "/system");

mount("ext4", "EMMC", "/dev/block/mmcblk0p4", "/system");

ui_print(" ****************************************");

ui_print(" | EXTRACTING SYSTEM PACKAGE |");

ui_print(" ****************************************");

package_extract_dir("system", "/system");

ui_print("");

ui_print(" ****************************************");

ui_print(" | SYMLINKING |");

ui_print(" ****************************************");

ui_print(">>> SYMLINK BIN");

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("wlan_.ko", "/system/lib/modules/wlan.ko");

show_progress(0.300000, 10);

ui_print("");

ui_print("");

ui_print(" *****************************************");

ui_print(" | SET PERMISSION |");

ui_print(" ****************************************");

set_perm_recursive(0, 0, 0755, 0644, "/system");

set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm_recursive(0, 0, 0755, 0644, "/system/app");

set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");

set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");

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");

ui_print(">>> INSTALLING BUSYBOX");

run_program("/system/xbin/busybox", "--install", "-s", "/system/xbin");

show_progress(0.200000, 0);

ui_print(" ****************************************");

ui_print(" | INSTALING KERNEL |");

ui_print(" ****************************************");

show_progress(0.100000, 0);

assert(package_extract_file("boot.img", "/tmp/boot.img"),

write_raw_image("/tmp/boot.img", "bootimg"),

delete("/tmp/boot.img"));

ui_print(" ****************************************");

ui_print(" | ROOTING |");

ui_print(" ****************************************");

show_progress(0.200000, 10);

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");

unmount("/system");

ui_print("Device will Reboot Automatically ...");

ui_print(" HAVE A SAFE FLASHING ");

ui_print(" HIT THANKS BUTTON ");

ui_print(" IF YOU LIKE MY WORK ");

run_program("/sbin/sleep", "5");

run_program("/sbin/reboot");