yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] carl1961:
amarullz if you get bored, maybe you can scan your keen eye on these scripts

what's happening is with using aroma installer, EU install to sd-ext /ext does perfect, but T-mobile install to NAND boot-loops at HTC boot animation, I tried every thing, both romes use same files except t-mobile is copied to NAND and ED to Linux partition on sd-card

installing without aroma t-mobile installs fine, is your update-binary maybe taking commands different than the standard update-binary

only worry with this when your not busy;)
[Android Software/Hacking General [Developers Only]] noisyfox:
I wanna say that's SUPER COOL!!!!! Thanks due! I love this software!
[Android Software/Hacking General [Developers Only]] carl1961:
Screen shots for what? All through this thread is screen shots of aroma
[Android Software/Hacking General [Developers Only]] FBis251:
Same way still works since almost 4 years ago:

http://downloadsquad.switched.com/2008/10/22/taking-screenshots-on-an-android-based-phone/
[Android Software/Hacking General [Developers Only]] DjSound:
I have a little problem that I accidentally discovered ie:

I created an installation method that allows to modify your choices without reinstalling the rom (jumping so the system partition).

now, if I do not choices in mods.prop (kernel, modems, etc.) but only in customize.prop (app launcher, etc.), the installer simply end, giving me the status of 0 and a simple installer error ...

why? maybe need some writetmpfile instruction?

Thanks all for Help :)

attached updater-scrip and aroma config for more clear situation
[Android Software/Hacking General [Developers Only]] carl1961:
I use droid explore, or dalvik debugger (android SDK )
[Android Software/Hacking General [Developers Only]] carl1961:
Some where in your updater script it is calling for props that you did not create with while reinstall ( nosing), your log will tell you what props or at error. You might get by with a if command at those props in updater script ( what ever prop hold the choice for moding )
[Android Software/Hacking General [Developers Only]] DjSound:
Thanks for reply :),

but my log don't say anything, this is the problem... looks you too...

EDIT:

then something like:

if type.prop==3 then writetmpfile mods.prop (or other .prop)...?
[Android Software/Hacking General [Developers Only]] Turge:
Just create a mods.prop with an invalid value ("selected.0=1"). As long as the file exists, your update script won't error out.

if prop("type.prop","selected")=="3" then
writetmpfile("mods.prop","selected.0=0");
endif;
[Android Software/Hacking General [Developers Only]] DjSound:
I'm trying right now...

EDIT: Installer error 6... seems that updater-script doesn't recognize writetmpfile command... so i added it in aroma config... hope well...

EDIT 2: YEAH!!!!!! it works :D many many many many many many thanks :p
[Android Software/Hacking General [Developers Only]] tantrums:
Hi all,

I just want to share my simple creation, Tantrums CWM Recovery Flasher with AROMA installer. Supports LG Optimus Black P 970 only.

Here : http://xdaforums.com/showthread.php?t=1624565

:)
[Android Software/Hacking General [Developers Only]] bassini:
hi my bug is the

Aroma-config on line 114 col 3

I have 114 lines but in it there are only two characters

);

please help
[Android Software/Hacking General [Developers Only]] Turge:
A quick glance at your code shows an extra "," and missing ");" between the checkbox and viewbox:

checkbox(
"Choose aditional mods",
"Please check the ones you want",
"icons/apps",
"mods.prop",

"DolbyDigital5.1","",0,
"SRS","",0,
"xLOUD","",0,

viewbox(
"Ready To Install",
"All informations has been collected for installation.\n\n"+
"Click Next To Start Installation...",
"icons/info"
);

It should look like this:

...
"xLOUD","",0
);

