yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zomer331:
I have problem with change value of calibration in aroma-config.log

I've made mistake and did big pack of app, but for wrong smartphone type than my, DHD.

If I do change just the value I've always get that same error

and flash aborted

Error name: "SYNTAX ERROR!!! aroma-config on line 1 col 306"

always that same.

I'm using DHD

calibrate_matrix("112545.00","4590.00","-3237015.00","2635.00","112455.00","579940.50","275471.75","0");

why?
[Android Software/Hacking General [Developers Only]] partzman2:
This is what I get from the first command:

partzman2@partzman2-laptop:~$ javaws ~/Downloads/aroma-app-package-creator.jnlp
The program 'javaws' is currently not installed. You can install it by typing:
sudo apt-get install openjdk-6-jre

Did a "apt-get find javaws" and added the full path to my .bashrc file and I get this:

partzman2@partzman2-laptop:~$ javaws ~/Downloads/aroma-app-package-creator.jnlp
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:778)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:286)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:206)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:320)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
... 2 more
Caused by:
net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:286)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:206)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:320)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)
^Cpartzman2@partzman2-laptop:~$

Have to run this program from the terminal using sudo with full path to javaws, like this:

sudo /usr/lib/jvm/java-6-openjdk/bin/javaws /home/partzman2/Downloads/aroma-app-package-creator.jnlp

and it works fine.

Not sure why I need to use sudo, but that is what works. Thanks for your help.
[Android Software/Hacking General [Developers Only]] albertobom:
Thanks!

Sent from my GT-I9000
[Android Software/Hacking General [Developers Only]] albertobom:
Can´t download the apllication.
[Android Software/Hacking General [Developers Only]] commandersafi:
I've sent you a PM.

Hmm something must not be set up correctly if you can run it with the full path, but not with just javaws. Try the following:

sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/java-6-openjdk/bin/javaws" 1
sudo update-alternatives --set javaws /usr/lib/jvm/java-6-openjdk/bin/javaws

EDIT:I just re-read your post again. Will the following line work?

sudo javaws ~/Downloads/aroma-app-package-creator.jnlp

I need more info such as what OS and web browser you're using. You can't download the .jnlp file or after downloading it the .jnlp won't download the application from the server?
[Android Software/Hacking General [Developers Only]] 10507:
Please add my device to the package

Acer Iconia a500

calibrate_matrix(

"110745.00","-4455.00","1014307.50","-1275.00","119250.00","-213150.00","117480.75","0")

Thanks,
[Android Software/Hacking General [Developers Only]] partzman2:
sudo javaws ~/Downloads/aroma-app-package-creator.jnlp

This wouldn't work until I ran the "sudo update-alternative" commands. Still want to get away from using the "sudo" command as running it as root involves a lot of extra clicks to get from the /root folder to where I have the apps in my home folder. Getting there and thanks for the help!
[Android Software/Hacking General [Developers Only]] pierpa86:
any option for chose kernel and not only apk:confused:
[Android Software/Hacking General [Developers Only]] Corvo007:
Works perfect on HTC Sensation, great job!

BTW, this already listed feature will be great, "Load previously created zip to add/remove apk's from". Even don't need to load zip file, can load some text information file with group name, app name, apk path...

Just one question, can I open already created .zip with 7Zip and replace some .apk with new version one?
[Android Software/Hacking General [Developers Only]] commandersafi:
Now that it works just by calling javaws, I don't see why it wouldn't work without the sudo. Can you run any of the binaries in /usr/bin without elevated permissions such as running the command "java -version" or does that require you to use sudo also? If so you may might not have permissions to execute files in that directory.

Check your permissions in the file with:

ls -l /usr/lib/jvm/java-6-openjdk/bin/

Sorry, no plans to add kernel flashing.

I plan on implementing that feature pretty much as you described. It will make a file (probably an xml) and put it in the zip, so when loading you will be able to choose an already created zip (one made by the app which has automatically placed the xml config file in the zip) or select an xml config file by itself.

And yes, you can replace the apk. The way the script works is it'll copy all files within the folder of the app you've selected to install to /data/app regardless of what is actually in that folder (just make sure the file name doesn't contain spaces...my program automatically strips spaces from the file name, but if you're manually adding an apk make sure it doesn't contain spaces).

So technically you can even put multiple apk's in a folder and they will all be installed...like for example when I install Gtasks which also has another apk to unlock pro feature's I can put both apk's in my "Gtasks" folder within the zip and when i select gtasks to be installed both apk's will be installed :)
[Android Software/Hacking General [Developers Only]] partzman2:
This is what I got:

