yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] RagzDog:
The log of aroma installer says that the error is the part red

I leave you the updater script ???
[Android Software/Hacking General [Developers Only]] Snuzzo:
Remove it, you're missing the if/then/else statement before it. Also, I see you haven't parsed your .prop files yet.
[Android Software/Hacking General [Developers Only]] franzyroy:
Have you put a 'if' before?

account 'endif' and 'if' to see if you have the same number.
[Android Software/Hacking General [Developers Only]] poita18:
How do I remove Aroma V2.56?

It's preventing me from updating the rom on my Iconia A500
[Android Software/Hacking General [Developers Only]] vishal_android freak:
Hi.. I am having a problem in aroma_config.. After flashing the rom, it says SYNTAX ERROR aroma config in line 258 col 1.. But when I check the line, there is no error as such..:confused:

Anyone can help??
[Android Software/Hacking General [Developers Only]] kirasan13:
Pls upload the aroma config
[Android Software/Hacking General [Developers Only]] nimo1996:
select box

how to add selection for launcher or fonts or apps to be installed in aroma installer please help i am stuck while making rom thank you
[Android Software/Hacking General [Developers Only]] Harbir:
Use selectbox or checkbox feature see op for more help
[Android Software/Hacking General [Developers Only]] nimo1996:
how to add select box thats what i meant to ask i am very new to aroma
[Android Software/Hacking General [Developers Only]] Harbir:
here u go

checkbox – UI to show checkboxes in groupable list, the selected items will be saved in prop format, and can be accessed with file_getprop.

selectbox – It's like checkbox, but it's only able to check 1 items per group.

selectbox(
"Title",
" Sub Title",
"@Icon",
"xyz..prop",
"option 1", "option details", "@install", #-- selected = 1
"option 2", "op details", "@info", #-- selected = 2
);

checkbox(
"Title",
" Sub Title",
"@Icon",
"xyz..prop",
"option 1", "option details", "@install", #-- selected = 1
"option 2", "op details", "@info", #-- selected = 2
);
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
Aroma Themes

I'm not good at graphical design stuff. Are there any threads that contain pre-made aroma themes that we can choose from?
[Android Software/Hacking General [Developers Only]] franzyroy:
that:

selectbox(
"Title",
" Sub Title",
"@Icon",
"xyz..prop",
"option 1", "option details", "@install", #-- selected = 1
"option 2", "op details", "@info", #-- selected = 2
);

checkbox(
"Title",
" Sub Title",
"@Icon",
"xyz..prop",
"option 1", "option details", "@install", #-- selected = 1
"option 2", "op details", "@info", #-- selected = 2
);

that would be better like that!

selectbox(
"Title",
" Sub Title",
"@Icon",
"xyz..prop",
"option 1", "option details", "@install",0, #-- selected = 1
"option 2", "op details", "@info",0 #-- selected = 2
);

checkbox(
"Title",
" Sub Title",
"@Icon",
"xyz..prop",
"option 1", "option details", "@install", 0, #-- selected = 1
"option 2", "op details", "@info",0 #-- selected = 2
);
[Android Software/Hacking General [Developers Only]] nimo1996:
just tell me what will i have to write if i have 1 launcher named home in system/app and another launcher name holo launcher in system/app ???i want selection between them so that only one will get installed
[Android Software/Hacking General [Developers Only]] Harbir:
here is what i have made

icons/app

means app icon i ur aroma icons folder to show icon in the aroma

in aroma .confi

selectbox(
"LAUNCHER",
"Pick a launcher",
"icons/apps",
"launcher.prop",

"GO Launcher EX", "v3.20 ANDROID: 2.0+",0,
"Holo Launcher", "v1.2.8 ANDROID: 2.2+",0,
"Lightning Launcher","v5.2.1 ANDROID: 1.6+",0,
"Zeam Launcher", "v3.1.10 ANDROID: 2.2+",1,
"APEX Launcher", "v1.3.5 ANDROID: 4.0.3+",0,
"Holo Launcher HD", "v1.0.8 ANDROID: 4.0+",0,
"NOVA Launcher", "v1.3.3 ANDROID: 4.0+",0

);

