|
|
|
@ -28,4 +28,22 @@ apktool.jar d codm.apk
|
|
|
|
|
|
|
|
|
|
now go to this smali file: `smali\com\tencent\tpshell\TPShellApplication.smali`. Add this smali code to load our .so:
|
|
|
|
|
|
|
|
|
|
<img src="https://imgur.com/5OcgEsB.png"/>
|
|
|
|
|
<img src="https://imgur.com/5OcgEsB.png"/>
|
|
|
|
|
|
|
|
|
|
### recompile
|
|
|
|
|
|
|
|
|
|
simply run this to recompile the apk, this apk is not signed and will need to be signed.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
apktool.jar b codm -o codm_patched.apk
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### signing
|
|
|
|
|
|
|
|
|
|
use apksigner.jar to sign the newly compiled apk.
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
apksigner.jar -a codm_patched.apk
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
now you have a patched & signed apk. Its time to install the apk.
|