Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,166 Members 45,751 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE4EVERYONE] Auto APK tool

Tip us?
 
Crytech
Old
#1  
Crytech's Avatar
Recognized Themer - OP
Thanks Meter 6,753
Posts: 2,253
Join Date: May 2012
Location: As you can see now...
Default [GUIDE4EVERYONE] Auto APK tool

Hi guys,
I see there is no noob-friendly tut for APK tool in our forum..So people like me get bored to read the commands...Here is one to make you familiar with a new tool AUTO APK TOOL (Its old but I don't see anyone using it)....

Its automated version of APK tool which makes your work very easy and No knowlege of Codes to decompile and cmd Commands are necessary.......




Well So here We start....

Code:
Pre-Requirements:

A PC :p
Auto ApkTool
Java JDK/JRE 32 bit

So here we get started...Get Auto apk tool from the link posted above by me...

Extract the package and copy it to Root of C drive like THIS:



Then copy your APK files to Auto apk tool>>Input_APK....




Now in the Auto apk tool folder open the Autoapktoolmain batch file...You don't need to open cmd and give commands...





There just take a look that all the options are automated for you right from ADB/Decompile-Recompile to FW dependencies....
Now press 6 i.e. option to Decompile...



You don't need to give commands Just drag the apk from Input_apk folder to cmd...No commands here too ...

Now you can see The decompiled apk in input_apk folder...MOD it as you want....





After Done Just open cmd again...Press 7 to recompile...The recompiled APK is generated in decompiled folder inside a new folder called dist...





Now you can see your app...If its system app don't sign it otherwise let the RE-compiled app remain as it is and Select "Sign APK or ZIP' in cmd...The signed apk is generated in the same dist folder...






I hope its really easy for anyone ....Any problems let me know...


CREDITS:
XDA
Maker of Auto APK tool
Me
Check out my Zooper skins pack Kreativ on Google play with over 30k downloads, and counting...

My devices:
LG Google Nexus 5: Mahdi ROM [14/09] build with Code Blue r376
Sony Xperia L: Stock rooted, just a placebo phone

FOLLOW ME ON
| MYCOLORSCREEN | GOOGLE+ | FACEBOOK |
The Following 11 Users Say Thank You to Crytech For This Useful Post: [ Click to Expand ]
 
Raj joshi
Old
#2  
Raj joshi's Avatar
Senior Member
Thanks Meter 313
Posts: 733
Join Date: Jul 2012
Location: Mumbai
Really nice work sir.. glad to see you sharing your expirence..


Press thanks if i helped you

PREVIOUS DEVICES:

SAMSUNG GALAXY FIT(SOLD)
NOKIA N70(SOLD)
NOKIA XPRESS MUSIC 5310(IN USE)
SAMSUNG GALAXY NOTE 2(IN USE)

CURRENT DEVICE: SONY XPERIA L
ROM: OFFICIAL STOCK
KERNEL: 3.4.0
RECOVERY: CWM


My works:-

STOCK ROOTED ROMS (DEODEXED/ODEXED) FOR GALAXY FIT

EVILUTION ROM for GALAXY FIT..
The Following 2 Users Say Thank You to Raj joshi For This Useful Post: [ Click to Expand ]
 
vampent0026
Old
#3  
vampent0026's Avatar
Senior Member
Thanks Meter 168
Posts: 198
Join Date: Jan 2013
Location: DasmariNas
Great guide Sir,but i've got a problem re-compiling the APK's,i already installed java and i"m running on windows 7 32bit..
Here's My Log:


[*] C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement...
Exception in thread "main" brut.androlib.AndrolibException:

brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput

(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 138)
... 4 more
The system cannot find the drive specified.

i wonder what might be the problem..waiting for your reply sir..Thanks in advance!
Main Device: Xperia SP (C5303) [black]
Status: Locked Bootloader, CWM & Rooted via TowelRoot on .205 firmware Directly!
Rom: Personal and still under progress!


Other Device: WT19i
Status:Unlocked Bootloader
Rom: LXperia ZSeries™ ROM Now Released!
Base on: CM11-03192014 build by mikeioannina


note: I am only online during weekends,because of my work and studies.


My Work:LXperia ZSeries™ [Coconut/Satsuma/Smultron/Mango] ROM
 
Crytech
Old
#4  
Crytech's Avatar
Recognized Themer - OP
Thanks Meter 6,753
Posts: 2,253
Join Date: May 2012
Location: As you can see now...
Quote:
Originally Posted by vampent0026 View Post
Great guide Sir,but i've got a problem re-compiling the APK's,i already installed java and i"m running on windows 7 32bit..
Here's My Log:


[*] C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\SoundEnhancement...
Exception in thread "main" brut.androlib.AndrolibException:

brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput

(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 138)
... 4 more
The system cannot find the drive specified.

i wonder what might be the problem..waiting for your reply sir..Thanks in advance!

afaik apktool.yml file in decompiled folder is missing...Cause its written reason in log as u can see in this line :

Code:
Caused by: brut.directory.PathNotExist: apktool.yml
Check out my Zooper skins pack Kreativ on Google play with over 30k downloads, and counting...

My devices:
LG Google Nexus 5: Mahdi ROM [14/09] build with Code Blue r376
Sony Xperia L: Stock rooted, just a placebo phone

FOLLOW ME ON
| MYCOLORSCREEN | GOOGLE+ | FACEBOOK |
The Following 2 Users Say Thank You to Crytech For This Useful Post: [ Click to Expand ]
 
vampent0026
Old
#5  
vampent0026's Avatar
Senior Member
Thanks Meter 168
Posts: 198
Join Date: Jan 2013
Location: DasmariNas
Quote:
Originally Posted by Crytech007 View Post
afaik apktool.yml file in decompiled folder is missing...Cause its written reason in log as u can see in this line :

Code:
Caused by: brut.directory.PathNotExist: apktool.yml
So,what can you suggest to do?
Main Device: Xperia SP (C5303) [black]
Status: Locked Bootloader, CWM & Rooted via TowelRoot on .205 firmware Directly!
Rom: Personal and still under progress!


Other Device: WT19i
Status:Unlocked Bootloader
Rom: LXperia ZSeries™ ROM Now Released!
Base on: CM11-03192014 build by mikeioannina


note: I am only online during weekends,because of my work and studies.


My Work:LXperia ZSeries™ [Coconut/Satsuma/Smultron/Mango] ROM
 
skad00sh
Old
#6  
skad00sh's Avatar
Senior Member
Thanks Meter 624
Posts: 248
Join Date: Aug 2013
Location: Same as yours...
Quote:
Originally Posted by vampent0026 View Post
So,what can you suggest to do?
it seems you are trying to decompile system app file!
For that you will have to install framework-res.apk from your phone

Sent from my C2104 using Tapatalk
The Following User Says Thank You to skad00sh For This Useful Post: [ Click to Expand ]
 
anu.cool
Old
#7  
anu.cool's Avatar
Senior Member
Thanks Meter 936
Posts: 795
Join Date: Nov 2012
Location: Delhi
Quote:
Originally Posted by Crytech View Post

















]http://img600.imageshack.us/img600/7369/79244769.png[/IMG]



