Skip to content
Droid ToolsDroid Tools
Home
About UsContact
Editorial PolicyReview Policy
Privacy PolicyCookie PolicyTerms & Conditions
⌘K
Search
FacebookX (Twitter)InstagramThreadsBlueskyTikTokYouTubeRedditTelegramRSS Feed
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Stay informed with hands-on coverage from mobile tech experts.

Explore

  • News
  • Apps
  • OS
  • Phones
  • Reviews

Legal & Info

  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap
  • XML Sitemap
© 2026 Droid Tools. All rights reserved.
Home/Guides/Download and install Magisk v25.2
Guides

Download and install Magisk v25.2

magisk app root
Cristian Penisoara
Sep 8, 2022Updated Apr 6, 20269 min read
Cristian Penisoara
Cristian Penisoara
Guides Writer · Android Power User
Cristian Penisoara is a Guides Writer and Android specialist at Droid Tools. An Android user since version 2 and a professional event photographer, he combines technical curiosity with a detail-oriented approach - every guide he publishes is tested step-by-step on a real device before it goes live.
Profile →
0%
Share on XFacebookBluesky
Follow on Google
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

One of the most popular ways to root an Android device is with Magisk. SuperSU was formerly the go-to exploit for rooting Android devices, stock firmware, and customized ROMS.

Magisk, on the other hand, is a much more sophisticated and experienced rooting tool now than it was in the past. Along with enabling systemless root access on Android, some of the features include compatibility for third-party modules, Google’s SafetyNet bypass, and MagiskHide for avoiding root detection.

There are modules for theming, ad blocking, activating Camera2API, and many other system-level changes you can’t make otherwise. Try out this tool if you’re a power user who wants to increase the usefulness of your phone and push it to its limits. If all of this sounds like fun to you, we’ll explain how to install on your Android device so you can personalize it and perform tasks you never imagined you could perform on your phone.

magisk app root

Download version 25.2

Following are the direct download links right from the Github repository of the project.

  • Latest: Source
  • Latest Uninstaller (Magisk-uninstaller-20201003.zip)
  • Latest Magisk Manager (MagiskManager.apk download) | Source

Full downloads repository:

  • Full Magisk downloads repository
  • Previous stable Magisk v25.1

Use either the stable or beta and flash it via TWRP recovery to root Android devices.

You May Also Like
Recommended
1

How to block ads on Android with Brave and Private DNS

brave for android
2

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout
3

How to turn off Safe Mode on Android

turn off safe mode in android

Installation

If you already have it installed, it is strongly recommended to upgrade directly via the app using its “Direct Install” method. The following tutorial is only for the initial installation.

Getting Started

Before you start:

  • This tutorial assumes you understand how to use adb and fastboot
  • If you plan to also install custom kernels, install it after Magisk
  • Your device’s bootloader has to be unlocked

Download and install the latest Magisk app. In the home screen, you should see:

install magisk

The result of Ramdisk determines whether your device has ramdisk in the boot partition. If your device does not have boot ramdisk, read the Magisk in Recovery section before continuing.

(Unfortunately, there are exceptions as some devices’ bootloader accepts ramdisk even if it shouldn’t. In this case, you will have to follow the instructions as if your device’s boot partition does include ramdisk. There is no way to detect this, so the only way to know for sure is to actually try. Fortunately, as far as we know, only some Xiaomi devices are known to have this property, so most people can simply ignore this piece of information.)

If you are using a Samsung device that is launched with Android 9.0 or higher, you can now jump to its own section.

If your device has boot ramdisk, get a copy of the boot.img.
If your device does NOT have boot ramdisk, get a copy of the recovery.img.
You should be able to extract the file you need from official firmware packages or your custom ROM zip.

Next, we need to know whether your device has a separate vbmeta partition.

  • If your official firmware package contains vbmeta.img, then yes, your device has a separate vbmeta partition
  • You can also check by connecting your device to a PC and run the command:
    adb shell ls -l /dev/block/by-name
  • If you find vbmeta, vbmeta_a, or vbmeta_b, then yes, your device has a separate vbmeta partition
  • Otherwise, your device does not have a separate vbmeta partition.

Quick recap, at this point, you should have known and prepared:

  1. Whether your device has boot ramdisk
  2. Whether your device has a separate vbmeta partition
  3. A boot.img or recovery.img based on (1)

Let’s continue to Patching Images.

Patching Images

  • Copy the boot/recovery image to your device
  • Press the Install button in the Magisk card
  • If you are patching a recovery image, check the “Recovery Mode” option
  • If your device does NOT have a separate vbmeta partition, check the “Patch vbmeta in boot image” option
  • Choose “Select and Patch a File” in method, and select the boot/recovery image
  • Start the installation, and copy the patched image to your PC using ADB:
    adb pull /sdcard/Download/magisk_patched_[random_strings].img
  • Flash the patched boot/recovery image to your device.
    For most devices, reboot into fastboot mode and flash with command:
    fastboot flash boot /path/to/magisk_patched.img or
    fastboot flash recovery /path/to/magisk_patched.img
  • (Optional) If your device has a separate vbmeta partition, you can patch the vbmeta partition with command:
    fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img
  • Reboot and voila!

Uninstallation

The easiest way to uninstall it is directly through the app. If you insist on using custom recoveries, rename the Magisk APK to uninstall.zip and flash it like any other ordinary flashable zip.

Magisk in Recovery

In the case when your device does not have ramdisk in boot images, it has no choice but to hijack the recovery partition. For these devices, you will have to reboot to recovery every time you want root enabled.

When it hijacks the recovery, there is a special mechanism to allow you to actually boot into recovery mode. Each device model has its own key combo to boot into recovery, as an example for Galaxy S10 it is (Power + Bixby + Volume Up). A quick search online should easily get you this info. As soon as you press the key combo and the device vibrates with a splash screen, release all buttons to boot into recovery. If you decide to boot into the actual recovery mode, long press volume up until you see the recovery screen.

As a summary, after installing it in recovery (starting from power off):

  • (Power up normally) → (System with NO Magisk)
  • (Recovery Key Combo) → (Splash screen) → (Release all buttons) → (System with Magisk)
  • (Recovery Key Combo) → (Splash screen) → (Long press volume up) → (Recovery Mode)

(Note: You CANNOT use custom recoveries to install or upgrade in this case!!)

Samsung (System-as-root)

If your Samsung device is NOT launched with Android 9.0 or higher, you are reading the wrong section.

Before Installing

  • Installing Magisk WILL trip KNOX
  • Installing Magisk for the first time REQUIRES a full data wipe (this is NOT counting the data wipe when unlocking bootloader). Backup your data before continue.
  • Download Odin (only runs on Windows) that supports your device.

Unlocking Bootloader

Unlocking the bootloader on modern Samsung devices have some caveats. The newly introduced VaultKeeper service will make the bootloader reject any unofficial partitions in some circumstances.

  • Allow bootloader unlocking in Developer options → OEM unlocking
  • Reboot to download mode: power off your device and press the download mode key combo for your device
  • Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
  • Go through the initial setup. Skip through all the steps since data will be wiped again in later steps. Connect the device to Internet during the setup.
  • Enable developer options, and confirm that the OEM unlocking option exists and is grayed out. This means the VaultKeeper service has unleashed the bootloader.
  • Your bootloader now accepts unofficial images in download mode

Instructions

  • Use either samfirm.js, Frija, or Samloader to download the latest firmware zip of your device directly from Samsung servers.
  • Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
  • Press the Install button in the Magisk card
  • If your device does NOT have boot ramdisk, check the “Recovery Mode” option
  • Choose “Select and Patch a File” in method, and select the AP tar file
  • Start the installation, and copy the patched tar file to your PC using ADB:
    adb pull /sdcard/Download/magisk_patched_[random_strings].tar
    DO NOT USE MTP as it is known to corrupt large files.
  • Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware.
  • Your device should reboot automatically once Odin finished flashing. Agree to do a factory reset if asked.
  • If your device does NOT have boot ramdisk, reboot to recovery now to enable it.
  • Install the app you’ve already downloaded and launch the app. It should show a dialog asking for additional setup.
  • Let the app do its job and automatically reboot the device. Voila!

Upgrading the OS

Once you have rooted your Samsung device, you can no longer upgrade your Android OS through OTA. To upgrade your device’s OS, you have to manually download the new firmware zip file and go through the same AP patching process written in the previous section. The only difference here is in the Odin flashing step: do NOT use the CSC tar, but instead use the HOME_CSC tar as we are performing an upgrade, not the initial install.

Important Notes

  • Never, ever try to restore either boot, recovery, or vbmeta partitions back to stock! You can brick your device by doing so, and the only way to recover from this is to do a full Odin restore with data wipe.
  • To upgrade your device with a new firmware, NEVER directly use the stock AP tar file with reasons mentioned above. Always patch AP in the app and use that instead.
  • Never just flash only AP, or else Odin may shrink your /data filesystem size. Flash AP + BL + CP + HOME_CSC when upgrading.

Custom Recovery

This installation method is deprecated and is maintained with minimum effort. YOU HAVE BEEN WARNED!

