[Android Software/Hacking General [Developers Only]] Droid Premium:
Okay guys im back -_-. I successfully added Aroma to my ROM thanks to you guys! But for my next release i am making my Aroma config way more complex by adding PimpMyROM's installer to mine. There is this one issue that i cant fix. 2 spots in the Config and i cant get it to boot into Aroma anymore. And yes i have tried fixing this 10 different times -_-

Recovery.log

Starting TWRP 2.3.2.3 on Sat Sep 14 22:45:46 2013
I:Internal path defined: '/data/media'
I:External path defined: '/external_sdcard'
I:Mount: Unable to find partition for path '/data'
Starting the UI...Pixel format: 720x1280 @ 32bpp
Pixel format: BGR_565
framebuffer: fd 4 (720 x 1280)
=> Linking mtab
=> Processing recovery.fstab
I:Processing '/efs'
I:Processing '/boot'
I:Processing '/recovery'
I:Processing '/modem'
I:Processing '/cache'
I:Processing '/system'
I:Processing '/data'
I:Processing '/external_sdcard'
I:Created '/external_sdcard' folder.
Updating partition details...
I:Data backup size is 397MB, size: 11331MB, used: 7992MB, free: 3163MB, in data/media: 7594MB.
I:'/external_sdcard' was 'exfat' now set to 'vfat'
I:Unmounting main partitions...

Partition Logs:
/efs | /dev/block/mmcblk0p3 | Size: 19MB Used: 4MB Free: 15MB Backup Size: 4MB
Flags: Can_Be_Wiped IsPresent
Primary_Block_Device: /dev/block/mmcblk0p3
Display_Name: efs
Backup_Path: /efs
Backup_Name: efs
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/boot | /dev/block/mmcblk0p8 | Size: 8MB
Backup_Method: dd

/recovery | /dev/block/mmcblk0p9 | Size: 8MB
Backup_Method: dd

/modem | /dev/block/mmcblk0p10 | Size: 88MB
Backup_Method: dd

/cache | /dev/block/mmcblk0p12 | Size: 1259MB Used: 33MB Free: 1225MB Backup Size: 33MB
Flags: Can_Be_Wiped Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p12
Display_Name: Cache
Backup_Path: /cache
Backup_Name: cache
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/system | /dev/block/mmcblk0p13 | Size: 1763MB Used: 1053MB Free: 710MB Backup Size: 1053MB
Flags: Can_Be_Wiped Wipe_Available_in_GUI IsPresent
Primary_Block_Device: /dev/block/mmcblk0p13
Display_Name: System
Backup_Path: /system
Backup_Name: system
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/data | /dev/block/mmcblk0p16 | Size: 11331MB Used: 7992MB Free: 3163MB Backup Size: 397MB
Flags: Can_Be_Wiped Wipe_During_Factory_Reset Wipe_Available_in_GUI IsPresent Has_Data_Media Is_Storage
Symlink_Path: /data/media/0
Symlink_Mount_Point: /sdcard
Primary_Block_Device: /dev/block/mmcblk0p16
Display_Name: Data
Backup_Path: /data
Backup_Name: data
Storage_Path: /data/media/0
Current_File_System: ext4
Fstab_File_System: ext4
Backup_Method: files

/external_sdcard | /dev/block/mmcblk1p1 | Size: 14964MB Used: 14389MB Free: 574MB Backup Size: 14389MB
Flags: Can_Be_Wiped Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: external_sdcard
Backup_Path: /external_sdcard
Backup_Name: external_sdcard
Storage_Path: /external_sdcard
Current_File_System: vfat
Fstab_File_System: exfat
Backup_Method: files

I:Loading package: TWRP (/script/ui.xml)
I:Loading package: TWRP (/data/media/0/TWRP/theme/ui.zip)
I:Loading package: TWRP (/res/ui.xml)
I:Loading resources...
I:Loading variables...
I:Loading pages...
I:Loading page main
I:Loading page main2
I:Loading page install
I:Loading page flash_confirm
I:Loading page flash_zip
I:Loading page flash_done
I:Loading page clear_vars
I:Loading page confirm_action
I:Loading page action_page
I:Loading page action_complete
I:Loading page filecheck
I:Loading page rebootcheck
I:Loading page wipe
I:Loading page backup
I:Loading page backupname1
I:Loading page backupname2
I:Loading page backup_run
I:Loading page restore
I:Unable to open '/data/media/TWRP/BACKUPS/42f7ce1b41199f45'
I:Loading page restore_select
I:Loading page renamebackup
I:Loading page restore_run
I:Loading page mount
I:Loading page usb_mount
I:Loading page usb_umount
I:Loading page reboot
I:Loading page settings
I:Loading page timezone
I:Loading page advanced
I:Loading page partsdcard
I:Loading page htcdumlock
I:Loading page lock
I:Loading page filemanagerlist
I:Loading page filemanageroptions
I:Loading page choosedestinationfolder
I:Loading page filemanagerrenamefile
I:Loading page filemanagerrenamefolder
I:Loading page filemanagerchmod
I:Loading page filemanagerconfirm
I:Loading page filemanageracction
I:Loading page decrypt
I:Loading page trydecrypt
I:Loading page terminalfolder
I:Loading page terminalcommand
I:Switching packages (TWRP)
I:Set page: 'clear_vars'
I:Set page: 'main2'
Command: "/sbin/recovery"

ro.boot.baseband=mdm
ro.boot.debug_level=0x4f4c
ro.boot.emmc_checksum=3
ro.boot.bootloader=T889UVALK8
ro.boot.serialno=42f7ce1b41199f45
ro.serialno=42f7ce1b41199f45
ro.bootmode=unknown
ro.baseband=mdm
ro.bootloader=T889UVALK8
ro.hardware=smdk4x12
ro.revision=10
ro.emmc=0
ro.boot.emmc=0
ro.factorytest=0
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=mtp
ro.build.id=JZO54K
ro.build.display.id=cm_t0ltetmo-eng 4.1.2 JZO54K eng.bigbiff.20121123.213647 test-keys
ro.build.version.incremental=eng.bigbiff.20121123.213647
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.2
ro.build.date=Fri Nov 23 21:37:12 EST 2012
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=bigbiff
ro.build.host=nas
ro.build.tags=test-keys
ro.product.model=t0ltetmo
ro.product.brand=Samsung
ro.product.name=cm_t0ltetmo
ro.product.device=t0ltetmo
ro.product.board=smdk4x12
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=exynos4
ro.build.product=t0ltetmo
ro.build.description=cm_t0ltetmo-eng 4.1.2 JZO54K eng.bigbiff.20121123.213647 test-keys
ro.build.fingerprint=Samsung/cm_t0ltetmo/t0ltetmo:4.1.2/JZO54K/eng.bigbiff.20121123.213647:eng/test-keys
ro.build.characteristics=default
ro.cm.device=t0ltetmo
ro.product_ship=true
ro.build.PDA=T889UVALJ1
ro.build.hidden_ver=T889UVALJ1
ro.build.changelist=260018
rild.libpath=/system/lib/libril-qc-qmi-1.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=320
ro.lcd_min_brightness=20
ro.kernel.qemu=0
persist.sys.storage_preload=1
net.streaming.rtsp.uaprof=http://wap.samsungmobile.com/uaprof/
net.change=net.bt.name
media.enable-commonsource=true
persist.radio.adb_log_on=1
persist.radio.apm_sim_not_pwdn=1
persist.radio.add_power_save=1
ro.opengles.version=131072
debug.hwui.render_dirty_regions=false
ro.error.receiver.default=com.samsung.receiver.error
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
ro.hdcp2.rx=tz
ro.secwvk=220
ro.sec.fle.encryption=true
ro.config.ringtone=Tmo_Jingle.ogg
ro.config.notification_sound=S_Whistle.ogg
ro.config.alarm_alert=Walk_in_the_forest.ogg
ro.config.media_sound=Media_preview_Touch_the_light.ogg
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.carrier=unknown
ro.com.google.clientidbase=android-samsung
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.setupwizard.mode=OPTIONAL
ro.com.google.apphider=off
ro.com.google.clientidbase.ms=android-hms-tmobile-us
ro.com.google.clientidbase.am=android-tmobile-us
ro.com.google.clientidbase.gmm=android-samsung
ro.com.google.clientidbase.yt=android-samsung
ro.com.google.gmsversion=4.1_r2
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
qemu.hw.mainkeys=0
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dataroaming=false
ro.cm.version=10-20121124-UNOFFICIAL-t0ltetmo
ro.modversion=10-20121124-UNOFFICIAL-t0ltetmo
ro.kernel.android.checkjni=1
init.svc.ueventd=running
init.svc.recovery=running
adb.recovery=1
init.svc.adbd=running