links nt working .. ;(
“In three words I can sum up everything I've learned about life: IT GOES ON.
― Robert Frost

Google play store blocked?Get ur apps here.!


I am a newbie, willing to learn, provided u r ready to help me do that

My Phone:
 

Samsung galaxy s4 i9500(rooted)
SlimKAT - 7.9 WEEKLY



 
Crytech
Old
#8  
Crytech's Avatar
Recognized Themer - OP
Thanks Meter 6,753
Posts: 2,253
Join Date: May 2012
Location: As you can see now...
Quote:
Originally Posted by anu.cool View Post
links nt working .. ;(
Ya images are broken will fix

Sent from my C2104 using Tapatalk
Check out my Zooper skins pack Kreativ on Google play with over 30k downloads, and counting...

My devices:
LG Google Nexus 5: Mahdi ROM [14/09] build with Code Blue r376
Sony Xperia L: Stock rooted, just a placebo phone

FOLLOW ME ON
| MYCOLORSCREEN | GOOGLE+ | FACEBOOK |
 
markb323
Old
#9  
markb323's Avatar
Junior Member
Thanks Meter 0
Posts: 20
Join Date: Dec 2012
Location: glasgow
hi when i enter the AUTOApkToolMain i get message saying jave not found i wil not be able to sign apks, but i installed java. on my computer i have in program files folder called java with "jdk-7u51-windows-i586" inside along with 2 folders "jdk1.7.0_51" and "jre7" does anyone know whats wrong,

i have-
win xp
service pack 3 build 2600
x86based pc
32bit
 
Dhanesh95
Old
#10  
Dhanesh95's Avatar
Senior Member
Thanks Meter 26
Posts: 110
Join Date: May 2013
Location: Pune
@Crytech - Im using Ubuntu 12.04.. Can you suggest a similar tool for linux??
Device :
Samsung Galaxy Fit GT-S5670


ROM :
XWKTI Stock ROM


Scripts :
Universal Odex Script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes