[GUIDE] Signing and zipaligning your app - Java for Android App Development

This is my tutorial on how to sign and zipalign apps for publishing:
If you run an app in Eclipse or Android Studio, it is signed with a standard debug certificate. This is perfect for testing. However, do never release an app signed with the standard debug certificate. Users will be able to install the app for just 365 days and people can easily decompile your apk.
Signing is an easy way of preventing this and to identify the developer. You will not be able to upload an apk signed with the Eclipse or Android Studio debug certificate to Google Play.
Signing means creating a keystore which is a container for your keys. Then you will create a key and sign your application with that.
You will also need to zipalign your app. This optimizes the apk in some ways.
These two things can be done using Eclipse and its export wizard or Android Studio. This will sign and zipalign your app:
Eclipse:
1) Develop your app.
2) Open the project in Eclipse and select Files -> Export.
4) Select "Android" -> "Export Android Application":
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5) Choose the project you want to export:
6) Select "Create a new keystore". Enter the location of the keystore and the password and confirm it:
7) Enter the name for the key, a password for the key, your name and the validity (the period of time users will be able to install your app for):
8) Select the destination to which the apk should be exported:
9) Click finish.
10) You are done! :good:
Android Studio:
1) Develop your app.
2) Open the project in Android Studio and select Build -> Generate Signed APK...
3) Enter the path of the keystore and hit Create new... :
4) Enter the password for the keystore, the name for the key, a password for the key, your name and the validity (the period of time users will be able to install your app for):
5) The form will be filled out automatically:
6) Select the destination to which the apk should be exported:
7) Click finish.
8) You are done! :good:
Some tips:
Keep your keystore at a secure location and do not tell anybody else the passwords. If they knew the password, they would be able to decompile your apk and sign it with your certificate. Everybody would think that you are the developer. So keep your key secure.
Sign all of your apps with one certificate. It will be used to identify you. You will need it for some features like two applications sharing one Dalvik VM or a data directory.
Remember: You will not be able to change the certificate after releasing it through Google Play once.
Happy coding!
This was featured on the XDA portal on April 28, 2013.

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Cool

6mg said:
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Cool
Click to expand...
Click to collapse
You are welcome.

nice man i was luking for a guide lyk this....
im a beginner
cud u tell me more about keystore ...lyk how to male or get one ??
Sent from my GT-S5360 using xda app-developers app

anubhavrev said:
nice man i was luking for a guide lyk this....
im a beginner
cud u tell me more about keystore ...lyk how to male or get one ??
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
What? This is a guide about making one, what else would you want? Also: it needs to stay secure, what's the point in mailing one?

Where is the zipaligning part?

bassie1995 said:
What? This is a guide about making one, what else would you want? Also: it needs to stay secure, what's the point in mailing one?
Click to expand...
Click to collapse
okay got it...
newbie to apps ....

frenzyboi said:
Where is the zipaligning part?
Click to expand...
Click to collapse
I think that's included when you export it.
Never had to do it myself, nor have I heard of having to do so.
anubhavrev said:
okay got it...
newbie to apps ....
Click to expand...
Click to collapse
No problems, glad to help and have fun making apps .
Sent from my GT-I9300 using Tapatalk 2

bassie1995 said:
What? This is a guide about making one, what else would you want? Also: it needs to stay secure, what's the point in mailing one?
Click to expand...
Click to collapse
If someone else has your key and the password, he will be able to sign his apps with your key. Everyone will think that it is your app. If there is malicious code, you will be responsible for it unless you can prove that it is not created by you.
If someone has just the password, he will be able to decompile your apps.
And for mailing: It is a security risk because somebody could hack your or the other one's account.
So keep your keys and passwords secure.
Btw, thank you for helping the others when I was not at home. :good:

frenzyboi said:
Where is the zipaligning part?
Click to expand...
Click to collapse
Yes, it is included. I will update the guide.

nikwen said:
If someone else has your key and the password, he will be able to sign his apps with your key. Everyone will think that it is your app. If there is malicious code, you will be responsible for it unless you can prove that it is not created by you.
If someone has just the password, he will be able to decompile your apps.
And for mailing: It is a security risk because somebody could hack your or the other one's account.
So keep your keys and passwords secure.
Btw, thank you for helping the others when I was not at home. :good:
Click to expand...
Click to collapse
So yeah, this .

Thanks to the portal team for featuring this. :good:
http://www.xda-developers.com/android/how-to-sign-and-zipalign-your-apk-files/

Thread stuck...
Good job mate

mark manning said:
Thread stuck...
Good job mate
Click to expand...
Click to collapse
Thanks.

Updated the guide for Android Studio.

hahaha i found best forum for android development again..
thanks xda.. :good: :good: :good:

pratamawijaya said:
hahaha i found best forum for android development again..
thanks xda.. :good: :good: :good:
Click to expand...
Click to collapse
Yeah, XDA is amazing. :good:
Thanks.

okay so its finally time for me to sign an app ...but when i export the project everything goes well until the keystore part.....what do i need to type into it.....
i need to create a new keystore ...but im asked for the path to the keystore.....
pretty confused .....

anubhavrev said:
okay so its finally time for me to sign an app ...but when i export the project everything goes well until the keystore part.....what do i need to type into it.....
i need to create a new keystore ...but im asked for the path to the keystore.....
pretty confused .....
Click to expand...
Click to collapse
Yeah, point 6 says:
6) Select "Create a new keystore". Enter the location of the keystore and the password and confirm it:
Click to expand...
Click to collapse
That means that it asks for the path where the keystore should be created.
Check my screenshot.

Since some days i use android debug keystore to sign my app's test builds. And then i transfer it to my phone. But when i try to run it after installing Im getting contineous force closes! Any Idea? Want me to paste the logcat? Im sure that there is no mistake in program. because the app runs smoothly when installing from eclipse.

Related

AppAdmin - Application Manager

