yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] carl1961:
I removed at line 163 (notepad++) writetmpfile( in aroma-config

and deleted out in updater-script line 9 You might post to get this right

#ifelse assert(getprop("ro.product.device") == "ro.build.display.id=Raw MOD B2" == ui_print("I see your already using Raw MOD good choice ;)"), ui_print("I see your new to Raw MOD hope you enjoy:)");

replaced ! with a = (might be ok, maybe someone can verify)

if file_getprop("/tmp/aroma/mods.prop","selected.1") != "1"

typo package_extract_file("aroma/battery/honeycomb", "/sysstem");

added missing endif; at line 136 if command

added missing endif; at line 156 if command

removed ( and ) from last 5 if commands

if (file_getprop("/tmp/aroma/customize.prop","item.1.1") == "1")

replaced all show_progress with set_progress

will test more tommorow
[Android Software/Hacking General [Developers Only]] eatthatshrimp:
thank you so much :)

thank you that is amazing im gonna try those fixes :) i cant belive i missed the missing endifs im new to the aroma stuff sorry for taking your time but thank you :) ive tryed this and it has resolved issues in the aroma-config but when i get to the installer part it does nothing and says it was succesful any ideas? sorry again and thank you :)
[Android Software/Hacking General [Developers Only]] lesscro:
@ carl1961

If i share with you my package, any chance to solve my issue about non install and nothing in progress status ? if you have time !! :o
[Android Software/Hacking General [Developers Only]] Jhowlett:
Thx I will try this ;)

Tapatalked with my precious I9000
[Android Software/Hacking General [Developers Only]] dissidius:
hey can anyone help please to fix the updater script of the rom for the Vodafone smart ii???

---------- Post added at 10:31 PM ---------- Previous post was at 10:29 PM ----------

please its very important if you can than look at least at the problem its only 110mb help me fix this!!!!

---------- Post added at 10:37 PM ---------- Previous post was at 10:31 PM ----------

http://www.mediafire.com/?feftjbbcpa9dev2

the new partially fixed it needs some minor fixes but were not finding what is wrong please help!!!

you're our last hope!!
[Android Software/Hacking General [Developers Only]] xdaco:
I want to show a list of selectable icons. Is it possible to do that in aroma. Using slectbox I can't display an icon near checkbox. Can anybody help me ??

Thanks in advance.
[Android Software/Hacking General [Developers Only]] carl1961:
I changed "@apps", to "icons/apps", to get my icons to show,
[Android Software/Hacking General [Developers Only]] carl1961:
Originally Posted by carl1961

