yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] tantrums:
In addition, remove comma in line 427 and 489 also:

line 427

"По избор", "Инсталация по ваш избор",	"@default", #-- selected = 2

"По избор", "Инсталация по ваш избор",	"@default" #-- selected = 2

line 489

"Със flip to silence", "Със опцията flip to silence",	0, #-- selected.4 = 2

"Със flip to silence", "Със опцията flip to silence",	0 #-- selected.4 = 2

:)
[Android Software/Hacking General [Developers Only]] jerrytan93:
HELP

Can anyone hep me here? This is what I want my script to do:

1. Let the user to choose their framework color (Blue or Red)

-> I'm using 'selectbox' function for this and the result will saved to 'mods.prop'

2. I used getprop to compare the user selection in mods.prop (selected.0=="1" or "2"):

-> If user choose Blue framework, there will be an addon option (selectbox function) just for blue framework on next step, and a temp file named 'bmods.prop' will be created

-> however if user choose Red framework, there will be an addon option (selectbox function) just for red framework on next step, and a temp file named 'rmods.prop' will be created

3. In updater script, I use 'if' statement and 'file_getprop' to install the mods that user had chosen

However, the updater-script seems like checking ALL my if-statement and hence I get the error: "file_getprop: failed to stat "/tmp/aroma-data/rmods.prop": No such file or directory".. This is because the rmods.prop is not created since I choose to install blue framework (only bmods.prop was created).. I know all the logic behind but I can't find a suitable way to solve this error.. :o

I had attached my scripts and error logs, hope anyone of you can help me here.. thanks in advance.. :)
[Android Software/Hacking General [Developers Only]] amarullz:
AROMA Filemanager has been released: http://bit.ly/aromafm

Now it's time to update AROMA Installer :)
[Android Software/Hacking General [Developers Only]] bodonance:
I have another problem. The installation goes successfully, but then the phone will not start. The problem is that after installation can not mount / data, / system, / sdcard etc. To test left only in updater-script:

run_program ("/ sbin / mount", "/ dev/block/stl9", "/ system");

delete_recursive ("/ system");

package_extract_dir ("system", "/ system");

Again bootloop. Tips and ideas? Thank you.

Edit: Phone is SGS and I try to install JW4 based ROM.
[Android Software/Hacking General [Developers Only]] savie:
Try to remove run_program ("/ sbin / mount", "/ dev/block/stl9", "/ system");

And maybe should check updater-script from working rom then edit so can run in aroma.
[Android Software/Hacking General [Developers Only]] bodonance:
With only

delete_recursive ("/ system");

package_extract_dir ("system", "/ system");

again bootloop and again can't mount /system,/data etc.
[Android Software/Hacking General [Developers Only]] savie:
Are u include your all /system file from your rom to installer?

I usually put on root of installer below meta-inf folder i create system folder and add all file.

If yes, still don't know what happen. Or you can try aroma-filemanager after your installer to see is your package extract system file is correct.
[Android Software/Hacking General [Developers Only]] bodonance:
system files are OK. After installation I don't have access to memory. Only recovery and download work. In recovery I have unknown /system, /data .... and /sdcard and I can't load anityng else.

edit: I test with only package_extract_dir ("system", "/ system"); after manual format on /system and again have same problem. Same script work god without aroma installer. Idea for other metod to extract system?
[Android Software/Hacking General [Developers Only]] savie:
Can i see your aroma-config and updater-script?

Just check and i'm not dev but try to help.

Did you change your update-binary from your working rom and rename to update-binary-installer?

Try with single file first b4 all file in rom with package_extract_file("system/app/gmail.apk","/system/app/gmail.apk");
[Android Software/Hacking General [Developers Only]] anryl:
U can add my ICS rom as AROMA working :D:D

thnx :cool:
[Android Software/Hacking General [Developers Only]] amarullz:
Running AROMA Filemanager Inside AROMA Installer :D