viewbox(
...
[Android Software/Hacking General [Developers Only]] WT Ho:
Just want to let you know that AROMA is confirmed to work on Samsung Galaxy Player 5.0. Works like a charm!

Here is the ROM using AROMA.
[Android Software/Hacking General [Developers Only]] kinghunki:
YES,The question should be here，88 lines: "xLOUD","",0
[Android Software/Hacking General [Developers Only]] amarullz:
Hmm, many One X roms using it now... need update the post..

Sent from my HTC Desire
[Android Software/Hacking General [Developers Only]] FBis251:
Don't think it'll be possible to take screenshots until amarullz implements this into the aroma binary.

If you want to save an installation log file (a text file that tells you what went on during the install) then you can follow his instructions:

http://xdaforums.com/showpost.php?p=25085237&postcount=782
[Android Software/Hacking General [Developers Only]] amarullz:
I wont add it.. It need pngwrite library and more thread (just for it). And because screenshoot can be archived with ddms.

Sent from my HTC Desire
[Android Software/Hacking General [Developers Only]] Jonny:
Nearly every sensation ROM is using it as well, including my sense 3.6 and sense 4.0 rom's :D
[Android Software/Hacking General [Developers Only]] Aternus:
Did you see the Pull request I've sent you on GITHUB?

Great work btw!
[Android Software/Hacking General [Developers Only]] Tof37:
Hi Amarullz,

Many thanks for your work ! Really amazing !

Very useful for everyone.

Managed to use it in a rom for X10 (Xperia S on X10 by Championswimmer and me) in v8 version (released a few hours ago):

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

As I'm really not a dev it took me 2 days to understand how commands worked.

Add errors but with the different help provided on this thread everything has gone well.

I didn't made a huge thing but I'll improve step by step ...

Thanks a lot to all that contribute to this !!

PS: You can add the rom in your 3rd post :)

Thanks
[Android Software/Hacking General [Developers Only]] Turge:
Amarullz, I figured I would resurrect this request since it probably got missed... Let me know if you have any questions about it.

Thanks,

Turge
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, I already read it,.. It was in next major version plan.. :D, But the development will slow down for now, I am still busy with some project and "AROMA Filemanager"...

But no.. sot with that format.. But with something like this:

list.txt

Group name

2

Title
Description
1

Title 2
Long description with\
new line
0

Title 3
Other description
0

Or maybe in csv format ;) like this

group 1;;2
title1;description;1
title2;description 2\nwith new line and with\; character;0
title3;description;0
[Android Software/Hacking General [Developers Only]] Aternus:
Why not use serialized strings similar to what PHP does? Would be much more intuitive...

setvar("mySelectBox", "{
1:{"title":"description":0;},
2:{"title":"description":0;},
3:{"title":"description":0;}
}");
[Android Software/Hacking General [Developers Only]] Anubiros:
The Brazilian Portuguese Translation:

http://pastebin.com/gubeYKqm
[Android Software/Hacking General [Developers Only]] amarullz:
I know the json.. but that will use too many library, and there is no library in client/sh to build json code. (If you use php, yes it was easy just to use json_encode).

CSV was the best choice...
[Android Software/Hacking General [Developers Only]] Turge:
I'm an XML guy myself, but from the 2 choices you proposed, CSV definitely looks the best.
[Android Software/Hacking General [Developers Only]] RoadXY:
:eek:

---------- Post added at 08:19 AM ---------- Previous post was at 08:18 AM ----------

We should create a central lib for this somewhere!
[Android Software/Hacking General [Developers Only]] amarullz:
It's not because I can't... but it will make binary bigger, and maybe conflict with other thing...

what's wrong with ddms :D :eek: ?
[Android Software/Hacking General [Developers Only]] :
DELETE

DELETE
[Android Software/Hacking General [Developers Only]] jokersax11:
I wanna say Congrats on this. My aroma script is 1000 lines, installer 1200 and the zip is 563mb. It works like a champ.
[Android Software/Hacking General [Developers Only]] darkmantra:
This may sound stupid, but i need to confirm. Would it be possible to have a checkbox menu, that the user would not allow to uncheck, its a preselected option which mandatory to install.
[Android Software/Hacking General [Developers Only]] jokersax11:
Nvm
[Android Software/Hacking General [Developers Only]] tantrums:
Use : textdialog
[Android Software/Hacking General [Developers Only]] amarullz:
Why dont you use optionbox? That was way that always used by chef, like kernel choice...

Sent from my HTC Desire
[Android Software/Hacking General [Developers Only]] V6-Maniac:
Hey Amarullz,

Any idea how to solve my problem.

As you know i used the persistent prop option for Sense-o-Maniac.

Until now i used the persistent prop option only for my 55 restore packages.

But i also want to use it for other selections for example Kernel, Tmous support, Optional mods.

But the Persistent option only allows me to save one prop.

Do you know how to overcome to popup the save prop file option for each *.prop and just save all props in the persistent backup file.

By just adding more *.props into writetmpfile("customize.prop",getvar("sense0maniac_app_presistent_prop"));

Doesn't work, it only sees the first prop.

Any idea how to solv this.

If you want to see my code please do say and i'll post them.
[Android Software/Hacking General [Developers Only]] Sergio76:
This is how i do it even before persistent prop was included in aroma. It works 100% never fails. I uploaded my meta-inf folder as zip for you and any one who likes some help on this matter.

You need to look at both aroma config and the flash script to see how it looks for the props.

Enjoy
[Android Software/Hacking General [Developers Only]] V6-Maniac:
Thx,

When I'm home a will take a look at how you solved this.

(Swyped from my Sense-o-Maniac - Sense 4.0 loaded HTC Sensation)
[Android Software/Hacking General [Developers Only]] DutchDanny:
I made the Dutch Translation for you.

In the attachment
[Android Software/Hacking General [Developers Only]] Virnik0:
I think that with such project as Aroma installer, Android will really rule the mobile world. One last idea - what about to finally switch over, and overwrite CWM so it work and look like Aroma? What about to make Aroma Recovery?

It is only logical...and I think that it is pretty possible. I am not C/C++ coder myself (more likely passive tuner), but it will be great...

Anyway, good job with this. I really like it. It gives user finally some passion, after those years with text based recovery and installs (and I do like and love CLI, I am Linux user/admin myself).
[Android Software/Hacking General [Developers Only]] Soulfly999:
First of all i would thank you for the ingenious installer script.

I think i have a little problem with the updater-script and the binary?!

This ist the error message:

Please wait...

[*] Test : Check HTC Desire ?
Mounting & Formating Devices
Mounting /data
unmount of /data failed; no such volume
Mounting /sd-ext
unmount of /sd-ext failed; no such volume
about to run program [/sbin/busybox] with 4 args
Checking /sd-ext
about to run program [/sbin/e2fsck] with 3 args
/dev/block/mmcblk0p2: clean, 11/65664 files, 12327/262144 blocks
about to run program [/sbin/busybox] with 6 args
Deleting Dalvik Cache
Cleanup SD-EXT
Formating /system
unmount of /system failed; no such volume
script aborted: format() expects 3 args, got 2
format() expects 3 args, got 2

Installer Error (Status 7)

End at : Fri May 4 20:48:59 2012

and this the part from the updater-script

# format /system
#
set_progress(0.06);
ui_print(" Formating /system");
unmount("/system");
format("MTD", "system");

Don't know what's wrong here? Could you helpt me please!?
[Android Software/Hacking General [Developers Only]] RoadXY:
Like the error from the script says: its expecting 3 arguments but you gave it 2...
[Android Software/Hacking General [Developers Only]] tantrums:
Another AROMA Installer Utilities creation by me.

TANT Utilities v 1 for Optimus Black P 970.

:D

There are many ways to create in AROMA. Amarullz AROMA wonders. :)
[Android Software/Hacking General [Developers Only]] carl1961:
first sugestion is take update-binary from a working rom for your phone and rename it update-binary-installer

replace it with update-binary-installer in test ROM

