yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] franzyroy:
So we can use the previous synthaxs and the aroma file manager 1.9.1 inside ?!
[Android Software/Hacking General [Developers Only]] hlxanthus:
Here you go.

http://pastebin.com/ajaaxwMw

I ran it again after seeing another's comment . . it might be frame rate stutter I am seeing, not sure.
[Android Software/Hacking General [Developers Only]] Qamrul Haque:
Screen flipped (upside down)

How to solve flip screen (180) in aroma installer?

My device build.prop has value ro.sf.hwrotation=180

Aroma displaying flipped in flipped recovery as well as non-flipped recovery too.

Any code to rotate screen or touch?
[Android Software/Hacking General [Developers Only]] amarullz:
Ah,.. that was because you missing closing curly bracket, so I revert it in this build. so please confirm which one that valid:

case ABS_MT_POSITION:
/* multitouch xy event */
dev->p.state |= LINUXHIDRV_POS_ST_SYNC_X | LINUXHIDRV_POS_ST_SYNC_Y;
if (dev->p.x != 0 && dev->p.y != 0) {
if (ev->value == (1 << 31)) {
dev->p.state |= LINUXHIDRV_POS_ST_LASTSYNC;
/*dev->p.x = -1;
dev->p.y = -1;*/
}
else {
dev->p.state &= ~LINUXHIDRV_POS_ST_LASTSYNC;
dev->p.x = (ev->value & 0x7FFF0000) >> 16;
dev->p.y = (ev->value & 0xFFFF);
}
}
ev->type = EV_SYN;
ev->code = SYN_REPORT;
break;

or

case ABS_MT_POSITION:
/* multitouch xy event */
dev->p.state |= LINUXHIDRV_POS_ST_SYNC_X | LINUXHIDRV_POS_ST_SYNC_Y;
if (dev->p.x != 0 && dev->p.y != 0) {
if (ev->value == (1 << 31)) {
dev->p.state |= LINUXHIDRV_POS_ST_LASTSYNC;
/*dev->p.x = -1;
dev->p.y = -1;*/
}
else {
dev->p.state &= ~LINUXHIDRV_POS_ST_LASTSYNC;
dev->p.x = (ev->value & 0x7FFF0000) >> 16;
dev->p.y = (ev->value & 0xFFFF);
}
ev->type = EV_SYN;
ev->code = SYN_REPORT;
}
break;

Yes, it should 100% compatible.

It was the same with note 4 problem ( http://xdaforums.com/showthread.php?t=1646108&page=100#999 ), I already know the problem.

mdssfb_90000 is use split display, still not implemented. Only overlay display for msmfb4xx.

Will update soon. I dont have note4 so I cant test it. If you have a time, please contact me in hangout: ( amarullz at gmail dot com )

take photo of your screen, I want to know how it rotate (flip Y, or rotate (x and y was swapped).
[Android Software/Hacking General [Developers Only]] amarullz:
Please, test this AROMA Filemanager https://github.com/amarullz/AROMA-Filemanager/releases/download/2.00/aromafm-2.00b3.zip

If it fixed, then I will modify AROMA Installer and upload latest.
[Android Software/Hacking General [Developers Only]] Captain_Throwback:
I didn't miss the closing bracket. It's right here (probably just further down than you expected). That's why I indented everything between the brackets (not really sure why it works, though).

This link is dead. I tried the b6 version but touch is sporadic. Can you restore my original patch? I used the same patch on AROMA FM (just never submitted the pull request). Does it affect anything else negatively? It seemed to somehow affect the progress bar during installs, though I don't understand why. Or maybe you can just figure out how to fix it properly, lol.

---------- Post added at 09:19 AM ---------- Previous post was at 08:34 AM ----------

Did some testing, and your second example (quoted/hidden above) works to restore touch for Sprint M8. Please use that going forward, instead of my previous patch. Thanks!

Also, I noticed that AROMA FM won't build with the updates you've made? Are there still some patches missing?
[Android Software/Hacking General [Developers Only]] twaik:
Can you update your github? Please.
[Android Software/Hacking General [Developers Only]] atl4ntis:
[MENTION=402300]amarullz[/MENTION]

Just want to report that latest release 3.x freezes one out of three times while executing updater-script while extracting the rom files, requiring an hard reboot.

Reverting to 2.7.x fixes the issue.

Recovery log doesn't show anything wrong.

Tested on Nexus 5 with TWRP 2.8.5.

Let me know if i can help you further.
[Android Software/Hacking General [Developers Only]] blackcodetech:
Hi! amarullz

I want make custom rom with aroma installer but when flash rom in recovery give an error

SYNTAX ERROR!!! aroma-config on line

129 col 2

How can I fix this problem?
[Android Software/Hacking General [Developers Only]] tungdil:
Not sure but I guess your problem is the comma (in line 124) before the closing bracket. Copied from your file:

"D802TR", "Turkey model", 0,

);

The same problem also appears (at least?) once again (in line 144):

"Root and BusyBox", 0,
);
[Android Software/Hacking General [Developers Only]] blackcodetech:
But in line 124 for selectbox and in line 144 for checkbox different command

I will try it but another file same code and work it :confused:

solved problem I was use wrong comma. Red color comma is wrong. Remove it and solved problem

"D802TR", "Turkey model", 0[COLOR="Red"],[/COLOR]
);

"Root and BusyBox", 0[COLOR="Red"],[/COLOR]
);
[Android Software/Hacking General [Developers Only]] blackcodetech:
solved aroma config but now updater script dont work I dont understand this problem
[Android Software/Hacking General [Developers Only]] blackcodetech:
Hi Guys!

Aroma-config error fixed but I have a new problem

I have a problem with aroma installer ... the aroma installer launche normally I can see my selectbox( and can chose too ... but when the wizard finish it does not run the "updater-script" juste show finish. and recovery doesn't returne any error message .it just shows installation completed !! But rom doesnt flash :confused:
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Get some logs.
[Android Software/Hacking General [Developers Only]] sbdags:
Yes you have an error in your updater-script and the recovery log will tell you where.
[Android Software/Hacking General [Developers Only]] blackcodetech:
Save log txt but It does not say nothing. blank page
[Android Software/Hacking General [Developers Only]] Killawave:
I have just finished to cook my ROM and I met the same problem which now is solved.

My aroma script is good, I can see every parameters (check boxes and so on) then, when I start the install nothing happens.

I've checked my updater-script several times and every line of code is good.

Then, I had to debug and to do every step one by one.

At this moment, the script runs. :silly:

Every step I add, works... :good:

So, every step were verified and then I used back my updater-script and...it doesn't work.

The difference? CTRL+C and CTRL+V.

If I copy large portions of code, it don't work. If I write the code and copy few lines, it works.

I met the problem in another aroma package in which I put about 25 apps.

I had to write back all the line manually because when I copy the linecode, the updater-script don't launch.

BTW, I code my script in WIndows using Notepad++.

It's a bit long but I hope I was clear and it could help.
[Android Software/Hacking General [Developers Only]] blackcodetech:
Ok thanks!

I will try write manual all code
[Android Software/Hacking General [Developers Only]] blackcodetech:
Write again and save log.txt and give this error
[Android Software/Hacking General [Developers Only]] Killawave:
So what? You're facing errors during the execution of updater-script now?

Maybe there is an error in your code now. You should correct.

Not missing something in a loop or an if sequence?
[Android Software/Hacking General [Developers Only]] sbdags:
So what is lin 38 of your updater-script?

And the preceding parts - code paste them here.
[Android Software/Hacking General [Developers Only]] atl4ntis:
[MENTION=402300]amarullz[/MENTION]

I want to share this pic with you as appreciation for you work.

My users are very happy.
[Android Software/Hacking General [Developers Only]] sbdags:
A bit of feedback on 3.00 beta 1. It runs ok but is very slow with animations and transitions and also installing seems to take much longer to process each file.

This is on an Asus Tablet - TF700T.

2.56 and 2.70 work much faster in comparison. Not sure if that is due to the UI changes in 3.00 or not?
[Android Software/Hacking General [Developers Only]] revolutionyzer:
Thanks a lot ! This is really a great work ! Keep going ! :)
[Android Software/Hacking General [Developers Only]] oxiroxt:
Probably a stupid question, but how do I get Aroma up and running?

I'm just trying to test Aroma installer alone with no roms, just the provided update-binary-installer as is.

So I boot into CWM, I choose "install zip from sd"->"choose zip from sd card", I select aroma_installer-3.00b1.zip->"Yes..." and it just goes:

-- Installing: /sdcard/aroma_installer-3.00b1.zip

Finding update package...

Opening update package...

Installing update...

E:Error in /sdcard/aroma_installer-3.00b1.zip

(Status 0)

Installation aborted.

So I'm just wondering... is there anything I need to set up in Aroma config for it to even launch? I thought the settings just targeted Aroma theming and rom options... I read through the whole first 10 posts of this thread and saw no pointers in this regard...

Thanks

PS: Yes, I know what Aroma is about. I'm just trying to figure out how it works before I even decide on a rom I want to mod/pack and how I want to pack it all.
[Android Software/Hacking General [Developers Only]] sbdags:
You need to replace the update-binary-installer with a renamed updater-binary from a rom that boots on your device.
[Android Software/Hacking General [Developers Only]] oxiroxt:
Duh! Really? That's just weird. I was hoping I'd get to see some splash screen or dialog even without a usable working rom... Okay, I'll try! Thanks!
[Android Software/Hacking General [Developers Only]] xXx:
I have 2 issues where I can't find a solution and hope sombody can help me on this.

1st issue is that I don't find a way to write or overwrite menu selection values in the arome script.

2nd is that if I try to read the value of a menu selection in the update script when this menu was never executed in the arome script I get an error. A solution for my first question would solve this of couse or is there any way to supress the error message and just continue the script?

I hope this makes sense.
[Android Software/Hacking General [Developers Only]] xXx:
Never mind, I did some more research and found a different way to solve my issues. :)
[Android Software/Hacking General [Developers Only]] NLatuny:
Love how this works! Hope Cataclysm ROM will put in more options to choose from.

However, I do have a question: Is it possible to install just 1 application that I had chosen not to install at first without re flashing the whole ROM?

I think the answer is no, but I kinda hope I'm wrong :)
[Android Software/Hacking General [Developers Only]] :
I am using AROMA Installer successfully for several Xiaomi Devices like Mi2, Mi3, Mi4, etc...

Works pefect ! Thanks!

But on a Xiaomi RedMi 2 I´ve got a problem. When flashing the ZIP-File the CWM only prints :

Starting AROMA Installer version 2.70RC2
(c) 2013 by amarullz xda-developers

Starting AROMA Installer version 2.70RC2
(c) 2013 by amarullz xda-developers

Nothing more ... No Aroma launching.

Recovery LOG says the following:

...
MTP Enabled
I:Switching packages (TWRP)
created new mtpserver object
MtpServer::run fd: 26
mtppipe add storage 65539 '/data/media/0'
MtpStorage id: 65539 path: /data/media/0
mtppipe add storage 65537 '/external_sd'
MtpStorage id: 65537 path: /external_sd
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'backup'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing '/sdcard/sMiUI_v6_HM2014811_5.4.10.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
aroma/s: Initializing
Starting AROMA Installer version 2.70RC2
(c) 2013 by amarullz xda-developers

Starting AROMA Installer version 2.70RC2
(c) 2013 by amarullz xda-developers

aroma/s: Mute Parent
aroma/s: Saving Arguments
aroma/s: Open Archive
aroma/s: Initializing Resource

I cant see any syntax probelms in aroma-config. update-binary is correct and I´ve put the right update-binary-installer.

Any ideas ?

Thanks!
[Android Software/Hacking General [Developers Only]] asc1977:
Hi all

Need help

How can i delete all apk in a folder?

I do a line in updazer-script like that but didnt work

Delete-recursive ("/system/vendor/overlay/.apk");

I test also with *.apk or *.* but nothing work
[Android Software/Hacking General [Developers Only]] xXx:
try this

run_program("/sbin/sh", "-c", "rm -f /system/vendor/overlay/*.apk");
[Android Software/Hacking General [Developers Only]] asc1977:
Is it possible to add images in aroma installer?

For example you can choose between 3 icons for a signal png mod and i want to show how the signal pngs look in aroma

The reason is that i want to create a aroma overlay theming tool for community. It works now but with icons for what you can choose is better
[Android Software/Hacking General [Developers Only]] xXx:
No sure if I totally understand but I think you are looking for something I did in my Barebone Cleaner project on the main menu http://xdaforums.com/galaxy-s5/development/mod-urwsoft-barebone-cleaner-t3043479
[Android Software/Hacking General [Developers Only]] asc1977:
I looked in this. Not 100%. If i choose customize cleaning where you can make choices what to clean. There i need pngs. Not in main menue
[Android Software/Hacking General [Developers Only]] xXx:
Oh, now I understand. No I didn't find any way to icons other than for the main menu type. To ne honest I also never searched for this possibility but did so much research for my Aroma projects and never saw these kind of possibility. Probably somebody else know better but I doubt this is possible.
[Android Software/Hacking General [Developers Only]] asc1977:
A question to all. I build a aroma installer for mods. This mods work on all phones but aroma not. Is there a way that my aroma installer works on all phones. I think it is because i put updater binary from a rom of note3 in my zip and that doesnt work on a note edge

Easy question now:

Is there a way for a update-binary that works on all samsung roms not only on one like note3
[Android Software/Hacking General [Developers Only]] rmarinella:
I am trying to make a kernel flasher for multiple variants of my device. While I could list all kernels for every variant, I am trying to make a device list which then pages to a kernel list. Same list of kernels, but multiple devices. I thought it would be easy to accomplish, but when I flash, says successful, and nothing is written. The error log is blank. Here is a sample of the code for both the aroma-config and the updater-script. I am looking at multiple variants and kernels, not just the two of each listed. Also, not sure why I often see both /aroma/ and /aroma-data/ temp directories in different examples posted, I could use some guidance there too. Thanks in advance for your help.

aroma-config

"Device Selection", "", 2,

"Note 4 N910F", "N910F", 0, # = 1

"Note 4 N910T", "N910T", 0 # = 2

"Kernel", "", 2,

"abc", "ABC Kernel", 0, # = 1

updater-script

# N910F ABC Kernel

if file_getprop("/tmp/aroma/device.prop", "selected.1") == "1" then

if file_getprop("/tmp/aroma-data/kernel.prop", "selected.1") == "1" then

ui_print("@Installing Latest N910F ABC Kernel");

package_extract_file("rmarinella/kernel/abcF/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

package_extract_dir("rmarinella/system/", "/system");

endif;

# N910T ABC Kernel

if file_getprop("/tmp/aroma/device.prop", "selected.1") == "2" then

if file_getprop("/tmp/aroma-data/kernel.prop", "selected.1") == "1" then

ui_print("@Installing Latest N910T ABC Kernel");

package_extract_file("rmarinella/kernel/abcT/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

package_extract_dir("rmarinella/system/", "/system");

endif;
[Android Software/Hacking General [Developers Only]] sbdags:
You have nested if statements but not enough endif; ;)
[Android Software/Hacking General [Developers Only]] rmarinella:
Thanks for the quick reply! I understand what you are saying, but am lost as to where to add an additional endif;

Could you give me a corrected example?

# N910F ABC Kernel

if file_getprop("/tmp/aroma/device.prop", "selected.1") == "1" then

if file_getprop("/tmp/aroma-data/kernel.prop", "selected.1") == "1" then

ui_print("@Installing Latest N910F ABC Kernel");

package_extract_file("rmarinella/kernel/abcF/boot.img", "/dev/block/platform/msm_sdcc.1/by-name/boot");

package_extract_dir("rmarinella/system/", "/system");

endif;
[Android Software/Hacking General [Developers Only]] sbdags:
like that ;)
[Android Software/Hacking General [Developers Only]] rmarinella:
LOL, Amazing, Thanks!
[Android Software/Hacking General [Developers Only]] atomantmk:
Hi, I have a little problem, on original Aroma Installer touch don't work on my HTC One M9 with 2.8.6.4 recovery, I really don't know what is problem.

Someone to help?
[Android Software/Hacking General [Developers Only]] sbdags:
Is it a touch enabled recovery?
[Android Software/Hacking General [Developers Only]] atomantmk:
Yes, when I flash ARHD Rom this Aroma Installer works but when I try original without rom od something else inside it's not working.

Only is working Volume Up and Down and Power Button but only to back or quit installation.
[Android Software/Hacking General [Developers Only]] UltraRoboto:
Aroma Installer 3??

I probably have the second version(not 2.70..i think...), but I want to update it, so, what do I do to update my custom rom's Aroma to 3.00b1??
[Android Software/Hacking General [Developers Only]] asc1977:
Hi to all

I use aroma for my mod. Thx for aroma dev.

I have one problem. I use english and german translation and now want to integrate arabic. But the letters dont shown. Anybody have a solution for me? Do i need a other font family? But whats happen than with the english words which are not translatet?
[Android Software/Hacking General [Developers Only]] cyber_system:
MD5 Check file

Hello :)

I need some help with MD5 checksum file.

Before when i stores my zip files i had a separate MD5.txt so i could do a MD5 check before transferring the zip to my device

But lately i have tried to make a MD5.zip file so that Aroma installer is checking MD5 by it self

But sadly i can't get it working.

Here is a example for what i do.

Let say i want to flash ViperOneM9_1.7.0.zip

Then i have a txt file called ViperOneM9_1.7.0.zip

With the following text

Aroma is just saying. NO MD5... You know what i mean :)

Thank you in advance

Thomas :)
[Android Software/Hacking General [Developers Only]] joni2012:
Hello neceed help, added system ui other color aroma no install in rom

Team SkyDragon loving
[Android Software/Hacking General [Developers Only]] :
I have updated my aroma installer binary (only the binary) to v3.0b1, but the install procedure is freezing every time. Any suggestions?

With aroma installer binary v2.7RC2 all is working fine.

UPDATE:

I have found out that only the display output freezes . The installation process is running in the background.
[Android Software/Hacking General [Developers Only]] asc1977:
Hi [MENTION=535343]all[/MENTION]

Need a little information

It is possible to flash different zip files in aroma installer. What i must write in update-script to run a zip file. My idea is to have different mods as a zip file and want in aroma choose which one i flash. Anyone a idea?
[Android Software/Hacking General [Developers Only]] UzUmAKI_NaRuTo1:
HELP

I am using aroma installer for my ROM , thanks to amarulzz :)

I am using aroma meta-inf of other working ROM of my phone ! It works well , it has two groups of checkboxes

(like one for music player selection and one for audio mod selection ). It dosnt have any issue...

But if i add any new group to menu along with the required changes in updater script , while flashing ,the zip dsnt get open !

It says Unable to open zip file !

Tried it 3 times and confirmed that it happened only if i add new group to the menu ! then whole zip gets corrupted ! So if that happens , i have to create a new rom zip everytime !

Any solution ? whats the mistake am doing ? Please Help
[Android Software/Hacking General [Developers Only]] UzUmAKI_NaRuTo1:
NEED HELP...............!!!!

I am trying to add an option for selecting a bootlogo to install !!

when i add the if loop like this... its not flashing new logo.bin

But , when i try flashing a single logo.bin which is nt in any folder .....(like below).. it correctly flashes the new one

what shld be the chnge so that it flashes the one from the if loop ?
[Android Software/Hacking General [Developers Only]] sbdags:
Post the aroma checkbox selection for this as well please.
[Android Software/Hacking General [Developers Only]] UzUmAKI_NaRuTo1:
After few more flash tests i found that only 1st and 4th logo was having problem !!

logo 2,3,5 can be flashed correctly !!

And i have tested 1st and 4th logo.bin separatly !! so those bin files are correct
[Android Software/Hacking General [Developers Only]] edgarf28:
Why Aroma installer still doesn't support the 'set_metadata' command for the permissions & SE context labels at default? :(
[Android Software/Hacking General [Developers Only]] JustArchi:
Because you can't read OP.
[Android Software/Hacking General [Developers Only]] amarullz:
UI Teaser

[YOUTUBE]3hPMhBXhpqQ[/YOUTUBE]​
[Android Software/Hacking General [Developers Only]] kinghunki:
:good:Really looking forward to! Hope to be able to test!
[Android Software/Hacking General [Developers Only]] asc1977:
Hi at all can help me

I had make a tool with aroma installer which unzip and zip systemui.apk and change png in that apk. It working on different roms but not aroma because i put the update binary (update binary installer) of a working rom inside.

Is there a way to make it compatible to more than one phone?
[Android Software/Hacking General [Developers Only]] starbucks2010:
Hello,

I have built an Aroma zip file (v2.70RC2) for a SG Note Edge but when I try to install the ROM zip it always stuck at

"Finding update package ...

Opening update package ...

Installing update ...

Starting Aroma installer version 2.70RC2 ..."

What can be the cause of this blockage "

I have an SG Note Edge with LP 5.0.1 and cwm touch (@chenglu) and I attached my META-INF.

Thank you in advance for any hint.
[Android Software/Hacking General [Developers Only]] joni2012:
Need install other systemUI in flavor lollipop m8 not found help me?

Team SkyDragon loving
[Android Software/Hacking General [Developers Only]] starbucks2010:
I succeed to pass this point by changing the update-binary file but now, when Aroma starts, I still see my cwm menu on top of Aroma options.

After I cancel Aroma installation, my cwm menu changes and I see the final messages like:

AROMA installer Terminated ...

AROMA installer Finished ....

Install from sdcard complete.

Is there a way to clear the screen from cwm messages and have a clear Aroma menu screen before starting Aroma installation?

Thank you.
[Android Software/Hacking General [Developers Only]] starbucks2010:
I see in the guide that for updater-script it were used 2 paths: /tmp/aroma/checkbox1.prop and /tmp/aroma-data/checkbox1.prop.

What is the difference between /aroma and /aroma-data? Which path should be used?

Thank you.
[Android Software/Hacking General [Developers Only]] Paget96:
[MENTION=402300]amarullz[/MENTION]

I have a problem, when I start aroma screen is upside down. Calibration is like on normal, but image is rotated for 180° .

In my build.prop I have a line ""ro.sf.hwrotation=180""

When I set it to 0 and reboot device, same thing happened on the device, calibration is ok, and image is rotated. Then I go to recovery(same, rotated for 180°) and when start aroma it's normal.

Can you add some commits in your updater-binary to fix this. I love your work, but I hate this problem.