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.javaorAndroid.javarespectively and do a release build. - Extract compiled
classes.dexfrom the release .apk file. - Copy the
classes.dexfile and paste it intoMETA-INF/com/google/android/magisk/dexdirectory 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.dexfile during installation.
- Download a pre-compiled
classes.dexhere. Thisclasses.dexis compiled from FrameworkPatch source and contains whatever keybox and fingerprint included there. - Copy the
classes.dexfile and paste it intoMETA-INF/com/google/android/magisk/dexdirectory 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.