yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] dibblebill:
I just saw that bit about how update-binary-installer should be my original update binary. Testing now.

haHA that worked! The package_extract_file works fine, it was the fact that update-binary-installer was wrong that screwed me up. That "comprehensive guide" never really explained that bit.

I'll make sure to thank all your posts :) Its flashing now.
[Android Software/Hacking General [Developers Only]] The Sickness:
Glad to hear....:D

I Think My S4 Is Insane

SICK MADE DEVELOPMENT
[Android Software/Hacking General [Developers Only]] dibblebill:
I actually found the answer in the Atrix forum, amusingly. Again, thanks for all the assistance. I adapted the updater script over from the OmniROM script it generated. My device is booting now- looks like it all works! Now I can upload my ROM's biggest update yet (and satisfy users who just want the base ROM, the extras, and a choice of navbar mods). You're fantastic!
[Android Software/Hacking General [Developers Only]] leolawliet:
Dunno what I did wrote g this time hut I made an aroma weak package and nothing if flashing.
[Android Software/Hacking General [Developers Only]] The Sickness:
Huh

I Think My S4 Is Insane

SICK MADE DEVELOPMENT
[Android Software/Hacking General [Developers Only]] dibblebill:
Alright. I did the same thing I did last night, and now it simply shows an empty window again, and claims it is installed. All my menus seem to work. If it was a code error in updater-script, you'd think it'd at least begin installing. In fact, the binaries even work in another zip... I'm not at the computer with the scripts at the moment

I tried to build AROMA myself, and followed the steps in Github, bit get an error that there is no rule to make aroma_installer.zip

Sent from my Nexus 10
[Android Software/Hacking General [Developers Only]] dibblebill:
Scripts attached.
[Android Software/Hacking General [Developers Only]] dibblebill:
Solved it myself.

Had some erros in my set_perm statements.
[Android Software/Hacking General [Developers Only]] Agent Soap:
-=Sigh=-

Ok, I'm back. I just cant seem to get aroma-config to be clean of errors, I solve one and a new one shows. Can I please get some help getting the script to run? At least to boot?
[Android Software/Hacking General [Developers Only]] Harbir:
U are missing endif; for the line 150 and u should put endif for each of ur if ;)
[Android Software/Hacking General [Developers Only]] bgiesing:
I am trying to make a Universal 4.4 GApps package...

I have it flashing, however, it flashes everything even if I don't select everything!
[Android Software/Hacking General [Developers Only]] ciscogee:
Hey all, I'm having the darndest time trying to read ui on my phone, its ldpi. Anyone mod for ldpi use already? Having a hrad enough time to find a script that actually flashes in cwm.

Tia
[Android Software/Hacking General [Developers Only]] Robobob1221:
You uncommented the line

# ini_set("dp","1"); #-- LDPI ( 240x320 / QVGA )

near the top of the aroma-config. Remove the # and it should adjust to your screen resolution
[Android Software/Hacking General [Developers Only]] phikal:
Im learning to use aroma by working from a existing script.

Am trying to delete a line in aroma script, its a install of a app. i just removed the install of the app from that line not the whole section but i get a syntax error when installing on the line i removed.

What am i missing here ?

And what do i need to do when i wanna remove a whole section like choose apps to install ?
[Android Software/Hacking General [Developers Only]] Robobob1221:
Whats the line?
[Android Software/Hacking General [Developers Only]] Волк:
The stuff from the updater-script looks ok, are you using a different update-binary-installer than what was originally packed with it? There's binaries with two different configurations for the format command, which can lead to syntax errors.

Otherwise, please upload the AROMA config and the updater-script and one of us will take a closer look at it.

edit:

ok, now that my browser actually loaded everything, yes, you will need to remove the # Friend Stream section from the updater-script, recovery scans through the script executing what it can, so if you tell it to look for a specific file and that file doesn't exist it will return a syntax error.
[Android Software/Hacking General [Developers Only]] farshad525hou:
I have a question about my updater-script. For some reason whenever I flash it nothing happens! The package isn't installed and the apk i specified isn't deleted!

