Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15318530
  • 博文数量: 2005
  • 博客积分: 11986
  • 博客等级: 上将
  • 技术积分: 22535
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-17 13:56
文章分类

全部博文(2005)

文章存档

2014年(2)

2013年(2)

2012年(16)

2011年(66)

2010年(368)

2009年(743)

2008年(491)

2007年(317)

分类: Java

2011-01-13 14:23:25




sudo tar jxvf apktool1.3.2.tar.bz2 -C /usr/local/bin/
sudo tar jxvf apktool-install-linux-2.2_r01-1.tar.bz2 -C /usr/local/bin/

 apktool1.3.2.tar.bz2.rar    apktool-install-linux-2.2_r01-1.tar.bz2.rar  

luther@gliethttp:~$ apktool d Music.apk music_ds
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: /home/luther/apktool/framework/1.apk
I: Copying assets and libs...

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:
  • helping with some repetitive tasks

TODO:

  • generator of patches for
  • any other things in issues section

Requirements:

  • JRE 1.6 (Java Runtime Environment)
  • aapt command in a PATH
  • basic knowledge of what is SDK, aapt, PATH, smali and Google search engine may be useful

Installation for noobs:

  • 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

  • See

Usage:

  • Open terminal/command line and type "apktool ". Then you should see usage help.
阅读(2996) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~