http://xdaforums.com/showpost.php?p=25945927&postcount=20
[Android Software/Hacking General [Developers Only]] inspiredbyhtc:
Need help.

Thanks, I have finally learned aroma while reading all of the aroma.config posted and their corrections.
[Android Software/Hacking General [Developers Only]] Turge:
";" missing after 3 "endif".

If you get an error, type "cat /tmp/aroma/.install.log" from ADB Shell while Aroma is still running to see the errors.
[Android Software/Hacking General [Developers Only]] bodonance:
Hire is my meta-inf files.

View attachment META-INF.rar

Update-binary and update-script are from working rom.

Rom is hire and working. Definitely I wrong somewhere with Aroma installer but I do not know to where. I would be grateful for any help.
[Android Software/Hacking General [Developers Only]] savie:
Fyi i dont have your device and not dev/prgramer but will try. Just check ur aroma-config nothing problem but in updater-script

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

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

ui_print(" ");

ui_print("Mount partitions...");

run_program("/sbin/mount", "/dev/block/stl9", "/system");

Why dont use busybox to mount

run_program("/tmp/busybox","mount", "/dev/block/stl9", "/system");

If fail with 4argument then use mount from system/bin in my device dont know where in ur device

run_program("/system/bin/mount", "/dev/block/stl9", "/system");

But i think more better change the update-binary that support 4argument.

Will check 2mrw again, midnight in my place.
[Android Software/Hacking General [Developers Only]] The Archangel:
about to run program [/tmp/backuptool.sh] with 2 args

grep: /system/build.prop: No such file or directory

Not backing up files from incompatible version.

script aborted: format() expects 2 args, got 3

format() expects 2 args, got 3

Installer Error (Status 7)

this is my error, i dont know if my mind is done cause im tired or something else,but can someone pm me with a way to fix or post it to, ill put in the op of my rom for helping
[Android Software/Hacking General [Developers Only]] Aternus:
You are probably using the wrong format syntax with AROMA update-binary. Before formatting a partition you need to unmount it.

unmount("/system");
format("MTD", "system");

After formatting it, if you need to do file operations on the partition, you need to mount it.

mount("MTD", "system", "/system");
run_program("/tmp/scripts/myscript.sh", "arg1", "arg2");

NOTE: As a safety measure, at the end of the script you need to unmount all partitions. (make sure it doesn't happen before the end of the script)

unmount("/system");
[Android Software/Hacking General [Developers Only]] mattmanwrx:
Hi, little help needed...

Trying to run many VRTheme options through aroma...

I have used the aroma scripts that the rom developer has created for the rom install, and modded them for my liking...

I try to mount /cache, as that is where the VRTheme goes to, but I get the error

about to run program [/sbin/busybox] with 3 args
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p13 on /cache failed: Device or resource busy
run_program: child exited with status 255

I have searched, but can't find anything about why this is not letting me mount the /cache partition..

Any help wouldbe apreciated.

Kind Regards,

Matt :)

edit: Device is HTC One X - Rom is LeeDrOiD One Xtreme
[Android Software/Hacking General [Developers Only]] savie:
Maybe ur update-binary-installer wanna 4arg not 3arg. Sometime i've got prblm wth arg and change update-binary-installer.
[Android Software/Hacking General [Developers Only]] carl1961:
mount: mounting /dev/block/mmcblk0p13 on /cache failed: Device or resource busy this means (I think) it is already mounted

( I alwayed ignored these )

I think child exited with status 255 is a busy-box error, if you look at dalvik debugger log it may say busy-box ended

droid explorer has the debugger and you can see it run
[Android Software/Hacking General [Developers Only]] FBis251:
It'd be great if you could posts the scripts too ;)
[Android Software/Hacking General [Developers Only]] mattmanwrx:
Can I edit the update-binary-installer, or do I have to use one from another .zip?

How are they actually generated? Never really understood the binary scripts..

