yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Sneakyghost:
Hello Amarullz

Torxx asked me to run your installer on my HTC ONE and check it out for his TrickDroid ROM. Here is what i found so you can draw your own conclusions:

Recovery used was TWRP 2.5.0.0

- UI responds well, it is quick and snappy, both backwards and forwards. There are NO freezes left over.

- Colorspace is still inverted/messed up. I tested rgba=crash/stop of execution; argb=crash/stop of execution; rbga=turquoise tint; arbg=triggers TWRP UI reload. This is analogue my previous testings on the HTC OneS (Ville) which runs the same Recovery. Hence i only checked the first few colorspace values as it was obvious that all acted the same like on the Ville Test.

- Not yet tested on ONE but it was a major on previous stable with the Ville: partition mount/read/write commands seemed faulty on the OneS.

they needed a changed update-binary-installer from CM10.1 nightlies to execute correct, which in turn caused a necessary adaption in the updater-script (now 4 args instead of 3 required for some commands, the addressing of partitions had to be changed to block device name eg. mmcblk0p33). Since those commands weren't working right with the default set i assumed that Aroma also had issues with mounting stuff and writing stuff. This was (sort of) confirmed by the VenomViperOneS ROM which always stopped at 7% when the system write occured (extract_dir i think) and also later failed with setting permissions on files in /system). However, since i am not exactly a developing person and have only rudimentary understanding of what is going on inside the Aroma System, i was never able to fully understand if that has to be allocated to Aroma Binary or to the standard binary that goes alongside Aroma binary. If you feel that you have further questions towards this, feel free to contact me.

However, i feel that there might be issues with wiping and particularly access and erasure of /data and /cache with Aroma, but that is yet an odd feeling which has no substantial facts to sustain it as a valid bug. I do not "officially" report it as i haven't even been able to determine whether the fails come from recovery, binary or aroma binary. All i could see so far is that for some people who claimed they did full wipes in Aroma and/or recovery, the ROM installations still go flakey with file leftovers causing trouble on new installations. I mention it so you have heard this and might keep it in the back of your head for if you happen to stumble over more reports like that one.
[Android Software/Hacking General [Developers Only]] amarullz:
About Installation Process, you should replace update-binary-installer (SHOULD). It was mentioned many times. AROMA Installer wont and cannot (yet) do the installation process like wipe, mount, format, extract, etc. All that functions is handled by update-binary-installer (like you said before, from cm10).

For colorspace issue, I cant help you if you cannot provide me the recovery.log, screenshoot/photo of it, and try run exec demo, there is framebuffer information there, shoot the result (photi/screenshoot)
[Android Software/Hacking General [Developers Only]] amarullz:
I can re-enabled the RTL support, but still drop the support for arabic. Because rtl doesn't need too much processes but Arabic does, and it unusable.

Will reenabling it in next beta. And surely there is still many things need to fix and still need more tester for it...
[Android Software/Hacking General [Developers Only]] franzyroy:
This version has solved my issue with the 'reboot recovery' which didn't work on my SGS (I9000)... Now it works fine. This new version is incredibly smooth. The only thing not normal, I've created a theme for Aroma for the previous versions, I've put it inside, certains colors have changed, but it's not really important. I've merged it with aroma file manager, always also good.

Thanks alot amarullz!
[Android Software/Hacking General [Developers Only]] amarullz:
Yup, already reported before, and I know how to fix it.
[Android Software/Hacking General [Developers Only]] franzyroy:
OK, so I wait the fix. Thanks! ;) Take your time!
[Android Software/Hacking General [Developers Only]] Sneakyghost:
Hello,

thanks for your answer.

I am aware of the binary replacement. It ended in only the CM10.1 binary working correct. I was not sure though how aroma deals with mount/write commands. Had until then only seen it run through the process in Aroma UI and then abort. The scripts said its update-script and that is using the standard binary, not aroma binary obviously, yet still, i didn't feel sure about where to put these issues. Guess those are NOT aroma then :cool:

I will see to get you those logs today, but my "PlayTime" is actually over already for now.

[EDIT]

If anyone wants to test colorspace stuff too, this is the command set that lets you pull Screenshots with ffmpeg.exe (attached to post) and adb while in Recovery (This set needs to be adapted for other recoveries, but there the colorspace issue is not present anyway). This is TWRP only.

adb pull /dev/graphics/fb0 fb0
ffmpeg -vframes 1 -f rawvideo -pix_fmt rgba -s 1088x1920 -i fb0 fb0.png
[Android Software/Hacking General [Developers Only]] DaOldMan:
C00l, rtl is important for hebrew otherwise the chars are inverted. Thanks for your wonderful work !

Thomas
[Android Software/Hacking General [Developers Only]] Sneakyghost:
Colorspace HTC One M7 report

Hello Amarullz,

here are two screenshots and a recovery log for you to look at.

I was not able to obtain an Aroma Installer log. There simply was none (neither in /temp nor in /cache).
[Android Software/Hacking General [Developers Only]] f(x)THaxxorX:
How do I screenshot inside aroma..
[Android Software/Hacking General [Developers Only]] Kevinjoa:
Take a look here: http://xdaforums.com/showthread.php?p=40260716
[Android Software/Hacking General [Developers Only]] Sneakyghost:
Simple version: http://xdaforums.com/showpost.php?p=42628654&postcount=2209

Drop ffmpeg exe into your adb folder, then copy the two commands you see in my post and run them. You will find an "fb0.png" in your adb folder afterwards.
[Android Software/Hacking General [Developers Only]] amarullz:
BETA2

Here The 2.70 Beta 2 (Codename Flamboyan-Beta)

---WAIT---

WILL ONLY WORKS ON DEVICE WITH ARM NEON SUPPORT​

RAW Changelogs

* 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

TEST IT GUYS :D. :cool:

---EDIT-----

THERE IS SOME ERROR IN BACK FUNCTION... PLEASE WAIT
[Android Software/Hacking General [Developers Only]] [NUT]:
Let us know when you fixed the back function :)

Any chance you can fix the sticky buttons problem too? It will register the fact that you pressed the next button but it will not go on until you press it again. With 2.56 the button would have remained in the 'pressed' position, in 2.70 it does nolonger show that but just not acts on the button being pressed...
[Android Software/Hacking General [Developers Only]] franzyroy:
Color are well fixed! Thanks.

Back function, it's just one of menu, otherwise the other works fine.​
[Android Software/Hacking General [Developers Only]] amarullz:
The back problem only occour if you use include function
[Android Software/Hacking General [Developers Only]] franzyroy:
Like that?

back("");

I ask because it works for me!
[Android Software/Hacking General [Developers Only]] amarullz:
No, i meqn if you use include function, then do the back, it dont do the right back. Try the demo zip, when you on demo menu, press back, it will back to language selection instead changelog, and when you press next, it will be back to demo menu.

The language selection now is in language_select.edify not on aroma-config. Check the aroma-config to know what i mean...
[Android Software/Hacking General [Developers Only]] franzyroy:
I will say that I have not moved the languages, ​​they are always aroma-config (for me).

I'll look it tonight!
[Android Software/Hacking General [Developers Only]] [NUT]:
[MENTION=402300]amarullz[/MENTION]

Do you have any idea why the reboot function fails on TWRP 2.5.0.0+Xperia Z? It's pointless to send you the recovery logs, there is nothing useful inside them...
[Android Software/Hacking General [Developers Only]] amarullz:
Have you extract the beta2 zip file, and read its aroma-config?

About reboot on xperia z, I still dont have any idea. The reboot function used same method with android_reboot.c in android source code. Maybe you can provide me this android_reboot.c source for your device?
[Android Software/Hacking General [Developers Only]] franzyroy:
If you explain me how do it... No problem, I'll report you. However, I could more report tonight, I'm at work.

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

Helly Bean Franzy to customize more your Rom!
[Android Software/Hacking General [Developers Only]] Sneakyghost:
I think the colors are still wrong on HTC One with TWRP.

Attached new screenshots from 2.70Beta2

Sorry to bug you with this Amarullz. I maybe have to say thanks first because the new Aroma is a revelation in terms of functionality. Finally a bug free installation is possible on the ONE. I am nearly sure also on the 2012 phone series. Really nice and much appreciated.

This last color twist issue is really minor. Don't waste your time if its not possible to be easily fixed.
[Android Software/Hacking General [Developers Only]] CNexus:
[MENTION=402300]amarullz[/MENTION]

Just tested out the new aroma beta, and I can say that it works great on my Sprint S3! Before, on v2.56, there would be a blue.tint over everything, but that's gone now. Thanks for the great work :thumbup:

I would assume that the results would be the same on the other carrier S3's since they have the same specs, but I'll see if I can get any definitive confirmation.
[Android Software/Hacking General [Developers Only]] raimondomartire:
With beta 2 on HTC ONE I have installer Error (status 0) . Beta 1 instead install but after a while stop with same error. Any way to search error
[Android Software/Hacking General [Developers Only]] CNexus:
Google it. That error is related to the update-binary, nothing to do with the installer.
[Android Software/Hacking General [Developers Only]] amarullz:
That because the update-binary-installer is not compatible with your device. It wasn't a problem at all, and has been mentioned million times here...

Ok, next beta will comming in couple hours,.. Any request for fix or features... Just write here...

Work on Progress = Add BACK support after installation with:

back_after_install("2"); --> Allow Back After Installation, User can push back button after installation, and it will be back 2 step, just like back("2");

back_after_install("0"); --> Disallow Back After Installation.

back_after_install("1");

back("4"); --> After Installation, user will automatically back 2 step backward... :laugh:
[Android Software/Hacking General [Developers Only]] amarullz:
Ok, For this feature, I won't use back... Back Function and back button still disallow to do the back after installation.

So The solution is using "goto" :good::D . Here How it work:

checkbox(....);
viewbox(...);

#-- After Install, User should back to this menu, so save the position
setvar("after_install", [B]getpos("")[/B] );
menubox(...);

# do others
checkbox(....);
viewbox(...);

#-- Do installation
install( ... );

#-- After installation, and click finish, call goto to go back to "after_install" position
goto(getvar("after_install"));
[Android Software/Hacking General [Developers Only]] amarullz:
Have you try force_colorspace? choice "rgba" or "bgra". I think it will fix it. I can't help it too much, because it was the recovery error. It doesnt provide valid framebuffer information.

The problem here is, framebuffer use rgba to store the color in your display memory, but framebuffer information tell AROMA that the display was bgra colorspace. Ofcource the blue and red was swapped.... Tell owner of your recovery.
[Android Software/Hacking General [Developers Only]] amarullz:
No 1. GRANTED :cool:
[Android Software/Hacking General [Developers Only]] amarullz:
Flamboyan 2.70 beta 3

Here The 2.70 Beta 3 (Codename Flamboyan-Beta)

View attachment aroma-2.70B3.zip

Or On Download Page

WILL ONLY WORKS ON DEVICE WITH ARM NEON SUPPORT​

FLAMBOYAN BETA - 2.70B1-B3

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.
[Android Software/Hacking General [Developers Only]] [NUT]:
I'm trying to get you that android_reboot.c file you requested [MENTION=402300]amarullz[/MENTION]...

That way 2.70 will truely rule :)
[Android Software/Hacking General [Developers Only]] omar_bazaraa:
Thanks a lot Ahmed :)

This is a very useful update I will try it now. :good:

---------- Post added at 11:24 PM ---------- Previous post was at 10:51 PM ----------

[MENTION=402300]amarullz[/MENTION]

After trying the new Beta (3) I found a small bug, in installing page [ install(...) ] I can't access menu button, I'm using HTC One X.

But actually this is a great update.

