0% found this document useful (0 votes)
677 views

Decompiling and Compiling With APKTOOL

The document discusses using APKTOOL to decompile and recompile Android APK files. It explains that APKTOOL uses batch files to automate the decompiling and recompiling process. It also notes that the recompiled APK file produced by APKTOOL will typically be smaller in size than the original due to APKTOOL's compression of certain files and lack of signature information.

Uploaded by

Agung Pambudi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
677 views

Decompiling and Compiling With APKTOOL

The document discusses using APKTOOL to decompile and recompile Android APK files. It explains that APKTOOL uses batch files to automate the decompiling and recompiling process. It also notes that the recompiled APK file produced by APKTOOL will typically be smaller in size than the original due to APKTOOL's compression of certain files and lack of signature information.

Uploaded by

Agung Pambudi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Decompiling and Compiling With APKTOOL

I have androids sdk and JDK installed. So download and install them . Unzip the two apktool zips to c:\ or any drive you prefer, open folder and edit the *.bat files 1,2,3,4,7 (do not change 1,2,3 these load the resources for the files you work on in your working rom). Read them and learn what the commands or that apktool is using. The other *.bat files or just what was in my folders, I use these bat file to save lots of typing. You will see that I copied them to my phone and rebooted the phone and proved that it worked. This Framework.res.apk compressed to a smaller file but is still worked. MY TOOLS Folder download apktool_decompile_compile_kit.zip , capturefoxapktoolkit.zip, capturefoxZeroCompression.zip

apktool_decompile_compile_kit.zip capturefoxapktoolkit.zip
framework.res.apk

separate decompile and compile for ICS

video of decompile and compiling and signing

capturefoxZeroCompression.zip

how to zero compress files

APKTOOL FAQ
Resulting apk file is much smaller than original! Is there something missing?
First: compression of resources.arsc file. Sometimes this file is compressed in original apk, sometimes not and apktool always compress it. Second: lack of META-INF dir. Apktool builds unsigned apks, so they lack signatures stored in this dir. Third: apktool uses newest Android SDK, so it could optimize files better, especially if original app is old. So: unpack both original and resulting apk, remove META-INF from original and then compare sizes. BY carl1961

You might also like