ui_print("Google Now remover by farshad525hou");
ui_print("------------------------");
ui_print("removing google now");
run_program("/sbin/busybox/", "mount", "/system");
run_program("/sbin/busybox", "rm", "/system/app/velvet.apk");
ui_print("Installing Original Search");
package_extract_dir("system", "/system");
ui_print("Setting Permissions");
set_perm(0, 0, 0644, "/system/app/GoogleQuickSearchBox.apk");
ui_print("Unmounting system...");
run_program("/sbin/busybox/", "umount", "/system");
ui_print("Removal of Google Now Complete!");
ui_print("Zip by Farshad525hou!");
ui_print("Don't forget the thanks button!");
[Android Software/Hacking General [Developers Only]] Волк:
Is this a stand-alone script or an AROMA?

Does it print the info as it should or does it not even do that?

You may want to change the mount command, I believe the syntax for the other one is:

mount("ext*", "dev/block/mmcblkop*", "/data");

Make sure you get the correct file system, mount point, and partition though, I only gave an example.
[Android Software/Hacking General [Developers Only]] farshad525hou:
It's an edify script and it prints everything. the only thing is that after flashing nothing happens!
[Android Software/Hacking General [Developers Only]] iok1:
Having the same problem, but my syntax error is in a delete command....

Sent from my jelly bean
[Android Software/Hacking General [Developers Only]] phikal:
Cant seem to get it done, when i change nothing it works, as soon as i delete a line i get a syntax error. :(

Would like to remove the FriendStream Installation and the Remove useless option in the installer so the install only asks for wipe data/or not and asks for kernel installation choice.

if someone could show me how its done with maybe some explanation with it would be greatly appriciated. :highfive:
[Android Software/Hacking General [Developers Only]] Волк:
Ok, try the attached. Nothing special done, just made sure I deleted waht was necessary.
[Android Software/Hacking General [Developers Only]] phikal:
Working like a charm !!

Thx a lot. :good::laugh:
[Android Software/Hacking General [Developers Only]] Волк:
Another helpful thread on edify scripts and flashable zips.

http://xdaforums.com/showthread.php?t=1187313
[Android Software/Hacking General [Developers Only]] phikal:
I seemed to have lost root, something i messed up in the updater script i guess.

Attached is the last working script from the non aroma rom version

Below is the new, not giving root script. Any reason why i get no root after install ?

http://xdaforums.com/attachment.php?attachmentid=1241836&d=1344114295

Tried to figure it out all night but no luck.

Edit, problem solved. :)
[Android Software/Hacking General [Developers Only]] KNTXTremE:
I have a problem with my Aroma Installer 2.50.[the pic] It didn't install rom (updater-script don't run) How can I fix this? // My updater-script & aroma-config http://d-h.st/YKl
[Android Software/Hacking General [Developers Only]] Dblfstr:
Added to list of helpful links. Thanks.
[Android Software/Hacking General [Developers Only]] ngh55:
Hi guys, I want a little help, I don't intend to install complicated stuff, just a set of mods but I want to give user the ability to choose which ones to install.

I have a simple update zip to extract the files to /system and corresponding folders but if anyone have some spare time to help me make an AROMA UI for it I will really appreciate it.

Just want to let the users select which mod they want installed or all of them if wanted.
[Android Software/Hacking General [Developers Only]] invasion2:
How would one

remove

AROMA installer?

Or change it to be on another device (Sensation to the One S)?
[Android Software/Hacking General [Developers Only]] Robobob1221:
If you've d/l'd the aroma installer demo, you can look at the aroma-config for example layouts. From the sounds of it you'd want a menu box showing default or custom installation, and a checkbox method for your custom mod choices.

to remove it, delete aroma-config, and binary from META-INFO, and edit the updater-script to install only default options, I'm guessing.

changing to another device, it would depend on the ROM or whatever is being installed.
[Android Software/Hacking General [Developers Only]] Agent Soap:
Harbir you'll be my hero if we can get this running! I added the endif command 152 col 6 but doing so added an error, & in my log also there is an error on 313 col 7. It too is an endif. Re-Updated file MD5 2db3e4eb0f3e8fa6e6adcb9ffb6a7576.

Harbir... Your awesome. I now has boot!
[Android Software/Hacking General [Developers Only]] Agent Soap:
Not that I could be much help, I wasnt able to even extract your zip. Try reup? unless it works and I'm even more hopeless than I imagined lol
[Android Software/Hacking General [Developers Only]] demkantor:
Agent soap, look at line 312 in aromascript for error, if it looks right see if there is an exceptable change you can make, on mobile so can't look it over myself now

Dotmaniac

Your updater script is not setup properly with if statements if it flashes all, make sure each option is setup to flash only if a specific prop is true, if this looks correct then check aroma config to see that each section is categorised properly