in updat script

if file_getprop("/tmp/aroma-data/launcher.prop","selected.0") == "1" then
ui_print(" Installing Go Launcher EX");
package_extract_file("launcher/com.gau.go.launcherex-1.apk", "/system/app/Go.apk");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;

and same for 2,3,etc;)

EDIT -if u have more Q PLEASE ASK IN THIS THREAD http://xdaforums.com/showthread.php?t=1770284
[Android Software/Hacking General [Developers Only]] Harbir:
PLESE POST IN THE THREAD THAT I GAVE U ABOVE u could get warned by devs....

no this will not work

correct one

if file_getprop("/tmp/aroma-data/launcher.prop","selected.0") == "1" then
ui_print(" Installing Go Launcher EX");
package_extract_file("launcher/Home.apk", "/system/app/Home.apk");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
if file_getprop("/tmp/aroma-data/launcher.prop","selected.0") == "2" then
ui_print(" Installing Nova");
package_extract_file("launcher/Nova launcher.apk", "/system/app/Nova.apk");
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
endif;
[Android Software/Hacking General [Developers Only]] MaxAndroided:
I use it to my ROM :)
[Android Software/Hacking General [Developers Only]] Olivier:
I'm facing random errors all the time. They're weird sometimes

Recovery log says:

line 202 col 12: syntax error, unexpected STRING, expecting ',' or ')'
line 268 col 7: syntax error, unexpected $end, expecting ',' or ')'

I attached my aroma-config. Could someone take a look in it? :)

@amarullz: Good work, keep it up! :D
[Android Software/Hacking General [Developers Only]] Harbir:
solution add these in red (,)

if (prop("type.prop","selected")=="1") then
writetmpfile(
"droid.prop",
"selected.1=1\n"+ #-- Default Launcher
"selected.2=1\n"+ #-- Default Theme
"selected.3=3\n" #-- Default Camera
);
else
selectbox(
"ROM Customization",
"Customize Marvellous CM7 by making your selections below. Choose Next when finished.",
"@default",
"droid.prop",

"Launchers", "", 2, #-- Group 1. key = "selected.1"
"Xperia Home", "Xperia home 2.3 by ra3al", 1, #-- selected.1 = 1
"Holo Launcher", "Holo launcher by mobint", 0[COLOR="red"],[/COLOR] #-- selected.1 = 2

"Theme", "", 2, #-- Group 2. key = "selected.2"
"Xperia S Theme", "Xperia S theme modded with ics elements.", 1, #-- selected.2 = 1
"Jelly Bean Theme", "Jelly bean theme by driffex.", 0, #-- selected.2 = 2
"HTCSense 4 Theme", "Sense 4 theme for CyanogenM7", 0, #-- selected.2 = 3
"LG UI v.30 Theme", "LG Optimus v3.0 UI for CM7..", 0, #-- selected.2 = 4
"Samsung TW Theme", "Ripped from Galaxy S Gingerbread", 0[COLOR="red"],[/COLOR] #-- selected.2 = 5

"Camera", "", 2, #-- Group 3. key = "selected.3"
"CM Camera", "Use CM7 default camera", 0, #-- selected.3 = 1
"LG Camera", "Use lg camera with replaced icons", 0, #-- selected.3 = 2
"MIUI Camera", "Non plus ultra - best cam ever!", 1[COLOR="red"],[/COLOR] #-- selected.3 = 3

"Kernel"	"",	2, #-- Group 4. key = "selected.4"
"Normal kernel",	"For WFS that were bought in 2011",	1, #-- selected.4 = 1
"WFS12 kernel",	"For WFS that were bought in 2012",	0 #-- selected.4 = 2
);
endif;
[COLOR="Red"]endif;[/COLOR]
[Android Software/Hacking General [Developers Only]] Olivier:
Thanks, I'll retry it tomorrow. Why do I have to add two endif;s?

Gesendet von meinem HTC Wildfire S mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] Harbir:
yes

for thx u could hit the button :D
[Android Software/Hacking General [Developers Only]] franzyroy:
Yes, the second 'endif' isn't necessary!
[Android Software/Hacking General [Developers Only]] RagzDog:
hello i've a problem with updater script

aroma start succesfully and there aren't sintax error

but when the installation finish (don't compare me the write camera and kernel) i boot the device but the phone is locked on "samsung galaxy s3" ... doesn't start the bootanimation ! if you want ... i leave you the log and updater script
[Android Software/Hacking General [Developers Only]] RagzDog:
anyone can help me ?
[Android Software/Hacking General [Developers Only]] MaxAndroided:
Hello...

I need help to find the error in my syntax :(

I think all is right but aferter choice my setup and install.

I become a Status 6 :eek: Only message Status 6 without a hint :rolleyes:

My files are attached ... please have a look :(

I hope a pair more eyes can find it :( It toke me days... but no succed :crying:

Thanks if I get help :)
[Android Software/Hacking General [Developers Only]] Snuzzo:
I can help you but can you post a pastie.org link. I'm mobile right now.

Sent from my ADR6425LVW using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] MaxAndroided:
Hi... I never used pastie.org hope it is ok

aroma-config

http://pastie.org/7635461

updater-script

http://pastie.org/7635503

I got a recovery log

http://pastie.org/7635546

Edit: on pastie.org my scripts looking totaly different :eek:

better look in my attached files sorry fpr *.txt
[Android Software/Hacking General [Developers Only]] Snuzzo:
There is way too many variables incorrect in bith files. Ill reply further first chance I get.

Sent from my ADR6425LVW using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] franzyroy:
You've looked if you had a issue with the mount or good permissions for mount?

Your script has that!

unmount of /system failed; no such volume
mount: failed to mount /dev/block/mmcblk0p12 at /data: Device or resource busy
[Android Software/Hacking General [Developers Only]] MaxAndroided:
:mad:It dont work :(

And I see no syntax error :eek::(

I can not understan why not working correctly :crying:

aroma installer just kidding me :mad:
[Android Software/Hacking General [Developers Only]] Harbir:
what problem does it show ???

explain in brief
[Android Software/Hacking General [Developers Only]] Patrics83:
My suggestion is that when you flash the zip next time, open cmd on your computer then go to your adb folder and type adb pull /tmp/recovery.log

I'm pretty sure that the log will tell you what's wrong with your script.

And guys please go to Aroma, Edify, updater script Question and Answer thread. if you want to discuss script problems.

Cheers!
[Android Software/Hacking General [Developers Only]] MaxAndroided:
Edit: problem solved :)

Sorry for posting in wrong thread :(
[Android Software/Hacking General [Developers Only]] Reynt:
Has someone already fixed the freez issues on HTC One?
[Android Software/Hacking General [Developers Only]] kevinrocksman:
I could list about 20+ devices it still freezes on, there is no "fix" at the moment only mitigation. A new version of aroma is being worked on by amarullz. I am about 150% sure that once he finishes it there will be no more freezing.
[Android Software/Hacking General [Developers Only]] cleverior.ipul:
Can anyone teach me how to take screnshot of AROMA Installer, please ? :D
[Android Software/Hacking General [Developers Only]] Patrics83:
No idea what device you have but this might work, http://xdaforums.com/showthread.php?t=2233622

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] cleverior.ipul:
wew.. thx for ur info bro. :D

i using Samsung Galaxy Pocket, is that tools can work on my device ?.
[Android Software/Hacking General [Developers Only]] Patrics83:
Try it and report the result in that thread.

Or use monitor.bat in android sdk

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] cleverior.ipul:
yeahh .. tool you gave yesterday, works fine on my device. But the color is slightly different from that in the device. Thx mate :)
[Android Software/Hacking General [Developers Only]] kevinrocksman:
Let me tell ya. Aroma is awesome and amazing. I have built some crazy stuff with it. Spent a lot of time figuring out new ways to use it but one minor problem is the more complex I get and the more menus I add the more chance of it freezing :(. If there is anything I can do in the aid of helping to get the freezing to stop (especially on the note II) please let me know. I'd love to see some of my latest creations out there :highfive:
[Android Software/Hacking General [Developers Only]] $tefanDroid:
Could anybody point me in the right direction?

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

(Status 1)

View attachment aroma-config.txt
[Android Software/Hacking General [Developers Only]] Harbir:
u haven't put an endif; to line 169 .....kk ;)
[Android Software/Hacking General [Developers Only]] kevinrocksman:
No way.... Is there a limit to the code amount in an aroma? I tried out a aroma I wrote and it worked but I did some things wrong so I went back in to add 6 extra letters, nothing special. This is the code before and after:

Before

if prop("selectedtheme.prop","selected.2")=="2" then

setvar("theme", "<#00ff00>Twisted</#>");

setvar("themecolorname", "Twisted");

setvar("themecolorhex", "<#00ff00>");

setvar("themecolor", "Twisted");

writetmpfile(

"colorname.prop",

"Color=Twisted"

);

if prop("selectedtheme.prop","selected.2")=="6" then

setvar("theme", "<#8437F5>Steezc</#>");

setvar("themecolorname", "Steezc");

setvar("themecolorhex", "#8437F5");

setvar("themecolor", "Purple");

writetmpfile(

"colorname.prop",

"Color=Steezc"

);

endif;

After:

if prop("selectedtheme.prop","selected.2")=="2" then

setvar("theme", "<#00ff00>Twisted</#>");

setvar("themecolorname", "Twisted");

setvar("themecolorhex", "<#00ff00>");

setvar("themecolor", "Twisted");

writetmpfile(

"colorname.prop",

"Color=GreenYellow"

);

if prop("selectedtheme.prop","selected.2")=="6" then

setvar("theme", "<#8437F5>Steezc</#>");

setvar("themecolorname", "Steezc");

setvar("themecolorhex", "#8437F5");

setvar("themecolor", "Purple");

writetmpfile(

"colorname.prop",

"Color=Purple"

);

endif;

It gives me a error when I try flashing it through recovery when I change the code.... I am blow away here, what could be the problem? My aroma has 187328 Characters and 4267 Lines of code. Is that to much?
[Android Software/Hacking General [Developers Only]] Patrics83:
Two "if" and one "endif;"?
[Android Software/Hacking General [Developers Only]] $tefanDroid:
No. That did not solve my problem. Now I have an error on line 169 col 60

I just wrote "endif;" after "then"

:D:):beer:

Sendt from my shooteru using Tapatalk 2
[Android Software/Hacking General [Developers Only]] Snuzzo:
Remember

If this.prop = that then do this and endif

Sent from my ADR6425LVW using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] Harbir:
i mean u have to put an 'endif' at the end as 'if' starts from 169 line

as that 'if' is not closed by an 'endif' it is open till the end of the script, so put an 'endif' to make it complete like a ( )

make it in this way

if xyc. prop ==abc

then

.

.

.

.

.

endif;)

kk;)
[Android Software/Hacking General [Developers Only]] $tefanDroid:
Yeah lol I was silly. :D

A last question: if it goes past to the installer screen and nothing happens there. Is this 100% a updater.script problem?

Or does aroma somehow jumps over my reboot and installing thing down on the last lines?

:D:):beer:

Sendt from my shooteru using Tapatalk 2
[Android Software/Hacking General [Developers Only]] Snuzzo:
All an issue with updater script

Sent from my ADR6425LVW using Xparent Green Tapatalk 2
[Android Software/Hacking General [Developers Only]] Harbir:
update script problem ,majority of times it is ......

(Happens due to some wrong codes)
[Android Software/Hacking General [Developers Only]] bawffg85:
We do not need to sign for the zip with aroma,is it rigtht?
[Android Software/Hacking General [Developers Only]] Harbir:
Sign :D??? Just make a simple zip for aroma ...that's it ;)
[Android Software/Hacking General [Developers Only]] kevinrocksman:
Ok after over 18 hours of straight testing i have come to the conclusion aroma has a file limit/folder limit, is this correct? 94,563 files and 8 folders and it will only see and extract the top 6 folders, the others it acts like it doesn't see them. I just want this verified so I can stop looking over the code to see if I got it wrong...
[Android Software/Hacking General [Developers Only]] bawffg85:
When we use aroma to make roms,is there no need to sign the rom?Im sorry,i just want to confirm.
[Android Software/Hacking General [Developers Only]] roxtreeme:
anyway to show image under a text.....

I wanna show a image under text show I guess if I could....

ex (showing screenshots on a screen..)...???

not splash....
[Android Software/Hacking General [Developers Only]] Harbir:
i dont think it is possible u can only show u icon(image) at the place of icons only

i guess it is not required ....try flashing the aroma zip with and without sign u will get ur ans;)
[Android Software/Hacking General [Developers Only]] RagzDog:
hi guys i've a problem with aroma-config

i've this error :

FUNCTION ERROR!!! roma-config; checkbox() expects 4 args + 3args for items, got 48

theese are my checkbox in aroma
[Android Software/Hacking General [Developers Only]] Patrics83:
"Bloatware Installation", 2,

"Bloatware Installation", "", 2,

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] RagzDog:
failed to open tmp/other.prop

this is my aroma config :

tis updater script :
[Android Software/Hacking General [Developers Only]] Patrics83:
if

file_getprop("/tmp/aroma-data/other.prop","item.1.1") == "1"

then

ui_print("@ Installing Sec note my files");

package_extract_dir("aroma/bloatware/archivio", "/system/app");

endif;

I know I read somewhere it should be backward compatible but that's what I'm using and it's working just fine.

Also you can check if the prop is there by using adb shell:

ls /tmp/aroma-data

Read prop:

cat /tmp/aroma-data/other.prop
[Android Software/Hacking General [Developers Only]] RagzDog:
I solved .... thanks !!!!!!

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] franzyroy:
Why /tmp/aroma-data? I always use /tmp/aroma! :confused: And no problem with.
[Android Software/Hacking General [Developers Only]] Patrics83:
Not really sure why you are asking this... ;)

As I said I'm always using aroma-data since that is the correct path and I have no problems at all... And obviously this sorted his issues.

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] franzyroy:
For know! In more, I've a minor issue and I wonder if it could solve it.

In my Aroma config, I've made a method to backup the choice of user (for to have them in the next installation). Only if you reboot directly without to go to the Recovery, the backups keeps their old choices. However, If you leave Aroma to return in the Recovery before to reboot, the backups are correctly done.
[Android Software/Hacking General [Developers Only]] Harbir:
i also did the backup process and all the time it correctly does the back up of users choices (did this for a ROM aroma)...even if u reboot directly at the end or if u do not
[Android Software/Hacking General [Developers Only]] franzyroy:
Weird!!! :silly:
[Android Software/Hacking General [Developers Only]] pjc21:
Hi,

I'm trying to figure out what I'm doing wrong with the writetmpfile command or if what I'm trying is even possible.

I posted this on the "Aroma, Edify, updater script Question and Answer" thread but have not had a response and was hoping someone could help me.

http://xdaforums.com/showpost.php?p=40726072&postcount=787

I am still fairly new to aroma and this is the first time I have tried to use the writetmpfile command so not sure if I'm going about it the right way or if there is a better way of doing what i am trying to do.

Any help would be greatly appreciated

Thanks.
[Android Software/Hacking General [Developers Only]] franzyroy:
OK but... how have you put your settings?

/tmp/aroma-data

or

/tmp/aroma

Me, I've the second!
[Android Software/Hacking General [Developers Only]] Patrics83:
All props are stored in /tmp/aroma-data/

To save them to your sdcard you must copy them from /tmp/aroma-data/.

