yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] amarullz:
Sorry, I am on phone right now. But I can give you some idea.

If you use checkbox, the id of item become key, and the value will be 1 for checked and 0 for unchecked.

If it was selectbox, the id of group will become key and id of selected item becoming value.

In your code, you use select, so the if statement is :

if

file_getprop("/tmp/aroma-data/form.prop","battery") == "batt1"

then

.....

endif
[Android Software/Hacking General [Developers Only]] fisha21:
That's great, thanks for replying so quickly! Will go give that a try

Thanks for the offer :)

===================================================================

Awesome, that worked perfectly! Thanks again for the quick reply. Aroma is an amazing bit of coding.

Time for another Unique Transaction ID7AG91534T5254705G :)
[Android Software/Hacking General [Developers Only]] mrjoy:
I have an aroma in Chinese language but i want to make it in English. Could you please help to make in English. I don't how make. Plz help
[Android Software/Hacking General [Developers Only]] ahsan64:
Upload it or PM me and i will try to make .. :D
[Android Software/Hacking General [Developers Only]] mrjoy:
I'm sending you only main folder due to low data bandwidth. Please try to make soon in english language, i'll be wait. Thanx for your support.
[Android Software/Hacking General [Developers Only]] ahsan64:
Download and check ... :cowboy:

EDIT: Uploaded file ...
[Android Software/Hacking General [Developers Only]] mrjoy:
Yes i seen that it is in english now but not checked with flashing. Sorry mate i have another one aroma which ie newly downloaded, its same need the english language. Can i copy paste the folder to new aroma which you recently created for me?
[Android Software/Hacking General [Developers Only]] ahsan64:
Yes you can but if something new added then you will not able to see it...

And if its the update then everything should work

Sent from my HTC Sensation.....
[Android Software/Hacking General [Developers Only]] mrjoy:
No brother its not the totally update. I think there is new stuff added. Can u tell me which files i have to copy paste? Whole package which sent you? Otherwise i'll upload again then you see.

---------- Post added at 07:01 PM ---------- Previous post was at 06:58 PM ----------

Damn !! Its password protected zip. Now i'm unable to open aroma configuration file, even can not edit anything now
[Android Software/Hacking General [Developers Only]] ahsan64:
Open META-INF folder and just upload (aroma.config and updater script in it ) only...I will check within 5 minutes.. :cool:
[Android Software/Hacking General [Developers Only]] mrjoy:
bor its pass protected. so unable to upload. Don't worry i just flashing same as it is by estimate. You rocks bro. Thanx so much.
[Android Software/Hacking General [Developers Only]] Amin.HVS:
please help me!

i have Aroma error!

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

whats this? thanks
[Android Software/Hacking General [Developers Only]] Patrics83:
Check line 50 col 24 and 89 col 19

Remove the last "," before ");"

Did it work? :rolleyes:

Edit: You might want to upload the aroma-config or a recovery.log else it will be really hard to know why you get errors at line XXX etc.

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] Amin.HVS:
Sorry my mistake, including the exact text of the error is the error:

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

And Thank you for your quick response...
[Android Software/Hacking General [Developers Only]] Patrics83:
Ok... Hmm

In your aroma-config there's at least one error.

You need to find the error and correct it, then "SYNTAX ERROR!!!" will go away and the installer will load.

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] Amin.HVS:
Ok, Thanks

What Mean the "col" in including error?
[Android Software/Hacking General [Developers Only]] Patrics83:
Seriously :)

Please open your aroma-config with notepad++ and have a look at the code.

If you can't find the error, upload the aroma-config here so I or someone can have look at it...

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] Patrics83:
checkbox(
# Title
"What kind of rom are you running ?",

# Icon
"@confirm",

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

"STOCK-based Rom", "Select if you are Pimpin' a Stock-based rom (needs init.d support)", 2, #-- selected.2 = x
"Jelly Bean", "Android 4.1.x",0[COLOR="Red"],[/COLOR] #--selected.2 = 1
);

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] tamirda:
Quick question:

That is the difference between:

to

Thanks
[Android Software/Hacking General [Developers Only]] franzyroy:
This is the temporary directories for Aroma, it seems to me that one of two is the link to another (or copy). What is sure, you can use two formulas, the result is the same.
[Android Software/Hacking General [Developers Only]] tamirda:
Great, thanks!
[Android Software/Hacking General [Developers Only]] hlxanthus:
I am trying to do different things depending on which device is installing. Thought I could modify assert checks like this to do what I wanted but I got syntax errors. Any thoughts how to do this? I want different install paths if the user is on a specific carrier variant. For instance, only Verizon users will want MyVerizon LOL. Figured the easiest way would be create a carrier.prop automatically that could then be called apon at need.

