yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Turge:
Hey Amarullz,

Where should we post requests for new features in the next version?

I have a few:

1. Ability to turn off vibration

2. Ability to automatically copy log file to /sdcard immediately after rom is flashed whether successful or not

3. Ability to auto reboot after rom is flashed. I can do this myself but if you do it, then you can probably ensure the log file is fully written to disk before rebooting.

Anyways, it's nice to have you back!

Thanks,

Turge
[Android Software/Hacking General [Developers Only]] amarullz:
1. Absolutely will add it (also in filemanager)

2. I will add it for sure

3. Yes I already think about it.. I also will add feature to auto next after some seconds (ofcourse it will configurable).

But don't ask an ETA yet... I still writing new powerful fondation for it core :), because it features will available in major update...
[Android Software/Hacking General [Developers Only]] Turge:
LOL.. hey, we're all developers here.. well, 99% of us here are developers ;)

We know better than to ask for ETAs!
[Android Software/Hacking General [Developers Only]] amarullz:
[YOUTUBE]vJhjgqjsmXc[/YOUTUBE]

Awesome AROMA Installer video by XsMagical
[Android Software/Hacking General [Developers Only]] c1cl0n:
Hi all

Anybody can help me with my script?

Task: Make backup to sdcard from AROMA

aroma-config code:

...
...
...
checkbox("backup_title", "backup_caption", "icons/backup", "backup.prop", "backup_name", "", 1, );
...
...

updater-script code:

...
...
if file_getprop("/tmp/aroma-data/backup.prop","item.1.1")=="1" then
package_extract_dir("backup", "/sdcard/backup"); endif;
...
...

But nothing copyed to /sdcard/backup folder

:confused:
[Android Software/Hacking General [Developers Only]] Волк:
Try extracting it to dev/mnt/sdcard

Also you should post in the Q&A thread, this is supposed to be the Dev thread.
[Android Software/Hacking General [Developers Only]] Turge:
What are you trying to do exactly? Looking at your code, you're trying to extract the /backup folder from the zip file to the root of your sd card?
[Android Software/Hacking General [Developers Only]] BEATER:
thanks man this software is amazing
[Android Software/Hacking General [Developers Only]] d4k-pho3nix:
Hi thanks a lot for this tool but i have a problem when i make a line like this :

"Sounds And Ringtones",	"",	2,	#-- Group 10. key = "selected.10"
"Sony Ringtones", "All ringtones from Sony ICS",	0,	#-- selected.10 = 1

I got an error why ?
[Android Software/Hacking General [Developers Only]] Robobob1221:
After the 0 no comma probably.

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

Go here for any info you might need or help. A lot of info useful for creating your Aroma;)

An enviousOG
[Android Software/Hacking General [Developers Only]] d4k-pho3nix:
Thanks it's a bug with a comma of le line before thanks a lot ! It's always small things who make all go down xD
[Android Software/Hacking General [Developers Only]] MattBooth:
If it possible to have nested if statements?

For example:

#If one condition is true, check for further conditions
if file_getprop("/tmp/aroma/example.prop", "item.1.1") == "1"
then

if file_getprop("/tmp/aroma/example.prop", "item.1.2") == "1"
then
#Do code
endif;

if file_getprop("/tmp/aroma/exmaple.prop", "item.1.2") == "0"
then
#Do different code
endif;

endif;

I know this isn't C programming, but this ought to work, but does. If it's not possible, then I can stop syntax bug findingand come up with a different solution :D
[Android Software/Hacking General [Developers Only]] Turge:
Yes, it's possible
[Android Software/Hacking General [Developers Only]] MattBooth:
Thanks. I'm out of thanks for today otherwise I'd click the button!

I think I found the problem in my script, it was a stray endif;

How do I upgrade my installer to the latest? I'm on 2/50, how do I update to 2.56?

EDIT:@

and this would be more efficient I guess:

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

if file_getprop("/tmp/aroma/example.prop", "item.1.2") == "1"
then
#Do code
else
#Do different code
endif;

endif;
[Android Software/Hacking General [Developers Only]] amarullz:
Just replace the update-binary with the latest release...
[Android Software/Hacking General [Developers Only]] MattBooth:
I think I tried this before but it stopped working, could've been something silly I'd done, though.

:)
[Android Software/Hacking General [Developers Only]] Bratwurstmobil:
Hi!

Is there any possibility to read the radio version on a HTC device in aroma-config?

Marcel
[Android Software/Hacking General [Developers Only]] amarullz:
It "MAY" possible if there is file/stat file that store it information, just like a possibility to read the battery percentage trough /sys directory...
[Android Software/Hacking General [Developers Only]] Bratwurstmobil:
Okay, sysprop("ro.baseband") didn't worked, sysprop("ro.ril.baseband) didn't worked, too. In /sys are no interesting files. Any other ideas?

Marcel
[Android Software/Hacking General [Developers Only]] mattmanwrx:
Which HTC devices? I know that on the endeavoru (international (tegra 3) One X) HTC moved the radio to system/etc/

Check out this thread of the radios that are available... http://xdaforums.com/showthread.php?t=1689679
[Android Software/Hacking General [Developers Only]] Bratwurstmobil:
It's the HTC Sensation.
[Android Software/Hacking General [Developers Only]] Wizard0f0s:
Is there a way to set increment / decrement options in a menu? For example, to set overclocking or undervolting. I can get the menu setup, but I can't figure out how to have a variable hold and update the value.
[Android Software/Hacking General [Developers Only]] porcupine6:
i just tried flashing blackout ICS Incredible v3.1.0 on my htc desire HD and in the AROMA installer when i was supposed to choose a language i noticed that the touch if way off so i can't reach the next button, when i try and press it it reacts as if i had pressed an inch higher up.

i have 4ext installed, i chose wipe data/factory reset, cache and the dalvik cache, chose my zip, the big green b came up, and now i'm stuck

any help would be greatly appreciated :)

i did searched around on here but i couldn't seam to find any solution to my problem.

and my volume - button is broken as well
[Android Software/Hacking General [Developers Only]] Pims83:
Hi,

I have a problem with my installation, does i m in the right forum ?

so i explain my problem:

Everything is ok during installation, but a t the end when i wish to reboot, aroma close, then in CWM i have "status error 0" and cwm don reboot

i give you my install log file with failed put in evidence

Initializing file system...
- Format System.....
unmount of /system failed; no such volume
[ ...]
- Wipe Dalvik Cache
mount: failed to mount /dev/block/mmcblk0p14 at /data: Device or resource busy
mount: failed to mount /dev/block/mmcblk0p13 at /cache: Device or resource busy
- Format Cache
unmount of /cache failed; no such volume
[ ... then install and at the end the result ....]

Installation complete!
script result was [1]

Installer Sucessfull (Status 0)

End at : Tue Oct 23 21:48:21 2012

thanks for your help
[Android Software/Hacking General [Developers Only]] flash5000:
Ladies & Gentlemen

I would like to introduce you to my new app called

FlashBackup

which allows to create a flashable AROMA-powered ZIP file of your installed apps!

See http://xdaforums.com/showthread.php?t=1951478 for more information and provide me with your feedback!

@ amarullz: thanks for your work and this amazing piece of software! :good:
[Android Software/Hacking General [Developers Only]] tantrums:
Hi amarullz,

Is it possible to play an audio file (mp3) while the inside the installer? This can be a good and awesome feature. :)
[Android Software/Hacking General [Developers Only]] steal25:
I tried this with removing the calibrate_matrix and the touch response is very off to where some options could not be accessed

I also tried by leaving in

calibrate_matrix(
"161700.00","770.00","1586255.00","4200.00","187040.00","-1815640.00","257152.50","20"
);

and i get no response at all. this is for EVO 4g LTE using TWRP 2.3.1

also a different issue is we get random freezing with install during the aroma process, it happens at different times each time. this is probably 25% the other 75% it goes through just fine. Any help is appreciated.
[Android Software/Hacking General [Developers Only]] Patrics83:
AROMA v2.56 doesn't work very well on the EVO 4G LTE.

I wanted to update to the latest AROMA for my ROM Cleaner but EVO 4G can't go past AROMA v2.51 because of unusable UI.

Here you have our discussion about it.

@amarullz just let us know if we can test anything for you ;)
[Android Software/Hacking General [Developers Only]] amarullz:
Will create debugable build.. but you are safe to use 2.51 because there is no any feature improvement yet in 2.56 except without calibration.... I am making new core, and still improving input method....
[Android Software/Hacking General [Developers Only]] _Homer:
first of all, a big thanks for your work :good:

I can confirm, version 2.50 and onwards are unusable on arc s, and yes, seems like is the accelerometer interfering 'cause you can see changing options on screen when you tilt the device.

