Aroma installer 2.56 - Android Q&A, Help & Troubleshooting

Please help me,
SYNTAX ERROR!!! aroma-config on line 8 col 1
aroma-config here:
pastebin.com/amQuVCWj
Click to expand...
Click to collapse

Try my method on aroma post and report and
http://forum.xda-developers.com/showthread.php?t=1770284
This is aroma support thread port there not here lil
Sent from my HTC Sensation Z710e using Tapatalk 2

please help me
Harbir said:
Try my method on aroma post and report and
http://forum.xda-developers.com/showthread.php?t=1770284
This is aroma support thread port there not here lil
Sent from my HTC Sensation Z710e using Tapatalk 2
Click to expand...
Click to collapse
Thanks & other problem :
Here in last line error ? why ?
################################INSTALL#################################
if prop("ch.prop","selected.1")== "1"
then
install(
"Walkman Xperia™ Installation",
getvar("rom_name") + "\n" +
"Please wait while installation completes" +
"",
"icons/install"
);
checkviewbox(
#-- Title
"Installation Completed",
#-- Text
"<#selectbg_g><b>Congratulations...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n",
#-- Icon
"@welcome",
#-- Checkbox Text
"Reboot your device now.",
#-- Initial Checkbox value ( 0=unchecked, 1=checked ) - (Optional, default:0)
"1",
#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"
);
endif;
###
#
# Check if reboot checkbox was checked
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;

What is the error so I can look into
Sent from my HTC Sensation using Tapatalk 2

Harbir said:
What is the error so I can look into
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
(status 0) - line 257 col 7 :
257 : endif;

MicQo said:
(status 0) - line 257 col 7 :
257 : endif;
Click to expand...
Click to collapse
Try to delete end if whole line and make it again as it some time worked with me ...
Sent from my HTC Sensation using Tapatalk 2

please help me
Harbir said:
Try to delete end if whole line and make it again as it some time worked with me ...
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
Without endif Error in 277 col 17
with endif error in 280 line 7

sorry wrong post

Related

[ROM] HTC Evo 3D GSM aka SHOOTERU Test MIUI Build 15 1.11.18 [WIP]

Ok so I don't have this device and there is a bunch of people that want to try it so here you go.
If you brick your **** don't blame me! Its a test build Don't even know if it will boot!
Adb me some logcats and we can get it working
logcat.miui.us and paste link I will see what I can do!
I would hope others would step in and help out with this!
Test 15 http://www.mediafire.com/?c1osls4cz4lnizg
Last test of the night
nattskift said:
"[3a] Revolutionary CWM
(i) download Revolutionary shutteru CWM recovery from here
(ii) reboot device in bootloader mode > plug in usb cable until u see FASTBOOT USB on device screen
(iii) now in adb type : fasboot flash recovery cwm-4.0.1.4-shooteru.img
(iv) Done."
This file.
Click to expand...
Click to collapse
just in case
ok last one for fun!
not a fan of miui but I'm willing to give it a try . what's the chances of a brick with this ?
shouldn't effect recouvery right so i can always restore ?
Garrytheogre said:
not a fan of miui but I'm willing to give it a try . what's the chances of a brick with this ?
shouldn't effect recouvery right so i can always restore ?
Click to expand...
Click to collapse
yeah I included the stock boot.img so you should be fine there is no recovery added so will not brick you device.
but test at your risk.
I have been asked a bunch of times to help out. if there is a aosp kernel that would help a bunch
will this suffice
forum.xda-developers.com/showthread.php?t=1313117
got an error 6 on flashing then it aborts the flash
Tld you guys he was working on it its always good to follow ppl on Twitter. Right Scott LOL
Sent from my PG86100 using xda premium
Garrytheogre said:
will this suffice
forum.xda-developers.com/showthread.php?t=1313117
got an error 6 on flashing then it aborts the flash
Click to expand...
Click to collapse
Cwm or twrp?
Sent from my PG86100 using XDA App
revolutionary cwm
ok test two with the kernel you said http://www.mediafire.com/?9bx2vmhd0ec82pg
Just making a backup now and will test it and report back.
By the way, does it support multilanguage like Arabic? Do we need to choose kernel ? Thanks
Hi,
Tried and get the error status 7.
coreless88 said:
Hi,
Tried and get the error status 7.
Click to expand...
Click to collapse
test 3 http://www.mediafire.com/?5xlvk3bsccjs4e3
I will be following this closely and will try flash tonight. How exciting its like xmas!
Sent from my Evo 3D GSM...bring on the AOSP!!!
Downloaded.
Error during flash.
Code:
Installing update...
mount() expects 4 args. got 3
E:Error in /sdcard/roms/SHOOTERU-MIUI-1.11.11.11-TEST-BUILD-3.zip
(Status 7)
Installation aborted.
Recovery.log coming up...
it does not work gave me status error 7
this one when ran on test 2, will check test 3 and report back
maaafeb05 said:
it does not work gave me status error 7
Click to expand...
Click to collapse
test3?
seems weird
Recovery.log:
Code:
-- Installing: /sdcard/rom/SHOOTERU-MIUI-1.11.11-TEST-BUILD-3.zip
Finding update package...
I:Update location: /sdcard/rom/SHOOTERU-MIUI-1.11.11-TEST-BUILD-3.zip
Opening update package...
Installing update...
Creating filesystem with parameters:
Size: 838859776
Block size: 4096
Blocks per group: 32768
Inodes per group: 7315
Inode size: 256
Journal blocks: 3200
Label:
Blocks: 204799
Block groups: 7
Reserved block group size: 55
Created filesystem with 11/51205 inodes and 6651/204799 blocks
script aborted: mount() expects 4 args, got 3
mount() expects 4 args, got 3
E:Error in /sdcard/rom/SHOOTERU-MIUI-1.11.11-TEST-BUILD-3.zip
(Status 7)
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/rom/SHOOTERU-MIUI-1.11.11-TEST-BUILD-3.zip")
Ok updater script and build prop are jacked up
scott951 said:
Ok updater script and build prop are jacked up
Click to expand...
Click to collapse
The two lines that contain mount and only has three args are
mount("MTD", "userdata", "/data");
mount("MTD", "system", "/system")
Must be one of those right?
Is there anything i can do to help?

How to add permissions for init.d folder in 4.0 (AOSP) source?

I would like to know how you add permissions for init.d folder in the aosp source so that the rom supports the init.d folder and scripts in it by default..
Sent from my Galaxy Nexus using Tapatalk 2
iceandfire said:
I would like to know how you add permissions for init.d folder in the aosp source so that the rom supports the init.d folder and scripts in it by default..
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Updater script.
Sent from my Nexus S 4G using xda premium
Well I know that. But where is the updater script built from? Where to add it in the source?
Sent from my Galaxy Nexus using Tapatalk 2
I will link you something when I get home.
Sent from my Nexus S 4G using xda premium
I found the easiest way was to look at a script that did what I want mine to do, then compare it to one that already exists for my device, and merge the two. My $0.02.
lithid-cm said:
I will link you something when I get home.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
Still waiting....
chmod is the command , put it in the updater script , and then use the command on desired files ie chmod +777 /system/etc/init.d , something like that , hope it helps
I know what to add. But I want to know from where is the updater script built from the source. Where to add the permissions in the AOSP source for init.d folder.
Ok...this may seem simple, but have you tried using grep to search the code base? And I think it might be done in the releasetools scripts, do you have a releasetool folder in your device tree?
Here you go:
https://github.com/TeamHorizon/android_build/tree/master/tools/releasetools
In this file: https://github.com/TeamHorizon/android_build/blob/master/tools/releasetools/ota_from_target_files
Look at this module:
Code:
import edify_generator
When I get home from work I'll take a closer look at the API and see if I can get you the exact command.
---------- Post added at 03:20 PM ---------- Previous post was at 03:05 PM ----------
def SetPermissions(self, fn, uid, gid, mode)
You are going to want to call that function in there with your arguments. I'm guessing you can take it from here? Or do you need more help?
A little more help would be appreciated. Like what to add.
Sent from my Galaxy Nexus using Tapatalk 2
Ok I've never done this before so we are going to have to try some stuff. Let's start with this.
Find this block of code in the releasetools/ota_from_target_files file.
Code:
def WriteFullOTAPackage(input_zip, output_zip):
# TODO: how to determine this? We don't know what version it will
# be installed on top of. For now, we expect the API just won't
# change very often.
script = edify_generator.EdifyGenerator(3, OPTIONS.info_dict)
metadata = {"post-build": GetBuildProp("ro.build.fingerprint", input_zip),
"pre-device": GetBuildProp("ro.product.device", input_zip),
"post-timestamp": GetBuildProp("ro.build.date.utc", input_zip),
}
device_specific = common.DeviceSpecificParams(
input_zip=input_zip,
input_version=OPTIONS.info_dict["recovery_api_version"],
output_zip=output_zip,
script=script,
input_tmp=OPTIONS.input_tmp,
metadata=metadata,
info_dict=OPTIONS.info_dict)
if not OPTIONS.omit_prereq:
ts = GetBuildProp("ro.build.date.utc", input_zip)
script.AssertOlderBuild(ts)
AppendAssertions(script, input_zip)
device_specific.FullOTA_Assertions()
script.ShowProgress(0.5, 0)
script.Print("")
script.Print("************************************************")
script.Print("* *")
script.Print("* Team Horizon Presents *")
script.Print("* Xenon HD *")
script.Print("* Ice & Fire Adam80460 *")
script.Print("* *")
script.Print("************************************************")
script.Print("")
script.Print("Installing system files...")
if OPTIONS.wipe_user_data:
script.FormatPartition("/data")
script.FormatPartition("/system")
script.Mount("/system")
script.UnpackPackageDir("system", "/system")
(symlinks, retouch_files) = CopySystemFiles(input_zip, output_zip)
script.MakeSymlinks(symlinks)
if OPTIONS.aslr_mode:
script.RetouchBinaries(retouch_files)
else:
script.UndoRetouchBinaries(retouch_files)
boot_img = common.GetBootableImage("boot.img", "boot.img",
OPTIONS.input_tmp, "BOOT")
Item.GetMetadata(input_zip)
Item.Get("system").SetPermissions(script)
common.CheckSize(boot_img.data, "boot.img", OPTIONS.info_dict)
common.ZipWriteStr(output_zip, "boot.img", boot_img.data)
script.ShowProgress(0.2, 0)
script.ShowProgress(0.2, 10)
script.WriteRawImage("/boot", "boot.img")
script.ShowProgress(0.1, 0)
device_specific.FullOTA_InstallEnd()
if OPTIONS.extra_script is not None:
script.AppendExtra(OPTIONS.extra_script)
script.UnmountAll()
script.AddToZip(input_zip, output_zip)
WriteMetadata(metadata, output_zip)
Below the line that says Item.Get("system").SetPermissions(script) add:
Code:
script.SetPermissions("<path to your folder>", uid, gid, XXXX)
Please let me know if it works, I'm curious!
thewadegeek said:
Ok I've never done this before so we are going to have to try some stuff. Let's start with this.
Find this block of code in the releasetools/ota_from_target_files file.
Code:
def WriteFullOTAPackage(input_zip, output_zip):
# TODO: how to determine this? We don't know what version it will
# be installed on top of. For now, we expect the API just won't
# change very often.
script = edify_generator.EdifyGenerator(3, OPTIONS.info_dict)
metadata = {"post-build": GetBuildProp("ro.build.fingerprint", input_zip),
"pre-device": GetBuildProp("ro.product.device", input_zip),
"post-timestamp": GetBuildProp("ro.build.date.utc", input_zip),
}
device_specific = common.DeviceSpecificParams(
input_zip=input_zip,
input_version=OPTIONS.info_dict["recovery_api_version"],
output_zip=output_zip,
script=script,
input_tmp=OPTIONS.input_tmp,
metadata=metadata,
info_dict=OPTIONS.info_dict)
if not OPTIONS.omit_prereq:
ts = GetBuildProp("ro.build.date.utc", input_zip)
script.AssertOlderBuild(ts)
AppendAssertions(script, input_zip)
device_specific.FullOTA_Assertions()
script.ShowProgress(0.5, 0)
script.Print("")
script.Print("************************************************")
script.Print("* *")
script.Print("* Team Horizon Presents *")
script.Print("* Xenon HD *")
script.Print("* Ice & Fire Adam80460 *")
script.Print("* *")
script.Print("************************************************")
script.Print("")
script.Print("Installing system files...")
if OPTIONS.wipe_user_data:
script.FormatPartition("/data")
script.FormatPartition("/system")
script.Mount("/system")
script.UnpackPackageDir("system", "/system")
(symlinks, retouch_files) = CopySystemFiles(input_zip, output_zip)
script.MakeSymlinks(symlinks)
if OPTIONS.aslr_mode:
script.RetouchBinaries(retouch_files)
else:
script.UndoRetouchBinaries(retouch_files)
boot_img = common.GetBootableImage("boot.img", "boot.img",
OPTIONS.input_tmp, "BOOT")
Item.GetMetadata(input_zip)
Item.Get("system").SetPermissions(script)
common.CheckSize(boot_img.data, "boot.img", OPTIONS.info_dict)
common.ZipWriteStr(output_zip, "boot.img", boot_img.data)
script.ShowProgress(0.2, 0)
script.ShowProgress(0.2, 10)
script.WriteRawImage("/boot", "boot.img")
script.ShowProgress(0.1, 0)
device_specific.FullOTA_InstallEnd()
if OPTIONS.extra_script is not None:
script.AppendExtra(OPTIONS.extra_script)
script.UnmountAll()
script.AddToZip(input_zip, output_zip)
WriteMetadata(metadata, output_zip)
Below the line that says Item.Get("system").SetPermissions(script) add:
Code:
script.SetPermissions("<path to your folder>", uid, gid, XXXX)
Please let me know if it works, I'm curious!
Click to expand...
Click to collapse
This is what I got.
http://pastebin.com/SXzNtYrt
Trying something now. Will let you know.
Hahaha sorry I didn't mean literal "uid" and "gid", I meant the one's you wanted to use! I think "0" should work for both. And you don't actually put the "<>" around the brackets either. So try:
script.SetPermissions("/system/etc/init.d", 0, 0, 0755)
thewadegeek said:
Hahaha sorry I didn't mean literal "uid" and "gid", I meant the one's you wanted to use! I think "0" should work for both.
Click to expand...
Click to collapse
Hehe got that. Playing with it.
Cool glad it's going.
Added this in the file in the release tools:
script.SetPermissions("/system/etc/init.d", 0, 0555, 0755)
Got this in my updater script:
set_perm(0, 365, 0755, "/system/etc/init.d");
Will test it tomorrow.
Thanks for the help.
No problem, that's why we have a community. Besides it was nice to get a question from somebody who is actually trying to do something from source, and not all these people that just want to be "l33t" developers.
You probably want to add an entry for /system/etc/init.d in this file.
https://android.googlesource.com/pl...r/include/private/android_filesystem_config.h
So, you probably want to do this.
https://github.com/CyanogenMod/android_system_core/commit/cf47652af591a391c871d1ef8338565d6e5310ea

[Q] Need help on Aroma Installer.

Hi guys.
I need some help on Aroma Installer and how to configure it.
I know up to how to add the Aroma Installer, and choose it's theme.
But, I want to learn a bit more about how to add options.
e.g Select Launcher
Select Music Player
Select Theme.
etc.
How can options be added to the Aroma Installer?
Lots of reading to be done here....
http://forum.xda-developers.com/showthread.php?p=28706056
Sent from my GT-I9300 using xda app-developers app
Download the AROMA installer 2.56 from the thread and have a look through the files. All the files will be in the META-INF folder. The ones you want are all the way into the /aroma/ folder.
You want aroma-config and updater-script. If you don't know EDIFY... then you need to go and read up on EDIFY first. The two files are heavily annotated so it's quite easy to follow. You can/should also download a ROM that uses it and read through how they've implemented it. Darkside Agent who cooks CodecROM said I could freely look through his and see how he's done things. You could look at his, and I will extend the same and let you look through mine
This may be a good place to start also:
http://alpha-techs.co.uk/files/roms/ultima/Mods/Mega_Wipe_AROMA.zip
Compare it to the default installer with the examples (Aroma-installer-2.56.zip) or use it as a base and modify it to your liking. I don't mind.
Looking at my Mega_Wipe script, in aroma-config you see this:
Code:
selectbox(
"Mega, Super and Simple Data Wipe",
"Which method would you like to use?",
"@alert",
"clear.prop",
"Make your selection", "", 2, #-- Group 1. key = "selected.1"
"Mega Wipe", "Wipe EVERYTHING (System, Data, Preload and internal storage)", 0, #-- selected.1 = 1
"Wipe Data", "Wipe System Data, Dalvik Cache and Cache", 0, #-- selected.1 = 2
"Simple Wipe", "Wipe Cache and Dalvik Cache", 1 #-- selected.1 = 3
);
To add another choice you simply add something else like this ^ replacing everything as you see fit.
I suggest editing in notepad++ and setting the language to shell.
PM me if you need help and I'll try.
Download this zip and have a look in 2 files:
Aroma-config and
Updater-script
This is the configuration I use for my ROM.
Look at both the files side-by-side. Basically what happens here is you ask the user to choose an option, that option number 1,2,3,4 etc is stored in the cache in file.prop..
This value is then used to flash the respective files using IF-Then statement..
If you don't get to understand anything ping me..
I tried to put a selection in launcher. But it says bad in cwm.
What's wrong in this aroma-config file:
Code:
textbox(
#-- Title
"rom",
#-- Subtitle
"CHANGELOG",
#-- Icon
"@update",
#-- Arg 4
resread("changelogs.txt")
);
###########################################################################
# rom Aroma Config #
###########################################################################
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
"**Default is Xperia Launcher**", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Use Xperia Launcher as default in your rom", 1, #-- selected.1 = 1
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
);
appendvar("installmsg","\n\nPlease Select Installation Type Below:");
install(
"Installing",
"<#999>Now flashing rom...\nPlease Wait...</#>",
"icons/install"
);
masterex567 said:
I tried to put a selection in launcher. But it says bad in cwm.
What's wrong in this aroma-config file:
Code:
textbox(
#-- Title
"rom",
#-- Subtitle
"CHANGELOG",
#-- Icon
"@update",
#-- Arg 4
resread("changelogs.txt")
);
###########################################################################
# rom Aroma Config #
###########################################################################
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
"**Default is Xperia Launcher**", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Use Xperia Launcher as default in your rom", 1, #-- selected.1 = 1
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
);
appendvar("installmsg","\n\nPlease Select Installation Type Below:");
install(
"Installing",
"<#999>Now flashing rom...\nPlease Wait...</#>",
"icons/install"
);
Click to expand...
Click to collapse
Don't put a "," after the 0 in the last line...
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
zoot1 said:
Don't put a "," after the 0 in the last line...
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
Click to expand...
Click to collapse
Okk.
I did that and now the package doesn't show errors in CWM.
The aroma works fine.
Is it ok, if there is no launcher in the \system\app but just in the Apps\launchers folder?
After "Installing Launcher"
it gives an error saying:
file_getprop: failed to stat
"/tmp/aroma/launcher.prop": No such file or directory..
Why is that problem occuring?
Plus the rom no longer boots.
Reboots automatically into recovery.
Logcat says:
- exec '/system/bin/sh' failed: Permission denied (13) -
Anyone?
It's okay to not have a launcher included in the rom.. However if the launcher flash fails.. Your system will show a black screen after booting..
Don't know what is causing the other problems.. Somehow the launcher.prop file is not getting created..
Send me the meta folder I will have a look and try to find out he problem.. Also the error log
sent from here, there, somewhere!!
zoot1 said:
It's okay to not have a launcher included in the rom.. However if the launcher flash fails.. Your system will show a black screen after booting..
Don't know what is causing the other problems.. Somehow the launcher.prop file is not getting created..
Send me the meta folder I will have a look and try to find out he problem.. Also the error log
sent from here, there, somewhere!!
Click to expand...
Click to collapse
I have sent a link of the meta-inf to your pm.
Thanks
masterex567 said:
I have sent a link of the meta-inf to your pm.
Thanks
Click to expand...
Click to collapse
Things which noticed at first glance are:
1.in
Code:
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
The launcher.prop command is in the location of the icon file
try adding
Code:
"@icon",
above launcher.prop command
2. the comma "," is still there after the last zero (0)
3. Try adding the restart command in the end
modify these lines to suit your needs and add in the end
Code:
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
zoot1 said:
Things which noticed at first glance are:
1.in
Code:
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"launcher.prop",
The launcher.prop command is in the location of the icon file
try adding
Code:
"@icon",
above launcher.prop command
2. the comma "," is still there after the last zero (0)
3. Try adding the restart command in the end
modify these lines to suit your needs and add in the end
Code:
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"+ini_get("rom_name")+"</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
Click to expand...
Click to collapse
I remove the comma, but leave the quotes? (" ") ??
masterex567 said:
I remove the comma, but leave the quotes? (" ") ??
Click to expand...
Click to collapse
no no..quotes were just to highlight the comma..it will be
0 #-- selected.1 = 2
zoot1 said:
no no..quotes were just to highlight the comma..it will be
0 #-- selected.1 = 2
Click to expand...
Click to collapse
Ok.
here's the whole aroma config:
Code:
##
#
# AROMA Installer - based on the Mod-installer by KamikaZeeFu
# (c) 2011 by Ahmad Amarullah
# amarullz - xda-developers
# http://www.amarullz.com/
theme("ics");
calibrate("0.9263","21","0.9944","1","yes");
viewbox(
"<#999>Welcome</#>",
"\n\n\n\n\n"+
" <#999>This is the Installation Procedure to Flash</#>\n"+
" <#999>rom</#>\n\n"+
"\n\n\n"+
"<#999>Press Next to continue the installation...</#>",
"icons/info"
);
textbox(
#-- Title
"rom",
#-- Subtitle
"CHANGELOG",
#-- Icon
"@update",
#-- Arg 4
resread("changelogs.txt")
);
###########################################################################
# rom Aroma Config #
###########################################################################
selectbox(
"Launchers",
"Select the desired Launcher you wish to use",
"@icon",
"launcher.prop",
"**Default is Xperia Launcher**", "", 2, #-- Group 1. key = "selected.1"
"Xperia Launcher", "Use Xperia Launcher as default in your rom", 1, #-- selected.1 = 1
"Holo Launcher", "Use Holo Launcher as default in your rom", 0, #-- selected.1 = 2
);
appendvar("installmsg","\n\nPlease Select Installation Type Below:");
install(
"Installing",
"<#999>Now flashing rom..\nPlease Wait...</#>",
"icons/install"
);
);
ini_set("text_next", "Finish");
checkviewbox(
"Installation Completed",
"<#selectbg_g><b>Congratulation...</b></#>\n\n"+
"<b>"this rom "</b> has been installed into your device.\n\n"+
"Installer Status: "+getvar("retstatus")+"\n\n",
"@welcome",
"Reboot your device now.",
"1",
"reboot_it"
);
if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0 #-- selected.1 = 2 );
That comma is still there..use the code from above..
zoot1 said:
Code:
"Holo Launcher", "Use Holo Launcher as default in your rom", 0 #-- selected.1 = 2 );
That comma is still there..use the code from above..
Click to expand...
Click to collapse
Ok. Hit the Thanks button once again.
I'll test soon, and post the results.
Thanks again.
Okk.
I tried it.
And
It says:
Code:
SYNTAX ERROR!!! aroma-config on line 52 col 2.
E:Error in /sdcard/rom.zip
(Status 1)
The log shows:
Code:
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 /sdcard/rom.zip
This is what is at line 59 of the aroma config:
Code:
ini_set("text_next", "Finish");
masterex567 said:
Okk.
I tried it.
And
It says:
Code:
SYNTAX ERROR!!! aroma-config on line 52 col 2.
E:Error in /sdcard/rom.zip
(Status 1)
The log shows:
Code:
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 /sdcard/rom.zip
This is what is at line 59 of the aroma config:
Code:
ini_set("text_next", "Finish");
Click to expand...
Click to collapse
there is an extra
Code:
);
before
Code:
ini_set("text_next", "Finish");
remove it and let me know how it goes.
zoot1 said:
there is an extra
Code:
);
before
Code:
ini_set("text_next", "Finish");
remove it and let me know how it goes.
Click to expand...
Click to collapse
I removed it.
Problem still persists.
This is what is above line 59:
Code:
install(
"Installing",
"<#999>Now flashing Droid ACE v2.1...\nPlease Wait...</#>",
"icons/install"
);
ini_set("text_next", "Finish");
checkviewbox(

[SOLVED] [Q] Help please for Aroma

Hi, i try to make a rom with aroma installer.
Since this morning I'm stuck on this problem : there's no error when I run, but during installation I propose a choice for system apps installation. or two of them a second choice is needed.
when i selected one (thememangager) the new selectbox comes.
but for second (livewallpaper) nothing happens, it goes to next. As if there's no choice. I've read and read again, but I can't find my problem.
Could someone help me please? (i've join the text in that show content)
Thanks in advance...
HTML:
checkbox(
"System Apps",
"Select the apps you want to install: ",
"@apps",
"systemapps.prop",
"Choose System Apps", "", 2,
"Email", "Exchanges services", 0, #-- item.1.1
"Bluetooth", "If you use Bluetooth, needed", 0, #-- item.1.2
"DSP Manager", "Manage the sound for headphones, speacker, and bluetooth", 0, #-- item.1.3
"GooManager", "Not a needed for MuSPaC but I you want...", 0, #-- item.1.4
"LockClock", "Time, weather, calendar in one widget customizable", 1, #-- item.1.5
"Performance Control", "More options to set perf of your Ace", 1, #-- item.1.6
"Theme Manager", "Choose between original or manage hdpi themes", 1, #-- item.1.7
"Torch", "It can help to use Pie's or statusbar's torch shotrcut, but...", 1, #-- item.1.8
"Voice Dialer", "Original voice recognition", 0, #-- item.1.9
"WallPaper picker", "To manage wallpaper in other way that the gallery", 0, #-- item.1.10
"LiveWallPaper Picker", "May not be installed"+
"To manage the LWP, but watch out for your battery", 0 #-- item.1.11
);
#ThemeManager
if
file_getprop("/tmp/aroma/systemapps.prop","item.1.7") == "1"
then
selectbox(
"Theme Manager",
"Wich Theme Manager do you want ?",
"@thememan",
"systemapps.prop",
"Choose", "", 2,
"Hdpi", "To enable Hdpi themes", 1,
"Normal", "Most of themes just need this one", 0
);
else
writetmpfile(
"systemapps.prop",
"selected.1=0\n"
);
endif;
#LiveWallpaper
if
file_getprop("/tmp/aroma/systemapps.prop","item.1.11") == "1"
then
checkbox(
"Live Wallpaper",
"Which Live Wallpaper(s) would you like?",
"@lwp",
"livewall.prop",
"Choose", "", 2,
"Deep Sea", "Translucent Jellyfish swim through the deep sea.", 0,
"Luminous Dots", "Glowing dots move smoothly across the screen as if alive.", 0,
"Noise Field", "Bubbles fade in and out of view as they swirl across the screen.", 0,
"Phase Beam", "Relaxing pulses of colour and light move serenely across the screen.", 0
);
else
writetmpfile(
"livewall.prop",
"item.1.1=0\n"+
"item.1.2=0\n"+
"item.1.3=0\n"+
"item.1.4=0\n"
);
endif;
I finally found my answer : stop to search solution will come alone.
if it can be useful to someone : 1 choice = 1 *.prop file.
so first choice is the sytem apps (systemapps.prop). Then if required you'll go to the 2nd or 3d choice. Here theme manager and LWP picker. So thememan.prop and lwp.prop.
If, like me, you put twice systemapps.prop, it will or rewrite the file erasing the the first time, or considering it is yet choosen. That's why it didn't work.
Re: [Q] Help please for Aroma
Better than aroma try dsixda kitchen.
"NEVER CALL YOURSELF NOOB BE A NEWBIE"
PM me if u need help
Sent from MOON......
Moonguy75 said:
Better than aroma try dsixda kitchen.
"NEVER CALL YOURSELF NOOB BE A NEWBIE"
PM me if u need help
Sent from MOON......
Click to expand...
Click to collapse
Thanks but why would I prefer? Have you tried? What in more?
I've read fastly, but thread is indicate as closed, so for any question it risk to be difficult!?
Aroma semmed to be easier... and I'd like to not read again some pages and pages to learn a new kind of program. (sure if i can't manage to work it, i'll think twice about!)
It's not that my rom don't run or stopped for error. It works before and after. Just the second menu doesn't appear.
Anyway thanks for your purpose (and for explaination for dsixda if you want to learn me).
Anybody else an idea?

Can you help with installer aroma?

I modified the installer aroma to include some optional installation apps, I edited the files "aroma-config" and "updater-script" but when you start the installation appears:
SYNTAX ERROR! aroma-config on line 380 col 2
(status 1)
Installation aborted
look in aroma-config on line 380 but only shows this:
PHP:
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
); (line 380)
##
#
# Next Screen is Installation UI, So change the next button text to "Install Now"
#
could someone help me?
thanks
I remember in android themes or general there is a thread for aroma installer q and a. U can ask there to get best help
Sent from my Xperia Neo V using Tapatalk 2
PHP:
###################################################################################################################
#
# STEP 8 - CUSTOMIZE YOUR INSTALLATION
#
checkbox(
#-- Title
"Customize",
#-- Sub Title
"Choose items what you desire as utilites",
#-- Icon: <AROMA Resource Dir>/icons/personalize.png or <ThemeDir>/icon.personalize.png
"@personalize",
#-- Will be saved in /tmp/aroma/customize.prop
"customize.prop",
#------------------------------------------------[ Checkbox Without Group ]----------------------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-------------------------------------------------------------------------------------+---------------#
"App", "", 2, #-- Group 1. key = "item.1.x"
"Advanced Task Killer Pro","Advanced Task Killer Pro", 0, #-- item.1.3
"Download Music Info","Xperia Download Music info app works on both BL", 0, #-- item.1.4
"Sony's Facebook Integration","Facebook Integration for Xperia devices", 0, #-- item.1.5
"Stock Keyboard GB","Gingerbread keyboard stock", 0, #-- item.1.10
"Gallery Google","Gallery Google more Camera HOLO", 0 #-- item.1.7
SYNTAX ERROr...373 col 17 "Root Explorer","Explorer rooted system file manager", 0, #-- item.1.1
"Titanium backup","This app is used to backup user apps and system apps", 0, #-- item.1.2
"Link2SD","Their phone to move applications to the SD card.", 0, #-- item.1.9
"Boost My Xperia","Tiny yet Powerfull Tool", 0, #-- item.1.6
"Seeder","LAG Reduction", 0, #-- item.1.8
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
##
#
# Next Screen is Installation UI, So change the next button text to "Install Now"
#
ini_set("text_next", "Install");

Categories

Resources