Cita: Originalmente Escrito por sergio77vlc
Pues yo me estoy volviendo loco.
Llevo como 3 horas intentando instalar una rom con aroma que he hecho para la galaxy tab 2
y siempre me da error en aroma-config linea 1 col 14 !!
mi aroma config empieza asi:
theme("ics");
loadlang("langs/es.lang");
ini_set("rom_name", "Benimamet ROM");
ini_set("rom_version", "1.0");
ini_set("rom_author", " [email protected]");
ini_set("rom_device", "Galaxy Tab 2");
porque da error en la primera linea? si tiene punto y coma?
prueba a quitar las dos primeras lineas y ponerlas despues, y a lo primero del todo debes de poner la calibracion de la pantalla, te paso un ejemplo :
Código:
calibrate("0.9718", "4", "1.0176", "-9");
ini_set("rom_name", "Kit Kat Xperience");
ini_set("rom_version", "4.2");
ini_set("rom_author", "Waterjavy");
ini_set("rom_device", "Xperia U");
ini_set("rom_date", "21/01/2014");
splash(
#-- Duration 6000ms / 5 seconds
6000,
#-- <AROMA Resource Dir>/SPLASH.png
"SPLASH"
);
splash(
#-- Duration 6000ms / 5 seconds
6000,
#-- <AROMA Resource Dir>/sample.png
"sample"
);
##
# Font Selection
#
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
##
# SHOW LANGUAGE SELECTION
#
selectbox(
#-- Title
"Select Language",
#-- Sub Title
"Please select installer language that you want to use while Installing ROM",
#-- Icon:
"@default",
#-- Will be saved in /tmp/aroma/lang.prop
"lang.prop",
"English", "Welcome to Installer", 0, #-- selected.0 = 1
"Espanol", "Bienvenido al Instalador", 1 #-- selected.0 = 2
);
##
# SET LANGUAGE & FONT FAMILY
#
if prop("lang.prop","selected.0")=="1" then
loadlang("langs/en.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf", "12" ); #-- "0" = Small Font ( Look at Fonts & UNICODE Demo Below )
fontresload( "1", "ttf/Roboto-Regular.ttf", "18" ); #-- "1" = Big Font
endif;
if prop("lang.prop","selected.0")=="2" then
loadlang("langs/es.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf", "18" );
endif;
###################################################################################################################
#
# STEP 1 - SELECT THEME
#
selectbox(
#-- Title
"<~themes.title>",
#-- Sub Title
"<~themes.desc>",
#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@personalize",
#-- Will be saved in /tmp/aroma/theme.prop
"theme.prop",
#---------------------------------[ Selectbox Without Group ]----------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#
"Generic", "Generic Theme by aroma installer", 1, #-- selected.0 = 1
"MIUI", "MIUI Theme by mickey-r & amarullz", 0, #-- selected.0 = 2
"ICS", "Ice Cream Sandwitch by DemonWav & amarullz", 0, #-- selected.0 = 3
"MIUI V4", "MIUI 4 Theme by amarullz & Lennox", 0, #-- selected.0 = 4
"Sense", "HTC Sense Theme by amarullz", 0 #-- selected.0 = 5
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
##
# SET THEME
#
#-- Change Info:
# file_getprop : should use absolute path "/tmp/aroma/theme.prop"
# prop : just use relative path "theme.prop" will automatically read the "/tmp/aroma/theme.prop"
#
if prop("theme.prop","selected.0")=="2" then
theme("miui");
endif;
if prop("theme.prop","selected.0")=="3" then
theme("ics");
endif;
if prop("theme.prop","selected.0")=="4" then
theme("miui4");
endif;
if prop("theme.prop","selected.0")=="5" then
theme("sense");
endif;
|