here is recovery.log:
[Android Software/Hacking General [Developers Only]] Hpsgill:
How to add matrix calibration in other rom which uses aroma 2.50

I just wanted to get touch screen worked
[Android Software/Hacking General [Developers Only]] fisha21:
Thanks for your hard work, AROMA is amazingly powerful!

Does anyone else find that One X capacitive buttons still don't work with v2.56?

EDIT: Should have said, I've only tried it with the latest TWRP too

amarullz, if there's any info/log I can provide to help get it working properly with the One X, just ask and I can provide
[Android Software/Hacking General [Developers Only]] Turge:
Yes.. both versions of the One X from the looks of it (my S4 One X and your Tegra 3 One X)

EDIT: I only use TWRP
[Android Software/Hacking General [Developers Only]] alvin551:
Can anyone help me i do not understand the instructions of how to set up the aroma installer...all i want is three or four different screens with a few options on each of them and to also use Vrtheme inside it too. Can anyone point me in the right direction? If you want you can PM me. Thanks in advance :D
[Android Software/Hacking General [Developers Only]] Troj80:
Aroma Installer 2.56

Prompt in Aroma Installer 2.56 (just 2.55, 2.58) to format the file system to ext4, ext3?

format ("ext4", "EMMC", "/ dev/block/mmcblk0p25"); - expect two args, got 3 - 2 arguments expected and got a 3, it is clear to 2 arguments, simplified, but with format ("ext4" , "/ dev/block/mmcblk0p25"); - format: unsupported type "ext4" script aborted (no error message). Is the latest version of Aroma Installer forgotten how to format the specified file system?

P.S. Sorry for my bad english (google translate).

SOLVED! Thanks Patrics83.
[Android Software/Hacking General [Developers Only]] Dblfstr:
format ("EMMC", "/ dev/block/mmcblk0p25")
[Android Software/Hacking General [Developers Only]] Troj80:
format("EMMC", "/dev/block/mmcblk0p25"); - unsuccessfully, format: unsupported type "EMMC"script aborted (no error message) :(.
[Android Software/Hacking General [Developers Only]] Patrics83:
Try this,

format("ext4", "EMMC", "/dev/block/mmcblk0p25", "0");

Edit: Are you sure the partition is correct?

Did you pull recovery.log?
[Android Software/Hacking General [Developers Only]] Troj80:
Unfortunately did not help... format ("ext4", "EMMC", "/ dev/block/mmcblk0p25"); - expect 2 args, got 4...

Yes, I have every confidence in the correctness, and the argument of the error indicates when formatting.
[Android Software/Hacking General [Developers Only]] Patrics83:
Yeah I was expecting this as well... hmm

Are you using correct update-binary-installer for your device?
[Android Software/Hacking General [Developers Only]] Troj80:
I'm using update-binary-installer which is in the archive Aroma Installer version 2.56 - EDELWEIS.

My device HTC Incredible S, maybe I missed something, but is not a device has a significant role?

SOLVED! Big Thanks Patrics83.
[Android Software/Hacking General [Developers Only]] Patrics83:
Your welcome! :)

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] amarullz:
Sorry if there is nothing any new update for now. I will be focus in new core, to deliver very powerful engine for AROMA's. And to resolve any problem as possible.

The new touch engine was great in many devices but worst in some devices, but the different between 2.51 and newer version is nothing but touch handler, so the device that not works with new input method can still use 2.51 for now without any different with newer versions.
[Android Software/Hacking General [Developers Only]] jack_nuclear:
delete
[Android Software/Hacking General [Developers Only]] milojoseph:
Please answer

Hey when i install this rom will it wipe all my save data such as (google accounts, game data, etc) Layman turn would it factory reset. I would love to install it to just add a feature without wiping
[Android Software/Hacking General [Developers Only]] alvin551:
This isn't a rom lol
[Android Software/Hacking General [Developers Only]] javadahutch:
If you ever get around to actually installing a ROM you should always do a full wipe/cache/dalvik anyway...but you can backup accounts, game/app data...etc...using an app like titanium backup and safely restore them afterwards...even backs up call logs, MMS, contacts, and crap like Wi-Fi AP's and BT pairings.
[Android Software/Hacking General [Developers Only]] :
Need help!

I need some help... would this work?