if(getprop("ro.product.device") == "jfltevzw" || getprop("ro.build.product") == "jfltevzw") then
writetmpfile(
"carrier.prop",

"selected.0=2\n"
);
[Android Software/Hacking General [Developers Only]] JustArchi:
You should have endif; after if.

if getvar("archidroid_wipe")=="1" then
ui_print("root@ArchiDroid:~# Formatting /data excluding /data/media");
package_extract_file("_archidroid/scripts/wipe.sh", "/tmp/wipe.sh");
set_perm(0, 0, 0777, "/tmp/wipe.sh");
run_program("/tmp/wipe.sh");
endif;
[Android Software/Hacking General [Developers Only]] hlxanthus:
Yes, I did miss that, thanks. Looking at the recovery log it is at column 32 (just before the ==) that the first syntax error occurs.
[Android Software/Hacking General [Developers Only]] prdog1:
Delete the ). Have two that make no sense to me. Second one not closed. :cool:
[Android Software/Hacking General [Developers Only]] hlxanthus:
Here is what worked for me guys, thanks a lot

if sysprop("ro.product.device")=="jfltespr" then
writetmpfile(
"carrier.prop",

"selected.0=1\n"
);
endif;
[Android Software/Hacking General [Developers Only]] prdog1:
That makes more sense. Could actually clean it up and only use 3-4 lines instead of 7. All the extra lines add up on full script. Takes longer to scroll through script for changes. :D:cool:
[Android Software/Hacking General [Developers Only]] crushalot:
Help me Please....

All,

Please don't jump all over me for asking this, but I have read through all the forums and how to guides for the aroma installer and I can't seem to figure out what I am doing wrong.

I had a friend who is much better at coding write a very simple aroma installer script for me to guide users through putting the stock rom back on there system if needing to restore to stock.

The script runs great, however there were a few spelling mistakes and I also waned to update some of the icons.

So now whenever I make the slightest change to the aroma-config file (like just swapping a few letters to correct spelling) without changing any of the coding, the script no longer runs and produces a syntax error for the very first line of un-commented code in the file.

The zip wasn't signed and he left all the credit sections blank for me to populate as needed for the tweaks being made. Now I can't get a hold of the guy and I don't want to publish a zip file with mistakes, even if it works.

What am I missing? What do you need to do after making a change in the aroma-config file as clearly there is something other than add and replace the file back in the zip.

Sorry for the noob question. Let me know if you need more info or a sample of the script, but I gather it must be something I am missing as it doesn't matter what text is changed or where, the script still bombs out at the very first line of code is tries to process.

Just to be sure I tried the same thing for other zip packages with aroma and the same thing happens. What am I not doing right?

Thanks
[Android Software/Hacking General [Developers Only]] prdog1:
Have seen this before and was something simple. Just can't remember what. Post the script so we can look at it. May make me remember. lol :cool:
[Android Software/Hacking General [Developers Only]] prdog1:
It could. We use Notepad++. There are some tricks in it also. Can change language and can make it color code. If it doing on all scripts I would try Notepad. When we saw it it was just one particular script. Does this script work or is it already broke. :cool:
[Android Software/Hacking General [Developers Only]] JustArchi:
Windows uses CRLF while Linux uses LF. Aroma isn't compatible with CRLF and most Windows programs like to convert LF to CRLF automatically, Notepad++ does not but it has an option to convert if needed.

So yeah, you can either use linux-based environment or programs like Notepad++.
[Android Software/Hacking General [Developers Only]] prdog1:
HaHaa. You answered what I was thinking of. Was looking for the option. :cool:
[Android Software/Hacking General [Developers Only]] wesamothman:
Guys. I am familiar with aroma installer very well but there is something I need from experts.

Is it possible to include images in aroma? For example a scrreenhsot per option?
[Android Software/Hacking General [Developers Only]] prdog1:
Not sure. I think Amarulla talked about adding that eventually. Haven't seen it done yet. :cool:
[Android Software/Hacking General [Developers Only]] JustArchi:
Actually there is a splash option so I'm not sure but you could be able to implement a "screenshot" if you want. But of course that's not a best option to do so and needs something more advanced.
[Android Software/Hacking General [Developers Only]] ShaneDiNozzo:
Hi! I have a question. I want to create an AROMA Installer to remove and install apps. My installer has 2 prop files. 1 for the installs (install.prop), and 1 for the removes (remove.prop). But here is the problem. If I don't want to remove apps (I don't select any apps on the remove page), then the remove.prop file will not created by AROMA, and the flashing will crush, cause the remove.prop file not exists. My question is, How can I write a command, to skip the remove method and go to the install method, if the remove.prop file does not exists?

