Twrp + magisk on Oreo 8.1 from Windows

Azurren

Senior Member
Oct 5, 2010
102
29
0
Good afternoon everyone,

I am new to the "rooting" scene and am looking for some help. I am trying to follow the tutorial on here to root and install magisk onto my new Razer on Oreo 8.1.

When I run the command "ADB Devices", my phone is displayed and I am able to execute the command "ADB Reboot Bootloader".

But it is at this point I get stuck, If i run the command "fastboot -i 0x1532" to show my device, it does not show up. Furthermore, When i try to proceed with the tutorial, I get stuck on "Waiting for device".

Some help or direction would be appretiated.

Thank you.
First off your phone should display "Download mode" on screen if done correctly.
Try "fastboot devices" first in case you don't need to use the "-i 0x1532" prefix.
If that doesn't work try "fastboot -i 0x1532 devices".
If neither of the above work it is most likely a driver issue. Check device manager and ensure you have the bootloader driver installed. (Not ADB, Fastboot Bootloader)
 

PukkaVXR

Member
Jun 5, 2018
5
0
0
First off your phone should display "Download mode" on screen if done correctly.
Try "fastboot devices" first in case you don't need to use the "-i 0x1532" prefix.
If that doesn't work try "fastboot -i 0x1532 devices".
If neither of the above work it is most likely a driver issue. Check device manager and ensure you have the bootloader driver installed. (Not ADB, Fastboot Bootloader)
Thank you, I have been called in to work but I shall try this method once I'm back home.
I can confirm that I was in download mode and the device was just showing as "Android device" in my device manager.
I tried using the SDK to install the Google USB drivers but it didn't work.
When I'm home I will try and manually update the driver from disk and selecting Bootloader instead of ADB Fastboot.
Thank you for your help sir, I will post back with updates in roughly 7/8 hours.
 

PukkaVXR

Member
Jun 5, 2018
5
0
0
Thank you, I have been called in to work but I shall try this method once I'm back home.
I can confirm that I was in download mode and the device was just showing as "Android device" in my device manager.
I tried using the SDK to install the Google USB drivers but it didn't work.
When I'm home I will try and manually update the driver from disk and selecting Bootloader instead of ADB Fastboot.
Thank you for your help sir, I will post back with updates in roughly 7/8 hours.
Still not working. Well, kind of.
I have installed the drivers and when I type fastboot -i 0x1532 devices, my device shows up.
But after that step, when I type fastboot boot twrp-3.2.1-0-cheryl.img, it is stuck on waiting for device.
 

Azurren

Senior Member
Oct 5, 2010
102
29
0
Still not working. Well, kind of.
I have installed the drivers and when I type fastboot -i 0x1532 devices, my device shows up.
But after that step, when I type fastboot boot twrp-3.2.1-0-cheryl.img, it is stuck on waiting for device.
You'll need to replace every "fastboot" command you use with "fastboot -i 0x1532".
So for example "fastboot boot twrp-3.2.1-0-cheryl.img" becomes "fastboot -i 0x1532 boot twrp-3.2.1-0-cheryl.img"
 

killerdann11

Senior Member
Sep 21, 2013
56
6
0
Need some help. got twrp installed and everything, but the last step where you install magisk is not working for me. Everytime I try to install it, I get a "unable to mount partition". any ideas what i can do?
 

zenakent

Member
Sep 30, 2008
8
0
0
hello, everytime I run this command "fastboot boot twrp-3.2.1-0-cheryl.img"
I get this error
"FAILED (remote BootCMD is not allowed in Lock State)"

my phone has USB debugging on and the is OEM Unlocked
 

Sky-High

Member
Jun 13, 2018
10
0
0
Will this work for an allwinner T8 android 8.1.0 car headunit?
What TWRP version should i use? should i try sideloading several versions to see if one works or will that brick my device?
 

Azurren

Senior Member
Oct 5, 2010
102
29
0
Will this work for an allwinner T8 android 8.1.0 car headunit?
What TWRP version should i use? should i try sideloading several versions to see if one works or will that brick my device?
Errrrmm. No.
This is a recovery and guide built for the Razer Phone, using it on any other device will at best fail or result in a brick.

Sorry, I don't know anything about the Allwinner T8 so I can't point you in the right direction of how to go about rooting / flashing custom recoveries.
 
  • Like
Reactions: Sky-High

raze5115

Senior Member
Oct 12, 2011
257
22
0
Mesa
Is this phone's rooting method easier than the lg v20's dirtycow method? To me it seems just as complicated. And is this less prone to hard bricks than the dirtycow rooting method? I've rooted plenty of galaxy phones before and rooted a lg v20 with the dirtycow method and was thoroughly impressed with how prone the dirtycow method was to hard bricks. This will be my first razer phone. Or is this method just as easy as the odin galaxy method and less prone to hard bricks just like the odin galaxy method?
 

