yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] DjSound:
Going try right now...

---------- Post added at 06:52 PM ---------- Previous post was at 06:37 PM ----------

No luck...

But no error as before but no app are yet installed.

Log says:

package_extract_file: can't open /data/app/ApexLauncher_v1.0.3beta1.apk for write: No such file or directory

and so for all data app...

But i controlled on the root i have (for expample) "data/app/ApexLauncher_v1.0.3beta1.apk"

and i want to install it in /data/app...

This is updater-script code for example apex, (obviously after

run_program("/sbin/busybox", "mount", "/dev/block/mmcblk0p2", "/data" );

command ):

if
file_getprop("/tmp/aroma/customize.prop","item.4.2") == "1"
then
ui_print("@ Installo Apex Launcher");
package_extract_file("data/app/ApexLauncher_v1.0.3beta1.apk", "/data/app/ApexLauncher_v1.0.3beta1.apk");
endif;

so why the can't open for write error? :confused: :confused: :confused:

Thanks Again :)
[Android Software/Hacking General [Developers Only]] anryl:
i have

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

ui_print(" Data files");
package_extract_dir("data", "/data");

if file_getprop("/tmp/aroma/apps.prop","item.1.1") == "1" then
ui_print(" Installing ES File Manager");
package_extract_file("Custom/Apps/com.estrongs.android.pop.apk","/data/app/com.estrongs.android.pop.apk");
endif;

if file_getprop("/tmp/aroma/apps.prop","item.1.3") == "1" then
ui_print(" Installing NFS3D");
package_extract_file("Custom/Apps/3D_NFS.apk","/system/app/3D_NFS.apk");
endif;
[Android Software/Hacking General [Developers Only]] amarullz:
@lulu86: Have you replace the update-binary-installer with your

old update-binary

?

1. rename your old update-binary to update-binary-installer

2. replace update-binary-installer in your new rom with the one that you renamed before.

and make sure the /data/app/ already created before you extract it.

use:

run_program("mkdir","/data/app");

or

run_program("/sbin/busybox","mkdir","/data/app");

@anryl: Hey,.. long time not see :D . are you fine?,.. Still remember the diamond/WM age back then??
[Android Software/Hacking General [Developers Only]] anryl:
thanx, kids making me crazy, waiting for keys off my new house and too much work but hey, i'm fine and happy :)
[Android Software/Hacking General [Developers Only]] DjSound:
Thanks for reply but nothing... no data/app are installed or extracted..

i use these 2 command:

mount("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");
run_program("/sbin/busybox","mkdir","/data/app");

:confused::confused::confused:

P.S. yes already replace updater-binary :)
[Android Software/Hacking General [Developers Only]] anryl:
it depends on u device what to use mmcblk0p23 is evo3d gsm :)
[Android Software/Hacking General [Developers Only]] anryl:
hey dont know why but reboot("now"); not working

allways exit's instalation with error

might be recovery related ?

is there script command that i can use in updater-script to reboot right after finished rom install so i just set it to reboot after install :D
[Android Software/Hacking General [Developers Only]] Bratwurstmobil:
Sorry for noob question but I got this message:

FUNCTION ERROR!!! aroma-config: viewbox() expects 3 args (title,desc,ico), got 11

Dont know what to do? Have I forget something?

Greetz Marcel
[Android Software/Hacking General [Developers Only]] DjSound:
@ Hi to all,

seem that now i fix all the problem and data/app is corrected extracted :D :D :D

Thanks you all for help :p ;)

You have inserted too many arguments... The function that you use viewbox, need only 3 (title,desc,ico) and you give him 11
[Android Software/Hacking General [Developers Only]] oriax123:
Love this so much :) thanks!!!! Wish someone could help me add this to my rom -_-
[Android Software/Hacking General [Developers Only]] Turge:
Not sure if it's been answered yet, but you're probably using the included update-binary instead of using one confirmed to work for your device. I made the same mistake and experienced the same symptoms.
[Android Software/Hacking General [Developers Only]] benjamingwynn:
Thanks for the reply :)

I worked it out in the end though, exactly what you said. It's a long story how I found out it was this but heres a message to all others:

REMEMBER: AFTER YOU UPDATE AROMA PLEASE MAKE SURE YOU HAVE A BACKUP OF UPDATER-BINARY-INSTALLER!
[Android Software/Hacking General [Developers Only]] Turge:
I'm planning on implementing this myself in updater-script:

if file_getprop("/tmp/aroma/installoptions.prop","item.1.2") == "1" then

run_program("/sbin/reboot");

endif;

---------- Post added at 11:37 AM ---------- Previous post was at 11:28 AM ----------

Hey amarullz,

I'd like to dynamically generate the choices of a selectbox through the output of a script.

For example, the following doesn't work:

^This would be populated from my script

^This outputs "Option 1", "", "0" as it should..

^This says only 5 arguments were received instead of 7.

Any chance you can implement this in the future? It would be much appreciated!

Thanks,

Turge
[Android Software/Hacking General [Developers Only]] anryl:
this is working thnx Turge :)

if file_getprop("/tmp/aroma/reboot.prop","item.1.1") == "1" then

ui_print(" rebooting");

run_program("/sbin/reboot");

endif;
[Android Software/Hacking General [Developers Only]] varun.chitre15:
It is working on micromax a70.

Its awesome!

But facing a issue on micromax a60

See these images in the zip

IMAGES ZIP

Waiting for help.
[Android Software/Hacking General [Developers Only]] mDroidd:
Great, thanks!

But I do have a question.

What about the galaxy nexus? It has only 3 buttons...

Maybe both volume buttons as back? Is that possible?
[Android Software/Hacking General [Developers Only]] carl1961:
reboot works here

maybe your kernel does not support reboot or you have a script error

you can test with

2.0 aroma-nightly-2.00-A5.zip
[Android Software/Hacking General [Developers Only]] anryl:
got the same error as above and reboot not works must be the new 4ext recovery
[Android Software/Hacking General [Developers Only]] denzel09:
Thanks :)
[Android Software/Hacking General [Developers Only]] theviruz:
tried this but doesn't work :(

any help???

galaxy nexus
[Android Software/Hacking General [Developers Only]] outerdepth:
Thank You,Thank You,Thank You

I just wanted to personally say thanks for allowing me to add this to my ROMs I make. I am blowing this up on the EVO 4G threads. I have added this installer to all of my ROMs. I am telling all my dev buddies and spreading the word that this his the hottest thing for installs and devices in general in a long time. Amazing work, I am thoroughly impressed. Keep it up. I hit your thanks button.:cool:
[Android Software/Hacking General [Developers Only]] grayn0de:
+1

I love this project! I've included it in my ROM as well. Definitely adds a whole new level of robustness when it comes to user-controlled customization options. :D
[Android Software/Hacking General [Developers Only]] carburano:
+1

Thanks friend!

Just finished configuring Aroma for my new rom (DjangoManouche for LG O2x)...

Amazing tool!
[Android Software/Hacking General [Developers Only]] w181448680:
My English is not very good ... Please help me see what's going on is that an error?

SYNTAX ERROR!!! aroma-config on line 33 col 7

Displays wrong place. below is a red font

splash(2000, "sample");

Using the code below still errors

splash(

2000,

"sample"

);
[Android Software/Hacking General [Developers Only]] Tarpe:
splash(2000, "rom-splash");

if it help,but why is this comand in your script on line 33???
[Android Software/Hacking General [Developers Only]] w181448680:
This code is displayed /com/google/android/aroma/sample.png

Sample.PNG time displayed for 2 seconds

But I wonder why the error? Sample.PNG I didn't delete
[Android Software/Hacking General [Developers Only]] Tarpe:
try to delete line,and re write again,or you can make a pictures, I made 6 new 480x250 in aroma resource folder,must be .png or will not work, and replace comand with this:

anisplash(

#-- Number of Loop

4,

#-- Frame 1 [ Image, duration in millisecond ]. <AROMA Resource Dir>/splash/a[1..6].png

"splash/a1", 500,

"splash/a2", 30,

"splash/a3", 30,

"splash/a4", 30,

"splash/a5", 30,

"splash/a6", 30

);
[Android Software/Hacking General [Developers Only]] w181448680:
I removed splash (2000, "ROM-splash");

Tip anisplash (

Delete entire column, anisplash code,

Tip Menubox ( errors

Is the prompt symbol ( error
[Android Software/Hacking General [Developers Only]] AndyFox2011:
Can someone help me? I tried this with my rom and it was great, except touchscreen didn't work and I need to resize it, which files to I need to edit?
[Android Software/Hacking General [Developers Only]] grayn0de:
Use the calibration tool to get the proper values for your device and uncoment the calibration line in aroma-config and swap the default values with the ones for your device.
[Android Software/Hacking General [Developers Only]] AndyFox2011:
Calibration tool?
[Android Software/Hacking General [Developers Only]] grayn0de:
While in the installer, hit Menu.
[Android Software/Hacking General [Developers Only]] AndyFox2011:
I tried that, text became unreadable and the calibration was completely out :/
[Android Software/Hacking General [Developers Only]] Tarpe:
I do not understand the question, the symbol ( must be united with the command without the empty space like

anisplash(

menubox(

______________________________________________

Phone: HD2 EU 512

Android Build: UrDroid HTC Sensation XL Stock

Current Kernel: Marc1706 v0.1.9

Loader: MagLdr 1.13

Recovery: ClockworkMod Recovery 5.0.2.6

Radio: 2.15.50.14

______________________________________________
[Android Software/Hacking General [Developers Only]] grayn0de:
Might have to just play with the calibration values in the aroma-config until you find values that work. That or see if another dev has successfully calibrated AROMA for your device.
[Android Software/Hacking General [Developers Only]] grayn0de:
One of your functions above those lines might not be closed properly. I ram into something similar where I had a comma that shouldn't have been there in an above line.
[Android Software/Hacking General [Developers Only]] tantrums:
Hi,

Can someone help guide me to build my new Marvel ROM under aroma? I based my codes in Runnemade ROM codes, modified for my LG OB Black ROM.

I'm encountering syntax error below:

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

aroma/s: Open Archive
aroma/s: Initializing Resource
aroma/s: Mute Parent
aroma/s: Starting Interface
line 127 col 2: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 206 col 2: syntax error, unexpected ')', expecting IF or STRING or '!' or '('
line 297 col 3: syntax error, unexpected $end, expecting ',' or ')'
aroma/s: Close Graph Thread
aroma/s: Unmute Parent

SYNTAX ERROR!!! aroma-config on line 127 col 2
aroma/s: Starting Release
aroma/s: Font Released
aroma/s: Input Released
aroma/s: Archive Released
aroma/s: Graph Released
aroma/s: Cleanup Temporary
aroma/s: Check For Reboot
aroma/s: Closing Recovery Pipe
E:Error in /sdcard/Marvelv7beta7.zip
(Status 1)
Installation aborted.
result was NULL, message is: assert failed: install_zip("/sdcard/Marvelv7beta7.zip")

aroma script code : http://pastebin.com/Q5sZZH0g

updater script code : http://pastebin.com/GMEtbjfc
[Android Software/Hacking General [Developers Only]] varun.chitre15:
Can anyone tell me where is the developer

I need his help badly :(:(

Burned from my laser torch using pencil cells
[Android Software/Hacking General [Developers Only]] tantrums:
Thanks carl,

:)

Will try compiling again.
[Android Software/Hacking General [Developers Only]] carl1961:
another tip I learned is,

before you end the installer, or while your updater script running, use Droid Explorer to get your tmp folder tmp/aroma-data. *.prop files

select them all and copy to a folder, then you can edit each one and verifi what the right naming is and compare that to your updater.script, and also when you learn is a app did not install that you selected, it usually falls to a incorrect numbering

example: lastminute.prop

item.0.1=0

item.0.2=0

item.0.3=1

item.0.4=0

item.0.5=0

item.0.6=1

item.0.7=0

item.0.8=0

item.0.9=0

item.0.10=1

item.0.11=1

item.0.12=1

item.0.13=0

item.0.14=0

item.0.15=0

item.0.16=1

in updater.script it is as

if

file_getprop("/tmp/aroma-data/lastminute.prop","item.0.1") == "1"

then

ui_print("@Installing Stock Look Percent Battery");

package_extract_dir("customize/app/percent_battery/framework", "/data/framework");

endif;

if

file_getprop("/tmp/aroma-data/lastminute.prop","item.0.2") == "1"

then

ui_print("@Installing 5_row_app_draw");

package_extract_dir("customize/app/urdroid_5_row_app_draw", "/data");

endif;

in my aroma.config looks like this

checkbox(

"<~chooselastminuteaddons>",

"<~stoywi>",

"icons/apps",

"lastminute.prop",

"<~slpb>","<~islpb>",0,

"<~5rowappdrawer>","<~asd5rios4r>",0,

"<~sonybraviaengine>","<~ipavsts>",0,

"<~advancedquickmenu>","<~qmweoa>",0,

"<~screenon>","<~screenoninfo>",0,

"<~xloud>","<~xloudinfo>",1,

"<~stockkeypadlayout>","<~stockkeypadlayoutinfo>",0,

"<~forzram>","<~forzraminfo>",0,

"<~appbackupreinstall>","<~appbackupreinstallinfo>",0,

"<~cachemate>","<~cachemateinfo>",0,

"<~freespace>","<~freespaceinfo>",0,

"<~adhoc>","<~adhocinfo>",0,

"<~powermenu>","<~powermenuinfo>",0,

"<~soundon>","<~soundoninfo>",0,

"<~incredicontrol>","<~incredicontrolinfo>",0,

"<~loopy_smoothness_tweak>","<~loopy_smoothness_tweakinfo>",0

);
[Android Software/Hacking General [Developers Only]] grayn0de:
Indonesia. :rolleyes:

Just post what you need here and those who have successfully configured AROMA can help.
[Android Software/Hacking General [Developers Only]] varun.chitre15:
I already posted it here

But still link to my post

http://xdaforums.com/showthread.php?p=24288829

A huge thanks to Sir Carl.

He helped me a lot, perhaps that didn't work but learnt tons of aroma tips and tricks.

Burned from my laser torch using pencil cells
[Android Software/Hacking General [Developers Only]] amarullz:
I have some busy works for a couple weeks, so I can't help much for now, but when i have a free time again, i am surely will help anyone again :)..

There is already advance users here that always willing to give an answer, and thanks for them all.

+ i cant read what your problem, because i am use a phone now. +not at home/work.

Where am i? Yes i am in indonesia : p
[Android Software/Hacking General [Developers Only]] tantrums:
Another nice tip. :)

This makes sure of what we are installing.

I'm learning very fast! c/o Carl. :)

And amarullz is correct and can have can have his private time, there are people like Carl willing to help. :)
[Android Software/Hacking General [Developers Only]] liamstears:
Bumping, Anyone?
[Android Software/Hacking General [Developers Only]] carl1961:
have you tryed the

# Forcing Device Pixelate Size

# defaut: floor( min( width, height ) / 160 )

#

# Usefull for tablet device, if interface was too big, you can

# force dp size for smaller UI size.

#

#-------- Uncomment one of this to use custom dp size:

#

# ini_set("dp","1");

# ini_set("dp","2");

# ini_set("dp","3");

# ini_set("dp","4");

# ini_set("dp","5");

#
[Android Software/Hacking General [Developers Only]] liamstears:
What exactly would I put? Running htc sensation 960x540?
[Android Software/Hacking General [Developers Only]] andynroid:
Update binary I dun understand where to get it from a ROM ?
[Android Software/Hacking General [Developers Only]] carl1961:
open your rom zip and it in META-INF folder

\META-INF\com\google\android\update-binary

rename it to update-binary-installer and use with Aroma Installer

---------- Post added at 10:48 PM ---------- Previous post was at 10:42 PM ----------

# Forcing Device Pixelate Size

# defaut: floor( min( width, height ) / 160 )

#

# Usefull for tablet device, if interface was too big, you can

# force dp size for smaller UI size.

#

#-------- Uncomment one of this to use custom dp size:

#

# ini_set("dp","1");

# ini_set("dp","2");

# ini_set("dp","3");

# ini_set("dp","4");

# ini_set("dp","5");

#

just try each one , one at a time, by removing #, #-------- Uncomment one of this to use custom dp size:

# ini_set("dp","1");

ini_set("dp","2");

# ini_set("dp","3");

# ini_set("dp","4");

# ini_set("dp","5");

#

I think ini_set("dp","3"); is default so skip that one
[Android Software/Hacking General [Developers Only]] varun.chitre15:
And what about me, still no one helped except Carl :(:(

Burned from my laser torch using pencil cells
[Android Software/Hacking General [Developers Only]] amarullz:
http://xdaforums.com/showpost.php?p=24583438&postcount=678

I can/other people at least will reply/help to your post (but not via PM - as I know, I already reply some of your PM before tell me if I am wrong :rolleyes:, I am use phone now, and don't have many time to check the PM & read the scripts for now, sorry), But I can't find your post about your problem... can you point me into your post?
[Android Software/Hacking General [Developers Only]] varun.chitre15:
Thanks

U r right :D:D

Here is the post link

http://xdaforums.com/showthread.php?p=24288829

Burned from my laser torch using pencil cells
[Android Software/Hacking General [Developers Only]] amarullz:
What version did you use? have you try the latest nightly 2.00?

It seems you have a non-common device framebuffer, can you dump the info with this file: http://www.amarullz.com/_downloads/tools/displaycapture4short.zip ?
[Android Software/Hacking General [Developers Only]] liamstears:
Doesnt seem to make a difference...
[Android Software/Hacking General [Developers Only]] amarullz:
What version did you used?.. It only supported in ALPHA 2.00 version..
[Android Software/Hacking General [Developers Only]] tantrums:
@amarullz

You can add my Marvel ROM in the list of ROM using AROMA. :)

Here : http://xdaforums.com/showthread.php?t=1473592

Btw. How can screenshots the installation process? - I like to post the screenshots in my thread.

Thanks amarullz for the wonderful AROMA. You really rocks. :)
[Android Software/Hacking General [Developers Only]] varun.chitre15:
Sorry for the late reply

here is the output

xres : 240
yres : 320
xres_virtual ; 240
yres_virtual : 640
xoffset : 0
yoffset:320
bits_per_pixel:16
[Android Software/Hacking General [Developers Only]] carl1961:
I use Droid explorer to make those screens
[Android Software/Hacking General [Developers Only]] tantrums:
I mean taking screenshot inside the AROMA installer gui. I cannot make Droid explorer work when inside AROMA.
[Android Software/Hacking General [Developers Only]] benjamingwynn:
@amarullz

Could we have a layout option like this?

-----------------------

:....//////////////....

:....///IMAGE\\\\....

:....//////////////....

:....\\\\\\\\\\\\\\....

:....///////////////....

:....\\\\\\\\\\\\\\\....

:...........................

:...........................

:....insert text here....

:...........................

:....<Button>

:...........................

------------------------

Maybe a better example of this is something like apple has done with there iOS setup
[Android Software/Hacking General [Developers Only]] carl1961:
I took every page, using droid explorer, you can also use the dalvik debugger, droid explorer has that too.

http://xdaforums.com/showpost.php?p=24376722&postcount=1047
[Android Software/Hacking General [Developers Only]] tantrums:
I can see that its working on your phone.

But I cannot make Screen Shot and Dalvik Debug monitor - Screen Capture to work inside CMW/AROMA. All works fine on Droid Explorer when I'm on in normal mode.

I'm guessing droid explorer is not 100% compatible with my phone or maybe you have an idea?
[Android Software/Hacking General [Developers Only]] amarullz:
Use ddms

AndroidSDK/tools/ddms
[Android Software/Hacking General [Developers Only]] carl1961:
In droid explorer ddms is built , just look, when you open it you will icon to take pictures
[Android Software/Hacking General [Developers Only]] liamstears:
Yes I just tried in alpha 2 version and it works but doesnt fix the problem

I also noticed there is a few pixels at the bottom missing, something is not quite right...

Hope you can help more
[Android Software/Hacking General [Developers Only]] LiLChris06:
Included with Phone-Bricker as a "Kitchen" so not exactly with the initial rom download. ;)
[Android Software/Hacking General [Developers Only]] carl1961:
@amarullz or anyone who may know,

I'm trying to get change log to be in language selected

I tried

if prop("lang.prop","selected.0")=="2" then

package_extract_file("META-INF/com/google/android/aroma/changelog/id/changlog.txt", "META-INF/com/google/android/aroma");

endif;

but I just get a error (status 1)

also tryed

textbox(

#-- Title

"<~changelog.title>",

#-- Subtitle

"<~changelog.desc>",

#-- Icon

"@update",

#-- Arg 4

if prop("lang.prop","selected.0")=="2" then

resread("changelogid.txt")

endif;

if prop("lang.prop","selected.0")=="3" then

resread("changelogde.txt")

endif;

);

I do not get error , but still did not read
[Android Software/Hacking General [Developers Only]] tantrums:
Still no success in my LG Optimus Black. Droid Explorer is not fully functioning when in CWM and AROMA installer.

I can see the phone and the directories in droid explorer but i cannot open some of the folders.

DDMS displays the phone (detected) but not logging anything. Also cannot take screenshots.

*Note : all is working in Droid Explorer and DDMS well when I'm in normal phone ON.
[Android Software/Hacking General [Developers Only]] kinghunki:
My error code:

Executing Full Wipe
-> Erasing & formatting /cache as EXT4
script aborted: format() expects 2 args, got 4
format() expects 2 args, got 4

Installer Error (Status 7)

updater-script code：

ui_print("@ Executing Full Wipe");
ui_print("-> Erasing & formatting /cache as EXT4");
format("ext4", "EMMC", "/dev/block/mmcblk0p24", "/cache");

set_progress(0.02);
ui_print("-> Erasing & formatting /system as EXT4");
format("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system");

set_progress(0.03);
ui_print("-> Erasing & formatting /data as EXT4");
format("ext4", "EMMC", "/dev/block/mmcblk0p23", "/data");

My phone model is: Sensation

Where can I find an error?
[Android Software/Hacking General [Developers Only]] amarullz:
Why don't create new key in your lang files?

en.lang

...

changelog=changelog/en.txt

...

Then use:

resread(lang("changelog"));

But you can also do this with your method. you can use restotmp("changelog/id/changlog.txt","changelog.txt") or ziptotmp to extract file from zip to /tmp/aroma, then you can read the content with readtmpfile("changelog.txt") or read("/tmp/aroma/changelog.txt")

don't know why :confused:

you forgot to replace the update-binary-installer...

I will fix some code, it also solved the return status 0 error in recovery. hope it will also fix your problem
[Android Software/Hacking General [Developers Only]] amarullz:
New Versions was UP

New Versions was UP

Version 1.64 & 2.00 ALPHA 7​

For 2.00 you can download from github -> https://github.com/amarullz/AROMA-Installer/blob/master/released/dahlia/aroma-2.00-120414-A7.zip

Source code also has been commited.

Changelog for both version:

Fix framebuffer mmap size

Fix status 0 error
[Android Software/Hacking General [Developers Only]] kinghunki:
I have replaced, but the same error.

I upload all my AROMA script, you'll help me check the questions, thank you

！
[Android Software/Hacking General [Developers Only]] amarullz:
The error said that format need 2 arguments, and your script used 4. Maybe you replaced it. Just try to replace update-binary-installer. Make sure it was your old binary-installer
[Android Software/Hacking General [Developers Only]] kinghunki:
Do you mean to let me use the old binary-installer？
[Android Software/Hacking General [Developers Only]] liamstears:
Actually I have just discovered there is no bug in aroma it is actually down to the theme of touch recovery, some how the theme is causing the issue not aroma

As for the status 0 thanks!!