FORUMS
Remove All Ads from XDA

[GUIDE] APKTool for Newbie & Noobs

3,511 posts
Thanks Meter: 3,067
 
By F4uzan, Recognized Contributor on 1st May 2014, 04:20 AM
Post Reply Email Thread
Hi guys !

Bored to the death today, really. So I decided to make another guide.

So, here's APKTool Guide & SignAPK Guide for Newbies !


1. Download APKTool, you can download it here.
Also, download APKTool depencies for your OS :

Windows
Mac OSX
Linux

2. Extract files you've download to the same folder.

For Linux, extract it to /usr/local/bin. Correct the permission by adding executable permission.

3. Now, open CMD (Command Prompt). Press Windows Key + R, type cmd.exe

For Linux, just open Terminal Emulator -.-

4. Change directory to where APKTool is placed. Type these :

Code:
cd apktool directory

for example : cd C:\apktool
For Linux, just type apktool

5. Now you can freely decompile APKs, BUT ! for System APK (like SystemUI), you have to install the framework.
Extract the framework-res.apk from your ROM, and type these :

Code:
apktool.exe if framework-res.apk
for Linux :

Code:
apktool if framework-res.apk
6. Now, enjoy decompiling APK. If you're done with modifying APK, type these :

Code:
apktool b apk name

for example :

apktool b SystemUI
Happy Modding !
The Following 7 Users Say Thank You to F4uzan For This Useful Post: [ View ] Gift F4uzan Ad-Free
 
 
1st May 2014, 04:21 AM |#2  
F4uzan's Avatar
OP Recognized Contributor
Thanks Meter: 3,067
 
More
SignAPK Guide for Newbies

1. Download signapk.jar and testkey.zip, you need Java for your OS if you don't have it yet.

2. Place signapk.jar in the same folder as APKTool, so you can instantly sign modded APK after modding it. Also extract testkey.zip in the same folder.

3. Type these :

Code:
java -jar signapk.jar testkey.x509.pem testkey.pk8 original_apkname.apk signed_apkname.apk
4. Congrats ! You can now install the APK normally or via adb.
Attached Files
File Type: jar signapk.jar - [Click for QR Code] (8.9 KB, 215 views)
File Type: zip testkey.zip - [Click for QR Code] (2.3 KB, 178 views)
The Following User Says Thank You to F4uzan For This Useful Post: [ View ] Gift F4uzan Ad-Free
4th May 2014, 10:49 AM |#3  
george brown's Avatar
Senior Member
Thanks Meter: 36
 
More
Ooh, I think I've seen a lot of your moddings out there (if I'm not wrong). :thumbup::thumbup::thumbup:

Sent from my LG-P705 using Tapatalk
The Following User Says Thank You to george brown For This Useful Post: [ View ] Gift george brown Ad-Free
5th May 2014, 12:39 PM |#4  
su_haris's Avatar
Senior Member
Flag Kottayam
Thanks Meter: 1,455
 
More
Thanks! It's really friendly! Will give it a shot when you post the signing guide!!
Keep up the good work!!!

Sent from my LG-E610 using Tapatalk
The Following User Says Thank You to su_haris For This Useful Post: [ View ] Gift su_haris Ad-Free
5th May 2014, 02:23 PM |#5  
F4uzan's Avatar
OP Recognized Contributor
Thanks Meter: 3,067
 
More
Added SignAPK guide on the second post.

Thanks for reading the tutorial.
26th October 2014, 10:36 PM |#6  
Junior Member
Thanks Meter: 0
 
More
Services.jar for Mtk Tecno S5
Please patch it for me and mail it at kelvinedimeh@gmail.com
Attached Files
File Type: jar services.jar - [Click for QR Code] (313 Bytes, 6 views)
29th October 2014, 11:39 PM |#7  
PiggyFlooper's Avatar
Senior Member
Thanks Meter: 249
 
More
Quote:
Originally Posted by Sparda15

Please patch it for me and mail it at kelvinedimeh@gmail.com

Ha

Sent from above using xparent tapatalk blue
30th October 2014, 12:06 AM |#8  
-CALIBAN666-'s Avatar
Recognized Contributor
Flag Leverkusen-Wiesdorf
Thanks Meter: 4,209
 
Donate to Me
More
Quote:
Originally Posted by Sparda15

Please patch it for me and mail it at kelvinedimeh@gmail.com

its not possible,because youre odexed,we need the device connected via adb to patch it,ive say it to you in my thread,why u dont believe me bro?
30th October 2014, 10:39 PM |#9  
Junior Member
Thanks Meter: 0
 
More
Posted here 1st
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes