yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] 10Shilling6Pence:
Yes I did.

When I try "adb version" it displays the version, but the rest of the initial commands yield the same "error: closed"

I got this to work yesterday when I sideload 8.0 beta from 7.1.2 (I was frp locked kek) but now that I updated to 8.1, adb doesn't seem to work.

I actually found that page you referenced in an attempt to rectify my problem. Admittedly, I am inexperienced, and sifting through these posts gets confusing.
[Google Pixel XL Guides, News, & Discussion] subzero2000:
A few things to try.

If you're on Windows, make sure you don't have Samsung or some other vendor's drivers installed, that can cause problems.

If you're on Linux (and possibly MacOS as well), I've found that the adb server usually needs to be launched with elevated privileges. There are a few ways to address this, but the easiest is to use sudo to run adb; i.e. 'sudo adb'

Try killing the adb server using 'adb kill-server' and try again.

And try rebooting your phone and computer.

Hopefully something I listed above will help.
[Google Pixel XL Guides, News, & Discussion] 10Shilling6Pence:
Yes, I had to go through this to get it to work the first time, but I might do it again since I was using another phone to transfer files to the computer I was performing this on (wireless hotspot is throttled so ive been downloading onto phone and drag-n-dropping files)

I suppose it's possible that simply plugging in the other phone (Note8) will contaminate things a bit. If that doesn't work, do you have any other suggestions?
[Google Pixel XL Guides, News, & Discussion] subzero2000:
Simply plugging in a Note 8 shouldn't do it, but if it prompts you to install Windows drivers for it, that might. You might see something like 'Samsung USB Driver' or 'Samsung ADB Driver' in Windows Add/Remove Programs if they're installed. Uninstalling them when working with non-Samsung phones is usually required in my experience.

As for other things to try, not off-hand, but I'd like to know what you've tried that hasn't worked first.
[Google Pixel XL Guides, News, & Discussion] post-mortem:
I just moved from a Samsung phone to a Pixel. I do have "SAMSUNG Android Phone -> SAMSUNG Android ADB Interface" and "Universal Serial Bus controllers -> SAMSUNG Mobile USB Composite Device" installed, and I had no problem unlocking the bootloader on my Pixel, using my Windows computer.

BTW, I'm not the person you replied to; I just wanted to add my 2 cents.
[Google Pixel XL Guides, News, & Discussion] subzero2000:
Fair enough. I've seen that cause problems in the past, thanks for that input [emoji846]
[Google Pixel XL Guides, News, & Discussion] Jaws4God:
I just purchased a Google Pixel on Swappa.. and the seller noted he already unlocked the bootloader... is there a quick and easy way for me to confirm it is still unlocked when it arrives? Thanks!
[Google Pixel XL Guides, News, & Discussion] scutworker:
Yes. Hold the volume down key and press and hold power whilst it is turned off. It will boot into bootloader and the unlock status is shown there.
[Google Pixel XL Guides, News, & Discussion] Versatil2010:
daaammmm ! Lol thank you for this. I just picked up a pixel and it turned out to be a verizon unit, i confirm this is still working as of today. when you go in for the toggle it will still be gray and it scared the heck out of me but just give it a 1-2mins and it will be avilable, like mentioned go back out and in if needed.

---------- Post added at 07:30 PM ---------- Previous post was at 07:27 PM ----------

---------- Post added at 07:31 PM ---------- Previous post was at 07:30 PM ----------

or if you go in to check oem unlock toggle it will say its unlocked under it.
[Google Pixel XL Guides, News, & Discussion] Xihexa.io:
I just purchased a Pixel 2 XL from Verizon running the latest Oreo build. I've followed all the directions provided to the T however even when I select enable oem unlock in dev options, fastboot continuously claims failure on both unlocking the bootloader and flashing.

Am I doomed to wait until there is another method, or should I try it on P Beta 5?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
[How-to] Unlock bootloader on Verizon Pixel/XL by burduli

Not the Pixel2/XL2
[Google Pixel XL Guides, News, & Discussion] Xihexa.io:
Ah, I misread the title wrong lmao
[Google Pixel XL Guides, News, & Discussion] Jaws4God:
Where is the unlock toggle located ?
[Google Pixel XL Guides, News, & Discussion] post-mortem:
Settings -> System -> Developer options -> OEM unlocking
[Google Pixel XL Guides, News, & Discussion] Versatil2010:
System - Developer Options
[Google Pixel XL Guides, News, & Discussion] Jaws4God:
thank you both! ?
[Google Pixel XL Guides, News, & Discussion] grhomes:
Just received an Asurion replacement Pixel XL (for an unlocked model that I got from Google) and I was sent a Verizon Pixel XL. It arrived with the June patch (OPM4.171019.021.D1), couldn't get the message to un-grey itself so decided to check the recovery logs...and somehow it says "ro.boot.oem_unlock_support=0" :(

