How to Temporarily Root Android Device using Magisk

In this article, we will be imparting to you all How to Temporarily Root Android gadget utilizing Magisk. Establishing a gadget has numerous repercussions, some great and some awful. Henceforth, regardless of whether an individual is a tech lover, they may delay prior to establishing their gadget. Yet, then, at that point, obviously, a tech nerd can handle just a little with regards to tweaking their gadget.

Subsequently, for each one of those nerd nerds who wish to root their gadget, yet don’t know, you have an alternative to root android gadget briefly utilizing Magisk. Assuming you are as yet pondering, indeed, it is feasible to briefly root android gadget with Magisk.

Considering every one of the plausible dangers and security gives that can accompany establishing a gadget, for the individuals who wish to remain erring on the side of caution yet experience the alterations and administrator level control in the wake of establishing the telephone, briefly establishing android gadget with magisk is an incredible alternative. In this way, in the event that you wish to do likewise, continue to peruse further for an itemized manage.

Also See – Install TWRP Recovery on Galaxy S20/S20+/S20 Ultra (Exynos) and Root with Magisk

How to Temporarily Root Android Device using Magisk

Given beneath is an itemized bit by bit portrayal of how to root android gadget briefly utilizing Magisk. Follow the underneath steps in the provided request and with most extreme regard for not reason any setback. We at won’t be liable for any assuming any, harm caused to your gadget by following the underneath manage. Perform at your own risk.

Before you continue to root Android gadget briefly utilizing Magisk, make a point to play out all the underneath necessities


  • Take a complete backup of your device data as rooting will wipe off all the data.
  • Make sure to have at least 70% battery power on your phone or else it might switch off and you might have to follow the entire procedure once again.
  • Download Android SDK Platform-tools on your PC. Extract the tools to any location that is convenient for you on the PC. After extracting, you will get the Platform tools folder.
  • Enable USB Debugging – Before you follow the next prerequisite, make sure to enable USB Debugging on your device. For this, you can follow the easy guide here to enable USB Debugging. Or, just go to Settings> About Phone> Tap on Build number for 7 to 8 times. Go back to Settings. Here you will see a new option – Developers Option. Tap on it and then scroll down and then enable USB Debugging toggle.
  • Unlock Device Bootloader – The first step and a prerequisite to root android device is to unlock bootloader of that device. Just note that, when you unlock bootloader of your device, your device data will be wiped off. So make sure to take a complete backup beforehand. You can follow any of the below guides to unlock bootloader on android device.

How to Unlock Bootloader Using Fastboot on Android

How to Unlock Bootloader Without PC on Android

How to Unlock Bootloader on Any Xiaomi Devices

Step 1: Get Stock Boot.img file

Download the stock firmware file which you have installed on your device. Just note that the firmware version must match the installed version on your device. When you have downloaded the firmware file, extract it to any location on your PC.

In case you have a Pixel device, then you will see the boot.img file directly. Whereas, the OnePlus users will directly get the payload.bin file. You can check our guide here to know how to extract payload.bin file and get stock boot image file. 

In the same way, Realme and Oppo users will see the OZIP file. Coming to the Sony device, the file will come as boot.sin file. In case you have a Sony device and want to extract Sony Boot.sin file and get Stock boot.img file, then check the guide here.

Step 2: Patch Stock Boot.img file using Magisk

Once you have extracted the file, now you can patch it. For this follow the below steps –

  1. To start with, move the boot.img file to the device.
  2. Now install Magisk app on your phone.
  3. Open the app and then tap on Install option on the screen.
  4. While choosing the method type, tap on Select and Patch a file.

  1. Go to the extracted boot.img file and then choose it.
  2. Now tap on ‘Let’s Go’ button present at the top corner on the right.
  3. Soon Magisk will load and patch the boot.img file.

After the process is done, you will receive the Download Complete message. The patched boot.img file will be saved in the Internal Storage section in Downloads. The file will be named as magisk_patched.img with some random numbers after it. You will have to delete the numbers so as to keep the file name as magisk_patched.img.

Step 3: Boot device to Fastboot mode

  • Go to the Platform tools folder on your PC, that we got in prerequisites.
  • Connect your device to the PC using USB Cables. See that you have enabled USB Debugging.
  • Now go to the Platform tools folder and enter ‘cmd’ in the address bar without quotation marks. Then hit the Enter key on the Keyboard.

  • This will open the Command Prompt Window.
  • Enter the below command in the command prompt window so as to boot device into fastboot mode –
adb reboot bootloader

Step 4: Boot Magisk Patched Boot.img

Finally, we will root your device temporarily using Magisk.

  • Once you have entered into fastboot mode, have your device connected to the PC and the command prompt window open on the screen, you can proceed further to root device temporarily.
  • Move the magisk_patched.img file to the platform-tools folder.
  • Now in the command prompt window, enter the below command to boot device into the rooted OS using patched Magisk boot image file –
fastboot flash boot magisk_patched.img
  • After the file is flashed, enter the below command in the cmd window so as to boot your device into the OS –
fastboot reboot

Once your device is booted, you have successfully rooted your device temporarily. After you are done, just restart your device. Then you will be booted back to the non-root OS.

Closing Words

I trust all of you could without much of a stretch Temporarily Root Android telephone utilizing Magisk. Because of the mind boggling nature now and again of establishing a gadget, numerous individuals might want to simply have a little encounter of establishing their gadget. For such tech nerds, establishing Android gadget briefly utilizing Magisk could be guaranteeing and fun.

On the off chance that you are stuck at any of the above advances, go ahead and ask us in the remark area beneath. We will return to take care of you.

Leave a Comment