Hello xda users, i am create AppAdmin and i need your help for testing and promotion.
Some words about app:
Features:
* batch uninstall
* batch backup
* batch install from apk
* batch system applications uninstall ( only for root users)
* batch move, show which apps can be moved on sd and move them (only for 2.2 and higher)
* export list of apps into html file with link on market.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks.
to people wondering this is available on the market as a free and paid version (.99)
1loudsvt said:
to people wondering this is available on the market as a free and paid version (.99)
Click to expand...
Click to collapse
yes paid version without ads.
Great App, but I am missing automatic Backup for new installed Apps.
1loudsvt said:
to people wondering this is available on the market as a free and paid version (.99)
Click to expand...
Click to collapse
I'm not discussing whether or not this app is great/useful/etc, I'm sure it is.
However, I'm just wondering why this post exists on XDA?
isn't this just an add for a commercial app on Google Marketplace and against XDA rules?
Standard A2SD
Hi,
Does it work with the "standard" ext3 App2SD ?
Thanks
satanas.g said:
Hi,
Does it work with the "standard" ext3 App2SD ?
Thanks
Click to expand...
Click to collapse
yes, it must works.
if you have some problem report me.
dXsL said:
I'm not discussing whether or not this app is great/useful/etc, I'm sure it is.
However, I'm just wondering why this post exists on XDA?
isn't this just an add for a commercial app on Google Marketplace and against XDA rules?
Supporting the open source community and against software commercialism
just my 2 cents...
Click to expand...
Click to collapse
it's already on android market) thanks
Mecid8 said:
Hello xda users, i am create AppAdmin and i need your help for testing and promotion.
Some words about app:
Features:
* batch uninstall
* batch backup
* batch install from apk
* batch system applications uninstall ( only for root users)
* batch move, show which apps can be moved on sd and move them (only for 2.2 and higher)
* export list of apps into html file with link on market.
Thanks.
Click to expand...
Click to collapse
Good Idea for an app!
I tested some things especially to delete system apps.
The program says "Succesfull deleted system app" or so..
But it did'nt, all programs are still there.
Also after a reboot they are there and I can open them.
Tested on HTC Desire with Z-rom v0.6 test
Tried to delete: Stock.apk and eReader.apk and soms other things.
Back-up worked. Nice to add Backup for NEW apps in it!
Some work to do!
Goodluck
thanks for test.
Are you have installed BusyBox?
I fix it after 1-2 hours, and upload update on market
reef2009 said:
Good Idea for an app!
I tested some things especially to delete system apps.
The program says "Succesfull deleted system app" or so..
But it did'nt, all programs are still there.
Also after a reboot they are there and I can open them.
Tested on HTC Desire with Z-rom v0.6 test
Tried to delete: Stock.apk and eReader.apk and soms other things.
Back-up worked. Nice to add Backup for NEW apps in it!
Some work to do!
Goodluck
Click to expand...
Click to collapse
thanks for test.
Are you have installed BusyBox?
I fix it after 1-2 hours, and upload update on market
dXsL said:
I'm not discussing whether or not this app is great/useful/etc, I'm sure it is.
However, I'm just wondering why this post exists on XDA?
isn't this just an add for a commercial app on Google Marketplace and against XDA rules?
Click to expand...
Click to collapse
I don't see why it would be against the rules, he's offering the app for free on the market and wants people to test/promote it. It would be better suited in the Apps forum however.
It seems to work fine for me, everything i tested works as it should.
Sent from my Nexus One using XDA App
I also take it from the standpoint of its the first of its kind I've seen. (and I have been searching). I have not seen an app that will make an export list of what i had installed. He made something that I wish I had thought of/could do. I've basically been using 99% of my TI backups list to do what I'm going to download his app for.
Only thing I need TI backup for honestly is angry birds. (well honestly 3 other apps to....)
Mecid8 said:
thanks for test.
Are you have installed BusyBox?
I fix it after 1-2 hours, and upload update on market
Click to expand...
Click to collapse
Youre welcome.
But no I did not.
BusyBOX is not working on the HTC Desire
I hooped I did'nt need it...
Is there a way to create it without using busybox?
hello
I like the concept of this app, tho i havent tried it yet.
so it will back all of my user apps into 1 apk, which i can just install the 1 big apk and it will install all of my user apps??
That seems very convenient if true, for us crack-flashers
[BUG] report
Force closes after buffer overflow or something
i got roughly 377 apps/games installed
at first it will try to cache the info, then the phone gets slower, and slower, and slower, until it finishes the scan
then when i try to select the apps, it throws the Force Close error, and it crashes
not sure if this is due 2.3 gingerbread
Mecid8 said:
Hello xda users, i am create AppAdmin and i need your help for testing and promotion.
Some words about app:
Features:
* batch uninstall
* batch backup
* batch install from apk
* batch system applications uninstall ( only for root users)
* batch move, show which apps can be moved on sd and move them (only for 2.2 and higher)
* export list of apps into html file with link on market.
Thanks.
Click to expand...
Click to collapse
New Beta version, please test it.
Haxel said:
I also take it from the standpoint of its the first of its kind I've seen. (and I have been searching). I have not seen an app that will make an export list of what i had installed. He made something that I wish I had thought of/could do. I've basically been using 99% of my TI backups list to do what I'm going to download his app for.
Only thing I need TI backup for honestly is angry birds. (well honestly 3 other apps to....)
Click to expand...
Click to collapse
I think about this.
reef2009 said:
Youre welcome.
But no I did not.
BusyBOX is not working on the HTC Desire
I hooped I did'nt need it...
Is there a way to create it without using busybox?
Click to expand...
Click to collapse
I try to do this feature without BusyBox.
AllGamer said:
Force closes after buffer overflow or something
i got roughly 377 apps/games installed
at first it will try to cache the info, then the phone gets slower, and slower, and slower, until it finishes the scan
then when i try to select the apps, it throws the Force Close error, and it crashes
not sure if this is due 2.3 gingerbread
Click to expand...
Click to collapse
Im test it on 70 apps, and it it was slow(
But 377... a try to fix it.

Ubuntu on Galaxy Ace / Android Devices [Download link dead, uploader needed]

Well, I'm just sharing what I found
Original Post
Credits to him,*I'm just sharing
Install Ubuntu on your Galaxy Ace without wiping your android OS!
First , download this (Sorry , the link is dead), (it is the original ubuntu.img after all the steps have been completed so you dont have to install lxde or vncserver or set anything up. this is ready to go.)
While you are downloading the file , search 'android vnc' on market ,download the first thing u see (it's a free app).
After you finished download , extract the file and put BOTH of the file to your sdcard.
Now, open android terminal or adb , it doesn't matter (adb is easier to type)
Type this:
Code:
su
sh /sdcard/chubuntu
when you are done , the '#' will becomes '[email protected]' and you are now on Ubuntu!
**DONT CLEAR RAM /EXIT TERMINAL DURING THIS PERIOD ! U NEED TO LET IT RUN IN BACKGROUND !
There are one line like this in the output :New 'X' desktop is localhost:*
Now open the android vnc u hav downloaded:
Nickname : (whatever u like)
password : password
Address : localhost
Port :590* (if ur localhost:1 , then port:5901)
Colour Format:24-bot colour (4bpp)
and click connect then u will see the Ubuntu UI!
Found the screen is too big ?
Press menu and hit 'disconnect' , go app drawer and click terminal emulater , u can use adb too if u havent close it
Code:
export USER=root
vncserver -geometry width×high
If u type 480x320 then the Ubuntu screen will fit ur ace screen
And now u will notice that the output : New 'X' desktop is localhost:*
The * has changed (eg:5901 to 5902)
Remember to change the port number in android vnc and connect again !
Clear ram (exit terminal) when u dont want use Ubuntu
It's just a installation , figure it out urself since I'm just installed it today and I'm a newbie too
You can view this site too: nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/
To edit timezone:
go termital / adb (when u are in ubuntu 'localhost')
type :
Code:
dpkg-reconfigure tzdata
===========================================
Sorry that the link is dead, can anyone who have the file can upload for me ?
Or who have a premium mediafire account and can lend it to me as with free id, I can only upload 200mb file each time but this time is 4xx mb file.. =(
Thanks in advance
did you tested it for ace??
7.7.7.7.7.7.7 said:
did you tested it for ace??
Click to expand...
Click to collapse
i hav tested and it works, that's why i share, dude
Linux installer did the job for me. It is in the android market. You can even choose what linux distribution(ubuntu/debian) you want. I am running debian on ace.
imbawind said:
i hav tested and it works, that's why i share, dude
Click to expand...
Click to collapse
Can you post some screnshots? I would like to know how it looks on ACE..
MPAI said:
Can you post some screnshots? I would like to know how it looks on ACE..
Click to expand...
Click to collapse
If you want GUI Ubuntu is not for your ace. Don't install it if you don't know what to do with it. GUI is pretty slow. I use the terminal mostly which is fast . I compile and run my C++ programs in the terminal.
USB storage works?
doctorace92 said:
If you want GUI Ubuntu is not for your ace. Don't install it if you don't know what to do with it. GUI is pretty slow. I use the terminal mostly which is fast . I compile and run my C++ programs in the terminal.
Click to expand...
Click to collapse
lulz, are you programming on your phone? or did i just missunderstand you ?
Please post some screenshots guys!
here is a video for nexus one
http://www.youtube.com/watch?v=3wQ9XogfjRU
Well i noe that this is not windows 7
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
traduz said:
USB storage works?
Click to expand...
Click to collapse
what does u mean ?
downloadonlyaccount said:
lulz, are you programming on your phone? or did i just missunderstand you ?
Click to expand...
Click to collapse
Thats right.
Programming on your phone???lol..nice
I followed the steps told by you but terminal emulator can not find the chubuntu....what to do??
Sent from my Full Android on Bravo using xda premium
I did this a long time ago when I was still on stock rom, was kinda slow and pretty useless (might be faster now with roms like cm7?). But I dont really see why you would do this except showing off. (which i actually did to my buddy and then removed it xD)
abhishek0704 said:
I followed the steps told by you but terminal emulator can not find the chubuntu....what to do??
Click to expand...
Click to collapse
Chubunto must be in the root of your SDcard, or else you have to type the command to locate it somewhere else.
Programming on a phone?
Are you in your senses?
Sent from my GT-S5830 using XDA App
shaaan said:
Programming on a phone?
Are you in your senses?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
It is fun.
shaaan said:
Programming on a phone?
Are you in your senses?
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
It is fun.
Since it is a full linux environment unlike android I wanted to utilise to its fullest.
You can easily install gcc and c++.
As you do in ubuntu..for example apt-get install g++.
As you know g++ is the gnu version of c++.
Installed Ubuntu on my SGA and everything was working as expected. Had to mount some partitions from the phone so i could use it (i.e. /proc). WiFi working, ssh, and i manage to compile aircrack-ng for the lulz... Stoped playing with this after finding i couldnt inject packets with aircrack-ng.
VNC should work also since its easy to run any X session. Phone lags alot doing anything else.
If u r beginner user, I'thing better you using go launcher, then install ubuntu theme..
Nice..
i have try it lately..
Please push Thanks button if my post help you.
arip30 said:
If u r beginner user, I'thing better you using go launcher, then install ubuntu theme..
Nice..
i have try it lately..
Please push Thanks button if my post help you.
Click to expand...
Click to collapse
lol'ed
this wasnt about theming or looks, its about actually using linux on android. theres no point if u just install launcher and use theme

[Library]Build.prop Tools

Build.prop Tools is a library that makes it easier for app developers to edit the build.prop file from their applications. I decided to make this library when I needed to edit build.prop from within an app I'm developing and I couldn't find a library to make this simple. So, after I had worked out how to do it and tested the code in my app, I made it into a library, because I think this will help quite a few developers.
Project on GitHub: https://github.com/Tezlastorme/build-prop-tools/
The download link is there on the project page, along with the source.
The methods are all documented, and there are a couple of wiki pages, an FAQ (it's not a very long FAQ :silly: ) and a tutorial.
Bug reporting
Do not report a crash unless you have read the FAQ, and when you do, post a logcat, preferably errors only.
I CAN NOT HELP YOU WITHOUT A LOGCAT.
I hope this helps people
Credits:
Me
@torpedo mohammadi
Working on the next update which will have some more useful methods
I haven't tested this new version, but I would appreciate it if people would test this and tell me whether these new methods work
https://docs.google.com/file/d/0B90a_sKAHkjVZ0FBMUdOMlVPems/edit?usp=sharing
Changelog:
added getPropArray() and getPropAsHash() methods
Really useful and simple library for tweaking phones.Will use it later on and report
I just wrote this in my program and it crashed..
Code:
String device = BuildProp.getProp("ro.product.model");
Not even started coding till now.. Logcat shows error in line 15 which contained the above code.. I am using 1.1 beta
prototype-U said:
I just wrote this in my program and it crashed..
Code:
String device = BuildProp.getProp("ro.product.model");
Not even started coding till now.. Logcat shows error in line 15 which contained the above code.. I am using 1.1 beta
Click to expand...
Click to collapse
1. Logcat please.
2. Is the device rooted?
3. If it was rooted, was it granted root access? And did you add the superuser permission to AndroidManifest.xml?
Tezlastorme said:
1. Logcat please.
2. Is the device rooted?
3. If it was rooted, was it granted root access? And did you add the superuser permission to AndroidManifest.xml?
Click to expand...
Click to collapse
Superuser permission? Never saw anything like that. Can you tell?
Sent from my HTC Desire X using xda app-developers app
prototype-U said:
Superuser permission? Never saw anything like that. Can you tell?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Request su permissions:
Code:
Process p = Runtime.getRuntime().exec("su");
xpirt
xpirt said:
Request su permissions:
Code:
Process p = Runtime.getRuntime().exec("su");
xpirt
Click to expand...
Click to collapse
thats for su access and that is not for androidmanifest.. its for your java class file
prototype-U said:
thats for su access and that is not for androidmanifest.. its for your java class file
Click to expand...
Click to collapse
.ACCESS_SUPERUSER?
xpirt
xpirt said:
.ACCESS_SUPERUSER?
xpirt
Click to expand...
Click to collapse
Yeah. You don't need to request su in your app btw. The library does that for you.
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
Tezlastorme said:
Yeah. You don't need to request su in your app btw. The library does that for you.
______________________________________
[APP][2.3+] SpecCheck - Compare Devices Side By Side
Click to expand...
Click to collapse
Will try it tomorrow and report
Sent from my HTC Desire X using xda app-developers app
prototype-U said:
Will try it tomorrow and report
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
How'd it go?
Hi.
I've got a question :
Is it possible to access Build.prop without accessing root using this library ?
For example ro.build.model or ...
Thank you.
torpedo mohammadi said:
Hi.
I've got a question :
Is it possible to access Build.prop without accessing root using this library ?
For example ro.build.model or ...
Thank you.
Click to expand...
Click to collapse
Currently, no. Before the release, in the prototypes you could, but it was really buggy and would do things like deleting build.prop or making it empty or unable to open. I have no idea why. I made it so it copies the file to sdcard then reads it and that works fine. Maybe I could see about doing that without root. I might experiment more some time but I've been busy with school and other things lately.
Sent from my Wildfire S A510e
App Crash when i want getprop :/
Valounours said:
App Crash when i want getprop :/
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Wildfire S A510e
How to obtain Root Access
prototype-U said:
Superuser permission? Never saw anything like that. Can you tell?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Using RootTools library (used also from the library) https://code.google.com/p/roottools/
The library require Root Access.
Necessary
Obtain Root Access
Code:
if (RootTools.isAccessGiven()) {// your app has been granted root access
}
Advised
Specify the app uses Root permissions, add this to AndroidManifest.xml
Code:
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
Thank you for this new project, I am on it.
Tomorrow I will start working on this again
Sent from my Wildfire S A510e

[CROSSPLATFORM][Decompile/Compile] Quick Mod Tool CrossPlatform [decompile and compile with speed]

[CROSSPLATFORM][Decompile/Compile] Quick Mod Tool CrossPlatform [decompile and compile with speed]
Java Cross-Platform QuickMod tool
Click to expand...
Click to collapse
The latest cross platform build was brought to you by @userdelroot, thank him for the GUI cross platform version, he deserves it!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
QUICK MOD TOOL
Sick of having to download multiple tools to get one job done? heres one that does JUST the basics​
Installs framework
Decompiles .apk files
Decompiles .jar files(classes.dex)
Compiles .apk files
Compiles .jar files(classes.dex)
Decompiles classes.dex file
Cecompiles classes.dex file
Signs .apk files
Clear working files
Integrated process log
Integrated verbose log​
Click to expand...
Click to collapse
DOWNLOADS
-Only 4MB
............
Mirror 1 | Mirror 2​
Click to expand...
Click to collapse
INSTALLATION
Extract.
Place the files you wanna mod in the folders.
Run the tool and select what you wanna do.​
Click to expand...
Click to collapse
CREDITS
userdelroot - this guy is the legend who made the linux version!
iBotPeaches
Brut.all​
XDA:DevDB Information
QuickModTool, Tool/Utility for the Android General
Contributors
ricky310711, userdelroot
Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2013-11-22
Created 2013-11-21
Last Updated 2014-05-11
@ricky310711 thanks alot for this tool!!
why the heck hasnt anyone being using the crap out of this thing??????....its awesome...allow me to explain...i really like the ui of the focal camera but hate not being able to turn the sound off...so i used this...decompiled it....replaced the sounds with blank /silent mp3s and recompiled it and signed it...and it worked...only issue is that the video camera forced closed when trying to switch back...im going to do a logcat nad post the apk here so if anyone can help it would be greatly appreciated....
heres the apk... ill submit the logcat as soon as i can
https://drive.google.com/file/d/0B06L494jdQAlVzZubWdWS2FVVFU/edit?usp=sharing Focal Cam w/o Sound
Just one word.....AWESOME!!!!!GREAT WORK.:thumbup::thumbup::beer::beer:
MANY GREEEETZ!!!
cezeff said:
why the heck hasnt anyone being using the crap out of this thing??????....its awesome...allow me to explain...i really like the ui of the focal camera but hate not being able to turn the sound off...so i used this...decompiled it....replaced the sounds with blank /silent mp3s and recompiled it and signed it...and it worked...only issue is that the video camera forced closed when trying to switch back...im going to do a logcat nad post the apk here so if anyone can help it would be greatly appreciated....
heres the apk... ill submit the logcat as soon as i can
https://drive.google.com/file/d/0B06L494jdQAlVzZubWdWS2FVVFU/edit?usp=sharing Focal Cam w/o Sound
Click to expand...
Click to collapse
-CALIBAN666- said:
Just one word.....AWESOME!!!!!GREAT WORK.:thumbup::thumbup::beer::beer:
MANY GREEEETZ!!!
Click to expand...
Click to collapse
you both like it? i made an update that has a little more option like decompiling classes.dex for me and @SkywalkerZ but didnt release seeing as everyone seems to like other tools like apk manager etc, should i release the update?
Thanks
ricky310711 said:
you both like it? i made an update that has a little more option like decompiling classes.dex for me and @SkywalkerZ but didnt release seeing as everyone seems to like other tools like apk manager etc, should i release the update?
Click to expand...
Click to collapse
Hi,
I made this with your tool, thank you, and please, update
I just needed tu run the bat file as administrator tu fully working.
Le [email protected] said:
Hi,
I made this with your tool, thank you, and please, update
I just needed tu run the bat file as administrator tu fully working.
Click to expand...
Click to collapse
looks good! confirmed working on the SGS3 i9300 SmartDroid rom by me and SkywalkerZ!
i will update it in 5 minutes, and i will add request for admin when opening it!
Updated to 2.0
bug
Thank you for the update.
There is a problem of distorted display.
Just add this line that comes from the previous version:
mode con: cols = 124 lines = 35
at the beginning of file tool.bat
Not tested the new faetures yet.
Thanks again.
Le [email protected] said:
Thank you for the update.
There is a problem of distorted display.
Just add this line that comes from the previous version:
mode con: cols = 124 lines = 35
at the beginning of file tool.bat
Not tested the new faetures yet.
Thanks again.
Click to expand...
Click to collapse
Really? In V2 I didnt set the mode because I had problems when facing errors while doing task, I couldnt see far back!
ricky310711 said:
Really? In V2 I didnt set the mode because I had problems when facing errors while doing task, I couldnt see far back!
Click to expand...
Click to collapse
Please Make A Tool To Decompile Huawei Apks. I Cannot Decompile Huawei System Apks With Anytool In This Forum
Files Are Here If You Want To Check : Download
Thanks A Lot
husen4u said:
Please Make A Tool To Decompile Huawei Apks. I Cannot Decompile Huawei System Apks With Anytool In This Forum
Files Are Here If You Want To Check : Download
Thanks A Lot
Click to expand...
Click to collapse
did you install the framework?
ricky310711 said:
did you install the framework?
Click to expand...
Click to collapse
Yes i Did. Thanks For Reply
husen4u said:
Yes i Did. Thanks For Reply
Click to expand...
Click to collapse
You will have to take it up with @iBotPeaches as thats the developer of apktool...
ricky310711 said:
you both like it? i made an update that has a little more option like decompiling classes.dex for me and @SkywalkerZ but didnt release seeing as everyone seems to like other tools like apk manager etc, should i release the update?
Click to expand...
Click to collapse
yeah i would recommend whatever updates that you could push out...that would be great...its already an awesome tool
cezeff said:
yeah i would recommend whatever updates that you could push out...that would be great...its already an awesome tool
Click to expand...
Click to collapse
really it was just a little project i went through with for myself, to do the basics.. glad everyone likes it!
thanx for update,worx great. :good:
a new tooll in market...
but i think it have smaili error when i editing, it generates weird error i cant read it... annoyed but great tool..
I'll probably have to wait for a Linux version, but good job :good:
Wow, this is featured on the XDA Portal. Nice job. I will start using this, seems less uglier than most. I like it !!
Sent from my Nexus F...Fi...Fii...Ahem...*clears throat*... Five.

[TOOLKIT] [Carnt] [WINDOWS] [Apk Editor Thingy 2.2.4]

Back in June of 2010 Daneshm90 gave us the Apk Manager. Since then various versions based on this have come up here and there. Most common was the Apk-Mulitool which many are familiar with. Well since Neither of these have been updated in quite some time, along with me getting tired of cluttering my C drive with apks and decompiled apks, I decided I need to do something about this.
So I present to you the Apk Editor which is based on the original Apk manager - original thread here and also Ptmr3's Deviant Manager - original thread here
For now this is based on the apktool 2.2.4 but will be updated when needed.
So it's pretty easy to use and has been modified to work on any version of android including Marshmallow! You do not have to run this or install in C drive! You can use it on your desktop or even and external hard drive, or have multiple of them running and open at once if you wish. The only requirement is to have java 1.7 (other versions will likely error out!!!)
1.8 seems to cause errors so if that's what you're on, just do a quick downgrade. Often it's as simple as uninstalling the 1.8 update in control panel. I wrote this part again because many people don't read it the first time so by repeating it my hope is the ability to read will commence!
Features
Code:
[LIST]
[*]decompile apks
[*]re-compile apks
[*]sign apks
[STRIKE][*]zipalign apks[/STRIKE]
[STRIKE][*]adb push apks[/STRIKE]
[STRIKE][*]batch optimize[/STRIKE]
[*]more!!!
[/LIST]
Instructions:
Extract zip anywhere you wish!
inside the place-aoj-here-for-modding folder as well as the projects folder is a Delete_ME.txt file. Delete that from each folder!
next you need to install the framework from your device (note some devices may have more than one framework.apk that needs to be installed) so copy your framework(s) apk(s) to your desktop (important!) then navigate to the z-install frameworks folder. Simply drag and drop your framework(s) apk(s) onto the file "apktoo-if.cmd". A small window will open and tell you it was successful. If it just quickly opens and closes immediately that is because you didn't copy your framework apks onto your desktop like I just told you that you needed to do!
Now you're all set. Simply place your apks in the "place-apk-here-for-modding" folder and run the ApkEditor.bat file and follow the prompts.
Tips: If you get an error, choose option 5 to run the log and a red command window will open. You don't need to use that to find your error. I have it automatically outputting to the "log.txt" file in the root of the tool.
Also every now and then it is recommended to open the log.txt and delete everything in it and then save. This will actually speed up the rate at which the log generates. If you don't and decided to let it accumulate, it won't hurt anything but you will notice that when you run the log that the red cmd window seems to run for a very long time. Just make sure the main ApkEditor.bat file is closed when you do this or it won't allow you to save.
I do not want to see posts with people posting huge error logs. If you need to post your log I ask that you use the hide tags.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
Daneshm90 - Original APK Manager
Brut.all - Original Apktool
iBotPeaches - Apktool
JesusFreke - Smali/Baksmali
Ptmr3 - Deviant Manager
mike the inkman - helping me fix new errors in the script and mek top well!
Please note that since this is the initial release there may be some bugs or some things not working as they should. I nor my testers did not find any. However if you find any please be polite in telling me and give proper details.
Thank you
Now based on stable apktool v 2.1.1 and all anything not needed has been removed for simplicity and basic decompile and re-compile functions only.
Downloads:
Apk Editor Thingy 2.4.1
Older releases:
Version 2.2.0
Version 2.1.1
Version 2.0.2
Version 2.0.1
Version 2.0
Version 1.0
mine!!!
Ill give it a run
zelendel said:
Ill give it a run
Click to expand...
Click to collapse
Right on! Hope you find it useful and saves a few steps!
Not that I need it right now but sounds like something you might 'need' sometime. Thx!
Gesendet von meinem A0001 mit Tapatalk
@markbencze sick, bro!
@markbencze is taking over xda haha
Benczebro, you are awesome.. Thank you for this..
You got something on every burner of the stove, man. Good work.
this comes in handy, nice work
I'm working on an update guys to latest apktool 2.0.0rc4 and may push it out tonight. I will be stripping this tool of may unneeded options too. Likely will just have decompile, compile, sign and possibly zipalign. Zipalign really isn't needed so we'll see.
markbencze said:
I'm working on an update guys to latest apktool 2.0.0rc4 and may push it out tonight. I will be stripping this tool of may unneeded options too. Likely will just have decompile, compile, sign and possibly zipalign. Zipalign really isn't needed so we'll see.
Click to expand...
Click to collapse
I'd prefer to see zipalign stay.
When I'm compiling a theme apk with my version of apkmanager, I usually compile it, select 'n' for not a system apk, sign it and then zipalign it.
Sent via Bacon...
Spannaa said:
I'd prefer to see zipalign stay.
When I'm compiling a theme apk with my version of apkmanager, I usually compile it, select 'n' for not a system apk, sign it and then zipalign it.
Sent via Bacon...
Click to expand...
Click to collapse
I understand what you're saying. I'm still on the fence though only because for example: you are making a theme or app for play store and you want to sign and zipalign it and do so. Your apk will be rejected by google. You will be asked to use something else ie: vts, eclipse or as.
So it seems a bit redundant to keep it. That being said I may keep it still for people to at least have the option. But my goal is to keep this basic and very simple.
markbencze said:
I understand what you're saying. I'm still on the fence though only because for example: you are making a theme or app for play store and you want to sign and zipalign it and do so. Your apk will be rejected by google. You will be asked to use something else ie: vts, eclipse or as.
So it seems a bit redundant to keep it. That being said I may keep it still for people to at least have the option. But my goal is to keep this basic and very simple.
Click to expand...
Click to collapse
I know you want to keep it simple but i dont mind the options As I use them more then most I would say. IT has worked so far for me without issue. Very straight forward and simple really.
I think we tend to dunb things down a bit to much as of late.
zelendel said:
I know you want to keep it simple but i dont mind the options As I use them more then most I would say. IT has worked so far for me without issue. Very straight forward and simple really.
I think we tend to dunb things down a bit to much as of late.
Click to expand...
Click to collapse
Good point. Perhaps I'll make 2 versions. One for basic stuff and new to modding users and one one full one. Just so my inbox can avoid too many "how does this work" posts.
I'll link my git as well so you guys can just clone it to stay up to date too
markbencze said:
Good point. Perhaps I'll make 2 versions. One for basic stuff and new to modding users and one one full one. Just so my inbox can avoid too many "how does this work" posts.
I'll link my git as well so you guys can just clone it to stay up to date too
Click to expand...
Click to collapse
I'll be honest. If you are getting pm like that then they need to do some more reading. Your directions are pretty straight forward.
is it really an editor if you cant "re" compile?
Calaisz17 said:
is it really an editor if you cant "re" compile?
Click to expand...
Click to collapse
And why can't you?
so you can?
Code:
decompile apks
compile (not recompile!!!) apks
sign apks
im just going by its stated description so it does decompile and recompile apks?
Calaisz17 said:
so you can?
Code:
decompile apks
compile (not recompile!!!) apks
sign apks
im just going by its stated description so it does decompile and recompile apks?
Click to expand...
Click to collapse
Compile and recompile are pretty much the same thing. Yes I use it all the time.

Categories

Resources