yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] kevinrocksman:
thats being worked on right now, hes making it so u can compile ur own binary for that specific device so it doesnt freeze
[Android Software/Hacking General [Developers Only]] kevinrocksman:
For anyone that needs help please post it here (upload your aroma-config, updater-script and most recent log) and I will see what I can do for you :)
[Android Software/Hacking General [Developers Only]] Darkman:
Sorry but i dont understand? How work on the Solution?

With CWM 6.0.1.1 it works fine... only CWM 6.0.2.7 doesnt work... i Think this is the reason:
[Android Software/Hacking General [Developers Only]] Patrics83:
He means that a new AROMA installer version is being worked on. :)

If you are having problems with the current AROMA installer, just go back and calibrate the screen manually (calibrate_matrix)
[Android Software/Hacking General [Developers Only]] LaboDJ:
I've done a GApps Package + system slimmer using AROMA.

Very very nice framework.

Love it! :good:

You can find my Work HERE

Is there a way to take screenshots? Or should I use an external camera?
[Android Software/Hacking General [Developers Only]] carl1961:
if your kernel supports adb, you can use droid explorer or the ADB

Android\android-sdk\tools\ddms.bat (depreciated) or

Android\android-sdk\tools\monitor.bat
[Android Software/Hacking General [Developers Only]] CosmicDan:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

I always wanted to take screenshots, but ddms/monitor screencast never worked on xperia 2011 kernels. As a dev I spent days trying to find why but never could :(

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] Sebby:
could someone help me out here

what i want is to put a option to exit to recovery

menubox(

"Pre-Flash Options",

"Please select:",

"@update",

"wipe.prop",

"Perform all partitions wipe","If you want a compleet clean install","@install",

"Perform only System Partition wipe","If you want to update the rom","@install",

"Filemanager","AROMA Filemanager","@manager"

);

what i want is this

menubox(

"Pre-Flash Options",

"Please select:",

"@update",

"wipe.prop",

"Perform all partitions wipe","If you want a compleet clean install","@install",

"Perform only System Partition wipe","If you want to update the rom","@install",

"Filemanager","AROMA Filemanager","@manager"

"Exit to recovery","","@recovery"

);

but i need a line that when i press that option it goes back to recovery

i got a option at the end of installation to reboot or back to recovery

i tryed some things but no luck

i got always a error at the last line off the aroma script
[Android Software/Hacking General [Developers Only]] Patrics83:
Try this:

if prop("wipe.prop","selected")=="4" then
if
confirm(
"Exit",
"Exit to Recovery?",
"@alert"
)=="yes"
then
);
exit("");
else
back("1");
endif;

Edit: I was just about to answer your PM ;)
[Android Software/Hacking General [Developers Only]] Sebby:
removed
[Android Software/Hacking General [Developers Only]] amarullz:
mount("ext4", "EMMC", "/data");

or

mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");

I already wrote the manual ( but in very rough english - not my native language - c is native language :D ). you should replace the: update-binary-installer with your previous/normally used update-binary, but renamed.

First time Aroma wouldn't start: I think you accidentially replace the aroma update-binary with your old update-binary (without renamed it).

Aroma started it self within the Aroma installer: Then I think you copy the aroma update-binary and rename it to update-binary-installer (both binary was aroma binary) :D - it's called never ending loop :cool:

Why I still use update-binary-installer in aroma? (not implement all functions in one binary)

* I am afraid the binary was device/manufacture independent

* Many user was familiar with something like mount need 4 arguments, but other binary only support 3 arguments.

* Some binary support different functions that usable in some devices but unusable for another devices.

I had a plan to include all installer functions in aroma binary, but it need so so many tester in so so many devices, and user need to use aroma standard installer functions.

If there somebody who can help me to create simple manual about it, I will be happy.

Also I need to create update-binary repository with folder format like this:

Manufacture/device/type.

example:

htc/bravo/mui - update-binary from htc desire mui

htc/bravo/cm7

etc....
[Android Software/Hacking General [Developers Only]] amarullz:
Upload your edited fonts here, I will see what's wrong with it...
[Android Software/Hacking General [Developers Only]] bar3200:
Here are the fonts:

Small:

Big:
[Android Software/Hacking General [Developers Only]] amarullz:
can you attach the png? just zip it.
[Android Software/Hacking General [Developers Only]] bar3200:
Here is the zip...
[Android Software/Hacking General [Developers Only]] amarullz:
I am sorry, but currently AROMA only supported 96chars only, and you can't add new chars into the fonts.. all you can do is only replace the current fonts.

