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 lot’s 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 separate decompile and compile for ICS capturefoxapktoolkit.zip video of decompile and compiling and signing framework.res.apk 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

Decompiling and Compiling With APKTOOL

Embed Size (px)

DESCRIPTION

Android Tutorial: Easy Decompiling and Compiling APK file With APKTOOL

Citation preview

Page 1: Decompiling and Compiling With APKTOOL

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 lot’s 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 separate decompile and compile for ICS

capturefoxapktoolkit.zip video of decompile and compiling and signing framework.res.apk

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