yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Dblfstr:
Oh, I see. I just seems to me that if any one of those are false, then the if for the theme will read as false. It will show true which one is selected, but the installation will show false and continue.
[Android Software/Hacking General [Developers Only]] ssojyeti2:
Nope that wasn't it. I got it working now. Turns out it was the horse. Lol...

You know how I found it? I realized that if you save the log it tells you where the syntax error is. Line 396 column 28. Then after I deleted the horse I got one more error line 392 column 13.
[Android Software/Hacking General [Developers Only]] Dblfstr:
Alright guys, I have spoken with Amarullz and he agrees that a dedicated thread for Q&A is a good idea. I have created what will hopefully be the place to post your scripts and ask questions. what I will need though is support from this community to get it recognized and make it useful.

The link is here http://xdaforums.com/showthread.php?p=28706056

it is still a bit rough, but I will slowly add things as they are needed.

From now on, when you have a question about Aroma scripts or updater scripts, whatever the problem, post there for help.

Thanks for supporting XDA.

-Dblfstr

---------- Post added at 08:35 AM ---------- Previous post was at 08:35 AM ----------

Glad you got it working :D
[Android Software/Hacking General [Developers Only]] amarullz:
Ok the q&a should be on q&a thread now.. this thread will become developmwnt & request thread.

Currently it development still slowdown. But I already creating the plan list for next version.

I also have an idea to create sintax checker for linux and windows. So you can create and trace the script error without need to test it in real device. Because it was the most common mistake in aroma scripting...

New calibration also will coming for next version. After release next version, I will rewrite new aroma core from scratch, try to implement neon, new graph, and input engine, so I can use it in other aroma projects.

And, please dont ask ETA, I am was a busy man this month :D, but I love mobile development..
[Android Software/Hacking General [Developers Only]] RobSalgado:
Please!! ADD a "cancel button" (cancel and go to recovery)

Once AROMA is running, we have to install something at least. Even if we dont want (sometimes you want to flash a new rom but then you must go out to the street. Or, if you are already in AROMA and you remind that you dont make the full wipe. Somethings like that)
[Android Software/Hacking General [Developers Only]] amarullz:
Press Menu Button -> Exit :eek:
[Android Software/Hacking General [Developers Only]] ticoti68:
Suggestion

Hi , Amarullz and developers

thanks, and one more big Thanks, for this great app,

i will like to suggest one thing, we know many developers began use Aroma and create Rom package with 350MB, 380MB and 400MB, (many kernells, launchers, apk, and many things) well my sugestion is, it´is possible create an option in Aroma installer or aroma manager, like, at the end when we fininsh instalation Aroma ask us if it can delete everything that we will not use ex: many roms come with 3 and 4 types of kernell when i install one , the other 3 can be delete this can be done for launchers, wallpapers and other app, because if we want to change something we can go to update me

but only do this deletetion after good instalation

with this option we can reduce rom to 100MB because we will not use other 200Mb with extras or it is no possible to delete itens from zip rom?

thanks
[Android Software/Hacking General [Developers Only]] amarullz:
Edelweis - 2.50 - build 120716-025

EDELWEIS - 2.50 - BUILD 120716-025

New Version is Up.. Changelog:

Add Calibration Matrix for More Accurate Touch screen calibration

Set ROBOTO as Default True Type Font

Source code will be push soon... :fingers-crossed:

Source Updated: https://github.com/amarullz/AROMA-Installer

How to Calibrate with calibrate_matrix:

##[ REQUIRED ]
# Calibrate Touchscreen - MATRIX METHOD
#
# For other device, run the installer, then press "menu"
# and select Calibrating Tools. Follow Instructions, and make
# sure the touch screen has been valid in the testing step.
#
# In the end, there will be alert dialog with calibration data
# ( green ), replace this calibrate_matrix() function with that data.
#
#-------- Change the value with your device calibration data:
#
# Current calibration was for HTC Sensation/XE/4G Devices:
#
calibrate_matrix(
"63052.50", "840.00", "-903390.00", "-1680.00",
"125895.00", "-371670.00", "120021.25", "0"
);
[Android Software/Hacking General [Developers Only]] savie:
Will try sir..

Thanks and for report the old aroma can support sgy but i know problem in our country is bandwith so not interest to upload it. But i have other things with this installer and maybe will report after i succeded.. :)

