This repository has been archived and is no longer maintained here.
All future development, issues, and pull requests will happen in the new organization:
Please update your bookmarks and local remotes accordingly.
This framework patcher patches MIUI/HyperOS frameworks:
framework.jarservices.jarmiui-framework.jarmiui-services.jar
Refer to the Usage section to learn how to use this patcher.
- All Xiaomi devices
- Only Android 14–15 devices are supported
- Use stock framework files (modified files are not supported)
- Recommended to use on China HyperOS
- Visit the FrameworkPatcher Website.
- Provide the required direct URLs of the files, including Google Drive links with "Anyone with the link" download permissions enabled.
- Ensure that the links are shared properly to allow public access.
- Enter the device name and ROM version correctly.
- Click on the Build button.
- Navigate to the workflow to see the progress.
- If the build is successful, download the patched files from the release section.
Alternatively, after cloning the repository, you can use the LocalPatch.sh script for local patching.
Ensure all required JAR files (e.g., framework.jar, services.jar, etc.) are placed in the directory before running the script.
- China Notification Fix
- Fully disabled signature verification (core patch)
- Disable secure flag
- Add dex2oat compile
FrameworkPatcher is an open source project and your contribution is very much appreciated.
Please submit contributions to the new repository:
https://github.com/FrameworksForge/FrameworkPatcher
- Fork the project
- Create your feature branch (
git checkout -b feature/featureName) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin feature/featureName) - Create a new Pull Request
- Wait for the review
- If the review is successful, the changes will be merged
- CorePatch
- Super_Cat07 for the original method on A9–A14
- Cazymods for contributing the
isPersistentmethod - MMETMA for resolving bootloop issues on A15 and providing shared UID methods
- PappLaci for fixing Google Play Services issues on A15
Note: This README now points to the active repository under FrameworksForge. The old repository (Jefino9488/FrameworkPatcher) is archived and read-only.