yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] rajkatiyar07:
Hi Everyone,

My PX2L is on android 11 and i am trying to root it but unable to do so as you can see below.

I have tried with pixel 2 xl's USB-C cable and one more cable i have in spare with different ports but no luck. Please help if you have any idea.

C:\Users\vrjr\Desktop\pixel>adb devices

List of devices attached

710KPYR0210466 device

C:\Users\eaavrjr\Desktop\pixel>adb reboot bootloader >> device booted to bootloader within seconds

C:\Users\eaavrjr\Desktop\pixel>fastboot devices >> Can't get any output of this as you can see

C:\Users\eaavrjr\Desktop\pixel>fastboot flashing unlock

< waiting for any device >
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
Are your platform tools up to date?
[Google Pixel 2 XL Guides, News, & Discussion] rajkatiyar07:
Yes Sir ! Downloaded the latest version 30.0.4 (July 2020) from google sdk platform. Any other reasons which i should cross check ?
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
No you are good. You have debugging on?
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
The only thing that sticks out to me is that you jump from adb to fastboot, not sure if that's even an issue but you're seeing your device via adb and not with fastboot commands. I've never used adb, only fastboot, so I could be totally wrong on this :p

Try booting your device to the bootloader

Connecting your device to the PC

Type: fastboot devices

See if that gives you a serial number.
[Google Pixel 2 XL Guides, News, & Discussion] ram31363:
I too cannot root.

I have flashed the Oct version of Andriod 11 (wo/-w) as usual and booted unrooted fine.

Have Magisk Canary manager installed.

Tried flashing Magisk-4e0a3f5e(2100005) via fastboot twrp 3.4.0-1 which left me in a boot loop.

Then I reinstalled the Google Oct image and booted unrooted fine.

