它甚至有可能修改的apk,通过添加额外的类.dex并重新包装改良的manifest.xml? [英] is it even possible to modify .apk, by adding additional class to .dex and re-packing with modified manifest.xml?

查看:244
本文介绍了它甚至有可能修改的apk,通过添加额外的类.dex并重新包装改良的manifest.xml?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是它甚至有可能修改的apk,通过添加额外的类.dex并重新包装改良的manifest.xml?

is it even possible to modify .apk, by adding additional class to .dex and re-packing with modified manifest.xml??

我知道有诸如baksmali / smali工具拆卸/重新组装给出的.apk文件classes.dex,但不知道什么限制,可以从那里进行修改?

I know there are tools such as baksmali / smali to disassemble / re-assemble given classes.dex from .apk, but not sure limitation what could be modified from there on?

我试图增加额外的活动,要修改启动发射活动(可以是AndroidManifest.xml中)从原来的apk文件,然后重新包装和标志,使完整的单.apk文件......都需要做出来的建造时间,没有原料来源或建立结构可见,只有.apk文件输入...任何想法?

I'm trying to add additional activity, to modify starting launcher activity (may be from androidmanifest.xml) from original apk, then re-pack and sign to make complete single .apk... all need to be done out of build time, no raw source or build structure visible, only .apk as input... ANY IDEA?

推荐答案

是的,你提到的工具( baksmali / smali )帮助您同时拆卸的apk和修改,后来重新包装code

Yes, the tools you mentioned (baksmali/smali) help you to both disassemble apks and modify and repackage the code later.

然而,签署修改后的APK 的方式,使之更新兼容是不可行除非你有机会到被用来签署原来的apk私钥。

However, signing the modified apk in a way to make it update-compatible is unfeasible unless you have access to the private key that was used to sign the original apk.

这篇关于它甚至有可能修改的apk,通过添加额外的类.dex并重新包装改良的manifest.xml?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