also verify that format("MTD", "system") is correct for your phone ( look in the working rom's updater-script)
[Android Software/Hacking General [Developers Only]] savie:
Working on samsung galaxy Y.

But still investigate bugs on 2nd installing with different kernel.

And also modified not to install rom but to change rom with dualboot kernel.

Awesome work. Thanks.

-Just Farmer and Newbie Android-
[Android Software/Hacking General [Developers Only]] CosmicDan:
Hi,

Great work on Aroma. Incredible stuff. Not sure if it's this version of CWM5 on the X10 with the bug but I've only seen it in the Aroma UI (using 2.00), sometimes if you have a few ui_print() commands in succession one is "missed" or "skipped over". It just doesn't appear. You have to add some line spacing to it in the updater-script.

Also, some of the help/example text comments in the aroma-config included needs to be corrected. Cheers :)
[Android Software/Hacking General [Developers Only]] aeroxdefocu:
I guys I have a problem to creating script for my rom. You can help me?
[Android Software/Hacking General [Developers Only]] Dexter_nlb:
HTC Flyer community joins

I have just introduced this aroma installer in my mod release for the HTC Flyer.

see more here

touch screen does not work (we got a ntrig panel/touchscreen here), but its a great alternative with user selectable option presented in a very user friendly way.

any chance of getting it working? i did try calibration but no response at all.

any plans for tablet solutions with maybe additional graphics buttons ? (we got no MENU,BACK buttons to manually select calibration, so its tricky)

i also experience problems with the latest release in the top, and had to go for a previous version where format command uses format("ext4","EMMC","/dev....");

same goes for the mount command, it failed in the latest release.

or maybe i just did something wrong? (script do not report errors, it simply did not mount filesystems)
[Android Software/Hacking General [Developers Only]] Zen Arcade:
Dexter .. Be patient when running calibration. Press or tap the circle until it registers. It took a few tries on my phone but ultimately worked.
[Android Software/Hacking General [Developers Only]] Dexter_nlb:
ok, ill try it out once more. but it pretty much looked like no response at all.

and i see now, that i missed the q's some posts back around renaming the update-binary-installer to have it working normally.
[Android Software/Hacking General [Developers Only]] V6-Maniac:
Thx to Sergio76 i finally got the Aroma Configuration to backup the config options to work.

I only did it via the Aroma-config instead of the updater-script.

Also made a new vid so you can see how it works.

Also added my config into the attachment for those who want to know how i did it.

Little note: Tis is the raw script and it aint finished yet.

Sorry for the quality, taken this vid with my HTC Desire:

Phone on the vid is a HTC Sensation

[YOUTUBE]UXe1hzZkjWQ[/YOUTUBE]
[Android Software/Hacking General [Developers Only]] FBis251:
+1 on being patient. You need to tap and hold the dots displayed on screen until it registers. You might need to hold for a few seconds and retry.
[Android Software/Hacking General [Developers Only]] Soulfly999:
Hi amarullz now it's working on my german SoulMIUI rom, too. (miui-ger.de)

Thanks a lot man.

You're the best...
[Android Software/Hacking General [Developers Only]] DjSound:
Hi to all!

I have a question that I believe hasn't already been made​​.

It's possible create with Aroma a folder (example sdcard/myrom) where you can save files, or same way to do this?

Thanks
[Android Software/Hacking General [Developers Only]] DutchDanny:
Yes, that can be done.

A few pages back Sergio posted his files. Read those for example.

Sent via my BinDroid XTC One X
[Android Software/Hacking General [Developers Only]] carl1961:
aroma to install to NAND

My question is " has anyone got aroma to install to NAND

script choice is EU (sd-ext) and TMOUS (NAND)

the NON aroma rom installs TMOUS to NAND with no problems

the EU installs ok with aroma installer

TMOUS install has same file's same setup for install except to /data

tmous install just boot loops boot-animation ( already tried fix permissions from CWR)

pastebin

EU aroma install ( works )

