yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] andy_zhang:
Sir, I find some issue .when I add data/app, then put in some apk files, then repack it zip, flash it, Compression package damage！as long as don't put some apk in data/app, to run well. Why?

vs985 China user
[Android Software/Hacking General [Developers Only]] KhocVoLe_6794:
I flash rom use AROMA Installer fails.

My updater-script:

How to fix it?
[Android Software/Hacking General [Developers Only]] Jonny:
Use a different update-binary as the updater-binary-installer.
[Android Software/Hacking General [Developers Only]] KhocVoLe_6794:
replace update-binary to fix? Thanks :confused:
[Android Software/Hacking General [Developers Only]] Jonny:
Find a different update-binary, rename it to update-binary-installer then replace your current update-binary-installer with the new one.
[Android Software/Hacking General [Developers Only]] KhocVoLe_6794:
Thanks you for help :good:
[Android Software/Hacking General [Developers Only]] Louis118:
Since my s4 loves to irritate me, is there ANY WAY I CAN TICK THE TERMS AND CONDITIONS BOX WITHOUT USING MY TOUCHSCREEN (SINCE FOR SOME REASON THE TOUCHSCREEN BREAKS WHEN I EVER BOOT INTO AN AROMA INSTALLER)?????
[Android Software/Hacking General [Developers Only]] Lukest85:
Depends on the aroma-config (eg T&C dialog screen type, etc) and the ID# of your hardware buttons, but you should be able to:

1) Press the Volume-Up hardware button (back) 3-4 times to get to the check box (if the theme includes a focus icon you should see when you're at the right spot)

2) press the Power button to check accept (try pressing twice if no success with the first key press)

3) Press Volume-Down (forward) 3-4 times to select the 'Next' button

4) Press the Power Button to go to the next screen

This works for me with an AROMA-Installer I've made but you may need to ask the dev of your mod/AROMA installer if still no success.

NB: If your hardware buttons are not correctly recognised by AROMA; flash this key capture zip (from [MENTION=402300]amarullz[/MENTION]) and record the ID# displayed for each button press, then send the info to the mod/AROMA dev.

Hope this helps and g'luck !!
[Android Software/Hacking General [Developers Only]] opticyclic:
Ho Do I Mount /system?

I used to mount /system like this:

ui_print("Mounting Partitions...");
ui_print(" ");
run_program("/sbin/busybox","mount", "/system");
run_program("/sbin/busybox","mount", "/data");

However, it has been failing when I don't have busybox installed.

What is a more reliable way of mounting /system?

If I use the mount command won't I have to parse the fstab to know what the file system is?

Can you package busybox and unzip it to /tmp as the first step?
[Android Software/Hacking General [Developers Only]] DarkFrenzy:
Aroma installer touch is not working on galaxy tab 3 7.0 TWRP 3 or any version of twrp only works with cwm. Is there any build prop file for aroma installer so that I can set hw rotation to 270
[Android Software/Hacking General [Developers Only]] sxg75:
Maybe someone might help us Pixel-C owners out? Trying to install opengapps on TWRP 3.0.2-21 from here .. Flashing seems not to start - it shows Errorcode 255 - see pic.

TWRP-log is here: http://pastebin.com/9S9Qf0bs

Thanks!
[Android Software/Hacking General [Developers Only]] Jeik:
Okay,managed to add it to my rom,but I can't wrap my head around adding optional apps. How do I actually make the selected optional apps flash? I modified the "custom installation" item list,but how do I link the apks with the aroma-config?
[Android Software/Hacking General [Developers Only]] Droid_Ask:
Maaf mas,baru baca artikelnya,apakah ini bisa buat semua smartphone? saya memakai Samsung Galaxy Ace, trus installnya di flash lewat recovery ya?

mohon pencerahannya :D:D
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
Great, first post from you which is not english and a fullquote :mad:
[Android Software/Hacking General [Developers Only]] amarullz:
Ok, maybe this zip works for capture your display info: http://www.amarullz.com/_downloads/aroma-nighly/displaycapturer.zip

Yes.. English Please!!! :mad: No support for non english question...

--- UPDATE INFO ---

Alignment + Intentation for string will supported in next release...
[Android Software/Hacking General [Developers Only]] Namaless:
@amarullz please replay with error table :P

Send to you binary and my configuration. What need spec for my device?
[Android Software/Hacking General [Developers Only]] amarullz:
:p I don't know about error table :D . Maybe it was return status of your binary installer?... All AROMA Error will be reported as Error message with full info about line number, and what the error... And there is no error code :) - seriously, where did you get that error code?

What need spec for my device? - just what your device type, does your update-binary-installer was used for almost all chef of your device?
[Android Software/Hacking General [Developers Only]] Namaless:
My binary installer link sended to pm :)

For error code 1536 get when not starting installation process.. for a moment use if else to check the correctly installation process. Investigate :D
[Android Software/Hacking General [Developers Only]] Namaless:
You can try this: http://db.tt/8nk6vf8u

Overwrite in test zip for aroma installer (not keycapture zip).
[Android Software/Hacking General [Developers Only]] mickey-r:
Hi amarullz,

In the next release, did you plan to fix the bug about the size of high-capacity SD cards?

Regards
[Android Software/Hacking General [Developers Only]] Namaless:
I have 8gb sdcard and show -604mb LOL!
[Android Software/Hacking General [Developers Only]] amarullz:
Yes It fixed... I had 16GB sdcard...

In next release, the default unit was in MB.

so getdiskfree("/mnt/sdcard") is same with getdiskfree("/mnt/sdcard","m").

Retrive size in bytes may still error in huge size like sdcard > 8GB. so beware in using something like this:

getdiskfree("/mnt/sdcard","b"); --> will/may return -1 = Error or Size overflow.

so use "b"/bytes only in small filesystem... If you want more accurate but safer, use "k"/KB.

Here the screenshoot:

​
[Android Software/Hacking General [Developers Only]] Namaless:
System informations is a function or your use a viewbox?
[Android Software/Hacking General [Developers Only]] amarullz:
I am use textbox (like changelog), but now support tabs "VOLUME\t:100MB" :D
[Android Software/Hacking General [Developers Only]] Namaless:
When you release? Not for eta but because release new version of my rom with your installer, and this mod is very very good for me :)
[Android Software/Hacking General [Developers Only]] amarullz:
I hope tomorrow, but I also have some works tomorrow, see if I have a free time.. It was 1am here...

Even if I can't release full version, I will upload latest nightly build with all this features tomorrow... :cool:
[Android Software/Hacking General [Developers Only]] Namaless:
Thanks, waiting for release my rom :)

Thanks for your work.. go to sleep :P
[Android Software/Hacking General [Developers Only]] Lightn1ng:
if
file_getprop("/tmp/aroma/selectbox1.prop","selected.1") == "1" # Change values accordingly
then
ui_print("-> Installing Whatever...");
package_extract_dir("dir-to-system-dir-for-app", "/system"); # install the app
endif;
[Android Software/Hacking General [Developers Only]] cglegion:
I've studied and mastered aroma-config 99.9% in 1 week.

Now, to save me 1 week from debugging, can someone tell me why is the default "update-binary-installer" included in the MELATI 3.00b1 package isn't working. It is not responding to my aroma-config and I had to find other working update-binary (replacing) from other ROMS then it will work. Where do I get the latest update-binary for my update-binary-installer, please?

Edit: Also, whenever I include(); a file say test.edify it will give me syntax error line 1. But if I copy & paste the language_select.edify file and rename it to test.edify and include it will succeed. I'm using Programmer's Notepad RC4 to write my scripts. Sometimes, when I edit aroma-config it will give me a syntax error even if I just write splash(1000, "test"); but when I write the same code into the provided aroma-config file from the original package it will not give me a syntax error. I've tried using Notepad++ and still error. Really confusing...
[Android Software/Hacking General [Developers Only]] victhor343:
I got recovery freeze aroma installer error with the Xperia z2 deodexed base in Xperia T2 Ultra lollipop 5.1.1
[Android Software/Hacking General [Developers Only]] stangdriver44:
9 times out 10, it's an overlooked punctuation like this (1000, "test"); missing the red