Btw how to update with the newest coz i work based in old aroma?? Thanks for advice..
[Android Software/Hacking General [Developers Only]] amarullz:
Just replace your update-binary with the newest version, and do the calibration again. Use calibrate_matrix() instead old calibrate() method.
[Android Software/Hacking General [Developers Only]] savie:
Ok will try after turn on my pc.

Got problem with next button when press go to back button.

Maybe i can use aromafm calibration file log in my installer later..

Dont worry its not bug from ur work just need little modification to my little and cheaper sgy device :p

Anyway thanks again with ur awesome work sir..

-edited

Work well after change calibration from aromafm
[Android Software/Hacking General [Developers Only]] TweetyPeety:
Hopefully you can help me anytime. Using now your new Version 2.5 and works great, new calibration is nice. BUT the only problem I have with 2.5 and 2.0 is that when I am pressing back in Aroma it looks like he kills or deletes all the tmp files that are used because language is gone, only strings are visible, and all options are gone, also calibration. ANY IDEA
[Android Software/Hacking General [Developers Only]] Chrack:
Hello amarullz,

first thanks for this nice Mod :good:

I have one question about the changelog.txt at the aroma Folder.

Can i show/insert pictures in the changelog.txt so that i can see that in the running installer?

If yes, what for i code i have to use in the changelog.txt?
[Android Software/Hacking General [Developers Only]] amarullz:
You should provide me your aroma-config, but please in q&a :)

For now it still not possible, but It was my plan but not yet thinked :D. The changelog.txt was in Markup format that mainly for processing text (not like html), but I will try something to make it able to displan an image. Maybe with something like: <img:test.png>
[Android Software/Hacking General [Developers Only]] STEVE_MARS:
Hello, amarullz.

Thank you very much from Spain. It´s a great work.

I´ve a tablet Onda Vi40, 9.7", 1024x768. My problem is that I can´t calibrate the touch screen, when excecute calibration tool, the touch don´t work and I can´t tap the circle.

¿It´s possible calculate the matrix for calibrate without calibrate tool?

The CWM Recovery version is 5.5.0.4.

Sorry for my English :silly:
[Android Software/Hacking General [Developers Only]] TweetyPeety:
My aroma-config file, hope you can read it

don't know what you mean to post it in q&a, don't know where it is
[Android Software/Hacking General [Developers Only]] amarullz:
Have you try alternative touch method?

Will take a look after i use my pc.

Currently playing new core with neon support
[Android Software/Hacking General [Developers Only]] STEVE_MARS:
Thanks for answer
[Android Software/Hacking General [Developers Only]] shubhamchamaria:
What about the syntax editor which you were going to upload? When will that be ready...Sounds very useful...
[Android Software/Hacking General [Developers Only]] a-id:
Hi, amarullz! I'm afraid that my donation is not reached, can it be a problem with Paypal? UTID #17547188SV249444B.

Thanks for your work!
[Android Software/Hacking General [Developers Only]] husker91:
Sorry, I didn't realize there was a Q&A thread, posted my Q over there.

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.
[Android Software/Hacking General [Developers Only]] strawmetal:
Amarullz thanks for your aroma installer. Here is my thread using your impeccable installler [AROMA Installer]Flashaholic Essential Packs || Easy installation after flashing roms
[Android Software/Hacking General [Developers Only]] ValouSydney:
Thank you for your amazing Aroma Installer! It works very well! :good:
[Android Software/Hacking General [Developers Only]] Mardon:
I have a question. Im working on a cwm flashable zip and want to add 2 lines to build.prop file via cwm. Any ideas?

Gesendet von meinem GT-S5830 mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] FBis251:
Make a script.

#!/sbin/sh
#mount /system here, the command below might not be enough
mount /system
echo "line1" >> /system/build.prop
echo "line2" >> /system/build.prop
umount /system

Extract the script to /tmp, chmod it to 755 or 777 and run it.
[Android Software/Hacking General [Developers Only]] criskelo:
Thank you very much for this great work:good:

Here you can see some screenshots of my installer

If it is useful to someone, just downloaded my rom and use it

My rom LINK HERE
[Android Software/Hacking General [Developers Only]] osana412:
I just want to ask, how about Optimus One, can I use it?

I have use Amon Ra Recoverym how about step to use it.. can it?
[Android Software/Hacking General [Developers Only]] Robobob1221:
You should have posted both of these in the q+a post. The link to it is in the OP.