I can't ignore it as that is where the vrtheme system puts the files to theme... Thanks anyway though :)

Sorry, I did think that after... I will be working.on it today and if I still haven't solved this then I will post the meta-inf folder...
[Android Software/Hacking General [Developers Only]] cojo11:
First,great Job!!

to my Problem,i try to edit the DjangoTransformerPackDeluxe,so i can use it for my rom (base on 20q like Djangos).

I have some themes and when i flash it as zip over CWM it works great.

Now it try to put all the apks in the Aroma Installer and change them with the old one,rename update-binary in update-binary-installer too and put it in aroma.

The flashing process works,phone make a restart too but then i got in Bootloop with the new Bootanimation:-(

Anyone a idea what is going wrong??
[Android Software/Hacking General [Developers Only]] mattmanwrx:
Right, I still have absolutly no luck doing this..!

I am familiar with the "conventional" flashing, without aroma installer...

Attached is my meta-inf folder, and the aroma-installer-log that is produced..

Hopefully someone would be able to help me with this, and point out what is wrong with my setup!

Thanks, Matt

PS, as stated above, I have used the aroma setup (modified for my files) from the rom developers rom.zip - thanks

EDIT 14:46 BST (GMT+1) - I may have found out what the problem was - my script was all over the place! Will report back once my testing is over! :D
[Android Software/Hacking General [Developers Only]] :
Hey :) Good afternoon guys! I put Aroma Installer on a ICS Rom (miroslav's ROM)for LG Optimus GT540. Touch doesn't work on CWM 5.5.0.4, but at the end of the installation, it doesn't install nothing! Any help??? Thanks!

---------- Post added at 03:29 PM ---------- Previous post was at 03:26 PM ----------

But during installation there is:"Installer won't install nothing"!!!!!! Why??
[Android Software/Hacking General [Developers Only]] mattmanwrx:
Sorry, trying not to spam the thread.

It was my scripting all over the place! I fixed it, and have attached my working META-INF folder, so people can compare.

Thanks, Matt
[Android Software/Hacking General [Developers Only]] texten:
help!

install wizard starts only from external sd card.

ok sometimes it will run on internal sd card...

but it is like lotto...

what is the trick?

is it a issue by the custom kernel?

or by a long filename?

or wrong zip compression?

or should i not sign it?

i'm using the latest aroma build

edit:

solved with deletion of this line:
[Android Software/Hacking General [Developers Only]] FBis251:
Try posting your installer scripts here (aroma-config and updater-script)
[Android Software/Hacking General [Developers Only]] ChaosFirZen:
Hi Guys.. / bCan You Help Me Removing The Default And Stripped Selection On My AROMA Script Because I Cant Remove It.. It Just Shows Syntax ERROR :( I Hope You Can Help Me Dude... :)

Script Download : http://www.androidrevolution.org/MooDeD-ICS/AROMA-Xperia Arc.zip

PM Me If You Fixed It.. ;)

Best Regards..
[Android Software/Hacking General [Developers Only]] FBis251:
You need to be a lot more specific about what you're trying to fix/accomplish. Do you have a version of the script that gave you the syntax error? What syntax error was it? What line number? The more information you give us the faster you'll get your problem fixed.
[Android Software/Hacking General [Developers Only]] ChaosFirZen:
When I Removed Lines On Install Option The 3 Option Like Default etc.. And Custom It Show Syntax Error / Arguments My PROBLEM Is How Can I Remove Default Install And Recommended Install And Leave The Custom Install?
[Android Software/Hacking General [Developers Only]] FBis251:
You mean this?

menubox(
#-- Title
"Installation Type",

#-- Sub Title
"Choose the installation type that best suits your needs.",

#-- Icon
"@install",

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

[B]"Default", "Will install default features and configurations", "@install", #-- selected = 1
"Stripped", "Recommended Apps Will Be Installed", "@apps", #-- selected = 2[/B]
"Custom", "Choose What Apps You Want To Install", "@customize" #-- selected = 3
);

