[Android Software/Hacking General [Developers Only]] ShaneDiNozzo:
Sorry! Here is the full script:

ui_print("Start flashing");

run_program("/sbin/busybox", "mount", "/system");

set_progress(0.0);

ui_print(" ");

ui_print(" ");

ui_print(" ");

ui_print(" ");

if

file_getprop("/tmp/aroma/remove.prop","item.1.1") == "1"

then

ui_print("Remove Email app...");

delete("/system/app/Email.apk");

delete("/system/app/Exchange2.apk");

delete("/system/app/Email2.apk");

ui_print(" ");

ui_print("Done!");

endif;

ui_print(" ");

set_progress(0.10);

ui_print(" ");

if

file_getprop("/tmp/aroma/remove.prop","item.1.2") == "1"

then

ui_print("Remove Focal app...");

delete("/system/app/Focal.apk");

ui_print(" ");

ui_print("Done!");

endif;

ui_print(" ");

set_progress(0.20);

ui_print(" ");

if

file_getprop("/tmp/aroma/remove.prop","item.1.3") == "1"

then

ui_print("Remove Voice Dialer app...");

delete("/system/app/VoiceDialer.apk");

ui_print(" ");

ui_print("Done!");

endif;

ui_print(" ");

set_progress(0.30);

ui_print(" ");

if

file_getprop("/tmp/aroma/remove.prop","item.1.4") == "1"

then

ui_print("Remove News and Weather app...");

delete("/system/app/GenieWidget.apk");

ui_print(" ");

ui_print("Done!");

endif;

ui_print(" ");

set_progress(0.40);

ui_print(" ");

if

file_getprop("/tmp/aroma/remove.prop","item.1.5") == "1"

then

ui_print("Remove Movie Studio app...");

delete("/system/app/VideoEditor.apk");

ui_print(" ");

ui_print("Done!");

endif;

ui_print(" ");

set_progress(0.50);

ui_print(" ");

if

file_getprop("/tmp/aroma/remove.prop","item.1.6") == "1"

then

ui_print("Remove Goole Search app...");

delete("/system/app/QuickSearchBox.apk");

ui_print(" ");

ui_print("Done!");

endif;

ui_print("works");

endif;

ui_print(" ");

set_progress(0.60);

ui_print(" ");

ui_print(" ");

if

file_getprop("/tmp/aroma/install.prop","item.1.1") == "1"

then

ui_print("Install Nova Launcher to /system...");

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

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

ui_print(" ");

ui_print("Nova Launcher installed!");

endif;

ui_print(" ");

set_progress(0.70);

ui_print(" ");

if

file_getprop("/tmp/aroma/install.prop","item.1.2") == "1"

then

ui_print("Install Play Legacy to /system...");

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

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

ui_print(" ");

ui_print("Play Legacy installed!");

endif;

ui_print(" ");

set_progress(0.75);

ui_print(" ");

if

file_getprop("/tmp/aroma/install.prop","item.1.3") == "1"

then

ui_print("Install Terminal Emulator to /system...");

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

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

ui_print(" ");

ui_print("Terminal Emulator installed!");

endif;

ui_print(" ");

set_progress(0.80);

ui_print(" ");

if

file_getprop("/tmp/aroma/install.prop","item.1.4") == "1"

then

ui_print("Install Total Commander to /system...");

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

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

ui_print(" ");

ui_print("Total Commander installed!");

endif;

ui_print(" ");

set_progress(0.85);

ui_print(" ");

ui_print(" ");

if

file_getprop("/tmp/aroma/kernel.prop","selected.1") == "1"

then

ui_print("Flashing franco.Kernel...");

mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");

assert(getprop("ro.product.device") == "grouper" || getprop("ro.build.product") == "grouper" ||

getprop("ro.product.device") == "tilapia" || getprop("ro.build.product") == "tilapia");

run_program("/sbin/sh", "-c", "mkdir /system/etc/init.d");

set_perm_recursive(0, 0, 0755, 0755, "/system/etc/init.d");

unmount("/system");

assert(package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX"));

ui_print(" ");

ui_print("Kernel flashed succesfully!");

endif;

ui_print(" ");

set_progress(0.90);

ui_print(" ");

if

file_getprop("/tmp/aroma/wipe.prop","item.1.1") == "1"

then

ui_print("Wipe cache partition...");

delete_recursive("/cache");

ui_print(" ");

ui_print("/cahce wiped!");

endif;

ui_print(" ");

set_progress(0.95);

ui_print(" ");

if

file_getprop("/tmp/aroma/wipe.prop","item.1.2") == "1"

then

ui_print("Wipe dalvik-cache...");

delete_recursive("/data/dalvik-cache");

ui_print(" ");

ui_print("Dalvik-cahce wiped!");

endif;

run_program("/sbin/busybox", "umount", "/system");

delete_recursive("/tmp/aroma");

ui_print(" ");

set_progress(1.0);

ui_print(" ");

ui_print("Please press Next! ");