yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Snuzzo:
https://raw.githubusercontent.com/P...ice_asus_grouper/kk/aroma/aroma-device-config

https://github.com/Plain-Andy/android_device_asus_grouper/blob/kk/aroma/aroma-device-script
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
No

"if then else endif"

in link.

Only Things i already now and have in my Aroma.

I need to skip Menueparts after first selectbox.

http://pastebin.com/5X3tMLUA
[Android Software/Hacking General [Developers Only]] Snuzzo:
How about actually looking for it. I'm done helping you. Go help yourself.
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
You think i didnt do that "befor" i asked here.

Please take a look at my Config.

All done without any help..

But now i am finished with my knowledge.
[Android Software/Hacking General [Developers Only]] Snuzzo:
What you're looking for is someone to do for you what you don't know how. I showed you how an "if then endif" works. Add an else in there and that adds a "false" value to the statement.

Give a man a fish; he will eat for a day.

Teach him to fish; he will eat everyday.
[Android Software/Hacking General [Developers Only]] Negan:
Hey guys,

I'm a bit rusty with aroma and decided last night to write a config and updater for my new rom. Finished it tonight and then ran into the issue of nothing actually flashing once aroma is finished going through all the options. The log contains pretty much nothing at all.

Now from what I remember that is typically associated with the binary-installer not being from a working update-binary being renamed as such. I double checked that and that is not my issue. I'm thinking perhaps my updater or aroma config is missing something. It's been too long since i've used aroma. Note to self: use this tool a bit more often!

Anyway I'm going to upload my config and updater and if anyone would like to be my second set of eyes that would be fantastic. Maybe it's just too late at night and I'm just too tired!

https://drive.google.com/file/d/0B6g1n002NA7xejh6LTRHaTh1ZjQ/view?usp=sharing
[Android Software/Hacking General [Developers Only]] Snuzzo:
[MENTION=5098295]markbencze[/MENTION]

Check recovery.log for any updater-script errors
[Android Software/Hacking General [Developers Only]] Negan:
Here's what's in my log. Top line is the only thing that indicates something is not right
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
First i whould update Aroma to 2.7rc2
[Android Software/Hacking General [Developers Only]] Negan:
update:

Not the problem. I'm still thinking my updater has something missing or out of order
[Android Software/Hacking General [Developers Only]] crybert:
Hey, guys I need your help. I try to format a partition the following way:

format("ext4", "EMMC", "/dev/block/mmcblk0p16");

But then I get the following error

format: unsupported fs_type "ext4" partition_type "EMMC"script aborted (no error message)
script aborted (no error message)

