Skip to content

Instantly share code, notes, and snippets.

@arn-ob
Last active August 29, 2015 14:15
Show Gist options
  • Save arn-ob/8dabf24308791da7d7f7 to your computer and use it in GitHub Desktop.
Save arn-ob/8dabf24308791da7d7f7 to your computer and use it in GitHub Desktop.
Apk decoding program :D
@echo off
color 2
rename *.apk decodeapk.apk
rem copy apk file to the file folder
xcopy decodeapk.apk files
rem enter to the file
cd files
rem rename the the file name .apk to .zip
rename decodeapk.apk decodeapk.zip
rem extrat the file
7z.exe x decodeapk.zip -o%temp%\unzip *.* -r
rem take the file to temp then again return file to call
xcopy %temp%\unzip\classes.dex dex2jar
cd dex2jar
call d2j-dex2jar classes.dex
xcopy classes-dex2jar.jar %temp%\
cd..
cd..
mkdir yourApk
xcopy %temp%\classes-dex2jar.jar yourApk
cd files
cls
echo " This program ask for a enter ... "
echo " When you give enter a program will started "
echo " When you close the jd-gui program then the batch program will continue "
rem 1st break :D
pause
rem run the class breaker program
jd-gui.exe
cls
pause
cls
echo " I hope you will get all the apk's class file "
echo " Now can i start decode the xml code for you .... he he ## "
pause
rename decodeapk.zip decodeapk.apk
xcopy decodeapk.apk xml
cd xml
rem now start breaking the xml files
call apktool if framework-res.apk
apktool d decodeapk.apk
cls
echo " all done :D "
rem " Coded by Me :D "
rem " Arnob Almazee "
rem " Information & Communication Engineer "
rem " East West University "
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment