[Android Software/Hacking General [Developers Only]] kinghunki:
amarullz, thank you very much, you may not understand what I mean, select the "#-- 自动模式" to call in the updater script file ”#--自动模式“ the command, instead of doing the default choice.

this is aroma-config file:

#
# STEP 7 - SELECT MAIN MODS
#
#-- 自动模式
if prop("type.prop","selected")=="1" then

writetmpfile(
#-- Prop file will write to /tmp/aroma/mods.prop
"mods.prop",

#-- Default Values
"selected.1=1\n"+ #-- Group 1, default: 1
"selected.2=2\n"+ #-- Group 2, default: 2
"selected.3=1\n" #-- Group 3, default: 1
);

endif;

#-- 手动模式
if prop("type.prop","selected")=="2" then

selectbox(
"刷机模式选择",
"请从下面列表选择适合您的模式:",
"icons/apps",
"mods.prop",

"选择机型：HTC&T","",2,
"安装T版机型ROM",
"T版不需要分区", 1,
"安装HTC版机型ROM",
"HTC版需要TF卡有1G以上EXT分区",0,

"开启Swap分区","",2,
"开启Swap",
"开启Swap,会加快一些大型软件、游戏的速度,前提你的卡有swap分区", 0,
"不开启Swap",
"不开启", 1,

"选择引导方式 ：MAGLDR 与 Clk","",2,
"Clk方式",
"请使用 Clk-1.65与Recovery-v5.0.2.7",1,
"MAGLDR方式",
"请使用 MAGLDR-1.13_DAF与Recovery-v5.0.2.7", 0
);
endif;

##
# Next Screen is Installation UI, So change the next button text to "Install Now"
#
ini_set("text_next", "开始安装");

###################################################################################################################
#
# STEP 8 - MAKE SURE USER KNOW THAT NEXT STEP WAS INSTALLATION PROCESS
#
viewbox(
#-- Title
"准备安装",

#-- Text
"准备开始安装.\n\n"+
"选择 <b>开始安装</b> 进行ROM安装过程.\n\n"+
"如果您要查看或更改安装设置，请按<b>返回</b>键，返回查看.也可以按“Menu”键，选择退出安装向导.",

#-- Icon
"@install"
);

##
#
# Next Button in successfull installation should be back to "Next >"
#
ini_set("text_next", "下一步 >");

###################################################################################################################
#
# STEP 9 - INSTALLATION PROCESS
#
setvar("retstatus",
install(
#-- Title
"安装中...",

#-- Installation Process message
"<b>"+ini_get("rom_name")+"</b> 正在安装...\n\n"+
"请稍候，正在安装： <b>"+ini_get("rom_name")+
"</b>. 这可能需要几分钟.",

#-- Installation Icon
"@install",

#-- Installation Finish Message
"安装向导已成功安装： <b>"+ini_get("rom_name")+
"</b>. 选择下一步继续."
)
);

##
#
# Next Button is "Finish"
#
ini_set("text_next", "完成");

This is Updater-script:

#-- 自动模式
if
file_getprop("/tmp/aroma-data/type.prop","selected.1") == "1"
then
ui_print("> Querying device info");
run_program("/tmp/checksys.sh");
show_progress(0.200000, 0);
ui_print("> Extracting system");
package_extract_dir("system", "/system");

if file_getprop("/tmp/device.prop","swap") == "true"
then
ui_print("> Enabling swap");
package_extract_dir("additions/swap", "/system/etc/init.d");
endif;

show_progress(0.200000, 0);

if file_getprop("/tmp/device.prop","clk") == "true"
then
ui_print("> Writing cLK kernel");
assert(package_extract_file("additions/clk/boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
package_extract_dir("additions/clk/system", "/system");
else
ui_print("> Writing MAGLDR kernel");
mount("MTD", "boot", "/boot");
package_extract_dir("boot", "/boot");
unmount("/boot");
endif;

if file_getprop("/tmp/device.prop","tmous") == "true"
then
show_progress(0.200000, 0);
ui_print("> Creating folders");
run_program("/sbin/mkdir", "/data/app_s");
run_program("/sbin/mkdir", "/data/framework_s");
run_program("/sbin/mkdir", "/data/media");
ui_print("> Extracting data");
package_extract_dir("data", "/data");
package_extract_dir("sysparts/app_s", "/data/app_s");
package_extract_dir("sysparts/framework_s", "/data/framework_s");
package_extract_dir("sysparts/media", "/data/media");
show_progress(0.200000, 0);
ui_print("> Setting permissions");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/framework_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/media");
ui_print("> Updating system");
package_extract_dir("additions/tmous/system", "/system");

if file_getprop("/tmp/device.prop","clk") == "true"
then
package_extract_dir("additions/tmous/clk", "/system");
endif;

if file_getprop("/tmp/device.prop","swap") == "true"
then
package_extract_dir("additions/tmous/swap", "/system/etc/init.d");
endif;

ui_print("> Creating symlinks");
symlink("/data/app_s","/system/app");
symlink("/data/framework_s","/system/framework");
symlink("/data/media/weather","/system/media/weather");
else
show_progress(0.200000, 0);
endif;

ui_print("> Creating folders");
run_program("/sbin/mkdir", "/sd-ext");
run_program("/sbin/mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
run_program("/sbin/mkdir", "/sd-ext/app_s");
run_program("/sbin/mkdir", "/sd-ext/framework_s");
run_program("/sbin/mkdir", "/sd-ext/media");
ui_print("> Extracting data");
package_extract_dir("data/app", "/sd-ext/app");
package_extract_dir("sysparts/app_s", "/sd-ext/app_s");
package_extract_dir("sysparts/framework_s", "/sd-ext/framework_s");
package_extract_dir("sysparts/media", "/sd-ext/media");
package_extract_dir("additions/app2sd", "/system/etc/init.d");
show_progress(0.200000, 0);
ui_print("> Setting permissions");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/framework_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/media");
ui_print("> Creating symlinks");
symlink("/sd-ext/app_s","/system/app");
symlink("/sd-ext/framework_s","/system/framework");
symlink("/sd-ext/media/weather","/system/media/weather");
unmount("/sd-ext");
endif;

#-- 手动模式
if
file_getprop("/tmp/aroma-data/type.prop","selected.1") == "2"

then
if file_getprop("/tmp/aroma-data/mods.prop","selected.1") == "1"
then
ui_print(">> Installing Tmous...");
ui_print(" ");
show_progress(0.500000, 0);
run_program("/sbin/mkdir", "/data/app_s");
run_program("/sbin/mkdir", "/data/framework_s");
run_program("/sbin/mkdir", "/data/media");
package_extract_dir("system", "/system");
package_extract_dir("data", "/data");
package_extract_dir("sysparts/app_s", "/data/app_s");
package_extract_dir("sysparts/framework_s", "/data/framework_s");
package_extract_dir("sysparts/media", "/data/media");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/framework_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/media");
package_extract_dir("other/tmous/system", "/system");
symlink("/data/app_s","/system/app");
symlink("/data/framework_s","/system/framework");
symlink("/data/media/weather","/system/media/weather");
run_program("/tmp/checksys.sh");
if file_getprop("/tmp/device.prop","clk") == "true"
then
package_extract_dir("other/tmous/clk", "/system");
endif;
endif;

if file_getprop("/tmp/aroma-data/mods.prop","selected.1") == "2"
then
ui_print(">> Installing HTC ...");
ui_print(" ");
show_progress(0.500000, 0);
run_program("/sbin/mkdir", "/sd-ext");
run_program("/sbin/mount", "-t", "auto", "/dev/block/mmcblk0p2", "/sd-ext");
run_program("/sbin/mkdir", "/sd-ext/app_s");
run_program("/sbin/mkdir", "/sd-ext/framework_s");
run_program("/sbin/mkdir", "/sd-ext/media");
package_extract_dir("system", "/system");
package_extract_dir("data/app", "/sd-ext/app");
package_extract_dir("data/data", "/data/data");
package_extract_dir("sysparts/app_s", "/sd-ext/app_s");
package_extract_dir("sysparts/framework_s", "/sd-ext/framework_s");
package_extract_dir("sysparts/media", "/sd-ext/media");
package_extract_dir("other/app2sd", "/system/etc/init.d");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/app_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/framework_s");
set_perm_recursive(1000, 1000, 0771, 0644, "/sd-ext/media");
symlink("/sd-ext/app_s","/system/app");
symlink("/sd-ext/framework_s","/system/framework");
symlink("/sd-ext/media/weather","/system/media/weather");
endif;

if file_getprop("/tmp/aroma-data/mods.prop","selected.2") == "1"
then
ui_print(">> Enabling Swap...");
ui_print(" ");
package_extract_dir("other/swap", "/system/etc/init.d");
else
ui_print(">> Swap OFF!");
ui_print(" ");
endif;

if file_getprop("/tmp/aroma-data/mods.prop","selected.3") == "1"
then

ui_print(">> Installing CLK ...");
ui_print(" ");
show_progress(0.700000, 0);
package_extract_file("kernels/boot.img", "/tmp/boot.img");
write_raw_image("/tmp/boot.img", "boot");
delete("/tmp/boot.img");
package_extract_dir("kernels/clk", "/system");
unmount("/boot");
endif;

if file_getprop("/tmp/aroma-data/mods.prop","selected.3") == "2"
then
ui_print(">> Installing MAGLDR ... ");
ui_print(" ");
show_progress(0.700000, 0);
mount("MTD", "boot", "/boot");
package_extract_dir("kernels/boot", "/boot");
unmount("/boot");
endif;
endif;

Aroma-config, select "自动模式" run Updater-script in "#--自动模式" command, select aroma-config go to the step9 later..