Ubuntu(Linux)反编译apk(apktool)

上传者: zhouyuanjing | 上传时间: 2022-06-14 11:23:19 | 文件大小: 5.58MB | 文件类型: ZIP
1 . 把apk拷到apktool根目录下,执行:./apktool d xxx.apk,会生成xxx目录,里面有res目录(各种资源文件),smali目录(类似src目录,里面文件的语法不一样)及AndroidManifest.xml。 [*.apk->*.jar: sh ./dex2jar/dex2jar.sh xxx.apk,生成xxx_dex2jar.jar通过jd-linux看源码] 2 . 什么apk汉化啊,就到res/values里string.xml里修改字符串,或者拷贝一份values目录改为values-zh-rCN,再去里面修改string.xml里英文字符串改为中文,所谓的汉化就是这么简单。另外,有些图片里不是中文的得去改图片,那得用Photoshop了,图片也不能乱改,格式,图片大小(尺寸)得原来的。 3 . 修改smali文件,这个有些难度。比如有些apk安装了后要积分什么的,比如大于100才可以用的,其实这个值是用SharedPreference存放的,也就是存在xml里,,位置:/data/data/[包名]/shared_prefs的某个xml里,文件不多肯定是可以找到的。另外一种方法就是修改.smali文件也可以达到这目的,软件实现肯定是读取积分那个值给它修改一下就可以了,例如 const/16 v0 100 (其实就是 v0 = 100)这个语法有点像汇编,觉得还是比汇编简单,v0 v1 ...是寄存器,之前会跟变量关联的。具体的还是自己看看smali语法。 4 . 打包生成apk,执行:./apktool b xxx,会在xxx里面生成,一个dist目录,里面就是xxx.apk,但不能安装滴,提示(Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]),没有给这个apk签名, 5 . 签名,执行:sh ./dex2jar/d2j-apk-sign.sh ./xxx/dist/xxx.apk 就是给刚才那个apk签名,生成的文件还是xxx.apk在apktool根目录下。这样就大功告成啦。 [请看:http://blog.csdn.net/zhouyuanjing/article/details/7446988]

文件下载

资源详情

[{"title":"( 34 个子文件 5.58MB ) Ubuntu(Linux)反编译apk(apktool)","children":[{"title":"apktool-install-linux","children":[{"title":"apktool.jar <span style='color:#111;'> 2.95MB </span>","children":null,"spread":false},{"title":"aapt <span style='color:#111;'> 3.57MB </span>","children":null,"spread":false},{"title":"apktool <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"apk反编译说明 <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"dex2jar","children":[{"title":"NOTICE.txt <span style='color:#111;'> 190B </span>","children":null,"spread":false},{"title":"dex-dump.sh <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"d2j-dex2jar.sh <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"d2j-dex-dump.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"d2j-dex-asmifier.sh <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"d2j-apk-sign.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"d2j-jasmin2jar.sh <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"d2j-init-deobf.sh <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"d2j-asm-verify.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"dex2jar.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"d2j-jar2dex.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"setclasspath.bat <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"d2j-jar2jasmin.sh <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"commons-lite-1.9.jar <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":"p-rename-1.0.jar <span style='color:#111;'> 39.71KB </span>","children":null,"spread":false},{"title":"asm-LICENSE.txt <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"jasmin-p2.5.jar <span style='color:#111;'> 132.69KB </span>","children":null,"spread":false},{"title":"dex-translator-0.0.9.8.jar <span style='color:#111;'> 69.52KB </span>","children":null,"spread":false},{"title":"dex-tools-0.0.0.4.jar <span style='color:#111;'> 56.95KB </span>","children":null,"spread":false},{"title":"dx.jar <span style='color:#111;'> 966.54KB </span>","children":null,"spread":false},{"title":"asm-all-3.3.1.jar <span style='color:#111;'> 202.16KB </span>","children":null,"spread":false},{"title":"license-jasmin.txt <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"commons-io-NOTICE.txt <span style='color:#111;'> 178B </span>","children":null,"spread":false},{"title":"commons-cli-1.2.jar <span style='color:#111;'> 40.16KB </span>","children":null,"spread":false},{"title":"dex-ir-1.6.jar <span style='color:#111;'> 109.77KB </span>","children":null,"spread":false},{"title":"dex-reader-1.9.jar <span style='color:#111;'> 107.18KB </span>","children":null,"spread":false},{"title":"commons-io-LICENSE.txt <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false},{"title":"dx-NOTICE <span style='color:#111;'> 10.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"d2j-jar-remap.sh <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 11.29KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明