yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] tegezan:
Waow... awesome... now, many roms for my sensation use your aroma installer... love it..

maju terus gan... :)
[Android Software/Hacking General [Developers Only]] vijai2011:
Can this be used for I-9000?If not why?Will it have compatability later?thanks for your replies
[Android Software/Hacking General [Developers Only]] amarullz:
You can test by flashing it in recovery... if it works, it works..

Ok, I can't release 1.50 today, maybe tomorrow :)

But. Version 2.00 (codename: Dahlia) development will start directly after 1.50 release in different branch. It will contains new features and improvement. Cempaka/1.50 branch will keep improving and fix any bugs.

Here the 2.00 highlighted plan

* TTF Support :cool:

* GridView for system information (property, value) interface

* Enhance graph engine

* More Device Support

* CSV based customize ( will try it, if it will easier I will implemented it )

* etc...
[Android Software/Hacking General [Developers Only]] comnam90:
Sadly I have more errors due to a lack of knowledge :(

Any assistance solving these 3 syntax errors would be appreciated..

http://dl.dropbox.com/u/23356668/errors.zip

Have included aroma log, aroma-config and updater-script
[Android Software/Hacking General [Developers Only]] FBis251:
All these lines are missing semicolons:

Line 69

package_extract_file("/tmp/wipe", "/sdcard/Darky/")

Lines 662-664

package_extract_file("/tmp/supercore/zImage", "/tmp/zImage")
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p5")
delete("/tmp/zImage")

669-671

package_extract_file("/tmp/siyah/zImage", "/tmp/zImage")
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p5")
delete("/tmp/zImage")

676-678

package_extract_file("/tmp/neak/zImage", "/tmp/zImage")
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p5")
delete("/tmp/zImage")
[Android Software/Hacking General [Developers Only]] TweetyPeety:
Hey Amarullaz tried your new NIGHTLY yesterday and works really nice.

Only things I could find are

- the header Text and MIUI 4.0 Theme is white, which looks not good

- the two last demos are not set yet, I think so, because the one with back.... something does not differ from a normal installation. Thought have red something about saving this options so next time one doesn't have to activate the same options in the menu.

except that, wonderfull work...
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, thats why I dont released it yet. The. binary already completed, but the new aroma-config demos doesn't finish yet. Also Ics, miui4 & sense theme still need some improvement..

And about the common error "sintax", I think it was good idea to create script parser/inspector for inspecting syntax error, for windows & linux.. :)
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
The new nightly is so beautiful! i built a complete Menu for the users.. ahh so great..

i think u will get a third donation from me amarullz... :)

so but one question. is it possible to load a second aroma-config in the aroma config? - i ask this because i wanted that the user can choose the install language
[Android Software/Hacking General [Developers Only]] TweetyPeety:
of course dude,,, I included already 3 Languages during installation. Two would be easier because you can work with if -> than -> else,, but three was a little bit tricky and I made it totally for dump users like me. A lot of code, but easy to change and easy to understand.

right now at work, but just download http://xdaforums.com/showthread.php?t=1498843 and look into my aroma-config
[Android Software/Hacking General [Developers Only]] comnam90:
thanks!

last time "hopefully" that i bug you guys for what must be simple things.

Getting one last error code
[Android Software/Hacking General [Developers Only]] Nottach:
Hello,

I am trying to use Aroma Installer with a Motorola Atrix4G and I'm kind of stuck.

I have got my aroma-config all setup but I am getting a (status 0) error during install. I believe it is a binary problem. I have tried using the provided binary as well as the binary from the MotoDefy WhiteRabbit ROM.

My question is, does each device need it's own binary? I noticed they are different sizes so I'm not sure.

I am attaching my META-INF folder in hopes somebody can help me find my problem.

Any assistance is greatly appreciated.

Thanks,

http://dl.dropbox.com/u/25535300/XDA/AROMA-Installer-Nottach-Atrix4G.zip
[Android Software/Hacking General [Developers Only]] sanmore:
Rū"
[Android Software/Hacking General [Developers Only]] scorpion44:
The greatest installation tool there is. I used it installing the “DORIMANX” ROM and works like a charm. Hope more devs will take advantage of this tool.

Thanks a lot.

Steve A
[Android Software/Hacking General [Developers Only]] Nottach:
I agree, I want to get this working for the Atrix4G so bad. I currently release two different versions of my ROM and I have optional MODs that are currently their own CWM Zips and with Aroma I could roll everything into the one zip.

I hope somebody sees my previous post, 3 posts up, and can help me get it working.

I can't get past the (status 0) error. :(
[Android Software/Hacking General [Developers Only]] comnam90:
same issue here buddy with status 0
[Android Software/Hacking General [Developers Only]] Nottach:
I think I figured it out, I can't believe I just thought of this.

In the file descriptions in OP it says update-binary-installer "was" old binary.

That was confusing,

I simply took an update-binary from a working rom, renamed it to update-binary-installer and overwrote the one in my Aroma Installer zip. And it works. :)
[Android Software/Hacking General [Developers Only]] TweetyPeety:
Amarullaz, you know whats strange. I am using your latest nightly and the normal MIUI Theme.

I have set 3 languages and it worked everything perfect. I don't know if it is because of the latest Nightly, or the Theme, or was always there.. can't remember if I tried English

I have set Text for the Buttons at the beginning

and strange is that if I click on German everything is fine, if I go back and click on English, the Back Button has the last letter of Zuruck, the same with if I click on Spanish and go back to anything else, it has the last 3 letters.

a picture says more than words,,, strange,,, any idea,,, it only happens with the back button
[Android Software/Hacking General [Developers Only]] amarullz:
There is some trick to make multilanguage more efficient. But I will consider your idea (I also had the same idea before, but need a good way to implemented it...)

Thanks for info... I already found the problem :).. will fix it for sure...

+ And, damn... you also hire Chunk Norris to help you cook the rom?? :D

You know., I don't know how should I write the sentence, but you have a best for it. Took an

update-binary

from a working rom, renamed it to

update-binary-installer

and overwrote the one in my Aroma Installer zip.. Thanks ( added it in download section 1st page-2nd post )

Where is the issue? Is it in recovery after the binary terminated?... I had the fix in next build, I hope it's absolutely fix this bug in some devices...
[Android Software/Hacking General [Developers Only]] comnam90:
Might try nottach's suggest of replacing update-binary-installer
[Android Software/Hacking General [Developers Only]] amarullz:
That was in save log isn't it? yes it was simple and already mentioned many times. you just need to replace update-binary-installer
[Android Software/Hacking General [Developers Only]] juanitomigraña:
Thanks for your great work. Added in my ROM Cibernodo Mod2Bravo v6.0
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
My idea with the more than one language was,

set up an extra file, we call it globals ;)

in that file we write our 2 billions of global variables for language stuff etc.

i think you know what i mean :p
[Android Software/Hacking General [Developers Only]] ardh:
I'm very impressed for your work. I try ROM using Arome installer. It's great.

Keep up :)

From The land of "Sunda" Indonesia
[Android Software/Hacking General [Developers Only]] crybert:
Hey amarullz, any news about this? Keep up the good work.
[Android Software/Hacking General [Developers Only]] amarullz:
Like this:

if (prop("lang_select.prop","selected")=="1") then
loadlanguage("en.lang.prop"); #-- Load language prop from resource (UTF-8)
else
loadlanguage("jp.lang.prop");
endif;

alert(
"~welcome",
"~welcome_msg"
);

en.lang.prop

welcome=Welcome
welcome_msg=Hi, Welcome to installer

jp.lang.prop

welcome=歓迎
welcome_msg=インストーラへこんにちは、ようこそ

aroma-config also will support UTF-8 & font will support UNICODE, because it will support TTF :D

I will upload test update-binary for you...
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
@amarullz

