Home > Root

How to Root Motorola Edge 20 via Magisk Patched Boot

In this guide, we will show you the steps to root your Motorola Edge 20 via Magisk Patched Boot. Over the past couple of years, the OEM has really upped its game and is churning out some impressive devices one after the other. To justify this statement, one shouldn’t look any further than its Edge series. Being able to checkmark most of the prerequisites at a price that wouldn’t burn a hole in your pockets, there’s nothing much left to ask.

Along the same lines, the device is performing quite decently in the custom development as well. Be it for flashing custom GSI/ROMs, installing a custom recovery like TWRP, or trying out a plethora of mods and tweaks, the possibility stands endless. However, it is the ability to gain administrative privileges and access to the system partition that has always been the go-to tweak for tech enthusiasts. If you are also on the same page, then this guide shall make you aware of the steps to root your Motorola Edge 20 via Magisk. Follow along.

Benefits and Risks of Rooting

Once you root your device by flashing the Magisk patched boot.img via Fastboot Commands, you will be in a position to try out a plethora of customizations on your device. These include the likes of flashing custom ROMs, installing a custom recovery like TWRP, or flashing a custom kernel. Along the same lines, you could also flash Magisk Modules, Xposed Framework, Substratum Themes, Viper4Android, and the likes. However, this is just one side of the story.

benefits and risks of rooting android

Carrying out this process also has its downsides. First off, the process requires an unlocked bootloader. Doing so will wipe off all the data and could nullify the device’s warranty as well. Likewise, WideVine L1 will be degraded to L3, resulting in the inability to stream Netflix in HD [FIXED]. Then the SafetyNet will be triggered [FIXED], which might cause issues with banking apps [FIXED]. So if all that’s well and good, then let’s get started with the steps to root the Motorola Edge 20 via Magisk.

How to Root Motorola Edge 20 via Magisk

Root Motorola Edge 20

The below instructions are listed under separate sections for ease of understanding. Make sure to follow the same sequence as mentioned below. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Install Android SDK

install adb platform tools windows

To begin with, install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.

STEP 2: Enable USB Debugging and OEM Unlocking

Next up, you will have to enable USB Debugging and OEM Unlocking on your device. The former will make your device recognizable by the PC in ADB mode. This will then allow you to boot your device to Fastboot Mode. On the other hand, OEM Unlocking is required to carry out the bootloader unlocking process.

Root Motorola Edge 20

So head over to Settings > About Phone > Software Information > Tap on Build Number Number 7 times > Go back to Settings > System > Developer Options > Enable USB Debugging and OEM Unlocking.

STEP 3: Unlock Bootloader on Motorola Edge 20

You will also have to unlock the bootloader on your device as well. Do keep in mind that doing so will wipe off all the data and might make the device’s warranty null and void as well. So if that’s well and good, then refer to our guide on How to Unlock the Bootloader on any Motorola Device.

Root Motorola Edge 20

STEP 4: Get Motorola Edge 20 Stock Boot.img

Now, get hold of the stock boot.img file for your device. For that, download the stock firmware for your device from a trusted site [such as Lolinet]. Make sure to download the same firmware version that is currently installed on your device. Once downloaded, extract the boot.img file from the firmware to the platform-tools folder on your PC.

Root Motorola Edge 20

STEP 5: Patch Motorola Edge 20 Stock Boot via Magisk

  1. First off, install the Magisk App on your device.
  2. Then tap on the Install button situated next to Magisk.
  3. From the Method section, choose Select and Patch a file.
    Root Motorola Edge 20
  4. Browse to the extracted boot.img file and select it.
  5. Then tap on the Let’s Go option situated at the top right.
  6. Magisk will now load the boot.img file and will patch it accordingly.Root Motorola Edge 20
  7. Once that is done, you would get the Download Complete message.
  8. The patched boot image file will be saved in Internal Storage > Downloads. Rename it to magisk_patched_boot.img.

STEP 7: Boot Motorola Edge 20 to Fastboot Mode

  1. Connect your device to the PC via USB cable. Make sure USB Debugging is enabled.
  2. Then head over to the platform-tools folder, type in CMD in the address bar, and hit Enter. This will launch the Command Prompt.
    command-prompt-inside-adb
  3. After that, type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    Root Motorola Edge 20

  4. To verify the Fastboot connection, type in the below command and you should get back the device ID.
    fastboot devices

    fastboot devices

STEP 8: Root Motorola Edge 20 via Magisk

  1. To begin with, transfer the magisk_patched_boot.img file to the platform-tools folder on your PC.
    Root Motorola Edge 20
  2. Then head over to the platform-tools folder address bar, type in CMD, and hit Enter.
  3. This will launch Command Prompt. Execute the below command to flash the Magisk Patched Boot file:
    fastboot flash boot magisk_patched_boot.img

    Root Motorola Edge 20

  4. Finally, execute the below command to boot your device to the OS:
    fastboot reboot

That’s it. These were the steps to root Motorola Edge 20 via Magisk. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.


Share: