yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] upndwn4par:
Sometimes Aroma can hang or do other weird stuff when a colorspace is forced when it starts. My workaround is loading the "yellow" ics theme first then forcing a colorspace when a theme is selected by the user.

theme("ics");
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;ttf/DroidSansFallback.ttf;", "12" );
loadlang("langs/en.lang");
fontresload( "0", "ttf/Roboto-Regular.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf", "18" );
ini_set("rom_name","Graviton S4");
ini_set("rom_version","v2.2");
ini_set("rom_author","upndwn4par");
ini_set("rom_device","Galaxy S4");
ini_set("rom_date","26 Jan 2013");

selectbox(
"Aroma Installer Setup",
"Aroma Theme Options",
"@theme",
"theme.prop",
"Please Select a Theme for Aroma","",2,
"<#selectbg_g>ICS</#>", "",1,
"<#selectbg_g>MIUI</#>", "",0,
"<#selectbg_g>Sense</#>", "",0
);

if
file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "1"
then
ini_set("force_colorspace","rgba");
theme("ics");
endif;
if
file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "2"
then
ini_set("force_colorspace","rgba");
theme("miui");
endif;
if
file_getprop("/tmp/aroma-data/theme.prop","selected.1") == "3"
then
ini_set("force_colorspace","rgba");
theme("sense");
endif;
[Android Software/Hacking General [Developers Only]] franzyroy:
OK, I understood but for the moment, I've not the choice of themes. Because, I search to add it as the language (language_select.edify) or the settings of animation (custombox_test.edify).

But thanks! ;)
[Android Software/Hacking General [Developers Only]] JustArchi:
I've managed to implement something like this:

https://github.com/JustArchi/ArchiDroid/commit/512b9705802e23fa18fb278324031c161da02767

The whole concept is to load saved files, set preset to custom and enter customize screen. However in my case whole aroma hangs if files don't exist, so this need a little more tweaking.

If you have a previous preset saved, this will allow you to load it and set your choices as "default" on customize screen, and I guess this is what you want.
[Android Software/Hacking General [Developers Only]] franzyroy:
I don't know if you talked about that, but I've made a mod in the "aroma-config" script which saved your choice. Like that, a the next installation, you could take it again. The backup was saved on the sdcard.
[Android Software/Hacking General [Developers Only]] JustArchi:
A previous preset option exists in my aroma since ages :D. I'm experimenting with a previous preset option + giving user an option to modify his preset apart from only loading it :).
[Android Software/Hacking General [Developers Only]] franzyroy:
OK.

In the my script, you could load it and change it. But no problem, I would just help you.
[Android Software/Hacking General [Developers Only]] JustArchi:
I appreciate your help :). But please try to test your option without existing files to see if aroma hangs for you as well :).
[Android Software/Hacking General [Developers Only]] franzyroy:
It works because if no files, aroma creates them.

---------- Post added at 06:48 PM ---------- Previous post was at 06:35 PM ----------

Excuse, I said a mistake, if there weren't files, there was an alert and I had to come back in the previous layout to choose another option.

And, at the end, the backup was made. And that works fine.
[Android Software/Hacking General [Developers Only]] xxmrgreenxx:
can u share the needed commands?

will try this Funktion in my Aroma
[Android Software/Hacking General [Developers Only]] JustArchi:
How are you checking if file is available from aroma?
[Android Software/Hacking General [Developers Only]] JustArchi:
Okay, you check if it's not null. Thanks :).
[Android Software/Hacking General [Developers Only]] franzyroy:
Glad to help you! ;)
[Android Software/Hacking General [Developers Only]] thewalekk:
i didnt test it but this one goes back to custom so its the installation page again. but in my idea installation and restoration are seperate props. when you select restore option its gonna read the previous custom prop, write it to the new restore prop and show the selected files.

so i am thinking: since the list will be "check.checked" or "select.selected" , can we get the "selected" or "checked" parts only with variables like "check"+getvar() or "select"+getvar() ? The idea is if the file is there write ".checked" if not leave empty. Or same idea with reading previous custom prop. if it is checked before write ".checked" else leave empty

BTW i am so much basic about codes. i am just talking logical :)
[Android Software/Hacking General [Developers Only]] franzyroy:
Personally, I made a backup (in aroma-config) to see what was selected during the last installation. And in the updater-script file, I checked that the app was always there (or not, in case the application was deleted) to see if it have to install it again. In my case, it was for apps, but it can be adapted to what you want to do.

I don't know if it can help you or if it is what you want. You can look my files below.
[Android Software/Hacking General [Developers Only]] Kiray1982:
is it possible to create a grid-view like this:
[Android Software/Hacking General [Developers Only]] franzyroy:
Actually...No! You have to ask to amarullz if it's possible to make it.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
hi need help

i try to use aroma in my rom - but i keep getting a syntax error - the last one was line 46 col 1 ( status 1 )

can any help me with this - i can give him the aroma configure + updater script and anything else he wants

so he can help me with this.

my device is note 3 EXYNOS sm-n900.

P.S : i'm not using the latest edition of the aroma installer - does it matter ?
[Android Software/Hacking General [Developers Only]] mrtur:
If you want to help you show your aroma-config.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
deleted
[Android Software/Hacking General [Developers Only]] mrtur:
if you start splash or animation splash

splash(

or

anisplash(

must ending

);

##
# Show Simple Splash
#

splash(
#-- Duration 5000ms / 5 seconds
5000,

#-- <AROMA Resource Dir>/SPLASH.png
"SPLASH"
);

##
# Show Animated Splash
#

# #-- Number of Loop
anisplash(
1,

#-- Frame [ Image, duration in millisecond ]
"anim/a1", 30,
"anim/a2", 30,
"anim/a3", 30,
"anim/a4", 30,
"anim/a5", 30,
"anim/a6", 30
);
[Android Software/Hacking General [Developers Only]] DON AMIGO:
issue still there. thanks for trying ti help.
[Android Software/Hacking General [Developers Only]] mrtur:
line 46 col 1?!

You have more errors...

Why removed aroma-config? Show it again in the tag (hide) or file attachments (so better).
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Hello guys,

I made a new rom with aroma installer. I am not able to flash it. flash it.

When i flash it i get "error flashing the zip", "Error opening the zip".

Can someone pls help me asap.

Here is the log:

I:Switching packages (TWRP)
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
minzip: could not determine length of file
minzip: Map of '/sdcard/Revosoft Project X Rom v3 lazy.zip' failed
E:Unable to open zip file.
Error flashing zip '/sdcard/Revosoft Project X Rom v3 lazy.zip'
Updating partition details...
I:Data backup size is 827MB, free: 3713MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'rebootcheck'
I:Root permissions appear to be lost... fixing. (This will always happen on 4.3+ ROMs with SELinux.
I:Copying file /cache/recovery/log to /cache/recovery/last_log
Rebooting...
[Android Software/Hacking General [Developers Only]] [NUT]:
2 questions:

How large is the zipfile you created?

What does winrar or winzip say when you test it?
[Android Software/Hacking General [Developers Only]] DON AMIGO:
DELETED
[Android Software/Hacking General [Developers Only]] mrtur:
Except that I counted 20 more errors!!. Now it should work.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
will try it - thanks friend - may allah bless you.

if i may ask - what seems to be problem for it to not work for me ?

---------- Post added at 04:09 PM ---------- Previous post was at 03:54 PM ----------

sorry to bother you - but small pro - the font is too small how to make it bigger ?
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
the zip file size is 2.13 gb and what do u mean by "What does winrar or winzip say when you test it?"?
[Android Software/Hacking General [Developers Only]] [NUT]:
Open that zipfile using winrar or winzip and use the zip file testing.

But on the other hand, you need to slim down your rom, minzip can handle 2gb zip files as maximum.
[Android Software/Hacking General [Developers Only]] mrtur:
fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;", "[B][COLOR="Red"]12[/COLOR][/B]" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansArabic.ttf;", "[B][COLOR="red"]14[/COLOR][/B]" ); #-- Use sets of font (Font Family)

not work my aroma-config?

Works for me.
[Android Software/Hacking General [Developers Only]] thewalekk:
I think its a dpi problem. But pros may know better

Galaxy S3 tapatalk 2 ile
[Android Software/Hacking General [Developers Only]] DON AMIGO:
i meant before you fix it me friend.
[Android Software/Hacking General [Developers Only]] mrtur:
or try

# ini_set("dp","1"); #-- LDPI ( 240x320 / QVGA )
# ini_set("dp","2"); #-- MDPI ( 1080x1920 / HVGA )
ini_set("dp","3"); #-- HDPI ( 480x800 / WVGA )
# ini_set("dp","4"); #-- XHDPI ( 1280x720 / WVGA )
# ini_set("dp","5"); #-- XXHDPI ( 1920x1080 / WVGA )
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
I decreased the rom size to 1.98 gb and repaired the zip in winzip. And I tried the zip after that, still getting the same error.

Here is the Meta-Inf and here is the log.

Pls help me asap.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
the font is still kinda small - i don't think it is related to font 100 % - it may be related to dpi ?

any guides on this ?
[Android Software/Hacking General [Developers Only]] mrtur:
You're doing something wrong. I changed the numbers

18 and 20

24 and 26

30 and 32
[Android Software/Hacking General [Developers Only]] DON AMIGO:
you maybe right my friend - will edited and try.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
Q - i add an option in my rom to do a data wipe - stupid Q, here it comes - how can make this option affective ?
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Can some one pls help me asap?

Sent from my GT-I9500
[Android Software/Hacking General [Developers Only]] franzyroy:
What was the error?

In your log, I saw

E:Cannot load volume /misc!
E:Cannot load volume /misc!

Already, you've that!
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
How should i fix that? And about the error, when i flash the rom i get error opening the zip file.

Pls reply asap
[Android Software/Hacking General [Developers Only]] franzyroy:
You see the Aroma menu?

Your issue is in the installation?

It helps to know if the problem is with aroma-config file or updater-script file.

---------- Post added at 01:29 PM ---------- Previous post was at 01:14 PM ----------

If it's with the updater-script, have you seen when it blocks in the progress? It writes something before the error, which indicate you where is the progress.
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
No i can't see the aroma menu. As soons as i flash it, it fails.

When i flash the zip, it says

"E: Unable to open zip file.

Error flashing zip '/sdcard/zipname.zip

Updating partition details...

Running unblank script..."

Here is the meta-inf

Pls fix it for me. I went through the whole updaterscript and aroma-config but i didnt find any error.

Pls help me asap.
[Android Software/Hacking General [Developers Only]] franzyroy:
I've already it your meta-inf folder!

Have you seen some errors with line number and column?

---------- Post added at 03:15 PM ---------- Previous post was at 03:13 PM ----------

I'll try to see if I can later test your meta-inf folder on my phone...
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
What line number and columns? Do you mean those after the "#" ?
[Android Software/Hacking General [Developers Only]] franzyroy:
Normally, in this case, fail in the launching of aroma, it should tell you the row and column where it stops... after that

E: Unable to open zip file.
Error flashing zip '/sdcard/zipname.zip
Updating partition details...
Running unblank script...

---------- Post added at 04:10 PM ---------- Previous post was at 03:59 PM ----------

I tested it!

SYNTAX ERROR!!! aroma-config on line 734 col. 1

Weird, there is nothing at this line.
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Check this meta-inf

I changed a lot of stuff in this. I am still getting the same error. Which recovery r u using?
[Android Software/Hacking General [Developers Only]] franzyroy:
I gonna test it!

Philz

---------- Post added at 04:32 PM ---------- Previous post was at 04:24 PM ----------

I tried it now, it works for me!? :p
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Thanks a lot. Did u change anything?

Oh nice. I will also use philz than.

BTW how do u know that it is working? U just have the metainf.
[Android Software/Hacking General [Developers Only]] franzyroy:
I haven't changed anything!

I can't test more than that on my phone, I don't have a GT-i9500, but GT-I9505.

---------- Post added at 04:48 PM ---------- Previous post was at 04:46 PM ----------

Because I tested it (your aroma or meta-inf) in my recovery, this, I can do it!!!

---------- Post added at 05:11 PM ---------- Previous post was at 04:48 PM ----------

Sorry, I said a mistake, I don't use Philz now, but TWRP 2.7.0.1.

Envoyé depuis mon GT-I9505 avec Tapatalk
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
I am using twrp as well.
[Android Software/Hacking General [Developers Only]] franzyroy:
Does it work with ?

Envoyé depuis mon GT-I9505 avec Tapatalk
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
nope.
[Android Software/Hacking General [Developers Only]] franzyroy:
Weird ! :(

Envoyé depuis mon GT-I9505 avec Tapatalk
[Android Software/Hacking General [Developers Only]] joni2012:
Hello have problems aroma

Enviado desde mi HTC One mediante Tapatalk
[Android Software/Hacking General [Developers Only]] JustArchi:
Update your recovery.
[Android Software/Hacking General [Developers Only]] franzyroy:
Unfortunately, I can not help you better, as your file works on my phone. :(
[Android Software/Hacking General [Developers Only]] DON AMIGO:
an idea that might be kinda stupid - but is there a chance for a tutorial video which explains how do we use this great tool and maybe tackle the issues that we are having or asking about the program.
[Android Software/Hacking General [Developers Only]] franzyroy:
It should be really enormous this video tutorial! Don't think that's possible, there are too much of thing.
[Android Software/Hacking General [Developers Only]] DON AMIGO:
for that i said it was an idea my friend and if it is possible. if not then me and others well try hard to learn it the traditional way. :fingers-crossed:

thanks for the response :good:.
[Android Software/Hacking General [Developers Only]] franzyroy:
Unfortunately, not other choices. :p
[Android Software/Hacking General [Developers Only]] joni2012:
I tried but no luck I think I did something wrong I

Enviado desde mi HTC One mediante Tapatalk
[Android Software/Hacking General [Developers Only]] wertzPH:
the latest 2.70 RC2- Flameboy touchscreen don't work for me. the last build for 2.56 does work properly though. my device is an MT6572 so i does support arm neon, right? the the aroma-keycapture-flashable gives me always 2-reported touch when i press a key or the touchscreen as seen in screenshot. is there an ongoin support for not supported/not functioning devices for latest Aroma Release? thanks.

sorry for the not clear shots.
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Help Needed

Someone pls help me. I am trying to make a rom with aroma installer, I added aroma installer to the rom, when i flash the rom the i can see the aroma installer, evrything works well till the installation ui. In the installation ui it displays nothing and installs nothing.

Here is the aroma-config, updater script and th logcat: http://www.mediafire.com/download/sd5ef1eo9lsaqbu/Aroma.zip

Pls help me asap.
[Android Software/Hacking General [Developers Only]] The Sickness:
Did you use a update-binary from a working rom for your phone and renamed it to update-binary-installer?

Haters Make Me Famous

Deviant Team Member
[Android Software/Hacking General [Developers Only]] franzyroy:
I've already asked him! :cool:
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Is anyone having any issues with Aroma 2.7 RC2 and the latest Philz recovery on the HTC M8?

6.26.6 worked absolutely fine on the M8, but the newer release 6.41.6 shows bad colours, the soft menu bar and as well as looking borked it is nearly unreadable.

Philz says this is because Aroma hasn't been updated for over a year (although I see September last year) and is therefore incompatible with msm boards and recent kernel changes.

I don't know if any others devices have the same issue with the new recovery, but assuming this will be more common with the kernel changes, I am sure there must be some?
[Android Software/Hacking General [Developers Only]] franzyroy:
For the colors, you have to do like that

ini_set("force_colorspace","rgba");
theme("ics");

Front of each theme. It explain here and there.

I've made a filé only for the theme like that

###################################################################################################################
#
# THEMES
#
form(
"<~themes.title>",
"<~themes.desc>",
"@theme",
"themes.prop",
#
# Type:
# - group = Group
# - select = Select Item
# - select.selected = Selected Select Item
# - check = Checkbox Item
# - check.checked = Checked Checkbox Item
# - hide = Hidden
#
#-------------+-----------------------[ Selectbox Without Group ]------------------------------#
# PROP ID | TITLE | SUBTITLE | Type #
#-------------+--------+-------------------------------------------------------+---------------#
"theme", "<~themes.title>", "", "group",
"generic", "<~themes.generic>", "", "select",
"miui", "<~themes.MIUI>", "", "select",
"ics", "<~themes.ICS>", "", "select.selected",
"miui4", "<~themes.MIUI4>", "", "select",
"sense", "<~themes.Sense>", "", "select",
"franzyroy", "<~themes.franzy>", "", "select",
"touchwiz", "Touchwizz style", "", "select"
);
ini_set("theme",prop("themes.prop","theme"));

if prop("themes.prop","theme")=="generic" then
ini_set("force_colorspace","rgba");
theme("generic");
endif;
if prop("themes.prop","theme")=="miui" then
ini_set("force_colorspace","rgba");
theme("miui");
endif;

if prop("themes.prop","theme")=="ics" then
ini_set("force_colorspace","rgba");
theme("ics");
endif;

if prop("themes.prop","theme")=="miui4" then
ini_set("force_colorspace","rgba");
theme("miui4");
endif;

if prop("themes.prop","theme")=="sense" then
ini_set("force_colorspace","rgba");
theme("sense");
endif;
if prop("themes.prop","theme")=="franzyroy" then
ini_set("force_colorspace","rgba");
theme("franzyroy");
endif;
if prop("themes.prop","theme")=="touchwiz" then
ini_set("force_colorspace","rgba");
theme("touchwiz");
endif;

link of file below. You extract it in /META-INF /com /google /android /aroma

And you have to put this line in aroma-config for the choice of theme, where you want it to appear in the AROMA menu.

include("themes_select.edify");

This

<~themes.title>

It's for the differents languages, If you do not have one, you can replace them with a simple title such

Selecting your AROMA theme

directly in the file: themes_select.edify
[Android Software/Hacking General [Developers Only]] franzyroy:
For the text size, This is one of those lines without the # in front

# ini_set("dp","1"); #-- LDPI ( 240x320 / QVGA )
# ini_set("dp","2"); #-- MDPI ( 340x480 / HVGA )
# ini_set("dp","3"); #-- HDPI ( 480x800 / WVGA )
# ini_set("dp","4");
# ini_set("dp","5");

---------- Post added at 11:03 PM ---------- Previous post was at 10:13 PM ----------

I wonder if this is still valid, because the icons in the menu with the S4, they are relatively small.
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Thanks, sadly its not down to colorspace, seems to be something with using a new kernel in the recovery itself. I have been using "ini_set("force_colorspace","rgba");" with great success since one of the M7 firmware updates.
[Android Software/Hacking General [Developers Only]] franzyroy:
OK

---------- Post added at 11:44 PM ---------- Previous post was at 11:07 PM ----------

I wonder if this is still valid, because the icons in the menu with the S4, they are relatively small.
[Android Software/Hacking General [Developers Only]] Electronic Punk:
I think I'd need a screenshot to show it better but its like aroma is transparent over the top of recovery a little. If that makes sense, the recovery buttons don't respond, are just visible.
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Yes I did.
[Android Software/Hacking General [Developers Only]] The Sickness:
That is the only reason for your Aroma to run its cycle and not flash anything.

Haters Make Me Famous

Deviant Team Member
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
So now what can I do now?I added binary.

http://www.mediafire.com/?sd5ef1eo9lsaqbu

Pls check that zip.

Pls help me asap
[Android Software/Hacking General [Developers Only]] The Sickness:
Move your permissions above where your script starts installing apps. Add your symlinks under permissions

Haters Make Me Famous

Deviant Team Member
[Android Software/Hacking General [Developers Only]] UchihaKakarot:
Trying...

---------- Post added at 11:49 AM ---------- Previous post was at 11:15 AM ----------

Still not working.
[Android Software/Hacking General [Developers Only]] franzyroy:
No answer for that!?!
[Android Software/Hacking General [Developers Only]] :
HY GUYS

need help ...i cannot manage to flash a zip inside of aroma installer

i do not understand very well this sintax

Any help will be apreciateley
[Android Software/Hacking General [Developers Only]] joni2012:
Help my friend please

Enviado desde mi HTC One mediante Tapatalk
[Android Software/Hacking General [Developers Only]] franzyroy:
Yet it seems clear to me your problem is written above the error.
[Android Software/Hacking General [Developers Only]] joni2012:
It may be last lines?

Enviado desde mi HTC One mediante Tapatalk
[Android Software/Hacking General [Developers Only]] sbdags:
Check that you have an updater-script (spelt correctly) in the /META-INF/com/google/android/ folder
[Android Software/Hacking General [Developers Only]] joni2012:
Ok

Enviado desde mi HTC One mediante Tapatalk
[Android Software/Hacking General [Developers Only]] franzyroy:
No, that's the updater-script file which wasn't found!!!
[Android Software/Hacking General [Developers Only]] joni2012:
I think the error is in the end update script then see

Enviado desde mi HTC One mediante Tapatalk
[Android Software/Hacking General [Developers Only]] franzyroy:
If you think, so you know. You've an updater-script file. Why ask like that? Send ur updater-script file for people sees ur issue.
[Android Software/Hacking General [Developers Only]] franzyroy:
One question, I wanted to test this function

getdiskusedpercent

Can anyone explain how to use it?

Edit:

I found how. If you want to know, just say me!
[Android Software/Hacking General [Developers Only]] xecutionkrk:
i have a russian aroma installer for my phone rom. looking to translate to english so i can try out the rom.. Is it possible?