[Razer Phone 2 Guides, News, & Discussion] Univsoldur:
Unroot Razer Phone 2

This is the method that I used, I bought a phone that was rooted (little did I know) custom recovery was not installed on my device, but bootloader was unlocked and the phone was rooted. Disclaimer:I am no expert, i just used this method last night (2/2/2019) the Razer guides weren't the best at step by step so I am compiling what I learned from doing this. I am not responsible if you brick or bootloop your phone. You should also do independent research on XDA etc before you attempt this process so you understand the risks. I invite others that know more than me to correct what I may have missed and I will updated the OP.

Step 1

You need a USB C to A cord similar to the one that came with the phone, but Razer says that they don't recommend you use that one because it is designed for quick charge not data transfer so I used one that I bought on Amazon years Ago.

Step 2 you need to download 3 things:

The stock image that can be found here:https://developer.razer.com/razer-phone-dev-tools/factory-images/

You need to download Android SDK

https://developer.android.com/studio/releases/platform-tools.html

You need to download the drivers:

https://dl-ssl.google.com/android/repository/latest_usb_driver_windows.zip

Also open this https://developer.razer.com/razer-p...02.1384856067.1549140743-333350818.1549140743

Unzip all of these files to a new folder on your desktop call it Razer Phone 2 or whatever.

I also went into the phone tapped build number repeatedly to enable developer options and turned on USB debugging.

On the device, go to Settings > About <device>.

Tap the Build number seven times to make Settings > Developer options available.

Then enable the USB Debugging option.

Step 3 you need to Open this PDF courtesy of Razer:

https://s3.amazonaws.com/cheryl-fac...stall_Android_Fastboot_Drivers_on_Windows.pdf

This document loosely tells you how to install the drivers follow through all of the steps they give you

It should be noted you see a reference to “Download Mode” there is no such thing also the easiest way to get to this screen is to turn the phone off plug the USB into the computer with the phone not plugged in then hold volume down and plug the phone into the computer and press the power button holding volume down you should be taken to a screen that looks like this (aka download mode): see the image I attached.

I had an issue when I got to the Have Disk portion once I got to the step I had to drill all the way down to the android_winusb.inf file located inside the usb_driver folder. Once i got that it finally showed me the Android ADB Interface and the following dialogue screens. (if you are scrolling through a screen of Manufacturer -Models looking for something then you are doing it wrong) Once it is installed the device Should not have the Android with a ? on the device manager screen it should now say Android ADB Interface. (this part took me almost 2 hours I got frustrated and had to walk away for a bit so dont give up)

You can test that the drivers have been installed correctly like they say in the document but they left a step out for the not as tech savvy people. The way to do it is to open up a command prompt. You will see the directory that is is pointing to is likely C:\Users\[Insert user Name]. We need to change the directory it is looking at by typing.

Cd C:\Users\[insertusername]\Desktop\razer phone 2\platform-tools

(the command cd changes the directory)

You should see the directory change to be looking specifically at that folder now. Now simply type fastboot devices. The command should run and you should see the serial number of your device in the command prompt. If it does not return this then the drivers are not installed correctly.

(some other guides said you should also run the command adb devices, but I never got that to return anything all it ever told me when i ran it was “List of devices attached” with nothing else.

Step 4

Setting the Environment

Once i got to this step I was a little scared because I have never dealt with this before this allows you to call the ADB commands from the command prompt without having to specify the specific folder these ADB commands are located.

Follow the document referenced above until you get to the step that says click New

Instead we are going to look in the section titled “User Variables for [InsertUsername]

Under this section you will see a variable called PATH click on PATH and click edit. A box should pop up and on the right side it should say New, Edit, Browse, Delete, Move Up, Move Down.

Click on New and specify the folder called platform-tools mine looked like this

C:\Users\[username]\Desktop\razer phone 2\platform-tools

Click on ok the box will close and then click on ok again all the boxes pertaining to the environment variables will close.

Step 5

Test that the environment is set up correctly.

You might remember in step 4 we had to open a command prompt and tell it to look specifically at the platform-tools folder to run the ADB commands. With the environment now set we no longer have to specify the folder to run these commands, we can call them from any directory. To test this open a new command prompt it will likely be pointing to

C:\Users\[Insert user Name]

With the phone still plugged in and in “download mode” and without changing the directory, type

fastboot devices it should return the serial number of the phone if the environment has been properly setup if it has not been properly setup then it will return this error.

fastboot' is not recognized as an internal or external command,

operable program or batch file.

Step 6 (im not sure if this is necessary)

Because I bought my phone used I used rootchecker app to ensure the phone was indeed rooted and “download mode” told me the bootloader was unlocked. I wasnt sure if I needed to unlock the critical partitions, but you will notice in the razer instructions right above flash system image they call for them to be unlocked. I simply opened a command prompt and typed:

fastboot flashing unlock_critical

It said they were already unlocked so I moved forward with flashing the system image.

Step 7

Install the system image

From here I followed the razer instructions when i got to the step:

“Navigate to the unzipped system image directory” you open a command prompt and type

Cd C:\Users\[insertusername]\Desktop\razer phone 2\aura-o-global-2009

What this allows you to do is run the flash_all script.

The flash all script uses the command fastboot which if you remember is in the platform-tools folder this is why we had to add the environment in the previous steps so that once we got to this step the flash_all script could find and run that command. I ran this and had no issues the phone will continue to restart and in the command prompt you will see it pushing all the files to the phone. After about 3-4 minutes the phone was at the Wizard. I continued following the guide to lock the bootloader