yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] franzyroy:
It's normal that Aroma is normal when your screen is inverted, since Aroma is inverted when your screen is normal, no? Don't you think? For me, it seems to me normal, except if I don't understand what you mean.
[Android Software/Hacking General [Developers Only]] Paget96:
Yes, mine screen is normal, but when I run aroma, it's inverted :(
[Android Software/Hacking General [Developers Only]] joni2012:
Need help update f2fs added and fails

Error

line 67 col 6: syntax error, unexpected ENDIF, expecting $end

1 parse errors

Team SkyDragon loving

---------- Post added at 12:08 AM ---------- Previous post was at 12:04 AM ----------

https://mega.nz/#!KRNQUBgb!CaBSLuunjhDAr77a2vhftOKLACeRG-g2H-AxDEV12RY

Team SkyDragon loving
[Android Software/Hacking General [Developers Only]] I.nfraR.ed:
I have been using Aroma Installer 2.50 for my JB ROMs and worked fine.

KK installer script, however, uses set_metadata and set_metadata_recursive, so perhaps I have to update the installer.

The problem is that newer versions does not work with my touchscreen. It actually registers the first touch, but then stops and I can only use the vol up/down and power keys.

I'm using TWRP 2.8.4.0 recovery and touchscreen works. It also works with old Aroma.

What should I do?

OP does not mention anything about set_metadata (or I'm blind).

Edit: It registers just first tap, highlights the item and that's it. Scrolling of the list still works though.

Device is Lenovo A820 with GTX9xx touchscreen driver.
[Android Software/Hacking General [Developers Only]] starbucks2010:
Someone please?
[Android Software/Hacking General [Developers Only]] Paget96:
Idk, but I think that aroma is dead :/

There are some issues with touchscreen, calibration, also screen upside-down (rotated 180°) :(

I'm waiting for fixes :/
[Android Software/Hacking General [Developers Only]] sbdags:
3.00 uses /tmp/aroma-data/
[Android Software/Hacking General [Developers Only]] hlxanthus:
[MENTION=402300]amarullz[/MENTION] or any others who might be able to help. I am having an issue with aroma freezing. This is on both 3.0 and 2.7 aroma versions. The only way to get out of it that I can find is to either adb reboot or long press power until reboot. Devices shamu and flo do the same thing. Both on TWRP recovery (not sure if recovery could be the issue). What might cause this? I fear it might have to do with my prop restore process, as it doesnnt do it on the first time thru or if I simply comment that portion out. I am including my latest version of many many that is plagued with this issue. Any help would be much appreciated.
[Android Software/Hacking General [Developers Only]] magdeoz:
that part is not the problem occurs, I tried it on my Moto E with TWRP 2.8.7.0 and works without any problem
[Android Software/Hacking General [Developers Only]] hlxanthus:
Hmmm, very strange. You did flash it more than once? Allowed the prop restore on the second run? Move backwards and forward and it didn't freeze?
[Android Software/Hacking General [Developers Only]] raulx222:
I don't think so... the core of AROMA Installer (aromalib) it's still updated. Have a look here: https://github.com/amarullz/libaroma

Maybe a big update is coming:D (I hope so).
[Android Software/Hacking General [Developers Only]] :
Can Aroma installer be used to install/uninstall at any time?

I ask because this didn't seem to be the case with XtreStolite. When I tried to do anything with it, after a reboot, my UI would reset to something that looked like a partial factory wipe with a few apps installed. I don't know why this happened but maybe it's specific to XtreStoLite. Not sure but I think I will experiment with Omega next.

Any thoughts?
[Android Software/Hacking General [Developers Only]] Jertlok:
Hi guys, i'm working hard to make Aroma Installer working on the Note 4.

You can follow my thread here: [WIP] Aroma Installer for the Note 4 - 0.1a

And my github here: https://github.com/Jertlok/AROMA-Installer-Note4

It may work also on other devices where the Amarullz versions get stuck! ;)

The latest commit brings:

** AromaInstaller 0.2a **

-TWRP issues fixed

-SplashScreen sizes fixed

-Exynos colour errors fixed

-Updated FreeType libraries

-Modified Font Handlings

Known issues on N910F version:

-Recovery is visibile by 25%

Enjoy! :)
[Android Software/Hacking General [Developers Only]] asc1977:
Hi. I have a probleme with aroma installer on new phone. I build a theming tool for note3 which works. Now i bought a S6edge and root it. I take a working update binary and put it in the theming tool. Aroma start and i can choose my options. In the moment i press install the installer starts and hang. Than the aroma installer starts new. Anyone a idea?

