Android One Expanding to Bangladesh, Nepal, and Sri Lanka

At Google I/O 2013, Google proudly announced that the Android operating system was … more

Android 5.0.2 Fixes 2012 Nexus 7! Sony’s Making a Google Glass Competitor? – XDA TV

Android 5.0.2 Lollipop is available for the … more

Early Lollipop Ports for Micromax A116 and A117

It feels like it was only yesterday when Google announced the mysterious Android L.After … more

Now Gesture Tweaks Replaces Google Now with Custom Action

On most modern Android devices with software navigation keys, swiping up from the … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE] APKTool for Newbie & Noobs

OP F4uzan

1st May 2014, 05:20 AM   |  #1  
F4uzan's Avatar
OP Recognized Contributor
Flag Bandung, Indonesia
Thanks Meter: 1,492
 
2,673 posts
Join Date:Joined: Jul 2012
More
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 6 Users Say Thank You to F4uzan For This Useful Post: [ View ]
1st May 2014, 05:21 AM   |  #2  
F4uzan's Avatar
OP Recognized Contributor
Flag Bandung, Indonesia
Thanks Meter: 1,492
 
2,673 posts
Join Date:Joined: Jul 2012
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, 43 views)
File Type: zip testkey.zip - [Click for QR Code] (2.3 KB, 40 views)
Last edited by F4uzan; 5th May 2014 at 03:22 PM.
4th May 2014, 11:49 AM   |  #3  
george brown's Avatar
Senior Member
Thanks Meter: 26
 
178 posts
Join Date:Joined: Sep 2011
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
Last edited by george brown; 4th May 2014 at 11:52 AM.
The Following User Says Thank You to george brown For This Useful Post: [ View ]
5th May 2014, 01:39 PM   |  #4  
skyinfo's Avatar
Recognized Contributor
Flag Kottayam
Thanks Meter: 774
 
538 posts
Join Date:Joined: Sep 2013
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 skyinfo For This Useful Post: [ View ]
5th May 2014, 03:23 PM   |  #5  
F4uzan's Avatar
OP Recognized Contributor
Flag Bandung, Indonesia
Thanks Meter: 1,492
 
2,673 posts
Join Date:Joined: Jul 2012
More
Added SignAPK guide on the second post.

Thanks for reading the tutorial.
26th October 2014, 11:36 PM   |  #6  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Jun 2014
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, 0 views)
30th October 2014, 12:39 AM   |  #7  
PiggyFlooper's Avatar
Senior Member
Thanks Meter: 69
 
310 posts
Join Date:Joined: Oct 2013
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, 01:06 AM   |  #8  
-CALIBAN666-'s Avatar
Recognized Contributor
Flag Leverkusen
Thanks Meter: 3,660
 
5,850 posts
Join Date:Joined: Feb 2012
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, 11:39 PM   |  #9  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Jun 2014
Posted here 1st

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes