Magisk
Theory
Magisk is a suite of open source software for customizing Android, supporting devices higher than Android 6.0.
Some highlight features:
- MagiskSU: Provide root access for applications
- Magisk Modules: Modify read-only partitions by installing modules
- MagiskBoot: The most complete tool for unpacking and repacking Android boot images
- Zygisk: Run code in every Android applications' processes
Practical
Install Magisk
- Download latest APK release at https://github.com/topjohnwu/Magisk/releases
- Install package on the phone
bash
adb install "Magisk-vXX.Y.apk"
Install Magisk modules
- Download ZIP module (e.g. MagiskTrustUserCerts, MagiskHide, ...)
- Push the archive on the phone
bash
adb push "module.zip" "/sdcard/Download"
Once the archive is on the phone's storage, the module can be installed and enabled within the Magisk app
- Magisk App --> Modules --> Install from storage --> Reboot
- After reboot, enable the package
References
https://github.com/topjohnwu/Magisk
https://github.com/NVISOsecurity/MagiskTrustUserCerts/releases