yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Unknownforce:
Same here. It did kind of feel slightly better, but still had the same issues. Perhaps if I explain the issues in more detail it will help to find the code that's not playing well with the GS4's touch screen.

First, the touch itself "sticks" sometimes, like the selections will stay highlighted as if you're still touching the screen, but you're not touching it at all and the selection isnt' going through, so you have to tap it again. However, If you kind of hold the press a little longer, it works nearly ever time. So I'm guessing maybe the code isn't processing the touch quick enough, to where it sticks perhaps or something else is "using" the touch and not finishing with it before aroma can "release" it properly... thus... stuck touch.

Also (the more problematic one) the scrolling behaves very strangely, when you try to scroll, a few things happen.. First, the list will allow you to "pull it down" which reveals blank space "above" the list of items... Which I think is kind of strange, I would think the list would snap to the top when it reaches the top of the list.

Plus on top of that, the screen stops wherever you let go, like.. the "fling" type scrolling doesn't seem to work. The instant you pull away from the screen, it stops scrolling. But it never "snaps" the top of the list to the top of the screen nor the bottom of the list to the bottom of the screen, so you can have empty space below or empty space above when you let go because it lets you scroll outside of the list and then when you let go, that's what you're left with, empty space above or below... This isn't a huge deal...

However... This is the deal breaker for the scrolling... Whenever you go to move again OR try to select an item or touch the screen at all, the list automatically jumps back to it's original starting point regardless of where you've scrolled to, this makes it nearly impossible to select any option past those that are displayed at the top of the list, because every time you touch the screen after you've scrolled, it immediately jumps back to the original position of the start of the list. And naturally, the detection method for selecting an item is upon a quick touch and release... but it's already jumped back to the starting point by the time you're ready to release, which the code considered a scroll, thus instead of it registering as a "click" or "quick touch" it just "lets go" of the scrolling touch because it realized that it just scrolled...

Hope that helps in some way...
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Thanks amarullz, I really like your idea of pre-loading the font then using an ams tag to apply it. Can't wait for the next edition ;)
[Android Software/Hacking General [Developers Only]] amarullz:
I think the problem was simple. Aroma (sometimes) cannot receive the touch up (release) event.

I can only help if we can communicate in real time/chat. And you willing to test any test program. I need to track whole raw event, so the up event doesnt filtered out.
[Android Software/Hacking General [Developers Only]] Unknownforce:
Sure, I will test whatever you want, I am at work for the next 6 hours, but I can talk on Google Talk and test as you have them if you got Talk. I'll send you my id.
[Android Software/Hacking General [Developers Only]] franzyroy:
This RC is always OK for me! ;) Thanks :good:...
[Android Software/Hacking General [Developers Only]] amarullz:
OK, I am try to use xda-DevDB now => http://xdaforums.com/showthread.php?t=2409951

I think it was easier for me to track problem, features requests, and manage download files, without needed to read whole thread/comments..

This thread will become main Q&A.

Discussion about Development should be in new thread (But don't asking about script there).

Use DevDB features for Review, Feature Request and Bug Report.

Thanks...
[Android Software/Hacking General [Developers Only]] MattBooth:
Anyone having an issue with the reboot now button not rebooting?

I upgraded my main installer to the new script form the demo and it doesn't reboot. The older scripts I use (I just udpated the binaries) work fine... I'm trying to avoid rewriting the script again if possible.
[Android Software/Hacking General [Developers Only]] JustArchi:
Works for me. 2.70 RC1.

Working example from ArchiDroid, on the bottom.
[Android Software/Hacking General [Developers Only]] JFOC:
Luar biasa...awesome..
[Android Software/Hacking General [Developers Only]] Al_Shoot:
Can anyone help me? the installer works fine, I get all the options, but when it starts to install it as having no updater, ends very fast because the updater does nothing, the end of the log is blank and I get the following error status installer 6

Thanks

View attachment Aroma.rar
[Android Software/Hacking General [Developers Only]] amarullz:
Maybe Common Problem that I already mention in 2nd post http://xdaforums.com/showpost.php?p=21755937&postcount=2 box Number 2. It says:

MOST IMPORTANT THING BEFORE CUSTOMIZING IT

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

renamed it to update-binary-installer and overwrote the one in my AROMA Installer zip​
[Android Software/Hacking General [Developers Only]] JustArchi:
[MENTION=402300]amarullz[/MENTION]

First of all thank you for your awesome work so far.

Because this thread is now Q&A I'd like to ask a question. No, it's not any newbie-stuff :).

