yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Only seems to be the Pre-beta 5 that laggy, 4 is fine but sadly rgba isn't working in 4, so I guess we wait patiently :)
[Android Software/Hacking General [Developers Only]] amarullz:
You can use default slide effect and set the transition frame lower than 5. In this beta, I set it to 7 as default to show user what exactly the transition do. In RC release, it will be 4 by default...

And the stack transition is still too young, and need more improvement..
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Hey guys,

So I've made a new theme for my ROM installer and thought I would share it with you. It's a touchwiz theme for aroma installer.

Enjoy!

Aroma Installer Touchwiz Theme

EDIT:

So I just noticed that the navbar.png isn't showing. It shows in the miui demo and is the same size as the one on the miui demo. Any idea why the navbar won't show?
[Android Software/Hacking General [Developers Only]] franzyroy:
Already, you could have fired the backup folder of paint shop pro. Otherwise, I think you could have more custom icons in a TouchWizz style!

You saw in your theme.prop file. I think that's the issue!

img.navbar=navbar.9

I think you must put like that

img.navbar=navbar

I take the opportunity to put my theme a bit more color.

- Extract it in /META-INF/com/google/android/aroma/themes

And of course, you must add it in aroma-config.
[Android Software/Hacking General [Developers Only]] Mr.Its:
Speaking of compiling AROMA from source, would it not be possible for me to compile it with a function added in or replaced to flip the screen on my device? I've already got it compiling, but obviously the screens still the wrong way up.

Recovery software such as ClockworkMod uses this:

void gr_flip(void)
{
GGLContext *gl = gr_context;

/* swap front and back buffers */
gr_active_fb = (gr_active_fb + 1) & 1;

#ifdef BOARD_HAS_FLIPPED_SCREEN
/* flip buffer 180 degrees for devices with physicaly inverted screens */
unsigned int i;
for (i = 1; i < (vi.xres * vi.yres); i++) {
unsigned short tmp = gr_mem_surface.data[i];
gr_mem_surface.data[i] = gr_mem_surface.data[(vi.xres * vi.yres * 2) - i];
gr_mem_surface.data[(vi.xres * vi.yres * 2) - i] = tmp;
}
#endif

/* copy data from the in-memory surface to the buffer we're about
* to make active. */
memcpy(gr_framebuffer[gr_active_fb].data, gr_mem_surface.data,
vi.xres_virtual * vi.yres * PIXEL_SIZE);

/* inform the display driver */
set_active_framebuffer(gr_active_fb);
}

Then you just set the flag as BOARD_HAS_FLIPPED_SCREEN when compiling.

https://gitcafe.com/shenduos/Team-Win-Recovery-Project/blob/master/minuitwrp/graphics.c

FYI I'm compiling this version (link) since newer versions of AROMA give me error 0 when launching them from ClockworkMod.

I'm not sure if something in aroma_graph.c will have something to do with it, but it'd be great if someone could help.

Thanks.
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Thanks for the feedback. On your advice, I used the color icons instead and fixed the navbar issue. I've also removed that darn psp folder ;) I've also replaced the buttons with one's that work better for the interface.

Enjoy!

Aroma Installer Touchwiz Theme v2
[Android Software/Hacking General [Developers Only]] clark44:
The new input handler is not very smooth on the S4 US version. Its like the touch is stuck until you touch the screen again.

Also, when scrolling, it gets stuck in its current position then when you touch again to slow down more it goes all the way back to the top.
[Android Software/Hacking General [Developers Only]] bandit97:
Hello, I'm trying to make a Aroma ROM installer for my HTC One V PrimoU Custom ROM. Everything works great other than the Touch screen dosent work. I have to use the Power/Volume keys. Is it a problem with update-binary? My rom is based on 4.0.3. Any advice?

Thanks

EDIT Ignore this. It was the updater-binary. Sorry
[Android Software/Hacking General [Developers Only]] amarullz:
Download the BETA-6 Instead
[Android Software/Hacking General [Developers Only]] amarullz:
Try the lastest source :good:
[Android Software/Hacking General [Developers Only]] kinghunki:
thx amarullz!
[Android Software/Hacking General [Developers Only]] franzyroy:
I look and I'll say you!