Here is a short example:

if

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

then

ui_print("Remove Email app...");

delete("/system/app/Email.apk");

delete("/system/app/Exchange2.apk");

endif;

if

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

then

ui_print("Install Terminal Emulator to /system...");

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

set_perm_recursive(0, 0, 0755, 0644, "/system/app");

endif;

Thanks!

(Sorry for my bad english!)
[Android Software/Hacking General [Developers Only]] prdog1:
Without seeing rest of script an easy way is to add a no change (dummy) option at end of list. :cool:
[Android Software/Hacking General [Developers Only]] hlxanthus:
Problem is in your aroma-comfig. That is where your prop files are generated.

Sent from my Galaxy S4
[Android Software/Hacking General [Developers Only]] ShaneDiNozzo:
Here is my aroma-config

https://db.tt/eYTx01on

I am at work now. This is a test and I am not a developer. Thank you for the help!
[Android Software/Hacking General [Developers Only]] UBUNTUSERO:
Firstly thank you for all the work you are doing, Aroma Installer is amazing.

The installer works but I have problems with the screen is upside down, it would be possible to rotate 180 degrees?

I'll try to explain with a picture:

This is how it looks on my phone, if I click on the red box the answer is Next

[url]http://img.imgur.com/OSP0MNA.png[/url] [/ IMG]

Then you just have to rotate the image 180 degrees so that was correct.

[IMG] [url]http://img.imgur.com/GhCUOGM.png[/url] [/ IMG]

Anyone know how to do?

Greetings and thanks for everything!

En primer lugar agradecer todo el trabajo que esta haciendo, Aroma Installer es increíble.

El instalador funciona pero tengo problemas con la pantalla, esta al revés, seria posible girar 180º ?

Intentare explicarlo con una imagen:

Asi es como se ve en mi teléfono, si pulso sobre el recuadro rojo la respuesta es Next

Entonces solo tendría que girar la imagen 180º para que fuese correcto.

Alguien sabe como hacerlo?

Saludos y gracias por todo!
[Android Software/Hacking General [Developers Only]] Recognized Noob:
hey

i am not able to edit system files like build.prop with it. whenever i go to system, ti shows a single folder called bin. Do i need root permission like in root explorer?
[Android Software/Hacking General [Developers Only]] lozohcum:
[MENTION=402300]amarullz[/MENTION]

I'm trying to make all in one mod specially for my device.

I based it on someone's work, just deleted bunch of code and replaced some strings.

script runs, I can chose apps/mods I want to install, it looks like everthing is installed (no errors) but when I reboot my device, there are no changes :/

here is my aroma config:

http://pastebin.com/bY7m5hGs

and updat-script:

http://pastebin.com/yb9hTw5c

aroma installer log says:

Installer Error(Status 0)

nothing more
[Android Software/Hacking General [Developers Only]] :
anyone got a tutorial on how to make it for a rom?
[Android Software/Hacking General [Developers Only]] Mazer.one:
Hi amarulz,

I don't know if you had many request for Non neon device but i'll be Happy to test the non neon v2.70 version on my phone :)

Thanks for all your work and aroma installer :thumbup:
[Android Software/Hacking General [Developers Only]] Kevinjoa:
You have to give us recovery log. You have to save it when you have flashed the rom.
[Android Software/Hacking General [Developers Only]] lozohcum:
How to save it?
[Android Software/Hacking General [Developers Only]] sbdags:
Go to advanced in your recovery - TWRP has the option to transfer the log to sd card for example.
[Android Software/Hacking General [Developers Only]] UBUNTUSERO:
Agradezco mucho tu contestacion.

Sobre lo que comentas, es correcto, el tactil funciona en su posicion correcta, es la imagen la que esta torcida.

Siento decirte que no tengo ningun /build.prop, si me dices como extraer ese archivo del recovery lo are encantado.

Saludos y de nuevo muchas gracias por tu ayuda y trabajo!!

I appreciate your reply.

About what he says is correct, the touch works in proper position, is the image that is crooked.

I'm afraid that I have no / build.prop, if you tell me how to extract the file you are happy recovery.

Greetings and thank you very much again for your help and work!
[Android Software/Hacking General [Developers Only]] Sneakyghost:
[MENTION=402300]amarullz[/MENTION] have you ever received my donation? I never heard back from you?
[Android Software/Hacking General [Developers Only]] KineichiNxt:
Is awesome rom manifestation easy configuration and look's good with custom theme :D Nice work amarulz

*sorry for my bad english :thumbup:

Send from my AMOI N828 using Xda Premium
[Android Software/Hacking General [Developers Only]] :
How to screenshot from aroma installer???

I don't get it
[Android Software/Hacking General [Developers Only]] prdog1:
HaHaa. I never figured that one out either. May be recovery dependent. I use TWRP. :cool:
[Android Software/Hacking General [Developers Only]] fisha21:
As far as I know, aroma doesn't allow you to take screenshots, though I vaguely remember some talk at one point about it.

Anyway there are a few threads on xda that describe how to take screenshots in recovery, they probably should work while aroma is running too

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

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

I've not used either of these, so no idea how well they work!

Edit: found this earlier post in this thread. Apparently only works with twrp

http://xdaforums.com/showthread.php?p=42628654
[Android Software/Hacking General [Developers Only]] Harbir:
u can take screen short i aroma latest v only ,when u enter aroma do Volume Down+Power Button and screen short will be done at ur zip(aroma) place with ur aroma name on it

like for eg sd/folder/myaroma.zip i take screen short ,it will be saved as sd/folder/myaroma-1.BMP etc ;)

i have taken it
[Android Software/Hacking General [Developers Only]] Yokie Andrean:
We have to be proud of you my lecture :cowboy: i'm maba unikom and hopefully to see you in campus and teach us about android :D
[Android Software/Hacking General [Developers Only]] Fubuki273:
I have problem with my Aroma Script, who can help me???:crying:It say syntax error on line XX col XX (alway at ); ):confused: I use Notepad++ on Windows 8 to make it. :silly:Thank:laugh:
[Android Software/Hacking General [Developers Only]] Quipp:
noob alert

hi guys stupid question,

in just downloaded aroma 2.56 but how do i install this? do i need to install it on my pc or phone?
[Android Software/Hacking General [Developers Only]] sbdags:
It would have been really helpful if you had included which col and row the error message said as it is giving you a massive clue. :good:

---------- Post added at 03:39 PM ---------- Previous post was at 03:38 PM ----------

Install what? It is for ROM builders to use to offer options when flashing roms........ What are you expecting to do with it?
[Android Software/Hacking General [Developers Only]] The Sickness:
Banging my head against the wall....

Im in the middle of updating my rom. I have been using Aroma in all 5 updates. Now on my V6 I have 2 problems. So Im hoping someone can shed some light on this for me. Please keep in mind that both my updater script and aroma config are incomplete due to me still editing.

1. I have noticed that all of the files flashed thru my Aroma look like this: "alloy/Launchers/Experia"," /system");

BUT, upon trying to install an animation (Nexus 7) the end of the line is like this: /sdcard/vrtheme instead of /system

It will not flash the mod at all. Nexus 7 animations work on the Galaxy S4. Do I need to add anything to my updater script to make it flash mods that use Vrtheme?

2. I also need to add in the menu to flash just mods instead of the rom. I know how to add it to the menu, but Im not too sure what to do after that. I need to know what lines to add in Aroma config and in my updater script.

This is the guide that I have been using

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

ANY help would be greatly appreciated....
[Android Software/Hacking General [Developers Only]] sbreen94:
If you are using vrtheme you need to make sure you have the vrtheme files themselves in your ROM as that isn't in aroma
[Android Software/Hacking General [Developers Only]] The Sickness:
And where would these vrtheme file go exactly. Isnt it a Theme Engine?
[Android Software/Hacking General [Developers Only]] prdog1:
Yea. have to add the Vr Theme script either at beginning and end of Aroma to enable and then execute or the full script at time of call for it. :cool:
[Android Software/Hacking General [Developers Only]] The Sickness:
What does the script look like? package_extract_dir ????????
[Android Software/Hacking General [Developers Only]] prdog1:
For mine at beginning of Updater Script.

package_extract_dir("vrtheme", "/sdcard/vrtheme");

set_perm(0, 0, 0755, "/sdcard/vrtheme/installtheme.sh");

set_perm(0, 0, 0755, "/sdcard/vrtheme/zip");

set_perm(0, 0, 0755, "/sdcard/vrtheme/zipalign");

At end of Updater Script.

ui_print(" - modding files");

run_program("/sdcard/vrtheme/installtheme.sh");

ui_print(" - cleaning up");

delete_recursive("/sdcard/vrtheme");

In between any VR file would be.

ui_print("@50% StatusBar Opacity");

package_extract_dir("Bandit/StatusBar/50%", "/sdcard/vrtheme");

Then in root of rom or theme zip need the script file. Unzip and drop folder in root of zip.

http://www.androidfilehost.com/?fid=23203820527945372

Like anything else in Aroma there are different ways to do it. :cool:
[Android Software/Hacking General [Developers Only]] The Sickness:
OK thanks bro...I will add this to my script. So in my rom folder for aroma i have my mods that have vrtheme....the script you have will open them I take it? Please forgive me for 100 questions...I just want to understand all of this fully.
[Android Software/Hacking General [Developers Only]] prdog1:
I updated post with the actual VR Theme file that needs to be in root of rom zip. Yea. That updater script tells it to pull those mods and install them. :cool:
[Android Software/Hacking General [Developers Only]] The Sickness:
Thanks you man....I will check it out.
[Android Software/Hacking General [Developers Only]] The Sickness:
This is in my rom per aroma folder for animations.......so this is correct for the vrtheme?
[Android Software/Hacking General [Developers Only]] prdog1:
Yea will need one in both folders or move out a level so only need one time.

Here is my VR theme with all scripts you can use as a template. :cool:

http://www.androidfilehost.com/?fid=23060877489999619
[Android Software/Hacking General [Developers Only]] The Sickness:
Thank you very much for your help
[Android Software/Hacking General [Developers Only]] The Sickness:
Man it still didnt work. I have included updater script....aroma config....alloy folder. What are they missing????????
[Android Software/Hacking General [Developers Only]] Jhowlett:
Hi!

Have U take the update-binary of ur ROM,rename it to update-binary-installer and replace the aroma file by this one?Try this ;)

Tapatalked by my I9305
[Android Software/Hacking General [Developers Only]] mstdzw:
Hi,

Can somebady help me?

In updater-script I have only 1147 lines ;)

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

Installer Error (Status 6)

aroma-config

updater-script
[Android Software/Hacking General [Developers Only]] The Sickness:
I did that before I started editing
[Android Software/Hacking General [Developers Only]] Hashcode:
I'm currently developing for the Galaxy Note 3 and wish to use Aroma. However, QCOM has a new framebuffer setup which uses ion/overlay devices for rendering. I'm hoping you can help patch in support to Aroma Installer.

CAF patched the bootable/recovery sources (using branch jb_3.2.1) to work with this new framebuffer setup in the following commits:

https://www.codeaurora.org/cgit/quic/la/platform/bootable/recovery/commit/?h=jb_3.2.1&id=63d42b7d246e8d52748c56b45357024d8d856f5e

https://www.codeaurora.org/cgit/quic/la/platform/bootable/recovery/commit/?h=jb_3.2.1&id=9044591ba2b6d51ff21970ee86e58bada01a7d89

https://www.codeaurora.org/cgit/quic/la/platform/bootable/recovery/commit/?h=jb_3.2.1&id=8ac2dc891b8418480521479431018590c2a719ae

https://www.codeaurora.org/cgit/quic/la/platform/bootable/recovery/commit/?h=jb_3.2.1&id=56bbc569363b8f680dc41b3254312568f92f808c

TWRP has a single combined commit with these patches here:

http://review.teamw.in/#/c/935/

Let me know if you'd like any more information or help in this matter,

Thanks!
[Android Software/Hacking General [Developers Only]] BeansTown106:
[MENTION=402300]amarullz[/MENTION] ya this would be very good if u could help with this
[Android Software/Hacking General [Developers Only]] boncaunhaquynhanh:
Can someone help me :D Noob with AROMA

line 258 col 2: syntax error

Installer Error (Status 1)
[Android Software/Hacking General [Developers Only]] Patrics83:
255 "Dang Che Xanh ver co canh", "", 0[COLOR="Red"],[/COLOR] #-- selected.3 = 2
256	#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#
257
257);

Error marked in red
[Android Software/Hacking General [Developers Only]] boncaunhaquynhanh:
Thank you. :good::good::good:
[Android Software/Hacking General [Developers Only]] erwinhayamz:
Thanks! Mantap terimakasih :good:
[Android Software/Hacking General [Developers Only]] PigFire:
will this work with Nexus 4? thx