Will find other method to support this...
[Android Software/Hacking General [Developers Only]] V6-Maniac:
@ Amarullz

No more worries.

It's all working as it should be... :D

So for you yet another rom into your list which uses Aroma. ;)

Took a little movie (with my HTC Desire) of the install procedure.

Here you can see i have a little white bar flickering on top of my screen.

Don't know if this should be there but just wanted it to be mentioned.

[YOUTUBE]x_nWKVi0m-4[/YOUTUBE]

Release: Feb 14 2012

Rom: Sense-o-Maniac - ICE 4.0.3 Sense 3.6

Kernel: Stock 1,2Ghz HTC Kernel

Base: 3.25.401.101XE

Device: HTC Sensation z710
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
Yesterday i released my MIUI v4 ICS Rom (PORT) for HTC Desire on MIUI Germany. German, English and Chinese language inside and of course with the beauty AROMA :)

http://miui-germany.de/forum2/index.php?page=Thread&threadID=3868
[Android Software/Hacking General [Developers Only]] amarullz:
Will add it into first page ;)

* I will need a full post to list all ROMs soon :D

Wow.. hey can I use your video... I want to make it before, but I don't have any good cam for shooting video...

Is there any link into your ROM? I will add it into 1st page
[Android Software/Hacking General [Developers Only]] V6-Maniac:
@ Amarulzz

Go ahead, use the video.

The rom isn't finished yet, when it will i'll send you the link...

What about the white flickering bar on top of the screen?

Is this meant to be?
[Android Software/Hacking General [Developers Only]] amarullz:
I don't know? is it show in the screen or it was just a reflection of camera?

Anyways, Version 1.10 Will be out soon. Here the new (*) functions list available in 1.10:

CONFIG FUNCTIONS

setcolor - SET AROMA COLORSET

ini_set - SET INI CONFIGURATION

calibrate - SET CALIBRATION DATA

calibtool - SHOW CALIBRATING TOOL

VARIABLE FUNCTIONS

getvar - GET VARIABLE

setvar - SET VARIABLE

appendvar - APPEND STRING INTO VARIABLE

prependvar - PREPEND STRING INTO VARIABLE

PROP FUNCTIONS

file_getprop - GET PROP

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 (*)

FILE FUNCTIONS

writetmpfile - WRITE STRING INTO TEMPORARY FILE

write - WRITE STRING INTO FILESYSTEM (*)

readtmpfile - READ TEMPORARY FILE AS STRINF (*)

read - READ FILESYSTEM AS STRING (*)

ZIP CONTENT FUNCTIONS

readfile - [Deprecated] - Renamed to zipread

readfile_aroma - [Deprecated] - Renamed to resread

zipread - Read String From Zip (*)

resread - Read Strinf From Resource (*)

EXEC

zipexec - Exec Program From Zip (*)

resexec - Exec Program From Resource (*)

run_program - Run Program/Exec (*)

exec - Run Prohram/Exec (*)

MAIN UI FUNCTIONS (With Next & Back Buttons)

splash - SPLASH SCREEN

checkbox - CHECKBOX

selectbox - SELECTBOX

textbox - TEXTBOX

viewbox - VIEWBOX

agreebox - AGREEBOX

menubox - MENUBOX

INSTALL UI

install - START INSTALLATION PROCCESS

DIALOG UI FUNCTIONS

alert - ALERT DIALOG

textdialog - TEXT DIALOG

confirm - CONFIRM DIALOG

DISK INFO FUNCTIONS

getdisksize - GET DISK SIZE

getdiskfree - GET DISK FREE

getdiskusedpercent - GET DISKUSAGE AS PERCENTAGE

COMPARISON & MATH

cmp - COMPARE INTEGER

cal - CALCULATE INTEGER

iif - INLINE IF

ETC

exit - TERMINATE PROCCESS

back - BACK TO PREVIOUS WIZARD (*)

pleasewait - SHOW WAIT SCREEN

reboot - REBOOT DEVICE (*)
[Android Software/Hacking General [Developers Only]] FBis251:
Oh man thank you for this list! Lots of functions I didn't know about. :D

Execute files!
[Android Software/Hacking General [Developers Only]] Kalashnikitty:
Cant wait for the new version, need the get prop function now :D
[Android Software/Hacking General [Developers Only]] amarullz:
Nightly 1.10 (BUILD:120207-001)

Nightly 1.10 (BUILD:120207-001) uploaded

http://www.amarullz.com/_downloads/aroma-nighly/aroma-nightly-1.10-120207-001.zip