I removed at line 163 (notepad++) writetmpfile( in aroma-config

and deleted out in updater-script line 9 You might post to get this right

#ifelse assert(getprop("ro.product.device") == "ro.build.display.id=Raw MOD B2" == ui_print("I see your already using Raw MOD good choice "), ui_print("I see your new to Raw MOD hope you enjoy");

replaced ! with a = (might be ok, maybe someone can verify)

if file_getprop("/tmp/aroma/mods.prop","selected.1") != "1"

typo package_extract_file("aroma/battery/honeycomb", "/sysstem");

added missing endif; at line 136 if command

added missing endif; at line 156 if command

removed ( and ) from last 5 if commands

if (file_getprop("/tmp/aroma/customize.prop","item.1.1") == "1")

replaced all show_progress with set_progress

will test more tommorow

last line in updater script missing " LOL Bug report line has a BUG

ui_print("report bugs to main thread :));

ui_print("report bugs to main thread :)");

also show_progress needs to be set_progress (wrong layout for show_progress)

set_progress(1.0);

show_progress(0.7,1700);

try attached
[Android Software/Hacking General [Developers Only]] xdaco:
I didn't get you. Can you elaborate please? I want to give 10 selectable choice and nearby each choice I want to show one icon . All these in one page .

Thanks..
[Android Software/Hacking General [Developers Only]] xdaco:
Tons of thanks...
[Android Software/Hacking General [Developers Only]] grzesdroid:
Odp: Aroma, Edify, updater script Question and Answer thread.

I have a big problem. I made another version of my Rom, but something went wrong and recovery is the information aroma after should show the splash screen, but it does not open. Where can I find the problem? Because I did not pop any information from the script has errors
[Android Software/Hacking General [Developers Only]] carl1961:
we need your META-INF folder or do a compare with a workin aroma rom for your phone, I assume Galaxy S III (GT-I9300)
[Android Software/Hacking General [Developers Only]] grzesdroid:
Odp: Aroma, Edify, updater script Question and Answer thread.

https://docs.google.com/file/d/0ByynD7ZdwncQR3dfRE1PS01jcDg/edit

---------- Post added at 05:44 PM ---------- Previous post was at 05:43 PM ----------

https://docs.google.com/file/d/0ByynD7ZdwncQR3dfRE1PS01jcDg/edit
[Android Software/Hacking General [Developers Only]] carl1961:
line 179 missing comma , "No","Dont install Shutdown Animation",1,#-- selected.4 = 2
[Android Software/Hacking General [Developers Only]] Harbir:
Q

I want to make the aroma to read the swap IMG file in /data/swap

For eg swap IMG size is 100 mb

How to make the aroma to read that there is 100 mb swap there ....

Devs:confused:
[Android Software/Hacking General [Developers Only]] Robobob1221:
In menubox you're able to have the icons next the selections.

Is it possible to get the icon on other pages like select/checkbox next to the option?
[Android Software/Hacking General [Developers Only]] kirasan13:
hi all i keep getting this file_getprop: failed to stat "/tmp/aroma-data/adds.prop": No such file or directory

did i do something wrong?

hope someone can help me with this:)

View attachment META-INF.rar
[Android Software/Hacking General [Developers Only]] carl1961:
what I found

aroma-config 10 - 18 missing commas

"Kies","Install Kies",0, #10

"Kies Wifi","Install Kies Wifi",0, #11

"RoleTube","Youtube Downloader",0, #12

"Samsung App","Install All Samsung App",0, #13

"Samsung Widget","Install All Samsung Widget",0, #14

"Social Hub","Install All Social Hub App",0, #15

"Talk Back","Install Talk Back",0, #16

"Live Wallpaper","Install All Stock Live Wallpaper",0, #17

"Yahoo","Install All Yahoo App",0, #18

line 100 (notepade++)

need to remove , (comma)

"Skip","Keep Stock Theme With Simplistic Framework",1
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
Ok, I just got an error that I've never seen before. I booted up my new Aroma to test for syntax errors, and it started up fine, splash screen appeared, got to the first viewbox() screen, got to the agreebox() screen, but as soon as I try to proceed it crashes and I get a FUNCTION ERROR!!! aroma-config selectbox() expects 4 args + 3 args per items, got 72

Most of my aroma-config right now is selectboxes. I notice from earlier posts on similar issues that the problem has something to do with how I wrote my arguments, but I can't seem to find my exact error.

Including my aroma-config here.

https://www.dropbox.com/s/djil3jaqd7zrfq0/aroma-config?m
[Android Software/Hacking General [Developers Only]] grzesdroid:
Odp: Aroma, Edify, updater script Question and Answer thread.

I @up

I think you forgot about the final screen, the reboot option ... The following is from my installer, try to add and install again

Edit ;

Also noticed that you have not added information about the ROM / modification
[Android Software/Hacking General [Developers Only]] kirasan13:
Ah thx u thx u i will try add back and see got error or not
[Android Software/Hacking General [Developers Only]] carl1961:
missing second set of quotes on line 126 (notepad++) under people

"People", "", 2,

"Blacked Out", "Install Black Inverted People", 0,

"Don't Install", 1,

"Don't Install", "", 1,
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
hahaha totally right!!! I knew it'd be something like that. Sometimes you just need another set of eyes. lol
[Android Software/Hacking General [Developers Only]] kevinrocksman:
Hey quick thing. I know this is a thread for aroma help but I made a site and if you'd like all aroma help can be transfered to that site (for organization).

Anyone can post any problems they are having and the moderators (or users) can help ya out.

The site is here: http://teamdart.net/forum/index.php?board=27.0 (yes u have to register.. sorry) :good:

Sorry if this doesnt belong here but i thought it would be a good idea (for help) :highfive:
[Android Software/Hacking General [Developers Only]] Patrics83:
Sv: Aroma, Edify, updater script Question and Answer thread.

Don't misunderstand me, but what's wrong with this thread @ xda?

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] kevinrocksman:
well there isnt a "problem" with it, just seems "clustered". What the other allows u to do is create threads for asking for help. Each individual thread will be that persons own. Seems a bit repetitive I know but I'm trying to find any and all ways to help :)
[Android Software/Hacking General [Developers Only]] kirasan13:
@@" doesnt work@@"

still the same status 7 come out file_getprop: failed to stat "/tmp/aroma-data/adds.prop": No such file or directory e:Error in /external_sd
[Android Software/Hacking General [Developers Only]] grzesdroid:
Odp: Aroma, Edify, updater script Question and Answer thread.

Try this:

/tmp/aroma/adds.prop...

Edit all file_getprop to "/ aroma / adds.prop"

instead of "aroma-data/adds.prop"
[Android Software/Hacking General [Developers Only]] kirasan13:
Ok i try now
[Android Software/Hacking General [Developers Only]] kirasan13:
change to /aroma/ tested cant~ testing harbir way

harbir way got error at format() expects 3 args, got 4
[Android Software/Hacking General [Developers Only]] grzesdroid:
Odp: Aroma, Edify, updater script Question and Answer thread.

I do not know why, because I have it all of the commands in the updater-script
[Android Software/Hacking General [Developers Only]] kirasan13:
>.<" headache
[Android Software/Hacking General [Developers Only]] Harbir:
Now this is an aroma error I can fix it

Look at aroma
[Android Software/Hacking General [Developers Only]] kirasan13:
i still searching around the web but still no luck@@"

isit because of update-binary problem?
[Android Software/Hacking General [Developers Only]] Harbir:
No its about the format of aroma eg

Heading

Sub heading

Icon

.Props
[Android Software/Hacking General [Developers Only]] Harbir:
http://pastebin.com/r0EvjpZ3

Try this aroma confi (i think I solved it

I have done my best) and report

If it worked hit as many thx to me if u want;)
[Android Software/Hacking General [Developers Only]] carl1961:
you still have a typo error, I will rerun aroma, after aroma-config goes all the way then you may have to work with updater.script
[Android Software/Hacking General [Developers Only]] Harbir:
Sir I have solved his update and aroma problem

Just waiting for his test ......and reply
[Android Software/Hacking General [Developers Only]] Anon_1989:
Question: how awesome is amarullz aroma installer?!

Answer: like OMG super awesome!
[Android Software/Hacking General [Developers Only]] amarullz:
Isn't that only available in android environment?.. if you do something like that (and it the /proc/version is available), you won't have any kernel information for current android system. Safest way is to read /system/build.prop is there any?
[Android Software/Hacking General [Developers Only]] Dblfstr:
There should be, and that is what I thought was the appropriate route. I was not sure though. Still learning... :rolleyes:
[Android Software/Hacking General [Developers Only]] savie:
In build.prop it show stock kernel and i use custom kernel..

Anyway thanks all will try to search any prop file to read kernel information in aroma..
[Android Software/Hacking General [Developers Only]] husker91:
I'm having a problem with a few lines of code causing the installer to not do anything.

aroma-config

