How to Root Motorola Razr 5G using Magisk without TWRP

In this guide, we have shared with you the steps to Root Motorola Razr 5G using Magisk without TWRP in a very simple way for your ease. In order to root your Motorola Razr 5G, we will use the Magisk to patch the stock boot image and flash that to your device’s boot partition. Now, if you ask why Magisk? It’s a system-less root process that doesn’t tamper with the system partitions while enabling root access. Magisk can also hide online security measures to work apps properly like any banking app, SafetyNet, etc.

Motorola Razr 5G 2020

Motorola Razr 5G Specifications: Overview

The Motorola Razr 5G features a 6.2-inch foldable P-OLED panel with a resolution of 876 x 2142 pixels. When it is in the folded state, another display comes into view. It is a 2.7-inches G-OLED panel with a resolution of 600 x 800 pixels. Coming to the processor, we have the Qualcomm Snapdragon 765G, which is the best mid-range processor on offer from Qualcomm. It is the same processor that we see on the Pixel 5 as well. This is an octa-core processor built on a 7nm manufacturing process. It has 1 Kryo 475 Prime core clocked at 2.4 GHz, 1 Kryo 475 Gold core clocked at 2.2 GHz, and six Kryo 475 Silver cores clocked at 1.8 GHz.

There is only one storage variant with 8GB of RAM and 256GB of internal storage. As for the optics, on the rear-side, we get a single 48MP sensor paired with an f/1.7 lens. It comes with OIS and is capable of shooting 4K videos. And coming to the front, we get a single 20MP sensor with an f/2.2 lens. This is capable of recording 1080p videos at 30 or 60 fps.

In terms of connectivity, we get Wi-Fi 802.11 a/b/g/n/ac, Bluetooth 5.1, GPS, NFC, and USB Type-C 3.1. We get a rear-mounted fingerprint sensor for biometric authentication. The battery inside the Razr 5G is a 2800 mAh cell which supports 15W of fast charging. It is available in three color options: Polished Graphite, Blush Gold, and Liquid Mercury. It is quite an expensive phone and sells for around 1500 Euros, but that is what you have to pay for something like a foldable display. There are many more mechanics involved with a folding phone than a normal one and, hence, the premium price for it.

Steps To Root Motorola Razr 5G Using Magisk

Follow the full depth guide along with the requirements and download links below.

Keep in mind:

  • Rooting may void the manufacturer’s warranty on your device.
  • Rooting will block the firmware OTA updates.

Now, let’s head over to some of the necessary steps which you need to abide by:


  • Your phone should have a battery juice of more than 60% at least.
  • Keep a backup of your device data at first. Therefore, if anything goes wrong, you can get back the important data.
  • The image file in this article is supported by the Motorola Razr 5G model only. DO NOT try to flash it on other models.
  • You will also require a PC/Laptop and a USB cable in order to connect your device with the computer.
  • You should download all the necessary files, tools, and drivers from below accordingly.

Required Downloads:


We’re at GetDroidTips won’t be responsible for any kind of error or damage that occurs to your phone during or after following this guide or flashing any file. You should know what you’re doing. Take a full backup at first and proceed at your own risk!

1. How to Extract and Patch Boot.image using Magisk?

  • First of all, download and extract the ROM to your PC.
  • Attach your device via USB cable and copy only the boot.img file from the extracted folder to your device storage
  • Launch Magisk Manager. When a popup appears asking to install Magisk, select INSTALL and choose install again.
  • Tap on “Patch Boot Image File”.
    Install patched boot image TWRP
  • Navigate to internal storage and select your phone’s boot image that you transferred earlier.
  • Wait for a couple of seconds. Magisk will start patching the boot image.
  • Once the boot image has been patched, copy the “patched_boot.img” from the internal storage and replace it in the same extracted ROM folder on your PC.

Now you can follow the second step to flash the patched boot image file.

2. Steps To Install the Patched Boot Image on Motorola Razr 5G

Follow the proper guide to install Patched Boot Image on Motorola Razr 5G from the below link:

  • Now, extract the ADB & Fastboot tool, then move the patched boot image file to the same folder.
  • Press and hold down the Shift key + right-mouse-click to open the command window/PowerShell.
  • Next, enter the following command in order to flash the “patched_boot.img” to install Magisk and root your Android device:
fastboot flash boot patched_boot.img
  • For devices with an A/B partition system, you have to use the following commands:
fastboot flash boot_a patched_boot.img

fastboot flash boot_b patched_boot.img

Please replace [patched_boot.img] with the name of the boot image file you downloaded followed by the .img extension.

  • Wait for the flashing process to complete.
  • Finally, type in the command to reboot your device.
fastboot reboot
  • That’s it.

Steps to Verify the Systemless Root

  1. Launch the Magisk Manager app on your device.
  2. Now, in order to verify the systemless root access on your phone, you will see the status screen. Here all options should be green ticked if properly rooted. If yes, that means you’ve successfully bypassed the Google SafetyNet measure as well.Magisk Status Check

That’s it, guys. We hope that you’ve found this guide useful and have successfully rooted your Motorola Razr 5G device. For any queries, feel free to ask in the comments below.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.