yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
Do you mean Status 1 in the Updater-Script?
[Android Software/Hacking General [Developers Only]] Robobob1221:
No it was status 6, but with no particular line error.

I fixed it now, I had to through a redo my if statements

Sent from my Xoom using Xparent ICS Tapatalk 2
[Android Software/Hacking General [Developers Only]] evolutioncsr:
Try this

if

file_getprop("/tmp/aroma/app_choices.prop", "item.2.1") == "1"

then

ui_print("Installing Xplore");

package_extract_dir("data/Xplore", "/data/app");

endif;

:) Im not an expert though so dont hold me to this.
[Android Software/Hacking General [Developers Only]] Ganesh A:
Whays set progress

My Greatest Work:

Xperia NxT MoD v1.2 For All GB

http://xdaforums.com/showthread.php?t=1967172

Sent from my GT-5360 with Xperia NxT MoD
[Android Software/Hacking General [Developers Only]] iONEx:
I need some help if anyone would be that kind :)

I get this error in log:

1 parse errors
line 479 col 34: syntax error, unexpected $end

Installer Error (Status 6)

EOL conversion is OK.

AROMA works fine, I can select all options. But when It comes to flashing, it just takes a second and says finished.

I've tried googling for half a day now, no success :-/

I've attached aroma-config and updater-script.

Thank you!
[Android Software/Hacking General [Developers Only]] shubhamchamaria:
Try v2.50 and also post your aroma log here....
[Android Software/Hacking General [Developers Only]] cincyelite22:
I think im going to give up on worrying about multiple selections the way im doing it. Does anyone know how to make aroma create a tmp systemui.apk where the selections would drop the folders with the changes and then at the end compile and install it?
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
You can't compile in recovery -.-
[Android Software/Hacking General [Developers Only]] Ichigo:
Never mind. I got it.
[Android Software/Hacking General [Developers Only]] Patrics83:
I don't think you can use that many splash images. Try with the first 20 and see if that helps. If else, try with only 15 etc...

I remember right I had some troubles long time ago with this.

(I didn't check the rest of your aroma because of the splash stuff)

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] sniper:
You're missing a comma after the 30 for a6.

Click here for custom mods for your E4GT
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
Thank you! That fixed it! But I have another problem, the very last line has a error :(
[Android Software/Hacking General [Developers Only]] Ichigo:
Anybody know how to install a Launcher in the updater-script? I've tried everything. My Browsers install, my file managers install, but the launchers won't freaking install.
[Android Software/Hacking General [Developers Only]] OMJ:
I should of posted here instead of the main thread....anyone have a solution for me?

http://xdaforums.com/showthread.php?p=35769094#post35769094

thx
[Android Software/Hacking General [Developers Only]] sniper:
Instead of using else just use separate if statements:

if...

then...

endif;

if...

then...

endif;

etc.

Click here for custom mods for your E4GT
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
What is wrong with the last line of my script?
[Android Software/Hacking General [Developers Only]] Ichigo:
Dang. Made a little change to my script, and now nothing works. I get this error:

line 379 col 1: syntax error, unexpected $end
1 parse errors
Installer Error (Status 6)

Line 379 is the last line, and it's blank. All I even did was change where a file should be installed (I think it was the pakage_extract line)

a.k.a. Josepho1997

Merry Christmas!
[Android Software/Hacking General [Developers Only]] shubhamchamaria:
Last line errors usually missing an endif; or something....
[Android Software/Hacking General [Developers Only]] OMJ:
thx, I'll try that....but what statement should I be using? I thought my prop info was wrong...based on what amarullz had stated in the quote below...

if
file_getprop("/tmp/aroma-data/custom.prop","item.1.1") == "1"
then
menubox(
"Which Battery Mod Do You Prefer?",
"Please Select:",
"@apps",
"battery.prop",

"Circle w/Percent","This will install the circle battery","@circle",
"Another Circle w/Percent","This will install another circle battery","@circle2",
"Stock Sense w/ no Percent","This will install the stock battery","@stock",
"Stock Sense w/Percent","This will install the stock battery w/ percent","@stock2",
"Blue Stock Sense w/Percent","This will install the stock battery w/ percent","@stock3"

);
endif;

if
file_getprop("/tmp/aroma-data/custom.prop","item.1.1") == "1"
then
ui_print("-> Adding Custom Battery");

if file_getprop("/tmp/aroma-data/battery.prop","[COLOR="Red"]selected.0") == "1" [/COLOR]then
ui_print("-> Adding Circle w/Percent Battery");
delete("/system/app/SystemUI.apk");
package_extract_dir("customize/battery/circlepercent", "/system");
endif;
if file_getprop("/tmp/aroma-data/battery.prop","[COLOR="red"]selected.0") == "2"[/COLOR] then
ui_print("-> Adding Circle 2 w/Percent Battery");
delete("/system/app/SystemUI.apk");
package_extract_dir("customize/battery/circlepercent2", "/system");
endif;

or

if
file_getprop("/tmp/aroma-data/custom.prop","item.1.1") == "1"
then
ui_print("-> Adding Custom Battery");

if file_getprop("/tmp/aroma-data/battery.prop",[COLOR="red"]"selected.1")[/COLOR] then
ui_print("-> Adding Circle w/Percent Battery");
delete("/system/app/SystemUI.apk");
package_extract_dir("customize/battery/circlepercent", "/system");
endif;
if file_getprop("/tmp/aroma-data/battery.prop",[COLOR="red"]"selected.2")[/COLOR]then
ui_print("-> Adding Circle 2 w/Percent Battery");
delete("/system/app/SystemUI.apk");
package_extract_dir("customize/battery/circlepercent2", "/system");
endif;

amarullz post....

Answered my own question.... this worked :)