TMOUS install to userdata NAND (does not work)

updater.script (complete)

aroma-config

ddms log of TMOUS install

EDIT: added aroma-installer log

I'm wondering if aroma's update-binary is handling the updater.script different for HD2 ( android)

any help would be great!!
[Android Software/Hacking General [Developers Only]] Zen Arcade:
General recommendation is to copy the update-binary that has been working for you over the renamed version in aroma.
[Android Software/Hacking General [Developers Only]] Dexter_nlb:
thank, but will this not remove the logic function calls in the installer script? i do not remember those being part or any previous script?

btw,

touch screen on Flyer works, of course a binary daemon was missing and DoomLord on the Flyer platform made a CWM with touch functions and the binary used. it does have one bug, that coordinates are all reversed

horiz/vertical. top of screen seems to become bottom pressed, and pressing my right side of tablet opens the menu? (not touching soft-keys here)

not digged further into if i can simply reverse the calibration points and it will work.
[Android Software/Hacking General [Developers Only]] aeroxdefocu:
Hi guys how i set correct calibrate screen for my One S script? :(
[Android Software/Hacking General [Developers Only]] savie:
Is anyone know syntax in updater-script to install app from sd-card to system or data but the app is in sd-card not in aroma-installer.zip ? I've try with add busybox in root of aroma then call with run_program but still fail.

My script

package_extract_file("tool/busybox","/tool/busybox");

set_perm(0,0,0755,"/tool/busybox");

run_program("/tool/busybox","dd","if=/mnt/sdcard/test.apk","of=/system/app/test.apk");
[Android Software/Hacking General [Developers Only]] FBis251:
Does your phone have a /tmp directory? This might work better for you.

package_extract_file("tool/busybox","/tmp/busybox");
set_perm(0,0,0755,"/tmp/busybox");
run_program("/tmp/busybox","cp","/mnt/sdcard/test.apk","/system/app/test.apk");
[Android Software/Hacking General [Developers Only]] krabappel2548:
Hey,

I am a developer for Sony Xperia devices, I use AROMA in the following roms:

Now you can add them to your list :)
[Android Software/Hacking General [Developers Only]] savie:
Yes sir there's /tmp on root phone. Will try this one. Thanks b4
[Android Software/Hacking General [Developers Only]] GeekSpin:
my problem is that when i flash my rom from CWM aroma starts

the problem starts here

1 the screen of aroma is not fitted on the screen

2 the text is out of box and some buttons are not visible

3 when in coustimizing menu whenever i slect some apps to install

the apps are not installed

4 the rom boots up with no changes of AROMA

these are my problems

and this is my meta_inf folder

https://www.dropbox.com/s/wcg4qlyadrv99ux/META-INF-ICS%20AURA%20_CODER.zip

thanks

CHEERS!
[Android Software/Hacking General [Developers Only]] savie:
succed with this syntax

run_program("/tmp/busybox","cp","-f","/mnt/sdcard/test.apk","/system/app/test.apk");

When i try with this still fail

run_program("/tmp/busybox","cp","-f","/mnt/sdcard/*","/system/app/")

Confuse coz same command in cygwin/adb shell its work.
[Android Software/Hacking General [Developers Only]] Stoux2:
Is there a way to add more then 10 languages?

Stoux
[Android Software/Hacking General [Developers Only]] carl1961:
maybe try this if busybox is supported in CWR'S kernel

run_program("/sbin/busybox", "cp", "-f","-p", "/sdcard/test.apk","/system/app/test.apk");
[Android Software/Hacking General [Developers Only]] carl1961:
yes , but a lot of work ;)

example of working lang

