The Magic Mask for Android
Go to file
Wang Han b11b81122a Tighten rules for tmpfs file
Before magiskd is executed, all files in magisk tmpfs still shares
tmpfs label. This commit tightens the rule to only allow init, zygote
and shell to access magisk tmpfs files. Zygotes rules is needed
because lower Android versions don't have rule for zygote itself
using memfd even memfd is supported in kernel.
2024-07-08 12:06:49 -07:00
.github Update build.yml 2024-07-08 12:02:51 -07:00
app Re-enable nonTransitiveRClass 2024-07-06 01:31:43 -07:00
buildSrc Fix building release builds 2024-07-06 01:55:09 -07:00
docs Update docs to cover riscv64 2024-07-02 14:53:46 -07:00
gradle/wrapper Upgrade deps 2024-06-06 21:11:52 -07:00
native Tighten rules for tmpfs file 2024-07-08 12:06:49 -07:00
scripts Update docs to cover riscv64 2024-07-02 14:53:46 -07:00
tools Switch rustup_wrapper to Rust implementation 2024-05-09 02:19:07 -07:00
.gitattributes Small native code reorganization 2020-03-09 01:50:30 -07:00
.gitignore Fix building release builds 2024-07-06 01:55:09 -07:00
.gitmodules Make crt0 an external submodule 2024-02-26 17:34:17 -08:00
build.gradle.kts Upgrade to Gradle 8.3 2023-09-14 13:16:59 -07:00
build.py Move :app to :app:apk 2024-07-04 02:27:20 -07:00
config.prop.sample Cleanup scripts 2021-01-24 07:24:13 -08:00
gradle.properties Re-enable nonTransitiveRClass 2024-07-06 01:31:43 -07:00
gradlew Upgrade deps 2024-06-06 21:11:52 -07:00
gradlew.bat Upgrade gradle 2024-02-02 10:55:11 -08:00
LICENSE Use GPL v3 license and update copyright messages 2017-04-22 17:12:54 +08:00
README.MD Update README.MD (#8192) 2024-07-08 12:02:14 -07:00
settings.gradle.kts Move :app to :app:apk 2024-07-04 02:27:20 -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.

Click the icon below to download Magisk apk.

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