partzman2@partzman2-laptop:/usr/lib/jvm/java-6-openjdk/jre/bin$ ls -l /usr/lib/jvm/java-6-openjdk/bin/
total 4
lrwxrwxrwx 1 root root 15 2012-09-04 18:29 java -> ../jre/bin/java
-rwxr-xr-x 1 root root 2801 2012-09-01 05:02 java-rmi.cgi
lrwxrwxrwx 1 root root 17 2012-09-05 09:42 javaws -> ../jre/bin/javaws
lrwxrwxrwx 1 root root 18 2012-09-04 18:29 keytool -> ../jre/bin/keytool
lrwxrwxrwx 1 root root 15 2012-09-04 18:29 orbd -> ../jre/bin/orbd
lrwxrwxrwx 1 root root 18 2012-09-04 18:29 pack200 -> ../jre/bin/pack200
lrwxrwxrwx 1 root root 21 2012-09-05 09:42 policytool -> ../jre/bin/policytool
lrwxrwxrwx 1 root root 15 2012-09-04 18:29 rmid -> ../jre/bin/rmid
lrwxrwxrwx 1 root root 22 2012-09-04 18:29 rmiregistry -> ../jre/bin/rmiregistry
lrwxrwxrwx 1 root root 21 2012-09-04 18:29 servertool -> ../jre/bin/servertool
lrwxrwxrwx 1 root root 20 2012-09-04 18:29 tnameserv -> ../jre/bin/tnameserv
lrwxrwxrwx 1 root root 20 2012-09-04 18:29 unpack200 -> ../jre/bin/unpack200
partzman2@partzman2-laptop:/usr/lib/jvm/java-6-openjdk/jre/bin$

Yes, can run /usr/bin/ binaries with out problems.

I can run javaws by it self, but when I run it with the file listed I'm getting server side errors.Except when I run as sudo. ????
[Android Software/Hacking General [Developers Only]] commandersafi:
I forgot about the server side error. My guess is that openjdk's javaws doesn't like that my app is signed using sun/oracle jdk. You can install sun/oracle's jdk alongside openjdk if you use the instructions here:

http://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux

Then when you want to switch between either of the two use the update-alternatives line (step 13)
[Android Software/Hacking General [Developers Only]] dbarrera:
@CommanderSafi

Dude, a fellow member recently released a modified META-INF for P350 devices, can I replace those files into your created zip for my device? I know it may not iron the not installing issue, but I guess it world improve the appearance.
[Android Software/Hacking General [Developers Only]] commandersafi:
Hmm I can't see why not. What you will need to do is go into the aroma-config file created in the zip and replace the calibration line that looks like this:

calibrate_matrix("10050.00","-475.00","26095.00","-735.00","10640.00","-4332.50","10150.75","0")

with the following lines from luisakira2301's aroma-config:

ziptotmp("META-INF/com/google/android/aroma/scripts/digitizer.sh", "digitizer.sh");
setvar("resexec_retstatus",exec("/tmp/aroma-data/digitizer.sh"));
if (getvar("resexec_retstatus")=="0") then
calibrate("4.6570","28","4.9392","31");
else
calibrate("0.9434","9","0.9076","27");
endif;

##CUSTOM Key's for pecan :)
##-Device display
ini_set("dp","2"); #-- MDPI ( 340x480 / HVGA )

You will also need to take the digitizer.sh file from luisakira2301's package and put it into mine in the same spot (so "META-INF/com/google/android/aroma/scripts/digitizer.sh").

Does your device use ext4 for the data partition? If not it could be why it's not installing apps correctly.
[Android Software/Hacking General [Developers Only]] dragonesdenano:
for the guys having not installing apps..well , i had that problem with LGUI3 apps, so using apktool I just signed the apps.

hope it helps
[Android Software/Hacking General [Developers Only]] Ndpndnt:
VZW OG HTC Incredible:

53775, -720, -479715, -1360, 91885, -352032.5, 107628.25, 0

And I feel like a super newb here (true) but where do I get the APKs in the first place? I've got them installed on my device currently, can I just pull the from /data/app?

Thanks for the help and thanks for the awesome tool! This will make clean flashing of updates so much easier!
[Android Software/Hacking General [Developers Only]] commandersafi:
It's been added :).

Yes you can just pull them from /data/app in any way you can. You can copy them over to your sd card and transfer via usb, or using adb, or even using this chrome extension to download the apk through chrome:

http://codekiem.com/2012/02/24/apk-downloader/
[Android Software/Hacking General [Developers Only]] Ndpndnt:
I restarted the installer and my device is already there, very prompt addition! Thank you very much for the help!
[Android Software/Hacking General [Developers Only]] jackh113:
Ok....so maybe I'm just an idiot or something, I don't know. I can't see any of my apps. I connected my phone to my PC as disk drive but nothing happens. It's an Inspire w/ Sabsa Prime 5. I admit I'm a noob to this so please be kind. lol
[Android Software/Hacking General [Developers Only]] Ndpndnt:
I don't mean to laud over this, but I just wanted to say again what a fantastic tool this is. I just flashed a ROM revision after a data wipe. I flashed gApps and then my customer app zip and after a reboot it seriously worked perfectly. Of course each app still has to be opened and set up individually, but it certainly beats having to find and download each app individually. Thank you SO much!
[Android Software/Hacking General [Developers Only]] commandersafi:
When you connect your phone to the PC what you are accessing is your phones internal storage/sdcard (like where you would put music or documents). What you need to access is your phones /data/app folder. This can be done a few ways (but not limited to):

With adb (adb pull /data/app)

Using a file explorer on your phone to copy the .apk's from /data/app to your internal storage/sdcard and then connect to your PC like you are trying to do.

Or you could even use the chrome extension that lets you down apk's from the play store right on your PC which you can find here:

http://codekiem.com/2012/02/24/apk-downloader/

Thanks, I appreciate it. Good to hear it's helping you :)
[Android Software/Hacking General [Developers Only]] dbarrera:
@commandersafi

So, I've been doing some questions and researching about the file system for my device. Optimus P350 works with yaffs, not ext4... =( Any plans to add more compatibility?
[Android Software/Hacking General [Developers Only]] commandersafi:
I will try to iron out the issue, but I can't make any guarantee's (nor an eta as I don't have much time these days due to class). Adding yaffs compatibility has become highest priority for whenever I do get spare time :)
[Android Software/Hacking General [Developers Only]] dbarrera:
Perfect! Thanks! Take your time...
[Android Software/Hacking General [Developers Only]] damnedivan:
the zip file damaged

hey!

nice tool! at last i found this tool that would make my under construction rom become perfect.

but i have a problem. when i try to create the zip file, the zip file is damaged, the size is 0kb, is something wrong with my step? i follow exactly as your guide.

thanks man! :)
[Android Software/Hacking General [Developers Only]] albertobom:
Dear dev please add option to add file non-apk.

For example I want to add fonts (system/fonts/) and ad block (system/etc/).

Thanks ^^
[Android Software/Hacking General [Developers Only]] 2012katas:
thanks...............made the job easy
[Android Software/Hacking General [Developers Only]] rgilmore13:
Awesome Tool

Commander,

Thanks for the AAPC, this makes going between ROMS soooooo much easier. Can't wait for future updates.

Tried this out with 10 or so apps zipped on HTC Sensation 4g, pulled the apk's from a CM9.1 ROM and flashed to a Elegancia Blitz 2.8 ROM. Worked like a charm.
[Android Software/Hacking General [Developers Only]] commandersafi:
Could you pm me a copy of the zip file so I can take a look?

Sorry, currently I have no intention on extending this application beyond being an apk package creator.

Good to hear. Glad y'all like it :)
[Android Software/Hacking General [Developers Only]] chleoj:
Great tool, makes it easy for me to compile all of my favorite apps and flash it every after i used other custom rom...:good:
[Android Software/Hacking General [Developers Only]] DZYR:
Calibration Information for HTC Desire

calibrate_matrix(

"39 2670.00","16875.00","-34998960.00","-5780.00",

"389130.00",14698216.00","3331094.00","0"

);

Is it possible to install the apps to sd-ext?

(What if a2sd is installed?)

Thank you will give this is a go at my next ROM flash!
[Android Software/Hacking General [Developers Only]] commandersafi:
Your device has been added.

