A Magisk/KernelSU/APatch module to modify framework.jar directly on the phone, to build a valid system-level certificate chain.
- Open FrameworkPatch project in Android Studio.
- Add your keybox or fingerprint to
Keybox.java
orAndroid.java
respectively and do a release build. - Extract compiled
classes.dex
from the release .apk file. - Copy the
classes.dex
file and paste it intoMETA-INF/com/google/android/magisk/dex
directory of this module. - Install the module in your root manager app.
- Simply install the module. The module script will prompt you to download the required
classes.dex
file during installation.
- Download a pre-compiled
classes.dex
here. Thisclasses.dex
is compiled from FrameworkPatch source and contains whatever keybox and fingerprint included there. - Copy the
classes.dex
file and paste it intoMETA-INF/com/google/android/magisk/dex
directory of this module. - Install the module in your root manager app.
XDA thread with FAQs @ https://xdaforums.com/t/module-framework-patcher-go.4674536/
Important
- Please ensure you do not have a modified /system/framework/framework.jar before installing the module.
- This module is built specifically on this FrameworkPatch commit. Any updates to FrameworkPatch after this commit may break the module.
- This module may cause bootloop or instability in devices. You are advised to familiarise yourself with the procedure for removing modules during bootloop.