diff --git a/ligma (cheat)/README.md b/ligma (cheat)/README.md index d56512215..086a2b588 100644 --- a/ligma (cheat)/README.md +++ b/ligma (cheat)/README.md @@ -11,4 +11,21 @@ start cmd /k "title 'all logs' & adb logcat" adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity ``` -just change `C:\Users\%USERNAME%\source\repos\ligma\ARM\Release\libligma.so` to the path of your repo. Also change `adb` to whatever `adb` your emulator is using. \ No newline at end of file +just change `C:\Users\%USERNAME%\source\repos\ligma\ARM\Release\libligma.so` to the path of your repo. Also change `adb` to whatever `adb` your emulator is using. + +# setup + +Since we arent done making this cheat, we have no need to repackage the entire apk and reinstall everytime we wanna test our code. Since the application +is not inside of this repo, you will need to first download the apk from here: [cod mobile](https://apkpure.com/call-of-duty-legends-of-war/com.activision.callofduty.shooter). + +### decompile + +use apktool.jar to decompile the apk. we are going to patch a smali file to load our .so before any other .so. + +``` +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: + + \ No newline at end of file