Library containing common utilities for Morphe.
Morphe Library powers projects such as Morphe Manager, Morphe CLI with common utilities and functionalities by providing shared code.
Morphe Library is based off the prior work of ReVanced. All modifications made by Morphe, along with their dates, can be found in the Git history.
Some of the features the Morphe Library provides are:
- 📝 Signing APKs: Read and write keystores, and sign APK files
- 🧩 Common utility functions: Various APIs for Morphe patches such as JSON serialization, reading and setting patch options, calculating the most common compatible version for a set of patches and more
- 💾 Install and uninstall APKs: Install and uninstall APK files via ADB or locally, the Android package manager, or by mounting using root permissions
- 📦 Repackage patched files to an APK: Apply patched files from Morphe Patcher to an APK file, and align & sign the APK file automatically
To use Morphe Library in your project, follow these steps:
-
Add the repository to your project
-
Add the dependency to your project:
dependencies { implementation("app.morphe:morphe-library:{$version}") }
Thank you for considering contributing to Morphe Library. You can find the contribution guidelines here.
To build Morphe Library, you can follow the Morphe documentation.
Morphe Library is licensed under the GNU General Public License v3.0, with additional conditions under GPLv3 Section 7:
- Name Restriction (7c): The name "Morphe" may not be used for derivative works.
Derivatives must adopt a distinct identity unrelated to "Morphe."
See the LICENSE file for the full GPLv3 terms and the NOTICE file for full conditions of GPLv3 Section 7.