Installing using custom recoveries is only possible if your device has boot ramdisk. Installing through custom recoveries on modern devices is no longer recommended. If you face any issues, please use the proper Patch Image method.

  • Download the the APK
  • Rename the .apk file extension to .zip, for example: Magisk-v24.0.apk → Magisk-v24.0.zip. If you have trouble renaming the file extension (like on Windows), use a file manager on Android or the one included in TWRP to rename the file.
  • Flash the zip just like any other ordinary flashable zip.
  • Reboot and check whether the Magisk app is installed. If it isn’t installed automatically, manually install the APK.

Warning: the sepolicy.rule file of modules may be stored in the cache partition. DO NOT WIPE THE CACHE PARTITION.

Changelog

v25.2

  • [MagiskInit] Fix a potential issue when stub cpio is used
  • [MagiskInit] Fix reboot to recovery when stub cpio is used
  • [MagiskInit] Fix sepolicy.rules symlink for rootfs devices
  • [General] Better data encryption detection
  • [General] Move the whole logging infrastructure into Rust

v25.1

  • [MagiskBoot] Fix ramdisk backup being incorrectly skipped
  • [MagiskBoot] Add new feature to detect unsupported dtb and abort during installation
  • [Zygisk] Change binary hijack paths
  • [App] Fix incorrect recovery mode detection and installation
  • [MagiskInit] Fix config not properly exported in legacy SAR devices
  • [General] Enforce the Magisk app to always match or be newer than magiskd
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source
Recommended Deals
1 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
529.99
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Cristian Penisoara
Cristian PenisoaraGuides Writer · Android Power User

Cristian Penisoara is a Guides Writer and Android specialist at Droid Tools. An Android user since version 2 and a professional event photographer, he combines technical curiosity with a detail-oriented approach - every guide he publishes is tested step-by-step on a real device before it goes live.

Next Story in Guides

How to block ads on Android with Brave and Private DNS

You can block ads on Android more effectively by pairing Brave’s Aggressive Shields setting with the system’s Private DNS feature. The setup filters ads at both the browser and system levels, takes only a few minutes to configure, and avoids the battery drain and VPN conflicts that come with dedicated ad-blocking apps. Why one ad […]

→

Latest Stories

Android 17 QPR2 Beta01

Android 17 QPR2 Beta 7 fixes Pixel battery drain and HTTPS downloads

02

ColorOS 17 open beta arrives for OnePlus 15 owners in India

03

HyperOS 4 stable update starts October 15 in China

04

Android 17 QPR2 Beta 7 fixes Pixel battery drain and download bug

Amazon Deals
5.0
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

Best Price
529.99
Buy

Top Deals

Amazfit September 2026 update adds new coordinate formats and navigation upgrades

Deal
Amazfit September 2026 update adds new coordinate formats and navigation upgrades

Google’s Pixel Referral Program is back with 10% off and Store credit

Deal
Google’s Pixel Referral Program is back with 10% off and Store credit

Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Deal
Pixel Watch 5 vs. Pixel Watch 4: what actually changed
Recommended stories

Continue reading

More from this category →
brave for android
GuidesOct 10, 2026

How to block ads on Android with Brave and Private DNS

You can block ads on Android more effectively by pairing Brave’s Aggressive Shields setting with the system’s Private DNS feature. The setup filters ads at both the browser and system levels, takes only a few minutes to configure, and avoids the battery drain and VPN conflicts that come with dedicated ad-blocking apps. Why one ad […]

By Robert Haba
MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout
GuidesSep 12, 2026

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout

Behind a two-tap recharge sits a surprising amount of plumbing. Every prepaid network has its own rules about what can be topped up, in which denominations, and how quickly credit posts to a SIM. MobileTopUP hides that complexity behind a single form: pick a country, enter a number, choose an amount. What the coverage map actually covers […]

By Robert Haba
turn off safe mode in android
GuidesSep 2, 2026

How to turn off Safe Mode on Android

Knowing how to turn off Safe Mode on Android comes in handy, since Safe Mode is a built-in troubleshooting tool that disables every third-party app on a phone and switches on Airplane Mode, making it easier to isolate an app causing lag, battery drain, or other issues. It's also useful for safely deleting a suspected […]

By Robert Haba
galaxy s25 settings menu
GuidesAug 28, 2026

Before using a new phone, disable these 5 Android settings.

Opening a brand-new phone has a particular excitement. After removing the plastic, you move your pictures, log into your Google account, and begin taking your first snapshot. However, we frequently overlook a few crucial settings that can improve our phone in all that excitement. I looked at a few options on my current phone, a […]

By Robert Haba
Next in queue

Read the next article

The next story loads as you reach the end. You can also load it using the button.

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.