基础 APK

双开

更改包名 mt 自带应用共存功能

汉化

使用开发者工具获取界面资源

后 mt 直接搜索字符串更改

  1. Arsc
  2. xml
  3. dex

结构

基础更改(名字、图标)np 通用编辑

AndroidMainfest.xml

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1" 版本号
android:versionName="1.0" 版本名
android:compileSdkVersion="32"
android:compileSdkVersionCodename="12"
package="com.zj.wuaipojie" 包名
platformBuildVersionCode="32"
platformBuildVersionName="12">
<uses-sdk
android:minSdkVersion="27"
android:targetSdkVersion="32" />
<!-- 拥有完全的网络访问权限 --> 权限
<uses-permission android:name="android.permission.INTERNET" />
<!-- 修改或删除您共享存储空间中的内容 -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:theme="@7F1101D3"
android:label="@7F10001B" 应用名称
android:icon="@7F0D000D" 应用图标
android:allowBackup="true"
android:supportsRtl="true"
android:extractNativeLibs="false"
android:fullBackupContent="@7F130000"
android:networkSecurityConfig="@7F130002"
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:dataExtractionRules="@7F130001">
<activity
android:name="com.zj.wuaipojie.ui.ChallengeFifth"
android:exported="true" />
<!-- 若干activity -->
<activity
android:label="@7F10001B"
android:name="com.zj.wuaipojie.ui.MainActivity"
android:exported="true">
<intent-filter>
<action
android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.zj.wuaipojie.ui.ChallengeFirst" />
</application>
</manifest>

smali

搜索关键字/定位 id

修改判断/强制跳转 goto/修改 reg(变量)

.method private static final onCreate$lambda-2(Lkotlin/jvm/internal/Ref$IntRef;Lcom/zj/wuaipojie/ui/ChallengeSecond;Landroid/widget/ImageView;Landroid/widget/ImageView;Landroid/widget/ImageView;Landroid/view/View;)Z
.registers 7

.line 33
iget p0, p0, Lkotlin/jvm/internal/Ref$IntRef;->element:I

const/4 p5, 0x1

const/16 v0, 0xa

if-ge p0, v0, :cond_15

.line 34
move-object p0, p1

check-cast p0, Landroid/content/Context;

const-string v0, "\u8bf7\u5148\u83b7\u53d610\u4e2a\u786c\u5e01\u54e6"

check-cast v0, Ljava/lang/CharSequence;

invoke-static {p0, v0, p5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object p0

invoke-virtual {p0}, Landroid/widget/Toast;->show()V

.line 36
:cond_15
invoke-virtual {p1}, Lcom/zj/wuaipojie/ui/ChallengeSecond;->isvip()Z

move-result p0

if-eqz p0, :cond_43

.line 37
check-cast p1, Landroid/content/Context;

const-string p0, "\u5f53\u524d\u5df2\u7ecf\u662f\u5927\u4f1a\u5458\u4e86\u54e6\uff01"

check-cast p0, Ljava/lang/CharSequence;

invoke-static {p1, p0, p5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object p0

invoke-virtual {p0}, Landroid/widget/Toast;->show()V

const p0, 0x7f0d0018

.line 38
invoke-virtual {p2, p0}, Landroid/widget/ImageView;->setImageResource(I)V

const p0, 0x7f0d0008

.line 39
invoke-virtual {p3, p0}, Landroid/widget/ImageView;->setImageResource(I)V

const p0, 0x7f0d000a

.line 40
invoke-virtual {p4, p0}, Landroid/widget/ImageView;->setImageResource(I)V

.line 41
sget-object p0, Lcom/zj/wuaipojie/util/SPUtils;->INSTANCE:Lcom/zj/wuaipojie/util/SPUtils;

const/4 p2, 0x2

const-string p3, "level"

invoke-virtual {p0, p1, p3, p2}, Lcom/zj/wuaipojie/util/SPUtils;->saveInt(Landroid/content/Context;Ljava/lang/String;I)V

goto :goto_50

.line 44
:cond_43
check-cast p1, Landroid/content/Context;

const-string p0, "\u8bf7\u5148\u5145\u503c\u5927\u4f1a\u5458\u54e6\uff01"

check-cast p0, Ljava/lang/CharSequence;

invoke-static {p1, p0, p5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

move-result-object p0

invoke-virtual {p0}, Landroid/widget/Toast;->show()V

:goto_50
return p5
.end method

Activity

组件 内容
Activity 页面
Seivice 后台
Broadcast 广播 电量等通知

dex

时间等待类广告,搜索类名,更改变量值

xml

更改 xml 顺序

主类标识

修改 Activity 类名

更改调用该 Activity 的 Activity 代码

搜索广告 Activity 类名,找调用类

直接修改类名

弹窗定位 堆栈分析