Then I tried the patch image (following the instructions to produce "magisk_patched.img") to both slots via fastboot (fastboot flash boot_a magisk_patched.img and fastboot flash boot_b magisk_patched.img which left me in a boot loop.

Now I'm unrooted and at me whits end.

The only thing I have not tried is a full restore (leaving the -w in the mix) but I'm hoping I will not have to go that route.

Any/all help is heatedly appreciated!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
If it were me, and it's not, I would start with a fresh platform-tools, and try another USB A to C cable and ports and try fastbooting the patched.img again to both slots with:

fastboot flash boot magisk_patched.img --slot=all

And make sure you're using command prompt vs powershell. I had a similar issue when I updated my P4XL earlier this month. Turned out to be the USB cable which the P2XL is notorious in that regard. Best of luck to you :good:
[Google Pixel 2 XL Guides, News, & Discussion] srqrob:
Curious how many others may be in my boat. I have hung on to my Pixel 2 XL since new and have now ordered a Pixel 5 and looking forward to what to do with it. Don't mean to divert here with an off-topic so apologies if I'm way off.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
Since there isn't a 5 XL, I'm keeping my Oct 2018 2XL waiting for the 6 XL :p
[Google Pixel 2 XL Guides, News, & Discussion] JimSmith94:
The Pixel 5 screen size is 6", the same as my Pixel 2 XL, which I'm happy with. I have a strong 5G signal in my area so I think I will get the Pixel 5 for that. If it feels too small in my hand, I'll just put a bigger case on it.
[Google Pixel 2 XL Guides, News, & Discussion] rajkatiyar07:
Yes Sir, As you can see my device is responding adb devices command. :( Now i have tried almost 10 cables with my friends and family members still out of luck.

---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------

Already tried sir, again & again. But no luck. Now i am so frustrated that i have dropped the idea until a get another laptop or system.
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
Do you have oem unlocking on in the developer settings?
[Google Pixel 2 XL Guides, News, & Discussion] Xg3nFatality:
Bricked phone?

I don't know if this would be the correct place to post so let me know if I need to post elsewhere.

I was trying to upgrade to 8.1. I've seen that everyone is saying that the bootloader needs to be unlock_critical. When I tried to that to root 8.0 it never worked and only just unlocked the device. I figured I would try and do the unlock_critical again but stated that it was already unlocked. So I figured that I would go back and relock the bootloader.

I booted the device up and turned off the OEM unlocking, rebooted the device back into bootloder and then locked the phone. Upon rebooting the device it now states that I do longer have an OS. I can't unlock the bootloader to flash an OS since I turned off the OEM unlocking and I can't boo back into an OS because it says that its missing.

How screwed am I? :crying:
[Google Pixel 2 XL Guides, News, & Discussion] equlizer:
https://xdaforums.com/pixel-2-xl/help/getting-device-corrupt-trusted-properly-t3701317

The answer was right in front of my face. Matt1313 had the answer but i never had to switch slots. I believe i got this error from the unlock/flashing guide when you patch your boot.img using magisk. The error started after i flashed the modified boot.img.

So after fixing the red triangle error i went into the bootloader then fastboot boot the twrp, then decrypted using your 4 digit pin code if you have one then flashing twrp.zip then magisk.

---------- Post added at 09:24 PM ---------- Previous post was at 09:10 PM ----------

I may be wrong but i believe you have to download the latest image from the link below and start again.

https://developers.google.com/android/images
[Google Pixel 2 XL Guides, News, & Discussion] Xg3nFatality:
I can't flash anything because the bootloader is locked :/
[Google Pixel 2 XL Guides, News, & Discussion] equlizer:
Can you use ADB on your phone? is it recognized? if so you could sideload onto your phone.
[Google Pixel 2 XL Guides, News, & Discussion] Xg3nFatality:
The only thing I have access to right now is just fastboot. I can't boot into an OS to get access to adb
[Google Pixel 2 XL Guides, News, & Discussion] equlizer:
flash the unlock command and the critial one in fastboot. I had luck with the skipsoft tool to get me through some troubles.
[Google Pixel 2 XL Guides, News, & Discussion] Xg3nFatality:
I tried doing the unlock command and also the critical command but they won't work since I turned off OEM unocking when I had access to the OS. I'll check out the skipsoft tool and see if I can get anywhere with that

---edit---

Looks like Skipsoft tool doens't support Pixel 2 xl yet :(
[Google Pixel 2 XL Guides, News, & Discussion] equlizer:
https://xdaforums.com/pixel-2-xl/development/tool-skipsoft-android-toolkit-google-t3702028

It works great actually :)
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Yeah, but if he can't get OEM unlocking checked off....it's pretty much game over! Sorry dude :(
[Google Pixel 2 XL Guides, News, & Discussion] Oakley707:
You should be able to go into recovery from fastboot. Once there, you should be able to hit power and volume up and there is an option to adb sideload. You should be able to adb sideload a full image? I haven't tried the last step, but I really think it should work. Maybe one of the veterans can confirm this would work.
[Google Pixel 2 XL Guides, News, & Discussion] c0de_junkie:
Hello all, I just picked up this phone today, and I am yet to do anything with it yet. I was just wondering, the system is offering me a system update to v8.1.0 and I an currently on v8.0. My question is should I take the OTA update first before I try unlocking it and rooting it? or should I unlock and root it before installing the v8.1.0 update? Thanks a lot for any tips.
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Take the OTA and go from there. It'll be far easier to start that way, then learn adb, fastboot, and SDK before you unlock and root. At least your starting with the latest software if things go awry.:good:
[Google Pixel 2 XL Guides, News, & Discussion] c0de_junkie:
Thanks for the tip... Been a minute since I have modded a new phone, so I got lots of reading to do.
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
When you're ready to take the plunge into the dark abyss, these are the steps I used successfully. All required links and filenames are included with easy to follow steps.
[Google Pixel 2 XL Guides, News, & Discussion] c0de_junkie:
Thank you very much!!
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Dang!....Ninja'd by AZ again! :good:
[Google Pixel 2 XL Guides, News, & Discussion] Az Biker:
WHY U SO SLOW?????? :p
[Google Pixel 2 XL Guides, News, & Discussion] Badger50:
Guess I just don't have Jedi force moderator thread responding skills! :cool:
[Google Pixel 2 XL Guides, News, & Discussion] wallaceb:
is it recommended to follow your instructions utilizing TWRP or to follow the instructions in the OP if one is only interested in having root and still be able to install OTA updates? It has already been stated at least that if one still wants OTA, one can use TWRP just dont actually flash TWRP itself.
[Google Pixel 2 XL Guides, News, & Discussion] sportytony:
I, just installed 11 last night and rooted mine. I have a 7 pro and 8 pro but this taimen is also one of my favorites and longest held phone ever . To try and make a long story short, I finally fixed my charging problem on it , installed 11 and rooted it.

I updated to most recent 10 first without -w rooted and twrp, then installed 11 with fastboot and flash-all with w. Here is interesting part. Having downloaded magisk ( canary) and most recent twrp img , I installed 11 booted up. Copied magisk to cell, rebooted to bootloader ( always in Windows typing adb devices at command prompt of platform tools) debugging on and phone to transfer files to, then reboot command to twrp img. Don't install, just reboot to twrp then install magisk canary zip! Reboot , rooted. I hope this helps. Took me a while, but it worked and I'm using my rooted taimen now.
[Google Pixel 2 XL Guides, News, & Discussion] rajkatiyar07:
Yes Sir. all settings are good. just dont know why its not working. I am trying to get another laptop. By the end of month will be seeing an old friend. I will try on his laptop, lets see how it goes.
[Google Pixel 2 XL Guides, News, & Discussion] jazzdglass:
Any bootloader unlocking luck for a pixel with OEM unlocking greyed out? On Android 11 already.
[Google Pixel 2 XL Guides, News, & Discussion] Strephon Alkhalikoi:
Nope.
[Google Pixel 2 XL Guides, News, & Discussion] imarq24:
My first question is it rootable? I've got a Verizon Verizon which is unrootable ?. And would you be willing to give it away?
[Google Pixel 2 XL Guides, News, & Discussion] Dreiundachzig:
Do I have to flash the factory image or can I unlock and root using magisk?
[Google Pixel 2 XL Guides, News, & Discussion] Will008:
Anybody try to root the December update yet? Is magisk working well? if yes, which version?
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Yes.

Yes

Beta 21.1

(y)
[Google Pixel 2 XL Guides, News, & Discussion] failax:
What method have you used to root with magisk?
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
I patch the stock boot image and then flash the magisk_patched.img with fastboot.
[Google Pixel 2 XL Guides, News, & Discussion] xilex1:
I ran my phone through here (https://www.imeipro.info/check_lg.html) and it returned the below. Is this a Verizon model? I can't enable OEM unlock on this phone. Thanks.

Brand:	LG
Phone model:	Pixel 2 XL G011C

Product model:	G011C
Buyer code:	VRX
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Yeah, that's Verizon.
[Google Pixel 2 XL Guides, News, & Discussion] 2x4:
hey guys been away for a few years but interested ROMs - what's the flashing process for ROMs on the Pixel 2XL? i've been reading it's different due to the A/B partitioning so no traditional permanent TWRP? i'd like to continue being able to use gpay/banking but don't need root explicitly
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Boot up the latest TWRP in fastboot ( fastboot boot <name of twrp.img> ) temporarily and then flash the rom in TWRP rather than "installing" TWRP and then flashing. This way if you need root (to pass safetynet and use gpay/banking apps) you can b/c you can't "install" TWRP and use Magisk at the same time at the moment.
[Google Pixel 2 XL Guides, News, & Discussion] xilex1:
:mad: damn
[Google Pixel 2 XL Guides, News, & Discussion] pissat4motion:
I'm new to 2XL. Phone was updated to 11. Phone has unlocke bootloader. I jumped the gun and installed TWRP AND Magisk.. and of course that resulted in a nice little bootloop. Managed to uninstall Magisk. Just want to be clear on how I should move forward if my intent is to install custom ROMs.

uninstall TWRP (best way?)

Install TWRP image in fastboot

..from there I can install magisk for ROOT and/or install custom ROM from there.

That correct?

TIA

**Haven't done much in the way of custom ROMs since my nexus 6. Coming most recently from a Pixel XL
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Temporarily boot up TWRP in fastboot and install what you want from there. Just don't "install" TWRP.
[Google Pixel 2 XL Guides, News, & Discussion] Rootmaster906:
U familiar on doing the pixel 1st gen? Oem unlock is greyed out. It's an authentic google pixel
[Google Pixel 2 XL Guides, News, & Discussion] Janfri:
Is it possible to patch the stock boot image with magisk but on another device and later flash it to the Pixel? I just bought a Pixel 2 XL but it has not arrived yet, so I wonder if I can prepare the patched boot image I want to flash when it arrives on mi Xiaomi, which is already rooted and has magisk installed. Thank you!
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
I'm not sure if Magisk checks your ramdisk, A/B, etc. status before it patches the boot image, so to be safe I would just wait.
[Google Pixel 2 XL Guides, News, & Discussion] Janfri:
I waited until this morning and at 11 a.m. the phone arrived, brand new.:) The battery was totally empty, as I had expected, after more than two years in the box. The phone charged from 0 to 100% in 3 hours and booted for the first time. Y activated developer options, bootloader unlock and usb debugging, followed the excellent instructions of this thread and installed Android 11, Magisk and ElementalX kernel, which I had bought years ago when I enjoyed a Nexus 4. I am really happy with my new phone, which is Android but also has a Windows XP like blue screen as an extra. Thank you very much for your help!
[Google Pixel 2 XL Guides, News, & Discussion] soxxoz:
My friends, I have buy this pixel 2 xl for fun, but I can't understand some things, can you help me?

I have upgrade it to last stock version, flash twrp, magisk, and edexposed+gravity.

1- I have root access, but I can't delete system's app folder in product/app. Why? (Adaway work only systemless)

2- twrp can't mount system and vendor. Why? Are these issues normal?

thank you
[Google Pixel 2 XL Guides, News, & Discussion] Janfri:
At the moment you can't flash twrp and magisk together when yoy run Android 11. It's clearly explained in the guide in post 1.
[Google Pixel 2 XL Guides, News, & Discussion] soxxoz:
Thank you for the answer.

But I have the same issue with many stock versions

ANDROID 11

A) flash twrp - reboot system - flash magisk

B) flash twrp and magisk - without reboot