an enviousOG
[Android Software/Hacking General [Developers Only]] osana412:
oh... ok.. Thnx for the info.. I'll go to there...
[Android Software/Hacking General [Developers Only]] Chrack:
Save settings?

Hello amarullz,

Is it´s possible to make a Option to save the Settings who choose a User in the Installer?

I mean you choose alot of Settings to flash a Rom for example:

choose Apps for delete

choose Mods to insert

choose Kernel to flash

choose Modem to flash

So after flash the Rom with all choosen Settings, the User go back to Aroma because he will delete a App or install a Mod but he dont know what he have a selectet by flashing the Rom.

So it will be nice that save the Settings who have make the User ;)

Best regards
[Android Software/Hacking General [Developers Only]] <JohnCarter>:
hey can i make a theme

hey can i make a theme for the aroma installer :confused:
[Android Software/Hacking General [Developers Only]] Robobob1221:
You can probably find your answer over on this thread

Aroma Installer Q+A thread

Yes it's possible I believe. Deck's Reloaded has a custom aroma theme from what I remember.

EDIT: the last link was wrong!

an enviousOG
[Android Software/Hacking General [Developers Only]] KNTXTremE:
I have a problem with Aroma sometimes. It didn't install Rom when choose an option finish.(updater-script not running.) I think update-binary-installer is a problem. Anyone have some tips to fix?

Ps. Sometimes can install. I'm very confuse. Haha. Thanks for your work! :)
[Android Software/Hacking General [Developers Only]] Peteragent5:
Hi Amarullz,

Can you provide the option to use radio forms, like the one here?

I think that be great :laugh:
[Android Software/Hacking General [Developers Only]] forumber2:
Hi XDA community. I have a problem with aroma.I'm using aroma 2.00 and notepad++. I edited aroma-config but CWM give me syntax in aroma-config. I cant find where is wrong :( Error in line:287,Col:2. Thanks in advance :)

aroma-config:http://xdaforums.com/attachment.php?attachmentid=1245085&d=1344265919
[Android Software/Hacking General [Developers Only]] mattmanwrx:
on line 286 take out the last comma (",")(in red), when closing off a statement, there shouldn't be a comma...

"System Info", "Get and show device/partition informations", "@info"[COLOR="Red"], [/COLOR] #-- selected = 2

Also, in the first post of this thread, it does state there is a Q&A Thread available here - http://xdaforums.com/showthread.php?p=28706056 - where all questions go and get answered!! This thread is for a development only!! :)
[Android Software/Hacking General [Developers Only]] forumber2:
Thanks,working now.

and I'm sorry about therad :(
[Android Software/Hacking General [Developers Only]] Hero:
Is anyone else still facing the color error? Once the Aroma Installer starts, the screen becomes a blue tint. I have also tried numerous settings with ini_set("force_colorspace","****"); to no avail.

Also, the ROM doesn't install...it gets to the install screen, but immediately finishes without flashing anything.

I'm on the Verizon Galaxy S3.

aroma-config: http://pastebin.com/yyXhcRgW

updater-script: http://pastebin.com/S5ryVnXD
[Android Software/Hacking General [Developers Only]] TheGreatSega:
weird problem

checkviewbox(
#-- Title
"Installation Complete",

#-- Text
"<b>"+ini_get("rom_name")+"</b> has been successfully installed.\n\n",

#-- Icon
"@welcome",

#-- Checkbox Text
"Reboot device",

#-- Initial Checkbox value ( 0=unchecked, 1=checked ) - (Optional, default:0)
"1",

#-- Save checked value in variable "reboot_it" (Optional)
"reboot_it"
);

if
getvar("reboot_it")=="1"
then
reboot("onfinish");
endif;

#---- FINISH

im getting an error on line 721 col 1!! which id " #--- FINISH".... i have no idea why!!
[Android Software/Hacking General [Developers Only]] Dblfstr:
There is a question and answer thread here:

http://xdaforums.com/showthread.php?p=28706093

But, you probably did not endif somewhere.
[Android Software/Hacking General [Developers Only]] d-two:
@amarullz

If you replace this line

