ROOT with PIE Guide

Search This thread

chpimentelpr

Senior Member
Aug 30, 2010
344
105
Hi All,

In the best interest to provide clarity I'm creating this quick and easy tutorial on how to root your Razer Phone 2 after the Pie Upgrade. Please send me any feedback to improve this post, we need to build up a strong community.

*As usual, I'm not responsible of any damage or brick to your phone, do it at your own risk.

Pre-Requirements:
-Be sure to have at least 70% of charges... or plug your phone to power
-Backup anything you consider important
-Already installed Pie Upgrade via OTA or Side Loaded​

-Enable Developer Options
• Open Phone "Settings" and scroll down.
• You will see an option "Build Number".
• Simply tap on it 7 times to enable it on your Android Oreo based device.
• Your device immediately display a message on screen that will say "You are now a developer".
• The Developer Option is now available in the Settings>System>Developer Options. Enjoy!​

- Install Android Drivers (https://developer.android.com/studio/run/win-usb) and ADB, I personally recommend -[TOOL]Minimal ADB and Fastboot [2-9-18] - https://forum.xda-developers.com/showthread.php?t=2317790

-Unlock Bootloader
• To enable OEM unlock, go to Settings > Developer options and check Enable OEM unlock
• Using ADB commands reboot on bootloader​

adb reboot bootloader

• After reboot completes follow phone menus and select "UNLOCK BOOTLOADER"; accept all warnings, after restart you have completed the unlock.​


Root and Installing Magisk
Since our phone doesn't have a proven customer recovery fully working (Ex TWRP) Magisk needs to be installed by manually patching the device boot image.

Making leverage of Warrior1988 post [Root Magisk Pie Update For Unlocked Devices] all credits to him. Download the image from his post


• Boot in fastboot mode To boot into fastboot, press and hold the Power button + Volume Down Keys for few seconds; Copy the image on the same folder as your ADB and Run the following commands:

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

fastboot reboot


Install Magisk Download the apk and install it as usual on your RP2, that should be all.

DONE!!!! You now have a unleashed the beast! Please send me any recommendations to improved this guide.
 
Last edited:
Aug 20, 2018
16
5
Install Android Drivers and ADB

Your link has everything necessary for this step, right? Direct link to version 1.4.3 is here: https://androidfilehost.com/?fid=746010030569952951
Or are drivers and ADB two separate downloads?

• To enable OEM unlock, go to Settings > Developer options and check Enable OEM unlock

I assume this is where we plug our phone into our computer?

• Using ADB commands reboot on bootloader

For anyone dumb and new like me, I think this is with cmd.exe in Windows. Win+S -> type "cmd" (without quotation marks) and hit enter. Once open, you want to navigate to ADB, which you've already installed via the above instructions.

So your cmd will say:
C:\Users\YourName>

And you want to get to ADB, so you'll type "cd" (without quotation marks) which means you want to change directories, and then "cd adb" (if its in C:\ directory) or "cd [whatever the path is to the ADB folder]\adb"
Assuming it was directly in C:, you should see something like:
C:\adb>

Now you want to type "adb devices" to make sure it sees your phone is plugged in. You should see: "list of devices attached - [model] device" or something.

Now you're ready to go with the instructions starting at "adb reboot bootloader." If I'm wrong about this, someone less new and dumb than I am please correct me.

• Copy the image on the same folder as your ADB and Run the following commands:
fastboot flash*boot_a boot.img

fastboot flash boot_b boot.img

fastboot reboot

I'm confused on this one. The first one has "flash*boot_a," but the second one has "flash boot_b" without the * symbol. What does the * do, and what happens if we mess it up? Sorry if that's a dumb question.
 
  • Like
Reactions: schloop

Warrior1988

Senior Member
Jun 28, 2015
332
262
33
Your link has everything necessary for this step, right? Direct link to version 1.4.3 is here: https://androidfilehost.com/?fid=746010030569952951
Or are drivers and ADB two separate downloads?



I assume this is where we plug our phone into our computer?



For anyone dumb and new like me, I think this is with cmd.exe in Windows. Win+S -> type "cmd" (without quotation marks) and hit enter. Once open, you want to navigate to ADB, which you've already installed via the above instructions.

So your cmd will say:
C:\Users\YourName>

And you want to get to ADB, so you'll type "cd" (without quotation marks) which means you want to change directories, and then "cd adb" (if its in C:\ directory) or "cd [whatever the path is to the ADB folder]\adb"
Assuming it was directly in C:, you should see something like:
C:\adb>

Now you want to type "adb devices" to make sure it sees your phone is plugged in. You should see: "list of devices attached - [model] device" or something.

Now you're ready to go with the instructions starting at "adb reboot bootloader." If I'm wrong about this, someone less new and dumb than I am please correct me.



I'm confused on this one. The first one has "flash*boot_a," but the second one has "flash boot_b" without the * symbol. What does the * do, and what happens if we mess it up? Sorry if that's a dumb question.

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

fastboot reboot
 

Bounty33

New member
May 8, 2014
4
0
App root detection?

If I root my Razer phone 2 using this guide, will certain apps like banking apps, and rideshare apps be able to detect root?
 

chpimentelpr

Senior Member
Aug 30, 2010
344
105
If I root my Razer phone 2 using this guide, will certain apps like banking apps, and rideshare apps be able to detect root?
You can use magisk to hide the root from those apps. In general banking app are not affected by root. Google pay could be affected, but I don't use it so can't be sure. And you can always unroot.
 
Aug 20, 2018
16
5
Did you rooted? Anything missing on the guide? I want make it as useful as possible so feedback is welcome.

I have not, but I've been really sick and useless. I think I'll try tonight and let you know how it goes. :) Thanks for the guide, dude.

---------- Post added at 02:50 PM ---------- Previous post was at 02:45 PM ----------

Wait, yes, I do have a question. I download the drivers, and I download the Fastboot ADB thing. What do I do with the drivers? Do they just install in Windows like anything else, and that allows me to connect to the phone?
 

chpimentelpr

Senior Member
Aug 30, 2010
344
105
I have not, but I've been really sick and useless. I think I'll try tonight and let you know how it goes. :) Thanks for the guide, dude.

---------- Post added at 02:50 PM ---------- Previous post was at 02:45 PM ----------

Wait, yes, I do have a question. I download the drivers, and I download the Fastboot ADB thing. What do I do with the drivers? Do they just install in Windows like anything else, and that allows me to connect to the phone?

Yes, install them as any other driver.
 

Gamesoul Master

Senior Member
Aug 26, 2010
682
177
Very nice. I've rooted a ton of phones over the years, but they had more established communities and had well-explained (and tested) methods of rooting. The previous guide posted (that you referenced) was fine enough, but it was very much lacking a couple prerequisites that I was wondering/concerned about. This guide has cleared all of that up for me, and I now feel confident about rooting this phone.

Just as soon as I charge up the phone and install the OTA I've been avoiding until now... lol. Hoping somebody will make a Magisk module to move the clock back to where it belongs (if they haven't already).


EDIT: Just wanted to add my success story to this. Only thing I had to do that wasn't listed in the instructions (but makes sense) is that fastboot didn't work until I enabled USB Debugging (again, after the wipe and reboot), and I had to very manually tell the computer which driver to use (ADB) after that. Didn't have that issue for the bootloader instructions beforehand (that time, the driver worked automatically), so I figured I'd mention it.
 
Last edited:
  • Like
Reactions: chpimentelpr

chpimentelpr

Senior Member
Aug 30, 2010
344
105
Also is there a way to turn back on the preboot authentication. Pretty much I just want to maintain full encryption and the built in security while having root.

I don't believe encryption is supported at the moment, and I don't encourage you to try it until TWRP is fully supported since you may end up in a boot loop. I'm eagerly waiting for the full encryption capability, so I will let you know as soon as something come up.
 

xttweaponttx

Senior Member
May 23, 2013
56
17
Idaho Falls
Alright so after fighting with windows for a few hours, I discovered that my ADB was severely outdated.... Lesson learned there.

After getting the new boot image installed, though, I hit another problem... WiFi refuses to work. The toggle switch in the statusbar, nor the toggle in the system settings, will bring my wifi to life. Which is weird! Because I got through setup just fine, connected to wifi and signed into google... Yet now all wifi functionality has vanished. I tried a factory reset, to no avail. I'm gonna have to restore the factory boot image and start all over... But for now, figured I'd ask if anyone else has run into this weird bug?

***update***
I've now gone and flashed the global image for 8.1.0 to the phone... and it's telling me the OS is up to date???? How do I get back to pie?? It's late here and I've got wifi back now... but I'm stumped. Any help would be so greatly appreciated!
 
Last edited:

chpimentelpr

Senior Member
Aug 30, 2010
344
105
Alright so after fighting with windows for a few hours, I discovered that my ADB was severely outdated.... Lesson learned there.

After getting the new boot image installed, though, I hit another problem... WiFi refuses to work. The toggle switch in the statusbar, nor the toggle in the system settings, will bring my wifi to life. Which is weird! Because I got through setup just fine, connected to wifi and signed into google... Yet now all wifi functionality has vanished. I tried a factory reset, to no avail. I'm gonna have to restore the factory boot image and start all over... But for now, figured I'd ask if anyone else has run into this weird bug?