Also make a habit of doing a word count for "then" and "endif"!!!

Those should always have the same amount

Good luck

Not as much and Aroma limit as it is a current recovery limit, 2GB max!!!

If your file size is 2.0001GB it will fail and you can't even get Aroma to open the UI

To be more specific to your question about folder,

I had a previous version of my Full ROM zip that included closed to 8,000 folders and just over 40,000 files.

Again the only limit i faced was and still is the GB recovery limit!!

Good luck to you as well!!
[Android Software/Hacking General [Developers Only]] Pinu'u:
I am trying to find a way, to keep the install progress somehow cleaner ?

I added some zips, and when they get installed, you see a lot of text running down the screen, of what the zip is doing.

This is fine for debug, to see it everything is running fine, but i would love to have it cleaner in the finished product.

Is there a way to hide, what the zip's are installing ?

I would like to have the output look like this :

-Installing Audio Tweaks-

-Installing Bootanimation-

-Installing Mod-

.

.

.

And not like

-Installing Audio Tweaks-

.. looking for this

.. copy stuff from here to there

.. remove this

-Installing Bootanimation-

-Installing Mod-

.

.

.

Hope you get what i try to do... :confused:
[Android Software/Hacking General [Developers Only]] freetushkan:
[MENTION=402300]amarullz[/MENTION]

Good day. I have a dumb question: can I run aroma binary from my shell-script. I tried it out, aroma runs, but get terrible graphical glitches.

I named my script as "update-binary", aroma binary as "update-binary-aroma" and runned by this line:

/tmp/update-binary-aroma "$1" "99" "$3" >/proc/$$/fd/1 99>/proc/$$/fd/$2 </proc/$$/fd/0

It seems, that script in recovery staying focused. I don't realize what I should to do..

It all needed for getting zip path from the third argument from recovery, but I cannot found any solution to get it clearly..

zpath=$(tr < /proc/$(pgrep updater)/cmdline '\000' '|' | cut -d '|' -f 4)

The code above works, but may be incompatible with some recoveries (works in latest TWRP).
[Android Software/Hacking General [Developers Only]] somadsul:
Need Help

Hi all,

I have ported a rom which is having this Aroma, & all things are same in rom according to original Rom,

I have added my device rom update-binary with rename as update-binary-installer & changes as mount partition according to my device.

but while i am trying to flash the rom its starting with lag & when I am agreeing T&C the aroma is stopped working, I have to pull out battery to work device again.

can anyone please help me...
[Android Software/Hacking General [Developers Only]] somadsul:
Is any one available?
[Android Software/Hacking General [Developers Only]] Shripal17:
[youtube]LvLp-QE2cmk[/youtube]

Aroma installer made for Optimised Stock 2.01 ?????????

Thanks a lot amarullz :)
[Android Software/Hacking General [Developers Only]] HDHR:
After I edited some customizable install options (kernel,cam,etc) I got this error :( anybody can help me?
[Android Software/Hacking General [Developers Only]] ravik0709:
Aroma Installation Error

Hi friends,

can anyone help me with this Error. iam trying to deboad some apps through Aroma.

about to run program [/sbin/mount] with 4 args

about to run program [/sbin/mount] with 4 args

about to run program [/sbin/mount] with 4 args

Removing apps...

script aborted: file_getprop: failed to stat "/tmp/aroma/rembloat.prop": No such file or directory

file_getprop: failed to stat "/tmp/aroma/rembloat.prop": No such file or directory

Installer Error (Status 7)
[Android Software/Hacking General [Developers Only]] techdude18:
go to line 794 and show
[Android Software/Hacking General [Developers Only]] HDHR:
Well its fixed now,but how to change default file to install,when I change its error
[Android Software/Hacking General [Developers Only]] GuyInDogSuit:
I tried two Aroma packages on my Shield Tablet with TWRP 3.0.2.2, and the interface was upside down, and it didn't install what it was supposed to install.
[Android Software/Hacking General [Developers Only]] manuelmagix:
hi, I have a problem, why aroma installer no work for me, look image under clock.?
[Android Software/Hacking General [Developers Only]] rmarinella:
delete
[Android Software/Hacking General [Developers Only]] GigilinE:
Weird aroma

Who can help me.. i have this error.. but error not exist xD

AROMA INSTALLER version 3.00

(c) 2013-2015 by amarullz.com

ROM Name : Ditto Nougat

ROM Version : 2.3

ROM Author : Electron Team

Device : Samsung Galaxy S7 & Samsung Galaxy S7 Edge

Start at : Tue Nov 22 10:59:48 2016

line 5 col 46: syntax error, unexpected BAD

1 parse errors

Installer Error (Status 6)

End at : Tue Nov 22 10:59:49 2016
[Android Software/Hacking General [Developers Only]] Marvin_1003:
I have no clue about Arome Installer scripting but Syntax error are normaly Grammar errors like if u wrote a command wrong or missed a sign.

Maybe this helps..

Greets
[Android Software/Hacking General [Developers Only]] GigilinE:
string is ok..
[Android Software/Hacking General [Developers Only]] techdude18:
anyone has a modified version of aroma installer binary that works with arm, x64,x86, twrp 2 and 3
[Android Software/Hacking General [Developers Only]] sunshine199724:
Devs , can you write script aroma for twrp 3.0.2-1 . My device have MOUNT F2FS storge ISSUE with older version, only one 3.0.2-1 working. But all rom using aroma present can't work with the newest twrp .
[Android Software/Hacking General [Developers Only]] NotATreoFan:
Aroma works fine with 3.0.2-1. I use it on the LG V20.
[Android Software/Hacking General [Developers Only]] NotATreoFan:
Question to Smarter Modders:

How can I adjust the screen layout of Aroma? I'm trying to get it shifted down below the second screen used on the LG V20.
[Android Software/Hacking General [Developers Only]] maxcomx:
Once the Rom is installed, is it possible to go back the installer to change some option like the mods and remove bloatware?
[Android Software/Hacking General [Developers Only]] NotATreoFan:
That's a question for the ROM creator, but generally yes. As long as they didn't include any code that formats data, you can dirty flash.
[Android Software/Hacking General [Developers Only]] sunshine199724:
Aroma 2.70RC2 don't work on samsung N900S
[Android Software/Hacking General [Developers Only]] NotATreoFan:
Did you try Aroma 3.0?
[Android Software/Hacking General [Developers Only]] sunshine199724:
No. My rom which dev don't use aroma 3.0
[Android Software/Hacking General [Developers Only]] NotATreoFan:
Swap it out yourself and try it.
[Android Software/Hacking General [Developers Only]] sunshine199724:
I don't know how to do it and i don't sure 3.0 is working
[Android Software/Hacking General [Developers Only]] NotATreoFan:
What error do you get when running the installer? Aroma will tell you if it finds a syntax error and what line it's at.
[Android Software/Hacking General [Developers Only]] Miustone:
No Errors, it's just not working on the updater-script Part...

It should be simple to see the problem but I can't see it since I don't know how to use the getprop lines on this hybrid format :eek:

Here is a screenshot http://goo.gl/q0me8o
[Android Software/Hacking General [Developers Only]] nkk71:
Not sure,and tbh I didn't really look, but:

if file_getprop("/tmp/aroma-data/audio.prop","selected.5") == "1" then
ui_print("-GOOGLE UI SOUND EXTRACTION");
set_progress(0.55);
package_extract_dir("SOUNDS/GOOGLE/UI", "/system/media/audio/ui");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","selected.5") == "1" then
ui_print("-NO UI SOUND EXTRACTION");
set_progress(0.55);
endif;
#

anybody got some code after 2.70-RC2?
[Android Software/Hacking General [Developers Only]] Miustone:
Sorry, my English isn't that good. I try to explain it in other Words...

I'm using the 3.0 AROMA Binary.

I've included without any Problems this:

form(

"AUDIO",

"MAKE YOUR CHOICES AND CONTINUE BY PRESSING <b>'NEXT'</b>...",

"@none",

"audio.prop",

into my AROMA Config, but it is a mix of Checkboxes and Selectboxes and the default Lines on the Updater Script below

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

and

if file_getprop("/tmp/aroma-data/audio.prop","item.2.1") == "1" then

are not working at all...

I'm really thankful for any hints!
[Android Software/Hacking General [Developers Only]] NotATreoFan:
Here is what one of my options look like. First in aroma-config, and then in updater-script:
[Android Software/Hacking General [Developers Only]] nkk71:
Can you zip your scripts and upload, I'll run it through the emulator tomorrow if I can.
[Android Software/Hacking General [Developers Only]] Miustone:
Thanks, but this is only a Selectbox Option. I want to use combined Options of Checkboxes and Selectboxes (Like on my Screenshot). I was using 2 Pages for 2 Options before but I want to combine the UI Sounds Options (Selectboxes) with other Sounds like Ringtones (Checkboxes) on one Page.

Thanks Mate. I will upload a Snapshot in some Minutes and add the link on this Post! I will also add a reference to the example where I have the "form(" layout from (think it was a file in the AROMA 3.0b ZIP)...

Edit: LINK

(It's w.i.p. Flashing works but the Audio Part makes still Problems on the Updater Script. (No UI Lines while flashing and no executing))

Looks like i've found a really unique Option... But Checkboxes and Selectboxes on one Page are a must have, and it gives nice Options like mixed De-/bloating on 1 Page instead of 2 or my Audio example from before. I've done that also with SuperSU, Busybox and Init.d but only with Selectboxes and simple Yes/No Options on 3 Groups. AROMA has still a lot to give, it's interesting to find new Ways and Options but i really need help at this Point... Hope someone knows how to do it!
[Android Software/Hacking General [Developers Only]] franzyroy:
Are you sure that works on your phone?

Me, I can no longer use aroma recovery installer, and same for aroma files manager on my Huawei mate 8. There is no longer any update from a long time for this tool.
[Android Software/Hacking General [Developers Only]] Nishidh:
Lol I found error it was update-binary

And my device is oneplus 3 so no chance of not supported:silly:
[Android Software/Hacking General [Developers Only]] franzyroy:
Sure!:p
[Android Software/Hacking General [Developers Only]] nkk71:
Sorry for the late reply, but I see the problem now, you're using a free form with groups which can either be options or checkboxes:

form(
"AUDIO",
"MAKE YOUR CHOICES AND CONTINUE BY PRESSING <b>'NEXT'</b>...",
"@none",
"audio.prop",
#
"group1","WHICH UI SOUNDS DO YOU WANT TO USE?","","group",
"opt1","LG SOUNDS","ALL LG V20 UI SOUNDS","select",
"opt2","MIUI SOUNDS","ALL MIUI V8 UI SOUNDS","select",
"opt3","HTC SOUNDS","ALL HTC 10 UI SOUNDS","select",
"opt4","SONY XPERIA SOUNDS","ALL XPERIA XZ UI SOUNDS","select",
"opt5","GOOGLE PIXEL SOUNDS","ALL PIXEL XL UI SOUNDS","select.selected",
"opt6","DEFAULT","KEEPS THE DEFAULT UI SOUNDS","select",
"group2","DO YOU WANT MORE SOUNDS?","","group",
"chk1","LG SOUNDS","ALL LG V20 RINGTONES, ALARMS AND NOTIFICATIONS","check.checked",
"chk2","MIUI SOUNDS","ALL MIUI V8 RINGTONES, ALARMS AND NOTIFICATIONS","check.checked",
"chk3","HTC SOUNDS","ALL HTC 10 RINGTONES, ALARMS AND NOTIFICATIONS","check.checked",
"chk4","SONY SOUNDS","ALL XPERIA XZ RINGTONES, ALARMS AND NOTIFICATIONS","check.checked",
"chk5","GOOGLE SOUNDS","ALL PIXEL XL RINGTONES, ALARMS AND NOTIFICATIONS","check.checked",
"group3","WHAT ABOUT THE AUDIO QUALITY?","","group",
"opt7","OPTIMIZED","USING SONY ENHANCEMENTS","select",
"opt8","DEFAULT","USING ONLY THE INJECTED PROP SETTINGS","select.selected"
);

So your audio.prop will not be using the "selected." variables, instead for

Options it will return "groupX=optY"

Checkboxes it will return "chkX=0" for unselected, or "chkX=1" for selected.

Here's a sample of what my selections were in that screen:

/tmp/aroma # cat audio.prop
chk1=1
chk2=1
chk3=1
chk4=0
chk5=1
group1=opt5
group3=opt8

So you'll just need to adjust your installer-script according to those values.
[Android Software/Hacking General [Developers Only]] Miustone:
Thanks! I tried many Lines but ended up with that Lines here:

ui_print("--AUDIO");
set_progress(0.50);
#
if file_getprop("/tmp/aroma-data/audio.prop","opt1") == "1" then
ui_print("-LG UI SOUND EXTRACTION");
set_progress(0.55);
package_extract_dir("SOUNDS/LG/UI", "/system/media/audio/ui");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","opt2") == "1" then
ui_print("-MIUI UI SOUND EXTRACTION");
set_progress(0.55);
package_extract_dir("SOUNDS/MIUI/UI", "/system/media/audio/ui");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","opt3") == "1" then
ui_print("-HTC UI SOUND EXTRACTION");
set_progress(0.55);
package_extract_dir("SOUNDS/HTC/UI", "/system/media/audio/ui");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","opt4") == "1" then
ui_print("-SONY XPERIA UI SOUND EXTRACTION");
set_progress(0.55);
package_extract_dir("SOUNDS/SONY/UI", "/system/media/audio/ui");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","opt5") == "1" then
ui_print("-GOOGLE PIXEL UI SOUND EXTRACTION");
set_progress(0.55);
package_extract_dir("SOUNDS/GOOGLE/UI", "/system/media/audio/ui");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","opt6") == "1" then
ui_print("-NO UI SOUND EXTRACTION");
set_progress(0.55);
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group2") == "chk1" then
ui_print("-LG RINGTONES, ALARMS AND NOTIFICATIONS EXTRACTION");
set_progress(0.60);
package_extract_dir("SOUNDS/LG/OTHERS", "/system/media/audio");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group2") == "chk2" then
ui_print("-MIUI RINGTONES, ALARMS AND NOTIFICATIONS EXTRACTION");
set_progress(0.60);
package_extract_dir("SOUNDS/MIUI/OTHERS", "/system/media/audio");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group2") == "chk3" then
ui_print("-HTC RINGTONES, ALARMS AND NOTIFICATIONS EXTRACTION");
set_progress(0.60);
package_extract_dir("SOUNDS/HTC/OTHERS", "/system/media/audio");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group2") == "chk4" then
ui_print("-SONY RINGTONES, ALARMS AND NOTIFICATIONS EXTRACTION");
set_progress(0.60);
package_extract_dir("SOUNDS/SONY/OTHERS", "/system/media/audio");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group2") == "chk5" then
ui_print("-GOOGLE RINGTONES, ALARMS AND NOTIFICATIONS EXTRACTION");
set_progress(0.60);
package_extract_dir("SOUNDS/GOOGLE/OTHERS", "/system/media/audio");
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group3") == "opt1" then
ui_print("-UI TEST! OPTIMIZED AUDIO QUALITY");
set_progress(0.65);
endif;
#
if file_getprop("/tmp/aroma-data/audio.prop","group3") == "opt2" then
ui_print("-UI TEST! NO OPTIMIZED AUDIO QUALITY");
set_progress(0.65);
endif;
#

But it does also not work. Any Idea how it has to looks like? :rolleyes:
[Android Software/Hacking General [Developers Only]] Fischmaster:
Great tool, but why no updates anymore?

This is really sad.

Greetings,

Fischmaster
[Android Software/Hacking General [Developers Only]] franzyroy:
The dev has stopped. It's like that, he has his life. That's all!
[Android Software/Hacking General [Developers Only]] dedraks:
Hi [MENTION=402300]amarullz[/MENTION] my new ROM uses AROMA installer:

https://xdaforums.com/moto-z-play/development/rom-dedraks-essential-rom-mzp-t3576478