If you two don't get answers by the time I get to a PC then I'll look your scripts over, but I highly suggest looking at other peoples working scripts to see their setup in the mean time, your more than welcome to look up some of mine and copy and paste
[Android Software/Hacking General [Developers Only]] Agent Soap:
Thank you! Have boot thanks to the correction by Harbir. I figured if I could boot I could work it out. & you can bet I will use your data as much as I can gain from it :)! thank you both again.
[Android Software/Hacking General [Developers Only]] bgiesing:
Here is the Reup
[Android Software/Hacking General [Developers Only]] iamashwin:
Can some one help me im getting status 6 error when i flash my rom. ive attached the updater script(The rom is cooked with kitchen)

Thanks in advance
[Android Software/Hacking General [Developers Only]] Harbir:
error

replace line 8

mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS", "/system");[COLOR="Red"] "0 /system/[/COLOR]

with ;)

mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.1/by-name/FACTORYFS", "/system");

tell the problem in brief :D
[Android Software/Hacking General [Developers Only]] iamashwin:
Thanks that seems to work but im getting an error

assert failed: write_raw_image("/tmp/boot.img", "boot")
E:error status 7
[Android Software/Hacking General [Developers Only]] bgiesing:
Finally got everything to work. Apparently, it was something with the new Form box. So I switched back to checkboxes and it works.

[SPAM] You can now download the finished Aroma GApps here: http://xdaforums.com/showthread.php?t=2558177
[Android Software/Hacking General [Developers Only]] 3DSammy:
Is there a method to save/restore Aroma prop files for reuse?

A complex Aroma UI with many options has been developed for Gapps package app selection and removal (Famigo GApps and Remover Tool). Users would like their selections preserved and reused. Those selections are stored in two prop files so that updater-script can apply the selections.

/tmp/aroma/gapps.prop

/tmp/aroma/remover.prop

I'm looking to add the ability to save and retrieve the two prop files to one of these persistent stores:

"/system/famigo" directory

"/data/famigo" directory

To user internal storage e.g. "/data/media/0/famigo"

To SD/OTG storage - This would even allow the settings to survive complete wipes

Of course SD and user storage are the most desirable. It seems that Aroma executes before the updater-script can load the prop files into the "/tmp" directory. Unless I am wrong, it does not seem any of these Aroma statements can be used to retreive/access the prop files from one of the locations mentioned above"?

file_getprop – Get prop value of some key from prop file.

readfile – Read text file from zip content

readfile_aroma – Read text file from zip content relatively from aroma META-INF folder.

Is there an alternate method to achieve this goal? Adding an Aroma menu to allow the use of previously saved selections and/or save new selections seems relatively easy but right now, out side of creating a separate "Use previous Famigo selections" flash file, the solution eludes me.

Having a separate flash file adds complexity as over time I'm sure the Famigo Gapps package will change both selections/props variables and its UI. Adding the functionality to the one flash script will greatly cut down on complexity and maintenance.

As Aromo is used more and more for complex selections this type of functionality will become highly desirable.
[Android Software/Hacking General [Developers Only]] Patrics83:
Just copy the prop from your "save dir" to /tmp/aroma before you show the selection menu.

Here's an example of how I do something similar.

if exec("/tmp/busybox","test","-e",""+getvar("brightness")+"")=="0" then
if exec("/tmp/busybox","test","-e",""+getvar("sdcard")+"/ROMCleaner/screen.prop")=="0" then
exec("/tmp/busybox","cp",""+getvar("sdcard")+"/ROMCleaner/screen.prop", "/tmp/aroma-data");
resexec("RC/brightness.sh");
else
menubox(
"Screen Brightness",
"Set the desired screen brightness for this recovery session",
"icons/main-info",
"screen.prop",

"25%", "", "icons/1",
"50%", "Preset value in ROM Cleaner", "icons/2",
"100%", "Default value", "icons/3"
);
resexec("RC/brightness.sh");
if
confirm(
"Save Settings?",
"Do you want to save this brightness settings for next flash?",
"icons/round-question"
)=="yes"
then
exec("/tmp/busybox","cp","/tmp/aroma-data/screen.prop",""+getvar("sdcard")+"/ROMCleaner");
endif;
endif;
endif;

I know this code is a bit messy but I hope you get the idea...