You can remove the first 2 lines:

menubox(
#-- Title
"Installation Type",

#-- Sub Title
"Choose the installation type that best suits your needs.",

#-- Icon
"@install",

#-- Will be saved in /tmp/aroma/type.prop
"type.prop",
"Custom", "Choose What Apps You Want To Install", "@customize" #-- selected = 3
);
[Android Software/Hacking General [Developers Only]] alessandrospa:
hi at everyone, what type of text editor do you use for aroma scripts? :p
[Android Software/Hacking General [Developers Only]] texten:
try "notepad ++" or a html editor or another extended texteditor
[Android Software/Hacking General [Developers Only]] come at me bro:
theres soo many files, im confused on how to install this and where
[Android Software/Hacking General [Developers Only]] amarullz:
What version did you used? Try the latest in the first page, build 10. It may fix your problem...

Or if you have a time, please pm me, I need your testing & feedback....
[Android Software/Hacking General [Developers Only]] jb789:
Sounds promising, but I just wanted to verify something before I brick my phone. Are we supposed to flash the aroma-120202-010.zip via recovery? Also, will Aroma work for devices like the Droid 2 & Droid X that rely on 2nd init to get around a locked bootloader? Thanks!
[Android Software/Hacking General [Developers Only]] amarullz:
Yes flash via recovery.

It won't flash anything, just show the aroma interface. It safe to run it to test (but use it is still your own risk).

The worst case that may happened with it was you can't see something/distorted (if the display not supported yet) or stuck in screen without can do anything with it. But offcourse you can always pull out your battery :D, and nothing will change into your phone filesystem..
[Android Software/Hacking General [Developers Only]] Droidzone:
Amarullz, the recovery does need touch support, doesn't it?
[Android Software/Hacking General [Developers Only]] amarullz:
No.. It don't need touch recovery...

I read /dev/input directly, if recovery kernel support it, it will works.

But it need recovery that included touch screen driver in kernel...

It will works, except the recovery trimmed/delete the touch driver (4ext classic for desire before delete touch driver in it kernel. so it wont works, but cwm(s) always included it)
[Android Software/Hacking General [Developers Only]] avss:
I used the version from the big orange downloadbutton in post #2 :)

i believe its BUILD:120202-010.

I will contact you via pm.
[Android Software/Hacking General [Developers Only]] DemonWav:
Does this not work with CWM 5.5.0.2? I have a Captivate with CWM 5.5.0.2 and when I run the test it just sits on "Starting AROMA INSTALLER version 1.00 2011 by amarullz xda-developers". Nothing actually seems to happen.
[Android Software/Hacking General [Developers Only]] amarullz:
can you try to run it in recovery? http://www.amarullz.com/_downloads/aroma-nighly/displaycapturer.zip

And send me /mnt/sdcard/dispdump.txt file
[Android Software/Hacking General [Developers Only]] DemonWav:
It doesn't work, just errors out.
[Android Software/Hacking General [Developers Only]] amarullz:
frame buffer error!!! ??
[Android Software/Hacking General [Developers Only]] DemonWav:
No, seems like a .zip error.

http://pastebin.com/tns1hfwG
[Android Software/Hacking General [Developers Only]] amarullz:
Same error with the aroma installer zip before?
[Android Software/Hacking General [Developers Only]] DemonWav:
No, the Aroma script didnt' error at all. It would just sit on the screen saying that it was starting the installer.
[Android Software/Hacking General [Developers Only]] V6-Maniac:
Just wanna say thx...

This is the install way as we need it to be...

Send you some coffee

7C1742959D261693G
[Android Software/Hacking General [Developers Only]] FBis251:
I wanna thank you. As part of a smaller team of devs for a not-so-popular phone, this will make the user's installation a piece of cake, and will result in less headache for our devs.

Thanks from the SGS4G forums!

