All modifications are only for study purposes and only work on ARMv8-A devices
- Cmake
- Ninja
- Python3
- Android Studio
- NDK (Android Native Development Kit)
- What you will need to configure in your current shell/Windows Path environment:
Expose NDK_PATH and CMAKE_ANDROID paths env variable, example:
- Just type at root level folder (
PROJECT_DIR
):
PROJECT_DIR> python3 scripts/opensa.py -b
After the command successed, a new directory called build
will be appear inside your root (PROJECT_DIR) folder, follows the next step!
Enter into the build dir and run 'ninja':
PROJECT_DIR> cd build
build> ninja install
After this, a shared object file called libOpenSA.so must be generated, this is own plugin and you mst install inside your Android Package game object in lib/arm64-v8a/libOpenSA.so
. The same .APK object must be infected by our Dalvik Smali script, all you need is this file inside of: PROJECT_DIR/smali/GTASA.smali
All others libraries needed will be inside of
output
directory at the project root structure
Clean all objects generated by the NDK compiler:
build> ninja clean
PROJECT_DIR> rm -rf output