if (ev.code==ABS_MT_TOUCH_MAJOR){

in the aroma_input.c, with this line

if (ev.code==ABS_MT_TOUCH_MAJOR || ev.code==ABS_PRESSURE){

will your very cool installer and file explorer work on all devices with touchscreen driver in kernel...

I have fix my touchscreen driver with add this touch event and all work fine...

PS: I must say it again it is really cool!!!
[Android Software/Hacking General [Developers Only]] Th3Bill:
Same here. You using this for jb based ROM, right? I've been trying to figure a workaround but have failed so far. It seems it doesn't like jb update binary
[Android Software/Hacking General [Developers Only]] Milkman12:
Hello guys!

I am using Hydra rom on Galaxy S2 which emploies the Aroma installer. I want to custom this rom meaning, to be able to select which apps to install and which not, others by default. Can I do this using Aroma installer? if so, how?
[Android Software/Hacking General [Developers Only]] GrAnd1:
Tell me please, how do I get the current time and date to be inserted in the file name in the aroma-config?

Doing so:

exec("/sbin/date", "+%y%m%d-%H%M > /emmc/Time.txt");
setvar("Time_name",
readtmpfile("/emmc/Time.txt")
);
alert("Value of Time_name", getvar("Time_name"));

alert("Value of Time_name 1", exec("/sbin/date", "+%y%m%d-%H%M"));

ini_set("Time_name", exec("/sbin/date", "+%y%m%d-%H%M"));
alert("Value of Time_name 1", ini_get("Time_name"));

writetmpfile("/emmc/Time.txt", exec("/sbin/date", "+%y%m%d-%H%M"));
setvar("Time_name",
readtmpfile("/emmc/Time.txt")
);
[Android Software/Hacking General [Developers Only]] franzyroy:
@ amarullz

:

Thanks for your AWESOME PROGRAM that allowed me to do it all! HERE!!!
[Android Software/Hacking General [Developers Only]] amarullz:
SMALL UPDATE: I added it in 2.51, It works for Galaxy Nexus, and may works in other not working touch devices ;) Check it out...
[Android Software/Hacking General [Developers Only]] GrAnd1:
amarullz,

Thank you very much for the wonderful AROMA Installer!

Tell me please, how can I get the current date and time in the aroma-config?
[Android Software/Hacking General [Developers Only]] d-two:
Believe me the ABS_PRESSURE is in all touchscreen drivers, this work on every touchscreen devices.... The ABS_MT_TOUCH_MAJOR is only in multi-touch drivers...
[Android Software/Hacking General [Developers Only]] Bologna:
It's true...

tested 5 minutes ago for my sgs2...

thanks to both of you :highfive:
[Android Software/Hacking General [Developers Only]] lenny_kano:
Great job amarullz. Good news, touch now works on mi-one :)

Bad.news, the calibrate wizard wont recognise my touches.unless i press nowhere near the circle (with either touch method). And the default calibration is way off. Everything seems mirrored (move right goes left) and a bit wonky up and down. Ill see if i can sort it out through manually modifying calibration values, but if you have any ideas or tests for me I'm glad to help. Love your work and will donate again soon :)
[Android Software/Hacking General [Developers Only]] shoutokuyaki:
cab this work on galaxy young sir?...

i use v 2.00 but not work:(:o
[Android Software/Hacking General [Developers Only]] lenny_kano:
Ok i managed to get it close.manually.changing the values by hand. Strange that the calibrate wizard doesn't work though. Is there any guide to what the values in the calibration matrix correspond to? I can only find the explanation for the deprecated method. Cheers, it would.be helpful to narrow down what i need to modify to finalise the calibration cause its just a little out still.
[Android Software/Hacking General [Developers Only]] savie:
EDIT

Problem solved.. :) :D :)
[Android Software/Hacking General [Developers Only]] Tomdroid:
Just installed Criskelo's ROM for the Galaxy Note with AROMA: To say this tool is impressive would be an understatement!

Thank you so much!
[Android Software/Hacking General [Developers Only]] aizatcm:
AROMA recovery

Hai AMARULLZ, why you did not create AROMA recovery..? it would be interesting.. :)
[Android Software/Hacking General [Developers Only]] Scott:
Never chimed in before now but wanted to say this is awesome!

I use it on CleanROM for the One X here: http://xdaforums.com/showthread.php?t=1655011

Confirmation number: 51Y45869E8671314A.

Thanks!
[Android Software/Hacking General [Developers Only]] Ichigo:
Deleted.
[Android Software/Hacking General [Developers Only]] amarullz:
AROMA don't have direct function to get date/time, but may add it in next version :D, but I have some idea like this in aroma-config:

exec("/bin/date");
setvar("current_date", getvar("exec_buffer"));

