













去官方网站 下载APK安装包,比如我这里是 Auto_9.5.0.600013_release_signed.apk


操作成功后,会生成一个去除签名检验过的包Auto_9.5.0.600013_release_signed_kill.apk

操作成功后,会生成一个允许共存(即修改了包名的)包Auto_9.5.0.600013_release_signed_kill_clone.apk
查看上一步生成安装包

修改 去除签名校验 生成文件 classes2.dex

修改 旧版 classes.dex
点击classes.dex>Dex编辑器++>全选,切换搜索标签搜索libsmain,定位到文件后,注释掉这段代码
#const-string v3, "libsgmain"
然后编辑 smali/q3.smali,将其改为倒数第5行的 const/4 p0, 0x0 改为 const/4 p0, 0x1,整个d方法如下即可
.method public static d(Landroid/content/Context;)Z
.registers 2
.line 1
invoke-static {p0}, Lq3;->c(Landroid/content/Context;)Z
.line 4
move-result v0
.line 5
if-eqz v0, :cond_1a
.line 7
invoke-static {p0}, Lq3;->a(Landroid/content/Context;)Z
.line 10
move-result v0
.line 11
if-eqz v0, :cond_1a
.line 13
invoke-static {p0}, Lq3;->b(Landroid/content/Context;)Z
.line 16
move-result v0
.line 17
if-eqz v0, :cond_1a
.line 19
invoke-static {p0}, Lcom/autonavi/common/tool/b;->e(Landroid/content/Context;)Z
.line 22
move-result p0
.line 23
if-eqz p0, :cond_1a
.line 25
const/4 p0, 0x1
.line 26
goto :goto_1b
.line 27
:cond_1a
const/4 p0, 0x1
.line 28
:goto_1b
return p0
.end method
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。