I will donate when I'm able to again.
[Android Software/Hacking General [Developers Only]] V6-Maniac:
Why signing with every modification

Maybe i'm stupid, nood or anything else.

But my questions is why do i have to sign the script every time i want to test a new inserted line.

For example:

I just edited a simple welcome line for the installer initial screen.

Wanted to test if it's displayed correctly.

First thing what's poping up after starting the installer from the recovery.

Is a status 1 "Invalid sign" error, after signing it again via your site it does work.

Combi used:

HTC Sensation Z710

4EXT Touch Recovery 10.0.0.3 rc3
[Android Software/Hacking General [Developers Only]] amarullz:
What version?.. Current build 10 (from build 5), don't include any signature (and open source)...

Just download the newest zip from the first page.

If you already modify your script, just extract the zip then replace the META-INF/com/google/android/update-binary with the newest build
[Android Software/Hacking General [Developers Only]] bar3200:
After writing the aroma-config, I tried to flash the zip.

When I did that it was written "Syntax Error- line 10 col 32 in aroma-config".

I looked there and it didn't seem for problems there...

I just took the "RunnyMede AIO" Zip for translating the rom and the AROMA installer.

Is it possible the AROMA wouldn't be english?
[Android Software/Hacking General [Developers Only]] V6-Maniac:
Thx...

Got it working.

I think it was my fault to sign before even finishing the test script buld 10.

So for now i'll use the test version to build and sign when it's ready...
[Android Software/Hacking General [Developers Only]] ChaosFirZen:
Doesn't Work Ether For Me.. If I Remove The 2 Lines And Custom Is There,.. When I Click Custom It Re-Directs To Default >> SomeOne Help Me Modify my AROMA?
[Android Software/Hacking General [Developers Only]] FBis251:
Change the next line from

if (prop("type.prop","selected")=="1") then

to

if (prop("type.prop","selected")=="2") then
[Android Software/Hacking General [Developers Only]] cojo11:
Please Help:-(

I got a Syntax Error aroma-config on line 80 col2

E.Error in /sdcard/cojos_Aroma_test.zip

I compare with some other Aroma installer,but i didnt find it:-(

in my eyes looks all ok,the zip file is ok
[Android Software/Hacking General [Developers Only]] FBis251:
Line 78:

"Sky Blue Transformation Pack",	"bluesky Theme by cojo"[B][COLOR="Red"],[/COLOR][/B]	0, #-- selected.1 = 4

Remove the comma at the end

"Sky Blue Transformation Pack",	"bluesky Theme by cojo"	0, #-- selected.1 = 4
[Android Software/Hacking General [Developers Only]] cojo11:
"Sky Blue Transformation Pack",	"bluesky Theme by cojo",	0 #-- selected.1 = 4 is this ok now??

now i get a error at line 74 col 40 with and without comma

"Transformation Packs" "",	2, #-- Group 1. key = "selected.1"

"Transformation Packs", "",	2, #-- Group 1. key = "selected.1"
[Android Software/Hacking General [Developers Only]] FBis251:
You had two extra commas (you don't need a comma at the very end of a selectbox since that's your last option and nothing else follows it)

Also you had a stray endif that had no matching if statement. Once removed everything worked fine:

http://pastebin.com/1m1RhiQy
[Android Software/Hacking General [Developers Only]] smirkis:
if anyone can help me out, im trying to use aroma to flash recovery or bootloader. i have everything layed out but am having issues calibrating touch screen. when i run the 2.0 installer i can't select alt as the kindle fire has no audio buttons. so i need to preconfigure everything by touch. in my aroma-config i have entered some touch points as up/down/select/menu but am getting syntax errors when flashing in recovery. help?

and for the record, i had no idea where to start when setting forth on this journey, so i basically modified another users aroma-installer to work on the k-fire as far as what its doing. getting it working has been the hard part ;\ lol

here's the exact msg in recovery that im getting

SYNTAX ERROR!!! aroma-config on line 41 col 1

(status 1)

installation aborted.
[Android Software/Hacking General [Developers Only]] Turge:
Lose the last ","
[Android Software/Hacking General [Developers Only]] cojo11:
ok,i remove the commas,but now i got a error at line 11 col44:-(
[Android Software/Hacking General [Developers Only]] cojo11:
so,i start complete new,but i think iam to stupid or somethong:-(

now i got error at line 106 col 6 i try with endif and without:-(

http://pastebin.com/FmedkbXT
[Android Software/Hacking General [Developers Only]] enzoevo:
I have found that simple typos are 95% of my issues.
[Android Software/Hacking General [Developers Only]] munyukmambu:
wowwwww mantap om amarullz! maju terus developer anak bangsa!
[Android Software/Hacking General [Developers Only]] Stoux2:
I was wondering, We have multiple Fonts in our rom and you can choose them in AROMA. Could it be possible to change the font for just the word (Like a preview).

Example:

Choose your font

Arial

Comic Sans

Impact

But then in Aroma :D!
[Android Software/Hacking General [Developers Only]] alessandrospa:
hello i have a sintax error at second last line here:

if (prop("type.prop","selected")=="1") then
#-- IF "Default" Installation, don't show configuration, then write default mods.prop
writetmpfile(
"mods.prop",
"selected.1=1\n"+ #-- Default Launcher = Trebuchet Launcher
"selected.2=1\n"+ #-- Google Apps = Install
"selected.3=1\n"+ #-- Default Boot Animation = galaxy nexus
"selected.4=2\n" #-- Default Apps Theme = Holo-Dark
);
if (prop("type.prop","selected")=="2") then
#-- IF Not "Default" Show Main Features Selection
selectbox(
"Main Features",
"Please select features that you want to use in this installation:",
"@default",
"mods.prop",

#-----------------------------------[ Selectbox With Groups ]----------------------------------#
# TITLE | SUBTITLE | Initial Value #
#------------------+-----------------------------------------------------------+---------------#

"Launcher",	"", 2, #-- Group 1. key = "selected.1"
"Trebuchet Launcher", "Default CM9 Launcher", 1, #-- selected.1 = 1
"Apex Launcher", "Personalizzabile e veloce", 0, #-- selected.1 = 2
"Nova Launcher", "Molto personalizzabile e veloce", 0, #-- selected.1 = 3

"Google Apps", "", 2, #-- Group 2. key = "selected.2"
"Installa GAPPS",	"Comprende il play store e relative app", 1,	#-- selected.2 = 1
"Non installare", "", 0, #-- selected.2 = 2

"Boot Animation", "", 2, #-- Group 3. key = "selected.3"
"Nexus one", "", 1, #-- selected.3 = 1
"CyanogenMod 9",	"", 0, #-- selected.3 = 2
"Galaxy Nexus", "", 0, #-- selected.3 = 3
"Android", "", 0, #-- selected.3 = 4

"Tema app", "", 2, #-- Group 4. key = "selected.4"
"Normale",	"Tema default di CM9", 0, #-- selected.4 = 1
"Holo-Dark", "Ottimizzazione del tema di base", 1, #-- selected.4 = 2
"WP7", "Tema con aspetto dei WindowsPhone7", 0, #-- selected.4 = 3

"Animazione finsetre", "", 2, #-- Group 3. key = "selected.3"
"Normale", "animazione di default ICS", 1, #-- selected.3 = 1
"Blur",	"", 0, #-- selected.3 = 2
"Rimbalzo", "", 0, #-- selected.3 = 3
"fly", "", 0, #-- selected.3 = 4
"fold", "secondo me la migliore", 0, #-- selected.3 = 5
"fly e flip", "", 0, #-- selected.3 = 6

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
);
endif;

can you help me?
[Android Software/Hacking General [Developers Only]] cojo11:
"fly e flip", "", 0, #-- selected.3 = 6

try to remove the comma after the 0