Didn't try it yet, (and maybe the path is /sbin/date) :laugh:
[Android Software/Hacking General [Developers Only]] dany547:
edited...
[Android Software/Hacking General [Developers Only]] GrAnd1:
Thanks, amarullz, a good start has been made. :good:

Now we have to convert DateTime to a string variable.

Because it does not work, do not create a folder or a file, if the substitute in the getvar("DateTime")

exec("/sbin/date", "+%y%m%d-%H%M");
setvar("DateTime", getvar("exec_buffer"));
getvar("LogsDir")+"/_InstSysLog_"+ini_get("rom_version")+"_"+[COLOR="Red"]getvar("DateTime")[/COLOR]

and if so:

getvar("LogsDir")+"/_InstSysLog_"+ini_get("rom_version")+[COLOR="Red"]"_120814-1547"[/COLOR]

the works.

I need to create log files for each installation:

setvar("retstatus",
install(
"<~install.title>",
"<~install.desc>\n\n"+"<~install.desc1>",
"@install",
"<~install.finish>"
)
);

setvar("intRAM",
"/emmc"
);

[COLOR="red"]exec("/sbin/date", "+%y%m%d-%H%M");
setvar("DateTime", getvar("exec_buffer"));
[/COLOR]# alert("Value of DateTime", getvar("DateTime"));

setvar("LogsDir",
getvar("intRAM")+"/_GrAnd_InstLogs"
);
# alert("Creating Logs Dir", getvar("LogsDir"));

setvar("LogName",
# getvar("LogsDir")+"/_InstSysLog_"+ini_get("rom_version")+"_"+[COLOR="red"]getvar("DateTime")[/COLOR]
getvar("LogsDir")+"/_InstSysLog_"+ini_get("rom_version")+[COLOR="red"]"_120814-1547"[/COLOR]
);
# alert("Value of LogName", getvar("LogName"));

# exec("/sbin/rm", "-rf", getvar("LogsDir"));
exec("/sbin/mkdir", getvar("LogsDir"));
exec("/sbin/cp", "-r", "/tmp", getvar("LogsDir"));

exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/aroma/.__exec_buffer.var");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/aroma/sleep");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/efs_backup.sh");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/flash_image");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/Install_log_emmc.sh");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/Install_log.sh");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/update_binary");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/.gitignore");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/busybox");
exec("/sbin/rm", "-rf", getvar("LogsDir")+"/tmp/aroma/update-binary");

if exec("/sbin/tar", "-zcvf", [COLOR="red"]getvar("LogName")+".tar.gz"[/COLOR], getvar("LogsDir")+"/tmp") == "0" then
[COLOR="red"]setvar("Log", "<~install.LogYes>");[/COLOR]
else
setvar("Log", "<~install.LogNo>");
endif;

ini_set("text_next", "<~text_reboot>");

checkviewbox(
"<~complete.title>",
"<#selectbg_g><b>\n<~complete.text></b></#>\n\n<b>"+ini_get("rom_name")+" "+ini_get("rom_author")+" Edition</b> <~complete.text4>\n\n"+
"<~Installer.Status> "+getvar("retstatus")+"\n\n"+
[COLOR="Red"]getvar("Log")[/COLOR]+"\n\n",
"@welcome",
"<~complete.text2>", "1", "reboot_it"
);

Any attempt to substitute the date and time, in any format, in the name of the folder or file that leads to the fact that not a folder or file is not created... :(

In what may be the reason? After all, logically, it should work ... ;)
[Android Software/Hacking General [Developers Only]] annson08:
If only this would have a GUI version or a kitchen..life would be easy haha. Sorry for spam, just wanna include this to my tapatalk's participated section.
[Android Software/Hacking General [Developers Only]] Bologna:
You're using item 1.1 three times...it's wrong in any case. The answer depends on the way it look tour aroma config
[Android Software/Hacking General [Developers Only]] GrAnd1:
amarullz,

I realized what was happening.

Once completed:

exec("[COLOR="Red"]/sbin/date", "+%y%m%d%H%M"[/COLOR]); # 1208151025
setvar("DateTime", "_"+getvar("exec_buffer"));

the end of the DateTime variable is added to a line break (0A) LF.

How to get rid of the newline at the end of a variable DateTime?
[Android Software/Hacking General [Developers Only]] Macrodroid:
The check box items are defined with different .prop assignments... I've tried changing the items to item.1.1....item.2.1....item.3.1 respectively and still no dice... It skips those all together, but the selectbox items all work fine.

I'll try updating the binary today, maybe that'll fix it...?