[Android Software/Hacking General [Developers Only]] Harbir:
then

ui_print(" -Groupcast");

package_extract_dir("extra/debloat/Groupcast", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/GroupCast.apk");

endif;

then

ui_print(" -G-Mail");

package_extract_dir("extra/debloat/Mail", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/Gmail.apk");

set_perm(1000, 1000, 0644, "/system/app/GmailSpell.apk");

endif;

then

ui_print(" -Polaris Office 4");

package_extract_dir("extra/debloat/Polaris", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/PolarisOffice4.apk");

endif;

then

ui_print(" -Accuweather");

package_extract_dir("extra/debloat/Weather", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/AccuweatherDaemon.apk");

set_perm(1000, 1000, 0644, "/system/app/AccuweatherWidget.apk");

set_perm(1000, 1000, 0644, "/system/app/AccuweatherWidget_Main.apk");

endif;

then

ui_print(" -YouTube");

package_extract_dir("extra/debloat/YouTube", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/YouTube.apk");

#-- Music Players --#

ui_print("Music Players");

if

file_getprop("/tmp/aroma-data/music.prop","item.0.1") == "1"

then

ui_print(" -Google Play");

package_extract_dir("extra/music/Google", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/com.google.android.music.apk");

endif;

then

ui_print(" -Noozy");

package_extract_dir("extra/music/Noozy", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/Noozy.apk");

endif;

then

ui_print(" -Omich");

package_extract_dir("extra/music/Omich", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/com.omichsoft.player.apk");

endif;

then

ui_print(" -XENOAMP");

package_extract_dir("extra/music/Xeno", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/XenoAmp_256_13082013.apk");

endif;

#-- Launchers --#

ui_print("Music Players");

if

file_getprop("/tmp/aroma-data/launcher.prop","item.0.1") == "1"

then

ui_print(" -Apex Launcher");

package_extract_dir("extra/launchers/apex", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/com.anddoes.launcher.apk");

endif;

then

ui_print(" -Buzz Launcher");

package_extract_dir("extra/launchers/buzz", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/com.buzzpia.aqua.launcher.apk");

endif;

then

ui_print(" -Holo Launcher");

package_extract_dir("extra/launchers/holo", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/HoloLauncher_HD_2.0.1.apk");

endif;

then

ui_print(" -Lightning Launcher");

package_extract_dir("extra/launchers/lightning", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/net.pierrox.lightning_launcher.apk");

endif;

then

ui_print(" -Nova Launcher");

package_extract_dir("extra/launchers/nova", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/com.telsacoilsw.launcher.apk");

endif;

then

ui_print(" -Windows Launcher");

package_extract_dir("extra/launchers/windows", "/");

set_perm(1000, 1000, 0771, "/system");

set_perm(1000, 1000, 0771, "/system/app");

set_perm(1000, 1000, 0644, "/system/app/com.lx.launcher8.apk");

endif;

U have forgotten Manny if command and file_getprop .

Should be like this

if

file_getprop("/tmp/aroma-data/launcher.prop","item.0.1") == "1"

Then

Bla bla

Endif;