Sent from my HTC One X
[Android Software/Hacking General [Developers Only]] 3DSammy:
Thanks so much, it looks like it will serve the purpose. I would have clicked on your thanks count, but I ran over my limit for today:p
[Android Software/Hacking General [Developers Only]] dibblebill:
I did for you. It will help out with Tempest. There is a thanks limit?

Sent from my Nexus 10
[Android Software/Hacking General [Developers Only]] bgiesing:
I am having some syntax errors!

Here is the .edify file that it said had errors on line 199. http://pastebin.com/EuPex5y1
[Android Software/Hacking General [Developers Only]] demkantor:
Doesn't go as far as 199, is it in updater-script maybe?
[Android Software/Hacking General [Developers Only]] bgiesing:
No, it said that it was a Error in that file and it hadn't even got to the installation process yet. In case you don't know, edify files are like aroma-config files.
[Android Software/Hacking General [Developers Only]] demkantor:
Well edify is the syntax that aroma-config and updater-script is written in, not sure what you mean by edify files. And the pastebin of your aroma config only has 167 lines so I'm not seeing how there is an error after 30+ lines that don't exist

When you attempt to flash your aroma script can you write down word for word what the error message is

Edit

Ah, I see amarullz added some new functions in 2.7, haven't been using his latest aroma builds and never seen this. Still its probably in your aroma-config as you don't have line 199 in this (look to 198 in aromaconfig)

And do you mind me asking why this is extra script is needed? It looks like it all could just as easily be added to aroma-config
[Android Software/Hacking General [Developers Only]] Cipher666:
Hi, im new in aroma, i have, some checkbox and i want to show some selected items in confirm box how can i do that, for now i just manage to show last item.

Thanks!

Edit:

I find the way. :D
[Android Software/Hacking General [Developers Only]] bgiesing:
I fixed it! It was because I was using the delete command which isn't available in aroma-config or edify files. So I moved them to SH files and am using zipexec to run the script!
[Android Software/Hacking General [Developers Only]] manhgioiandroid:
i already translated Aroma installer into Vietnamese, so can you please add my translated files into Aroma installer. The fact is, in my country people really love something easy to use and have our language built-in it. Which Aroma version do you need the translated files?
[Android Software/Hacking General [Developers Only]] henrylife:
Can you guys please help me out, for day 2 I'm having one damned error, and I'm so clueless what's wrong there tried different binaries, nothing..

It will freeze after splash screen with error message FUNCTION ERROR!!! aroma-config: viewbox() expects 3 args (title,desc,ico), got 4

Here's config: http://pastebin.com/ttPtd3Q0
[Android Software/Hacking General [Developers Only]] hlxanthus:
Nothing jumps out at me . . did you pull an aroma.log or recovery.log?

Edit: I take that back, your post says error in viewbox. Your config has only one viewbox used so you know roughly where it is at. It seems strange to me to have the "@welcome" at the end. I am not at my compute right now so I can't figure the whole thing for you but I think you have the requisite formula for a view box messed up; it should be

viewbox(

"title",

"description",

"@icon",

. . . bulk of what you want to say . . .

);
[Android Software/Hacking General [Developers Only]] update-addicted:
[AROMA_2.56] [CM10] Format SYSTEM !?

Hey guys :o

I want to add AROMA 2.56 to an CyanogenMod 10.1.6 ROM...

If i want to format system the following error happend: :eek:

format: unsupported type "EMMC"script aborted (no error message)

the code in updater-script:

format("EMMC", "system");

I also tried it with "MTD and "ext4" :silly:

any idea how to format the system partition? :confused:

Many thanks in advance! :good:
[Android Software/Hacking General [Developers Only]] Harbir:
this is the way to format system

format("ext4", "EMMC", "/dev/block/mmcblk0p22", "0", "/system");

note /dev/block/mmcblk0p22 is the system mount point for my device ur device it is different
[Android Software/Hacking General [Developers Only]] Shaftamle:
Is there a universal way to mount "system/app" and/or "data/app"? I want it to be compatible with as many phones possible. Any help would be awesome.

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Android Software/Hacking General [Developers Only]] Patrics83:
Use busybox.

"mount /system"

"mount /data"

If the ROM you are using doesn't have busybox, then extract busybox to /tmp and mount like this:

/tmp/busybox mount /system

Too unmount partitions:

"umount /system"

Alt.

"/tmp/busybox umount /system"

Edit: Keep in mind that the updater-binary (updater-binary-installer) might not work on all target devices.

