[Android Software/Hacking General [Developers Only]] amarullz:
Downloads & Resources

FOR ROM CHEFS ONLY

ROM CHEF? WHAT IS THAT? ... HERE IS A VIDEO

DON'T ASK ABOUT HOW TO INSTALL IT, BECAUSE IT MEANS YOU DON'T KNOW WHAT IT IS FOR

IT ISN'T AN APPLICATION YOU CAN USE OR INSTALL ON TO YOUR PHONE LIKE ANGRY BIRDS OR FACEBOOK

IF YOU JUST A USER, THEN FIND A ROM THAT ALREADY USES THIS INSTALLER​

MOST IMPORTANT THING BEFORE CUSTOMIZING IT

Make sure You took an update-binary from a working ROM,

renamed it to update-binary-installer and overwrote the one in my AROMA Installer zip​

Download Binary

Version 3.00b1 - MELATI

BUILD:15022833

NOTE WILL ONLY WORKS ON DEVICE WITH ARM NEON SUPPORT

Recent Changelogs:
​

FLAMBOYAN MELATI- 3.00b1

new engine fb & input driver

support msmfb overlay

more neon improve

tweaks some ui

graphics processing

Download Binary

Version 2.70 RC2 - FLAMBOYAN

BUILD:130903

NOTE WILL ONLY WORKS ON DEVICE WITH ARM NEON SUPPORT

Recent Changelogs (FLAMBOYAN BETA):
​

FLAMBOYAN BETA - 2.70B1-B6

-

BETA-6

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

-

BETA-5

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

-

BETA-4

Fix Icon Themes Error

Change Transition Animation - Slides for next/back - Smoother than alpha blend animation

Remove any transition effect for Dialog Window

Use Bold Text for Navigation Button

Fix Installer UI for text log position

Add ini_set/ini_get for Vibrate Intensity (0-10). ini_set("vibrate","5") = Half Intensity, ini_set("vibrate","0") = No Vibrate At All

Add ini_set/ini_get for icon_back and icon_next. ini_set("icon_next","@install"), ini_set("icon_back","icons/back")

Fix Installer Freeze on (pthread_detach) - Compileable for Android Build Environment

BUILD WITH ANDROID BUILD ENVIRONMENT - Binary Size Reduce By ~60% - BUILD COMMAND: make aroma_installer; make aroma_installer.zip

Add zip build command in building the source

Rewrite building script for windows and linux with Android Build Environment

Modify aroma-config in demo zip to includes some new features

Change update-binary-installer from Galaxy Nexus binary. Sensation user should replace it binary with sensation binary

Beautifier Source Code. Add beautifier tools in source code tree

-

BETA-3

Fix Include Back Error

Improve Back Sequence Capability

ADD EVAL Function to execute the script inline from string

ADD GOTO Function to jump back into GOTO Label. gotolabel(), goto().

Update More Demo in Example Zip

Improving Efficiency processes when loading and reloading themes

-

BETA-2

Fix color handling on themes

Using bilinear scaling in png.9p

Re-add hebrew support

Add Italic Support with tag \<i>Italic\</i>

ADD include function, to include script from different file. look at new aroma-config file and language_select.edify file

-

BETA-1

reboot("now","recovery"); and reboot("now","fastbot");

Refresh look and feel

Remove RTL and Arabic Support (For faster and freeing resource, because the features still unusable)

Subpixel rendering for Fonts (Clear Type Like)

Improve performance with NEON here and there.

Tweaks some input driver

May fix some colorspace issue

Bilinear scaling for png icons, Now it look smooth even if it resized

FIX MANY BACK SEQUENCE BUGS

Font will only loaded if the font is really changed - Faster-faster performance improvement

Change Navigation Bar Buttons. Now next and back can be using Icons

Add Menu Button for buttonless devices.

Version 2.56 - EDELWEIS

BUILD:121004-031 - New Touch Handler + Fix Capacitive Button

WITH TRUETYPE, MULTILANGUAGE, UTF8

Recent Changelogs:​

EDELWEIS - 2.56 - BUILD 121004-031

Fix capacitive button

Remove calibration tools

EDELWEIS - 2.55 - BUILD 121003-030

Completely new Input/Touchscreen Handler - Thanks to agrabren from TWRP

Remove all calibration need. calibtool(), calibrate() and calibrate_matrix() won't do anything now. :)

EDELWEIS - 2.51 - BUILD 120810-026

Supported Galaxy Nexus Touch Screen - And maybe other devices now supported

EDELWEIS - 2.50 - BUILD 120716-025

Add Calibration Matrix for More Accurate Touch screen calibration

Set ROBOTO as Default True Type Font

DAHLIA - 2.00 - BUILD 120425-020

Fix Installation Save Logs

Fix framebuffer mmap size

Fix status 0 error

Add Multilanguage functions

Change list bullet drawing method

Add support for kerning font when use TrueType/OpenType

Add AROMA Memory management and memory debuging build (COMPILE FROM SOURCE ONLY)

Add more limit size for AROMA texts

Add font glyph cache for faster freetype drawing & processing

Add support for Modern Standard Arabic

Add support for RTL

Add support for TrueType and OpenType fonts

Add support for UTF8 encoding in aroma-config and all AMS text. For updater-script use NO-BOM UTF8

Fix Memory leaks

Add ini_set("force_colorspace","rgba");

Add support for atmel_maxtouch - Asus Transformer Touch Screen

CEMPAKA- 1.64 - BUILD 120414-040

Fix framebuffer mmap size

Fix status 0 error

Previous Changelogs:

[LEFT]
* [B]CEMPAKA- 1.63 - BUILD 120306-032[/B]
* Add support for atmel_maxtouch (Down Event SYN) - Asus Transformer Prime Touch Screen

* [B]CEMPAKA- 1.62 - BUILD 120303-030[/B]
* Fix some memory leaks ([COLOR="Red"]Important[/COLOR]).
* Add ini_set("[COLOR="Green"]force_colorspace[/COLOR]","rgba");

* [B]CEMPAKA- 1.60 - BUILD 120227-026[/B]
* Add msb_right check for Endianess video memory
* Fix Installer text log drawing
* Add ini_get
* Add rom_date in ini_get
* Fix reboot and back function
* Add more and recreate Icons for themes and generic
* Rewrite text handler
* Add alignment, indentation and list in AROMA Markup String
* Change temp directory to /tmp/aroma, /tmp/aroma-data stil works
* Add Theme Support
* Add AROMA Markup for <b> Bold
* Add More Colorset
* Add More Text to Customize
* Add PNG Icon Load From Theme (Default Icons)
* Add Tab support in AROMA Markup String
* Change int to long for partition info, now support big storage information
* Config Init All/Theme Only
* Recreate new example (release) for binary release
* Customizable Font Runtime
* Reformat About Dialog
* Add show progress per time in installer (now support by files and by time).
* Themeable Progressbar
* Enhance Exec Functions to return exit status and autosave buffer into variable
* Fix glibc error in ag_close - Need workaround
* Move ai_trim to system libs
* Add Stretch function for png
* Add 9 Patch drawing function for png
* Fix Reboot Function
* Add Alternative Touch Method
* Add ziptotmp & restotmp
* Add support for mxt224 touch screen (SYN_MT_REPORT event)
* [B]BOUGENVILLE - 1.10 - BUILD 120208-13[/B]
* Add Alternative Touch Method
* Added New Functions
- anisplash - ANIMATED SPLASH SCREEN
- prop - GET PROP FROM AROMA TMP
- zipprop - GET PROP FROM ZIP
- resprop - GET PROP FROM AROMA RESOURCE ZIP
- sysprop - GET RECOVERY PROP
- property_get - GET RECOVERY PROP
- write - WRITE STRING INTO FILESYSTEM
- readtmpfile - READ TEMPORARY FILE AS STRINF
- read - READ FILESYSTEM AS STRING
- zipread - Read String From Zip
- resread - Read Strinf From Resource
- zipexec - Exec Program From Zip
- resexec - Exec Program From Resource
- run_program - Run Program/Exec
- exec - Run Prohram/Exec
- back - BACK TO PREVIOUS WIZARD
- reboot - REBOOT DEVICE
* Deprecated Funcrions
- readfile - Will Renamed to zipread
- readfile_aroma - Will Renamed to resread
* Add Some Fix in Touch Up Handler
* Prop parsing, File Handling & Zip Handling has been managed in efficient functions
* Remove CERT.SA - Not Needed
* Add Licence Headers in all aroma source code Apache 2.0
* Add More Comments & Documentation in Souce Code
* Renamed functions for fit needs

* [B]ANGGREK -1.00 - BUILD:120204-011[/B]
* Fix calibrating function not working when set in aroma-config
* Update and fix firmware command from update-binary-installer into recovery.

* [B]ANGGREK -1.00 - BUILD:120202-10[/B]
* Improve touch handler compatibility. Now more accurate in every devices
* Add more chars into ROM Infos from only 31 to 63max
* Detail changelog from commit: [URL="https://github.com/amarullz/AROMA-Installer/commit/f49e2969e3b3514e180dcb15bed5a48298b19046"]10[/URL]

* [B]ANGGREK -1.00 - BUILD:120201-009[/B]
* Stride/Pitch/Padding Framebuffer support for non multiply 8 screen size like qhd on sensation and evo3d
* Rewrite input handler, better keys & touch screen compatibility.
* Change calibration division data from integer to float, more accurate calibrating
* Improve fling and scrolling engine
* Add support for all possible screen bit depth 32/24/16bit. ARGB, ABGR, RGBA, BGRA. No problem now.
* Detail changelog from commit: [URL="https://github.com/amarullz/AROMA-Installer/commit/b9daae9151e6ec4e1054725722b6f507f621f065"]006[/URL], [URL="https://github.com/amarullz/AROMA-Installer/commit/65fdbb9a2f7c12a799f320b3759ab60d6b00d3b1"]007[/URL], [URL="https://github.com/amarullz/AROMA-Installer/commit/f49e2969e3b3514e180dcb15bed5a48298b19046"]009[/URL]

[B]ANGGREK -1.00 - BUILD:120129-005[/B]
* Remove Signature Check - Now You don't need to sign aroma-config and updater-script
* Calibration Tool now show before anything, so you can directly do calibration. you can disabled it in aroma-config by deleting [B]calibtool("");[/B] command.
* Fix some touch screen input handler
* Add 229 in menu keycode (F2 used in emulator as menu key)

[B]ANGGREK -1.00 - BUILD:120128-004[/B]
* Open Source - Binary No Released

[B]ANGGREK -1.00 - BUILD:120126-003[/B]
* Refer to defy recovery source code found [URL="https://github.com/CyanogenDefy/android_device_motorola_jordan/blob/gingerbread/recovery_ui.c"]HERE[/URL] (Thanks [URL="http://xdaforums.com/showthread.php?t=1356767"]walter79[/URL] for github source code) I add some keycode into input reader : [URL="http://xdaforums.com/showpost.php?p=21826756&postcount=32"]Read Here[/URL]
* Add confirmation if calibrated data will be used in current process (After Calibrating) - So you can try touchscreen without editing [COLOR="Green"]aroma-config[/COLOR] after you calibrate it.
* Remove precision calculation in scrolling thread (Natural calculation but less fluid)... Feel faster now.
* Add function for [COLOR="Green"]aroma-config[/COLOR] to define custom key code for up/down/select/back/menu, just like [COLOR="Green"]calibrate()[/COLOR] function. with format like this: [COLOR="DarkRed"]ini_set("customkeycode_up",130);[/COLOR] or [COLOR="DarkRed"]ini_set("customkeycode_select",13);[/COLOR], the keycode can be capture by [URL="http://xdaforums.com/attachment.php?attachmentid=872892&d=1327550395"]aroma-keycapture-flashable.zip[/URL]

[B]ANGGREK -1.00 - BUILD:120125-002[/B]
* Add Home & Power Button To Select Items
* Unsigned Script Now Not Terminated Installer, but just show Alert That the script should be signed to pass install ui
* Add More Documentation in aroma-config

[B]ANGGREK -1.00 - BUILD:120124-001[/B]
* Initial Release ( AROMA UI, AROMA Touch Handler, AROMA Markup String )
* Customizable ( Custom Theme Colors, Customizable Fonts and Images )
* Optimized Build ( Static, -o2, remove unused functions, remove png-write and zlib deflate functions )
[/LEFT]

Open Source?

There may be some people who will ask if the project is Open Source, and the quick answer is YES. It is an Open Source Project Now.

Why Release The Source?

I used some other work (modified) from the Open Source Community, especially Koush's recovery source code for getting the input mode, PNG, ZLIB, and some Framebuffer programming samples.

I want to make all chefs feel safe, so I guarantee that I won't make this into a money making program.

I got something from the community, and I want to give something back to it.

What Benefits?

Rapid development

I can get code review & patches - Not just bug reports

There are many innovations that I wrote in the program that may be useful for other needs, like the AROMA Graphic Framebuffer, the AROMA UI, the Amarullz Dithering Method, and the AROMA Simple PNG Fonts. It may be used in recovery, so recovery can use the AROMA Installer Interface

:cool: I can learn more about Open Sourcing programs (especially the CVS and licensing things - that always drive me to the question - what is it?)

I Need Help

As I said before, I am just a newbie at Android Development, or even as a user. I need someone who has a lot of knowledge about Open Sourcing the software, and a lot of knowledge about licencing (I don't know much, I just tried to make my software compatible with them: GPL, Apache, etc.)...

Thanks.
​

Source Code

https://github.com/amarullz/AROMA-Installer​

TOOLS: AROMA Key Capture

I also created "aroma-keycapture-flashable.zip" to capture the keycodes of your device (flashable in recovery - won't flash anything :cool:). And in case the keys don't work, report the keycodes in this thread, with information like this example:

DOWNLOAD IT HERE​

Prev Item/Up Key = 120
Next Item/Up Key = 110
Select Item/Enter/Select Key = 13
Back Key = 200
Menu Key = 193

To customize keycodes, open aroma-config and modify this code:

##
# Custom Key Code - Usefull For Some Device which not used
# Standard key code for up/down/select/back/menu
#
# You can capture the keycode in
# recovery using "aroma-keycapture-flashable.zip" Available in
# AROMA Installer Thread.
#
# Press some key when it run, it will return key code,
# that key can override up/down/select/back/menu actions in
# AROMA Installer, you can even set your home key for up, or
# volume down for select item
#
#-------- Uncomment & Modify this Code:
#
# ini_set("customkeycode_up", "115");
# ini_set("customkeycode_down", "114");
# ini_set("customkeycode_select", "116");
# ini_set("customkeycode_menu", "139");
# ini_set("customkeycode_back", "158");
#