[Android Software/Hacking General [Developers Only]] Nonta72:
Syntax Error on Line 5

Can someone help me solving this please ?

I'm getting error on line 5 col 61 :mad:

# LICENSE:
# Copyright (C) 2011 Ahmad Amarullah ( http://amarullz.com/ )
# Initializing Rom Information
#
ini_set("rom_name", "Aroma_Recovery_Installer");
ini_set("rom_version", "1");
ini_set("rom_author", "Nonta72");
ini_set("rom_device", "GALAXY S3 - i9300");
ini_set("rom_date", "18 February 2015");

###############
# Show Simple Splash
#

splash(4000, "modsplash");
calibrate("1.9952","12","1.1716","16","yes");

###############
# Set Small Font to Support all fonts
#
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" ); #-- Use sets of font (Font Family)

################
#
# SHOW LANGUAGE SELECTION
#
selectbox(
#-- Title
"Select Language",

#-- Sub Title
"Please select installer language that you want to use in this installation test:",

#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@default",

#-- Will be saved in /tmp/aroma/theme.prop
"lang.prop",

#---------------------------------[ Selectbox Without Group ]----------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#

"English", "Welcome to Installer", 0, #-- selected.0 = 1
"Russian", "Добро пожаловать в установщик", 1, #-- selected.0 = 2
"Deutsch", "Willkommen in der Installations", 0, #-- selected.0 = 3
"Español", "Bienvenido al instalador", 0, #-- selected.0 = 4
"Français", "Bienvenue à l'installateur", 0, #-- selected.0 = 5
"Italiano", "Benvenuti al programma di installazione", 0, #-- selected.0 = 6
"中國",	"歡迎到安裝程序",	0 #-- selected.0 = 7
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);

##
# SET LANGUAGE & FONT FAMILY
#
if prop("lang.prop","selected.0")=="1" then
loadlang("langs/en.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

if prop("lang.prop","selected.0")=="2" then
loadlang("langs/ru.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

if prop("lang.prop","selected.0")=="3" then
loadlang("langs/de.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

if prop("lang.prop","selected.0")=="4" then
loadlang("langs/es.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

if prop("lang.prop","selected.0")=="5" then
loadlang("langs/fr.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

if prop("lang.prop","selected.0")=="6" then
loadlang("langs/it.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

if prop("lang.prop","selected.0")=="7" then
loadlang("langs/cn.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf", "14" );
endif;

###############
# SET THEME
#
theme("miui");

viewbox(
"",
"You are about to Install <b>"+
ini_get("rom_name")+
"</b> for <b>"+ini_get("rom_device")+"</b>.\n\n"+
"Relevant information of the ROM:\n\n"+
" Rom\t: <b><#selectbg_g>"+ini_get("rom_name")+"</#></b>\n"+
" Version\t: <b><#selectbg_g>"+ini_get("rom_version")+"</#></b>\n"+
" Theme\t: <b><#selectbg_g>Stock&S5&AOSP</#></b>\n\n"+
"<b><#f00>Only for International Galaxy S3 - i9300</#></b>\n\n\n"+
"Press Next to Continue ...",
"@welcome"
);

###############
# Terms Of Use
#
agreebox(
"<~terms.title>",
"<~terms.desc>",
"icons/agreement",
readfile_aroma("agreement.txt"),
"<~terms.check>",
"<~terms.confirm>"
);

###############
# SHOW MENUBOX
menubox(
#-- Title
"",

#-- Sub Title
"<@center><b><#00f>Aroma Recovery Installer</#></b></@>\n\n"+
"<@center><b><#f00>Samsung Galaxy S3 - i9300</#></b></@>\n\n"+
"<~instal.title>",

#-- Icon
"@welcome",

#-- Will be saved in /tmp/aroma-data/action.prop
"action.prop",

"<~instal.1>",	"<~instal.2>",	"@recovery", #-- selected = 1
"<~instal.3>",	"<~instal.4>",	"@info", #-- selected = 2
"<~instal.5>",	"<~instal.6>",	"@default" #-- selected = 3
);

####################################
# Aroma Recovery Installer
#

# System Info
if prop("action.prop","selected")=="2" then

#-- Show Please Wait
pleasewait("Get System Informations...");

#-- Fetch System Information
setvar(
#-- Variable Name
"sysinfo",

#-- Variable Value
"<@center><b>Device System Information</b></@>\n\n"+

"Model\t\t\t: <b><#selectbg_g>"+sysprop("ro.product.model")+"</#></b>\n"+
"Board Name\t\t: <b><#selectbg_g>"+sysprop("ro.product.board")+"</#></b>\n"+
"Manufacturer\t\t: <b><#selectbg_g>"+sysprop("ro.product.manufacturer")+"</#></b>\n\n"+

"CPU\t\t\t: <b><#selectbg_g>"+sysprop("ro.product.cpu.abi")+"</#></b>\n"+
"LCD Desinty\t\t: <b><#selectbg_g>"+sysprop("ro.sf.lcd_density")+"</#></b>\n\n"+

"System Size\t\t: <b><#selectbg_g>"+getdisksize("/system","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/system","m")+" MB</#></b>\n\n"+
"Data Size\t\t: <b><#selectbg_g>"+getdisksize("/data","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/data","m")+" MB</#></b>\n\n"+
"SDCard Size\t\t: <b><#selectbg_g>"+getdisksize("/sdcard","m")+" MB</#></b>\n"+
"\tFree\t\t: <b><#selectbg_g>"+getdiskfree("/sdcard","m")+" MB</#></b>\n\n"+

""
);

#-- Show Textbox
textbox(
#-- Title
"",

#-- Subtitle
"System Information.",

#-- Icon
"@info",

#-- Text
getvar("sysinfo")
);

#-- Back to Menu ( 2 Wizard UI to Back )
back("2");

endif;

# efs Backup
if prop("action.prop","selected")=="3" then

#-- Show Please Wait
pleasewait("Executing ...");

#-- efs Backup
setvar(
#-- Save Return Status
"resexec_retstatus",

#-- Run Shell
resexec("exec_demo/efs_backup.sh")
);

#-- Show Exec Buffer
textbox(
#-- Title
"",

#-- Subtitle
"efs Backup finished...",

#-- Icon
"@default",

#-- Text
"<b>efs Backup created in folder <#00f>sdcard/efs_Backup</#></b>"
);

#-- Show Alert
alert(
#-- Alert Title
"",

#-- Alert Text
"efs Backup Finished - Back to Main Menu",

#-- Alert Icon
"@alert"
);

#-- Back to Action Menu ( 3 Wizard UI to Back )
back("2");

endif;

# Recovery Installation
#
if prop("action.prop","selected")=="1" then

selectbox(
"<~recovery.title>",
"<~recovery.desc>",
"@personalize",
"recovery.prop",

"Stock Recovery (Android 4.3)",	"<~recovery.1>",	0,
"ClockWorkMod (Non Touch)",	"<~recovery.2>",	0,
"ClockWorkMod (Touch)", "<~recovery.3>", 0,
"Devil Touch Recovery", "<~recovery.4>", 0,
"TWRP (2.7.x)",	"<~recovery.5>",	0,
"TWRP (2.8.x)", "<~recovery.6>", 0,
"Philz Touch", "<~recovery.7>", 1
);
endif;

#######################
# INSTALLATION PROCESS
#
checkviewbox(
"<~Install.title>",
"\n<~Install.desc>\n\n"+
"<~Install.next>",
"icons/info",
"<~Install.text1>",
"0",
"reboot_it"
);

install(
"<~Installing.title>",

"<~Installing.desc> " + ini_get("rom_name") + " " + ini_get("rom_version") +
"...\n<~Installing.text1>",
"icons/install"
);

#Save installation config
resexec("scripts/save.sh");

# Set Next Text fo Finish
if getvar("reboot_it")=="1" then
ini_set("text_next", "Reboot");
endif;
if getvar("reboot_it")=="0" then
ini_set("text_next", "Finish");
endif;

viewbox(
"<~Completed.title>",
"\n<#080><~Congratulation.desc></#>\n\n"+
ini_get("rom_name") + " " + ini_get("rom_version") + " <~Congratulation.text1>\n\n"+
"<b>Enjoy!</b>",
"icons/info"
);

# Check if reboot checkbox was checked
if getvar("reboot_it")=="1" then
reboot("onfinish");
endif;

#---- FINISH