yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] MattBooth:
No, this is clearly a development issue as the code is working from a previous installer based on 2.56. The issue seems to be the includes.

Here is the log:

aroma/s: Starting Interface
aroma/s: aroma-config was UTF-8
aroma/s: (2) Freetype fonts loaded as Font Family
aroma/s: (2) Freetype fonts loaded as Font Family
aroma/s: # INCLUDE SCRIPT (data_wipe.edify)
line 529 col 1: syntax error, unexpected BAD, expecting IF or STRING or '!' or '('
aroma/s: Close Graph Thread
aroma/s: Starting Release
aroma/s: Font Released
aroma/s: Releasing Input Driveraroma/s: Input Released
aroma/s: Archive Released
aroma/s: Closing Freetype
aroma/s: Graph Released
aroma/s: Unmute Parent
ERROR!!! aroma-config: SYNTAX ERROR in data_wipe.edify on line 529 col 1

Here is the code from that particular include

#-------------------------+-----------------[ Clear and Wipe Data ]-----------------+---------------#
#-------------------------+---------------------------------------------------------+---------------#

selectbox(
"Clear all Data?",
"Decide whether to wipe data or not",
"@alert",
"clear.prop",

"Wipe Data?",	"",	2, #-- Group 1. key = "selected.1"
"Super Wipe",	"Wipe EVERYTHING (system, data, caches and INTERNAL STORAGE)",	0,	#-- selected.1 = 1
"Wipe Data",	"Wipe /system, /data, /cache and /dalvik-cache",	0, #-- selected.1 = 2
"Wipe System",	"Wipe /system, /cache and /dalvik-cache",	0, #-- selected.1 = 3
"No",	"Do not wipe anything",	1	#-- selected.1 = 4
);

# If using the Custom, jump to the menu
if prop("wizard.prop","selected")=="2" then
goto("main_menu_pos");
endif;

This happens on every include I've put into the installer so far. There are no syntax errors.

EDIT:

I also note that the log shows it errored on line 529... the script itself is 527 lines long. There is no special syntax in the language_test.edify wxample, so I'm wondering if this is an error on my behalf, or in the beta. Because there is no actual syntax errors in the substance of the includes. They all come from a working installer. They also parse correctly when not included using the new include feature... I just want to use the includer to make things especially tidy.

This is how I'm using the include:

gotolabel("data_wipe_pos");
include("data_wipe.edify");

gotolabel("recovery_pos");
include("recovery.edify");
[Android Software/Hacking General [Developers Only]] CoffinStuffer:
Got a ? If someone knows It will be much appreciated. I'm trying to get a full theme(VR) to install, as an option. Everything looks correct during install. Shows success for installation. But after first boot no theme. I've rewritten the script several ways,all show successful install. With no theme on boot. So can the theme even install,before first boot? Or does the Rom need to boot first,before you can apply a theme?
[Android Software/Hacking General [Developers Only]] [NUT]:
:highfive:

You did it dude... trouble free for my simple project, it looks good, it operates smoothly, excellent work m8! :good:
[Android Software/Hacking General [Developers Only]] amarullz:
Try to save it as utf8
[Android Software/Hacking General [Developers Only]] amarullz:
What the problem with it?

Is the ui show, or doesnt even started?. Or touch doesnt works? Provide me the recovery.log. i will take a look..
[Android Software/Hacking General [Developers Only]] omar_bazaraa:
This also happens to me!

All codes written correctly and saved as UTF-8 but the installer crashes. :confused:
[Android Software/Hacking General [Developers Only]] MattBooth:
Thanks I'll give that a shot and see what it does.

I'm using Notepad++
[Android Software/Hacking General [Developers Only]] mike1986.:
It hangs at "Starting AROMA installer...".

I will try to get recovery.log.
[Android Software/Hacking General [Developers Only]] MattBooth:
Same error after converting the files to UTF-8
[Android Software/Hacking General [Developers Only]] amarullz:
Pm me the whole meta-inf
[Android Software/Hacking General [Developers Only]] clark44:
Here you go [MENTION=402300]amarullz[/MENTION] my recovery.log from a US Samsung galaxy s4 with major input handling issues.