And don't be afraid of using adb shell while developing a new aroma. With it you will be able to read props and check if the prop exists or not. This saves you a lot of time when it comes to debugging.

ls /path = view directory

cat /path/file = read file

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] RagzDog:
hi guys !

this is my aroma config part interested

and this the updaterscript

why when i install ROM the status bar don't change color ? thanks a lot
[Android Software/Hacking General [Developers Only]] franzyroy:
I'll try to put aroma-data instead of aroma. I'll see if it corrects this small issue.

Thanks for the informations!
[Android Software/Hacking General [Developers Only]] Harbir:
I have 1st one and I think it makes no differents :confused:
[Android Software/Hacking General [Developers Only]] franzyroy:
Before, certainly not, but now, I'm not sure... I'd not this problem with old versions of Aroma Installer. And I didn't change this part of script.
[Android Software/Hacking General [Developers Only]] sbdags:
Paul on the latest boot loader/kernel I've noticed it doesn't like tmp as a location. Try using data/media instead.
[Android Software/Hacking General [Developers Only]] pjc21:
Thanks for the response Darren,

I just tried that but get - file_getprop: failed to stat "data/media/type.prop": No such file or directory

aroma -config

if
file_getprop("/system/build.prop", "ro.build.display.id") == "TF300 CROMi-Xenogenesis 4.4 - 10.6.1.14.4/WW DEODEX" ||
file_getprop("/system/build.prop", "ro.build.display.id") == "TF300 CROMi-Xenogenesis 4.4 - 10.6.1.14.4/US DEODEX" ||
file_getprop("/system/build.prop", "ro.build.display.id") == "TF700 CROMi-Xenogenesis 4.4 - 10.6.1.14.4/WW DEODEX" ||
file_getprop("/system/build.prop", "ro.build.display.id") == "TF700 CROMi-Xenogenesis 4.4 - 10.6.1.14.4/US DEODEX"
then
writetmpfile("/data/media/type.prop", "TYPE=DEODEX");
endif;

I made sure that data & system where mounted in twrp first as this is in aroma-config and believe this would be run prior to updater-script running the mount commands -yes?

I do remember reading info somewhere in one of the aroma threads (can't find it at the moment) that one of the aroma updates changed the tmp location from either /tmp/aroma-data to /tmp/aroma or vice-versa but that both paths should still work - just strange that it creates prop file in one location the first time and then the other the next time.
[Android Software/Hacking General [Developers Only]] masterex567:
Hi..

I was just wondering, can a selectbox in aroma-config link to a previous prop?

For example:

I have a selectbox in aroma to choose between apex and nova launcher..

Then later on in the installation process, i have another selectbox to choose between apex icon pack and nova icon pack.

Now i want to add a code so that the user cannot select apex icon pack if he has not selected apex launcher in the previous selectbox.

And the user cannot select nova icon pack if he has not selected nova launcher.

I hope you get what i mean...

Is there any way to do that?

And one more thing.

For example this is my selectbox:

selectbox(
"Launcher",
"Choose your launcher:",
"@update",
"launcher.prop",

"Launchers", "", 2,
"Apex", "blah blah blah", 0,
"Nova", "blah blah blah" , 0
);

I've put the value as 0 in both.

Now i want to create an alert, that if none are selected, it will take the user back to the selectbox until he chooses one.
[Android Software/Hacking General [Developers Only]] Harbir:
make it in a menu box form ....

like

menubox(
"Launcher",
"Choose your launcher:",
"@update",
"launcher.prop",

"Apex", "blah blah blah","@icon",
"Nova", "blah blah blah" ,"@icon"
);

now the users have to select one of then to go ahead ;)
[Android Software/Hacking General [Developers Only]] Thunder07:
amarullz there is a way around it,

update-binary reads update-script from the tmp location,

when we call install through aroma, it should copy that file to the tmp location, that way it will call the script you want

ill be using the read function to check for file existence but this would be so much neater

P.S. i know these are a year old posts but they are still relevent to me :p