i will set the second option of the selectbox (recovery.prop) with the writetmpfile...
[Android Software/Hacking General [Developers Only]] rcade2005:
@Amarullz

The aroma does not flash anything if we use the update-binary-installer in aroma 2.56 zip. Aroma works fine when i copied the old update-binary-installer from aroma 2.0 zip buddy. Is there a prob with new update-binary-installer?
[Android Software/Hacking General [Developers Only]] amarullz:
I am use different device now, so maybe I am changed it to galaxy nexus binary. Previously I am use desire and sensation.. But that wasnt a problem. The big note is always use your own update-binary-installer for your device
[Android Software/Hacking General [Developers Only]] gh.rohit:
solved
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
Anyone experience this?

Hey, working on my own Aroma installer, everything's great except that whenever I use the back button the installer freezes. Even if it doesn't happen right away, whenever I hit back I know I will never get to another page before the freeze happens. This is consistent. I'm using Aroma 2.56. Is this a known issue, or is it something I did? I'd be willing to PM somebody what I've written if it comes to that.
[Android Software/Hacking General [Developers Only]] Garner:
Hi I have tried to create an aroma zip file holding android 4.2 gapps but when I flash this zip http://d-h.st/Hapnothing installs can someone take a look and see what's wrong please
[Android Software/Hacking General [Developers Only]] EnginEAR:
Amazing!!!

WOW!!!
[Android Software/Hacking General [Developers Only]] Wizard0f0s:
Thank you amarullz!

I just released a new Miui version for the DroidX and have included the Aroma installer. Absolutely wonderful!

http://goo.im/devs/wizard0f0s/MIUI4DX/MIUI.us_Shadow_2012.11.12-Aroma-Wizard0f0s-signed.zip
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
Selectbox issue

Hey, I've noticed that when you use selectbox in Aroma 2.56, if the user doesn't select something in a particular selectbox nothing after that selectbox in the installer will install. By that I mean let's say your installer is selectbox A, checkbox B, selectbox C, checkbox D, selectbox E, and checkbox F. The user makes a selection for selectbox A, checkbox B, but then skips selectbox C and makes a selection in the next three pages. The first two (A & B) will install fine but D, E, & F won't install at all.

So, assuming that this is a known issue of the installer, I'm just wondering if there's a way to program in an alert. So that if someone tries to pass by a selectbox without selecting something they get a warning, like the agreebox if they don't check the checkbox. Stop them from advancing until they make a selection.

Any help would be appreciated. Also feel free to tell me I'm totally off about the problem.
[Android Software/Hacking General [Developers Only]] bgcngm:
When you use a selectbox you have to have at least one selected entry as default. I think you should re-check your Aroma config and set one entry as default.
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
How do I set an entry as default?
[Android Software/Hacking General [Developers Only]] bgcngm:
Just by setting initial value to 1. Have a look to an example from default aroma-config:

#---------------------------------------------------------[ Selectbox With Groups ]----------------------------------------------------------------------#
# TITLE | SUBTITLE | Initial Value #
#--------------------------+------------------------------------------------------------------------------------------+---------------------------------------------#

"Kernel", "", 2, #-- Group 1. key = "selected.1"
"2.6.8 Kernel", "Stable amarullz kernel 2.6.8", [COLOR="Red"]1[/COLOR], #-- selected.1 = 1
"3.0.0 Kernel", "Experimental amarullz kernel 3.0.0", 0, #-- selected.1 = 2
"AROMA Kernel", "High performance amarullz AROMA kernel, base on 2.6.8", 0, #-- selected.1 = 3
[Android Software/Hacking General [Developers Only]] cojo11:
i need your help!!

i try to make a Aroma ICS Version for LG p990,so far so good;)

Aroma runs,install the system.img+boot.img first and then runs the aroma but,they dont delete the apps off my choise and dont overwrite the Bootanimation,anyone a idea why its donst work???

http://pastebin.com/2sKDPx1Z
[Android Software/Hacking General [Developers Only]] TenderloinShadow:
Menubox

Thanks for the earlier help. I'm also working on something with the menubox. I want to have my installer run with a main menu, where the user can pick and choose from the options (as menubox displays them). Each option takes the user through different install selection prompts. At the end of each group of prompts, the user then goes back to the main menu so they can either select something else or choose to install.

I've actually gotten this cobbled together right now by repeated the menubox code throughout my aroma-config. For example, i have the if/then statement for each of the menu options, but before the endif I repeat the menu code. That has the illusion of forcing the user back to the main menu to make another selection.

