[Android Software/Hacking General [Developers Only]] maddes1402:
A happy new year everybody :fingers-crossed:

I made an Aroma script with just one huge checkbox to install apps:

checkbox(
"Samsung Apps and Add-ons",
"Prüft, welche Apps und launcher layout ihr installieren wollt:",
"icons/apps",
"adds.prop",

"Update Rom Base","Flasht die eigentliche rom",1,
"Update the kernel","Erneuert den kernel",1,
"Update the Modem","Flasht das enthaltene Modem",1,
"All Share","All share app und service",0,
"ChatOn","ChatOn app",0,
"Clocks","Digital und Analog Uhren",0,
"DropBox","Dropbox app und service",0,
"Fonts","Zusätzliche stock fonts",0,
"Live Wallpaper","Animierte wallpaper",0,
"Samsung Apps","Samsung App store",0,
"Social Hub","Samsung Social hub",0,
"SVoice","Samsung Voice talk",0,
"Yahoo","Yahoo stock und news",0,
"Widgets","Dialer und Favorite widget",0,
"Kies Support und Apps","nur wenn nötig installieren",0,
"smemo","SMemo App",0,
"SecEmail+Exchange","installiert Samsungs Email App",0,
"FmRadio.apk","installiert Samsung Radio App",0,
"SecCalendar.apk","Installiert den Samsung Kalender+widget",0,
"megabassbeats","soundverbesserungsMod",0,
"HandyFAQWunschWallpaper","Spongebob,ResiEvil,Hitman,BVB,Sony",0,
"Samsung Music Player","Installiert den Stock Music Player",0,
"Paper Artist","keine Ahnung, was die App macht, ist aber wohl neu :D",0,
"SlideShow","Samsungs Gestensteuerung",0,
"Gtalk","Gtalk App",0,
"SecNotemyFiles","installiert den Samsung Datei Explorer",0,
"VoiceRecorder","installiert Samsung Sprachaufnahme-App",0,
"Lampe im Sperrbildschirm","aktiviert die Möglichkeit die Taschenlampe im SP zu verwenden",0

);

checkbox(
"Choose aditional mods",
"Please check the ones you want",
"icons/apps",
"custom.prop",

"SecLauncher4x4","Original Samsung Layout",0,
"SecLauncher4x5","4 Icons vertikal 5 horizontal",0,
"SecLauncher4x6","4 Icons vertikal 6 horizontal",0,
"SecLauncher5x6","5 Icons vertikal 6 horizontal",0

);

ui_print("Installing Addional packs ...");
set_progress(0.7);

if file_getprop("/tmp/aroma-data/adds.prop","item.0.4") == "1" then
ui_print("Installing All share");
package_extract_dir("aroma/allshare", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.5") == "1" then
ui_print("Installing ChatOn");
package_extract_dir("aroma/chaton", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.6") == "1" then
ui_print("Installing Clocks");
package_extract_dir("aroma/clock", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.7") == "1" then
ui_print("Installing Dropbox");
package_extract_dir("aroma/dropbox", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.8") == "1" then
ui_print("Installing Fonts");
package_extract_dir("aroma/fonts", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.9") == "1" then
ui_print("Installing LiveWallpaper");
package_extract_dir("aroma/livewallpaper", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.10") == "1" then
ui_print("Installing Samsung App Store");
package_extract_dir("aroma/samsungapps", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.11") == "1" then
ui_print("Installing SocialHub");
package_extract_dir("aroma/socialhub", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.12") == "1" then
ui_print("Installing SVoice");
package_extract_dir("aroma/svoice", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.13") == "1" then
ui_print("Installing Yahoo stock and news");
package_extract_dir("aroma/yahoo", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.14") == "1" then
ui_print("Installing Dialer and Favorite widgets");
package_extract_dir("aroma/widgets", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.15") == "1" then
ui_print("Kies support");
package_extract_dir("aroma/kies", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.16") == "1" then
ui_print("smemo");
package_extract_dir("aroma/smemo", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.17") == "1" then
ui_print("SecEmail+Exchange");
package_extract_dir("aroma/SecEmail+Exchange", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.18") == "1" then
ui_print("FmRadio");
package_extract_dir("aroma/FmRadio", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.19") == "1" then
ui_print("SecCalendar");
package_extract_dir("aroma/SecCalendar", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.20") == "1" then
ui_print("megabassbeats");
package_extract_dir("aroma/megabassbeats", "/system");
package_extract_file("aroma/megabassbeats/add_to_buildprop.sh", "/tmp/add_to_buildprop.sh");
set_perm(0, 0, 0777, "/tmp/add_to_buildprop.sh");
run_program("/tmp/add_to_buildprop.sh");
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.21") == "1" then
ui_print("HandyFAQWunschWallpaper");
package_extract_dir("aroma/HandyFAQWunschWallpaper", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.22") == "1" then
ui_print("SamsungMusicPlayer");
package_extract_dir("aroma/SamsungMusicPlayer", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.23") == "1" then
ui_print("PaperArtist");
package_extract_dir("aroma/PaperArtist", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.24") == "1" then
ui_print("SlideShow");
package_extract_dir("aroma/SlideShow", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.25") == "1" then
ui_print("gtalk");
package_extract_dir("aroma/gtalker", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.26") == "1" then
ui_print("SecNoteMyFiles");
package_extract_dir("aroma/SecNoteMyFiles", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.27") == "1" then
ui_print("VoiceRecorder");
package_extract_dir("aroma/VoiceRecorder", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.0.28") == "1" then
ui_print("LampeImSperrbildschirm");
package_extract_dir("aroma/LampeImSperrbildschirm", "/system");
endif;

#Custom mods

if file_getprop("/tmp/aroma-data/adds.prop","item.1.1") == "1" then
ui_print("SecLauncher 4x4");
package_extract_dir("aroma/SecLauncher4x4", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.1.2") == "1" then
ui_print("SecLauncher 4x5");
package_extract_dir("aroma/SecLauncher4x5", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.1.3") == "1" then
ui_print("SecLauncher 4x6");
package_extract_dir("aroma/SecLauncher4x6", "/system");
endif;

if file_getprop("/tmp/aroma-data/adds.prop","item.1.4") == "1" then
ui_print("SecLauncher5x6");
package_extract_dir("aroma/SecLauncher5x6", "/system");
endif;

But after a while I thought it may be a better idea to structure it with more checkboxes or selectboxes. As you can see I don´t understand it to handle the item system? First I went on with "item.029"... in the next checkbox but no matter what I do it leads to..well....nothing :p.

There is no error during installation but during installation you can see that updater script doesn´t recognise it and the second checkbox is useless.

Can anybody help me please? I´m not smart enough to help me alone with reading the starting postings it seems :confused:

Thank you,

Matt