selectbox(
"Would you like to remap half press camera button?",
"Please Select:",
"icons/apps",
"camera.prop",

"Camera Button Wake","This will make a press of the camera button wake the phone",0,
"Camera Button Search","This will make a half press of the camera button search",0,
"Camera Button Both Wake And Search","This will make a half press of the camera both wake the phone(when sleeping), and search when the phone is awake!",0,
"No Thanks!","This will leave factory settings on the Camera Button",1

);

updater-script

if
file_getprop("/tmp/aroma-data/camera.prop","selected.0") == "1"
then
ui_print("->Remapping half press Camera->Wake");
package_extract_dir("extras/camerawake", "/system");
endif
if
file_getprop("/tmp/aroma-data/camera.prop","selected.0") == "2"
then
ui_print("->Remapping half press Camera->Search");
package_extract_dir("extras/camerasearch", "/system");
endif
if
file_getprop("/tmp/aroma-data/camera.prop","selected.0") == "3"
then
ui_print("->Remapping half press Camera->Wake & Search");
package_extract_dir("extras/cameraboth", "/system");
endif

Without these lines of code, the installer runs fine, but when adding these, selecting various options, it doesn't install anything, just says finished.

I'll attach my files as well if you want to see the whole thing.
[Android Software/Hacking General [Developers Only]] hell_lock:
How to change size of text in aroma?? The application runs very small on my phone cuz its ldpi. Can I do anything to make it work perfectly on my phone?
[Android Software/Hacking General [Developers Only]] Chrack:
I have a problem too.

i added 3 lines of choice for install my Rom.

The first two working without any problem:

selectbox(
"Choose your install process",
"Choice:",
"icons/customize",
"typeinst.prop",
[COLOR="Blue"] "Install ROM and Mods","You can build your own Rom",1,
"Install Mods only","Install Mods and Add-ons only",0,[/COLOR]
"Delete Mods only","Delete Mods and Add-ons only",0

but the thirt work too but say error at installing.

selectbox(
"Choose your install process",
"Choice:",
"icons/customize",
"typeinst.prop",
"Install ROM and Mods","You can build your own Rom",1,
"Install Mods only","Install Mods and Add-ons only",0,
[COLOR="DarkRed"] "Delete Mods only","Delete Mods and Add-ons only",0[/COLOR]

delete Mod Jelly Bean Font ---> thats ok and delete my file but the error on the end of installer.

file_getprop: failed to stat "/temp/aroma-data/costum.prop": No such filr or directory

It´s delete my choosen Files but at the End there is the error.

Hope anybody can help.

I think my fault is at the updater-script.
[Android Software/Hacking General [Developers Only]] bandel:
On common linux u should use uname command whith -v param, as long as aroma could exec system command u may use this command

/proc directory just present on full running system then u can't got it where u run aroma on recovery that mean you just run on a small system with limited tool

Other problem is usually u just change system kernel not recovery kernel, then u have different version of kernel when u run on recovery

cmiiw

Sorry for my bad english
[Android Software/Hacking General [Developers Only]] Волк:
Ok, I am just playing around to get the hang of it but I keep getting a syntax error, I eventually removed all the extra code I wasn't using, instead of commenting it out, but I still get a syntax error. Anyone able to point out what my issue is?
[Android Software/Hacking General [Developers Only]] Robobob1221:
#-------------------------+-----------------[ selectbox Items ]-------------------------+---------------#
# TITLE | SUBTITLE | Item Icons #
#-------------------------+-----------------------------------------------------------+---------------#

"Single wipe", "This will perform a single pass nulification across all partitions", 0, #-- selected.0 = 1
"Dual wipe", "This will perform a dual pass nulification across all partitions", [B][COLOR="Red"] 0, [/COLOR][/B] #-- selected.0 = 2

);

I believe there shouldn't be a comma after the highlighted 0
[Android Software/Hacking General [Developers Only]] Волк:
Oh, I see. Yep, I removed it and no more syntax error. I'm so used to strict consistency with updater-scripts I never thought to look or rather stopped to look.

After I fixed that, and added in the icon arg, it went well, but the shell scripts didn't seem to do anything. They were just supposed to print a line on the screen, there were no errors in the log either. Any ideas there?
[Android Software/Hacking General [Developers Only]] Robobob1221:
In your updater script I think you need to add

ui_print("what you want to see");. so yours would be

ui_print("Nullification was completed successfully");

That's what you want to see right?
[Android Software/Hacking General [Developers Only]] Dblfstr:
If item three is selected, is the custom.prop even created?
[Android Software/Hacking General [Developers Only]] Волк:
I am not using an updater-script, I was planning to do it via shell scripts. I likely just need to take another look at the sample and go from there. Thanks though.
[Android Software/Hacking General [Developers Only]] Chrack:
@Dblfstr

No if 3 selected than it use the removemod.prop ;)

if
file_getprop("/tmp/aroma-data/typeinst.prop","selected.0") == "3"
then

# Remove mods ans addons
if
file_getprop("/tmp/aroma-data/removemod.prop","item.0.1") == "1"
then
ui_print("Delete MOD Sony Bravia Engine");
delete_recursive("/system/etc/be_movie");
delete_recursive("/system/etc/be_photo");
delete_recursive("/system/etc/permissions/com.sonyericsson.android.SwIqiBmp.xml");
endif;

i dont know why its say at the end the error with the costum.prop.

The Script delete all selected files who choose in removemod.prop, and thats correct and works.
[Android Software/Hacking General [Developers Only]] Волк:
Ok, so I must be missing something. The AROMA menu seems to work fine, but it acts like the updater-script isn't loading. I select one and say 'next', it waits a moment then say's it's done. I didn't see anything in the config specifically for starting the script.
[Android Software/Hacking General [Developers Only]] 2ndIdentity:
You need the install( ); function for AROMA to launch and execute the updater script.
[Android Software/Hacking General [Developers Only]] Dblfstr:
Somewhere the script is checking for custom.prop. This is not a problem if item 1 or 2 is selected because custom.prop will be created. But upon selecting item 3, there is no custom prop when the script looks for it. Error: file does not exist.

Just thinking out loud.
[Android Software/Hacking General [Developers Only]] Chrack:
Yes you are right but i don´t find the Line where it will check for custom.prop :confused:

Can you dont look in my Files?
[Android Software/Hacking General [Developers Only]] Dblfstr:
Am I correct in assuming you have three options for typeinst.prop?

Yet in the updater script you never check for

file_getprop("/tmp/aroma-data/typeinst.prop","selected.0") == "2"

Also, you check for file_getprop("/tmp/aroma-data/typeinst.prop","selected.0") == "1" , in multiple areas. (4 times) and you check for

file_getprop("/tmp/aroma-data/typeinst.prop","selected.0") == "3" , once.

Is there a reason you separated it like this? Instead of checking for file_getprop("/tmp/aroma-data/typeinst.prop","selected.0") == "1" four different times, would it not make sense to check once, and determine what to do after that first check? Keep in mind I am only reading the lines of code and not trying to determine the current sequencing and logic.
[Android Software/Hacking General [Developers Only]] carl1961:
all red missing needs to be added to original , I did not catch ); missing last time

"Kies","Install Kies",0, #10

"Kies Wifi","Install Kies Wifi",0, #11

"RoleTube","Youtube Downloader",0, #12

"Samsung App","Install All Samsung App",0, #13

"Samsung Widget","Install All Samsung Widget",0, #14

"Social Hub","Install All Social Hub App",0, #15

"Talk Back","Install Talk Back",0, #16

"Live Wallpaper","Install All Stock Live Wallpaper",0, #17

"Yahoo","Install All Yahoo App",0, #18

"Youtube","Install Youtube",0 #19

);	missing

selectbox(

"<~select.title1>",

"<~select.title2>",

"icons/personalize",

"mods.prop",

"<#FF0000>Select Kernel To Install</#>", "", 2, ##############################################1

"Perseus","Install Perseus Kernel Recommended",1,

"Redpill","Install Redpill Kernel",0,

"Note2Core","Install Note2Core Kernel",0,

"Skip","Keep Your Previous Kernel",0,

"<#FF0000>Select Modem To Install</#>", "", 2, ###############################################2

"Stock Modem","Install Stock Modem LK5 Recommended",1,

"Skip","Keep Your Previous Modem",0,

"<#FF0000>Select Theme Mod To Install</#>", "", 2, ###########################################3

"B&B Fusion Theme Mod","Install B&B Fusion",0,

"Devabhishek Theme Mod","Install Devabhishek Theme Mod",0,

"Skip","Keep Stock Theme With Simplistic Framework",1, needs to be removed

); missing

after each fix, something else may surface
[Android Software/Hacking General [Developers Only]] carl1961:
sorry didn't see your post, wish I seen it would save me time
[Android Software/Hacking General [Developers Only]] Harbir:
Lol ....no problem

But the update in ur zip is old use will not work use mine;)
[Android Software/Hacking General [Developers Only]] kirasan13:
Sorry for late report i test it on 2 way 1 is with my previous updater and harbir updater, mine come out same as before no such file, harbir come out same 3 arg got 4
[Android Software/Hacking General [Developers Only]] cajunflavoredbob:
I'm getting a syntax error in TWRP 2.4.3.0 on line 256 col 4 of aroma-config.

The error from the recovery.log:

aroma/s: Starting Interface
line 256 col 4: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 282 col 4: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 290 col 6: syntax error, unexpected ENDIF, expecting ',' or ')'
line 340 col 4: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 367 col 4: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 396 col 6: syntax error, unexpected ENDIF, expecting ',' or ')'
line 489 col 1: syntax error, unexpected BAD
aroma/s: Close Graph Thread
aroma/s: Unmute Parent

SYNTAX ERROR!!! aroma-config on line 256 col 4
aroma/s: Starting Release

EDIT: After posting, I found some extra commas. I'm rebuilding the zip and will post back if that clears it up. Don't drink and script...
[Android Software/Hacking General [Developers Only]] kevinrocksman:
here
[Android Software/Hacking General [Developers Only]] cajunflavoredbob:
Was it just those two leftover "+" characters?
[Android Software/Hacking General [Developers Only]] kevinrocksman:
it was a few , and a few +
[Android Software/Hacking General [Developers Only]] cajunflavoredbob:
Alright. Got all of those.

I'm still getting the error:

line 489 col 1: syntax error, unexpected BAD
[Android Software/Hacking General [Developers Only]] kevinrocksman:
1 sec

---------- Post added at 06:02 AM ---------- Previous post was at 06:00 AM ----------

get rid of the last 2 lines and see what happens, i think it doesnt like the comment at the end
[Android Software/Hacking General [Developers Only]] cajunflavoredbob:
Great! It's booting now, but two small problems remain.

First off, there's a bunch of gibberish in the <~welcome.text1> variable. Where is this located, so I can fix it?

"Welcome

To (lots of random symbols)'s installer for blah blah blah..."

Next, the color is kind of green-ish, as though it's missing red colors. Which colorspace variable handles that? "rgba", "abgr", "argb", "bgra"
[Android Software/Hacking General [Developers Only]] kevinrocksman:
i never liked that whole ~blah.blah thing. i just typed it out 1 line at a time. as for the greenish tint i cant help ya there, all i can say is just test each one until u get the results u need. Thats what I did ;)
[Android Software/Hacking General [Developers Only]] cajunflavoredbob:
This is going to drive me insane. lol

i know I can write it out, but for knowledge's sake, I need to figure out where <~welcome.text1> is located.