Please take a look at my aroma config here. Very many of my users including me experience a very high chance of freeze during executing update-binary. It looks like there are 2 cases, one is total freeze with 0.00% and second one is freeze during executing a first script.sh, in my case it's ~8%. If you need to take a look at updater-script you can find it here.

It looks like more options cause aroma to freeze more often. Recently I've implemented a "presets" which speed up flashing by doing a simple writetmp() and avoiding nearly all customization pages. Flashing with preset never freezes aroma, freeze can only occur when moving too fast through pages (known issue). However selecting custom preset and moving through all pages cause freeze nearly every time. Regardless if you move fast, slow or even try to only tap once per let's say 5 seconds.

Like I said - it's random. It can't be fault of my config or updater-script because the same setup works one time and freezes next time. It really hurts because aroma is FANTASTIC and I need to somehow "limit" it's functionality because of inconvenience for my users.

Please, maybe you could take a look, do something with it, implement a workaround, whatever. I tried to be as precise as I could, you can ever try my aroma-config yourself to see the problem. If you have any advice for me feel free to post it, I'm always happy to improve my scripts at the free time. However the fact is one. Aroma still needs your magic touch in terms of such freezes. Also I don't think that I implemented "that much" of options to be a real problem.

My speculation is that maybe it's attached to "big" if's, but I'm not sure. You know better.

Cheers.

~Archi
[Android Software/Hacking General [Developers Only]] prdog1:
Have you updated to 2.7. It was real bad in 2.56. Much better now but will still hang now and then if move too fast. Very seldome on 2.7 now but have seen it. :cool:

Well see you are on 2.7. I only see the freeze if moving too fast or back up to fast cause moving so fast miss something. It has to have time to register what is picked from what I see. It is still much better than it was.
[Android Software/Hacking General [Developers Only]] franzyroy:
I think this is a problem in your program. I've aroma-config file just as big, I do not have a problem so I do not think it's for the sake of size. I've been having the case or how the choices were made​​, I had a freeze. I use Aroma since a longtime without have these errors except if they (errors) are due to my programming.
[Android Software/Hacking General [Developers Only]] prdog1:
You select and backup fast enough it will lock on all versions. It is better on 2.7. I get a freeze about every 20 or thirty flashes if I'm in a hurry to test. :cool:
[Android Software/Hacking General [Developers Only]] franzyroy:
Sorry, not seen that! :p
[Android Software/Hacking General [Developers Only]] prdog1:
But you also run an old slow phone so can't go too fast. :p:laugh::cool:
[Android Software/Hacking General [Developers Only]] JustArchi:
I'm always up-to-date with all amarullz's releases, was using 2.70B6 for a long time and 2.70 RC1 now since first day of release.
[Android Software/Hacking General [Developers Only]] franzyroy:
Ah Ah Ah ! :l works better than yours....

Envoyé depuis mon GT-I9000 en utilisant Tapatalk 4
[Android Software/Hacking General [Developers Only]] Al_Shoot:
I've done what you mention and still have the same problem, do not install anything and when it ends gives the error installer status 6
[Android Software/Hacking General [Developers Only]] Patrics83:
line 397:

ui_print("@Instalando HelvNeueLT);

should be

ui_print("@Instalando HelvNeueLT[COLOR="Red"]"[/COLOR]);

It think that's all :)

When editing updater-script or aroma-config in notepad++ change language to > S > Shell and it will be much more easy to spot script errors
[Android Software/Hacking General [Developers Only]] Al_Shoot:
Thank you very much, this mistake proves that I have, I always use the notepad + +
[Android Software/Hacking General [Developers Only]] ahsan64:
Hi

I am using latest Flamboyan version .

But Screenshoot(Volume down+Power) not working..

As soon as power button pressed , the popup (quit installation appears ) ... :confused:

Anyone know why ..

Thanks ..
[Android Software/Hacking General [Developers Only]] Flashalot:
Not Installing

hi Can somebody maybe shed some light on why its not installing i have the script working but its just not installing the mods

here's my updater-script on aroma-config
[Android Software/Hacking General [Developers Only]] Patrics83:
Hi guys!

Normally I'm not asking for help when it comes to scripting but right now I'm stuck :p

I'm trying to use shortcuts/getvar for directories and files in a updater-script...

In aroma-config we can use setvar and getvar.

Example:

setvar("sdcard","/sdcard");

exec("/tmp/busybox","cp","/tmp/aroma/.install.log",""+getvar("[B]sdcard[/B]")+"/ROMCleaner/Logs/ROMCleaner_AROMA.log");

But how can we do something similar in the updater-script?

Basically my aroma-config checks sdcard path and set the variable for sdcard (which can be different depending on recovery/internal or external sdcard...)

updater-script example:

run_program("/tmp/busybox", "cp", "/tmp/recovery.log", "/[B]sdcard[/B]/ROMCleaner/Logs/ROMCleaner_Recovery.log");

So if anyone have any ideas about how I can call the getvar in the updater-script, please let me know :)

