Decompile and Recompile Apk
Decompile and Recompile Apk
Decompile and Recompile Apk
I will try my best to a complete guide, And easy to understand.If you don't know
what is decompile/recompile,Search that on Google.com.
Requirement.
1. PC/laptop/netbook
2. JDK (Java Development Kit) download here
3. APK Multi Tool download here
4. Apk files that you want to decompile and recompile.
5.Software text editor (Notepad++ recommended) link to download Notepad++ : here
6.Enable usb debugging.
7.Flashable zip download here (Thanks To Cleverior)
8.Usb Cable
Go to settings, About Phone, Then tap on BUILD NUMBER 7 times, And it will say you have
enable developer options, Go to developer options and check USB DEBUGGING . done.
Scroll down until you see these ,check the Accept License Agreement .
After that , Download the Java for Windows depending on your system types. If you using Windows
32 Bit , You must download Windowsx86 , If you running Windows 64 bit. Download the
Windowsx64 files.
***NOTE***
If you don't know what Windows are u running, Check it by right click on My
Computer and select Properties . and the red one is what your system types is.
12. After complete, Close that.Now in APK MULTI-TOOL SETUP DEPEDENCY FILES menu
choose 4 to install SystemUI.apk .
13.A new window will pop up and type in "apktool if SystemUI.apk" without quotes (") and enter.
14.Still in APK MULTI-TOOL SETUP DEPEDENCY FILES menu , choose 7 to install mediatek-
res.apk.
15.The new window will pop up same like before, Now type in "apktool if mediatek-
res.apk" without (")
16. After complete, Close, And Close APK MULTI-TOOL SETUP DEPEDENCY FILES Menu.
****NOTE****
THIS STEP IS ONLY DONE ONCE, IF YOU WANT TO DECOMPILE ANOTHER APK, YOU
DON'T NEED TO DO THIS STEP ANYMORE,IF YOU ALREADY DO THIS , YOU CAN SKIP
THIS STEP.
2.Open Script.bat
.
3.Now you need to set your current project , Type 27 and enter.
4.Now choose your apk files that you put inside the folder place-apk-here-for-modding .
if you put just one apk. You can simply press 1 and enter
5. In this tutorial i will be use SystemUi.apk for example.
6.When your current project is set, You can simply press 9 and enter to decompile an
apk files.
7.After decompiling process is done, You will be inform by this word : ""SystemUI.apk
has finished decompiling. Would you like to open the projects\SystemUI.apk folder to begin
editing?(Y)es or (N)o? . Choose Yes and enter. like this picture.
8.Now you have succesfully decompile. You can see it on projects folder.
Now you can edit your SystemApk files until you feel satisfied :p. Minimize Setup.bat .
9.Once you have complete your editing work.Open Setup.bat again.
10.Now its time to recompile it. press 11 and enter .
11 . While recompile process, You will be noticed by this message
Aside from the signatures, would you like to copy over any additional files that
you didn't modify from the original apk in order to ensure least # of errors (y/n)
"In the APK Multi-Tools folder u'll find a keep folder. Within it, delete everything you have
modified and leave files that you haven't. If you have modified any xml, then delete
resources.arsc from that folder as well. Once done then press enter on this script."
STOP ! , Do not type anything, Simply go to your
Apktool folder, find the keep folder , Inside the keep
folder you need to delete what are you edit/make
changes. If you edit .xml files you need to delete
resource.arsc and the .xml files that you edit. If you
edit a smali files, You need to delete classes.dex and
the smali file that you edit.When you have succesfully
delete what are you edit in the keep folders, simply
press any key on the script
13.After recompile process is complete, Check on folder modified-system-apk-files-here will be
have a apk file that you just edit. Name System_apkname.apk , Now you need to remove
"System_" by rename it.
14.Now extract the flashable zip file and place Apk that you modified into the system
directory according to the original place.
15.Make a zip again and flash it via CWM/TWRP recovery. And you're done.
Congratulations ! You have succesfully decompile and recompile a system apk apps .
If you misunderstanding and get stucks on step above, Leave a comment below
and i will reply ASAP! , Also you can post on our Facebook Page.
CREDITS :
Share This:
Facebook
Twitter
Google+
Stumble
Digg
Related Posts:
[RECOVERY][TWRP][UPDATED] TWRP 3.0.0-0 For Samsung Galaxy V
SM-G313HZHelloo.. what's up guys... I'm so sorry. Long time no post.. hehe :D Today
i'm gonna share custom recovery (again) for Samsung Galaxy V SM Read More
10 comments:
1.
Reply
Replies
1.
2.
Reply
3.
Reply
4.
doesn't look like anyones looking at this thread anymore, but i got farther using this then
i had with others to mod systemuiapk but got this error Java(TM) SE Runtime
Environment (build 1.8.0_91-b14)
Java HotSpot(TM) Client VM (build 25.91-b14, mixed mode)
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
at
brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java
:540)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:76)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:68)
at brut.androlib.Androlib.getResTable(Androlib.java:51)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Reply
Replies
1.
I got this error with the version of apktool.jar that was included in the zip file at the top. I
downloaded the newest apktool.jar from here (https://ibotpeaches.github.io/Apktool/)
and copied it over the one in folder named "other" and I got past the error. Good luck!
Reply
5.
Reply
6.
Reply
7.
Thanks for sharingAndroid Multi Tool apk app for android Latest apk
Reply
8.
Reply
Search
Popular Posts
Hello Vivaltorians , I know you all maybe bored if I always post about SystemUI , In this
post I wanna give a simple tutorial on how to Disa...
Helloo.. what's up guys... I'm so sorry. Long time no post.. hehe :D Today i'm gonna
share custom recovery (again)...
Hello vivaltorians , Are you tired to root your Galaxy V using PC? , Or you don't have a
PC ? So this guide is correctly for you. Many p...
In this time i wanna share the latest version of TWRP recovery. That is TWRP 2.8.5.0.
FYI, this TWRP is for Samsung Galaxy V SM-G313HZ. ...
In this tutorial i will teach how to decompile/recompile apk using Apk Multi Tools. I will
try my best to a complete guide, And easy to unde...
Hello guys , Today I wanna give a tutorial on How To Swap Your RAM using Zram
Script/Compcache on your Galaxy V. Maybe you guys getting bore...
Hello bro's and sistah , Wanted to have a Samsung Galaxy S6 SystemUI on your
Galaxy V? So today I wanna share that UI and make your drea...
Before we begin we need to you to show your support of their hardworking to make
this ROM, Please Press the THANKS button on this XDA Thre...
In this thread, i would like to share tutorial about How to install CWM Recovery and
rooting Samsung Galaxy V SM-G313HZ . Require...
Blog Archive
2017 (1)
2016 (10)
2015 (77)
o November (3)
o September (3)
o August (6)
o July (16)
o June (13)
o May (6)
o April (9)
o March (21)
[SYSTEMUI MOD] Facebook UI v2
[TUTORIAL] [APP] How To Enable Init.d on Stock ROM...
[SYSTEMUI MOD] Facebook UI V1
[KERNEL]How To Install Custom Kernel On Vivalto
About Author.
[GUIDE] How To Enable Hidden Quick Settings Tiles....
[ROM][DEV] Cyanogenmod 11 For Galaxy V
[HOW TO] DIsable Signature Check on Galaxy V
[UPDATE] Nemoid ROM v1.3
[TUTORIAL]How to mount your game data to your Ext ...
[COMPLETE GUIDE] How To Decompile/Recompile Apk us...
[GUIDE] How to Reverse Tethering On Galaxy V
[GUIDE] Enable micro SD Card writing on Galaxy V
[UPDATE] Nemoid ROM v1.2
[UPDATE] Nemoid ROM v1.1
[ROM] Nemoid ROM v1 for Galaxy V SM-G313HZ
[RECOVERY] TWRP Recovery 2.8.5.0 for Samsung Galax...
[GUIDE] How to root and install CWM for Galaxy V S...
Tutorial : How to Install Stock Firmware/Fix Bootl...
OFFICIAL LINKS FOR GALAXY V
Introducing of Samsung Galaxy V
Translate
Powered by Translate
About Me
Hyekal HiTech
View my complete profile