[Android Software/Hacking General [Developers Only]] phikal:
I would like to remove the parts in red so the install only asks for wipe or not and wich kernel has to be installed.

### LICENSE:
#
# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
### FILE INFO:
#
# AROMA Installer 2.00 - AROMA Installer Test Script Configuration
# (c) 2011-2012 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
#
# Binary Version : 2.00
# Binary Codename : Dahlia
#
#	Oryginal Updater Script by baadnewz
#	Moded - Phikal

ini_set("rom_name",	"Evolver 3D");
ini_set("rom_version",	"2.4");
ini_set("rom_author",	"Phikal");
ini_set("rom_device",	"HTC Evo 3D GSM");
ini_set("rom_date",	"August, 04 2012");

splash(4000, "splash");

fontresload( "0", "ttf/DroidSans.ttf", "12" );
fontresload( "1", "ttf/DroidSans.ttf", "18" );

calibrate("1.7361","33","0.9158","13");

#-- Theme in /tmp/aroma/theme.prop
theme;

viewbox(
"Welcome",
"\n\n\n\n\n"+
"You're about to flash\n<b>"+
ini_get("rom_name") + "</b> by <b> " + ini_get("rom_author") +
"</b>\n\n\n"+
" Version: <#080>" + ini_get("rom_version") + "</#>\n"+
" Device: <#080>" + ini_get("rom_device") + "</#>\n\n\n"+
"Press Next to continue the installation...",
"icons/info"
);

agreebox(
"Terms Of Use",
"Please read the Terms of Use ...",
"icons/agreement",
resread("agreement.txt"),
"I Agree with this Terms Of Use...",
"Please check the agreement..."
);

textbox(
"Changelog",
"Yoda's ICS Changelog",
"icons/info",
resread("changelogs.txt")
);

appendvar("installmsg","\n\nPlease Select Installation Type Below:");

selectbox(
"Do you want to perform a full wipe?",
"Please Select:",
"icons/apps",
"wipe.prop",

"Install w/out wiping",	"At You Own Risk :)",1,
"Perform a full wipe",	"Your SDCARD won't be touch",0

);

[COLOR="Red"]appendvar("installmsg","\n\nPlease Select Friend Stream Installation Type:");

selectbox(
"Select FriendStream Installation Type:",
"Please Select:",
"icons/apps",
"FriendStream.prop",

"Install Full FriendStream",	"FriendStream + Tweeter + Facebook (Stock)",0,
"Install Only Facebook",	"Install Facebook (From Market)",1,
"Do Not Install Anything",	"Do Not Install Anything From FriendStream Files",0

);[/COLOR]

appendvar("installmsg","\n\nPlease Select Kernel:");

selectbox(
"Select Kernel Version:",
"Please Select:",
"icons/apps",
"kernels.prop",

"HTC Stock Kernel",	"HTC Stock Kernel + Init.d support",0,
"Yoda's OC Kernel v2.1 GPU OC 320/266",	"Compiled From Sources Kernel With CPU/GPU OC",1,
"Yoda's OC Kernel v2.1 GPU OC 266/200",	"Compiled From Sources Kernel With CPU OC",0

);

[COLOR="Red"]checkbox(
"Remove useless (for you) Stuff",
"Check the ones you want to REMOVE:",
"icons/personalize",
"remove.prop",

"HTC Talk",	"HTC Talk",0,
"HTC Transfer",	"Transfer Data Between Phones",1,
"HTC Watch",	"HTCs PPV service",0,
"HTC Hub",	"HTC Hub",0,
"HTC Dock",	"Desktop mode with Media and Social network stuff",1,
"Flickr",	"Flickr support",1,
"Mail",	"HTC Mail app - not Gmail !",0,
"Google Maps + Street",	"Google Maps + Street",1,
"Adobe Reader",	"Adobe Reader",0,
"Dropbox",	"Dropbox",0,
"TitaniumBackup",	"Backup app",0,
"Total Commander",	"File manager",0
);[/COLOR]

viewbox(
"Ready To Install",
"All required information has been gathered for this installation.\n\n"+
"Click next to begin...",
"icons/info"
);

ini_set("text_next", "Finish");

install(
"Installing",
"Installing <b>" + ini_get("rom_name") + "</b> " + ini_get("rom_version") +
"...\nPlease wait until it finished...",
"icons/install"
);

checkviewbox(
"Installation was successful!",
"You are now running <b>"+ini_get("rom_name")+"</b> :)\n\n"+
"<#selectbg_g><b>Donations are welcome :)\n</b></#>\n\n",
"@welcome",
"Reboot my device now.",
"0",
"reboot_it"
);

if getvar("reboot_it")=="1" then reboot("onfinish");
endif;

Maybe updater.script has to be edited too :confused:

#Oryginal Updater Script by baadnewz
#Moded - Phikal

show_progress(0.500000, 0);

assert(
getprop("ro.product.device") == "shooteru"
);

ui_print("ROM: Evolver 3D v2.4");
ui_print(" ");
show_progress(0.500000, 40);

#[ OPTIONAL FULL WIPE ]#
if
file_getprop("/tmp/aroma-data/wipe.prop","selected.0") == "2"
then
set_progress(0.01);
ui_print("@Executing Full Wipe");
ui_print("-- Erasing & formatting /cache as EXT4");
unmount("/cache");
run_program("/sbin/erase_image", "cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p24");
run_program("/sbin/sleep", "2");

set_progress(0.02);
ui_print("-- Erasing & formatting /system as EXT4");
unmount("/system");
run_program("/sbin/erase_image", "system");
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
run_program("/sbin/sleep", "2");

set_progress(0.03);
ui_print("-- Erasing & formatting /data as EXT4");
unmount("/data");
run_program("/sbin/erase_image", "userdata");
format("ext4", "EMMC", "/dev/block/mmcblk0p23");
run_program("/sbin/sleep", "2");

set_progress(0.04);
ui_print("-- Erasing /boot partition");
unmount("/boot");
run_program("/sbin/erase_image", "boot");
run_program("/sbin/sleep", "2");

set_progress(0.05);
ui_print("-- Removing system files from SD Card");
delete_recursive("/sdcard/LazyList");
delete_recursive("/sdcard/LOST.DIR");
run_program("/sbin/sleep", "2");

set_progress(0.06);
ui_print("-- Checking filesystems for errors");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p22");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p23");
run_program("/sbin/e2fsck", "-p", "/dev/block/mmcblk0p24");
run_program("/sbin/sleep", "2");
endif;

set_progress(0.07);
show_progress(0.07, 9);
ui_print("-Writing Data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");
package_extract_dir("data", "/data");

set_progress(0.08);
show_progress(0.7,1380);
format("ext4", "EMMC", "/dev/block/mmcblk0p22");
ui_print("-Writing System");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("system", "/system");

set_progress(0.9);
ui_print("-Setting symlinks");

symlink("dumpstate", "/system/bin/dumpcrash");
symlink("toolbox", "/system/bin/cat");
symlink("toolbox", "/system/bin/chmod");
symlink("toolbox", "/system/bin/chown");
symlink("toolbox", "/system/bin/chownto");
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/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("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/uptime");
symlink("toolbox", "/system/bin/vmstat");
symlink("toolbox", "/system/bin/watchprops");
symlink("toolbox", "/system/bin/wipe");
symlink("/system/bin/mksh", "/system/bin/sh");
symlink("/system/fonts/Roboto-Regular.ttf","/system/fonts/DroidSans.ttf");
symlink("/system/fonts/Roboto-Bold.ttf","/system/fonts/DroidSans-Bold.ttf");
symlink("/proc/calibration", "/system/etc/calibration");