I:Attempt to load settings from settings file...
I:Version number saved to '/data/media/0/TWRP/.version'
I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:Set page: 'flash_zip'
Installing '/external_sdcard/t0ltetmo_unsigned_091413_183627.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
aroma/s: Initializing
Starting AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers
aroma/s: Saving Arguments

Starting AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers

aroma/s: Open Archive
aroma/s: Initializing Resource

DEVICE NAME: ssp_context - /sys/board_properties/virtualkeys.ssp_context
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: proximity_sensor - /sys/board_properties/virtualkeys.proximity_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: light_sensor - /sys/board_properties/virtualkeys.light_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: pressure_sensor - /sys/board_properties/virtualkeys.pressure_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: gyro_sensor - /sys/board_properties/virtualkeys.gyro_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: accelerometer_sensor - /sys/board_properties/virtualkeys.accelerometer_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: sii9234_rcp - /sys/board_properties/virtualkeys.sii9234_rcp
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: T0_WM1811 T0 Jack - /sys/board_properties/virtualkeys.T0_WM1811 T0 Jack
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: gpio-keys - /sys/board_properties/virtualkeys.gpio-keys
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: max77693-muic - /sys/board_properties/virtualkeys.max77693-muic
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: sec_touchscreen - /sys/board_properties/virtualkeys.sec_touchscreen
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 719 minY: 0 maxY: 1279

DEVICE NAME: sec_e-pen - /sys/board_properties/virtualkeys.sec_e-pen
EV ST: minX: 0 maxX: 6912 minY: 0 maxY: 12288
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0
aroma/s: Opening Freetype
aroma/s: Mute Parent
aroma/s: Starting Interface
aroma/s: aroma-config was UTF-8
line 169 col 2: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 405 col 1: syntax error, unexpected $end, expecting ',' or ')'
aroma/s: Close Graph Thread
aroma/s: Unmute Parent

SYNTAX ERROR!!! aroma-config on line 169 col 2
aroma/s: Starting Release
aroma/s: Font Released
aroma/s: Input Released
aroma/s: Archive Released
aroma/s: Closing Freetype
aroma/s: Graph Released
aroma/s: Cleanup Temporary
aroma/s: Check For Reboot
aroma/s: Closing Recovery Pipe
E:Error in /external_sdcard/t0ltetmo_unsigned_091413_183627.zip
(Status 1)
Error flashing zip '/external_sdcard/t0ltetmo_unsigned_091413_183627.zip'
Updating partition details...
I:Data backup size is 397MB, size: 11331MB, used: 7992MB, free: 3163MB, in data/media: 7594MB.
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'

Aroma Config

### 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.56 - AROMA Installer Test Script Configuration
# (c) 2011-2012 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
#
# Binary Version : 2.56
# Binary Codename : Edelweis
#

ini_set("rom_name", " GE-Wiz");
ini_set("rom_version", " Release 5");
ini_set("rom_author", " Droid Premium");
ini_set("rom_device", " Galaxy Note II");
ini_set("rom_date", " 9/10/2013");
ini_set("pimp_version", " 2.0");
ini_set("pimp_date", " October 10th, 2012");

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)

theme("ics");

viewbox(
"Welcome",
"You are about to flash <b>"+
ini_get("rom_name")+
"</b> for <b>"+ini_get("rom_device")+"</b>\n\n"+

" VERSION\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
" AUTHOR\t: <b><#selectbg_g>"+ini_get("rom_author")+"</#></b>\n"+
" RELEASED\t: <b><#selectbg_g>"+ini_get("rom_date")+"</#></b>\n\n\n"+

"Press Next to Continue the Installation...",
"@welcome"
);

textbox(
"Important",
"GE-Wiz MUST READ",
"icons/info",
readfile_aroma("Thanks.txt")
);

selectbox(
"Kernel",
"Select the one you want",
"@personalize",
"kernel.prop",

"Stock MD1 Kernel","",1,
"SaberKernel","Overclock/Undervolt/Voodoo Support",0
);

selectbox(
"Web Browser",
"Select the one you want",
"@personalize",
"browser.prop",

"Dolphin Browser","",1,
"Boat Browser","Support Flash",0,
"Google Chrome","",0
);

checkbox(
"System Apps",
"Check the ones you want",
"@personalize",
"debloat.prop",

"Allshare","",1,
"Groupcast","",0,
"Mail","",0,
"Polaris Office 4","",0,
"Accuweather","",0,
"YouTube","",0
);

checkbox(
"Music Players",
"Pick your preferred music player",
"@personalize",
"music.prop",

"Google Play","Stock Google Music Player",1,
"Noozy","",0,
"Omich","",0,
"XenoAMP","Thumb Controlled",0

);

checkbox(
"Launchers",
"Pick your preferred launcher",
"@personalize",
"launcher.prop",

"Apex Launcher","",1,
"Buzz Launcher","",0,
"Lightning Launcher","",0,
"Nova Launcher","",0,
"Holo Launcher","",0,
"Windows Launcher","",0

);

checkbox(
"Mods",
"Select the Mods you want!",
"@personalize",
"mods.prop",

"Viper4Android","",1

);

agreebox(
#-- Title
"Terms of Use & Requirements",

#-- Subtitle / Description
"",

#-- Icon
"@agreement",

#-- Text Content ( Read from <AROMA Resource Dir>/read_me.txt )
resread("pimp.txt"),

#-- Checkbox Text
"I agree with these Terms of Use.",

#-- Unchecked Alert Message
"You need to agree with the Terms of Use to continue..."
);

checkbox(
# Title
"What kind of rom are you running ?",

# Icon
"@confirm",

# Will be saved in /tmp/aroma/baserom.prop
"baserom.prop",

"STOCK-based Rom", "Select if you are Pimpin' a Stock-based rom (needs init.d support)", 2, #-- selected.2 = x
"Jelly Bean", "Android 4.1.x",0, #--selected.2 = 1
[COLOR="Red"]);[/COLOR]

checkbox(
"Init.d Tweaks",
"Tick the tweaks you want to install :",
"@personalize",
"tweaks.prop",

"Init.d scripts : These pimpin' scripts will run at each boot","",2,#--item.0.1

"Touchscreen Responsiveness", "Tweaks the touchscreen for a better responsiveness and user experience",0,

"Internet speed tweaks","Improves general browsing speed",0,###--2

"Battery consumption tweaks","Makes battery last longer",0,###--3

"Miscellanous Kernel improvements","Various kernel tweaks",0,###--4

"Ondemand governor tweaks","Improves the behaviour of the Ondemand kernel governor",0,###--5

"Dalvik VM tweaks","Dalvik Virtual Machine tweaks",0,###--6

"Defragmention of sqlite3 databases at each boot","Defrags databases to increase write-speed",0,###--7

"Move dalvik-cache to cache","Increase data storage (will run only if cache is big enough for security)",0,###--8

"Bind-Mount Dalvik-Cache","The device can boot without the sdcard, useful for devices with a defectuous sdcard",0,###--9

"Use strict minimum free memory handlers","Improves performances",0,###--10

"Improve ext4 file-systems Performance","Enable data_writeback and improve I/O speed for ext4 partitions",0,###--11

"Force GPU 2D Rendering","Force GPU rendering on 2D operations",0,###--12

"Miscellanous ram tweaks","Several memory management improvements",0,###--13

"Improve Multi-Tasking","Change system task-killer settings",0,###--14

"Add SQLite Tweaks","Run VACUUM & REINDEX on each boot for better performance",0,###--15

"Add Experimental Tweaks","Improve kernel and virtual memory management",0,###--16

"Install various init.d smoothness tweaks","Improve general responsiveness",0,###--17

"Enable External-Sdcard I/O tweaks","Improves ext-sd write/read speed and mount speed",0,###--18

"Enable Internal Sdcard I/O tweaks","Improves internal sdcard write/read speed and mount speed",0,###--19

"Zipalign apks at each boot","Will zipalign all apk files to increase smoothness",0,###--20

"Enable main thunderbolt system_tweak script","Increase multitasking and general performances",0,###--21

"Tweak CPU & GPU tuning","Will optimize CPU and GPU frequencies thresold",0,###--22

"Use CFS tweaks","Improves the behaviour of the Completely Fair Scheduler",0,###--23

"Use TCP buffers tweaks","Tweaks the tcp buffers to improve internet browsing speed",0,###--24

"Optimize sqlite3 databases","Increases read/write speed of apps using databases (i.e : people)",0 ###--25
);

checkbox(
"Build.prop Tweaks",
"Tick the tweaks you want to install :",
"@customize",
"buildprop.prop",

">>> INSTALL ALL TWEAKS <<<","Will apply every tweaks from the list below",0,
"3G Signal and Speed tweaks","Improve signal reception and dl/ul speed when using 3g",0,
"Battery saving tweaks","Saves battery without reducing performances",0,
"Camera quality tweaks","Increase camera's photo and video recording quality",0,
"Wifi tweaks","Connects and disconnects faster",0,
"Dalvik Ram tweaks","More free ram and apps load faster",0,
"Deeper Sleep","Saves more battery when on sleep mode",0,
"Dialing time tweaks","Dials faster, phone will ring instantly",0,
"Increase Jpg images quality","Raises the jpg image quality to 100%",0,
"Disable kernel error checking","Prevents some fc's from happening",0,
"Lock launcher in memory","Keeps your default launcher in memory to reduce redraws",0,
"Internet speed tweaks","Faster browsing and downloads",0,
"Touchscreen tweaks","Increase general touchscreen responsiveness",0,
"Remove black screen after calling","Reduces the time proximity sensor takes to make screen on",0,
"Allow purgeable assets","Free-up more ram",0,
"Scrolling tweaks","Better, faster and stronger scrolling",0,
"Video-Streaming tweaks","Smoother and faster internet video streaming",0,
"Quick Power-On","The device will boot faster",0,
"Flash-Led Tweaks","Better flash-led intensity and camera-flash quality",0
);

checkbox(
"Enable/Disable Functionalities",
"Tick the options you want :",
"@confirm",
"feat.prop",
"Allow Dalvik to use JIT","Dalvik will use Just-In-Time compiler so the cpu can be faster",0,
"Enable video hardware acceleration","Hardware video decoding enabled",0,
"Disable boot-animation","No boot-animation will be displayed of rfaster boot (doesn't work on ics/jb)",0,
"Enable Gpu ui rendering","Force the ui to be rendered by the gpu",0,
"Enable surface dithering","Better image quality at the cost of performances",0,
"Enable HSUPA","Enable HSUPA network mode",0,
"Disable adb debugging icon","Hide adb notification icon when usb is connected",0,
"Disable Volume Wake","The device won't wake when you hit the volume buttons",0,
"Disable sending of usage data","Prevents your device from sending usage data",0,
"Buttons backlight always on","Hardware buttons backlight always on when screen is on",0,
"Enable 16bit transparency","Might degrade performance",0,
"Remove Android logger","Use if you don't use logcats, the logger uses un-necessary ram",0,
"Re-Enable Android logger","Use if you disabled it but need logcats now",0,
"Disable Normalized Sleeper","Saves battery by transforming some wait-times into sleep times",0,
"Disable Gentle Fair Sleepers","Saves battery by transforming some wait-times into sleep times",0,
"Disable New Fair Sleepers","Saves battery by transforming some wait-times into sleep times",0
);

selectbox(
"GPS Configuration",
"Select your country from the list below",
"@customize",
"gps.prop",

"Installs the right gps.conf file for your country to increase gps accuracy & lock-speed\n","",2,#--selected.1

"Angola","",0,
"Argentina","",0,
"Australia","",0,
"Austria","",0,
"Bangladesh","",0,
"Belarus","",0,
"Belgium","",0,
"Bosnia & Herzegovina","",0,
"Brazil","",0,
"Bulgaria","",0,
"Cambodia","",0,
"Canada","",0,
"Chile","",0,
"China","",0,
"Costa-Rica","",0,
"Croatia","",0,
"Czech Republic","",0,
"Denmark","",0,
"El Salvador","",0,
"Estonia","",0,
"Finland","",0,
"France","",0,
"Germany","",0,
"Greece","",0,
"Guatemala","",0,
"Hong-Kong","",0,
"Hungary","",0,
"India","",0,
"Indonesia","",0,
"Iran","",0,
"Ireland","",0,
"Israel","",0,
"Italy","",0,
"Japan","",0,
"Korea","",0,
"Kyrgyzstan","",0,
"Latvia","",0,
"Lithuania","",0,
"Luxembourg","",0,
"Macedonia","",0,
"Madagascar","",0,
"Malaysia","",0,
"Mexico","",0,
"Moldova","",0,
"Netherlands","",0,
"New Caledonia","",0,
"New Zealand","",0,
"Norway","",0,
"Oman","",0,
"Pakistan","",0,
"Panama","",0,
"Philippines","",0,
"Poland","",0,
"Portugal","",0,
"Qatar","",0,
"Republic of Serbia","",0,
"Romania","",0,
"Russian Federation","",0,
"Saudi Arabia","",0,
"Singapore","",0,
"Slovakia","",0,
"Slovenia","",0,
"South Africa","",0,
"Spain","",0,
"Sri Lanka","",0,
"Sweden","",0,
"Switzerland","",0,
"Taiwan","",0,
"Tanzania","",0,
"Thailand","",0,
"Turkey","",0,
"Ukraine","",0,
"United Arab Emirates","",0,
"United Kingdom","",0,
"United States of America","",0,
"Uzbekistan","",0,
"Venezuela","",0,
"Vietnam","",0,
"Yugoslavia","",0,

"Continents","Use your continent file if your country isn't on the list",2,

"Africa","",0,
"Asia","",0,
"Europe","",0,
"North America","",0,
"Oceania","",0,
"South America","",0
);

install(
"Installing",
"Installing GE-Wiz...",
"@install"
);

ini_set("text_next", "Finish");

checkviewbox(
"Installation was successful !",
"Thanks for Flashing GE-Wiz! <b>\n\n"+
"<#selectbg_g><b>Leave Thanks On XDA!</b></#>\n\n",
"@welcome",
"Reboot my device now.",
"0",
"reboot_it"
);

exec("/sbin/cp","/tmp/aroma/.install.log","/sdcard/GE-Wiz.log");

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

I fixed the line 405 error because there was and extra line after endif; that wasn't needed. I made line 169 red in the Aroma config code so its easier for you to find. Please guys let me know what the issue is.

Thanks in advanced!