yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] TimelessPWN:
I added a menu to my script today and now when i try to flash with FlashFire i get error Aroma-Config line 171 col 7, which is the very last line of my code, all that is there is endif; yet is telling me there is an error? I have been trying to figure this out all damn day, any help would be greatly appreciated. Here is a copy of my Aroma-Config and My Updater-Script.
[Android Software/Hacking General [Developers Only]] black dark man:
I think you are missing endif in EXIT portion.
[Android Software/Hacking General [Developers Only]] TimelessPWN:
Yes thank you i was missing one of the two :)

Working now!!
[Android Software/Hacking General [Developers Only]] AndroidSword:
Hello guys:),

I need a bit of help from all the great dev/contributors here.

I am facing empty installation UI while running AROMA. Like, in AROMA, everything works fine, the Wizard works as it should...:)

But as soon as I reach the installation screen, it remains empty and does not move forward... :(it simply redirects me to the "Installation Complete" page:(. Even the installation logs are empty...:)

MY AROMA IS BELOW 2GB...

Any help would be appreciated, Thanks a lot in advance:):)

Here is my updater script and aroma-config.
[Android Software/Hacking General [Developers Only]] pekaka:
dir amarullz,

Aroma installer is a great job!firstlly thanks for hard work,but now I can't sign the script on line?the link is not working.

so send this message for help.

thanks a lots。
[Android Software/Hacking General [Developers Only]] franzyroy:
You should find by yourself or wait charitable someone who can help. Because amarullz no longer works on this project from longtime ago.
[Android Software/Hacking General [Developers Only]] Banty448:
Hi how to uninstall aroma installer from ported rom without pc?coz aroma is not working with my device(lava iris 503 mtk6572) and i am using cwm recovery6.0.1.9 when i try to flash ported rom i stuck on aroma installer and touch don't work.please help....plzzzzz
[Android Software/Hacking General [Developers Only]] Huskied:
Trying to get this Aroma Installer built, Ended up with a Syntax Error "aroma_config on line 305 col 6"

literally has only "endif;" here is the config.

https://xdaforums.com/attachment.php?attachmentid=4242012&stc=1&d=1502764009

EDIT: Removing that endif; worked.

EDIT2: Did a screen flash, then took me back to the recovery, seems a bit strange, I don't think that worked..
[Android Software/Hacking General [Developers Only]] nkk71:
Yeah that endif; is definitely out of place, it has no accompanying if to begin with, then it works just fine, attached a couple of screenshots, and the resulting .prop files
[Android Software/Hacking General [Developers Only]] Huskied:
Alrght, So I removed the endif; and tested things out. But when attempting to switch to the installation process if shuts everything down and TWRP is saying it finished, When there are no signs of change. Any solutions? And thank you for your help.
[Android Software/Hacking General [Developers Only]] nkk71:
Can't say, I only saw your aroma config, you sure your installer script is correct?
[Android Software/Hacking General [Developers Only]] Huskied:
Made sure.

View attachment updater-script.zip
[Android Software/Hacking General [Developers Only]] Mr Beardsly:
It will sure come handy in the future
[Android Software/Hacking General [Developers Only]] nkk71:
You should really fix your indentations, that's barely readable :eek:

And what's this supposed to achieve:

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

1- That doesn't exist (you can check the zip I sent you a couple of posts ago)

2- So the entire script is going to get bypassed

3- It doesn't even have and endif for it, or at least doesn't look like it has one

you could just check the logs to see what's going on.
[Android Software/Hacking General [Developers Only]] Huskied:
My apologies, was trying to change things as we were speaking. I'll try to change things back.

Do you think it has something to do with the binary?
[Android Software/Hacking General [Developers Only]] nkk71:
No, but that first if will never pass, there is no such property.
[Android Software/Hacking General [Developers Only]] Tulsadiver:
:confused:

When running .sh I run it like this

run_program("/sbin/sh", "/tmp/runme.sh");
[Android Software/Hacking General [Developers Only]] Huskied:
Went back and cleaned up a little, I tried to attempt to use that run_program for the other zips. Problem is, like nkk71 just brought up, It's bypassing the Installation GUI. still. I have the updated script and the log here.

View attachment android.zip

I'll link the config too if necessary.
[Android Software/Hacking General [Developers Only]] Tulsadiver:
You still did not have an endif after your first if statement and it was still directed to aroma-data instead of just aroma

Try this (not sure about your first menu.prop. might be best to just delete it.)
[Android Software/Hacking General [Developers Only]] Huskied:
Got it to the GUI, There were too many endif;s on aroma-config and two finish buttons that spat an error. That's fixed, I'll check more on the updater-script. Thank you guys very much.
[Android Software/Hacking General [Developers Only]] nkk71:
Because your "group" assumptions are wrong, eg:

# Debloat page 2
"opapps.prop",
...
"OnePlus testers,loggers etc.", "",	2, #-- Group 2. key = "item.2"
"EngineeringMode",	"If you remove that one, you can remove all the 'test' apps",	0, #-- item.2.1

That's not "Group 2", it's still group1, so it will be item.1.1 (but in "opapps.prop" file).

The only time group increases is when you have multiple groups in one page, like your 3rd page:

# Debloat page 3
checkbox(
"Carefull here!",
"Select the apps which you want to remove: ",
"@apps",
"careapps.prop",
"Remove only if you done with 1st setup", "",2, #-- Group 3. key = "item.3"
"OnePlusWizard",	"Needed for the 1st setup!",	0, #-- item.3.1
"SetupWizard",	"Needed for the 1st setup!",	0, #-- item.3.2

"Keybaords - Delete only ONE!", "",	2, #-- Group 4. key = "item.4"
"SwiftKey",	"Don't delete GoogleKeybaord if you're deleting this one",	0, #-- item.4.1
"GoogleKeyboard",	"Don't delete SwiftKey if you're deleting this one",	0 #-- item.4.2

);

but it would be:

# Debloat page 3
checkbox(
"Carefull here!",
"Select the apps which you want to remove: ",
"@apps",
"careapps.prop",
"Remove only if you done with 1st setup", "",2, [B][COLOR="Blue"]#-- Group 1. key = "item.1"[/COLOR][/B]
"OnePlusWizard",	"Needed for the 1st setup!",	0, [B][COLOR="Blue"]#-- item.1.1[/COLOR][/B]
"SetupWizard",	"Needed for the 1st setup!",	0, [B][COLOR="Blue"] #-- item.1.2[/COLOR][/B]

"Keybaords - Delete only ONE!", "",	2, [B][COLOR="Blue"] #-- Group 2. key = "item.2"[/COLOR][/B]
"SwiftKey",	"Don't delete GoogleKeybaord if you're deleting this one",	0, [B][COLOR="Blue"] #-- item.2.1[/COLOR][/B]
"GoogleKeyboard",	"Don't delete SwiftKey if you're deleting this one",	0 [B][COLOR="Blue"] #-- item.2.2[/COLOR][/B]

);
[Android Software/Hacking General [Developers Only]] SonderTech:
Aroma wizard isn't touch. How do I fix this?

*Fixed*
[Android Software/Hacking General [Developers Only]] complicazio:
I will try
[Android Software/Hacking General [Developers Only]] CosmicDan:
Well crap. Wanted to try and fix some bugs in the latest Aroma, only to find that the sourcecode for the major 3.0 version was never pushed to GitHub - we're stuck working with 2.70RC2 which is really slow and probably has more compatibility issues.

This is really disappointing. Guess this is dead, no talented C developers have wanted to take over for the years since amarullz abandoned the project :(
[Android Software/Hacking General [Developers Only]] nkk71:
What's wrong with 2.7RC2?
[Android Software/Hacking General [Developers Only]] CosmicDan:
It's significantly slower, even when I compile with NEON. I have to disable all animations in the theme to get close to the 3.00 speed.

Just check the changelog, it lists some pretty significant optimisations.

But I will have to do with 2.70, hopefully it still supports most touchscreens.
[Android Software/Hacking General [Developers Only]] Tulsadiver:
It might not be in GitHub but you can still download it and use it can't you?
[Android Software/Hacking General [Developers Only]] nkk71:
tbh can't say I tried it much, so I cannot say about the "speed", thought most of the changes were rather related to *input* *things* (at least I thought)

But yeah, i'm very sorry too, he never pushed his last updates.

He doesn't want to use it, he wants the source code to fix and improve things.
[Android Software/Hacking General [Developers Only]] CosmicDan:
Yep. It's usable if I turn off animations, at least.

I will work with 2.70, don't have a choice. If my project gets big enough to attract people on devices with broken input then hopefully I will also attract *real* C Devs to fix it haha.

I already fixed a couple bugs in getprop functions on my branch that were causing the function to fail or even hard-freeze the whole installer. I considered adding a file_setprop function but it's way too much work - using an exec with sed is good enough.

I'll continue to make any improvements that I feel are necessary to make aroma installer support "dynamic menus" better, maybe release a build soon for all those interested.
[Android Software/Hacking General [Developers Only]] nkk71:
Only things I added was touch not working on some Sprint phones and the >2GB zip patch. Quite a while ago I did some changes for the installer crashing completely, but those were never tested nor confirmed to be the problem.

But yeah, it's a pitty we don't have the last changes nor a central place to work on.
[Android Software/Hacking General [Developers Only]] CosmicDan:
Yep, I saw your fork.

Well the project is Apache licensed - there is nothing stopping us (legally) from forming the project to a new organisation which you and I were set to contributors to, for example. Just as long as we don't claim the original work/project as ours.
[Android Software/Hacking General [Developers Only]] sam.foro:
.

Edit: Solved
[Android Software/Hacking General [Developers Only]] sam.foro:
Deleted
[Android Software/Hacking General [Developers Only]] sam.foro:
Hi,

It's possible make a submenu using checkbox previous?

With selectedbox o menubox work fine.

Thanks in advance.
[Android Software/Hacking General [Developers Only]] kemo2015:
Hello dear Developers

When I try to flash a rom zip with aroma I get the following error :

failed to stat " tmp/aroma/jingjian.prop" No such file or directory. Error status 7

Can yoy help me please?

attached is aroma config. and updater script.

The folders in the zip are as follows :

9100

jingjian

fonts

google

meta-inf

models

system

tools

Thanks in advance
[Android Software/Hacking General [Developers Only]] juniecho:
Is it possible to localize "Save Logs" button at the end of installation?

Is it possible to do this, using .lang files? For example,

text_ok=OK

text_next=Next

text_back=Back

text_yes=Yes

text_no=No

text_about=About

I can use these lang resources to provide localized texts on buttons. But I can't find any variable for 'Save Logs' button text.

Any advice?
[Android Software/Hacking General [Developers Only]] Bradl79:
can someone tell me what i am doing wrong, the zip files will not install while installing with the OS

updater.script

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

then

ui_print("==> Installing ARISE Sound System");

run_program("/tmp/theone/busybox", "mkdir", "/tmp/arise");

run_program("/tmp/theone/busybox", "unzip", "/tmp/theone/soundmod/ARISE/ARISE.zip", "META-INF/com/google/android/*", "-d", "/tmp/arise");

package_extract_dir("theone/soundsmod/ARISE", "/tmp/arise");

set_metadata("/tmp/arise/META-INF/com/google/android/update-binary", "uid", 0, "gid", 0, "mode", 0777);

set_metadata_recursive("/tmp/arise", "uid", 0, "gid", 0, "dmode", 0777, "fmode", 0777);

run_program("/sbin/busybox", "sh", "/tmp/arise/META-INF/com/google/android/update-binary", "dummy", "../../../tmp/fos_logs/arise.log", "/tmp/arise/ARISE.zip");

run_program("/tmp/theone/busybox", "mount", "/system");

delete_recursive("/tmp/arise");

delete_recursive("/tmp/theone/arise");

ui_print("- Extract Viper4Android profiles & IRS");

ui_print("@ Extracting Viper4Android profiles & IRS");

package_extract_dir("theone/viper4android", "/data/media/0/");

endif;

### Sound Mod

if file_getprop("/tmp/aroma/soundmod.prop", "item 1.2") == "1"

then

ui_print("==> Installing Dolby Atmos");

run_program("/tmp/theone/busybox", "mkdir", "/tmp/dolby");

package_extract_dir("theone/soundmod/Dolby", "/tmp/dolby");

set_metadata_recursive("/tmp/dolby", "uid", 0, "gid", 0, "dmode", 0777, "fmode", 0777);

run_program("/sbin/busybox", "unzip", "/tmp/dolby/DolbyAtmos.zip", "META-INF/com/google/android/*", "-d", "/tmp/dolby");

run_program("/sbin/busybox", "sh", "/tmp/dolby/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/dolby/DolbyAtmos.zip");

delete_recursive("/tmp/dolby");

endif;

aroma config

checkbox(

"theOne3TOS",

"Selected Sound Mods will be installed",

"@customize",

"soundmod.prop",

"Sound Mods", "", 2,

"Install ARISE Sound System","Deuteronomy™ 2.0 20161011",0,

"Install Dolby Atmos","Lenovo A7000 6.5 Atmos 1.1.4",0

);

i check the boxes but through the script it just show the uiprint and does not install either, i have them in the correct locations, if i create just an aroma file with out system installing, it works, but i don't want to make 2 different aroma files. thank you!
[Android Software/Hacking General [Developers Only]] sam.foro:
Hi,

Change /tmp/aroma/....

For /tmp/aroma-data/...

set_perm_recursive(0, 0, 0755, 0644, "/system/app");

It's correct, but it's posible that your files don't be correct.

Please, check update-binary and update-binary-installer
[Android Software/Hacking General [Developers Only]] WILMANS2M:
Big problem on Huawei P10

Touch does not work at all. We can use VolUp, VolDn keys to navigate but we are not able to see where the cursor goes.

I tried both version (2.7 & 3) but it is all the same.

Any idea/advice to what can i do ?

I thank you in advance.
[Android Software/Hacking General [Developers Only]] WILMANS2M:
I wonder: Can we use a zip file with 2.5Go size ? I got an error 1 in TWRP. Thanks.
[Android Software/Hacking General [Developers Only]] CosmicDan:
I'm pretty sure the ZIP has to fit on cache.

Instead, put just the installer in a ZIP, then you can put all other files in other ZIP(s) and conditionally extract them during the Aroma script when needed.
[Android Software/Hacking General [Developers Only]] fairyshacker:
how to change installation language on aroma installer?

I have a Russian custom ROM & I'm unable to read & install it.

thanks in advance.
[Android Software/Hacking General [Developers Only]] CosmicDan:
By editing the script. But chances are there are no English strings put in by the author, that's up to them to do. So translate yourself with Google translate.
[Android Software/Hacking General [Developers Only]] fairyshacker:
can you able to point me the post on, how to? sorry, searched, but couldn't get it. i have uploaded the file from that rom.

thanks mate!
[Android Software/Hacking General [Developers Only]] CosmicDan:
Everything you need is linked in the OP. There is no quick fix for this, you will need to learn Aroma script syntax.
[Android Software/Hacking General [Developers Only]] Aruscha:
Why no more Updated this Project?

I have see the last update is from 2013 is this correct?
[Android Software/Hacking General [Developers Only]] CosmicDan:
Amarullz disappeared without a trace, sadly.
[Android Software/Hacking General [Developers Only]] wuthichai:
Work!
[Android Software/Hacking General [Developers Only]] Titus Karau:
My phone say adroid.com.has. stopped
[Android Software/Hacking General [Developers Only]] CosmicDan:
My cat's breath smells like cat food.
[Android Software/Hacking General [Developers Only]] NotATreoFan:
My cat is a fan of Greenies. They don't work... :(
[Android Software/Hacking General [Developers Only]] JEANRIVERA:
would aroma fail to run on a device that doesn't have a cache partition? like newest A/B devices like OP6 and HTC U12+ is there any work around?
[Android Software/Hacking General [Developers Only]] CosmicDan:
Nope. Works 100% fine on Mi A1.

Send a recovery.log (get it via adb shell if needed) to us.

Chances are it's incompatible though, and there isn't much you can do if that's the case since Aroma is abandoned and the current source was never released :rolleyes:
[Android Software/Hacking General [Developers Only]] JEANRIVERA:
let me explain a little bit deeper of what is exactly happening for my device HTC U12+, once I select the zip in TWRP the zip looks like it is going to start but the interface just freezes without even showing the usually aroma zips splash, then I noticed I could press the buttons and get feedback from them so it is not completely frozen I said then I started to press random combinations of buttons and the aroma installer finalized without issues, so the problem is I do not get any graphics from the aroma installer but it is actually running in the background, i'll attach some logs but I think they are useless no to much information in them. thanks for your time & reply

PD. I guess the same exact thing is happening in OP6 , I can't confirm because I do not own the device, but the similarities between HTC U12+ & OP6 are that both are SD845 and both are Official Treble A/B devices I look around for other Official Treble A/B devices with SD845 but I couldn't find any flashable zip that contains aroma installer on them to test
[Android Software/Hacking General [Developers Only]] CosmicDan:
The problem is that your device/TWRP is using DRM graphics (hardware accelerated) instead of framebuffer (traditional SW rendering). Aroma doesn't understand how to use your graphics "driver".

Unless you can get a build of TWRP (and kernel) with classic framebuffer rendering, it can't be fixed. Not sure how likely or even possible that is.
[Android Software/Hacking General [Developers Only]] JEANRIVERA:
thanks a lot for the information I will pass it over to TWRP team & kernel devs!!
[Android Software/Hacking General [Developers Only]] jesvi:
Hello ,

I tried adding aroma support to my rom

& 1st i used aroma v2.70 but gives error 1 when the file is more than 2.0gb . K, to solve this i debloated the rom (to 1.3gb)

This time , it shows all the menu and stuff as commanded but when installing the rom , everything goes well untill the part where it installs magisk ("convinient environment"-magiskv18.0) , the device shutdowns directly (i:e screen goes black) .

So to solve this , i made a zip without magisk but by that way , the aroma installation ends successfully and does its job but my phone wont boot when rebooted to system coz it has to rooted to be booted(some kinda patch)

My request is , is there a way to solve the automatic poweroff while installing magisk (the part where it unpqcks boot.img) ???

If found , plz help me :)

I'll provide tge screenshot and more details soon ....

EDIT : just a tip use 7zip and not winrar and make sure your zip size is below 3.2gig else split the zip in zip no. 1 and two and use a bash script to unpack the other zip and place/execute the files ..... .about magisk .... I used another version of msgisk installer and This fixed my problem
[Android Software/Hacking General [Developers Only]] dedraks:
Hi.

Can I show images inside the AROMA dialogs?
[Android Software/Hacking General [Developers Only]] HemanthJabalpuri:
Just like normal update-binary, you have to replace update-binary-installer with your own one.

See reference here https://github.com/cosmicdan/CosmicTweaks_HMNote4
[Android Software/Hacking General [Developers Only]] Pupet_Master:
I've made an AROMA to debloat my system and install full hosts.

It boot fine on the AROMA, it go through everything but it wont delete the apps.

Can anyone take a look and tell me what i'm doing wrong?
[Android Software/Hacking General [Developers Only]] Wahyu6070:
kenapa gak di trusin lagi pak,ini karya yang hebat
[Android Software/Hacking General [Developers Only]] SacredDeviL666:
Just a reminder related to non-english posts.

Forum rules

Thanks

SacredDeviL666.
[Android Software/Hacking General [Developers Only]] enotar:
Hey guys, old thread but still fantastic.

I buid an aroma installer for a Rom for Samsung Galaxy tab S4 and it display great in landscape but the touchscreen is in portrait so it is hard to find the location of buttons.

Can someone give me the setup I need to change in the config to make it work in landscape?

Thank you
[Android Software/Hacking General [Developers Only]] mclaudio:
hello to all. i dont know how to configure aroma, i have a fiio m9 device that onlly one dev was able to make a custom rom but has some problems. he was trying to solve them but meanwhile abandoned the development.

i have one aroma file that installs but does not boot, then another version should be fixed but does not copy any file. can someone please have a look at the files and help me making the installer copy the files?

thanks
[Android Software/Hacking General [Developers Only]] zhaozhengyang:
在我的书签里找到了这个帖子，10年过去了，希望大家一切都好

Mod translation: Found this post in my bookmarks, 10 years on, hope everyone is doing well
[Android Software/Hacking General [Developers Only]] mickey-r:
Your installer become nearly perfect :)

I'm glade to send you some coins for your job (7N213330T9918743D)

Regards
[Android Software/Hacking General [Developers Only]] amarullz:
Thanks Sir :D .. I will update the first page...

+plus I can't keep this build for my own... I need tester now.

The nightly build will move to:

http://www.amarullz.com/_downloads/nightly/

And Latest Nightly already Uploaded:

http://www.amarullz.com/_downloads/nightly/aroma-nightly_1.50-120223-023.zip

NOTE: The AROMA Installer Demo not Finished yet... only some demo already available,.. but please test it.

It included 4 custom themes (you can select it in first screen after the splash :D )
[Android Software/Hacking General [Developers Only]] matt95:
this is an awesome job man! i think you have done the best and useful thing in the world!
[Android Software/Hacking General [Developers Only]] Namaless:
Working on and post result tomorrow :D

---------- Post added at 09:15 PM ---------- Previous post was at 08:40 PM ----------

WOW! It's beautifull version :)

Need more time for convert my script to new version..

One question: the update-binary now support format with 3 params?
[Android Software/Hacking General [Developers Only]] amarullz:
Just replace with your own update-binary-installer... :D.

Always same when the release updated... replace it with yours :)
[Android Software/Hacking General [Developers Only]] crybert:
You already have an idea if you can implement the support for the Galaxy S Plus or can I change some color-strings so that the windows aren't transparent anymore? Greets crybert
[Android Software/Hacking General [Developers Only]] amarullz:
is the nightly doesn't fix the problem?

is the problem only in ics theme?
[Android Software/Hacking General [Developers Only]] Namaless:
the "prop" function working with your update-binary-installer but with my ??

If you want add my rom to your topic:

Samsung Galaxy SCL I9003: http://xdaforums.com/showthread.php?t=1230263
[Android Software/Hacking General [Developers Only]] crybert:
Okay the windows aren't transparent anymore but now the whole window is red :D

The first Picture is with SenseTheme. The Second one with ICS. The other themes look almost the same.
[Android Software/Hacking General [Developers Only]] Namaless:
LOL! Use white text is good no?

Sorry for game :)
[Android Software/Hacking General [Developers Only]] amarullz:
prop only works on aroma-config. updater-script still pure an old script....

That was error in color offset... Will find some way to fix it... but @crybert, your display information before not completed/full. can you try the number 4?? :D