Add anisplash function for animated splash screen :cool:

EDIT: OK... I will keep incremental build number not reseted every major/minor version update.. so this build should be 012.
[Android Software/Hacking General [Developers Only]] waeponx:
I don't know if this was posted or not, but I think you should add too the OP that this needs to use the AOSP edify scripting, not device specific.

For example:

the HeroC uses

format() with 4 args so if you are still scripting your updater-script using this way you will get an error:

format() expects 3 args, got 4.

or something like that.

etc etc.
[Android Software/Hacking General [Developers Only]] amarullz:
Read here: http://xdaforums.com/showpost.php?p=22218589&postcount=161

I already mention there. In first page also there is many times about update-binary-installer
[Android Software/Hacking General [Developers Only]] bar3200:
So.. I tried to make a font with 96 chars.

I deleted some unuseful chars, and instead of them put my language's letters.

And still, same thing. There is a text, but wrong text!

Here is the font:
[Android Software/Hacking General [Developers Only]] waeponx:
yea, i wasnt about to read every post to confirm if it was posted or not lol, but thanks for letting me know again :P. Awesome work here.
[Android Software/Hacking General [Developers Only]] avss:
Nice new options Amarullz :)

Altho the reboot("now"); option sometimes does'nt reboot but brings me back in recovery...Saying there was an error in aroma config.

When i immidiately try a second time it will reboot the device as expected.

Strange aint it ?
[Android Software/Hacking General [Developers Only]] Mr.Mefisto:
Amarullz is it possible with aroma instaler to provide in roms for htc desire to users to chose between 2 framework-res, 2 com.htc resources, 2 systemUI???
[Android Software/Hacking General [Developers Only]] CosmicDan:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Can you guys stay on topic? Don't answer people with script problems because there is a dedicated thread for it. Please follow rules.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] Patrics83:
Sv: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

The reason for the error at last line is because you call this: if prop("first.prop","selected")=="3" then

All "if" must have a endif;

Something like this should work...

textbox(
"Requirements",
"BugX requirements:",
"@info",
readfile_aroma("requirements.txt")
);

setvar(
"sysinfo",
"Your Device System Information:\n\n"+

"Model\t\t\t: "+sysprop("ro.product.model")+"\n"+
"CPU\t\t\t: "+sysprop("ro.product.cpu.abi")+"\n\n"+

"System Size\t\t\t: "+getdisksize("/system","m")+" MB\n"+
"Free\t\t\t: "+getdiskfree("/system","m")+" MB\n\n"+

"Data Size\t\t\t: "+getdisksize("/data","m")+" MB\n"+
"Free\t\t\t: "+getdiskfree("/data","m")+" MB\n\n"+

"SDCard Size\t\t\t: "+getdisksize("/sdcard","m")+" MB\n"+
"Free\t\t\t: "+getdiskfree("/sdcard","m")+" MB\n\n"+
""
);

textbox(
"System Information",
"Current system information may not supported in all devices.",
"@info",
getvar("sysinfo")
);

menubox(
"Pre-Flash Options",
"Please select:",
"@update",
"wipe.prop",

..................
);

Edit: Sorry for the OT, didn't notice it was in wrong topic. :o

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] Cristiano Matos:
Is there a way to save logs of installation?

I mean the options we choose during the process.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
yes, i made a "tool" for it, PM me
[Android Software/Hacking General [Developers Only]] Patrics83:
Sv: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Delete....

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] kevinrocksman:
It pulls all tmp files including the aroma install.log

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

actually it does more than that, packages either "just aroma files" and/or all files for testing and pushing to phone
[Android Software/Hacking General [Developers Only]] ...Awesome...:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Can someone help me...

OK I have a menubox with pictures/icons next to each items

Example:

Choose black

Choose red

Etc

The problem is everything works but some of the icons aren't showing up they are @black @red @blue @sky @white but only the @black&red are showing up they are all .PNG images. Any help or ideas?

Is there a way/format icons are suppose to be?
[Android Software/Hacking General [Developers Only]] CosmicDan:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Make sure they are 24 bit, standard non-interlaced PNG's, no bigger than 128x128 ( I think 72x72 is best) and all 96dpi. I had this problem when first used aroma and my problem was the DPI and that some PNG's were 32bit.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] ...Awesome...:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Yes, they are all 72x72 icons and 96dpi might be the 24bit since I had used paint and saved them as .PNG instead of 24-bit will try that now.

---------- Post added at 04:50 AM ---------- Previous post was at 04:39 AM ----------

