Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FLZeng authored Mar 4, 2023
1 parent e906902 commit 7227c87
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,37 @@
# mjddz
The reverse code of a Mahjong and Landlord game on Android
The reverse code of a Mahjong and Landlord game on Android.

从Google Play下载的一款单机棋牌游戏,包含各个地区的麻将、斗地主小游戏。

本项目用于练习Android app逆向,包括资源替换、去除应用内购、横幅广告和视频广告等。

## 使用方法

解包apk:

```
apktool d mjddz_3.2.02.apk
```

打包apk:

```
apktool b mjddz -o mjddz_3.2.02_unsigned.apk
```

apk对齐:

```
zipalign -v 4 mjddz_3.2.02_unsigned.apk mjddz_3.2.02_aligned.apk
```

apk签名:

```
apksigner sign --ks xxx.jks --ks-pass pass:<ks_pwd> --ks-key-alias <alias> --ks-pass pass:<key_pwd> --out mjddz_3.2.02_signed.apk mjddz_3.2.02_aligned.apk
```

其中xxx.jks是密钥库文件,可用通过Android Studio生成,<ks_pwd>是密钥库的密码,<key_pwd>是密钥密码,如果没有密码则不需要提供,或者也可以通过其他方式提供,具体细节参考[官方文档](https://developer.android.google.cn/studio/command-line/apksigner?hl=zh-cn)

也可以使用GUI工具一键解包/打包,不再赘述。

0 comments on commit 7227c87

Please sign in to comment.