Hey, know that you are working on a lot of things right now, but did you consider the multibox thing? I sent you an idea for the function and prop structure.
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, i consider it to release plan in 2.00, but I will think about how to make it easy to use in script, because if I am not design it right, it will not usable & script will become uneffective
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
Yep exactly what i mean.. can´t wait for 2.0 :D
[Android Software/Hacking General [Developers Only]] jack_nuclear:
amarullz Tell me step by step how i can add language in you excellent script, please. I want add russian and use in my Android 4.0.3 rom for HD2. where should I add the code from post №357? where i must put files such as lang.prop and lang_select.prop? I am a newbie. This is my first and last post in your topic, if you give the answer. Yours Russian friends
[Android Software/Hacking General [Developers Only]] amarullz:
I think it still not possible for russian, because It don't support non-ASCII chars and only 96chars supported for now.

Next version will support TrueType and UTF-8, so it mean it will support all unicode chars including russian, chinese, japan, arabic, etc :D (just need a correct font)
[Android Software/Hacking General [Developers Only]] TweetyPeety:
think that the method you descriped a couple of posts before is not working yet, with the language ~welcome stuff, tried it but get a syntax error.

so waiting for 2.0
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, it wont works :D It was a plan
[Android Software/Hacking General [Developers Only]] Namaless:
I used setvar and getvar for language, example:

if
prop("lang.prop", "selected") == "1"
then
setvar("lang", "eng");
setvar("text_lang", "English");

# default buttons
setvar("text_back", "< Back");
setvar("text_next", "Next >");
setvar("text_finish", "Finish >");
endif;

and simple using getvar in the other script, example:

# Setup back and next buttons.
ini_set("text_back", getvar("text_back"));
ini_set("text_next", getvar("text_next"));

Not need more, if you want use load_prop("lang_eng.prop") for loading setvar file :)
[Android Software/Hacking General [Developers Only]] wserfer:
Can you create graphical editor for script?
[Android Software/Hacking General [Developers Only]] mickey-r:
Hi amarullz,

I try to make a checkbox according a folder listing.

To do this, i write a script that list files in folder

and write a tmp file with item checkbox structure

#!/sbin/sh

liste=`ls -a /sdcard/_app`

for i in $liste;
do
if [ $i != ".." -a $i != "." ]
then
j=$j+1
fi;
done;

for i in $liste;
do
if [ $i != ".." -a $i != "." ]
then
k=$k+1
if [ $k != $j ]
then
echo "#$i#,#Installer l'application $i#,1," >> /tmp/app_menu.txt;
else
echo "#$i#,#Installer l'application $i#,1" >> /tmp/app_menu.txt;
fi;
fi;
done;
cd /tmp/
sed -i 's/#/"/g' /tmp/app_menu.txt;

After, in aroma-config, i add this :

resexec("menu_sd_app.sh");
checkbox("Custom install",
"Choose apk to install:",
"@personalize",
"apk.prop",
"Apk","",2,
read("/tmp/app_menu.txt");
);

of course the script return me an error ...

In futur release, can you implement something like that for checkbox if you have the time :)
[Android Software/Hacking General [Developers Only]] amarullz:
yes, but i think it should be in familiar format, just example: cvs
[Android Software/Hacking General [Developers Only]] thedawn2009:
Has anyone come across an issue where the rom will not install? it gets to the "Press next to install" then sits on the next page before saying it is finished. I attached my aroma-config and updater-script
[Android Software/Hacking General [Developers Only]] amarullz:
First: 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.

Then, can you please send your recovery.log and save logs file (after installation)? so I can know what the problem... :)

Update: new nightly at http://www.amarullz.com/_downloads/nightly/
[Android Software/Hacking General [Developers Only]] naman44:
Thanks for great Job
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Could you provide changelog? The one in the zip is for 1.5
[Android Software/Hacking General [Developers Only]] amarullz:
latest one was the aroma-nightly_1.60-120225-025b.zip

It was nightly, I don't write the changelog for it :D

1:20AM here

But it's improve many things, I will sort the changelogs when I commit the git (I can't remember all the changes if I don't use git :D)

but it has fix string handling, new and more demo, new themes and iconset, more colorset. But the binary changes was more in new string handling (Aroma Markup Handling).

The rest changes was in zip example.. It demonstration all possibility that possible with AROMA Installer.

But Nightly mean "Not perfect"... I just want some tester...
[Android Software/Hacking General [Developers Only]] dk_zero-cool:
Sure can understand that :)

Yes I am aware of what nightly means.

But it is a bit easier testing new things when you know which new things has been added :D

Which definitely helps figuring out what the installer can do and how to use it :)

I for one like code examples more than long howto's (Hate reading)
[Android Software/Hacking General [Developers Only]] crybert:
Hey amarullz, thank your for the new nightly. The colors are now better than before but there is still a blue tint.

Here some Screens from Generic Theme and Splash Screen.
[Android Software/Hacking General [Developers Only]] sk8trix:
I just want to say....its a greeat idea to have an installer like this but I have had a really hard time using it to install a ROM screen calibration is off are there newer versions of it? This was my first time using an installer like this on Android.
[Android Software/Hacking General [Developers Only]] wserfer:
How add cyrillic symbols??

I want use my language!
[Android Software/Hacking General [Developers Only]] Namaless:
You are a noob.. Read few post ago for your question...

Inviato dal mio GT-I9003 usando Tapatalk
[Android Software/Hacking General [Developers Only]] jack_nuclear:
wserfer

Никто тебе тут не поможет. Я уже пытался

No one can help you here. I have tried to ask. No one can tell where to place two codes (post 365)
[Android Software/Hacking General [Developers Only]] wserfer:
Namaless, I don't want draw over 800 symbols...It's stupid.

jack_nuclear, http://cs11242.vk.com/u1564504/151111027/z_1524a631.jpg xDD
[Android Software/Hacking General [Developers Only]] Faryaab:
Ok thanks! I will try it later.
[Android Software/Hacking General [Developers Only]] krakout:
Hmmm very interesting indeed, I hope it catches on - it's a big step forward!

Just a small note: "Aroma" is actually an ancient Greek word ;)
[Android Software/Hacking General [Developers Only]] robocik:
Hi, this looks actually very very nice :D

in aroma.config i see

# <dp> = Device Pixelate. WVGA = 3, HVGA = 2.

can the qhd resolution be supported, would really like to use it on my sensation rom ;)
[Android Software/Hacking General [Developers Only]] amarullz:
qhd has the same dp with wvga, because dp was rounded from width or height / 240.
[Android Software/Hacking General [Developers Only]] robocik:
ok, good to know, i will try to make it work with my rom :)

do you have any signing tool which can be used on the computer at home (linux) or is it just the online version?
[Android Software/Hacking General [Developers Only]] amarullz:
Currently it's only online version,.. but You don't need to sign it when you write the interface script... you just edit aroma-config + updater-script. Unsigned script only will fail in Intallation procces, but not in other wizard.

You can also create dummy rom for testing, so you don't need to pack all ROM files, just META-INF, if it already edited, you can zip the whole things..

Good learning is download RunnyMede AIO by Sebastiaan15, and edit the scripts...
[Android Software/Hacking General [Developers Only]] amarullz:
Updated 02:

* Add Home & Power Button to select item (usefull if not touch screen / aroma haven't calibrated yet in some devices)

* Unsigned script wont terminated in installer, but just inform an alert...
[Android Software/Hacking General [Developers Only]] TweetyPeety:
maybe an idea why I can't select anything. Tried your test and the new -2 Version, it starts and Iam in the Welcome Screen but nothing works to select NEXT.

not the Volume Buttons, not Power Button, not Menu, Home, Back, Search Button

???
[Android Software/Hacking General [Developers Only]] amarullz:
What is your device, and what recovery? Hope I can help you.

Navigating trough control should works with volume buttons, select should be works with power/home button, menu will show menu button...

Because I am used CWM recovery input method "read /dev/input" to read user/keys input.

Maybe I should create debugging function to show what key code when you push the buttons and touchscreen.
[Android Software/Hacking General [Developers Only]] TweetyPeety:
Motorola Defy with CWM 5.0.3.2
[Android Software/Hacking General [Developers Only]] TweetyPeety:
Goig sleep hopefully wo can get this thing done

Gesendet von meinem MB525 mit Tapatalk
[Android Software/Hacking General [Developers Only]] amarullz:
Can you test the Attachment?

Here What The Change:

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

Refer to defy recovery source code found HERE (Thanks walter79 for github source code) I add some keycode into input reader

53 : Down

51 : Up

31 : Select

Add confirmation if calibrated data will be used in current process (After Calibrating) - So you can try touchscreen without editing aroma-config after you calibrate it.

Remove precision calculation in scrolling thread (Natural calculation but less fluid)... Feel faster now.

Add function for aroma-config to define custom key code for up/down/select/back/menu, just like calibrate() function. with format like this: ini_set("customkeycode_up",130); or ini_set("customkeycode_select",13);, the keycode can be capture by aroma-keycapture-flashable.zip

I Also Created "aroma-keycapture-flashable.zip" to capture key code of your device (Flashable in Recovery - Won't flash anything :cool:). Just In The case if the keys not works... And report the keycode in this thread, with information like this example :

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

To Customize KeyCode, 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");
#

* And Dont Forget To Re-Sign The Scripts
[Android Software/Hacking General [Developers Only]] str8upx:
Awesome work. This is truly the future of flashing roms and I see wide-spread adaptation in less then 6 months.
[Android Software/Hacking General [Developers Only]] amarullz:
Thanks,..

Do you know which rom already used this installer?.. Maybe I need to support all chef to customizing their ROM for current state, I think still alot of rom maker had some difficulty to make it works....

So If you had a problem, fell free to post here, I will help you to customize your ROM. :D . I need more data to make it compatible with all devices...

Currently writing customizing manuals...
[Android Software/Hacking General [Developers Only]] TweetyPeety:
HI,

So first of all, thanks. I figured out that I have Up and Down 115 and 114 and the Power Key is 107, all other keys like back or home doesn't work in Recovery.

Have edit the zip and it works well. A little bit uncomfortable, but it works. Maybe we Defy Users will get anytime Touch Recovery.

So now I have to figure out how the install procedure and all the options work to get it work with my rom.

I have only some time in the night, because my girlfriend gave birth and therefore I am the whole day in the hospital. So see ya.

---------- Post added at 09:28 AM ---------- Previous post was at 09:11 AM ----------

only one thing, fast before I drive

I see in the config your code for example for a checkbox, really easy to edit

##
# Check Box
#
checkbox(
# Title
"Select Main Mods",

# Sub Title
"Please Select Apps To Install:",

# Icon
"icons/personalize",

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

# Items ( per 3 arguments ): Title, Subtitle/description, Item Type
# Item Type:
# 0 = Unchecked by default
# 1 = Checked by default
# 2 = Item Group Title ( the subtitle won't be used )
#
# Group 1
"SD-EXT Mods","",2,

# Item 1.1
"Generic APP2SD",
"Default Mods with APKs in sd-ext, and Data in Internal Storage", 1,

# Item 1.2
"AD2SDX by amarullz",
"Enhanced Mods with All non-system files in sd-ext",1,

# Group 2
"Boot Animation","",2,
# Item 2.1
"Galaxy Nexus",
"Boot Animation from Galaxy Nexus ROM.", 1,

# Item 2.2
"Generic HTC",
"Generic White HTC Quietly Briliant Boot Animation.",1
);

but how do I get to know the item ID

in the updater-script it is writte

# if
# file_getprop("/tmp/aroma-data/customize.prop","item.6.3") == "1"
# then

it is everytime in the row so first group is 1 next group is 2, should be or

damn when I read it it looks totally clear and easy. Will try it tonight and if it works, damn dude you will be the greatest genius and donation is for sure.
[Android Software/Hacking General [Developers Only]] amarullz:
yes it was item.groupnum.itemnum

if there is item before any group, it was item. 0.itemnum

the value for checkbox was

1: checked, 0:unchecked

for option, the item id was the value of prop.

item. groupid=selectedid
[Android Software/Hacking General [Developers Only]] Chaqmol:
Amarullz the color of installer UI in some of your screenshots are different(black ones)..can i customize the color too?how?