set_progress(0.93);
ui_print("-Setting permissions");
set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 2000, 0775, "/system/bin/iptables");
set_perm_recursive(1002, 1002, 0775, 0440, "/system/etc/bluez");
set_perm(0, 0, 0775, "/system/etc/bluez");
set_perm(1000, 1000, 0755, "/system/bin/bash");
set_perm(1000, 1000, 0755, "/system/bin/nano");
set_perm(1000, 1000, 0755, "/system/bin/sysro");
set_perm(1000, 1000, 0755, "/system/bin/sysrw");
set_perm(1000, 1000, 0755, "/system/xbin/openvpn");
set_perm(0, 3003, 0755, "/system/bin/ip");
set_perm(0, 3003, 0755, "/system/bin/ipd");
set_perm(0, 2000, 06755, "/system/bin/reboot");
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(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, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d/40ext4tweaks");
set_perm(0, 0, 0755, "/system/etc/init.d/60sysctl");
set_perm(0, 0, 0755, "/system/etc/init.d/80darky_zipalign");
set_perm(0, 0, 0755, "/system/etc/init.d/90caplights");
set_perm(0, 0, 0755, "/system/etc/init.d/99complete");
set_perm(0, 2000, 0755, "/system/bin/zipalign_apks");
set_perm(0, 0, 0755, "/system/bin/fix_permissions");
set_perm(0, 0, 0644, "/system/app/AudioEffectService.apk");
set_perm(0, 0, 0644, "/system/etc/audio_effects.conf");
set_perm(0, 0, 0644, "/system/etc/permissions/com.sonyericsson.audioeffectif.xml");
set_perm(0, 0, 0644, "/system/framework/sem_caudioeffectif.jar");
set_perm(0, 0, 0644, "/system/lib/hw/audio.primary.msm7x30.so");
set_perm(0, 0, 0644, "/system/lib/soundfx/libxloudwrapper.so");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm(0, 0, 04755, "/system/bin/sh");
set_perm_recursive(1000, 1000, 0771, 0644, "/system/mnt");
set_perm_recursive(0, 0, 0755, 0555, "/system/etc/ppp");
set_perm(0, 2000, 0755, "/system/vendor/firmware");
package_extract_file("installbusybox", "/tmp/installbusybox");
set_perm(0, 0, 0777, "/tmp/installbusybox");
run_program("/tmp/installbusybox");

# Running user choose settings.

# Remove

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.1") == "1"
then
ui_print("-> Removing HTC Talk");
delete("/system/app/Talk.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.2") == "1"
then
ui_print("-> Removing HTC Transfer");
delete("/system/app/Transfer-rider-8.35.0.32-ICS-S35-released.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.3") == "1"
then
ui_print("-> Removing HTC Watch");
delete("/system/app/htcwatchwidget3d.apk");
delete("/system/app/WatchApp.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.4") == "1"
then
ui_print("-> Removing HTC Hub");
delete("/system/app/HtcStore.apk");
delete("/system/app/HtcStoreWidget.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.5") == "1"
then
ui_print("-> Removing HTC Dock");
delete("/system/app/DockMode.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.6") == "1"
then
ui_print("-> Removing Flickr");
delete("/system/app/Flickr.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.7") == "1"
then
ui_print("-> Removing HTC Mail");
delete("/system/app/htcmailwidgets3d.apk");
delete("/system/app/Mail.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.8") == "1"
then
ui_print("-> Removing Google Maps");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.9") == "1"
then
ui_print("-> Removing Adobe Reader");
delete("/data/app/com.adobe.reader-1.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.10") == "1"
then
ui_print("-> Removing Dropbox");
delete("/data/app/com.dropbox.android-1.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.11") == "1"
then
ui_print("-> Removing Titanium Backup");
delete("/data/app/com.keramidas.TitaniumBackup-1.apk");
endif;

if
file_getprop("/tmp/aroma-data/remove.prop","item.0.12") == "1"
then
ui_print("-> Removing Total Commander");
delete("/data/app/tcandroid103.apk");
endif;

# END Remove

# Friend Stream

if
file_getprop("/tmp/aroma-data/FriendStream.prop","selected.0") == "1"
then
ui_print("-> Install Full FriendStream");
delete("/data/app/com.facebook.katana-1.apk");
endif;

if
file_getprop("/tmp/aroma-data/FriendStream.prop","selected.0") == "2"
then
ui_print("-> Install Only Facebook");
delete("/system/app/com.htc.FriendStream3DWidget.apk");
delete("/system/app/com.htc.Twitter3DWidget.apk");
delete("/system/app/Facebook_Client.apk");
delete("/system/app/FriendStream.apk");
delete("/system/app/HtcFacebook.apk");
delete("/system/app/HtcFacebookChat.apk");
delete("/system/app/HtcFacebookChatWidget.apk");
delete("/system/app/HtcTwitter.apk");
delete("/system/app/Twitter.apk");
endif;

if
file_getprop("/tmp/aroma-data/FriendStream.prop","selected.0") == "3"
then
ui_print("-> Removing All Friend Stream Files");
delete("/system/app/com.htc.FriendStream3DWidget.apk");
delete("/system/app/com.htc.Twitter3DWidget.apk");
delete("/system/app/Facebook_Client.apk");
delete("/system/app/FriendStream.apk");
delete("/system/app/HtcFacebook.apk");
delete("/system/app/HtcFacebookChat.apk");
delete("/system/app/HtcFacebookChatWidget.apk");
delete("/system/app/HtcTwitter.apk");
delete("/system/app/Twitter.apk");
delete("/data/app/com.facebook.katana-1.apk");
endif;

# END Friend Stream

ui_print("-Deleting Dalvik-Cache");
delete_recursive("/data/dalvik-cache");
delete_recursive("/data/resource-cache");
delete_recursive("/sdcard/.data/navigator/Data/Temporary");
delete_recursive("/sdcard/LazyList");
delete_recursive("/sdcard/LOST.DIR");

set_progress(0.99);

ui_print("-Updating Kernel");

if file_getprop("/tmp/aroma/kernels.prop","selected.0") == "1"
then
ui_print("-- Installing HTC Kernel");
ui_print("-- Extracting boot.img");
assert(package_extract_file("Kernels/stock/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"));
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("Kernels/stock/system","/system");
endif;

if file_getprop("/tmp/aroma/kernels.prop","selected.0") == "2"
then
ui_print("-- Installing Yoda's OC Kernel");
ui_print("-- Extracting boot.img");
assert(package_extract_file("Kernels/yoda320_266/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"));
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("Kernels/yoda320_266/system","/system");
endif;

if file_getprop("/tmp/aroma/kernels.prop","selected.0") == "3"
then
ui_print("-- Installing Yoda's OC Kernel");
ui_print("-- Extracting boot.img");
assert(package_extract_file("Kernels/yoda266_200/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"));
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");
package_extract_dir("Kernels/yoda266_200/system","/system");
endif;

unmount("/data");
unmount("/system");
unmount("/boot");
ui_print("-Cleaning up");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/mmcblk0p24");

set_progress(1.0);
ui_print(" ");
ui_print("-Done.");
ui_print("-Enjoy");