That mean I'm toast and there's no point in trying this method any longer? Currently super bummed.
[Google Pixel XL Guides, News, & Discussion] Versatil2010:
I picked up the pixel a week ago and it also had the latest build, i wasn't able to get it to open OEM unlock but I kept trying and I'm on RR ROM unlocked and rooted. Keep trying, the first 3 posts will give you all the details you need.
[Google Pixel XL Guides, News, & Discussion] paperjam252:
Make sure you follow the instructions step by step. If that still doesn't work, I just unlocked a Verizon Pixel on DP5 on the first try with no problems using these same instructions. Just go on the Android Beta site, enroll and take the OTA.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Hello,

I'm currently using P but want to try this, if it works.

I was wondering if this should work prior and after? I can't use titanium backup because I'm not rooted yet.

https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Trying now with pixel xl.

I had to wait a few minutes and go back into dev options to get OEM unlocking not grayed out.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Ok, it's unlocked, but now I have to find out how to easily root Pixel XL with Android P :/
[Google Pixel XL Guides, News, & Discussion] post-mortem:
You should be able to boot TWRP, then use TWRP to install the Magisk zip. Then, you'll be rooted.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
---------- Post added at 10:03 PM ---------- Previous post was at 10:01 PM ----------

[/COLOR]

Thanks.

I've been doing that all day, and when I install Magisk 16.7 zip, I cannot boot afterward into system. It goes to Google logo, horizontal loading, then reboots to recovery, etc.

I have to fastboot flash boot.img from DP5 again just to boot into system.
[Google Pixel XL Guides, News, & Discussion] post-mortem:
So you start over by flashing the boot.img? Have you tried reflashing the full factory image?
[Google Pixel XL Guides, News, & Discussion] H0wdy:
I can try that next. Does that delete all my data?

As I recall, it doesn't. But that will just result in me still not having magisck :/
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Just tried it. Same thing :(

flash-all DP5 (to keep data remove -w)

boot twrp

Install twrp

Install magisk 16.7

Reboot system
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Thank you for trying. If there's another way to get root, I'm all ears :)
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Just Curious :rolleyes::

Did you remove the pin/fingerprint before you installed DP5?

Did you boot/install twrp 3.2.1-2.img/zip?

Modified

Remove Pin (Security - set to none)

flash-all DP5 (to keep data remove -w)

boot twrp 3.2.1-2/3.2.2-0

Install twrp 3.2.1-2/3.2.2-0

Install magisk 16.7.zip

Reboot system

If that doesn't work, count your blessings, you're rooted. So, enjoy Android 8.1.0 (rooted) until Android 9.0.0 drops (August 20, 2018 -Maybe):)
[Google Pixel XL Guides, News, & Discussion] mycalculations:
Just a question, is there any way to make this work with the pixel 2? I know it was said the commands don't work, but I'm not sure if that's still a problem. Thanks!
[Google Pixel XL Guides, News, & Discussion] post-mortem:
I used 3.2.2-0 (latest TWRP) and had no problems.

---------- Post added at 07:21 PM ---------- Previous post was at 07:10 PM ----------

A few other ideas:

Redownload all files (or at least compare checksums) and try again

Make sure to use the latest version of TWRP for marlin

Do not install TWRP, just boot from the .img file and install Magisk 16.7

Reinstall full factory image without saving data (backup first, of course)
[Google Pixel XL Guides, News, & Discussion] mozhno:
Just doing a drive-by here, but when I worked on this issue I installed twrp, then booted into recovery, then booted into system, before flashing magisk.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
I love XDA. :) It seem there is more than one way of installing DP5.

You installed twrp, booted recovery, booted system, booted, then installed magisk.

post-morten installed DP5 with -w, booted twrp 3.2.2-0.img, installed magisk 16.7.
[Google Pixel XL Guides, News, & Discussion] post-mortem:
Actually, I didn't install DP5, I installed 8.1.0, which at the time was the latest stable version. It looks like the official 9.0.0 is now up, so I'll be doing this all over again real soon :)

---------- Post added at 12:56 PM ---------- Previous post was at 12:07 PM ----------