Thanks again. :)
[Android Software/Hacking General [Developers Only]] franzyroy:
There is again a problem with the themes, images are those of the basic theme, with any theme you use. What's weird, is not all, it is mainly the icons in the menus. I also tried your Aroma unchanged, it's the same.

In addition, I do for it loads a theme other than the generic at the beginning, and he did, but after the first display.

For now, I stay with the beta 2. Just a few problems with the return after the languages​​.
[Android Software/Hacking General [Developers Only]] [NUT]:
[MENTION=402300]amarullz[/MENTION]

Maybe this can already help you on your way, i know it's not the right file, but it might help: https://raw.github.com/CyanogenMod/..._android_server_power_PowerManagerService.cpp

I'm still searching for the correct file though.
[Android Software/Hacking General [Developers Only]] omar_bazaraa:
Another bug that I face on my One X, during installing process the words written in "updater-script" don't appear in Aroma !!

I don't try installing ROM, I was only trying Aroma so I don't know if the bug is in installation itself or it's only in showing the text.

I hope you will fix these bugs soon Ahmed. :)
[Android Software/Hacking General [Developers Only]] amarullz:
Good Morning... :D

Yes, I will fix it. it still beta and still need improvement.... Thanks for your test, and dont be a bore testing it ;)
[Android Software/Hacking General [Developers Only]] amarullz:
The problem was, update-binary-installer on demo zip doesnt device independent.

Maybe I need to code universal update-binary-installer that works for any device..
[Android Software/Hacking General [Developers Only]] omar_bazaraa:
Mmm, okay. Please do it, I'm waiting for the finial release that, I hope, will fix all problems. :)

---------- Post added at 01:41 AM ---------- Previous post was at 01:17 AM ----------

I have just fixed this problem by inserting my old update-binary-installer, as you said. :)

Another notice, Back & Next buttons are somewhere bold and somewhere normal !!

I want to make them always bold, what shall I do ??

I must say that this update makes Aroma really really faster. :good:

---------- Post added at 01:55 AM ---------- Previous post was at 01:41 AM ----------

I have a suggestion that I want you to add in the finial release, I want to be able to disable (Back or Next) button.

This will be very very useful. ;)

Thanks again Ahmed.
[Android Software/Hacking General [Developers Only]] Damien White:
ROFLMAO...I replaced the update-binary-installer with one that I have been using for my specific device (Maguro) and this is a sweet post...Thank you very much!!!

All the themes seem to work great, the new look is just awesome, can't wait to update my releases with this version....YOU ROCK DUDE!!!
[Android Software/Hacking General [Developers Only]] evil1art:
new update doesnt have any touch response on the m919 s4?

any ideas?
[Android Software/Hacking General [Developers Only]] Sneakyghost:
RGBA=Color Tint yellow and flickering. Then fallback to no change at all. I uncommented the line you set, assumed it was the topmost line. Might need to be at the very top of the script to avoid the flickering.

BGRA=No visible change.

I will get in touch with Dees_Troy again asap. We were already discussing the matter a while back but he kept saying that the Aroma Dev will have to fix the issue. So i stopped bugging him. I am not sure but i think it might be helpful if you hook up with him on his Freenode IRC Channel #TWRP? Or too much hassle?

Thanks for all you do here for us. Much appreciated.

[EDIT]

Left a note with link to this post on Freenode IRC #TWRP for Dees_Troy. Hope he's not gonna miss it. Maybe he can do something about it.
[Android Software/Hacking General [Developers Only]] raimondomartire:
[MENTION=402300]amarullz[/MENTION]

In your opinion why when try to capture in beta3 printscreen (in aroma mode) on htc one i have this image

https://dl.dropboxusercontent.com/u/72778206/Screenshot_2013_06_18_06.13.58.png

Thanks
[Android Software/Hacking General [Developers Only]] DaOldMan:
Ahmed, many thanks for the hebrew support. We are testing it as I write :). Will tell you how it went. Why do we need a separate language_select.edify file ?

Thanks tons,

Thomas

[EDIT]

Test results: Aroma much faster on the i9000. Better scrolling and touch. No more wrong selections while scrolling :). Hebrew works again !!! Excellent work Ahmed, you are wonderful. Our i9000 rom was released with older Aroma because of the hebrew, next i9100 rom will probably include the new one !

Thomas, IceBulletRom
[Android Software/Hacking General [Developers Only]] franzyroy:
You say all themes work fine! How? Because me, in the beta3, It's not the case! :(

---------- Post added at 10:01 AM ---------- Previous post was at 09:57 AM ----------

In general, you don't change it, so it's better if it is in another file. it clutters less aroma-config.
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, there is some mistake in theme, it dont show any themes icon. Typo error when editing it :D. Already fixed, but next beta need some days, it was builded with android build, the size of binary was reduce more than 60%, but i dont see a significant change in performance....
[Android Software/Hacking General [Developers Only]] franzyroy:
No problem... Take your time, the fastest is not the best! :cool:
[Android Software/Hacking General [Developers Only]] Smart-X:
Sometimes at one of the last steps of ROM installing, AROMA froze.

If I don't make a mistake, the reason is the conflict between AROMA and recovery.

Has this bug been fixed in v2.70?

I can't wait to try the new stable version of AROMA on my next ROM.

Great job, Amarullz!
[Android Software/Hacking General [Developers Only]] amarullz:
It fixed back bugs, many one users told it was solved...
[Android Software/Hacking General [Developers Only]] Smart-X:
Wow! That's a great news!

Thank you for your excellent work!
[Android Software/Hacking General [Developers Only]] raimondomartire:
[MENTION=402300]amarullz[/MENTION]

Sorry if remake same question?

http://xdaforums.com/showpost.php?p=42690437&postcount=2245

But I love your work and wnat share with my users but printscreen suck. I
[Android Software/Hacking General [Developers Only]] BeansTown106:
touch input still doesnt work on I535 S4 :( i cant live without aroma lmao
[Android Software/Hacking General [Developers Only]] raimondomartire:
[MENTION=402300]amarullz[/MENTION] some users on HTC ONE thread report that with new aroma beta 3 they don't install app on sdcard. This problem is often with TWRP recovery

Here an example

https://dl.dropboxusercontent.com/u/6690441/recovery.log

Here aroma log

http://xdaforums.com/showpost.php?p=42706277&postcount=813

https://www.dropbox.com/s/lo8y4820wuty721/RAYGLOBE 4_5_AROMA.txt
[Android Software/Hacking General [Developers Only]] thehacker911:
Freez on GT-I9505...

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] franzyroy:
I understand but you can use old version for the moment. ;) Finally, I hope! :silly:
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Hey guys,

I'm just trying out aroma installer for the first time. I want to package my stock rom with all it's mods and goodies into an aroma installer package.

I was just using the demo zip to test the features, and the color was totally wrong, blue (ics blue) shows as orange. I know that the force_colorspace option is supposed to fix that, so I tried adding that line to the top of aroma-confg (I've tried all 4 options), but it does absolutely nothing. Same color problem everytime... Am I missing something? How else to fix the color?
[Android Software/Hacking General [Developers Only]] franzyroy:
If you use Aroma Installer 2.70 beta3, it's one of its bugs. I reported it.

But you can use Aroma Installer 2.70 beta2, themes work fine. This is one that I use. There are other bugs but this does it.
[Android Software/Hacking General [Developers Only]] amarullz:
BETA 4

HERE THE 2.70 Beta 4 (Codename Flamboyan-Beta)

Version 2.70 BETA-4 - FLAMBOYAN

BUILD:130619-034B

NOTE WILL ONLY WORKS ON DEVICE WITH ARM NEON SUPPORT​

RAW Changelogs

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
[Android Software/Hacking General [Developers Only]] amarullz:
SOURCE CODE NOW AVAILABLE IN MASTER BRANCH

OLD SOURCE CODE IS ON PRE-FLAMBOYAN BRANCH

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