AceGuru-mjh 492e4e0c8f docs: sync CLI usage in tools.md with current code
The usage blocks in docs/tools.md had drifted behind the actual CLI
output of the tools:

- su: add -d/--drop-cap (added in ff18cb8, missing from docs since 2023)
- resetprop: document wait mode (-w, NAME/OLD_VALUE), --compact,
  -P, -Z and the mode-based flag semantics; the old block predated
  the wait-mode rewrite entirely
- magiskboot unpack: document the 3:vendor_boot return value
  (RETURN_VENDOR in bootimg.cpp)
- magiskboot split: document the -n flag (skip decompression)
- magiskboot cpio: document ls [-r] [PATH], fix test return values
  to 0:stock/1:Magisk/2:unsupported (test returns on first match,
  the old 'bitwise or-ed' wording was misleading), document the -n
  flag of backup ORIG

All blocks now match the usage strings shipped in the binaries
(su.cpp, resetprop/cli.rs, boot/cli.rs, boot/cpio.rs).
2026-10-05 22:09:19 -07:00
2026-10-04 03:30:08 -07:00
2026-10-05 20:16:47 -07:00
2026-10-04 03:30:08 -07:00
2026-08-26 05:42:55 +00:00
2026-10-04 03:30:08 -07:00

Downloads

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 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

Downloads

Github is the only source where you can get official Magisk information and downloads.

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 and its stub APK are located here:

  • app/core/src/main/res/values/strings.xml
  • app/stub-res/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/>.
S
Description
No description provided
Readme GPL-3.0
67 MiB
Languages
Kotlin 43.7%
Rust 31.2%
C++ 17.5%
Shell 3.8%
Python 2.4%
Other 1.3%