mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
61137ff50274f3470d8f0c2b9759805eb9714e6a
Update user and developer documentation to reflect current v31.0 architecture, CLI flags, build workflows, and UI flows: - install.md & device_info.png: update Home screen screenshot to the Material 3 UI, document "Patch firmware / image" options (storage, remote HTTPS URL, Pixel factory image auto-download), add vendor_boot support, update patched image filenames, and drop references to the removed stub app. - build.md: update JDK requirement to JDK 25, replace binary with native and gen subcommands, and document scripts/env.py, clippy, cargo, and sccache/ccache. - details.md: update $INTERNALDIR layout, 2SI SwitchRoot and SEPolicy patching strategies (Legacy now covers Android 7.x only), boot-complete stage, resetprop ro.* behavior, and SELinux policy rules. - tools.md: add --print-rules and xperm syntax to magiskpolicy, and document -c and -M in su. - guides.md: document action.sh, reference REMOVE in customize.sh, and clarify post-fs-data script timeout and overlay.d rules. - boot.md: add Android 13+ GKI 2.0 (init_boot / vendor_boot) context and update AOSP documentation links. - faq.md: document automatic Safe Mode bootloop recovery, Reboot menu Safe Mode toggle, and emulator patching commands. Assisted-by: Gemini 4 Argon Assisted-by: Claude Opus 5.5
This is not an officially supported Google product
Introduction
Magisk is a suite of open source software for customizing Android, supporting devices higher than Android 7.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
Downloads
Github is the only source where you can get official Magisk information and downloads.
Useful Links
Bug Reports
Only bug reports from Debug builds will be accepted.
For installation issues, upload both boot image and install logs.
For Magisk issues, upload boot logcat or dmesg.
For Magisk app crashes, record and upload the logcat when the crash occurs.
Translation Contributions
Default string resources for the Magisk app are located here:
app/core/src/main/res/values/strings.xml
Translate each and place them in the respective locations ([module]/src/main/res/values-[lang]/strings.xml).
License
Magisk, including all git submodules are free software:
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Languages
Kotlin
43.7%
Rust
31.2%
C++
17.5%
Shell
3.8%
Python
2.4%
Other
1.3%