I am on your IRC now as well #aroma
[Android Software/Hacking General [Developers Only]] TakuyaZ:
The latest update don`t work with xperia 2011 devices, it touched the center, and i cant touch anything else
[Android Software/Hacking General [Developers Only]] amarullz:
What do you mean touched the center?

And what devices do you mean? Are you sure all 2011 devices?
[Android Software/Hacking General [Developers Only]] TakuyaZ:
All xperia 2011 uses the same touchscreen driver,

The the touch is responding repeatedly in the center of the screen

and it does that without user interaction, it does that all by itself
[Android Software/Hacking General [Developers Only]] RagzDog:
guys why using last beta ( 6 ) i've this error :

script aborted: format() expects 5 args, got 4
format() expects 5 args, got 4

my script in 2.65 and 2.50 is working fine , but with this beta not :crying:

is this :

ui_print("wiping cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/cache");
delete_recursive("/cache");

ui_print("wiping dalvik cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/data");
delete_recursive("/data/dalvik-cache");

ui_print("formating system ");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0");

ui_print("remounting system ");
assert(mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system") || ui_print(" (system is mounted already)"));

ui_print("mounting data ");
assert(mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/data") || ui_print(" (data is mounted already)"));
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Try this:
[Android Software/Hacking General [Developers Only]] RagzDog:
Works , thanks.

Very good this beta , good work amarulzz :D

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Software/Hacking General [Developers Only]] -Happy Feet-:
hello,

i use the latest AROMA installer and an HTC One X, but when i would flash my ROM, the Touchscreen not working at the AROMA Installer.

Can anyone help me?
[Android Software/Hacking General [Developers Only]] MattBooth:
Did you get my PM, [MENTION=402300]amarullz[/MENTION] ?
[Android Software/Hacking General [Developers Only]] amarullz:
Thats not the problem. The problem is, you never replace an updater-binary-installer for your device specific...

Hmm.. I dont know how to make all rom maker/chef understand about it.

It wasnt about syntax, but I am affraid with device compatibility because this binary is device specifics.

It was happened because I change update-binary-installer with galaxy nexus one in this beta.

Anyone have same problem with him?. recovery.log please

Yes, I recived it. Something that I think wrong (but not absolutely wrong) in your code is goto and goto_label.

Until current version, goto function can only move backward, so goto can only jump into label that already defined.

Ofcourse I will make goto into the real goto that able to jump forward, but It need more code and alghorithm :D
[Android Software/Hacking General [Developers Only]] BeansTown106:
ya on verizon s4 touch now works but scrolling is really weird and u have to hit the next button a cpl times to get it to work right
[Android Software/Hacking General [Developers Only]] Turge:
Amarullz.. I noticed with 2.70B6, Aroma sometimes freezes on startup with the percentage showing 0% and the .install.log file is completely empty. I never noticed this before B6.

I have OTA updates using Aroma that just display a splash screen and start processing update-script immediately without going through the wizard.

If I reboot recovery and try it again, it usually works. I doubt these logs will help you though since they look the same whether it succeeds or not.
[Android Software/Hacking General [Developers Only]] Turge:
Just put a file in the same folder as update-binary-installer called:

!!!DO NOT USE THIS UPDATE BINARY INSTALLER OR WE WILL LAUGH AT YOU!!!!.TXT
[Android Software/Hacking General [Developers Only]] CNexus:
OR he can just not include, and they won't be able to do anything without it :p

Or he can do both, not include it and place a text file saying to stick in an update-binary
[Android Software/Hacking General [Developers Only]] Turge:
Then his demo script won't be able to simulate an install
[Android Software/Hacking General [Developers Only]] CNexus:
The point it's that the update-binary won't work on all devices, so including it even with the demo still had the same issue-it won't run on certain devices
[Android Software/Hacking General [Developers Only]] cleverior.ipul:
@amarullz

why this error happened when i try to flash aroma thru cwm ?

i've changed the update-binary and update-binary-installer to 2.56 Edelweis but still error like on the right SS. im using galaxy pocket.

T.I.A :)
[Android Software/Hacking General [Developers Only]] franzyroy:
Certainly not an error of Aroma, then wrong section! Here you go...
[Android Software/Hacking General [Developers Only]] cleverior.ipul:
oh im sorry i dont know. but thanks for the answer :)
[Android Software/Hacking General [Developers Only]] Mm7:
Hello amarullz excuse me for the third annoying u; but i can't also compile aroma without neon (i tried after this commit https://github.com/amarullz/AROMA-Installer/commit/d41a9fcaa40e410ca488b2c605bc2cd45cdab046) :(:(

I've commented the line 102 in android.mk but there are also problem in compiling of png_read_filter_row_neon.o and inflate_fast_copy_neon.o

:eek:
[Android Software/Hacking General [Developers Only]] Mr.Its:
Try removing lines 12, 27 and 102. I've done a similar thing on my Windows system via makeall.bat, but instead removed lines 27, 28, 37 and 52. It works for me, but I'm still waiting to see if amarullz can get the rotation code I gave him working so that I can actually use aroma installer correctly on my device.
[Android Software/Hacking General [Developers Only]] amarullz:
Yes, I am forgot about it. You should also exclude any assembler source (extension S). It was neon optimized png and zlib files....
[Android Software/Hacking General [Developers Only]] RagzDog:
an other problem guys :mad:

this is ther error :

*******************
Flashing modem ...
*******************
Flashing EMC2 no brand modem
package_extract_file: no ragz/modem/flash_image in package
set_perm: chown of /tmp/flash_image to 0 0 failed: No such file or directory
set_perm: chmod of /tmp/flash_image to 777 failed: No such file or directory
package_extract_file: no ragz/modem/EMC2/modem.bin in package
script aborted: assert failed: package_extract_file("ragz/modem/EMC2/modem.bin", "/tmp/modem.bin")
assert failed: package_extract_file("ragz/modem/EMC2/modem.bin", "/tmp/modem.bin")

Installer Error (Status 7)

this my updater_script :

# EMC2
if file_getprop("/tmp/aroma/modem.prop","selected.1") == "2"
then
ui_print("@ Flashing EMC2 no brand modem");;
package_extract_file("ragz/modem/flash_image", "/tmp/flash_image");
set_perm(0, 0, 0777, "/tmp/flash_image");
assert(package_extract_file("ragz/modem/EMC2/modem.bin", "/tmp/modem.bin"),
run_program("/tmp/flash_image", "/dev/block/mmcblk0p7", "/tmp/modem.bin"),
delete("/tmp/modem.bin"));
delete("/tmp/flash_image");
endif;

please help me :D

edit : Solved !
[Android Software/Hacking General [Developers Only]] MattBooth:
[MENTION=402300]amarullz[/MENTION]

I see. I tried a copy without any goto labels.. still the same error on the same space!

I think maybe the includes are still not parsing correctly?
[Android Software/Hacking General [Developers Only]] digitalhigh:
Hi Amarullz!

Love the updates. Transitions are sexy.

Having a little strangeness with my installer since the update. I am using a customized version of the MIUI v4 theme that I've modified the colors on, and added a splash to match. Since updating, my ice-blue theme and splash are now appearing as a yellow-orange color.

Any suggestions? I'd guess it's to do with the colorspace stuff??
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
Did you try colorspace rgba? I had a similar issue and that colorspace fixed it for me.
[Android Software/Hacking General [Developers Only]] andybones:
I am hoping someone kind can help me please.

I am trying to add the option into Aroma to be able to re-flash the ROM.zip and choose only custom, that way the user does not loose data.

I am a novice at scripting though, this is my first one.

any help would be hugely appreciated!!!

http://d-h.st/u3O
[Android Software/Hacking General [Developers Only]] CNexus:
Head over to the Q&A thread.
[Android Software/Hacking General [Developers Only]] tamirda:
Hello,

Need a little help here.

I am using last aroma nstaller 2.70B6 with the theme franzyroy on I9505 S4 device using Philz recovery.

Aroma always stuck at 30% and says:

" extract/system/VODB/da_DK/checked. "

MD5 Is ok.

This is my aroma config:

http://d-h.st/tkj

This is my updater scripter:

http://d-h.st/Jud

Any ideas what is going on?

Thank you!
[Android Software/Hacking General [Developers Only]] devgee:
I am the tester of this Rom.

I can confirm that aroma crashes on 30%

And it says extract/system/VODB/da_DK/checked

Before that it says " system already unmounted

Preload already unmounted

Then it starts to say extract to system

At 30% it crashes
[Android Software/Hacking General [Developers Only]] keymaster911:
So much to read up on and dont know where to start first.. how the hell do you use aroma. Sure would be a big help to my theming.. any you kind devs would like to teach me please.. donations are sitting in my pocket waiting to switch heads.. thanks.

Just a DAM android phone. have a good day.
[Android Software/Hacking General [Developers Only]] prdog1:
Not working on Verizon SCH-I535 S3. Orange is dark blue and ICS blue is yellow/orange. Mui's are Blue and ICS/franzyroy are yellow. Tried all colorspace options and no change at all. :cool:
[Android Software/Hacking General [Developers Only]] prdog1:
Ok. Looks like now is even better than 2.56 on colors for Samsung. It looks like it is a 100% invert. In Gimp can invert images and make it look as it should. :cool:
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
I did that, but just as I did, amarullz posted 2.70B6. It colorspace rgba works for me on that version. Are you using the latest version of the updater-binary
[Android Software/Hacking General [Developers Only]] prdog1:
Update Binary is what inverted everything. Yes. Updated to 2.70B6 from 2.56 I think. Tried all colorspace options with no change at all. 2.56 was off also. Blue was green. At least this time it was a 100% invert which made it easy. Just finished inverting all the images and inverting the hexcodes in theme.prop. Looks as it should now. Luckily we theme. lol. Only done franzyroy so far. Will invert all eventually and post unless it is fixed. :cool:
[Android Software/Hacking General [Developers Only]] franzyroy:
I've not this with the last beta, I'd it with the beta 2 & 4, it seems to me.
[Android Software/Hacking General [Developers Only]] bgcngm:
[MENTION=402300]amarullz[/MENTION], I wanted to report an issue in the latest two beta releases (beta5 and beta6), don't know if it is related to the new touch input or not. Last working beta was beta4 and yesterday I jumped immediately to beta6. For my surprise, right after pressing the first next button the AROMA installer got frozen. This happens also with your demo installer. What do you need from my side to debug?
[Android Software/Hacking General [Developers Only]] prdog1:
Never seen beta 2&4. Went straight to Beta 6. We inverted the images and hex codes and looks decent now. :cool:
[Android Software/Hacking General [Developers Only]] franzyroy:
With my theme? I inverted nothing and it's good!
[Android Software/Hacking General [Developers Only]] prdog1:
Not on Verizon SCH-I535 using TWRP recovery. It is Yellow. :laugh::cool:
[Android Software/Hacking General [Developers Only]] franzyroy:
I've a Samsung GT I9000 with TWRP recovery and like I said, I've not issue. So it's more a problem with your phone model (I think).
[Android Software/Hacking General [Developers Only]] prdog1:
I 9000 S is a 3 yr old device and not even close to current hardware. I agree that it is probably device specific but new betas should be tested on new hardware. I did not initiate the original yellow post. I just expanded on it. All US Verizon S3 with Qualcom processor the themes are inverted. :cool:
[Android Software/Hacking General [Developers Only]] franzyroy:
It is like new with Jelly Bean 4.2.2 (BAKED BB9) ... Not sure that all phones do the same! Even your S3!!! :laugh::D :cool:

Edit

:

On the beta 2, I also had some yellow in my theme, I asked to amarullz to arrange it and now, it's OK!
[Android Software/Hacking General [Developers Only]] udK:
I'm having a similar problem on Nexus7 with latest beta, very often installer stuck itself after pressing Next to begin the installation.

The only strange thing I found is an empty .bmp file with exactly the same name as my .zip at the internal storage.

Don't have any problem with latest beta on Galaxy Nexus.
[Android Software/Hacking General [Developers Only]] stepie22:
Hi, I would just like to add to the list of stuff. XeLLaR* got some suff from the 4.3 dumps, so I made a AROMA installer & uninstaller.

http://xdaforums.com/showthread.php?p=43285619#post43285619

PS. Your awesome!!!!!!!
[Android Software/Hacking General [Developers Only]] The Bownz:
Does anybody know why, when used on the nexus 4, all colors are faded to a blue color? Any way to fix this?
[Android Software/Hacking General [Developers Only]] digitalhigh:
Amarullz - is there a simple command to read a value from the currently installed build. Prop. in system? I'd like to see what ROM is currently installed, and provide extra options if it's mine.
[Android Software/Hacking General [Developers Only]] CNexus:
Have you tried using file_getprop on /system/build.prop? I've never tried it, but I don't see why it wouldn't work since file_getprop simply reads key=value pairs.

The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
[Android Software/Hacking General [Developers Only]] digitalhigh:
You know, I actually had that working yesterday and didn't realize it. It worked once, then it didn't. Just realized now that the reason is because my system partition didn't have a build prop to check. Dur.
[Android Software/Hacking General [Developers Only]] CNexus:
Lol. Not bad. :thumbup:

The Thanks button is just to avoid "THANKS" posts in threads. Nothing more. Don't defeat the purpose of why it was introduced.
[Android Software/Hacking General [Developers Only]] digitalhigh:
For anybody else who wants to try... You just have to make sure \ system is mounted first...
[Android Software/Hacking General [Developers Only]] Unknownforce:
Same on the Sprint variant. The touch doesn't work at all on 2.56, on 2.70b6 it at least works, but it's buggy as hell.

I've only tried TWRP.

amarullz, do you need anything from us on this issue? I know they had similar problems with the touch itself in TWRP recovery, but they were resolved in their 2.5.0.1 version, maybe this is the same thing or it's related to their fix?
[Android Software/Hacking General [Developers Only]] digitalhigh:
It might just be TWRP. I have always had issues with aroma and twrp...
[Android Software/Hacking General [Developers Only]] Unknownforce:
Just thought of that too, but no luck. :(

Just tried Philz Touch (Advanced CWM) and it has the same issues.

Also tried with OUDHS CWM, same problems.

It's over sensitive, and touches sometimes "stick" to where the next button is highlighted but doesn't actually go to the next screen.
[Android Software/Hacking General [Developers Only]] franzyroy:
Deleted... issue solved!
[Android Software/Hacking General [Developers Only]] sbdags:
In the instructions for 2.7beta6 it says I must take a working updater-binary and rename it to updater-binary-installer

When I do this the aroma installer runs twice, over and over - one must be calling the other.... ?? weird what am I doing wrong?

If I use the files included the colours are all messed up.
[Android Software/Hacking General [Developers Only]] prdog1:
Need to rename the rom updater-binary to installer not another Aroma binary. Yea colors are bad for Verizon S3 also. :cool:
[Android Software/Hacking General [Developers Only]] Electronic Punk:
Don't use the one from the aroma package, use one you know works from elsewhere. (ie existing mods for your device)
[Android Software/Hacking General [Developers Only]] franzyroy:
- In META-INF/com/google/android of your rom zip original, extract the updater-binary

- Rename it updater-binary-installer

- Put it in META-INF/com/google/android of Aroma zip

- Keep the original updater-binary in META-INF/com/google/android, it is for Aroma this one. YOU MUSTN'T TOUCH THIS FILE!!!
[Android Software/Hacking General [Developers Only]] sbdags:
OK thanks I'll try that out. :)
[Android Software/Hacking General [Developers Only]] Harbir:
[MENTION=402300]amarullz[/MENTION] the aroma-keycapture-flashable.zip is not working for me i have htc sensation and wanted to use latest aroma with my mod and i am able to but the menu and back physical buttons are not working in latest aroma what to do :confused:
[Android Software/Hacking General [Developers Only]] sbreen94:
Having a weird issue. When updating to the new aroma 2.70b6 on all my galaxy devices (s4,s3, note 10.1) The installer runs fine, however none of the text in the aroma config shows up. Is this a colors issue that is fixable with a force colorspace, or something else. Any ideas would be appreciated!
[Android Software/Hacking General [Developers Only]] BOOTMGR:
While using AROMA installer some files are not extracted properly.Those files are created in file system but they are empty files.I posted this problem earlier in sysntax thread but no solution.This is random issue.Sometimes installer works fine.Tested with CWM and TWRP but same thing happens.Both recovery and aroma installer logs are clean.Here is my

updater-script

aroma-config

I had this problem on my old device as well.There i was using previous version.So please help me and tell me if anything is wrong (i don't think that s a syntax error.That's why i'm posting it here)
[Android Software/Hacking General [Developers Only]] titanic_fanatic:
I too experienced this. I had to extract all my extras to /temp/extras and cp with busybox to get the job done. This isn't ideal, but it worked ;)

I am also using 2.70B6.
[Android Software/Hacking General [Developers Only]] Unknownforce:
I setup a script that puts things in /tmp/data makes a /data/app folder and then copies them there via busybox and it still fails half of the time. File is there, but no data is there, they are 0 bytes... It only seems to be a problem with /data copies...

Don't get it...
[Android Software/Hacking General [Developers Only]] JustArchi:
Hey.

Is there any reason why aroma could get stuck at 0.00%?

I'm experiencing totally random freezes at 0.00% (probably some hang during executing update-binary-installer), it works for some time and randomly it can stop work for the next time or after X flashes. Tried already with different valid update-binaries but without success. It can't be a updater-script reason because I have ui_print on the first lane and it's not being executed on such freeze.

Maybe there is a way to implement some re-execute functions if such hang will get detected? Just wondering.

PhilZ Touch 5.08.5, Galaxy S3.
[Android Software/Hacking General [Developers Only]] tamirda:
New aroma seems to not work on philz in S3/Note2/S4

Already reported that in my devices it stuckes at 30%, but never got any answer for that.
[Android Software/Hacking General [Developers Only]] prdog1:
Works fine on Verizon S3 except for all colors are close to 100% inverted. Have not seen any freezes unless updater script bad and can't find prop. Converted 2 roms and a theme without issues except syntax and updater script errors. :cool:
[Android Software/Hacking General [Developers Only]] CNexus:
On Sprint S3 it works perfectly, no inversion

Sent from my S3 on Sense 5 (you jelly?)