And I'm not sure about installing to sd-ext. I myself have never installed to there and I don't know if Aroma Installer is capable of doing that, but I'll look into it when time permits lol.
[Android Software/Hacking General [Developers Only]] Georgi121270:
Excuse me for stupid question, but how do i run the jnlp file? I have Java 7 installed on Windows 7 64 bit, but when i double click on file Windows asks me which program to use to open the file.Even if i select Java TM platform binary (the only Java thing in the list) nothing happens, just cmd window appears for a second and thats it.

P.S. I found workaround, installed Netbeans IDE from Oracle and opened it from here.But i wonder why it won't start as it's said in first post.
[Android Software/Hacking General [Developers Only]] ryukisai:
Feature request : (sorry if it was already asked, it's not appearing on first page to do list)

I'd appreciate packing ringtones alarms and notification sounds and why not some pics (wallpapers) in the zip !
[Android Software/Hacking General [Developers Only]] abo treka:
awesome! thank you
[Android Software/Hacking General [Developers Only]] aadiflesher:
Calibration for Google Nexus One

"386955.00","4500.00","-31745722.00","15215.00","368900.00","-23752392.00","3108480.00","0"
[Android Software/Hacking General [Developers Only]] Finalnull:
Cannot get it to calibrate on Epic 4g touch. I have tried both methods to no avail. The second method gives me the circle and expands when i touch it but does nothing after that. The first method does nothing when i touch the circle. I have tried tapping it, touching it, holding it for a few second and using a stylus but nothing works. :(

Suggestions/help please?

Edit: After fussing with it for about an hour I got these numbers.

Epic 4g touch

"46980.00","135.00","128250.00","2295.00","47940.00","-247500.00","49061.25","6"

Nexus 7

"201975.00","1125.00","217025.00","-270.00","199260.00","1340420.00","331241.50","5"
[Android Software/Hacking General [Developers Only]] Patrics83:
@OP In case you didn't know it. A new AROMA version is out :highfive:
[Android Software/Hacking General [Developers Only]] commandersafi:
Thanks for the tip! This is great...I'll have an update to reflect the new AROMA version out sometime tonight :D
[Android Software/Hacking General [Developers Only]] ukinuj:
calibrate_matrix(

"94740.00","-270.00","-86530.00","-550.00",

"97050.00","1589940.00","510798.25","0"

);

Sony Ericsson Xperia X8

Thanks in advance :)
[Android Software/Hacking General [Developers Only]] Corvo007:
Calibration matrix for..? :)
[Android Software/Hacking General [Developers Only]] ukinuj:
Oops, here, i edited the post.
[Android Software/Hacking General [Developers Only]] mikep99:
No need for calibration in the latest version of Aroma :)

See post #78
[Android Software/Hacking General [Developers Only]] commandersafi:
+1, and I've just pushed the 1.1 update to reflect this :D
[Android Software/Hacking General [Developers Only]] d3vi13:
can't wait for: Load previously created zip to add/remove apk's, then i could load roms and edited them my way :victory:

is this going to be soon? :cowboy:
[Android Software/Hacking General [Developers Only]] kewinh95:
are you sure we could but in a ROM file and edit it :eek: ? would that really work ? does anyone know ?
[Android Software/Hacking General [Developers Only]] commandersafi:
See response below. And I can't give any ETA's as I'm so busy with classes. Those features I could implement quickly but I'm just going to wait until I have more time because I already have some good ideas for a big update and the application will be rewritten from the ground up pretty much.