"English", "Welcome to Installer", 1, #-- selected.0 = 1
"Indonesian", "Selamat datang di Installer", 0, #-- selected.0 = 2
"Espanol", "Bienvenido al Instalador", 0, #-- selected.0 = 3
"Simplified Chinesse","欢迎到安装", 0, #-- selected.0 = 4
"Arabic", "مرحبا بكم في المثبت", 0, #-- selected.0 = 5
"French", "Bienvenue dans l'installateur", 0, #-- selected.0 = 6
"Russian", "Добро пожаловать в установщик", 0, #-- selected.0 = 7
"Italian", "Benvenuti Installer", 0, #-- selected.0 = 8
"Deutsch", "Welkom bij Installer", 0, #-- selected.0 = 9
"Polish", "Witaj w instalatorze", 0, #-- selected.0 = 10
"Serbian", "Dobrodošli u Instaler", 0 #-- selected.0 = 11
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
[Android Software/Hacking General [Developers Only]] Stoux2:
Haha trust me, I have tried this 9001x times, but whenever I add one, or delete one:

Installing Update...

Installtion aborted.

Same for your zip file..

Edit:

If I put it in my own AROMA it says Syntax Error!

Aroma-Config on line 69 col 17

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

"Italian (by DjSound)", "Benvenuti nell' Installer", 1, #-- selected.0 = 1
"English (by Stoux2)", "Welcome to Installer", 0, #-- selected.0 = 2
"Portuguese (by miruim)", "Bemvindo",	0, #-- selected.0 = 3
"Espanol (by Cabessiuis)", "Bienvenido al Instalador", 0, #-- selected.0 = 4
"Finnish (by Ottomaani0)",	"Tervetuloa", 0, #-- selected.0 = 5
"Dutch (by Stoux+Cmiles)", "Welkom bij de installer",	0, #-- selected.0 = 6
"French (by Chourmovs)", "Bienvenue dans l'installateur", 0, #-- selected.0 = 7
"Danish (by petza88)", "Velkommen",	0, #-- selected.0 = 8
"Greek (by makists)", "Does not work (for now..)",	0,	#-- selected.0 = 9
"German (by Olarf)", "Willkommen bei Installer",	0	#-- selected.0 = 10
"Aroma Test", "Elfde taal",	0	#-- selected.0 = 11
#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#

With line 69 col 17 being: , after "Aroma Test"

So not sure what's going on xD..
[Android Software/Hacking General [Developers Only]] Lucky Thirteen:
I am updating the translation of Aroma in French. Hoping it's fine with the dev...

:)
[Android Software/Hacking General [Developers Only]] tantrums:
Put comma after 0 in German line like below:

"German (by Olarf)", "Willkommen bei Installer",	0[B][COLOR="Red"],[/COLOR][/B]	#-- selected.0 = 10
[Android Software/Hacking General [Developers Only]] Stoux2:
Ahh, so the one without a , is the last one :) ill try tomorrow :D
[Android Software/Hacking General [Developers Only]] savie:
So busybox must integrate with kernel in sbin folder?

Actually i want add multi file from sd-card to system and data not single file. When i've try run_program("/tmp/busybox", "cp", "-f", "/sdcard/*","/system/app/"); command always fail but in adb shell it work.
[Android Software/Hacking General [Developers Only]] Stoux2:
And it worked :D!

Who knew it could be that simple :o

Thanks all!
[Android Software/Hacking General [Developers Only]] bodonance:
I need some help with

SYNTAX ERROR!!! aroma-config on line 317 col 2.

On line 317 col 2 I have ";". I dont understand where I wrong.

Hire is my aroma-config file. Thanks

View attachment aroma-config.txt
[Android Software/Hacking General [Developers Only]] carl1961:
remove the comma

"Системна информация", "Предоставя информация за системата",	"@info", #-- selected = 2

"Системна информация", "Предоставя информация за системата",	"@info" #-- selected = 2
[Android Software/Hacking General [Developers Only]] Contingency™:
Great idea! Might use one day!
[Android Software/Hacking General [Developers Only]] Lucky Thirteen:
Traduction française

Corrected some mistakes in French... If you need more I will be happy to help.

Keep up this amazing work. :)