Leprechaun7

Member
May 1, 2012
24
1
23
failed

I finally updated manually to 8.1. After banging my head to get the drivers to detect my phone in download mode, I finally got the drivers to work and I see it under fastboot devices. Now I'm stuck at trying to fastboot the TWRP image:

C:\platform-tools>fastboot devices
181801V00403118 fastboot

C:\platform-tools>fastboot boot twrp-3.2.1-0-cheryl.img
Downloading 'boot.img' OKAY [ 0.843s]
booting FAILED (remote: unknown command)
Finished. Total time: 0.863s

C:\platform-tools>fastboot flash boot twrp-3.2.1-0-cheryl.img
Sending 'boot__a' (23120 KB) OKAY [ 0.801s]
Writing 'boot__a' FAILED (remote: No such partition.)
Finished. Total time: 0.801s

I'd appreciate any help. My bootloader is unlocked, unless it relocks when I update to 8.1.

Thanks
 

waiflih

Senior Member
Mar 10, 2011
343
117
0
Santiago
I finally updated manually to 8.1. After banging my head to get the drivers to detect my phone in download mode, I finally got the drivers to work and I see it under fastboot devices. Now I'm stuck at trying to fastboot the TWRP image:

C:\platform-tools>fastboot devices
181801V00403118 fastboot

C:\platform-tools>fastboot boot twrp-3.2.1-0-cheryl.img
Downloading 'boot.img' OKAY [ 0.843s]
booting FAILED (remote: unknown command)
Finished. Total time: 0.863s

C:\platform-tools>fastboot flash boot twrp-3.2.1-0-cheryl.img
Sending 'boot__a' (23120 KB) OKAY [ 0.801s]
Writing 'boot__a' FAILED (remote: No such partition.)
Finished. Total time: 0.801s

I'd appreciate any help. My bootloader is unlocked, unless it relocks when I update to 8.1.

Thanks
try with
fastboot flash boot_a twrp-3.2.1-0-cheryl.img
 

Leprechaun7

Member
May 1, 2012
24
1
23
try with
fastboot flash boot_a twrp-3.2.1-0-cheryl.img
Thanks! I tried the original fastboot boot twrp-3.2.1-0-cheryl.img on anther computer worked fine. Got into TWRP and installed it. Now when I reboot, I just reboot back into TWRP. I tried to boot slot B and that is just stuck in a boot loop. I tried flashing 3.2.2 still same problem. Slot A reboots to TWRP.

Any help would be appreciated.

update: I reupdated to 8.1 and got my phone back to 8.1. At least I don't have a brick at the moment. I would still like to get TWRP and Magisk working.
 
Last edited:

Leprechaun7

Member
May 1, 2012
24
1
23
Thanks! I tried the original fastboot boot twrp-3.2.1-0-cheryl.img on anther computer worked fine. Got into TWRP and installed it. Now when I reboot, I just reboot back into TWRP. I tried to boot slot B and that is just stuck in a boot loop. I tried flashing 3.2.2 still same problem. Slot A reboots to TWRP.

Any help would be appreciated.

update: I reupdated to 8.1 and got my phone back to 8.1. At least I don't have a brick at the moment. I would still like to get TWRP and Magisk working.
Anyone else having this problem? I manged to boot TWRP but when I install it and reboot. I just come back to TWRP, can't boot into the system.
 
Apr 23, 2013
7
1
0
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.
Where did you find that at and how do you install it? My device manager refuses to acknowledge that the google usb drivers work with the razer phone.
 

SeriousFlash

Member
Jan 28, 2018
44
9
8
Sorry for the late reply, I'll add a screenshot later today. So people with similar issues can solve them easier.

So, I've got new hardware and no fastboot drivers etc. installed but it should be doable without any screenshots, everything would be german anyways:
1. go to hardware management and right click the razer phone device
2. click device update
3. choose local
4. choose list from your pc
5. try all the drivers for adb/fastboot

for me some older ones from like 2014 worked and not the most recent from google which were adviced by op and also the op from the fool proof guide
 
Last edited:

a7mad 3issa

New member
Nov 12, 2018
1
0
0
i have infinix note 5 stylus x605

i keep giving me this:
booting FAILED (remote: 'invalid kernel address: not lie in memory')
Finished. Total time: 1.141s

---------- Post added at 01:40 PM ---------- Previous post was at 01:26 PM ----------

i have infinix note 5 stylus x605
i need TWRP to make root for my device
 

Ganakim

Member
Oct 3, 2016
8
0
0
22
Orem
Can't get twrp to boot

I'm to the point that I am trying to boot to twrp, but when I run the command "fastboot boot twrp-3.2.2-0-cheryl.img" It comes back with a "No such file or directory found" Does this method only work with v3.2.1? Should I be putting the actual .img file directly in the root of my sdCard?