Edit: nope didn't work

72x72

96dpi

24 bit

There is an image that shows up that has

72x72

96dpi

32bit

Any other ideas? Thanks in advance.

Edit: OK I checked all the icons and they are ALL 32bits and the ones that don't show up are 24bits.... How can I change the bits to 32?
[Android Software/Hacking General [Developers Only]] CosmicDan:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

I do my editing in paint shop pro, you'll have to find another program to save specific formats. No such thing as a 32-bit PNG, only 24-bit PNG and 24-bit plus alpha PNG (paint obviously can't tell difference between 24-bit+alpha and 32-bit). Just make sure they are all the same bitdepth PNG's, maybe GIMP can do it.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] ...Awesome...:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

OK I just downloaded GIMP let's see if they have that feature.
[Android Software/Hacking General [Developers Only]] spaceda:
you can try painter.net
[Android Software/Hacking General [Developers Only]] ...Awesome...:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

OK problem solved and worked like a charm used GIMP then opened the icon, then FILE>EXPORT> SAVE AS black.PNG

it saved it as 32bit and I flashed it and it worked icons showed.

Stay tuned for AwesomeBeats with Aroma Installer. Looks nice.

Thanks everyone for their help.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
Yes look at the bottom of this post

Not sure what you meant here..

I am sorry if this is off topic, I think it is something which can help everyone here in some way or another... Maybe even reduce the questions by about half. If this is off topic I am sorry and I will delete it but here it is:

This can pull log files/tmp files and other files from an aroma execution. It also allows packaging of just aroma or whole rom files

Aroma Log/Tmp Puller V1
[Android Software/Hacking General [Developers Only]] Patrics83:
I was going to say that if you want to copy the install.log after the aroma installer has finished then just add this to your aroma. (Same as pressing "Save Log" button)

exec("/sbin/busybox","cp","/tmp/aroma/.install.log","/sdcard/LogName.log");
exec("/sbin/busybox","sync");

Your tool is however good if you are a dev and want to get all logs/props in one click ;)