And I just installed the 9.0.0 OTA, rebooted, booted from then installed TWRP & Magisk, and I'm in! Root is working, and Magisk shows that SafetyNet check passes. :good:
[Google Pixel XL Guides, News, & Discussion] onfire4g05:
Just confirming that this DOES work on P, which was released today.

For some reason, I had to reboot a few times after the initial reboot and wifi connection before it would allow me to change the setting in Developer Settings. However, it did allow me to unlock. If other people are having issues, just reboot the bootloader and try to unlock (it won't let you), then reboot and the option in Developer Settings should be there.

I'm on an OG Verizon Pixel.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Android 9 dropped today.

I flashed the stock firmware, and it worked fine. Booted twrp, then installed it.

Installed magisk 16.7.

Same problem.

I then flashed boot.img from 9, got back into system, went to security, and changed screen lock to "none." This removed the fingerprints.

I then booted to twrp, installed twrp, installed magisk....

same problem. Still no magisk or root.
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Don't know about rooting Android 9.0.0 (Pie) working on thread now.:p. Take a look at this thread they installed 9.0 (pie) and rooted: August images are up, and they're 9.0? MrDrift42
[Google Pixel XL Guides, News, & Discussion] Versatil2010:
Flashed factory image of the official Pie release and I can confirm that root does work with magisk 16.7 and passes safetynet.
[Google Pixel XL Guides, News, & Discussion] post-mortem:
You double-checked all checksums?

...and you are installing the correct files for your phone, right?? Just checking.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
twrp-3.2.2-0-marlin.img

twrp-pixel-installer-marlin-3.2.2-0.zip

Magisk-v16.7.zip

marlin-ppr1.180610.009-factory-90a4fa8b.zip
[Google Pixel XL Guides, News, & Discussion] post-mortem:
Everything's fine, until you install Magisk? Can you get logs? Have you tried Magisk 16.4 (someone else said it worked, though I think that was on sailfish)?

---------- Post added at 09:26 PM ---------- Previous post was at 09:14 PM ----------

I just thought of something else: Have you tried running the Magisk uninstaller? If you can reboot afterwards, try re-installing Magisk at that point.

---------- Post added at 09:31 PM ---------- Previous post was at 09:26 PM ----------

And in other news, there is also an update to TWRP:

https://dl.twrp.me/sailfish/

https://dl.twrp.me/marlin/

---------- Post added at 10:13 PM ---------- Previous post was at 09:31 PM ----------

When I install Magisk, it tells me that it's installing to "_b"
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Everything is fine until installing Magisk. Then I can't finish booting.
[Google Pixel XL Guides, News, & Discussion] post-mortem:
You're not alone:

https://xdaforums.com/pixel-2-xl/how-to/magisk-android-9-t3825819
[Google Pixel XL Guides, News, & Discussion] madpb:
Please confirm my thoughts. If I can unlock this Verizon Pixel XL - Verizon boot loader then I would have root access does this mean I can also carrier Unlock as well and now this Verizon phone should work on a GSM network (aka AT&T) with full 4G LTE??

That would be awesome!!
[Google Pixel XL Guides, News, & Discussion] H0wdy:
That's not my issue. I can install magisk through sideload. I just can't boot afterward.
[Google Pixel XL Guides, News, & Discussion] jaytv:
The Verizon Pixel XL is already carrier unlocked. Works on all major US carriers. Try an ATT SIM. Enjoy...
[Google Pixel XL Guides, News, & Discussion] madpb:
That is good to know. I read this on Ebay so I thought it was true. Apparently not.

Quote from Ebay seller :

This CDMA Cell Phone has a clear ESN for activation with Verizon. Since this phone is locked to Verizon, it can only be used on their network.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
I still cannot get this rooted, no matter what.

Verizon Pixel XL, Android P.

I still cannot boot after I sideload Magisk

install Android P

reboot to recovery

fastboot twrp, latest

sideload Magisk 16.4 or 16.7

reboot to system, goes to G logo with vertical bar... eventually reboots to recovery.

Every time
[Google Pixel XL Guides, News, & Discussion] post-mortem:
Have you tried letting it boot into the OS and letting it set up, prior to installing Magisk?
[Google Pixel XL Guides, News, & Discussion] t0rv1c:
unlocking bootloader not working

Hi everyone, I'm new here and just got a cheap Pixel 2 XL Verizon variant. When I first started it yesterday, it offered me to upgrade to Android P and I did. Then I found out about the locked bootloader. I managed to get to toggle the "OEM unlock" in the settings after following the guidelines but when in bootloader, the fastboot oem unlock or flashing gives me an "unauthorized" error. What am I missing? Thanks.
[Google Pixel XL Guides, News, & Discussion] Badger50:
Your not missing anything. This is only for the original pixel, not the P2 or P2XL.
[Google Pixel XL Guides, News, & Discussion] H0wdy:
Letting what set up?

The system is set up. That's why I flash boot.img after I can't boot to get back to using my phone again.
[Google Pixel XL Guides, News, & Discussion] perfectswanson:
I've had my verizon pixel xl bootloader unlocked for awhile now. I tried a couple roms but did not try a custom kernel. I switched back to stock pixel rom. I'm rooted with Magisk now. I don't want to be rooted anymore, I just want to go back to stock, so I can upgrade from the june update. Is it possible to relock my bootloader so I can go back to stock? Not sure how to do it without bricking. I may be posting this in the wrong place.
[Google Pixel XL Guides, News, & Discussion] bendrum30:
Has anyone been able to confirm if the OP method is working on the Official P update? I'm on the Developer Preview now and I'm wondering if I should avoid updating to 9.0 Official before trying this method. Thanks!
[Google Pixel XL Guides, News, & Discussion] sliding_billy:
You don't need to relock your bootloader to get back to stock and upgrade from June. You can either install the factory image (get rid of the -w in the flash-all file to keep your files and settings intact) or sideload the OTA without having to relock. Always best to keep that bootloader unlocked in case you need better disaster recovery options than you get with a locked bootloader.
[Google Pixel XL Guides, News, & Discussion] zero-gz:
Can someone help me plz this method is not working on my pixel XL it's on 7.1.2
[Google Pixel XL Guides, News, & Discussion] perfectswanson:
OMG Thank you so much for your advice. Just one more question. I don't have to worry about unfrooting?
[Google Pixel XL Guides, News, & Discussion] sliding_billy:
Not unless you are trying to take the OTA normally. Normal OTA will fail on a rooted device. Sideloading the OTA or installing the factory image will just unroot during install.
[Google Pixel XL Guides, News, & Discussion] wo0ts:
Has anyone been able to get this to work on a Verizon Pixel 2 running the official release of Android 9? I am able get the "OEM Unlocking toggle to work but ADB/Fastboot still says "Flashing Unlock is not allowed" whenever I try the unlocking commands
[Google Pixel XL Guides, News, & Discussion] Badger50:
Not that I've read about. They all get stuck in the same place as you do ?
[Google Pixel XL Guides, News, & Discussion] perfectswanson:
Thanks so much, again.
[Google Pixel XL Guides, News, & Discussion] 0ddJ0b45:
Can anyone confirm that this is still working on the July update?
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Yes
[Google Pixel XL Guides, News, & Discussion] burduli:
I have no idea either. I'll look into it.
[Google Pixel XL Guides, News, & Discussion] thawte:
Thank you very much for your work on this. I love my XL 2 but I would love it way more with an unlocked bootloader :D:good:
[Google Pixel XL Guides, News, & Discussion] Poke_N_PDA:
Hell hath frozen over. Better get in on it while I can.

Question. Can this be reversed with an update? I would flash the google version of the ROM first thing to make sure I get away from any Verizon hooks, but still I'm curious.
[Google Pixel XL Guides, News, & Discussion] ArkhamKnight:
Same issues for me as well. Grayed out but fastboot fails. :(
[Google Pixel XL Guides, News, & Discussion] dave oh:
Thanks !!!! worked on my pixel on P DP2.

if u are having issues, manually restart the device when instructed (dont use the power button restart option).
[Google Pixel XL Guides, News, & Discussion] pic2022:
Quick question, I did all this last year when I first got my Pixel XL from Verizon and for some reason the OEM Unlocking is grayed out on my phone but it is unlocked. Is this something I should worry about? Yes my phone is unlocked, I have Magisk, Adblock, Titanium Backup, and on every startup I get the "unlocked bootloader" message.
[Google Pixel XL Guides, News, & Discussion] mrkhigh:
Unclear on what you mean manually?
[Google Pixel XL Guides, News, & Discussion] MeowDotEXE:
I'm a bit confused right now, does this work on the Pixel 2 Verizon or not? I have a friend who wants to unlock his bootloader, but he has a Verizon phone.
[Google Pixel XL Guides, News, & Discussion] psygbert:
It does not work. You'll be allowed to toggle OEM unlocking but fastboot will still fail.
[Google Pixel XL Guides, News, & Discussion] tweaked:
Have him try the following on his pixel2

After the toggle is set try the following instead of the fastboot oem unlock;

Pixel 2

fastboot flashing unlock

Pixel 2 xl

the critical partitions may also need to be unlocked before flashing. The unlock can be performed with this command, and should NOT be done on other devices:

fastboot flashing unlock_critical
[Google Pixel XL Guides, News, & Discussion] thawte:
I already tested all of these commands. Even though the OEM unlock switch can be toggled, once rebooted into the bootloader to perform the fastboot commands they are rejected. The OEM toggle will remain available if you perform regular reboots but it is disabled once again if you perform the fastboot commands. There may be another step or another verification that the Pixel 2s have...
[Google Pixel XL Guides, News, & Discussion] bryantjopplin:
you have telegram?
[Google Pixel XL Guides, News, & Discussion] crazymikey:
Just wanted to say thank you so much! I have been waiting for a method to pop up and I am glad I was patient! Confirmed that it works on OG Pixel XL 128gb Verizon Model. :)
[Google Pixel XL Guides, News, & Discussion] ArkhamKnight:
I do. In the XDA-Google group as well.
[Google Pixel XL Guides, News, & Discussion] tweaked:
I cant say. I just throw out what I know. I don't own a pixel2 and cant test. Good luck. I saw the guy that came up with this say it worked for the pxl2 on his face book. So there is prolly another step and someone will need to usb analyze what he does to a Pixel2 device. Altho I bet he don't allow that to happen again. I thought is was funny he wasn't checking to see what was installed and running when he was remoting to users in the first place.
[Google Pixel XL Guides, News, & Discussion] bryantjopplin:
So someone did sneak this in lol. I was wondering how they got this lmfao
[Google Pixel XL Guides, News, & Discussion] tweaked:
Yep Peeps can thank [MENTION=3902253]LeoTheRomRasta[/MENTION] as he was the one who gathered the logs.
[Google Pixel XL Guides, News, & Discussion] pizza_pablo:
This is most awesome! We'll done, to those involved!

So does this lead to there being no difference between the two models, now, with the exception of unlock method?

I sure hope the big red trolls don't find this and push out a "fix"!
[Google Pixel XL Guides, News, & Discussion] ArkhamKnight:
Strange cuz I asked him and he said it didn’t work for the pixel 2.
[Google Pixel XL Guides, News, & Discussion] bryantjopplin:
You join the telegram? If not no worries.
[Google Pixel XL Guides, News, & Discussion] 0ddJ0b45:
I didn't notice it was for the pixel does it also works for the pixel 2 xl
[Google Pixel XL Guides, News, & Discussion] mrkhigh:
Sadly, no. It will make the unlock not be greyed out in developer options but in fastboot it still cannot unlock.
[Google Pixel XL Guides, News, & Discussion] megatruck:
Original Pixel Android P Official cannot unlock.

Hi I would really appreciate if anyone could help me, I just got a brand new(used mint condition) pixel and it was the same day they sent out P so I installed it. Long story short the speaker quit working which I see is starting to pop up on other phones. Went to unlock bootloader to flash back to Oreo and it is grayed out. I thought I bought a fully unlocked phone, apparently not. I have tried this method and every other method I could find. If anyone has some insight or is having the same problem please let me know.

Thank you
[Google Pixel XL Guides, News, & Discussion] post-mortem:
What exactly do you want to do? Keep in mind that carrier unlock (SIM unlock) is different from bootloader unlock; they're actually completely unrelated.

As for the sound issue, you can try installing the latest factory image of 8.1.0, and see if the sound comes back. I've read that it's an issue with the USB control board (it's a hardware issue).
[Google Pixel XL Guides, News, & Discussion] megatruck:
More details

I am trying to unlock the bootloader, it is grayed out in dev options "oem unlock" my bootloader is locked so i cannot flash any a factory image.

Thanks
[Google Pixel XL Guides, News, & Discussion] Homeboy76:
Just, follow the steps in the OP to unlock the bootloader.

To check if the bootloader is locked:

Turn the phone off > Press the Power and Volume Down buttons until you see start.

Bootloader should say unlocked.

After, you get your bootloader unlocked and upgrade factory image to Android 9 (Pie). This thread help with your speaker problem.

Google Pixel XL (2016 version) Microphone and audio FIX | 100% working by 0x890
[Google Pixel XL Guides, News, & Discussion] vbwoy:
Have anyone answered you yet because I also wanted to know.
[Google Pixel XL Guides, News, & Discussion] post-mortem:
Someone said it worked on P, but I don't remember which thread.

Anyway, if you can unlock the bootloader, just do it. It will remain unlocked after the OS upgrade.