Thanks in advance!

/Patric
[Android Software/Hacking General [Developers Only]] fisha21:
Most useful tip I've read in a while, thanks bud!!
[Android Software/Hacking General [Developers Only]] Patrics83:
Your welcome :)
[Android Software/Hacking General [Developers Only]] CNexus:
Easy, write all the variables you need in your updater-script into a vars.prop and just call file_getprop on the ones you need

run_program("/tmp/busybox", "cp", "/tmp/recovery.log", file_getprop("/tmp/aroma-data/vars.prop", "sdcard") + "/ROMCleaner/Logs/ROMCleaner_Recovery.log");

Of course this will only work if you do all the path checking and variable manipulation inside the aroma script, since Edify is too simple to handle variables

EDIT: [MENTION=3322025]Bulkatos[/MENTION]

Please post your code between HIDE tags or just directly upload the files and attach them. Pastebin links work too.
[Android Software/Hacking General [Developers Only]] Patrics83:
Thanks for the advice, I will give it a try soon :)

Edit: It works perfect!

Here's a how I did it in case anyone wants to know ;)

In my aroma-config I have some if statements and then:

[SIZE="2"]writetmpfile(
"vars.prop",
"sdcard=/sdcard"
);[/SIZE]

In my updater-script I call the prop like this:

[SIZE="2"]delete(file_getprop("/tmp/aroma-data/vars.prop", "sdcard") + "/ROMCleaner/Logs/ROMCleaner_Recovery.log");

run_program("/tmp/busybox", "cp", "-r", file_getprop("/tmp/aroma-data/vars.prop", "sdcard") + "/ROMCleaner/FirstBoot/data/", "/");

run_program("/tmp/romcleaner", file_getprop("/tmp/aroma-data/vars.prop", "sdcard") + "/ROMCleaner/Logs/ROMCleaner.log", file_getprop("/tmp/aroma-data/vars.prop", "sdcard") + "");[/SIZE]

So basically I just selected "/sdcard in notepad++ and replaced it with file_getprop("/tmp/aroma-data/vars.prop", "sdcard") + "

Thanks a lot [MENTION=4645794]CNexus[/MENTION] for your help :good:

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] CNexus:
No problem, I'm glad it worked for you :good:

It's a mouthful, but at least it gives us pseudo-variables in Edify :D
[Android Software/Hacking General [Developers Only]] Snuzzo:
Quick q; is there a way to list files from a directory, then select a file that contains values and read them as selections?

Sent from my ADR6425LVW using Xparent ICS Tapatalk 2
[Android Software/Hacking General [Developers Only]] tamirda:
Hi friends,

I need a little help.

I am using Aroma 2.7B RC1 .

As from my testers, the installation goes well, they even see the successful message but when they reboot their device,

they see the splash screen: "GT- I9500" and then they see black screen. No bootnaimation of something.

It seems they can not take the aroma log cat or the recovery log.

They are using latest PhilZ recovery.

This is the updater scripet +aroma installer script:

http://d-h.st/3TE

This is a download link for the rom:

http://www.xdafileserver.nl/index.php?dir=Developer/tamirda/Beta+Testers+Only/I9500

This is the info of the partitions:

system=mmcblk0p20

cache=mmcblk0p19

boot=mmcblk0p9

data=mmcblk0p21

sdcard=mmcblk1p1

This is a picture from one of the testers:

Can you help me find the problem? Because I really can not find it :(

Thanks!!
[Android Software/Hacking General [Developers Only]] CNexus:
They could try switching to another recovery.
[Android Software/Hacking General [Developers Only]] tamirda:
Same problem :(
[Android Software/Hacking General [Developers Only]] Bulkatos:
Syntax Error !!! aroma-config

Hey Guys,

it's me again. I managed to solve the first "failed" issue.

But now i got a very annoying Syntax Error and i don't know how to solve this.

When i start the zip file the recovery log allways say:

SYNTAX ERROR!!! aroma-config on line 4 col 35

If i disable the lines by writing # in front of every line, the error just jumps to the next commandline. this is a never ending story, until no line is avaible.

PLEASE, PLEASE helb me. I'm sure the solution is easy, but they wont come to me.

Greetings Bulkatos
[Android Software/Hacking General [Developers Only]] JustArchi:
I bet that you've edited this file under windows, so windows changed LF into CRLF. Open Notepad++, find convertion, select unix one. Should fix your issue.
[Android Software/Hacking General [Developers Only]] tamirda:
Friends,

Attached aroma log.

Please take a look, there is something wired. It says that there is no such thing like /system or /preload and more wired items.

All location are 100% ok, can someone understand the problem here? This is really important.

Thank you alot!

View attachment PhoeniX.ROM.v8.0.I9500.UBUBMH1.by.tamirda.zip.log.txt
[Android Software/Hacking General [Developers Only]] Bulkatos:
new day, new error

That was it. Thanks!:highfive:

Now my zip is running well, but the updater-config does nothing after starting the install process. Can please sb check my script and tell me what i've done wrong? Now it have the functions I need and in my opinon it should work proberly (but it doens't:confused:).

You'll find my meta-inf folder in attach.

BTW: on end of install, retstatus shows "error 6", but i'm sure I use unix line endings. (with sublime editor, win7).

Thanks for help.

Greetings Bulkatos
[Android Software/Hacking General [Developers Only]] Patrics83:
Try using "file_getprop" instead of "file_getprob" ;)

Sidenote: I saw this in you aroma-config:

"ini_set("rom_device", "Any Device");"

update-binary-installer might not work on all your target devices...

So even if you edit your updater-script as I said you might still get errors, that error will for sure be related to a incompatible updater-binary-installer (called update-binary in flashable zips without aroma).
[Android Software/Hacking General [Developers Only]] Bulkatos:
:silly:

what a syntax error :facepalm: XD

thanks!

And if I use the update-binary-installer from a gapps.zip file? Because this should work on most devices, doesn't?

Does it matter if I disable the "ini_set("rom_device","Any Device");" line?
[Android Software/Hacking General [Developers Only]] Patrics83:
No idea about the updater-binary from gapps zip, give it a try. :good:

ini_set has nothing to do with anything except what is shown in the AROMA ui... ;)

My point is the updater-binary-installer since you want this zip to work on "any device".
[Android Software/Hacking General [Developers Only]] Bulkatos:
Did your advices. Same results. UI works well, but the install process do nothing.

In this case I uploaded the complete zip file:

Gruuna_Apps_v0.02beta.zip

Could you please test it and say me what i've done wrong?

I tested it on a I9305 (S3 LTE).

Thanks.

Bulkatos
[Android Software/Hacking General [Developers Only]] Patrics83:
Line 32: ui_print("Erforderliche Daten werden gesammelt") << missing ";"

And try this update-binary-installer

If you still have errors, do the following:

adb pull /tmp/recovery.log

adb pull /tmp/aroma/.install.log

I'm sure the logs will tell you what's wrong...
[Android Software/Hacking General [Developers Only]] Bulkatos:
recovery.log:

Installing '/external_sd/sideload.zip'...
Checking for MD5 file...
I:Cannot find file /external_sd/sideload.zip.md5
Skipping MD5 check: no MD5 file found.
aroma/s: Initializing
Starting AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers
aroma/s: Saving Arguments

Starting AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers

aroma/s: Open Archive
aroma/s: Initializing Resource

DEVICE NAME: light_sensor - /sys/board_properties/virtualkeys.light_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: proximity_sensor - /sys/board_properties/virtualkeys.proximity_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: gyro_sensor - /sys/board_properties/virtualkeys.gyro_sensor
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: sii9234_rcp - /sys/board_properties/virtualkeys.sii9234_rcp
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: Midas_WM1811 Midas Jack - /sys/board_properties/virtualkeys.Midas_WM1811 Midas Jack
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: gpio-keys - /sys/board_properties/virtualkeys.gpio-keys
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: max77693-muic - /sys/board_properties/virtualkeys.max77693-muic
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 0 minY: 0 maxY: 0

DEVICE NAME: sec_touchscreen - /sys/board_properties/virtualkeys.sec_touchscreen
EV ST: minX: 0 maxX: 0 minY: 0 maxY: 0
EV MT: minX: 0 maxX: 719 minY: 0 maxY: 1279
aroma/s: Opening Freetype
aroma/s: Mute Parent
aroma/s: Starting Interface
aroma/s: aroma-config was UTF-8
aroma/s: (3) Freetype fonts loaded as Font Family
aroma/s: (1) Freetype fonts loaded as Font Family
aroma/s: (1) Freetype fonts loaded as Font Family
aroma/s: Close Graph Thread
aroma/s: Unmute Parent

AROMA INSTALLER Finished...
aroma/s: Starting Release
aroma/s: Font Released
aroma/s: Input Released
aroma/s: Archive Released
aroma/s: Closing Freetype
aroma/s: Graph Released
aroma/s: Cleanup Temporary
aroma/s: Check For Reboot
aroma/s: Closing Recovery Pipe
I:Set page: 'action_complete'

C:\platform-tools>adb pull /tmp/aroma/.install.log

remote object '/tmp/aroma/.install.log' does not exist

sry, now i'm not smarter than bevor. I'm so much sorry for wasting your time.
[Android Software/Hacking General [Developers Only]] Patrics83:
Did you pull .install.log after leaving the "install screen"?

Is this with the binary from me?
[Android Software/Hacking General [Developers Only]] Bulkatos:
yes, with your binary.

install.log:

AROMA INSTALLER version 2.56
(c) 2012 by amarullz xda-developers

ROM Name : Gruuna Apps
ROM Version : 0.02
ROM Author : Bulkatos
Device : Any Device
Start at : Mon Sep 2 03:25:23 2013

line 33 col 12: syntax error, unexpected STRING, expecting $end
line 111 col 17: syntax error, unexpected $end
2 parse errors

Installer Error (Status 6)

End at : Mon Sep 2 03:25:23 2013
[Android Software/Hacking General [Developers Only]] Patrics83:
There you have the remaining errors :)

Edit: I bet you still haven't fixed this:

Line 32: ui_print("Erforderliche Daten werden gesammelt") << missing ";"

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] Bulkatos:
fixed it

okay, first of all: THANKS for your great help :good::good:

Now it's running. The missing ";" was fixed by me, but ther was another missing.

I forgot to add a "endif;" on the end of a line, thats why i allways got syntax error "unexpecting end".

Thanks for your help and for your tipp how to get the install and recovery logs!

I think this should written in first post ;)

Have a nice day.

Greetings Bulkatos
[Android Software/Hacking General [Developers Only]] tamirda:
Please? Someone can help me?
[Android Software/Hacking General [Developers Only]] amarullz:
2.70 - RC2 released: http://xdaforums.com/devdb/project/?id=330#downloads

- Add support for GS4 Touch screen (Hope it fixed) Thanks to Phil3759
[Android Software/Hacking General [Developers Only]] jovy23:
I can confirm that it now fully works on the GS4 ! There is no more touch screen issues! Thanks amarullz!
[Android Software/Hacking General [Developers Only]] mickey-r:
Hi amarullz,

First, i want to say you that your installer is amazing

and give you a BIG THANK for your job.

For the next 1.5 release, can you add some ini_set to translate full IU :

text_yes

text_no

text_about

text_calibrating

text_quit

text_quit_msg

One more time, thank for your job :)

edit:

my contribution to your job : miui theme and icons
[Android Software/Hacking General [Developers Only]] FBis251:
I noticed 2 more bugs:

Save install log freezes for me on

aroma-1.10-nightly-13

Also checking free space for my /sdcard/ partition (mounted, verified with /sbin/mount) gives me a bad size even though

du -h

has the right size (it's a 32 gig card)

I'm using the following code. Using it for the other partitions (/system /data and /cache) outputs the right sizes.

getdiskfree("/sdcard","m")
getdisksize("/sdcard","m")

The above lines output:

-505
1843

which is wrong

Using

getdiskusedpercent("/sdcard")

Gives the right percentage though
[Android Software/Hacking General [Developers Only]] amarullz:
Yes.. I had a plan to customize all text in 1.5. Thanks for theme and icons... it was soooo sleek :D.

But Themes still subject to change... The progress bar still unthemed (still find a way to support animated progressbar), and it needs more colorset for more customizable themes. When you set window background dark, and control background white... the foreground color for window and controls should be different.

Ok, thanks for your report... will find the fix for this problem...

EDIT: Ok about partition size... Previously it was used int (32bit), it will overflow with 32gb.. So I change it to long (64bit)... it will support bigger size...