• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root for unlocked Pixel 2xl

  • Thread starter Thread starter Deleted User
  • Start date Start date
My pixel 2 xl is rooted with magisk. I can confirm that it works with even the most recent security patch on pie. Just make sure you're using the latest.

Sounds like you're having issues getting TWRP to boot... Are you using the latest TWRP.img from the link I posted?

Can you tell me the name of your twrp.img?
 
The twrp.img i'm going to use is 3.3.0.0. I'm using a guide from nathanchance@xda-dev. Platform-Tools, Magisk v16.7, twrp zip, twrp img, & factory image 190405.003. If you used a better guide, then i'll be happy to try it.
 
OK, a new problem popped up. Typed in command...adb - -devices, and all went well. Typed in command...fastboot - -devices, and i got this message...fastboot is not recognized as an internal or external command. Wow, i haven't even gotten to the good part yet. HELP!!!
 
For fastboot, are you running your command prompt from the right directory? That error sounds like you are not running the command from the directory that has the fastboot utility
 
Opened Platform-Tools directory, clicked on the platform-tools file, clicked on the top search bar and typed in cmd. Command window popped open.
 
Oh, I just went back and read your last post. You have to have the phone in fastboot mode to run fastboot commands.

Use the command: adb reboot bootloader

Wait for the phone to get to the bootloader screen then try fastboot devices and see if it returns your serial number
 
Annotation 2019-04-17 213751.png
Now you can see what i'm up against.
 
Yeah, you're not running the commands from the right directory. In command prompt type:

cd desktop

Then type:

cd platform-tools


Your command prompt should look like:
C:\platform-tools> "type command here"
 
Annotation 2019-04-17 222541.png
Here's another one. The only way that i can get the number underneath adb devices, is if i take the phone out of bootloader mode. Is it possible that we can pick this up again tomorrow? I really do appreciate your help, but i'm kind of beat now.
 
That looks like the same screenshot to me. Still looks like the commands aren't being run from the correct directory, unless you uploaded the wrong screenshot?

I have a busy day and evening tomorrow but might be able to help around this time for a little bit tomorrow night.
 
sounds good, thanks. One thought, could it have something to do with the locking and unlocking of the phone? what does the unlock_critical command do?
 
Criitical isn't necessary for rooting. I can't remember exactly what extra options the critical unlock gives you, it might be for the ability to flash bootloaders but I'm not 100% sure. It's been awhile since I've read up on that.

But you should be able to root with a critical or normal flashing unlock. It really looks to me like your command prompt is incorrect. It looks like you aren't running the commands from the right directory.
 
View attachment 141279 Here's another one. The only way that i can get the number underneath adb devices, is if i take the phone out of bootloader mode. Is it possible that we can pick this up again tomorrow? I really do appreciate your help, but i'm kind of beat now.
OK..
  • Adb: can be used while device is powered on or in recovery.
  • fastboot: only used while in bootloader mode. That's it. period
 
I don't know what other directory to use. I've always gotten past this part, and gotten stuck with the "magisk" part.:(
 
I don't know what other directory to use. I've always gotten past this part, and gotten stuck with the "magisk" part.:(
Did you try changing the directory like I mentioned above?

Your command prompt looks like this:
C:\> commandgoeshere

It should look like (assuming your platform tools are on the desktop from your screenshot):
C:\Desktop\platform-tools> commandgoeshere

Capture.PNG

Basically, your command prompt needs to be running the commands from the exact location that your platform-tools folder is located.
 
If you're on Windows 10, which it looks like you are, you can alternatively open the command prompt and then type: cd [hit the space bar] then drag the platform-tools folder into the command window. It will fill out the path. Then hit the enter key and your path should be updated.
 
Thank you. I'll try that in the morning, and let you know. Thanks for all your help.:D
 
Getting ready to try rooting again. Reminds me of the movie Groundhog Day. Just wondering why the answers i'm getting on this website, aren't going to my phone, just my PC?
 
Why don't you just fastboot the twrp to the phone:
Code:
fastboot flash recovery twrp.img

Then boot into TWRP:
Code:
fastboot reboot recovery

Or use manual buttons of device, then finally use twrp itself to flash magisk.zip
 
Why don't you just fastboot the twrp to the phone:
Code:
fastboot flash recovery twrp.img

Then boot into TWRP:
Code:
fastboot reboot recovery

Or use manual buttons of device, then finally use twrp itself to flash magisk.zip

You can't flash TWRP on this device. You have to fastboot boot twrp, then you can flash a zip for permanent install if you want.
 
Back
Top Bottom