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 the time of writing this article). Anyways, going about the specs of the Razer Phone is not the point of this article. In this post we are going to achieve Razer Phone root using Magsik, and also install TWRP recovery in the process of rooting. The first step in this process would be to unlock the bootloader on your Razer Phone, 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

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

Warning

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 loose root. 

Pre-Requisites

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 “Your 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.

Make sure adb and fastboot are setup on your computer (Windows, Mac or Linux) and working. Click the link below to learn how to setup 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 below link. Rename the .img file recovery.img and place it in platform-tools folder. Place the twrp-installer zip file in internal memory of Razer Phone.

Download TWRP Recovery for Razer Phone – Official

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

Download latest version of Magisk

You also need to download the factory image, for your current firmware and then 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, place it in internal memory of 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 computer using usb cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to platform-tools folder and issue 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 platform-tools folder and issue 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 are using a lockscreen pin/pattern/password and did not get prompted to enter the same, reboot to the bootloader and issue above command again.

Step 3 – Install Boot.img

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

HTC U11 TWRP

Step 4 – Install TWRP Recovery

Next, go back to 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 wi-fi 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 Current Slot

Make sure Razer Phone is turned on.

  1. Connect Razer Phone to computer using usb cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to platform-tools folder and issue 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 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
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
HTC U11 Root Magisk

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