Or, "adb pull /tmp" :good:
[Android Software/Hacking General [Developers Only]] NikiFIXIT:
Help me :(

hi!

i have problem with aroma, when i try to install my rom in the recovery is written SYNTAX ERROR!!! aroma-config on line 163 col 14 (status 1)

but i have verified in aroma config and there isn't error.

Sorry for my bad english but i am a sheep in english.

edit:risolved
[Android Software/Hacking General [Developers Only]] CosmicDan:
Please post your FULL SCRIPT in the correct thread - first link in OP for Script help. This thread is development/advanced.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
lol yep true. adb pull /tmp is pretty much what option 1 is.
[Android Software/Hacking General [Developers Only]] eloimuns:
Hi guys and specially Aroma Dev.

I have ZTE Skate (Screen 4.3" and Armv6 processor), but i can't use Aroma.

Don't work the touchscreen and the screen is upside down,

How i do to fix it?

If this problem solved, i can't read the 153 pages of comments.

THANKS!
[Android Software/Hacking General [Developers Only]] CosmicDan:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Is there sources available for your kernel?

Try using Aroma 2.00 and manual calibration. For screen, maybe dev can ads flip-y option in future version.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] eloimuns:
Sources for kernel: h t t p s :/ / github.com/C3C0/zte_skate_35 Forked GB, ICS and JB

Cant post links delete spaces in ht tps..

now i'm going to try aroma 2.0 and comments a result

2.0 Work upside down and touch unstable but workin in correct positon. Is so difficult coordinate touch and screen

BUGS:

Screen UPside down

Touch work, unstable, and work in the correct positiona

THANKS
[Android Software/Hacking General [Developers Only]] Turge:
Amarullz, there's a problem with Aroma and the latest version of TWRP (possible only with certain devices) causing the Aroma installer to have a cyan tint: http://xdaforums.com/showpost.php?p=37702474&postcount=476

Any chance you can provide an update before your next major version?

Thanks,

Turge
[Android Software/Hacking General [Developers Only]] CosmicDan:
Doesn't happen to me (using TWRP 2.4.1.0 built from source). Aroma has a force_colorspace op though that's probably the problem (I've always needed to do it, at least since Jellybean kernels). I also have to re-set it to the default (I assume) on exit. Xperia 2011 device. E.g. (my opts):

ini_set("force_colorspace","bgra");
{script}
ini_set("force_colorspace", "argb");
{EOF or 'exit' command}

It's strange that this happens. I assume the AROMA Core rebuild will make this option obsolete.
[Android Software/Hacking General [Developers Only]] Mr.Its:
@ eloimuns

I reported the same issue months ago.

http://xdaforums.com/showpost.php?p=32555350&postcount=1411

http://xdaforums.com/showpost.php?p=32586446&postcount=1425

I'm not sure if the dev will fix it in the next version, but via PM's he said that he's trying to find a way to better implement it.

I've been waiting some time for an update or even a test version, but so far nothing.
[Android Software/Hacking General [Developers Only]] eloimuns:
Waiting for the new update. Aroma is a great installer in ZTE Skate :D
[Android Software/Hacking General [Developers Only]] anukilimanoor:
Could you please help me to take screenshot of aroma installer. I can able to take screenshot with help of droid explorer after phone booted. But while phone is on recovery I can only able to browse the content with droid explorer. Im using I9300 (Samsung Galaxy SIII). I would really like to take screenshot of aroma installer to make some tutorial. Thanks and Regards...
[Android Software/Hacking General [Developers Only]] carl1961:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

I have the same issue, but it is recovery not loading adb I think , I do not think this is aroma, but the kernel your recovery is booting with.
[Android Software/Hacking General [Developers Only]] anukilimanoor:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

I know this is not the problen with aroma. if anyone know the solution that will be great. Or Is there any other way to get the screen shots.
[Android Software/Hacking General [Developers Only]] carl1961:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

What recovery or you using?
[Android Software/Hacking General [Developers Only]] anukilimanoor:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

CWM touch recovery 6.0.2.7.
[Android Software/Hacking General [Developers Only]] carl1961:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

I have TWRP 2.4.1

I can also take screen shots with droid explorer, when phone is running , but not while in recovery ,
[Android Software/Hacking General [Developers Only]] CosmicDan:
Re: [MOD][2.56] AROMA Installer :: 121004-031 :: Open Source

Issue with not able to take screenshots in recovery is to do with kernel, something in either framebuffer code or adbd binary. I have not found a solution. It requires kernel modification though.

Sent from Xperia Play (R800a) with Tapatalk
[Android Software/Hacking General [Developers Only]] Yank555:
Hi,

I've run into an issue, and I'm thinking it might be an updater-script filesize issue as I can't find an error, it exits with exticode 0 (so fine), but it just stops executing what's coming next in the file...

aroma-config is 48Kb

updater-script is 29Kb

Anyone stumbled on such a limitation ? Googled, couldn't find anything about this...

Thanx for any hint !

JP.
[Android Software/Hacking General [Developers Only]] kevinrocksman:
i know of no limitation of aroma...lol ive found ways to do just about everything an so far the LARGEST file Ive made is 200KB+ so my answer is no there is no limitation
[Android Software/Hacking General [Developers Only]] Yank555:
Yep, looks like it's not... ;)

But Aroma is not the issue, that bit is just fine, it's in updater-script...

Strangely it stops execution here :

ui_print(" - Samsung & AOSP Light only tweaks");

if file_getprop("/tmp/aroma/install.prop","selected.1") != "3"
then
# Only if AOSP JKay is not chosen
if file_getprop("/tmp/aroma/sammyaosptweaks.prop","item.0.1") == "1"
then
ui_print(" - Nexus 4 lockscreen");
package_extract_dir("setup/sotmax/tweaks/samsung_AOSP-Light/android_4.2_lockscreen","/");
endif;
if file_getprop("/tmp/aroma/sammyaosptweaks.prop","item.0.2") == "1"
then
ui_print(" - Black status bar");
package_extract_dir("setup/sotmax/tweaks/samsung_AOSP-Light/black_status_bar","/");
endif;
endif;

# We must not foget to flash the themes

set_progress(0.5);

if file_getprop("/tmp/aroma/install.prop","selected.1") != "1"
then
# AOSP themed
ui_print(" ");
ui_print("@Installing theme");
ui_print(" ");
endif;

The "ui_print(" - Samsung & AOSP Light only tweaks");" I see on the screen, the if is not passed as selected.1 == 3 but I don't get to the set_progress, not do I see the "ui_print("@Installing theme");", which should as selected.1 == 3, thus it's different from 1 ...

Thie is the end of the Aroma log :

Installing tweaks

- Global tweaks
- Samsung only tweaks
- Samsung & AOSP Light only tweaks

Installer Error (Status 0)

End at : Mon Feb 11 18:51:15 2013

Time for bed now, maybe it's sth stupid and I'll see it tomorrow giving it a fresh look ;)

JP.