I am on stock rom. No custom build

Gesendet von meinem SM-G925F mit Tapatalk
[Android Software/Hacking General [Developers Only]] tosunkaya:
[MENTION=402300]amarullz[/MENTION] i want tro translate aroma installer to TURKISH.
[Android Software/Hacking General [Developers Only]] calebcabob:
HTC One M9

I've got the Verizon HTC One M9 and am experiencing issues with some aroma installers - but not all. I've done some searching on XDA to see if others have reported the same kind of issue.

The problem:

The allocated soft keys during aroma are non-responsive when flashing certain aroma-based packages, such as the one used with OpenGapps.

It's quite strange, as I haven't experienced any issue with aroma-based Sense ROM installers, such as this one.

I'm sure it would be helpful for me to provide some more info here, but I'm just not sure what would be best...but I will provide what you need.

Thanks
[Android Software/Hacking General [Developers Only]] sbdags:
On the Nvidia Shield using TWRP the aroma window is upside down. I.e., 180 degrees reversed. Weirdly the touch works where it would have been if it hadn't been reversed.

Anyone got any ideas how to fix it?
[Android Software/Hacking General [Developers Only]] sbdags:
[MENTION=402300]amarullz[/MENTION]

On your git here I can see two bits of code that might allow me to flip the screen or touch. But I can't see where they are set - any ideas?

https://github.com/amarullz/AROMA-Installer/tree/master

AROMA-Installer/src/libs/input/input_driver.c

AROMA-Installer/blob/master/src/libs/input/input_translate/translate_touch.c
[Android Software/Hacking General [Developers Only]] Jertlok:
Can you try my Aroma build? http://xdaforums.com/note-4/orig-development/wip-aroma-installer-note-4-0-1a-t3164872

I'm trying to make it universal
[Android Software/Hacking General [Developers Only]] sbdags:
Hi Mate - I did - but the screen is garbled. The shield uses the K1 chipset from Nvidia so I wonder if that is why?
[Android Software/Hacking General [Developers Only]] Jertlok:
Well, i've stopped working on Aroma source code for a while and now i don't remember the precise entry to flip the screen. However it's has to be related to the framebuffer and when it gets opened! Can you provide some pictures please?
[Android Software/Hacking General [Developers Only]] cleverior.ipul:
Installation process blank

i try to install aroma installer melati but updater-script isn't working. So, no text that appears when installation process. I also had to replace the update-binary but it still does not work.

how to fix it ? T.I.A.
[Android Software/Hacking General [Developers Only]] BigBot96:
I'm trying to get aroma working for a galaxy tab s2. It displays fine in landscape, but the touch screen is registering in portrait. Any way to correct this? I've been searching but don't find much about it...

Here's my resolution setup:

ini_set("dp","6"); #-- XXXHDPI ( 2048x1536 / WVGA )

also tried

ini_set("dp","5"); #-- XXHDPI ( 1920x1080 / WVGA )

Yes, I am new to aroma. Any help would be appreciated. Thanks!
[Android Software/Hacking General [Developers Only]] :
need some help

hey´a...well guys... some advices needed... try to install an zip from an folder inside of aroma with the zipexec command... but... nothing works...

anyone can enlight me with some simulaton about how should look the lines codes inside of aroma-config and updater-script ?!?!?

any help will be apreciatelley... thank´s
[Android Software/Hacking General [Developers Only]] hlxanthus:
That's not how zipexec works, it executes a script from the root of the zip you are working from.
[Android Software/Hacking General [Developers Only]] Urttee:
Maap gan ane kagak bisa pke english :D . cuman mau tanya apkah Aroma ini bisa buat martisi emmc di andro? kalau kagak bisa app apa yak gan yang bisa dipake :confused:
[Android Software/Hacking General [Developers Only]] Stephen:
Please note, this is an English only speaking forum
[Android Software/Hacking General [Developers Only]] ab3t:
Nice iNFO

Nice iNFO
[Android Software/Hacking General [Developers Only]] Stephen:
Issues fixed
[Android Software/Hacking General [Developers Only]] Stephen:
Ok so I have got aroma installer working with the Nexus 6p, fixed the colour display issues. Only issue I am now having is I get is with the set_metadata tags. It returns the following error:

unknown function "set_metadata"

So I tried changing it to:

set_perm which does allow the script to run, but when it tries to set the permissions, I get the following error:

set_perm_recursive: "/system" not a valid uid

Here is a cut down example of my script:

set_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");

set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");

set_metadata("/system/bin/ATFWD-daemon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:atfwd_exec:s0");

set_metadata("/system/bin/PktRspTest", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");

set_metadata("/system/bin/app_process32", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");

set_metadata("/system/bin/app_process64", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");

set_metadata("/system/bin/bootanimation", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:bootanim_exec:s0");

Here is a example of the output I get when I save the log:

AROMA INSTALLER version 3.00

(c) 2013-2015 by amarullz.com

ROM Name : N6SPanglerM

ROM Version : 1.2.0

ROM Author : Stephen

Device : Nexus 6P

Start at : Sat Jan 17 03:54:43 1970

installing samsung updater extensions

line 181 col 145: unknown function "set_metadata_recursive"

line 182 col 152: unknown function "set_metadata_recursive"

line 183 col 138: unknown function "set_metadata"

line 184 col 137: unknown function "set_metadata"

line 185 col 140: unknown function "set_metadata"

line 186 col 140: unknown function "set_metadata"

Any idea why set_metadata is no longer recognised in version 3.0?

EDIT: Finally got all issues sorted. Aroma installer is now working perfectly on my Nexus 6p! It turned out when I downloaded the new version of Aroma installer, I had to take the update-binary from my current ROM and rename it to update-binary-installer then all the functions worked perfectly!
[Android Software/Hacking General [Developers Only]] sbdags:
[MENTION=2746542]Stephen[/MENTION] what issues did you fix? Me and my dev team have been struggling with Aroma on the Nvidia Shied for a while now. Screen and touch are inverted 180 from each other.
[Android Software/Hacking General [Developers Only]] Stephen:
I got all the issues fixed and Aroma Installer is working perfectly now on my Nexus6P! Took a few days to figure it all out :confused:

To cut a very long story short, the issues I fixed were:

unknown function "set_metadata_recursive" & unknown function "set_metadata" I had to replace the update-binary-installer with a copy from my update-binary, that had all the functions in it.

For the aroma installer touch issues I had to use version 3.00b and it then worked on the 6P, but colours wouldn't display properly.

To fix the colour issue I used command: ini_set("force_colorspace","rgba"); and then everything was sorted!
[Android Software/Hacking General [Developers Only]] SdtBarbarossa:
anyone know what can cause aromainstaller to display only on half screen in twrp?

aromafm is also only half screen... any way i can fix that?
[Android Software/Hacking General [Developers Only]] darkharbinger81:
Could it have to do with your display settings in the aroma script? My LG g2 is needing the xxhdpi settings in aroma for buttons to work correctly it's an idea
[Android Software/Hacking General [Developers Only]] SdtBarbarossa:
thank you for response.... but i tried the testzips and they fail also ;-(
[Android Software/Hacking General [Developers Only]] darkharbinger81:
I'll look a little more later on tonight when I get off work
[Android Software/Hacking General [Developers Only]] SdtBarbarossa:
i have find a fix :D was a damn boardconfig flag
[Android Software/Hacking General [Developers Only]] vx2ko:
I've got an odd issue that no one seems to know whats going on with. I am setting up Aroma for my rom, but upon installing the aroma zip, the installation is blank. I made sure to replace my update-binary-installer with mine. Any ideas?
[Android Software/Hacking General [Developers Only]] duniel:
I write an aroma script to customize a ROM, but It doesn't work.

Aroma starts and it work fine showing all the screens before installing but when it should install it fails.

I take a log of the error (in the recovery).

Please help, I search and check the script but I cannot find the fix...

I update aroma-config, updater-script and log here

I'm using AROMA 3.00 b1

Thanks in advance ;)
[Android Software/Hacking General [Developers Only]] Muchliz777:
nice, will try later
[Android Software/Hacking General [Developers Only]] sbdags:
2 things that I noticed.

1. You have CRLF at the ends of your lines although I don't think it should matter but android is based on linux which uses on LF

2. Did you replace your update-binary-installer file with a renamed stock update-binary file?
[Android Software/Hacking General [Developers Only]] duniel:
Thanks for the reply bro

My update-binary-installer is a renamed update-binary. This is not the problem beacause aroma boots and works well but it doesn't install anything so I think the problem is in the conection between aroma-config and updater-script...

I try to use LF and tell you the results...

Thanks![emoji6]

Enviado desde mi Aquaris E5 HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] sbdags:
I doubt that is it.

You said that the wrong way around. A stock update-binary needs to be renamed to update-binary-installer - is that what you meant?
[Android Software/Hacking General [Developers Only]] duniel:
No. My ROM has an update-binary-installer that is the stock update-binary renamed to update-binary-installer.

I need to test the ROM with the updater-script on UNIX text format. I think it should work.

Regards

Enviado desde mi Aquaris E5 HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] störte:
How must look the sentence in updater-script if i want to install something to data/app ?

Somehow it does not work for me. I also dont get any error message. All other apps to app or priv-app work.
[Android Software/Hacking General [Developers Only]] duniel:
You need to mount /data partition after and extract the apk files to /data/app. Next you need to fix permissions and finally unmount data. It should works ;)

Regards

Enviado desde mi Aquaris E5 HD mediante Tapatalk
[Android Software/Hacking General [Developers Only]] störte:
Yes i found out already. Thank you. My Aroma is working now
[Android Software/Hacking General [Developers Only]] EatBeans:
No effect problem with aroma

I wanted to add aroma to my rom because I think it is nice to be able to choose what apps you want pre installed. So I added it. Everything works fine. Aroma starts in recovery, I was able to choose what I want but if I reboot none of my changes were happened. I attached my META-INF folder. Maybe someone could take a look.

Thanks in advance!

Edit: Fixed!
[Android Software/Hacking General [Developers Only]] Darkman:
if file_getprop("/tmp/aroma/mods.prop","item.0.1") == "0" then
delete_recursive("/system/app/AdAway");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.2") == "0" then
delete_recursive("/system/app/xposed");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.3") == "0" then
delete_recursive("/system/priv-app/Viper4Android");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.4") == "0" then
delete_recursive("/system/app/FileExplorer");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.5") == "0" then
delete_recursive("/system/app/MusicPlayer");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.6") == "0" then
delete_recursive("/system/xbin/busybox");
endif;

So i think you want to remove this folders if the User have select it in the Aroma.

You do not use "0" ..... if the User set the choose then is the item.0.1 = 1

So you Code must be

if file_getprop("/tmp/aroma/mods.prop","item.0.1") == "[B][COLOR="Red"]1[/COLOR][/B]" then
delete_recursive("/system/app/AdAway");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.2") == "[B][COLOR="Red"]1[/COLOR][/B]" then
delete_recursive("/system/app/xposed");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.3") == "[B][COLOR="Red"]1[/COLOR][/B]" then
delete_recursive("/system/priv-app/Viper4Android");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.4") == "[B][COLOR="Red"]1[/COLOR][/B]" then
delete_recursive("/system/app/FileExplorer");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.5") == "[B][COLOR="Red"]1[/COLOR][/B]" then
delete_recursive("/system/app/MusicPlayer");
endif;
if file_getprop("/tmp/aroma/mods.prop","item.0.6") == "[B][COLOR="Red"]1[/COLOR][/B]" then
delete_recursive("/system/xbin/busybox");
endif;

This is what i found in first Step, change this and try it again.
[Android Software/Hacking General [Developers Only]] 19oktay98:
wick is better, aroma 2,56 or aroma 3.00b1?
[Android Software/Hacking General [Developers Only]] ROBERT CM:
Thanks for this thread and information amarullz

aroma installer is a big tool

thanks again :D
[Android Software/Hacking General [Developers Only]] atomantmk:
aroma_installer-3.00b1 touch don't work on HTC One M9, anyone with solution for this problem?
[Android Software/Hacking General [Developers Only]] HeckNoTechnO:
Quick question if I want to add an option to set dpi which is just a simple build.prop edit, is there an easy way to just right it to the system or would I need 3 build.props if I wanted 3 options?
[Android Software/Hacking General [Developers Only]] sbdags:
You can write a script that is run to remove the dpi line and then insert a new one in the build.prop like this:

So if I wanted to change the default dpi from 240 to 213 - save a txt file like this;

upd-build-prop.sh

#!/sbin/sh
sed -i '/ro.sf.lcd_density=240/d' /system/build.prop
echo "# Set DPI" >> /system/build.prop
echo "ro.sf.lcd_density=213" >> /system/build.prop
echo "" >> /system/build.prop

or search for and edit the 240

#!/sbin/sh
sed -i 's,ro.sf.lcd_density=240,ro.sf.lcd_density=213,g' /system/build.prop

Then call the upd-build-prop.sh file from the updater-script

#-- DPI --#
ui_print("Editing build.prop.....");
package_extract_dir("extras/dpi/213", "/tmp");
run_program ("/tmp/upd-build-prop.sh");
[Android Software/Hacking General [Developers Only]] HeckNoTechnO:
Thanks for the reply. I haven't wrote script files since my dos days in 1992. Guess I better brush up.
[Android Software/Hacking General [Developers Only]] sbdags:
It's the only way you will get what you want.

Also look up the wm command as you can change the resolution & dpi from an init.d script after boot (as long as your kernel supports init.d).

Here are my scripts for that:

#!/system/bin/sh
sleep 5
wm density 200
wm size 1600x1000

or

#!/system/bin/sh
sleep 5
wm density 220
wm size 1760x1100

and to reset back to normal:

#!/system/bin/sh
sleep 5
wm density reset
wm size reset
[Android Software/Hacking General [Developers Only]] andy_zhang:
Can you make flashable zip, thanx.

vs985 China user
[Android Software/Hacking General [Developers Only]] sbdags:
No I can't.

These scripts are just standard shell scripts. Save them to a folder in the zip, update your aroma file so they can be chosen, update your updater-script as described above and then flash it.

If you can't do that yourself then you are in the wrong thread.
[Android Software/Hacking General [Developers Only]] Nicklas Van Dam:
aroma process terminated? :confused:

can anyone help me? i'm flash on TWRP v3.0.0-0

this is my aroma config

View attachment aroma-config.txt
[Android Software/Hacking General [Developers Only]] sbdags:
Provide the recovery log. It is possible that the new TWRP doesn't support aroma as well.
[Android Software/Hacking General [Developers Only]] Nicklas Van Dam:
Thanks for your answer sir :D. Yeah maybe that could be. I've find way out , thanks

Sent From My Xperia M Powered By Seal Of Metatron
[Android Software/Hacking General [Developers Only]] immi:
Master [MENTION=402300]amarullz[/MENTION] I'm no dev but I think I must let you know that your amazing aroma installer is no more compatible with TWRP. TWRP 3.0.0 crashes if we try to install any rom having aroma based installation process. Guys on TWRP forum say that we should explain the issue to aroma devs that's why I'm posting this comment. Hope a solution will be provided soon.

EDIT: Forgot to use the "Search Thread" option before posting, & now I can see that people are already talking about this issue. My Bad :D
[Android Software/Hacking General [Developers Only]] sbdags:
I don't think Aroma is being developed any longer. All the source is on github for someone to pick up ...
[Android Software/Hacking General [Developers Only]] naeembabakheil:
how can i add my custom made Rom into Aroma Installer .. help just lil help download files but dont know where can i put my Rom ?
[Android Software/Hacking General [Developers Only]] franzyroy:
If you don't know, so don't try, you must have knowledges.

Envoyé de mon GT-I9505 en utilisant Tapatalk
[Android Software/Hacking General [Developers Only]] sbdags:
Just to be clear you don't add your rom to aroma, you add aroma to your rom. This isn't a quick thing to do and you need some scripting knowledge. Go back to the first post and read the tutorials and look at other aroma script examples.
[Android Software/Hacking General [Developers Only]] naeembabakheil:
yeah remembr those updater scripts ..:cowboy: , ok where can i made change so those script take my system files and also should i use that Aroma app packager to make app pages and then add to installer
[Android Software/Hacking General [Developers Only]] micky387:
Yes.

EDIT. Aroma working fine in V3.0. Tested with my build and all is ok
[Android Software/Hacking General [Developers Only]] Ryrzy:
is here anyone who can fix touch screen not working in aroma on never devices ? in huawei honor 7 touch screen in aroma dosn't work :( when i run aroma installer touch respons only once (for example, "next" button is pushed and this is the end, no more responce from touch)
[Android Software/Hacking General [Developers Only]] dexter91:
I keep getting an error file_getprop:failed to stat "tmp/aroma-data/mod.prop" : No such file or directory.

Can anyone please help me, I have also attached aroma-config and updater-script files. Thanks.
[Android Software/Hacking General [Developers Only]] KhocVoLe_6794:
How to take screenshot when using Aroma Installer?
[Android Software/Hacking General [Developers Only]] hlxanthus:
Should power and volume down
[Android Software/Hacking General [Developers Only]] IND_TechNetiUm:
Hey i created a simple app for mobile to generate the config file. Its for begginers who wanted to add aroma to their zip but do not know how to make the aroma-config

http://xdaforums.com/android/themes/tool-aroma-config-generator-t3338056/post65874115#post65874115