[Android Software/Hacking General [Developers Only]] joni2012:
No mount system, kernel. My crazy jiji. Help thank

########################Joey Kernel########################

if

file_getprop("/tmp/aroma-data/kernel.prop","selected.0") == "2"

then

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

run_program("/sbin/dd", "if=/tmp/boot.img", "of=/dev/block/mmcblk0p33");

ui_print("Writing Joey Kernel to boot image..");

package_extract_dir("additions/kernel/joey/kernel", "/tmp");

set_perm(0, 0, 0777, "/tmp/mkbootimg.sh");

set_perm(0, 0, 0777, "/tmp/mkbootimg");

set_perm(0, 0, 0777, "/tmp/unpackbootimg");

set_perm(0, 0, 0777, "/tmp/busybox");

run_program("/tmp/busybox", "dd", "if=/dev/block/mmcblk0p33", "of=/tmp/boot.img");

run_program("/tmp/unpackbootimg", "-i", "/tmp/boot.img", "-o", "/tmp/");

run_program("/tmp/mkbootimg.sh");

run_program("/tmp/busybox", "dd", "if=/tmp/newboot.img", "of=/dev/block/mmcblk0p33");

ui_print("Extracting Joey Kernel system files");

package_extract_dir("additions/kernel/joey/system", "/system");

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "1"

then

ui_print("-- Stock Mapping");

package_extract_dir("additions/kernel/tbalden/additions/stockmapping", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "2"

then

ui_print("-- Home2Wake and Logo2Menu");

package_extract_dir("additions/kernel/tbalden/additions/home2wakelogo2menu", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_on", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "3"

then

ui_print("-- Home2Wake and Logo2Sleep with long tap");

package_extract_dir("additions/kernel/tbalden/additions/home2wakelogo2sleep", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "4"

then

ui_print("-- Home2Wake and Logo2Sleep with short tap");

package_extract_dir("additions/kernel/tbalden/additions/home2wakelogo2sleep_nodelay", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "5"

then

ui_print("-- NO Home2Wake and Logo2Menu");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_on", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "6"

then

ui_print("-- Home2Wake and Logo unmapped/No sleep");

package_extract_dir("additions/kernel/tbalden/additions/home2wake", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "7"

then

ui_print("-- Logo2Wake and Logo2Sleep with long tap");

package_extract_dir("additions/kernel/tbalden/additions/logo2wakelogo2sleep", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "8"

then

ui_print("-- Logo2Wake and Logo2Sleep with short tap");

package_extract_dir("additions/kernel/tbalden/additions/logo2wakelogo2sleep_nodelay", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "9"

then

ui_print("-- Logo2Wake and Logo2Menu");

package_extract_dir("additions/kernel/tbalden/additions/logo2wakelogo2menu", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_on", "/system");

endif;

if

file_getprop("/tmp/aroma-data/map.prop","selected.0") == "10"

then

ui_print("-- Sweep2Wake and Logo unmapped/No sleep");

package_extract_dir("additions/kernel/tbalden/additions/sweep2wake", "/system");

package_extract_dir("additions/kernel/tbalden/additions/logo2menu_kl_off", "/system");

endif;

if

f