Sent from my HTC One
[Android Software/Hacking General [Developers Only]] Shaftamle:
Any way to modify or create one to work on more devices? If not could I pull an update script from another phone ROM and create a separate package?

IE- I create flashable for s4 using busy box method. Then make a copy and replace updater script with let's say an HTC one rom's script. Would that package be usable on the one?

Sent from a Shaftamle Galaxy S4

"Thanks Button" is always appreciated!

http://mycolorscreen.com/Shaftamle/
[Android Software/Hacking General [Developers Only]] hlxanthus:
What device are you on. Your tapatalk handle says galaxy s 4, like me. If so there is no problem. Just download any flashable zip for our device and use the update-binary from it, be it mod or ROM and you should be good.

Sent from my Galaxy S4
[Android Software/Hacking General [Developers Only]] update-addicted:
update-binary

The problem is that the format function exspects only two args :mad:

I played around with many arguments... -> no formating...

now i have used another update-binary (same version!) and it works! :D

realy crazy !
[Android Software/Hacking General [Developers Only]] Kiray1982:
i want to include a external menu to aroma installer that is not located in *.zip, but on phone(sdcard). does this works somehow`?

e.g.

[aroma-config]

...

include("data/media/0/custom_menu.edify");

or

include("tmp/aroma-data/custom_menu.edify");

thx in advance
[Android Software/Hacking General [Developers Only]] amarullz:
You can use eval. And read to read text file. Example:

eval(read("/sdcard/mymenu.edify”));

Sorry if there is any error, I am on phone right now
[Android Software/Hacking General [Developers Only]] Kiray1982:
thx 4 reply

but it doenst work, i tried to understand "eval" and also "include" but have no idea..

...

eval(read("/sdcard/tmp_menu.edify"));

...

ERROR!!! aroma-config: SYNTAX ERROR in EVAL on line 302 col 6

edit... after sleeping for 3hours and re-writing script, all is working fine.

thx kiray

edit...

Aroma-Backup-Manager for Rom Themes is working fine now.

- backup all files into folder named "<flash-date><build.prop - rom-version>"

- restore backup from dynamically created menu

- delete user-selected backups

thx 4 great aroma installer
[Android Software/Hacking General [Developers Only]] moritz31:
hey guys i'm new to aroma and want to add the installer to my rom

app customization already work ,but i don't know how i should write the rom installation script :/

is there an universal script for this or have u some hints ?
[Android Software/Hacking General [Developers Only]] demkantor:
Not really universal but if your ROM has an updater-script already use this, then just have aroma-config point to it if optional or just have it run as if if not
[Android Software/Hacking General [Developers Only]] moritz31:
i merged the script from my rom to the aroma and only add if .... then script endif;

on the aroma manifest is only one screen with one option box for rom .... if i check rom and click install it takes 1 sec and it is finished

the log says error on line one col 3 (thats after the end of the if) but even when i let the file as it was bevor without if and so on it won't worked :/ any idea why ?
[Android Software/Hacking General [Developers Only]] demkantor:
Can you post your META-INF folder along with aroma log, this is the best way to get concrete help

If you want to take a look at some of my threads feel free to use any of my aroma scripts as a base for your own, I keep them clean so they should be easy to read and copy from
[Android Software/Hacking General [Developers Only]] moritz31:
here is the log and my meta inf extracted from the rom ,

pls don't wonder this is only a try script

the updater-script was extracted from the rom and than added the if then endif;

don't know why it isn't working :/

https://drive.google.com/file/d/0ByWuXCZ5TX-ocFNuMGF1bW9xUGs/edit?usp=sharing
[Android Software/Hacking General [Developers Only]] Lordomn:
I am using the latest aroma installer 2.70rc2 I have been able to get it to load the installer but I don't have a way to calibrate the touchscreen. My vol up/down, search, menu, home, and back buttons work. It recognizes touch but not accurately just the touching of the screen itself.
[Android Software/Hacking General [Developers Only]] Lordomn:
Ok so I've switched to 2.55 because 2.56 and 2.70rc2 are both giving me touch screen problems. But so is 2.55. I can't calibrate the screen because it freezes after using calibrating tools option in the menu. I have tried using the caliberate matrix but still no success. Any help would be appreciated. By the way I'm using an Xperia Play.

EDIT: I was able to get it working by using an older version of aroma. Great installer. I will be using this for a while.