yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] prdog1:
We. Theme so no big deal. Just Mui is blue and ICS is orange and yellow.. lol:cool:
[Android Software/Hacking General [Developers Only]] JustArchi:
Personally I didn't look at the code but maybe it's possible to detect if update-binary-installer has been executed and works and if not re-execute it after some delay.

I'm looking forward for [MENTION=402300]amarullz[/MENTION] answer.
[Android Software/Hacking General [Developers Only]] ivicask:
I also get random 0.00% stuck on both Sensation and ONEX+, rebooting recovery and trying again fixes it without changing anything at all
[Android Software/Hacking General [Developers Only]] prdog1:
Sticking at different percentages has been a known bug forever. Just restart and is fine unless your code is bad and have seen actual user code cause the same thing. :cool:
[Android Software/Hacking General [Developers Only]] JustArchi:
Yeah but if aroma is able to view extracted files then it's also possible to implement some nice feature of checking every X seconds if anything changed and if not repeat from current state. And these X seconds would be editable through aroma-config with default for example 0 - feature disabled. This way even if it's got stucked then aroma will simply restart update-binary-installer and start again.
[Android Software/Hacking General [Developers Only]] prdog1:
That would work as long as user code not bad. Would be a problem during testing. Have only seen a stall when backing up too fast so far on this build. Running multiple scripts on roms and themes. :cool:
[Android Software/Hacking General [Developers Only]] JustArchi:
I'm getting freeze once per about 20 flashes and it's on 0.00%, before my first lane ui_print is being executed. So it's totally random I bet, maybe too fast moving through screens or something like that, dunno.
[Android Software/Hacking General [Developers Only]] prdog1:
If move to fast it will lock. Always been that way. :cool:
[Android Software/Hacking General [Developers Only]] clark44:
HMU on G-Talk I fixed that problem :)
[Android Software/Hacking General [Developers Only]] JustArchi:
I suggest adding simple disabler of "Next" button until aroma will be ready then, this way it won't lock and user won't be able to spam next button because it will listen only f.e. after 1 second of showing last screen.
[Android Software/Hacking General [Developers Only]] sbdags:
Right I just can't get this to work.

If I use my update-binary renamed to update-binary-installer then the colours are messed up. This same file works fine with 2.56.... :confused:
[Android Software/Hacking General [Developers Only]] prdog1:
That is because the colors are messed up in 2.70 beta 6. Same here. We did 100% color invert of the png's and hexcodes in theme folders to make look decent. Gray scale seems to be ok but colors are close to 100% inverted. This is on Verizon S3. :cool:
[Android Software/Hacking General [Developers Only]] sbdags:
Thanks for confirming. What is the best app to invert the pings? Or if you have already done it would you mind sharing?
[Android Software/Hacking General [Developers Only]] prdog1:
We used Gimp to find the hexcode. Just tell to invert. We only did one cause we don't use all the options. Franzroy #33b5e5 inverted to #cc4a1a. The blue isn't perfect but as close as can get without spending a week guessing. :cool:
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
I made a java app to swap only the red and blue values and that worked perfectly, then 2.70b6 fixed the colorspace issue for me.
[Android Software/Hacking General [Developers Only]] prdog1:
I tried all color space options in 2.70-B6 with no visible change. Colors were closer in 2.56 although 33b5e5 had a green tint. :cool:
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
If you want, I can share my java app with you. It cycles through each image in a directory, then for each image it checks each and every single pixel only swapping the red and blue values, this is because I noticed in the demo that the green text was the right color, but red showed as blue, and blue as red. Black, and white were unaffected since swapping the red and blue in those cases produced the same hex color code.

This is of course if your device was displaying the blue as Orange Brown. Check the demo where it demonstrates the use of color tags and see which colors are being swapped. I'll change my app for you before I attach it ;)
[Android Software/Hacking General [Developers Only]] Adhi1419:
Easy way to Add Aroma Installer to your ROM!

Check this thread people -http://xdaforums.com/search.php?searchid=201904866

This will work on ALL phones.

Hope to see AROMA on every phone after this :D
[Android Software/Hacking General [Developers Only]] prdog1:
That will get you themed. Now you still have to write rest of script. :laugh::cool:
[Android Software/Hacking General [Developers Only]] Adhi1419:
No brother.

That's just the second part of the Tutorial.

You NEED not write anything :P
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Hey guys,

So I posted my tool to swap image colors if your having problems with the colorspace directive not working even when it's placed at the top of your aroma-config. The post can be found here:

IColorSwap.jar For Aroma Installer
[Android Software/Hacking General [Developers Only]] prdog1:
Works as advertised on Verizon S3. Good job. Now working on converting theme.prop hex codes. :cool:
[Android Software/Hacking General [Developers Only]] CNexus:
[MENTION=1576392]prdog[/MENTION]

Could you send me a screenshot of how it looked before you inverted the png's?

I just tested the newest beta and now none of the text is visible.

Maybe send me the inverted png's too so I can try that out and see if it fixes it?
[Android Software/Hacking General [Developers Only]] sbdags:
That was the same problem I was having.
[Android Software/Hacking General [Developers Only]] CNexus:
Ah ok. I could've sworn I tried this beta before and it worked fine, but I guess not.

Mind sending me your fixed version? Thank you.

Sent from my S3 on Sense 5 (you jelly?)
[Android Software/Hacking General [Developers Only]] sbdags:
Just about to test it now :)
[Android Software/Hacking General [Developers Only]] prdog1:
Working on it guys. Down to like trying to find one hexcode in Franzroy to make right. Back and nest text is hiding. lol:cool:
[Android Software/Hacking General [Developers Only]] CNexus:
Cool cool. I was going to look into it later, but if you guys are already working on it I might as well not reinvent the wheel.

Sent from my S3 on Sense 5 (you jelly?)
[Android Software/Hacking General [Developers Only]] yy1155:
I still use the kitchen, try this interactive brush.

：好：
[Android Software/Hacking General [Developers Only]] fOmey:
Anyone figured out a workaround for the skitish scroll response ? Im running aroma on a S4, I know its a known issue..

Iv been forced to make a large number of aroma "pages" so to speak to avoid any scrolling, also been holding back on adding options because of this.
[Android Software/Hacking General [Developers Only]] prdog1:
Haven't noticed on S3 and have one app option pushing 30 options. :cool:
[Android Software/Hacking General [Developers Only]] fOmey:
Noticed this both on my own S4 & my misses's... scrolling through options is extremely gittery.
[Android Software/Hacking General [Developers Only]] prdog1:
When S4 came out they said it was laggy. Maybe still is. Just went to the 30 app screen and it scolls back and forth as fast as you can go. Running full tweaks, mods and themed. Stock kernel. :cool:
[Android Software/Hacking General [Developers Only]] Unknownforce:
Same here. It's a real pain in the ass when you have more than 6 options because selecting an option that's not on the screen (on the top of the list) is nearly impossible.

The phone is hardly "laggy" by the definition of the word. It's a problem with the touch sensitivity and/or the "hover" sensor that's a part of the S4. I believe the hover sensor acts as a second touch sensor,which is what increases the sensitivity of the touch screen and why touches sometimes are either ignored or double tapped. This was a very similar problem when Touch recoveries first came out, they've since resolved that problem in the recovery itself, but it's still present in AROMA, does aroma initialize it's own touch driver? Maybe that can be disabled in favor of the recoveries touch driver? Or maybe someone can look at the code that the recovery used to fix their touch problems and implement the same fix for AROMA?

Here's their commit of the changes they had to make to make it work properly: https://github.com/TeamWin/Team-Win-Recovery-Project/commit/d86400b59841eca86fb2ea343312e3b333cceee5
[Android Software/Hacking General [Developers Only]] CNexus:
No, aroma utilizes the touch driver that is included with the recovery kernel

Sent from my buttered S3
[Android Software/Hacking General [Developers Only]] AlbertoSONIC:
Please help me... I'm writing updater-script for aroma installer (2.56)...

if file_getprop("/tmp/aroma-data/status.prop","selected.0") == "1" then
ui_print(">>> Setting Up Centered Clock 0% trasparent");
package_extract_dir("additions/status/stock/system", "/system");
endif;

I want to add this line:

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

I need to check both status.prop and theme.prop... but i don't know how to do this!

If theme is x and status bar is y, then do z...

Thanks in advance!
[Android Software/Hacking General [Developers Only]] Smart-X:
I think it should be like this:

if
(file_getprop("/tmp/aroma-data/status.prop","selected.0") == "1")
&&
(file_getprop("/tmp/aroma-data/theme.prop","selected.0") == "1")
then
ui_print(">>> Setting Up Centered Clock 0% trasparent");
package_extract_dir("additions/status/stock/system", "/system");
endif;

AROMA uses simple operator syntax:

# Not Equal
val1 != val2

# Or
val1 || val2

# And
val1 && val2

# Not
!val1

# Logical & Comparison
(val1 == val2)||(val3 != val4)

(val1 == val2)&&(val3 != val4)

!((val1 == val2)&&(val3 != val4))
[Android Software/Hacking General [Developers Only]] AlbertoSONIC:
Thank you! And if i want to add 3 variables? Can i write:

if
(file_getprop("/tmp/aroma-data/status.prop","selected.0") == "1")
&&
(file_getprop("/tmp/aroma-data/theme.prop","selected.0") == "1")
&&
(file_getprop("/tmp/aroma-data/other.prop","selected.0") == "1")
then
ui_print(">>> Setting Up Centered Clock 0% trasparent");
package_extract_dir("additions/status/stock/system", "/system");
endif;
[Android Software/Hacking General [Developers Only]] Smart-X:
Yes.

