Android How To

How to: Razer Phone Root & TWRP Recovery (Working Wi-fi)

Razer Phone is an Android smartphone released by gaming company Razer. It boasts of a 5.7-inch display with a 120Hz refresh rate. No other smartphone in the world has a display with a refresh rate of 120Ghz (at writing this article). Going about the specs of the Razer Phone is not the point of this article. In this post, we will achieve Razer Phone root using Magsik and install TWRP recovery in the process of rooting. The first step in this process would be to unlock the Razer bootloader, followed by TWRP, and then finally root using Magisk. We will show you all of these steps as we go on. Make sure you have a backup of all your important data as we are not responsible for any bricked devices. Using this method, your wifi will continue to work even after rooting.

Razer Phone Root
root razer phone

How to: Razer Phone Root & TWRP Recovery (Working wifi)

Warning (TWRP razer phone 2)

We are not responsible for any bricked devices. You are doing this at your own risk.

Make sure your Razer Phone is charged 70-80 percent.

Once rooted, do not take any OTAs as you will lose root. 

Pre-Requisites (razer phone 2 twrp)

Make sure you have unlocked the bootloader on your Razer Phone. If not, click the link below for a detailed guide. Please note unlocking the bootloader will wipe all your data, so make sure you have a backup.

How to Razer Phone Bootloader Unlock

Next, please ensure you have enabled USB debugging and OEM unlock. To do so, Navigate to Settings -> About on your Razer Phone and tap on build number seven times. Once you see a message saying “You are now a developer,” go back to Settings, and you will see an option called Developer Options.

Open developer options and enable USB debugging and OEM Unlock.

Ensure ADB and fastboot are set up on your computer (Windows, Mac, or Linux) and working. Click the link below to learn how to set up ADB and fastboot on Windows, Mac, and Linux.

How to Setup ADB and Fastboot

Download TWRP Recovery (both image and zip file) for Razer Phone from the below link. Rename the .img file recovery.img and place it in platform-tools folder. Place the TWRP-installer zip file in the internal memory of the Razer Phone.

Download TWRP Recovery for Razer Phone – Official

Download the latest version of Magisk and place the zip file in the internal memory of the Razer Phone.

Download the latest version of Magisk

You also need to download the factory image for your current firmware and extract Boot.img from the zip file. Click the link below to download factory images for Razer Phone.

Download Razer Phone Factory Image

Once you have extracted Boot.img, please place it in the internal memory of the Razer Phone.

How to Install TWRP Recovery Razer Phone

Step 1 – Boot into fastboot mode

Make sure Razer Phone is turned on.

  1. Connect Razer Phone to the computer using a USB cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to the platform-tools folder and issue the below command.

Windows

adb reboot bootloader

Mac or Linux

./adb reboot bootloader

Step 2 – Boot TWRP recovery

  1. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  2. Navigate to the platform-tools folder and issue the below command.

Windows

fastboot flash boot recovery.img && fastboot reboot

Mac or Linux

./fastboot flash boot recovery.img && fastboot reboot

You will now boot into TWRP recovery. If you were using a lock screen pin/pattern/password and did not get prompted to enter the same, Reboot to the bootloader and reissue the above command.

Step 3 – Install Boot.img

Once you have booted into TWRP, select Install, then Install img, and select the Boot.img file downloaded in the pre-requisites section.

HTC U11 TWRP

Step 4 – Install TWRP Recovery

Next, go back to the main menu of TWRP. Click on Install, then select the TWRP-installer zip file downloaded in pre-requisites.

HTC U11 TWRP

Step 5 – Reboot 

Click on back, then on Reboot, and then on System, and you will boot into Android. Go ahead and make sure the wifi is working.

Step 6 – Disable Automatic Updates

Go to Settings -> Developer Options and turn off Automatic Updates.

How to Razer Phone Root

Once you have installed TWRP recovery, we need to root your Razer Phone. Follow the steps below.

Step 1 – Find the Current Slot

Make sure Razer Phone is turned on.

  1. Connect Razer Phone to the computer using USB cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to the platform-tools folder and issue the below commands.

Windows

adb shell getprop ro.boot.slot_suffix

Mac or Linux

./adb shell getprop ro.boot.slot_suffix

It should return something like [ro.boot.slot_suffix]: [_a] Or: [ro.boot.slot_suffix]: [_b]. Note down whether it’s a or b. This is the slot we are on.

Step 2 – Boot into recovery mode

Next issue below command.

Windows

adb reboot recovery

Mac or Linux

./adb reboot recovery

 Step 3 – Root Current Slot using Magisk

In the TWRP main menu, click on Install, select the Magisk zip file downloaded in pre-requisites, and swipe to confirm the flashing zip file.

HTC U11 TWRP
razer phone 2 unlock bootloader
HTC U11 Root Magisk

Step 4 –  Switch to Second Slot

Go to TWRP main menu. Click on Reboot, and then select the slot on which we are NOT. So, if we were on slot a in step 1, select slot b. Else, select slot a. Once you have selected a slot, select Recovery to reboot back into recovery.

Step 5 – Root Second Slot using Magisk

In TWRP main menu and click on Install, then select Magisk zip file downloaded in pre-requisites, and swipe to confirm flashing zip file.

HTC U11 TWRP
root razer phone 2
HTC U11 Root Magisk
razer phone 2 root

Step 6 – Reboot into Android

Click on back, then on Reboot and then on System and you will boot into Android.

How to : Check Razer Phone Root

In case you want to check if your Razer Phone is rooted or not, download Root Checker app, open it and click on Verify Root. If you are rooted you will get an appropriate message.

RootChecker
razer phone recovery mode