if
file_getprop("/tmp/aroma-data/custom.prop","item.1.1") == "1"
then
ui_print("-> Adding Custom Battery");

if file_getprop("/tmp/aroma-data/battery.prop",[COLOR="red"]"selected") == "1"[/COLOR] then
ui_print("-> Adding Circle w/Percent Battery");
delete("/system/app/SystemUI.apk");
package_extract_dir("customize/battery/circlepercent", "/system");
endif;
if file_getprop("/tmp/aroma-data/battery.prop",[COLOR="Red"]"selected") == "2"[/COLOR] then
ui_print("-> Adding Circle 2 w/Percent Battery");
delete("/system/app/SystemUI.apk");
package_extract_dir("customize/battery/circlepercent2", "/system");
endif;
[Android Software/Hacking General [Developers Only]] iONEx:
I've tried to save AROMA log after installation, but no matter how many times I try it just won't save the log to sdcard!?

Anybody know the possible cause of this?

I need the log cuz I've got a bug in the installation.

In selectbox menu, some items are copied, some are not. But there's no typo or syntax error.

e.g. it copies bootanim1, but it won't copy bootanim2 no matter what I try!?

The folders are ok. I can upload aroma cofig and updater-script if someone wants to take a look at it. I just can't provide the log -.-

EDiT: I don't know about the log, but I finally found the problem with some files not copying... there can't be any uppercase letters.

I've named some folders like JB or Stock... changed it to jb and stock, now it works.
[Android Software/Hacking General [Developers Only]] Ichigo:
I'm getting it again after adding a few more options in aroma. Here are the final lines:

ui_print("Unmounting smooth system...");
unmount("/system");
show_progress(1, 0);
ui_print("Installation Done!");
*Blank line that gets error*

The thing is, before I added these options, I didn't get there error, but I never changed those lines. They worked in the last one I made, but not this one. Could it be the last ;?

a.k.a. Josepho1997

Merry Christmas!
[Android Software/Hacking General [Developers Only]] mrRobinson:
Final lines won't help. Error will be up higher. Use pastebin and paste in the whole thing with exact error you get.
[Android Software/Hacking General [Developers Only]] Ichigo:
Never mind. I fixed it by adding a ui_print(" "); on the final line.
[Android Software/Hacking General [Developers Only]] DaveConnor:
hi, I am getting a status (7) with this script though i can't see whats wrong!Can somebody plz tell me what's wrong in it.....

View attachment updater-script.txt

View attachment aroma-config.txt
[Android Software/Hacking General [Developers Only]] pratikmore:
I got stsus error 6 while flashing rom. here is the script :- http://db.tt/DMvx32Oi

My tab is hcl me u1 with emmc type.i have to delete erase.img;flash.img;bootloader;bml over mtd;recovery line in script???
[Android Software/Hacking General [Developers Only]] dtrail1:
Hey, I am using this awesome Installer! After 2 days of writing the scripts and executing the installer in recovery without errors, the installer works, I can choose the options. But when I tick "Install" it shows me the progress bar for about 2 seconds, then it says "Finished", but nothing has been installed. Could you please help me?

The device is Motorola Razr (XT910)

Recovery: Bootmenu Manager 0.3.0f (CMW 6 based)

---> updater-script <---

---> aroma-config <---

I guess maybe I have to include some extra function in the scripts? Or maybe it cannot create the tmp-files (prop)? It seems that the updater-script is totally ignored below the lines which starts aroma related stuff....

Thanks in advance!!

Edit: I got it!! Had to replace the mount point with busybox mounting command.
[Android Software/Hacking General [Developers Only]] shubhamchamaria:
Post aroma and recovery logs please.....
[Android Software/Hacking General [Developers Only]] DaveConnor:
To dtrail1

Can you please upload the new script so I can have a look?
[Android Software/Hacking General [Developers Only]] Волк:
I know this has been asked and answered before, I just can't seem to find it.

How can one verify that a partition is unmounted?

Basically I have an unmount command, followed by a format. I want to use an assert so that my installer doesn't try to format a mounted and in use volume.

Reason:

Formatting /Cache--
about to run program [/sbin/mke2fs] with 3 args
mke2fs 1.41.11 (14-Mar-2010)
/dev/block/mmcblk0p4 is apparently in use by the system; will not make a filesystem here!
run_program: child exited with status 1
about to run program [/sbin/tune2fs] with 4 args
tune2fs 1.41.11 (14-Mar-2010)
Please run e2fsck on the filesystem.

Checking /Cache for errors--
about to run program [/sbin/e2fsck] with 3 args
/sbin/e2fsck: Device or resource busy while trying to open /dev/block/mmcblk0p4
Filesystem mounted or opened exclusively by another program?
run_program: child exited with status 8

if
file_getprop("/tmp/aroma/format.prop","selected.0") == "3"
then
ui_print("Formatting /Cache--");
unmount("/cache");
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/CAC", "0", "/cache");
sleep(1);
ui_print(" ");
ui_print("Checking /Cache for errors--");
run_program("/sbin/e2fsck", "-fp", "/dev/block/mmcblk0p4");
ui_print(" ");
sleep(1);
ui_print("Cache sucesfully formatted--");
endif;

Device is N7

Note: I have changed the format command since the error.

Edit: Well, it looks like it's something stupid with CWM, either it doesn't respond to the unmount command or it just remounts /cache right away. I know it uses /cache for logs, but I've never had this issue on my G2x. Any ideas would be appreciated.
[Android Software/Hacking General [Developers Only]] Robobob1221:
"Sony Xperia Ray","ST18i","@device", #-- selected = 7

From this line remove the comma (,) from after @device. I think that's all.

Noted
[Android Software/Hacking General [Developers Only]] Dev Jaskirat:
it worked but now there's an error at line 258 col55

http://d-h.st/vBC pls fix it

thank you! and a happy new year! :)

Sent from my »Neo V«
[Android Software/Hacking General [Developers Only]] Ganesh A:
Aroma installer

Everything is fine except in

install box

Nothing is displayed which i wrote in my updater-script

Even the files are not installed

Try my mod...

Xperia NxT MoD v1.5 For All GB

