Twrp + magisk on Oreo 8.1 from Windows

DarkestSpawn

Senior Member
Aug 16, 2010
275
104
73
If you are on the OTA Oreo 8.1 and dont have root, here's how to do so:

First request: Anyone that knows someone that can help get us WFD (Wireless Display Casting) enabled that would be very helpful. If you edit build.prop you can get it to show wireless displays in the System/Connected Devices/Cast but force reboots for me when I try connecting to my HP Lapdock

Now to TWRP/MAGISK

Make sure you are on 8.1, Android debugging is enabled under developer options and bootloader unlocked (Warning if you're not when you do this it wipes data).
Download TWRP.img & TWRP.zip from https://dl.twrp.me/cheryl
Download the Magisk 16.3 from here: https://github.com/topjohnwu/Magisk/releases/download/v16.3/Magisk-v16.3.zip (SuperSU will not work on 8.1 so magisk is your only option)
Download latest Platform tools from Google here: https://dl.google.com/android/repository/platform-tools-latest-windows.zip

Windows: In file explorer copy the twrp-installer-3.2.1-0-cheryl.zip to the sdcard of the Razer Phone
Windows: In file explorer copy the Magisk-v16.3.zip to the sdcard of the Razer Phone
Windows: Extract platform tools to any folder
Windows: Open a command prompt window at that directory
Windows: adb reboot bootloader
Windows: fastboot boot twrp-3.2.1-0-cheryl.img (This will boot to twrp without flashing) (DONT CLOSE, need it in a few minutes)
Razer Phone: Once in TWRP install zip twrp-installer-3.2.1-0-cheryl.zip then reboot to system after complete.
Windows: Once the Razer Phone has booted back up, go back to the command prompt window
Windows: Adb reboot recovery
Razer Phone: Once in TWRP install zip Magisk-v16.3.zip then reboot to system

All should be good, have not found any issues yet

I take no credit for any files in above tutorial, give credit where credit is due, donate a beer to those guys.

TWRP credit TWRP Team (https://twrp.me/)
Platform tools credit Google (Watch their ads on Youtube?)
Magisk credit Magisk team (https://github.com/topjohnwu)
 
Last edited:

SeriousFlash

Member
Jan 28, 2018
44
9
8
Hm for me it doesn't work at this step: Windows: fastboot boot twrp-3.2.1-0-cheryl.img
It's just saying "Waiting for device"

Sideloading 8.1 and unlocking went smooth, debugging is enabled
 
Last edited:

ccjack

Member
Jun 17, 2012
10
2
0
Hm for me it doesn't work at this step: Windows: fastboot boot twrp-3.2.1-0-cheryl.img
It's just saying "Waiting for device"

Sideloading 8.1 and unlocking went smooth, debugging is enabled
I had the same problem, make sure the ADB interface driver is installed under device manager again as i think it clears it after windows reboot.
 

SeriousFlash

Member
Jan 28, 2018
44
9
8
Had to manually edit it while unlocking the bootloader and it stayed on ADB bootloader interface when I had it reboot to bootloader again.
I'll try again tomorrow


Fixed the "waiting for device" "error" by selecting the older Android Bootloader Interface driver.
Now everything worked and my device is rooted!

Nice guide.
 
Last edited:

cannonjack

New member
Apr 20, 2018
1
1
0
Wondering if I'm missing something. Getting the error "FAILED (remote: BootCMD is not allowed in Lock State)" when attempting to boot the twrp image.
I have USB Debugging and OEM unlocking enabled.

PS: Found out the hard way, don't use the provided USB-C cable that came with your Razer phone, USB-A to USB-C cable recommended.
 
  • Like
Reactions: Heavyweightgd6

iliais347

Senior Member
Mar 17, 2017
157
20
18
If you are on the OTA Oreo 8.1 and dont have root, here's how to do so:

First request: Anyone that knows someone that can help get us WFD (Wireless Display Casting) enabled that would be very helpful. If you edit build.prop you can get it to show wireless displays in the System/Connected Devices/Cast but force reboots for me when I try connecting to my HP Lapdock

Now to TWRP/MAGISK

Make sure you are on 8.1, Android debugging is enabled under developer options and bootloader unlocked (Warning if you're not when you do this it wipes data).
Download TWRP.img & TWRP.zip from https://dl.twrp.me/cheryl
Download the Magisk 16.3 from here: https://github.com/topjohnwu/Magisk/releases/download/v16.3/Magisk-v16.3.zip (SuperSU will not work on 8.1 so magisk is your only option)
Download latest Platform tools from Google here: https://dl.google.com/android/repository/platform-tools-latest-windows.zip

Windows: In file explorer copy the twrp-installer-3.2.1-0-cheryl.zip to the sdcard of the Razer Phone
Windows: In file explorer copy the Magisk-v16.3.zip to the sdcard of the Razer Phone
Windows: Extract platform tools to any folder
Windows: Open a command prompt window at that directory
Windows: adb reboot bootloader
Windows: fastboot boot twrp-3.2.1-0-cheryl.img (This will boot to twrp without flashing) (DONT CLOSE, need it in a few minutes)
Razer Phone: Once in TWRP install zip twrp-installer-3.2.1-0-cheryl.zip then reboot to system after complete.
Windows: Once the Razer Phone has booted back up, go back to the command prompt window
Windows: Adb reboot recovery
Razer Phone: Once in TWRP install zip Magisk-v16.3.zip then reboot to system

All should be good, have not found any issues yet

I take no credit for any files in above tutorial, give credit where credit is due, donate a beer to those guys.

TWRP credit TWRP Team (https://twrp.me/)
Platform tools credit Google (Watch their ads on Youtube?)
Magisk credit Magisk team (https://github.com/topjohnwu)
so i did this and here is my only question. Does flashing twrp and magisk inside twrp, install them into both slot a and b? or no. if no then is there a need to manually switch slots and reflash magisk for example?
 

DarkestSpawn

Senior Member
Aug 16, 2010
275
104
73
so i did this and here is my only question. Does flashing twrp and magisk inside twrp, install them into both slot a and b? or no. if no then is there a need to manually switch slots and reflash magisk for example?
If memory serves I only flashed to the active Slot.
 

SeriousFlash

Member
Jan 28, 2018
44
9
8
Does this method cause a facotry reset?

This seems alot easier than the other methods.
It's that easy because of Oreo and the stuff that comes with it. If your bootloader is already unlocked it won't need a factory reset but if not unlocking your bootloader will erase all data on the phone.
 

DarkestSpawn

Senior Member
Aug 16, 2010
275
104
73
So doing this without an SD Card at the mo and I get the waiting on device when trying to do fastboot flash boot twrp-3.2.1-0-cheryl.img
Any help?
Having an sdcard in the device means nothing unless your trying to boot from sdcard...

You're stuck at that point because your fastboot drivers aren't installed or incorrectly. There have been many posts throughout the forum on troubleshooting the drivers, Google search.