You wouldn't be able to open up a rom and edit the apk's, so no. This is strictly for making zips for restoring apps to your device easily. When I say add a feature to load previously created zip's I mean the zips created using my application that you may want to modify by adding or removing apk's from without having to start over. There is an application by someone else you can find that does just that (open up a rom zip and add/remove apk's) somewhere in this section. I can't remember what it is though.
[Android Software/Hacking General [Developers Only]] kewinh95:
yeah thats what i meant kinda .. mounting a rom has nothing to do witht his just because roms are zips xD thats why i asked cus it sounded weird
[Android Software/Hacking General [Developers Only]] PoLoMoTo:
Where can you get the APKs for apps like temple run or other apps from the markets? Do you just pull them out of /data/app/ ?
[Android Software/Hacking General [Developers Only]] PANCHOMATASANO:
bug report

Hello

I used the tool to create a pack of apps for my smartphone.

but the touch screen has gone crazy!

Ghost touches again and again!

my device is Sony Xperia Pro MK 16; FWGA 854x480, dpi 265

These are the calibration data that came with "CALIBRATION TOOL" of "Flashaholic Hugo"

calibrate_matrix("10665.00","-4095.00","16650.00","-7438035.00","86020.00","-9083.25",

"-34773.25","12637102.00","-4432.75","0");

EDIT: every time I use "calibration tool" out different values

calibrate_matrix("13770.00","20700.00","-3990465.00","-29727.00",

"84134.75","-19425046.00",

"35803.50","0");

best regards

thanks for your work
[Android Software/Hacking General [Developers Only]] commandersafi:
Yup, you can pull them from /data/app/ or as long as it's a free app you can use the chrome extension here to download them using your computer

Make sure you're using the newest version...calibration data is no longer needed :)
[Android Software/Hacking General [Developers Only]] PoLoMoTo:
Can I also take Gapps out of /system/app/ ?
[Android Software/Hacking General [Developers Only]] PoLoMoTo:
Can't seem to get it to work on my Galaxy S3
[Android Software/Hacking General [Developers Only]] pikachukaki:
Great app very helpfull but can you make it so we can add more stuff like bootanimation and kernels also with system/app that you already have in mind!!!
[Android Software/Hacking General [Developers Only]] commandersafi:
Sure you can. It'll work for any apk regardless of where you get it from. But at the moment it won't install system apps back into /system/app...all apps are put in /data/app/. There are plans to allow you to choose certain apps to be installed in /system/app/ coming :)

More info on the problem would be great.

I've been denying the kernel suggestion, but since it's been requested so much I guess I'll work on that for a future update :)
[Android Software/Hacking General [Developers Only]] pikachukaki:
If manage to add kernels but i have to change the commands on updaterscript this can be done but if you dont want its your program we have to respect your work and also if you can add more stuff without having to edit the metainf like changelog info and also the restart command when it finishes flashing!anyway just giving ideas keep up the good work!
[Android Software/Hacking General [Developers Only]] PoLoMoTo:
Yea sorry I'm not good with putting more info XD, I put in an apk like angry birds and try to install it with aroma and the installer seems to work fine but nothing ever gets installed.
[Android Software/Hacking General [Developers Only]] GRG13:
I made a zip file with the apks which i wanted to use but screen acts like crazy when im trying to choose the apks i want. Whats wrong ?I have the same prob with Pimp my rom
[Android Software/Hacking General [Developers Only]] pikachukaki:
Also can you make it to add custom folder cos if the apps are in data my script has extract data command and after aroma all folder apps copy to data/app!!
[Android Software/Hacking General [Developers Only]] KinokoFuhen:
Problem GS3 :/

I have the same problem than PoLoMoTo... I'm on international GS3 and everytime I flash a zip made by this app (Which is great !), nothing happen. Even the log file is empty. Please, help !
[Android Software/Hacking General [Developers Only]] PoLoMoTo:
Yea I think when its flashing the apps the terminal output (or what ever that text output is) is supposed show a bunch of things but never does (hence why the logs are empty).
[Android Software/Hacking General [Developers Only]] KinokoFuhen:
Sorry, little mistake, the log file isn't empty, it shows "Installer Error (Status 0)".
[Android Software/Hacking General [Developers Only]] Patrics83:
I think this problem is related to the "update-binary" (called "update-binary-installer" when in a AROMA zip) in the zip...

Not all devices can use the same one.

Try this one with Samsung Galaxy S3 - update-binary-installer

Open your app package zip and replace the update-binary-installer with the one in my link. Close the zip and cross your fingers :p
[Android Software/Hacking General [Developers Only]] sda.171:
Fixed the problem

I put an hour in making a zip file and the log is empty and nothing gets installed :(- Any ideas guyz? Acer A500 running 4.1.2 here.

EDIT: i used the update-binary-installer file by Patrick and tried flashing it- No luck-

As soon as the flashing process begins- it ends and it says that the apps are installed :S- and the log is empty?-

LOG REPORT: AROMA INSTALLER version 2.56

(c) 2012 by amarullz xda-developers

ROM Name : AROMA INSTALLER

ROM Version : 2.56

ROM Author : <support@amarullz.com>

Device : Not Defined

Start at : Sat Oct 20 00:46:59 2012

Installer Error (Status 0)

End at : Sat Oct 20 00:46:59 2012

Great Concept and Installer here- I need this to work very badly :P

EDIT : OKAY GUYS I FIXED IT USING THE ATTACHED update binary installer! USE THIS FOR acer A500 and VIOLA!