Or, simply like this:

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

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

if
file_getprop("/tmp/aroma-data/other.prop","selected.0") == "1"
then
ui_print(">>> Setting Up Centered Clock 0% trasparent");
package_extract_dir("additions/status/stock/system", "/system");
endif;

endif;

endif;
[Android Software/Hacking General [Developers Only]] CNexus:
Guys, there's a thread for aroma scripting questions.

Sent from my buttered S3
[Android Software/Hacking General [Developers Only]] Indiant:
I am also using 2.70B6 on ThL W8, and the touch is not working right after the first touch.
[Android Software/Hacking General [Developers Only]] bgcngm:
Then it may also affect other MT6589 based devices. I have tried on ZTE V987. Let's hope amarullz to be back and work it out.
[Android Software/Hacking General [Developers Only]] Unknownforce:
Suggestions:

Allow for something like a appendtmpfile() or even appendprop() function, that will append a line(s) to the specified file rather than completely overwrite it.

Also, allow menubox() to store text from a selection in a key. Which would also "append" to the prop as well. Like below:

menubox(
"Title",
"Blah Blah Blah",
"icons/personalize",
"someprop.prop",
"nameofkey",

"Green", "This is Green", "green",
"Red", "This is Red", "red",
"Blue", "This is Blue", "blue",
"Pink", "This is Pink", "pink",
"Yellow", "This is Yellow", "yellow"
);

This would make for a lot easier of updater-script writing and matching folders to prop entries, instead of having to look back and forth constantly at which number is which mod, you could just do it by name then.

Plus, to make it even better, Edify allows for embedded functions, so that you can simply use the key value of the prop to store the actual folder name and be a LOT more flexible in your config, especially for something as simple as a color change, instead of adding a bunch of if/then's, You don't even need if/then's at that point. You just extract it based on the key value of the prop file, like below:

package_extract_dir("aroma/mods/"+file_getprop("/tmp/aroma/someprop.prop", "nameofkey")+"/system", "system");

You can already do this, with a complex set of setvar()'s and if/then's based on the selections. But it would be the best way to simply store the string directly to the value of the key, and also be able to manipulate the key name.

Append would be the best addition, but storing custom strings to keys would be great as well, and then combine the two and you no longer need to have a crap load of different props for different options, you could just append the new key to the same propfile.

The OBVIOUS problem here is duplicate keys/values in the same file when appending, if for example the user presses BACK. But you could build in to the back button that it reverts the last change fairly easily I think... or if not, simply scan the file for the string "key=XXXXX\n" and delete that string, or do that when the function is initialized based on what the key the function is setup to store to...

Just a few things that would make this so much better.

And boy it would be great if the S4 touch issue was fixed, cause having to create multiple pages for stuff just because you can't select anything past option 8 is a pretty poor substitute. :(

If there's anything I can do to help speed that up, testing, logs, whatever, please let me know.
[Android Software/Hacking General [Developers Only]] ikunalgautam:
[MENTION=402300]amarullz[/MENTION]

Aroma installer is awesome ! I recently build a aokp based cm10 rom with heavy customization :beer: all works very well :thumbup::thumbup::thumbup::thumbup: & also looking to try aroma on cm9 rom.

I just imagine that can we expect AROMA RECOVERY in future like cwm, twrp, amonra ?????
[Android Software/Hacking General [Developers Only]] :
on my new galaxy s4 i9505 with philz recovery, i have problems with zip files with the aroma installer. the colours are buggy. blue is yellow and red is blue (ics theme). can someone help me?
[Android Software/Hacking General [Developers Only]] prdog1:
See this thread. It works for the pngs. After the png's are converted use Gimp or comparable editor to find new color Hexcode and edit the hexcodes in theme.prop. :cool:

http://xdaforums.com/showpost.php?p=43752521&postcount=1
[Android Software/Hacking General [Developers Only]] TimAnd:
It would be great and enough if Aroma offers a choice during the installation, whether we want it as a full installation (with kernel) or for dual boot as 2nd ROM (using /data/sec_data instead of preload partition).

In other words, that we have integrated what we can get now with changing updater-script like at http://xdaforums.com/showthread.php?t=2231877.
[Android Software/Hacking General [Developers Only]] CNexus:
That's not difficult to implement with the right aroma config and updater-script. I think the goal of Aroma is to be more abstract so that you have the tools to implement those things on your own instead of taking care of every single possibility within the installer itself.
[Android Software/Hacking General [Developers Only]] JustArchi:
What CNexus said, totally possible and easy to implement.
[Android Software/Hacking General [Developers Only]] CNexus:
Definitely. In fact, this is the reply I gave him when he PMed me:
[Android Software/Hacking General [Developers Only]] Harbir:
[MENTION=402300]amarullz[/MENTION] Is it possible to make a checkbox where each option/choice have its own icon like in a menubox( its more visually attractive and we don't have to read as we know how its icon looks like) ,if its not possible can this be added as it seems a good feature for aroma 2.70.
[Android Software/Hacking General [Developers Only]] franzyroy:
I don't think he will do it cause of that!
[Android Software/Hacking General [Developers Only]] amarullz:
But it may possible in next major version, because I will removed all deprecated function and focus on form function for interfacing. It will be something like android settings. Where the checkbox or option position on right and icons in left side. And will support more list type. Checkbox, option, multiple checkbox, options per list item, text, and password

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] franzyroy:
[MENTION=402300]amarullz[/MENTION] and others users of Aroma Installer,

I made a file like language_select.edify file but for the themes, you just have to open the zip file (in bottom of this post) and drag & drop the content in the Aroma zip 2.7B6. After you should edify the aroma-config file and this to the place of theme selection menu.

include("themes_select.edify");

If you want a specific theme at the starting (like me), you just have to put this like that.

[COLOR="Red"]fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "14" ); #-- Use sets of font (Font Family)[/COLOR]

theme("franzyroy"); #-- Or another theme

Put it after the fonts (in red) because, with the beta version, if you put it before, it doesn't work fine!

Example of implantation

:

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "14" ); #-- Use sets of font (Font Family)

theme("franzyroy"); #-- Or another theme

include("themes_select.edify");
[Android Software/Hacking General [Developers Only]] RuralGalaxy:
Thanks for share! Really nice installer! ;)
[Android Software/Hacking General [Developers Only]] upndwn4par:
Came here looking to see if it was just me with issues on the S4, but its not. (whew! :D)

@S4 devs,

The issues will get resolved when they get resolved. Coming here and whining will not help. How would you all feel if users constantly whined about issues on your dev threads? Yes, that's right, you wouldn't like it.

We should all be thankful for Aroma and patiently wait for a resolution.

In the mean time, you can use Aroma 2.56 using buttons instead of touch and it works perfect. Or, create multiple pages.

Also, for color rendering issues you need to force the rgba colorspace.
[Android Software/Hacking General [Developers Only]] Unknownforce:
Already fixed the color issue and I use pages for my ROM. I don't know who you're directing this at but... I'm know that I'm hardly whining... I'm also offering to test anything that's want. Or if someone wants to point me in the right direction to the code that is most likely the problem, I'll even look into messing with it myself. I didn't get the RD title by whining. I don't whine. I fix problems and make things better as much as I can. And offer as much help as I can.

I simply pointed out an issue and also offered suggestions that would help everyone out...

Again I don't know who you were directing that at, but just clarifying just in case my posts seem at all unclear...
[Android Software/Hacking General [Developers Only]] :
i wonder what makes the touch "inactive" since it works before the recovery opens, is S4 the only phone that got this problem or is it more devices?
[Android Software/Hacking General [Developers Only]] amarullz:
Test update!!! - 2.70rc1

Please Test this RC1 for 2.70. I fix some touch handler, now it feel more responsive. I hope it will fix GS4 issues..
[Android Software/Hacking General [Developers Only]] bgcngm:
Still not working for MT6589 based devices, as I reported earlier. Attached is recovery.log, if that helps.
[Android Software/Hacking General [Developers Only]] andybones:
first off thank you SO much for everything!!

I gave it a test, and it is better, but not very much
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
[MENTION=402300]amarullz[/MENTION], would it be possible in the next edition of aroma to add the ability to use multiple fonts in the same screen?

My use case scenario is the installation screen where I want to use my rosemary font which is not monospace for all text outside the console panel and then I would like to use a monospace font for the console output as I would like to use some ascii art at the top :)
[Android Software/Hacking General [Developers Only]] Smart-X:
Great idea! Second.
[Android Software/Hacking General [Developers Only]] Harbir:
1+ very nice idea good :)
[Android Software/Hacking General [Developers Only]] amarullz:
In new core It will have an ability to change the font size with ams tag <4>Font size 4. But I still dont have any idea/better way to change the font, because it was different with full os that cache all font name available. Using tag and provide full path of fonts is overkill <font=/fonts/droid sans.ttf>Bla bla bla...

And the font used in aroma was font family (one family sets may contains many font face)

One solution for it maybe with preloading font before it used. Like loadfont function.

Example:

LoadFont(0,"roboto.ttf;droidsans.ttf"); // default font

LoadFont(1,"arial.ttf;helvetica.ttf"); // font id 1

In ams text:

<f1>Font family 1</f> default font.