How do i format a partition the right way with this installer?
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
By letting people format their own cards. In order to format as ext4, the recovery kernel has to support ext4. And since you cannot guarantee that all peoples recovery (Inc your own apparently) support this, you should not mess with it. If you want to empty the partition, then mount it from updater-script and execute a busybox rm -rf sd-ext/* instead.

Also if you start changing peoples partitions, they might be a bit angry. I use Ext2 and would not like it if some ROM installer starts changing this to Ext4.
[Android Software/Hacking General [Developers Only]] crybert:
My ROM is for the Samsung Galaxy S Plus. This phone uses ext4. With my current updater-script I have no problems formatting the /system (/dev/block/mmcblk0p15) , /cache (/dev/block/mmcblk0p16) and /data (/dev/block/mmcblk0p17) partition with ext4. Now I want to do this also with AromaInstaller for performing a FULL WIPE or formating Cache.

So I will not change any partitions.
[Android Software/Hacking General [Developers Only]] TweetyPeety:
you tried to take your normal updater-binary from your current rom, change the name to updater-binary-installer, put it in the meta-inf folder where the aroma installer lies and than all old scripts and codes from your updater-script should work as usuall.....
[Android Software/Hacking General [Developers Only]] crybert:
Thank you, it worked!

I have another question. When I'm using AROMAInstaller all windows look really strange. They are transparent and have strange colors. Anyone have an idea whats wrong?
[Android Software/Hacking General [Developers Only]] amarullz:
can you send the screen shoot or photo?
[Android Software/Hacking General [Developers Only]] crybert:
These are screen with your ICS-Theme enabled. With the stable version/standard theme the results are similar.

EDIT:

I have also this further problem. The Installation seems to run well, but when I will restart the phone it wont boot up because no system-files were copied.

format("ext4", "EMMC", "/dev/block/mmcblk0p15"); ###seems to work because /system is empty#####
mount("ext4", "EMMC", "/dev/block/mmcblk0p15", "/system");
package_extract_dir("system", "/system");

The system-folder is in the same "directory" as the META-INF-folder. Do I overlook something? Normally this should work.
[Android Software/Hacking General [Developers Only]] Namaless:
Install code 1536 what is this?

Inviato dal mio GT-P1000 usando Tapatalk
[Android Software/Hacking General [Developers Only]] comnam90:
Need a little help guys

Can someone look at my config?

http://dl.dropbox.com/u/23356668/aroma-config

cheers
[Android Software/Hacking General [Developers Only]] dorimanx:
yes i think there is only one dorimanx in xda :)

i had htc hd with NRG ROM :)

i was just a happy WM user :)

now i remember you too, from old days :)

you gave us the best and only touch installer that will be the leading installer in years to come :)

Sent from my HD2 development phone.
[Android Software/Hacking General [Developers Only]] Namaless:
Can add to update-binary-installer the format function with 3 args?

If you want attach it for my device :)

Inviato dal mio GT-P1000 usando Tapatalk
[Android Software/Hacking General [Developers Only]] TweetyPeety:
again Amarullaz thanks for this great tool, my second Rom has it now also

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

and therefore only one Rom left of mine. The Rom for Optimus Speed, but this will take a couple of weeks, have to concentrate on UNiversity.
[Android Software/Hacking General [Developers Only]] amarullz:
you forgot to add ";" in the end of function:

686 "item.1.65=1\n"+
687 "item.1.66=1\n"+
688 "item.1.67=1\n"+
689 )[B][COLOR="Red"];[/COLOR][/B]
700 endif;

Updated http://xdaforums.com/showpost.php?p=21756063&postcount=7 Thanks :D

Yes please attach it.. (Plus add information about your device). I will create update-binary-installer repository post in first page....

D*mn,.. I have no idea with your screen, but it's :cool: cool!!!... What is your device?... I think it think that the black color was transparent... Will find what cause it... But can you run this zip in recovery ? (It will capture your device framebuffer information), and dump the output (recovery.log) after you run it.

About the problem of format/mount... Try to replace the update-binary-installer with your common update-binary in old your installer (rename it to update-binary-installer), It's already said in many post in this thread...
[Android Software/Hacking General [Developers Only]] comnam90:
Corrected code as advised but still getting the same syntax error
[Android Software/Hacking General [Developers Only]] Namaless:
Please go to advanced and choose error report. Attach your /sdcard/recovery.log

In this file show the line errors.

@amarullz

Can get me table of install errors? Example 1536 xd

Tomorrow send to you my script to view the big configurations i have used.

You have only banner in op for add in my rom?

Inviato dal mio GT-I9003 usando Tapatalk
[Android Software/Hacking General [Developers Only]] Namaless:
Try remove latest + at finish item line 688.

Inviato dal mio GT-I9003 usando Tapatalk
[Android Software/Hacking General [Developers Only]] comnam90:
you are my Savior!
[Android Software/Hacking General [Developers Only]] amarullz:
Yes I am forget about + :D. I reply it when I am just woke up from bed :p
[Android Software/Hacking General [Developers Only]] amarullz:
Next Update Info:

Next Update will support ALIGNMENT... Yeah...

<@center>Center</@>

<@left>Left</@>

<@right>Right</@>

<@fill>Justify</@>

Great... :cool:

​
[Android Software/Hacking General [Developers Only]] crybert:
I have a Samsung Galaxy S Plus GT-I9001

When I run the provided zip I get an error. There is only the update-binary in it. Is this right?

I will test some other update-binaries and hope these will work then.
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
I notice that you have here

file_getprop("/tmp/aroma/boot_animation.prop","selected.2")

and here

file_getprop("/tmp/aroma/boot_animation.prop","selected.2")

and here

file_getprop("/tmp/aroma/battery.prop","selected.2")

selected.2

But your in your Selectbox is only 1 Option.

selectbox(
"Boot animation",
"Please make your selection:",
"@boot_animation",
"boot_animation.prop",

"BenczeOS","Custom boot animation designed for BenczeOS",0,
"Stock 11s","Stock boot animation for CM 11S",0

);

So i think it must be selected.0

selected.1

or

selected.2

works if the Selectbox looks like

selectbox(
"SYSTEMUI",
"Select the options you want to customize SystemUI.",
"@personalize",
"systemui.prop",

"STATUSBAR CLOCK", "",2
"NO CHOICE","",0,
"Clock-Left No-Lock","Clock-Left No-Lock",0,
"Clock-Left Lock-Right","Clock-Left Lock-Right",0,
"Clock-Center No-Lock","Clock-Center No-Lock",1
"Clock-Right No-Lock","Clock-Right No-Lock",0,
"Clock-Right Lock-Right","With Lock To Right",0,

"QUICKLAUNCH", "",2,
"Without Quick","Install Without Quick",0,
"With Quick","Install With Quick",1
);
[Android Software/Hacking General [Developers Only]] Negan:
Ahh good eye. I'll give that a whirl. Thanks for taking the time to look into this with me.

Update: here's my latest updater with a few changes. Still same result of going aroma but no flash. So odd. Almost like its not actually mounting system.

http://pastebin.com/JBaKE6v4

After more tinkering and second opinions I am convinced it is a binary issue. The updater is not the issue. So this I have not ran into prior. My binaries are from my rom base. I even redid the rom base a few times and tried older working binaries and all give the same result. Has anyone had this happen and solved it?
[Android Software/Hacking General [Developers Only]] Negan:
Well there's a few aroma q &a threads so I'm also posting here. I meant to post this a few days ago. Still no progress

OnePlus one aroma issue: http://youtu.be/_c_Nqh_pozM
[Android Software/Hacking General [Developers Only]] STRYDER~007:
Please Somebody Help...

Hello sir...I created one package using this guide but It's not getting flashed...The files are not copying to system...It only shows installing then nothing happens...When clicked next it shows Installation finished....Can somebody help me??I already copied update-binary of my previous working mod and renamed it to update-binary-installer...Here's my aroma-config and updater-script...Thank you...

aroma-config

updater-script

EDIT:SOLVED...:good:
[Android Software/Hacking General [Developers Only]] enotar:
how did you solve?

I have the same issue

thanks
[Android Software/Hacking General [Developers Only]] franzyroy:
It's an issue in the updater-script, a issue of synthax, a comma or other.

Send to my GT-I9505
[Android Software/Hacking General [Developers Only]] AndyMcMars:
is it possible to take an argument from a txt file and insert it in a select box?

i mean

##
# Sub Window 1
#

selectbox(
#-- Title
"PROVA",

#-- Sub Title
"Scperem",

#-- Icon:
"icons/install",

#-- Will be saved in /tmp/aroma/prova.prop
"prova.prop",

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

"All your app in /system/app", "Select app that you want to uninstall", 2, #-- Gruppo 1. key = "selected.1"
"[COLOR="Red"]here i want the name of the app that aroma takes from an external txt list[/COLOR]", ".....", 0 #-- selected.1 = 2

#--------[ Initial Value = 0: Unselected, 1: Selected, 2: Group Item, 3: Not Visible ]---------#

);

can i insert a code in place of the red text? like getvar("")

sorry for my english

thank
[Android Software/Hacking General [Developers Only]] Snuzzo:
Maybe resread?
[Android Software/Hacking General [Developers Only]] hlxanthus:
I don't think you could do it quite like that, but you could generate the list within that prop file then use resread as suggested afterwords to call a script that could be written to delete your files.

Sent from my Nexus 6
[Android Software/Hacking General [Developers Only]] AndyMcMars:
Ok thank you guys i'll try that and let you know :)

Edit: resread isn't only used to show the content of a txt file?
[Android Software/Hacking General [Developers Only]] Snuzzo:
Only other item I can think of. Do an inplace sed on aroma-config itself prior to the menu/select/check you are attempting to run it on.

ex

run_program(/sbin/bin/sh script.sh) which holds cat awk or sed in place commands. I've never tried this before.
[Android Software/Hacking General [Developers Only]] Snuzzo:
OK here's a good question; is there a way to input a custom value from a user prompt? Only way I can think of is via resread+modify prior to install.
[Android Software/Hacking General [Developers Only]] ironbesterer:
I need help getting an aroma installer log. When I try go to boot the rom, it hangs on the boot logo. If I could pull an aroma log, I could find out what isn't flashing properly. How do I do this?
[Android Software/Hacking General [Developers Only]] Snuzzo:
Remove aroma completely first. If it boots then I'd troubleshoot aroma.
[Android Software/Hacking General [Developers Only]] AndyMcMars:
Hey guys i have created a new Lollipop theme for AROMA! Feel free to use this in your AROMA package :D

Simply extract the folder in aroma/themes

DOWNLOAD:

Aroma Lollipop Theme.zip
[Android Software/Hacking General [Developers Only]] Shawn5162:
Is aroma installer compatible with lollipop roms
[Android Software/Hacking General [Developers Only]] Snuzzo:
Yes. I'm using it alongside an update-binary from lollipop source.
[Android Software/Hacking General [Developers Only]] :
I am having a little problem.

When the aroma installation is finished, I reboot and the phone does not boot. The only screen that shows up is 'Samsung Galaxy...'

The files that are being flashed are correct and fully working. Can I give the aroma-installer and updater-script to someone and try to help me find the problem?

Here are the 2 files, if anyone can take a look; View attachment 3078941

Regards,
[Android Software/Hacking General [Developers Only]] MikelFuchs:
Did you use it with a custom recovery or stock recovery? Sometimes there are issues with stock recoveries.
[Android Software/Hacking General [Developers Only]] :
Custom, CWM 6.0.5.1

Edit: Fixed it! It was a permissions error. Fixed them.
[Android Software/Hacking General [Developers Only]] tungdil:
aroma-config syntax-highlighting for geany

Hi!

Inspired by this thread I created the attached filetypes.Aroma.conf and thought it might be interesting for others using Geany. So here we go...

For "installation" just copy filetypes.Aroma.conf to your geany filedefs directory:

cp filetypes.Aroma.conf ~/.config/geany/filedefs/

Then open the filetype_extensions.conf user file with the Tools->Configuration Files->filetype_extensions.conf menu item (this adds the default settings to the user file if the file doesn't exist) and add the following line in the [Extensions] section:

Aroma=aroma-config;

You may, at your option, also add Aroma to one of the groups in the filetype_extensions.conf user file. My [Groups] section currently looks like this:

[Groups]
Programming=Clojure;CUDA;Cython;Genie;Go;Rust;Scala;
Script=Graphviz;
Markup=
Misc=Aroma;Edify;
None=

After saving your filetype_extensions.conf, restarting Geany and re-opening the aroma-config files syntax-highlighting should work...

Have fun!

tungdil
[Android Software/Hacking General [Developers Only]] raulx222:
Hey,

Is there a way to use "write" in aroma-config to create a folder on sdcard?..because if i use "write" to write a file in a folder that doesnt exist, the folder isnt created..and i really need this feature :D

EDIT: I did it in other way.. I think its not possible to create folder via "write"
[Android Software/Hacking General [Developers Only]] hlxanthus:
Well there are a few ways to do this . . you could write it to /tmp with writetmpfile. Then in your updater-script move the file with regular edify. Or if you feel limited with the functions of aroma, try bash scripting. Create a script in your aroma folder that does a mkdir /sdcard/NameOfDIR . . and execute it with resexec. Sure there are other ways, but those are 2 I thought of off the top of my head.
[Android Software/Hacking General [Developers Only]] franzyroy:
Can be a little late but better late than never! :p

You can make this in "aroma-config":

exec("/sbin/busybox","mkdir","-p","/sdcard/YourFolder");
[Android Software/Hacking General [Developers Only]] hlxanthus:
I never ONCE though of calling busybox that way . . that's brilliant!! Bravo sir ?
[Android Software/Hacking General [Developers Only]] amarullz:
Sorry everybody for waiting the new release :crying: !!

I had so many works in past years, and cannot managed to touch any aroma's code, but luckly I have a couple of project that use many aroma code, and already modify it into the library. I just publish (still usable source) it in github with name "libaroma" and will be next big step core for AROMA Filemanager and AROMA Installer -> https://github.com/amarullz/libaroma - but I need to modify and restructure all filemanager/installer code to use the new library, but It will support even many devices and fixes many bugs and performance.
[Android Software/Hacking General [Developers Only]] sbdags:
This is indeed great news!!! :good: :good: :good:
[Android Software/Hacking General [Developers Only]] digitalhigh:
Dudewhat!?

Is this post invisible or something? How has only one other person commented on the fact that HE'S BACK!!

[MENTION=402300]amarullz[/MENTION] - I'm a huge fan, and I'm super-excited to see what you've come up with next for us. I've been using Aroma for a long time in my ROMS, and I'd hesitate to say that yours is probably one of the biggest contributions to the custom mod scene.

I'm very familiar with Aroma, and have added some features to my own aroma-config files that would be neat to see in the native installer. For example, parsing system attributes like device type from system, not recovery information; native backup/recovery of previous Aroma selections; native support for firmware image flashing; native reboot to bootloader; allow to reboot immediately after finish of install; ability to go *back* and select "save install log" if you forgot to check it the first time...

If you need help testing anything, I'm also willing to lend a hand. I'm used to debugging my own installers, so I'm familiar with running an installer and adbing in to see what the filesystem is doing...grabbing logs...etc.

Either way...awesome to see you back. I know a few people who will be very excited at this news. :D
[Android Software/Hacking General [Developers Only]] amarullz:
Thanks for your motivation :), no! other users is read my post, but they choice to keep the thread clean by just hit thanks button :D

libaroma now support json, uri, shared memory, and many other interesting features that will be useful for AROMA Installer. unfortunetly I can't keep the previous version script compatibility with new installer, because something like file access will be uri base. example: reading text file will be like this read("file:///tmp/text.txt") for file in filesystem, read("res://aroma/text.txt") for resource, or read("zip:///sdcard/0/myzip.zip#/path/text.txt"). It was hard decission for me, but I hope it will make script cleaner and mor structured.
[Android Software/Hacking General [Developers Only]] mcgrave:
Is there any possibility to install aroma without Root? Saw a youtube vid that it installed via TWRP but that app only goes with root.. :-/
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
Without Root no Custom Recoverymenue

Without Custom Recoverymenue no flash of unsigned .zip
[Android Software/Hacking General [Developers Only]] hlxanthus:
Well, you don't need root at all, as root has to do with system level user permissions. TWRP is a custom recovery, and while on some devices root is needed to initially install TWRP it is not in the least needed to use it.

So you don't need root, but you do need a custom recovery like TWRP or CWM
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
And how to become a Custom Recoverymenue without Root?
[Android Software/Hacking General [Developers Only]] dawgdoc:
It probably depends on your device.

With a Samsung phone/tablet you can install a custom recovery, without root, using Odin or Heimdall. On some other devices you can do so with adb and/or fastboot.
[Android Software/Hacking General [Developers Only]] sbdags:
Yes root is not needed on a lot of devices these days for a custom recovery. On Asus devices you just need to have an unlocked bootloader and then you can fastboot flash or boot a custom recovery.
[Android Software/Hacking General [Developers Only]] mcgrave:
And for Nexus 5? Hopefully I can find some video tutorial or step by step tutorial.. :(

Verstuurd vanaf mijn Nexus 5 met Tapatalk
[Android Software/Hacking General [Developers Only]] dawgdoc:
Probably found by searching in the Nexus 5 forum by either of us. Even if found I could not verify if it works for you, I don't have the device.
[Android Software/Hacking General [Developers Only]] joni2012:
Good morning I like added themes in aroma in lollipop problem no found. In yes 4.4.4 found. Thank
[Android Software/Hacking General [Developers Only]] amarullz:
Version 3.00b1 is ready to download: http://xdaforums.com/devdb/project/?id=330#downloads​
[Android Software/Hacking General [Developers Only]] sbdags:
Any documentation around the changes in scripting [MENTION=402300]amarullz[/MENTION]?
[Android Software/Hacking General [Developers Only]] amarullz:
no syntax/features changes, but graphic and touch engine was updated that support more devices, also It will improve significant performances & reduces all lags...
[Android Software/Hacking General [Developers Only]] hlxanthus:
[MENTION=402300]amarullz[/MENTION] I did notice some stuttering on shamu.
[Android Software/Hacking General [Developers Only]] joni2012:
Link please?
[Android Software/Hacking General [Developers Only]] varun.chitre15:
Hello amarullz,

Aroma installer does not start on my device at all. It hangs at "Starting installer" point.

It looks like an issue with framebuffer. I have pmed you few days ago about my analysis on the issue.
[Android Software/Hacking General [Developers Only]] amarullz:
please dump /tmp/recovery.log (use pastebin) please
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
And this update broke touch on my Sprint M8, after you merged my patch that fixed it. I'm guessing you added something after that patch that broke it again :(.
[Android Software/Hacking General [Developers Only]] amarullz:
It still beta1, will fix as many problem as I can. Did previous quick version is works?
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
It worked in 2.70RC2 after applying this patch, which you merged. This patch, which someone else made, was supposed to fix it, but didn't. I'm not sure if that's the reason it's broken now or something you added afterwards.