[Android Software/Hacking General [Developers Only]] carl1961:
In my opinon this would be a rather large rom (over 800MB ++) to download, 3 sets of roms deodex and odex for each rom and really complicated to keep up with in scripts

much easer to do 6 diffrent roms and not be double roms so If I want deodex rom why should I have to download odex? and your downloaders would be happy, look at just a sample would be like ( and the code here is yet to be worked out)

#First Screen - select ROM
selectbox(
"Select Your Rom",
"<Please select Your ROM Choice Below",
"icons/install",
"selectrom.prop",

"Your ROM Choice","",2,
"SOS X",
"install SOS X",1,
"SOS S",
"Install SOS S",0,
"SOS N",
"Install SOS N",0

);

#Second Screen - select "DEX"
selectbox(
"DEODEX or ODEX Files",
"<Please select DEODEX or ODEX Choice Below",
"icons/install",
"deodex.prop",

"DEODEX or ODEX","",2,
"DEODEX",
"install DEODEX Files",1,
"ODEX",
"Install ODEX Files",0

);

# Third Screen - select install type

selectbox(
"Select Rom Setup Type",
"Please select ROM setup type below",
"icons/install",
"type.prop",

"Stock Or Customized Install","",2,
"Custom Install",
"Install only selected packages into your phone",1,
"Default Stock Install",
"Install default stock recommended packages into your phone",0

);

# Fourth Screen - mods.prop for each ROM Type

if
file_getprop("/tmp/aroma-data/selectrom.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/type.prop","selected.1") == "1"
then

checkbox(
"Customized Install",
"Please UnCheck any Applications, Mods, Services which you do not want Install in the list below:",
"icons/personalize",
"mod1.prop",
#1
# Applications:
"Applications","",2,
"Adobe FlashPlayer","Bring the FULL web to your device with Flash Player",1,
"Adobe Reader", "The global standard for reliably viewing and sharing PDF documents",1,
"FBReader", "Free (GPL) e-book reader for Android",1,

#2
"Internet & Social Networking","",2,
"Facebook", "Share and stay connected with your friends with the Facebook for Android app",1,
"Twitter", "Follow your interests: instant updates from your friends",1,

#4

"HTC Applications","",2,
"Friendstream", "Show your friends update via HTC Sense Friendstream", 1,
"News Reader", "RSS Reader with HTC Sense News Widget",1,

);
else
# Default .prop
writetmpfile(
"mod1.prop",
"item.1.1=1\n"+
"item.1.2=1\n"+
"item.1.3=1\n"+

"item.2.1=1\n"+
"item.2.2=1\n"+

"item.3.1=0\n"+
"item.3.2=0\n"+

"item.4.1=1\n"+
"item.4.2=1\n"+
);
endif;

# Fourth Screen - mods.prop for each ROM Type

if
file_getprop("/tmp/aroma-data/selectrom.prop","selected.1") == "2" &&
file_getprop("/tmp/aroma-data/type.prop","selected.1") == "1"
then

checkbox(
"Customized Install",
"Please UnCheck any Applications, Mods, Services which you do not want Install in the list below:",
"icons/personalize",
"mod2.prop",
#1
# Applications:
"Applications","",2,
"Adobe FlashPlayer","Bring the FULL web to your device with Flash Player",1,
"Adobe Reader", "The global standard for reliably viewing and sharing PDF documents",1,
"FBReader", "Free (GPL) e-book reader for Android",1,

#2
"Internet & Social Networking","",2,
"Facebook", "Share and stay connected with your friends with the Facebook for Android app",1,
"Twitter", "Follow your interests: instant updates from your friends",1,

#4

"HTC Applications","",2,
"Friendstream", "Show your friends update via HTC Sense Friendstream", 1,
"News Reader", "RSS Reader with HTC Sense News Widget",1,

);
else
# Default .prop
writetmpfile(
"mod2.prop",
"item.1.1=1\n"+
"item.1.2=1\n"+
"item.1.3=1\n"+

"item.2.1=1\n"+
"item.2.2=1\n"+

"item.3.1=0\n"+
"item.3.2=0\n"+

"item.4.1=1\n"+
"item.4.2=1\n"+
);
endif;

# Fourth Screen - mods.prop for each ROM Type

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

checkbox(
"Customized Install",
"Please UnCheck any Applications, Mods, Services which you do not want Install in the list below:",
"icons/personalize",
"mod3.prop",
#1
# Applications:
"Applications","",2,
"Adobe FlashPlayer","Bring the FULL web to your device with Flash Player",1,
"Adobe Reader", "The global standard for reliably viewing and sharing PDF documents",1,
"FBReader", "Free (GPL) e-book reader for Android",1,

#2
"Internet & Social Networking","",2,
"Facebook", "Share and stay connected with your friends with the Facebook for Android app",1,
"Twitter", "Follow your interests: instant updates from your friends",1,

#4

"HTC Applications","",2,
"Friendstream", "Show your friends update via HTC Sense Friendstream", 1,
"News Reader", "RSS Reader with HTC Sense News Widget",1,

);
else
# Default .prop
writetmpfile(
"mod3.prop",
"item.1.1=1\n"+
"item.1.2=1\n"+
"item.1.3=1\n"+

"item.2.1=1\n"+
"item.2.2=1\n"+

"item.3.1=0\n"+
"item.3.2=0\n"+

"item.4.1=1\n"+
"item.4.2=1\n"+
);
endif;

If you want multi language then you'll need to set symbolic links (keys)

# Third Screen - select install type symbolic links (keys) example:
selectbox(
"<~selectromsetuptype>",
"<~pleaseselectromsetuptypebelow>",
"icons/install",
"type.prop",

"<~stockorcustomizeinstall>","",2,
"<~customizeinstall>",
"<~iospiyp>",1,
"<~defaultstockinstall>",
"<~idsrpiyp>",0

);

en.lang (in langs folder)

selectromsetuptype=Select ROM Setup Type
pleaseselectromsetuptypebelow=Please Select ROM Setup Type Below:
stockorcustomizeinstall=Stock Or Customize Install
customizeinstall=Customize Install
iospiyp=Install only selected packages into your phone
defaultstockinstall=Default Stock Install
idsrpiyp=Install default stock recommended packages into your phone

cn.lang (in langs folder) has to be (UTF-8 file to see special letters cn, ar lang)

selectromsetuptype=選擇ROM安裝類型
pleaseselectromsetuptypebelow=請選擇下面的ROM安裝類型：
stockorcustomizeinstall=股票或自定義安裝
customizeinstall=自定義安裝
iospiyp=只有選擇的軟件包安裝到您的手機
defaultstockinstall=安裝默認的股票推薦
idsrpiyp=安裝默認的股票推薦到您的手機

setting up updater.script will be the hardest part to work out

# Deodex files

if
file_getprop("/tmp/aroma-data/selectrom.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/customize.prop","item.1.1") == "1" &&
file_getprop("/tmp/aroma-data/deodex.prop","selected.1") == "1"

then

i##---- Customize Packages
# Applications:
set_progress(0.7);
# app_adobe_flashplayer
if
file_getprop("/tmp/aroma-data/mod1.prop","item.1.1") == "1"
then
ui_print("@ Installing Package: app_adobe_flashplayer");
package_extract_dir("customize/app/deodex/app_adobe_flashplayer", "/data");
endif;

# app_adobe_reader
if
file_getprop("/tmp/aroma-data/mod1.prop","item.1.2") == "1"
then
ui_print("@ Installing Package: app_adobe_reader");
package_extract_dir("customize/app/deodex/app_adobe_reader", "/data");
endif;

# app_fbjreader
if
file_getprop("/tmp/aroma-data/mod1.prop","item.1.3") == "1"
then
ui_print("@ Installing FBReader");
package_extract_dir("customize/app/deodex/app_fbjreader", "/data");
endif;

# app_social_facebook
if
file_getprop("/tmp/aroma-data/mod1.prop","item.2.1") == "1"
then
ui_print("@ Installing Package: app_social_facebook");
package_extract_dir("customize/app/deodex/app_social_facebook", "/data");
endif;

# app_twitter
if
file_getprop("/tmp/aroma-data/mod1.prop","item.2.2") == "1"
then
ui_print("@ Installing Package: app_twitter");
package_extract_dir("customize/app/deodex/app_twitter", "/data");
endif;

# Tools & File Manager

# app_filemanager_estrongs
if
file_getprop("/tmp/aroma-data/mod1.prop","item.3.1") == "1"
then
ui_print("@ Installing Package: app_filemanager_estrongs");
package_extract_dir("customize/app/deodex/app_filemanager_estrongs", "/data");
endif;

# app_tools_backupeverything
if
file_getprop("/tmp/aroma-data/mod1.prop","item.3.2") == "1"
then
ui_print("@ Installing Package: app_tools_backupeverything");
package_extract_dir("customize/app/deodex/app_tools_backupeverything", "/data");
endif;
set_progress(0.9);

# htc_friendstream
if
file_getprop("/tmp/aroma-data/customize.prop","item.4.1") == "1"
then
ui_print("@ Installing Package: htc_friendstream");
package_extract_dir("customize/app/deodex/htc_friendstream", "/data");
endif;

# htc_greader
if
file_getprop("/tmp/aroma-data/customize.prop","item.4.2") == "1"
then
ui_print("@ Installing Package: htc_greader");
package_extract_dir("customize/app/deodex/htc_greader", "/data");
endif;

else
# Odex files

if
file_getprop("/tmp/aroma-data/selectrom.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/type.prop","selected.1") == "1" &&
file_getprop("/tmp/aroma-data/deodex.prop","selected.1") == "2"

then

i##---- Customize Packages
# Applications:
set_progress(0.7);
# app_adobe_flashplayer
if
file_getprop("/tmp/aroma-data/mod1.prop","item.1.1") == "1"
then
ui_print("@ Installing Package: app_adobe_flashplayer");
package_extract_dir("customize/app/odex/app_adobe_flashplayer", "/data");
endif;

# app_adobe_reader
if
file_getprop("/tmp/aroma-data/mod1.prop","item.1.2") == "1"
then
ui_print("@ Installing Package: app_adobe_reader");
package_extract_dir("customize/app/odex/app_adobe_reader", "/data");
endif;

# app_fbjreader
if
file_getprop("/tmp/aroma-data/mod1.prop","item.1.3") == "1"
then
ui_print("@ Installing FBReader");
package_extract_dir("customize/app/odex/app_fbjreader", "/data");
endif;

# app_social_facebook
if
file_getprop("/tmp/aroma-data/mod1.prop","item.2.1") == "1"
then
ui_print("@ Installing Package: app_social_facebook");
package_extract_dir("customize/app/odex/app_social_facebook", "/data");
endif;

# app_twitter
if
file_getprop("/tmp/aroma-data/mod1.prop","item.2.2") == "1"
then
ui_print("@ Installing Package: app_twitter");
package_extract_dir("customize/app/odex/app_twitter", "/data");
endif;

# Tools & File Manager

# app_filemanager_estrongs
if
file_getprop("/tmp/aroma-data/mod1.prop","item.3.1") == "1"
then
ui_print("@ Installing Package: app_filemanager_estrongs");
package_extract_dir("customize/app/odex/app_filemanager_estrongs", "/data");
endif;

# app_tools_backupeverything
if
file_getprop("/tmp/aroma-data/mod1.prop","item.3.2") == "1"
then
ui_print("@ Installing Package: app_tools_backupeverything");
package_extract_dir("customize/app/odex/app_tools_backupeverything", "/data");
endif;
set_progress(0.9);

# htc_friendstream
if
file_getprop("/tmp/aroma-data/customize.prop","item.4.1") == "1"
then
ui_print("@ Installing Package: htc_friendstream");
package_extract_dir("customize/app/odex/htc_friendstream", "/data");
endif;

# htc_greader
if
file_getprop("/tmp/aroma-data/customize.prop","item.4.2") == "1"
then
ui_print("@ Installing Package: htc_greader");
package_extract_dir("customize/app/odex/htc_greader", "/data");
endif;

else

you would need this for each mod mod1 (rom1), mod2, rom2)and mod3 rom3)

---------- Post added at 05:31 AM ---------- Previous post was at 05:03 AM ----------

Turge do you have anything in updater script that uses /tmp folder?

like a alignment for /ext I had that issue when trying to add coole's alignment script, it messed with aroma installer and froze aroma when ypr press log or finish

---------- Post added at 05:57 AM ---------- Previous post was at 05:31 AM ----------

UrDroid_2.0_CLK_MGLDR_EU_TMOUS_Runnymede_1.27.1400.4_Sense_3.5_marc1706_0.2.0_kernel.zip

Using amarullz AROMA Installer DAHLIA - 2.00 - NIGHTLY BUILD 120414-010

Multi Language "English,Indonesian,Espanol,Simplified Chinese,Arabic,French,

Russian,Italian,Dutch,Polish,Serbian

12 languages ( I'm sure google made mistakes, not me :D ) also I'm sure there or maybe better ways I could have done the script's

test run of just aroma installer (Just a Dummy Updater Script, Updater Script Does not Install Anything)

UrDroid_2.0_aroma_script_test_META-INF.zip​