http://xdaforums.com/showthread.php?t=1967172
[Android Software/Hacking General [Developers Only]] DaveConnor:
Can you tell how to do it???I know logcat won't work bcoz it doesn't work in recovery,i tried to save log in CWM but NOTHING is saved!Plz help,And also one thing,,,,,what does a status 7 error mean?
[Android Software/Hacking General [Developers Only]] Robobob1221:
"Timescape",	"Sony's Timescape"[COLOR="Red"][B],	[/B][/COLOR]	0,	#-- item.1.1

After the description you forgot the comma (,) after Sony Timescape.
[Android Software/Hacking General [Developers Only]] shahar2k9:
Aroma install screen

hey,

i've downloaded the last aroma, 2.56

when i'm trying to run it, and i get to the updater-script (installer screen)

the progress bar just run all the way up and finish the demo install...

didnt find any way to fix that...

there is no data on the installation screen and when i try to save n aroma log nothing happens...

no file...

running on i9300 with cwm 6.0.1.2

thanks for any help.

Shahar.
[Android Software/Hacking General [Developers Only]] masterex567:
??

If you just fflash this aroma2.56 zip it's not going to bring any features.

You need a rom that's implemented with aroma.

that is for rom chef's to customize.
[Android Software/Hacking General [Developers Only]] murkygrand:
Aroma installer bad?

i have tried multiple times at first i was getting syntax error status and now that it is fixed i get cannot install (bad)
[Android Software/Hacking General [Developers Only]] shahar2k9:
I have my own script dude...

Just wanna customize it so i can upload it to XDA.

about the aroma,

The demo updater-script uses 'sleep' and uiprint....

But when runing it.... it just blinks for a fraction and then finishing the install...
[Android Software/Hacking General [Developers Only]] shahar2k9:
I have a problem with the updater-script

When i add a line that is not a uiprint, the script dosent work...

Even when my upsater comtains only one line of unmount with uiprint, it fails.

If i delete that unmount line... works again...

Help please....
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
Please copy and paste or upload your updater-script so we can see it
[Android Software/Hacking General [Developers Only]] azoller1:
I got a status 1 error when flashing my file "line 77 col 2" it was my aroma-config here http://db.tt/ErstIkdL
[Android Software/Hacking General [Developers Only]] Robobob1221:
Looks like lines 74 and 84 remove the final comma from each line
[Android Software/Hacking General [Developers Only]] azoller1:
That worked thanks!

From My Fusioned LG Spectrum Tapatalk Style
[Android Software/Hacking General [Developers Only]] DanielFran:
Hello,

I am learning to create aroma script, but did not know what is wrong:

alert("Welcome", "Thanks", "@info");

# End

My recovery.log:

-- Installing: /sdcard/update.zip
Finding update package...
I:Update location: /sdcard/update.zip
Opening update package...
Installing update...
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: lightsensor - /sys/board_properties/virtualkeys.lightsensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

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

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

DEVICE NAME: proximity - /sys/board_properties/virtualkeys.proximity
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
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 4 col 1: syntax error, unexpected BAD
aroma/s: Close Graph Thread
aroma/s: Unmute Parent

SYNTAX ERROR!!! aroma-config on line 3 col 1
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/update.zip
(Status 1)
Installation aborted.

What could be wrong?

Thanks
[Android Software/Hacking General [Developers Only]] shahar2k9:
We need to see your aroma-config file...

Post here the first 10 lines...
[Android Software/Hacking General [Developers Only]] DanielFran:
The aroma-config file only contain the 3 lines above!?!
[Android Software/Hacking General [Developers Only]] DanielFran:
I do not know what were hapenning...

I create a new one from source and it is working now!

Thanks anyway.
[Android Software/Hacking General [Developers Only]] DanielFran:
Hello again,

Using aroma installer 2.56 demo script I cannot retrieve sytem properties!?!

I need to know what is the sytem density to define correctl dp... :(

Thanks for your help
[Android Software/Hacking General [Developers Only]] 2GigayteSD:
In the updater-script, extract /system first right after line 37 where you mount and wipe stuff... That should do it....
[Android Software/Hacking General [Developers Only]] Dr01nE:
[Q] Aroma Installer for themes?

Is it possible to use Aroma to install themes?

Like for example I want to install different SystemUI.apk's and different framewor-res.apks?

Where the user can decide which one would they like?
[Android Software/Hacking General [Developers Only]] sniper:
Yes, all you'd need are some select boxes.

LightWeight ? PACman ? PA
[Android Software/Hacking General [Developers Only]] azoller1:
My installer won't install anything it gets a blank screen at the install page just says @install at the top and nothing else in the box and just says to finish
[Android Software/Hacking General [Developers Only]] azoller1:
Anyone know why?
[Android Software/Hacking General [Developers Only]] dtrail1:
Check your mount points in your updater-script, e. G. Mount using busybox command, that helped for me. Also if you have something for flashing kernel or baseband, comment it iut and test again if it works. Hardware firmware flashing should happen on an extra path.

If the installer starts but installs nothing its related to the updater-script.

XT910 - Stock System: D-WiZ 2.0.4 / 2nd System: Moto Jelly Bean
[Android Software/Hacking General [Developers Only]] apophis9283:
So I ahve had to people look at my aroma installer and neither one can figure out why it keeps telling me syntax error. Both have used aroma installer succesfully. Someone be willing to take a ook at what I have?
[Android Software/Hacking General [Developers Only]] mrRobinson:
Post it on pastebin.
[Android Software/Hacking General [Developers Only]] apophis9283:
Actually just got it working. Have no idea what was going on. Started fresh and all is good. Thank you though

Sent from my Gnex running the most awesome AOKP build
[Android Software/Hacking General [Developers Only]] apophis9283:
Ok aroma is "working" but wont flash the rom. heres a pastebin of the aroma-config. Its basic not much was changed, im just trying to get it to work. I have a galaxy nexus (toro) if it matters. http://pastebin.com/w0KuYqUE
[Android Software/Hacking General [Developers Only]] mrRobinson:
Well that's a simple aroma. Post the updater–script so I can see the interaction. Also make sure you've changed the update–binary with one you know successfully flashes a rom.
[Android Software/Hacking General [Developers Only]] apophis9283:
I didnt pull the updater-binary and rename it......

Sent from my Gnex running the most awesome AOKP build
[Android Software/Hacking General [Developers Only]] noamsch6:
Is it just me or AROMA sometimes freezes during installation and only way to get out of that is rebooting?
[Android Software/Hacking General [Developers Only]] evodev:
Hey, I have another dev trying to create aroma for me, and I only somewhat getting what hes doing. I want to learn how to be able to add aroma to my own roms. Currently in the root of the rom we have a folder called evodev and two folders in that called LG and AOSP with those respective versions of those system apps inside of it. I want to learn how to do this myself, and to work with other stuff like launchers, themes, camera mods (.xml mod, cant remember where), and any other tweaks, or they can choose just stock. I will attach what I believe the last files we were playing with were. We keep getting different syntax everytime we try it. I will try flashing again, and tell you what line I get is wrong when I can. I am also available on gchat if that makes it easier, and my email is evodevxda with gmail. (avoiding spam bots).
[Android Software/Hacking General [Developers Only]] explorerman:
Please help

Help can you help me pinpoint the error everything went fine but when it come to installation it just blank and won't flash but no errors reported. please help
[Android Software/Hacking General [Developers Only]] mrRobinson:
So make sure you are using an update-binary that supports retouch_binaries command.

Replace the one in your aroma with the one from the rom and try again.

---------- Post added at 02:44 PM ---------- Previous post was at 02:36 PM ----------

knowing what that error says would be important. though i don't see you set the aroma splash, lang, or theme unless you hard coded it but not sure it'll know where to get its resources from.

Typically with no errors but things don't flash either one of the values you think you are setting is not getting set or you need a new/different update-binary.
[Android Software/Hacking General [Developers Only]] apophis9283:
Ok so I pretty much got the aroma-config done. Need help with the updater-script.

Sent from my Gnex running the most awesome AOKP build
[Android Software/Hacking General [Developers Only]] mrRobinson:
and.... hard to help when there is nothing to see and no clue on what type of help is needed with it.