Edit

:

It is far better!

---------- Post added at 10:02 AM ---------- Previous post was at 10:00 AM ----------

I'll test and I'll say you my back!

Edit

:

Thank you for adding my theme!
[Android Software/Hacking General [Developers Only]] darkengine:
Hi, amarullz, Aroma 2.56 is a great job. it fix the touchscreen issue in almost all devies.:D

Howver, using theme "miui" will freeze the lcd screen with quite high possibility in aroma 2.56 version.
[Android Software/Hacking General [Developers Only]] bgcngm:
Just try out AROMA 2.70 beta and report back. That's what [MENTION=402300]amarullz[/MENTION] is expecting. ;)
[Android Software/Hacking General [Developers Only]] amarullz:
I disabled (forgot to uncommented again) the neon optimized blit function in pre beta 5. In beta5 it enabled again. Hope it fly again...

Will try to add it into source.

I need an active sgs4 tester just like a htc one users do... And please test the beta5, if not works well, please dump the recovery.log and chat with me in freenode #aroma channel
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Yup very nippy again :) - I even removed the ini_set as it seems to be great.

I mentioned 2 other issues in edits so they may have got lost:

From my testing I can see that viewbox and agreebox are showing the background image, but selectbox and checkbox are not. Not sure if that is by design.

selectbox: http://i.imgur.com/V3K4cts.png

viewbox: http://i.imgur.com/I2QaBTg.png

The back button the context menu doesn't appear to be working, does something need to be defined for it to work? Edit: working as intended as it is actually close menu. I also notice then when I do click back , I get the black "please wait screen" for a split second.

Sometimes the transitions don't seem to be slide, I seem to be able to reproduce. Don't think its an error on my confi as I have no transition stuff set:

The first viewbox stacks into the first selectbox (then no back option is available either) and if you quikcly press next the new slide transition hasn't loaded and it just flickers to the next slide. Let me know if you need more info.

No crashes tho (although quitting the installer a second time, it keeps reporting a bad zip until I reboot recovery (only reproduced with a 1 gig rom, so hopefully people won't be quitting this multiple times! ;s - shaping up very nicely, great work!
[Android Software/Hacking General [Developers Only]] marcomarinho:
@OP: For update the AROMA Installer I only need to replace the update-binary and aroma folder right?:confused:

Regards.:cool:
[Android Software/Hacking General [Developers Only]] franzyroy:
If you come the last beta ... yes!

aroma-config: You'll put yours

updater-binary-installer: You'll put this one of your rom

updater-script: You'll put yours

Edit

:

At least that you've your own lang folder, your own themes folder, your own splash folder... etc At you to see!
[Android Software/Hacking General [Developers Only]] amarullz:
And there are no removed function since 2.58, so It was safe just update the update-binary only.

But I recommended to use the form instead checkbox and selectbox, because this couple function will be set to deprecated and may deleted in future version.

Usage of form can be seen in custombox.edify script
[Android Software/Hacking General [Developers Only]] franzyroy:
It's why I answered it in the previous post!
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Just tried with an icon on the first screen as per our IRC discussion and it didn't make a difference.
[Android Software/Hacking General [Developers Only]] amarullz:
Ok, just found the problem.

You dont have any script before the first viewbox, will fix it in next version.

For now, just try add splash or set rom information using ini_set before first view.

It should be fixed.

And thanks for informing this bugs (i am sure it was rare issue, because many user set the rom info or splash before first view..)
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Great, we have :

ini_set("rom_name", "Name of rom");

But I added the splash and it resolved the issue, looking forward to the new binary :D
[Android Software/Hacking General [Developers Only]] kinghunki:
I want to ask a question, why I set the font color is : red(#f00) , while the display is blue( #00f ) ?
[Android Software/Hacking General [Developers Only]] amarullz:
HERE THE 2.70 Beta 6 (Codename Flamboyan-Beta)

Version 2.70 BETA-6 - FLAMBOYAN

BUILD:130624-042B

NOTE WILL ONLY WORKS ON DEVICE WITH ARM NEON SUPPORT​

RAW Changelogs

BETA6

Fix some back sequence (thanks Electronic Punk) - Small but Important fix aparse_current_position++ to ++aparse_current_position. ( https://github.com/amarullz/AROMA-Installer/commit/b7a0a4aecff366c764a7e55e371bba2d02988c60 )

BETA5

Fix Commented NEON - Now Fast Again

New Themes

New Stack Transition, and smoother dialog transitions

Add ini_set("transition","stack");

Add Screenshoot (Volume Down+Power Button) - Image Format BMP-565 16 bit

fix ini_get function

Whole new input driver

Optimize alphablend processes

Optimize and Add Drawing Scale Nearest Neighbor

Add drawing functions for alphablend

Dialog In & Out Transition

Cache recovery display for exit transition

Add Exit transition

fix force_colorspace issue

add colorspace change demo

remove unneeded sleep for faster start and exit

Commit History From June 20 - https://github.com/amarullz/AROMA-Installer/commits/master

I am sure this problem was solved in last couple release... Try the lastest...
[Android Software/Hacking General [Developers Only]] kinghunki:
thx!
[Android Software/Hacking General [Developers Only]] Electronic Punk:
All good now, back still triggers a brief black screen with please wait, but again not many people will be there hammering the back key and I assume its reading existing .prop in some cases.
[Android Software/Hacking General [Developers Only]] Mr.Its:
Thank you. If you need anything testing then just drop me a private message.
[Android Software/Hacking General [Developers Only]] franzyroy:
One thing I've noticed because before I had my theme at the beginning like this!

theme("franzyroy");

I do not anymore since 2.70 beta, because the theme only works after the choice of language.

Why? I don't know...
[Android Software/Hacking General [Developers Only]] clark44:
US Samsung Galaxy S4 is still having input issues in B6 and B5. I would be willing to hop on IRC just hit me with a PM when you're on and I will join the channel.
[Android Software/Hacking General [Developers Only]] amarullz:
Dump the recovery.log
[Android Software/Hacking General [Developers Only]] RichmondoUK:
[MENTION=402300]amarullz[/MENTION] glad your back doing your masterpiece. Great work :thumbup:
[Android Software/Hacking General [Developers Only]] franzyroy:
It even seems that's since this.

Since the beta 3.
[Android Software/Hacking General [Developers Only]] amarullz:
Do you mean theme command cannot be placed in the top script?
[Android Software/Hacking General [Developers Only]] tamirda:
Hello amarullz friend,

Is Aroma installer working on S4 I9500?(I don't have the device, I can not check but I want to release new version with aroma).

Thanks!
[Android Software/Hacking General [Developers Only]] franzyroy:
Yes, this's it! When you put it to the beginning of script (my theme or an other) you see the generic theme. once past the language, the theme works.

If you put it like that. It doesn't work correctly...

theme("franzyroy");

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "16" ); #-- Use sets of font (Font Family)

include("language_select.edify");

=================================

If you put it like that. It works fine...

fontresload( "0", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "12" ); #-- Use sets of font (Font Family)
fontresload( "1", "ttf/Roboto-Regular.ttf;ttf/DroidSansFallback.ttf;", "16" ); #-- Use sets of font (Font Family)

theme("franzyroy");

include("language_select.edify");
[Android Software/Hacking General [Developers Only]] SpyroDazee:
I modified the AROMA installer to place pre-built scripts in /system/init.d & also to set permissions.

I was wondering if it would be possible for it to add to the bottom of init.qcom.post_boot.sh as some people can't seem to get init.d enabled?

I know this is possible with .apks, where you have the base .apk & themes & such get added in with the selections in AROMA, then it all gets put together upon installation.
[Android Software/Hacking General [Developers Only]] amarullz:
Have you try it with beta6?
[Android Software/Hacking General [Developers Only]] ciscogee:
So couldn't I place aroma files on one of my update zips? Since the others are rwnamed or replaced?
[Android Software/Hacking General [Developers Only]] avss:
I did :)

Took one of my flashable zips and incorporated the aroma files. Made a nice Gui and it was done.
[Android Software/Hacking General [Developers Only]] the_scotsman:
Aroma has been integrated into InsertCoin Sensation ROM.

Have to say this is simply amazing work! The installer is gorgeous! Very nice work indeed mate :D
[Android Software/Hacking General [Developers Only]] amarullz:
what is src/sys?, I upload everything in the github (but not as normal structure, because I am use windows here).

Go Here:

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

The source (C files) is Here:

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

"usage information to the new functions"? what usage?

If you want to add new functions, look at this file:

https://github.com/amarullz/AROMA-Installer/blob/master/aroma-installer/src/aroma_ui.c

Create function like this:

Value* AROMA_NEWFUNCTION(const char* name, State* state, int argc, Expr* argv[])

then in RegisterAroma(), you can add this code to register the function for aroma-config:

RegisterFunction("newfunction", AROMA_NEWFUNCTION);

About Exec. It still experiment in current version. because it will return "shell buffer". so this code (in current version) will set the lists variable with list of files (string)

setvar("lists",exec("/sbin/ls","-l","/"));

I already reform this method. the exec(s) functions should return the exit status of exec (0-255). for buffer it will automatically stored in "exec_buffer".

#
# variable status will be return status / 0-255
# variable buffer will be string list of files output by command ls -l /
#
setvar("status", exec("/sbin/ls","-l","/"));
setvar("buffer", getvar("exec_buffer") );
[Android Software/Hacking General [Developers Only]] TweetyPeety:
Strange the NEW 13 Nightly breaks something.

my splash(5000, "sample"); doesn't work anymore, it doesn't show my splash picture and the theme picture is really strange. At the top of the screen a big green bar from left to right. ????
[Android Software/Hacking General [Developers Only]] amarullz:
Yes.. I am sorry... I use it to try theme :)...

Try this file: http://www.amarullz.com/_downloads/aroma-nighly/aroma-1.10-Nightly-TestICS-THEME.zip

Its include test ics theme... just delete theme("ics"); in aroma-config to use generic theme
[Android Software/Hacking General [Developers Only]] matt95:
Yesterday I have installed insertcoin Rom on my sensation with aroma! this is awesome man keep up the good work!
[Android Software/Hacking General [Developers Only]] KOJANHQ:
please delete this
[Android Software/Hacking General [Developers Only]] TweetyPeety:
ICS Theme worked for me, thx
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
two donations sent to you amarullz, thanks for your work
[Android Software/Hacking General [Developers Only]] amarullz:
Thanks :) - first page updated

I will keep updating the progress..

Currently I am still intensively finishing theme support... if it finished, I will set this as new major version 1.50. I also will create new aroma-config for release zip. + Complete functions reference will finished soon...
[Android Software/Hacking General [Developers Only]] fonix232:
Just an idea, but what about dropping the whole updater-script way of extracting files, and instead using an own script (aroma-script maybe?) to do unpacking, mounting, etc?

Also wanted to ask if you plan to support tablets, as they would definitely need a new UI (the current HTC-ish one would be kinda stretched and misaligned, taken from the phone screenshots), a new layout, and such. Is there any plan for a layout system, and basically selecting a target (or compiling all layouts into one)?
[Android Software/Hacking General [Developers Only]] amarullz:
I had the same idea... But I am affraid that the update-binary was device specific. (tell me if I am wrong).

The only solution was the user choices, is he want to use his own binary, or use aroma for installing...

Why I am affraid? I am affraid the mount and format functions don't works for all devices.. There is many report from user that the format & mount function not works if we use different update-binary.

About the tablet. It should also works without modifications (except maybe icons & fonts). If framebuffer supported, it will supported... I am start the coding with the target that UI will support in any screen resolution... So the problem that comes won't be an UI (should resized, etc, etc)... but more about hardware support/driver..
[Android Software/Hacking General [Developers Only]] fonix232:
It's not update-binary what's device-specific, but the accompanying code in updater-script. Some device can mount via mount(), some uses a kernel-built-in busybox to mount (like, my Transformer), and some uses the actual mount command from the kernel-built-in toolbox. That's what makes the difference.

And what about the following?

- Generic update-binary

- Updater-script extracts the AROMA executable and script, and runs it

- AROMA takes over

- AROMA config defines partition layout (in a way like recovery.fstab, basically partition name (/system, /data, etc), path to it (/dev/mtd1, /dev/mmcblk0p1, /dev/nanda, etc), and format (ext4, MTD, EMMC, YAFFS, and so on)

- AROMA uses this partition config to mount via busybox mount command (what takes the device to mount, the path to mount, and format of file system)

- AROMA goes on with the installation process, defined in aroma-script, with it's own commands.

So basically separating the old update system (only purpose is to extract the ZIP to /tmp and launch AROMA), and some of the AROMA elements (aroma-config storing configuration only, like, layout, theme, screen size, ROM name and data, and stuff, while aroma-script would do the actual installation, with dialogs, functions ran, and other things related to this).

The partition layout could be done in the following way:

partition_add("SYSTEM","/system","/dev/mmcblk0p1","EMMC");

format:

arg1: local name, can be used as a variable

arg2: path of the mount

arg3: device

arg4: format

and store these separately.

Then these could be called in the following way:

partition_mount("SYSTEM");
partition_write("BOOT", "/tmp/boot.img");
partition_clean("DATA"); // for tablets with huge internal memory where /sdcard is a FUSE mount of /data/media
partition_format("SYSTEM");

Then simply borrow some commands from updater-script (like, extraction). Although for an easier way, I'd say to extract the whole ZIP to /tmp, and copy the contents from there (even AROMA root).

My main concerns are that the tablets have a lot bigger resolution, plus landscape view. The usage of the phone UI wouldn't be too optimal and would just f*ck up the whole concern. That's why I'd like to ask for bigger layout possibilities.

FrameBuffer should be supported (that's how CWM and other recoveries display the background image and process bar) by default, alongside with touchscreen.
[Android Software/Hacking General [Developers Only]] Pavelol:
First of all i have to say that this is one of the greatest achieve so far in custom rom platform.

and i have a little qustion.

is there any way to support more then one language.

for example, if i want to write the "agreement" or "changelogs" in Hebrew.

(i mean the Text document :))

is there any way i can load Hebrew fonts?

or it's stored in the binary?

i did find the fonts folder

thx in advance :)
[Android Software/Hacking General [Developers Only]] DemonWav:
I don't like this idea...

Some ROM's (like mine...) require a little more than unpacking files and setting permissions, and for all the work I've done on the install (before and after AROMA) with the repartitioning and formatting etc., etc., I do NOT want to try to learn new functions and rewrite all of this.
[Android Software/Hacking General [Developers Only]] avss:
I agree.

Verstuurd van mijn GT-I9100 met Tapatalk
[Android Software/Hacking General [Developers Only]] Gerrett:
New ROM with your awesome installer is out ;) http://xdaforums.com/showthread.php?p=22423536

Gesendet von meinem LG-P920 mit Tapatalk
[Android Software/Hacking General [Developers Only]] TweetyPeety:
One Question, will it be possible to choose at the beginning between themes ??? this would be cool.
[Android Software/Hacking General [Developers Only]] amarullz:
yes it possible, and my next example zip will do something like that
[Android Software/Hacking General [Developers Only]] kinghunki:
Color problem is still there!
[Android Software/Hacking General [Developers Only]] mike1986.:
[MENTION=402300]amarullz[/MENTION] the only device I'm aware of that still doesn't work with AROMA is Asus Transformer TF101. What sort of information would you need to debug the issue, if possible?
[Android Software/Hacking General [Developers Only]] MattBooth:
Is there any special syntax I ought to use when using the includes?

I pulled some working code out and put it into an include, the installer crashes out when that part is selected, but there is no log-dump to help me identify it. All I can make out is that there was a syntax error.
[Android Software/Hacking General [Developers Only]] CNexus:
Post in the Q&A thread, not here.