ANDROID 10

A) flash twrp - reboot system - flash magisk

B) flash twrp and magisk - without reboot

In any case: Magisk (root) works, Edxposed works, Gravitybox works

But I can't edit system folder with the file manager, and system & vendor partitions still not mountable on twrp.

Could you link me where they talk about it?

Because the first post is edited in 2018 and I don't find reference to android 11.
[Google Pixel 2 XL Guides, News, & Discussion] Janfri:
As far as I know, with Android 11 you have too boot into twrp from the image with fastboot, but you may not install twrp. From twrp you flash the rom and the boot image of the stock rom patched with magisk and once booted, you install the magisk app.
[Google Pixel 2 XL Guides, News, & Discussion] soxxoz:
(I tried both flashing twrp and only boot it)

I need to start from the beginning:

1) The impossibility of edit root/product/app folders, and the impossibility of mount Vendor and System partitions in twrp, are connected ?

2) Is this impossibility (to mount partitions/to edit root directory) normal in android 10-11 ?
[Google Pixel 2 XL Guides, News, & Discussion] zerodi:
Hi guys wanting to buy a 2XL, what are the versions from US that support OEM Unlock ? Or do i need to get an EU Version ? Many Thanks
[Google Pixel 2 XL Guides, News, & Discussion] Jasmine Moon:
Hello. I hope it is ok to ask if it is possible to root a Verizon variant Pixel 2 xl here(I know this is a forum for google edition).

I just bought two pixel 2 xl and even I asked them if it is non Verizon(They said it has no previous tie to Verizon). But when they arrived and I checked with IMEI, it said they are Verizon variants.

If not is there any tips to buy google edition? I am struggling to find a google edition.

i appreciate any advice.
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
I had the Same issue when I was shopping for one, I ended up getting it from google, which sadly isn't possible any more.
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
Have you tried swappa?
[Google Pixel 2 XL Guides, News, & Discussion] Lughnasadh:
Although some people have reported that they were able to unlock the bootloader with a Verizon variant, this is an extremely rare case. So most likely, no, you can't unlocked the bootloader so you can root with a Verizon variant.

When buying a Pixel 2 XL, you can ask the seller to see if they can toggle on the OEM unlocking switch in developer options. If so, you should be able to unlock the bootloader and root it.

You can also have the seller give you the IMEI or input the IMEI themselves at this site... https://www.imei.info/check-lg-phone-details/

If it is a Verizon variant, something like "VZW" will show in the Buyer Code results.

Also, I find Swappa a good place to buy phones. You can ask questions about being able to unlock the bootloader and your discussion with the seller will be on record so if it turns out what the seller was saying was not true you will have a record of it and should be able to return it.
[Google Pixel 2 XL Guides, News, & Discussion] Chaninoza:
hello everybody, im new here to the pixel world, i already flashed protonAosp and everythign is working as it should. My question now is how do you root with the new magisk apk? it gives the option to search and patch a file but i dont know for certain what to look for
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
I still flash the last flashable Magisk then update from there.
[Google Pixel 2 XL Guides, News, & Discussion] Freedcx:
Will this work on any carrier brand of pixel 2 xl?
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
All except Verizon issued phones.
[Google Pixel 2 XL Guides, News, & Discussion] Franhacker50:
Verified.

; )
[Google Pixel 2 XL Guides, News, & Discussion] RedP90D:
stuck in a boot screen. screen is white and G logo and line underneath moving for a few minutes now. this happened after i followed the last step:

"It’s now time to flash the patched boot.img file onto your Pixel device. Type in the below command and hit Enter

fastboot flash boot magisk_patched.img"

nevermind! it booted lol

any solutions?
[Google Pixel 2 XL Guides, News, & Discussion] eragonhnn:
Android 12 is fast approaching, hopefully someone will successfully unlock Verzion's damn bootloader.
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
It'll never happen
[Google Pixel 2 XL Guides, News, & Discussion] Superorb:
I unlocked critical and regular bootloader, but I keep getting an error when trying to flash TWRP from the TWRP temp boot. Ideas?

"ERROR: 1. Failed to unpack image"
[Google Pixel 2 XL Guides, News, & Discussion] jwspec01:
Sorry if this has been answered, I looked through a few pages, but not the full 192 page history...

I have a Pixel 2 that I purchased from Google (so no carrier blocks) that I am unable to unlock the bootloader for.

I have tried the steps here, as well as some other steps I found around the forum, but with no luck.

Upon fresh factory reset, I can flip the OEM unlock to true.

I reboot into bootloader and attempt to run fastboot commands, but they fail with "Flashing Unlock is not allowed" error.

I boot back into the regular OS and now the OEM unlock is false and greyed out.

I must then factory reset to get the OEM unlock set to true again.

I have the latest ADB executables and have tried on my old laptop, in case USB 3.0+ was the issue.

Any help is greatly appreciated!
[Google Pixel 2 XL Guides, News, & Discussion] greyhd:
Do you have the latest platform tools? Check for updates.
[Google Pixel 2 XL Guides, News, & Discussion] jonpjingleheimler:
when you plug in your device (before reboot to fastboot) open a terminal on your computer and type adb devices

Once entered this should trigger the handshake. a message will come up on your phone asking if you want to allow to your phone to connect. I check the "always allow" box. when I read your description it sounds like you turn on oem unlock but then immediately boot into fastboot to unlock before you've had a chance to plug the phone in and check if the computer can communicate with your phone. you did a factory reset so you could turn on oem unlock but the reset also means you need to reauthorize your device to communicate with the computer. I hope you get it.
[Google Pixel 2 XL Guides, News, & Discussion] baikal2:
I recently brought a NIB Pixel 2 XL from Newegg. The phone came with a verizon sim on it but dont think it was never activated on verizon.

My Phone Infos

Android Version: 8.1.0

Android security patch level: Dec 5, 2017

Build number: OPM1.171019.011

I am hoping somebody cna give me tips on how to unlock the bootloader and root the device and flash a new kernel.

I dont have too much experience in these matters. My goal is to get to Android 10 and flash the elemental kernel. Are the instructions in the OP good enough. How do i go to android 10 once I root ? TIA
[Google Pixel 2 XL Guides, News, & Discussion] @rc@nE:
Installing Nethunter on Google Pixel

Please follow this tutorial for educational purposes and at your own risk. This is something i did on my personal device and decided to…

ahmedulde.medium.com

I have written my notes here
[Google Pixel 2 XL Guides, News, & Discussion] flash713:
Go here https://www.verizon.com/bring-your-own-device/#checkDevice

and type in your IMEI and if it's not Verizon it will say NOT VZN. If it is Verizon then the bootloader unlock is a no go as far as I know. Hope that helps.
[Google Pixel 2 XL Guides, News, & Discussion] carbon coupe:
Hello. I'm looking for steps to reacquire root. I was rooted on stock 10. The OTA was downloaded somehow and I had to recently reboot. I now lost root and would like to get it back. Following are the steps I believe to be the path:

1. adb reboot bootloader

2. fastboot boot (twrp.img)

3. flash factory image <-- Question: Since the OTA is installed, should I use that image or the other? I dont want to wipe... (remove -w)

4. boot

5. adb reboot booloader

6. flash twrp.zip

7. flash magisk

8. reboot and enjoy root.

Please correct any step or entire process. I used to do this stuff all the time but the past couple of years, Im way too busy to mess with my phone all the time, and, I need stable functionality for work purposes.

Thanks in advance.
[Google Pixel 2 XL Guides, News, & Discussion] Rootmaster906:
was it a verizon phone?
[Google Pixel 2 XL Guides, News, & Discussion] Nergal di Cuthah:
Probably not as they had root before the update