***update***
I've now gone and flashed the global image for 8.1.0 to the phone... and it's telling me the OS is up to date???? How do I get back to pie?? It's late here and I've got wifi back now... but I'm stumped. Any help would be so greatly appreciated!

I doubt the issue with the wifi is related with the image, since it doesn't have anything to do with it. If your phone doesn't detect the update you will need to sideload it. Then try the root guide again. Let us know how it goes, it the first time I hear something wrong with WIFI after rooting.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Hi All,

    In the best interest to provide clarity I'm creating this quick and easy tutorial on how to root your Razer Phone 2 after the Pie Upgrade. Please send me any feedback to improve this post, we need to build up a strong community.

    *As usual, I'm not responsible of any damage or brick to your phone, do it at your own risk.

    Pre-Requirements:
    -Be sure to have at least 70% of charges... or plug your phone to power
    -Backup anything you consider important
    -Already installed Pie Upgrade via OTA or Side Loaded​

    -Enable Developer Options
    • Open Phone "Settings" and scroll down.
    • You will see an option "Build Number".
    • Simply tap on it 7 times to enable it on your Android Oreo based device.
    • Your device immediately display a message on screen that will say "You are now a developer".
    • The Developer Option is now available in the Settings>System>Developer Options. Enjoy!​

    - Install Android Drivers (https://developer.android.com/studio/run/win-usb) and ADB, I personally recommend -[TOOL]Minimal ADB and Fastboot [2-9-18] - https://forum.xda-developers.com/showthread.php?t=2317790

    -Unlock Bootloader
    • To enable OEM unlock, go to Settings > Developer options and check Enable OEM unlock
    • Using ADB commands reboot on bootloader​

    adb reboot bootloader

    • After reboot completes follow phone menus and select "UNLOCK BOOTLOADER"; accept all warnings, after restart you have completed the unlock.​


    Root and Installing Magisk
    Since our phone doesn't have a proven customer recovery fully working (Ex TWRP) Magisk needs to be installed by manually patching the device boot image.

    Making leverage of Warrior1988 post [Root Magisk Pie Update For Unlocked Devices] all credits to him. Download the image from his post


    • Boot in fastboot mode To boot into fastboot, press and hold the Power button + Volume Down Keys for few seconds; Copy the image on the same folder as your ADB and Run the following commands:

    fastboot flash boot_a boot.img

    fastboot flash boot_b boot.img

    fastboot reboot


    Install Magisk Download the apk and install it as usual on your RP2, that should be all.

    DONE!!!! You now have a unleashed the beast! Please send me any recommendations to improved this guide.
    3
    Your link has everything necessary for this step, right? Direct link to version 1.4.3 is here: https://androidfilehost.com/?fid=746010030569952951
    Or are drivers and ADB two separate downloads?



    I assume this is where we plug our phone into our computer?



    For anyone dumb and new like me, I think this is with cmd.exe in Windows. Win+S -> type "cmd" (without quotation marks) and hit enter. Once open, you want to navigate to ADB, which you've already installed via the above instructions.

    So your cmd will say:
    C:\Users\YourName>

    And you want to get to ADB, so you'll type "cd" (without quotation marks) which means you want to change directories, and then "cd adb" (if its in C:\ directory) or "cd [whatever the path is to the ADB folder]\adb"
    Assuming it was directly in C:, you should see something like:
    C:\adb>

    Now you want to type "adb devices" to make sure it sees your phone is plugged in. You should see: "list of devices attached - [model] device" or something.

    Now you're ready to go with the instructions starting at "adb reboot bootloader." If I'm wrong about this, someone less new and dumb than I am please correct me.



    I'm confused on this one. The first one has "flash*boot_a," but the second one has "flash boot_b" without the * symbol. What does the * do, and what happens if we mess it up? Sorry if that's a dumb question.

    fastboot flash boot_a boot.img

    fastboot flash boot_b boot.img

    fastboot reboot
    2
    yeah i found out what was wrong, finished flashing the .img files only to get a bootloop cause i flashed MR1 .img files to my phone (MR2) i need to get the .img of build P-MR2-RC001-RZR-190914.3123 but the file is 2 GB and i have a 5KB/S download speed :/ all i need is the .img from it, could you possibly provide me with it? i cant find it elsewhere

    Here you go: P-MR2-RC001-RZR-190914.3123-boot.img
    2
    How about the new update 9 Pie MR2 :
    Build number : P-MR2-SGT-RC002-RZR-190918.3666
    Can somebody help me root this !!!
    2
    This has to be......one of the most usefull and noob friendly guides i have ever seen.....

    You sir....are a God

    Thank You.