This is obviously not the best implementation in the world, but it gets the job done. I'd be willing to post my code if anyone wants to see it. However, my main questions that have come up during this effort are:

1) It just feels like there's a better way to do the aroma config. Anyone who knows, please tell.

2) The updater script is linear. Every time I try to run the script, if I skip over things (which is the whole intention of my menu plan) the installer fails because a prop file has no values. Any way to deal with this?

3) Is there any way to modify the menu even further in the aroma-config, so that when my repeat instances come up it doesn't show as an option the button that was previously pressed?

Thanks for all the help.
[Android Software/Hacking General [Developers Only]] Волк:
Take a look at my G2x AIO tool (see sig, that one because it's the most complete), look right before the first menu, I have to have it write the .prop files first due to the same issue. I won't have time until Saturday but if you want to send me your AROMA zip I think I can take a look and help. You have a concept similar to what I implement, I have multiple menu systems for what the user selects, only I use select boxes.

Though you just gave me an idea for something I have been wanting to implement. :)
[Android Software/Hacking General [Developers Only]] nishbul:
Thanks for a great tool, but I have a question, is there anyway I can test my installation before I put it on my phone, I have a long script and sometimes I make stupid little mistakes like forgetting space or dot or something, and I am getting tired of rebooting my phone all the time just to test my aroma install. Thanks.
[Android Software/Hacking General [Developers Only]] shrike1978:
I've added Aroma Installer to my HTC Rezound ROM: CounterShrike. I've also released an Aroma enabled ICS Google Apps package in the same thread.

Thanks a bunch for this. It's helped me make my ROM really stand out from the rest of the AOSP developments on the Rezound.
[Android Software/Hacking General [Developers Only]] CosmicDan:
Hi amarullz,

Your boot menu side project looks great, the timeout feature is a must-have. I actually already use Aroma Installer binary in my MIUI kernel, with some advanced scripting it acts as a pre-recovery system preparation tool (for formatting partitions) and also works as an update-detector for incremental updates to the ROM - thanks to bash - and it's all inside my kernel ;) on the kernel boot logo if an update is detected on SDCard, it will popup with a question if they want to update now or not. Pretty nifty!

I also started working on an Aroma Recovery script system, but hit a roadblock when the mount menu would not read updated text variables based on my scripts for checking if a partition if mounted or not. With some extra minor tweaks and optimizations to the script process, I think an Aroma Recovery system is very possible! Even if there is a chance to implement a "chain-load Aroma script" function, so we can have a certain script/instruction generate a new aroma script (easy via sh script) but then have installer option to read that new script. Right now I just have my script kill-off aroma installer and execute another one based on a property that the initial Aroma sets.

My one concern is that I have not been able to use Aroma Installer since 2.00, the new touchscreen detection stuff is completely broken on Xperia 2011 devices so I stick to the old version. Regardless, hope you continue working on this :) cheers!
[Android Software/Hacking General [Developers Only]] cojo11:
iam go crazy!! arrgghhh

I still got an

and i dont Know why

at line 11 in aroma config is this

in updater-script this

what is wrong her?????:confused::confused::confused::silly::silly::silly::silly:
[Android Software/Hacking General [Developers Only]] Bologna:
use aroma v. 2.56 and delete calibration string, no more needed
[Android Software/Hacking General [Developers Only]] nishbul:
Hye Guys, I am pulling my hair here now, I have the aroma-config working fine, no syntax errors, now when I am running it i select the choices but when I press install I dont get the install log on the screen and also the installation ends with a "status 6" and nothing gets installed.

Please help, thanks
[Android Software/Hacking General [Developers Only]] mDroidd:
I own a Galaxy Nexus - wich is supported in the newest update.

I first tried the Flashaholics package by strawmetal, and it installed fine by using the volume buttons

Then I updated the aroma folder in his META-INF with your newest update, and touchscreen worked.

But it wasn't able to install anything anymore..

And so does your newest update without modifications.

After clicking "Install", it immediately goes on to the "Installation succeeded, do you want to reboot" dialog.

Any clues?
[Android Software/Hacking General [Developers Only]] nishbul:
@mDroidd, I think you are having the same issue I am having I am on aroma 2.56, the installation finishes but nothing gets installed, I even tried updating the two binary files with the binaries of another aroma 2.56 installer, but still no luck