Home > Root

How to Root Derpfest ROM via Magisk [Video]

In this guide, we will show you the steps to root your Derpfest ROM via Magisk. There’s no dearth of custom ROM nowadays, with a plethora of noteworthy players claiming their own bragging rights. But in spite of that threshold, Derpfest has managed to make quite a name for itself. Offering a plethora of intriguing features [DerpSpace] and at the same time maintaining the overall device stability, there’s not much left to ask.

And if there’s something missing in this ROM, then there’s always an option to gain administrative privileges and welcome abode a plethora of mods and tweaks onto your device, such as LSPosed and Magisk Modules. But as opposed to other custom ROMs wherein you just need to sideload Magisk ZIP to root it, things with the Derpfest ROM are a little bit different.

With this ROM, simply sideloading might not do the job. Instead, you will have to extract its boot.img, patch it via Magisk, boot your device via it, and finally flash it via Magisk’s Direct Install. And in this guide, we will show you how to do just that, So without any further ado, let’s get started,

Benefits and Risks of Rooting Derpfest ROM via Magisk

root derpfest rom

Once you root your device, you will be in a position to flash a plethora of mods. These include the likes of Fox Magisk ModulesSubstratum ThemesXposed Framework via LSPosed, and Viper4Android among others. Along the same lines, you could also flash a custom kernel and implement your desired CPU profile. However, such tweaks do come with a few risks as well.

To begin with, rooting requires you to unlock the bootloader- which will wipe off all the data and could nullify the warranty as well. Likewise, SafetyNet will be triggered [FIXED] which will result in your inability to use banking apps [FIXED]. So if all that’s well and good, then let’s get started with the steps to root the Derpfest ROM via Magisk.

How to Root Derpfest ROM via Magisk [Video]

The below instructions are listed under separate sections for ease of understanding. Make sure to follow the same sequence as mentioned. 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

First and foremost, you will have to 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.

install adb platform tools windows

STEP 2: Enable USB Debugging

Next up, you will have to enable USB Debugging so as to make your device recognizable by the PC in ADB mode. So head over to Settings > About Phone > Tap on Build Number 7 times > Go back to Settings > System > Advanced > Developer Options > Enable USB Debugging.

root derpfest rom

STEP 3: Extract Custom ROM Boot

First off, you will have to extract the custom ROM’s boot.img file. If the ROM is simply in a ZIP file, then the extraction could be done via WinZIP/WinRAR. On the other hand, if it is in a BIN format, then you will have to use the Fastboot Enhance Tool for extraction, as shown below:

  1. Download and extract Fastboot Enhance Tool on your PC.
  2. Then download and extract the custom ROM on your PC.
  3. Now launch Fastboot Enhance, go to Payload Dumper, and click Browse.root derpfest rom
  4. Select the extracted payload.bin file of the custom ROM and hit Open.
  5. Now go to the Partition tab, select boot.img, and click Extract Image.root derpfest rom
  6. Once done, transfer the boot.img file to the platform-tools folder.root derpfest rom

STEP 4: Patch Stock Boot.img via Magisk

  1. Download and install the Magisk App on your device.
  2. Then launch it and tap on the Install button next to Magisk.
  3. After that, choose ‘Select and Patch a File’, and navigate to the stock boot.img file, and select it.
    root derpfest rom
  4. Then tap on the Let’s Go button situated at the top right.
    root derpfest rom
  5. The boot.img file will now be patched and placed under the Downloads folder on your device. You should transfer this file to the platform-tools folder on your PC. We will now be using this file to root your ROM.
    root derpfest rom

STEP 5: Boot Device to Fastboot Mode

  1. Now connect your device to the PC via a 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.
  3. Type in the following command in the CMD window to boot your device to Fastboot Mode
    adb reboot bootloader

    root derpfest rom

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

    root Pixel 6A

STEP 6: Boot Device using Magisk Patched Boot.img

Now, there exist two different methods to proceed ahead. You could either directly flash the patched boot.img file [see FAQ] or temporarily boot it. The second approach is highly recommended because you could easily test if everything is working well or not. If it is, then you could proceed ahead with the permanent installation.

root derpfest rom

On the other hand, if things don’t go as planned and your device ends up in a bootloop/ softbrick, then just a normal reboot will fix the issue. So on that note, let’s get started with the second approach. For that, execute the below command in the CMD window and your device will be booted to a temporarily rooted OS.

fastboot boot magisk_patched.img

STEP 7: Permanent Root Custom ROM via Magisk Direct Install

After executing the above command, your device will be booted to the OS with a temporary root. Here’s how to make it permanent:

  1. To begin with, launch the Magisk Manager App.
  2. Then tap on Install > Direct Install and tap Let’s Go situated at the top-right.
    root derpfest rom
  3. Once done, hit the Reboot button situated at the bottom right.
  4. That’s it, your device will now boot to the rooted OS. That’s it.

These were the steps to root the Derpfest ROM via Magisk Patched Boot.img. 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.