HowTo Decompile / Reverse Engineer Android APK

Reverse engineering is everywhere. Reverse engineering made it possible for GeoHot to hack the iPhone, PS3. Reverse engineering is what make...


Reverse engineering is everywhere. Reverse engineering made it possible for GeoHot to hack the iPhone, PS3. Reverse engineering is what make hackers develop exploits, viruses and trojans for systems. So what about decompiling existing apps.
Decompiling binaries for Java and other languages has been around for a long while. There are large number of tools that let you decompile app binaries back to the source code which in most cases is readable and understandable with some effort.
XdaDeveloper Brut.all has been working on a decompiler for Android apps for a while now. He had find the first workaround for enabling Google Maps Navigation outside US by actually decompiling Google maps for android. The tools is called APKTool and is obviously open source.
Method 2: Alternatively, you can use a tool called dex2jar ,which is made by a chinese student. It will translate dex to jar file. For the next step, you can use jd-gui, the source code is quite readable as dex2jar makes some optimizations.
Method 3: Another Option is to use Smali (http://code.google.com/p/smali/). It provides BAKSMALI which is a most excellent reverse-engineering tool for DEX files. The tool is made by JesusFreke, he�s famous for making popular ROMs for Android.
Method 4: Android comes with a dissambler called dexdump. The location of this tool is not intuitive, it runs on the Linux platform that hosts Android. Details here.
Lets talk about APKTool in detail since its more popular:
It is a tool for reengineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.
It is NOT intended for piracy and other non-legal uses. It could be used for localizing, adding some features or support for custom platforms and other GOOD purposes. Just try to be fair with authors of an app, that you use and probably like.
Features:
  • decoding resources to nearly original form (including resources.arsc, XMLs and 9.png files) and rebuilding them

  • smali debugging: SmaliDebugging

  • helping with some repetitive tasks

Pre-requisites:
  • JRE 1.5+

  • aapt command in PATH environment variable

  • Basics of Android SDK


How to Install APKTool 
Windows:
  1. Download apktool-install-windows-* file

  2. Download apktool-* file

  3. Unpack both to your Windows directory

Linux:
  1. Download apktool-install-linux-* file

  2. Download apktool-* file

  3. Unpack both to /usr/local/bin directory (you must have root permissions)

Mac OS X:
  1. Download apktool-install-macos-* file

  2. Download apktool-* file

  3. Unpack both to /usr/local/bin directory (you must have root permissions)

Installation of framework files
Usage:
  • Open terminal/command line and type �apktool <enter>�. Then you should see usage help.




By Kaila Piyush HackingArticles4all.blogspot.com

COMMENTS

Name

Admin,10,Aircel,2,Airtel,2,Android,10,Android free Application,16,Android Tiricks,12,Angry Birds,2,Apache,1,backtrack5,2,Blogger Tips,4,BSNL,2,cmd,10,Computer Tricks,84,Download,57,Earn More,1,Facebook Symbol,6,Facebook Tricks,12,Games,4,Gaming Tricks,4,Google,6,Google Gravity,1,Google Tricks,14,Google+ Tricks,8,Hackers Special,8,Hacking,69,Hacking Special,8,huawei,3,Idea,2,Increase Backlink,1,internet trick,62,iOS Tricks,1,iPhone Tricks,2,Java Script Trick,2,keygen,6,mobile browser,4,mobile tricks,34,MySQL,1,Notepad Tricks,6,Password Cracking,8,Phishing,2,PHP,1,proxy trick,1,Reliance,1,Samsung,1,Security Tips,9,Server,1,SMTP,1,sql injection,5,Tata Docomo,2,Technology,8,ucweb,4,Unlock Idea Netsetter,5,Unlock iphone,1,Unlock Vodafone all modem,3,Unlock Vodafone ZTE K3770-z,1,Vodafone,2,Web Designing,1,Windows Tricks,22,Wireless Hacking,9,wireless Modem Unlock,6,WordPress Themes,2,Youtube,1,
ltr
item
SMART SUPPORT ME: HowTo Decompile / Reverse Engineer Android APK
HowTo Decompile / Reverse Engineer Android APK
SMART SUPPORT ME
https://smartsupportme.blogspot.com/2011/08/howto-decompile-reverse-engineer.html
https://smartsupportme.blogspot.com/
http://smartsupportme.blogspot.com/
http://smartsupportme.blogspot.com/2011/08/howto-decompile-reverse-engineer.html
true
76892010980255686
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy