yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Sorry. No. https://xdaforums.com/showpost.php?p=75079114&postcount=4

"***PATCHED BY OUT-OF-CYCLE JANUARY UPDATE***

If you have received the OTA patch for your pixel2, and now are on OPM2.171019.016 or LATER, you will no longer be able to run the command. And downgrade is not available at this time."
[Google Pixel 2 Guides, News, & Discussion] ssurfer2:
some phone software version updates, sorry I didn't note down prior phones, shipped directly from Verizon

Pixel 2 Blue 6/22 64GB OPM2.171019.029

Pixel 2 White 5/31 64GB OPM2.171019.016

Pixel 2 Black 6/13 64GB OPM2.171019.029
[Google Pixel 2 Guides, News, & Discussion] nes4r2:
Will installing the latest factory image re-lock my bootloader? If yes see below :) Want to go from .13 Jan to June 2018 factory image for pixel 2.

I have a Verizon Pixel 2 unlocked bootloader (OPM1.171019.013 OTA) , I want to wipe everything and start fresh. I also want to install the latest radio. So are my below steps correct?

Download Full Factory Image Non Verizon Version (OPM1.171019.013)

Install via fastboot

After that

Use OP to unlock boot-loader again?

If i want to have the latest android update and radio I sideload it? How? Or its better to sideload the latest OTA and I'll have the latest radio and version? Will I be able to downgrade back to .13?

Install recovery

Install Magisk for root?

My main thing is starting fresh from a .13 build pixel 2 phone that has an unlocked bootloader and updating it to the latest version of the radio and software updates. Without loosing the unlocked bootloader.

Thank you to whover can help me.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
No, it will not re-lock the bootloader. Just flash the latest factory image and leave the -w in the flash-all script, if you're looking for a full wipe. Then, install recovery and Magisk. You'll still be bootloader unlocked and rooted.
[Google Pixel 2 Guides, News, & Discussion] okiejtruax:
Bro you don't need to have your bl unlocked to get Android p simply become a beta member they and you the update
[Google Pixel 2 Guides, News, & Discussion] bobby janow:
True but you can't flash the factory image or roll back to a previous version if you so desire. I don't like flashing beta stuff if I can't recover. That's not the way I like to do it. If I'm playing that game I want control over the images I want to flash and when.
[Google Pixel 2 Guides, News, & Discussion] micro2112:
Just want to double check. Bought a Pixel 2 today, came with 8.0 installed, so do i sideload the .13 update, then bootloader unlock or unlock then sideload?

Also this phone was only on Verizon for 5 min, and will be ATT.. what update would it get naturally ?

Update; sideloaded 013, and unlocked successfully. I also turned off automatic updates until I get a chance to install twrp
[Google Pixel 2 Guides, News, & Discussion] funnybunny11:
can't seem to update to 8.1.0

Just picked up a VZW Pixel 2. Still on 8.0.0 with OPD13.170816.012. Sweet, I think I can unlock. However, I tried to sideload 8.1.0 (OPM1.171019.013, Jan 2018) via adb, the process seems to work perfectly, get message "total xfer: 1.00x" phone goes to recovery menu, when I reboot phone it is still on 8.0.0. The update didn't take! Tried a couple times with same result. Any ideas?
[Google Pixel 2 Guides, News, & Discussion] mamarcac:
Have you tried using fastboot and flashing the full factory image instead of the OTA via adb? (Remove the "-w" in the bat file to prevent erasing data, if you don't already know).
[Google Pixel 2 Guides, News, & Discussion] Cklauber:
So, I tried to downgrade doing the OTA process, but it did not allow me. It said that downgrade is not allowed.

Anyone have an idea on how to bypass that? Like, a way to edit the OTA file so that the bootload thinks it is an update not a downgrade?

Thanks.
[Google Pixel 2 Guides, News, & Discussion] funnybunny11:
i flashed the zip file i got from the android site. I guess that is the OTA? Where would i find the full factory image?

---------- Post added at 06:12 AM ---------- Previous post was at 06:10 AM ----------

Pretty sure you sideload to 8.1 then unlock. Trying myself unsuccessfully. Good luck!
[Google Pixel 2 Guides, News, & Discussion] micro2112:
I got the sideload and unlock to work, but it did come up with an update available again.. no details as to what update it is though, so i just denied it.
[Google Pixel 2 Guides, News, & Discussion] funnybunny11:
So you just used the "fastboot sideload filename.zip" command to go from 8.0 to 8.1 __.13 no problem? I am hitting a brickwall with the sideload. The phone takes the zip looks like everything went perfectly. After reboot, I check "about phone" and I'm still on the same 8.0 build that came on the phone when I bought it. Is there something I'm forgetting to do after reboot? I'm at a loss...
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
From the quote in OP...

Instructions to sideload stock OTA's are found here along with the downloads. https://developers.google.com/android/ota

Read them completely, instead of just skipping to the download.
[Google Pixel 2 Guides, News, & Discussion] funnybunny11:
I DID read the completely and carefully. However, the instructions failed to have a big warning for idiots like me that says "Don't try to install Taimen (Pixel 2 XL) onto your Pixel 2, dummy." Whoops!

When I went back and tried sideloading Walleye to my Pixel 2 (doh) it worked flawlessly. Unlock command went through no problem. Thank you all for your work on this!

Now, my next question. Did I screw anything up potentially by sideloading two Taimen builds? Phone seems fine. Live and learn folks. Thanks!
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Nope, you're fine. Once you flash the latest factory image (fastboot), both slots will get wiped, and they'll be no trace of your oopsie
[Google Pixel 2 Guides, News, & Discussion] funnybunny11:
Awesome thank you!!
[Google Pixel 2 Guides, News, & Discussion] micro2112:
will an OTA update re-lock the bootloader?
[Google Pixel 2 Guides, News, & Discussion] Dillsnik:
just checking does anyone know if my build is opd3.170816.012 can i still unlock? the original method didn't work i did not get the unlock bootloader screen after fastboot flashing lock_critical

EDIT: NM somehow in the process i blew it and I'm now on 8.1 with build OPM1.171019.021 :(
[Google Pixel 2 Guides, News, & Discussion] westhaking:
An OTA update will not proceed with an unlocked bootloader. You will have to manually sideload any update you want but it will not re-lock your bootloader when doing so.
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Correct, download is not available for the Pixel platform.

Yes, there is a way to bypass the signed OTA. Resigning the OTA with the correct signature Google keys. Just need to call up the exec and ask him to supply them to you. ;) In all seriousness, there isn't a way at this point. Sorry boss. :(
[Google Pixel 2 Guides, News, & Discussion] Parakaleo:
Got a replacement in the mail from VZW yesterday and it appears to be the google variant. I'm able to tick the allow oem unlock switch in dev options. (yes, I know this has happened before)

My question, as I haven't followed this thread since I've had a VZW variant this whole time, is if everything is still working according to normal on the latest (July 5) build? Just basic unlocking procedure will still do the trick? Thanks
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Might be good to stop on topic when possible, as this discussion is directly related to unlocking the bootloader on the Verizon Variant of the Pixel 2. Non-Verizon variant unlock and root procedures can be found here... Everything you wanted to know, and not too afraid to ask....

https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417
[Google Pixel 2 Guides, News, & Discussion] Parakaleo:
I'm aware of the other thread, thanks. I figured it might be good to check in at the Verizon thread first, since I am in fact a Verizon customer, using the phone with a Verizon sim, on the Verizon network....and as I mentioned this phone was sent to me by Verizon, as a replacement for my original Verizon variant Pixel 2...
[Google Pixel 2 Guides, News, & Discussion] sirpokey:
OEM unlocked

I am able to get my VZ Pixel 2 XL OEM unlocking enabled under developer . Using this method.

https://xdaforums.com/pixel-xl/how-to/how-to-unlock-bootloader-verizon-pixel-t3796030

But when I boot up the bootloader its still wont allow me to unlock it.

root@home-laptop:~/adb# ./fastboot flashing lock_critical

FAILED (remote: Device already : locked!)

Finished. Total time: 0.000s

When I boot back into the system, OEM unlocking is grayed out again.

I feel like im missing something simple to finish unlocking the bootloader.

The phone is currently on the May 5th update.

OPM2.171019.029.B2

Any ideas?
[Google Pixel 2 Guides, News, & Discussion] robocuff:
You're using the wrong command. The exploit used in this thread only worked on the regular Pixel 2. You need to use fastboot flashing unlock instead of the command you're using. If you read the first post in the thread you linked to, you'll see the command to use. What's happening now is you're using a command to lock the bootloader. You're bootloader is already locked, thus the error.[
[Google Pixel 2 Guides, News, & Discussion] sirpokey:
I'm on call this weekend for my job. I'll give it a shot Monday and report back. Thank you for replying!
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Okay Gotcha. Either way, the Pixel phones have always been carrier unlocked. So for the conversation around bootloader, it comes down to only if the phone is a VZW variant or not. Various SIMS have been used on the Pixel platform without affecting the bootloader. :)
[Google Pixel 2 Guides, News, & Discussion] sirpokey:
Still a no go.... Oh well. Worth a shot.

I guess when I am able to OEM unlock under developer, its just cosmetic.

root@home-laptop:~/adb# ./fastboot flashing unlock

FAILED (remote: Flashing Unlock is not allowed

)

root@home-laptop:~/adb# ./fastboot oem unlock

FAILED (remote: unknown command)

Finished. Total time: 0.001s

Thanks for the assistance!
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
As mentioned, the command you need to use for the Verizon Pixel 2 phones is unique to the Pixel 2. You're referring to the Pixel 2- XL non Verizon phone. I think you may be confusing yourself a bit more than needed. Probably good to head over to that forum, as I'm sure you'll get a lot more information. Good luck with your efforts!! :)
[Google Pixel 2 Guides, News, & Discussion] K1196A:
Ahhh... so this sucks. I bought this phone precisely because i wanted more control over it and I received one that was updated beyond the downgrade point. I take it I'm out of options then. Wish I could return it.
[Google Pixel 2 Guides, News, & Discussion] headcreepz:
Same thing happened to me....such a downer...I want to flash bad....Oh well....darn verizon
[Google Pixel 2 Guides, News, & Discussion] d33dvb:
mod close this thread
[Google Pixel 2 Guides, News, & Discussion] mrkhigh:
Why? So we can create another?
[Google Pixel 2 Guides, News, & Discussion] d33dvb:
The real root thread is the bounty thread, not this clickbakt thread making people believe there has been progress when it clearly hasn't
[Google Pixel 2 Guides, News, & Discussion] crixley:
They sent me an RMA device with a bootloader that cannot be unlocked. I'm Canadian fyi. No idea what the hell this is all about and I'm worried to do another RMA since I've read about several people going through multiple phones and getting ones with issues.
[Google Pixel 2 Guides, News, & Discussion] plgonzalezrx8:
Why? Good conversation going on and closing this thread will only make a new one pop up.
[Google Pixel 2 Guides, News, & Discussion] boredherobrine13:
Hey, so TODAY Android P releases. I manually upgrade using the OTAs (they let you with a locked bootloader). I have noticed Branding on the OTAs Theres old 8.1.0 Verizon, T-Mobile, Telstra, and Unbranded ones. I dont recall this being a thing (I've been in the P preview). Now I'm wondering if flashing a 8.1.0 T-Mobile, or a 9.0.0 Telestra or Unbranded could finally rid me of this pesky bootloader issue. Any thoughts?

Update: Wasn't able to flash T-Mobile or Unbranded 8.1.0 Builds. Flashed Telstra 9.0.0 build, didn't give me OEM unlocking. Cant flash Unbranded 9.0.0 build because the Telstra build number ends in .011 and the Unbranded one ends in .009, so it'd be a downgrade which causes an aborted installation.
[Google Pixel 2 Guides, News, & Discussion] crixley:
Did you try a factory reset to see if anything changed by any chance? I'm considering it. My pixel 2 isn't even verizon but was an RMA, so I really don't see why I can't unlock it.
[Google Pixel 2 Guides, News, & Discussion] boredherobrine13:
I mean...I guess it could be worth a try, but at the same time theres probably a 1% chance of that actually working, and then a 99% chance of serious inconvenience because I reset it. So probably not.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
I highly doubt that it would change anything. There have been so many accounts of users not being able to unlock the bootloader on non-Verizon RMAs (most of them have been multiple RMAs), that I believe it's a lost cause, because Google doesn't seem to be doing anything about it at all.
[Google Pixel 2 Guides, News, & Discussion] crixley:
For the record I did try and the same thing happened. I've tried literally everything. This is such bs, I'm mind blown that a device of this price range can have so many issues. My phone is not Verizon, did they use refurbished Verizon parts or something?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
From those who have posted about this, most have contacted Google and verified theirs was, in fact, a true Google phone. One would think that this problem could be easily rectified, seeing as how Google bought HTC's r&d team, ffs. I still believe it's intentional, just not sure to what end. All of these RMAs can't be profitable.
[Google Pixel 2 Guides, News, & Discussion] D3RP_:
So uh... No. Verizon made a single mistake in their locking earlier this year. They won't make that mistake again. Unless you have a pre-OUT OF CYCLE-OPM1 8.1.0 Vzw Pixel 2, you can not unlock your bootloader. That's literally it.
[Google Pixel 2 Guides, News, & Discussion] jakeman19751023:
Any chance of getting this now that Pie has been released?
[Google Pixel 2 Guides, News, & Discussion] D3RP_:
[MENTION=8785312]jakeman19751023[/MENTION]

Getting a Pixel pre OPM1? I think this update will lower your chances. Getting a bootloader unlock because of a OS update? This isn't IOS, so also unlikely.
[Google Pixel 2 Guides, News, & Discussion] crixley:
I think it'll happen eventually honestly. Look at what happened with the first pixel, it ended up being something stupidly easy lol
[Google Pixel 2 Guides, News, & Discussion] d33dvb:
If the op could just change the name of the thread, that'd be great
[Google Pixel 2 Guides, News, & Discussion] gmp029:
Hi folks. I have been following this thread for a while, and have refused all updates since I got the phone in December. I finally got around to unlocking the bootloader and sideloading Android 9.0, which went off without a hitch.

The only thing I have trouble with is getting magisk installed. I downloaded the magisk manager apk, patched the boot.img from the latest factory image, flashed the patched image. However I cannot get magisk to install itself after reboot. Any ideas?
[Google Pixel 2 Guides, News, & Discussion] protivakid:
I'm guessing for the root you had to follow a separate guide? From reading it looks like the steps in this thread only unlock the bootloader. If so do you mind sharing? I'd love to get SuperSU & TWRP on mine after unlocking.

Also, this thread says I need a specific update in order to be able to do this, yet this other thread linked below says it works on even the latest? Any clarification?

https://xdaforums.com/pixel-xl/how-to/how-to-unlock-bootloader-verizon-pixel-t3796030/page39
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
The link you've posted above is for the Pixel XL....this discussion is for the Pixel2. The the PixelXL is made by LG, the Pixel2 is made by HTC.
[Google Pixel 2 Guides, News, & Discussion] protivakid:
I'm a dummy haha, thanks for pointing out the other thread is not about the Pixel 2.

Any info around getting TWRP or SuperSU on this? Is there some easy guide to follow?
[Google Pixel 2 Guides, News, & Discussion] the.puppet.master:
I'm running the latest Android on my pixel and managed to get the oem bootloader unlock allowed. Problem is, it will no longer read me Verizon sim card.

I'm going to give I it a go with a few modifications to what I'm doing and see how it turns out.
[Google Pixel 2 Guides, News, & Discussion] strmchsr4nc:
How were you able to do that? Do you have a guide. I would like to try and replicate the issue.
[Google Pixel 2 Guides, News, & Discussion] crixley:
Have you tried to actually unlock it? It'll come back with "not allowed" then that toggle will gray out
[Google Pixel 2 Guides, News, & Discussion] the.puppet.master:
Correct, but when checking the unlock ability it comes back as true (1 instead of 0). The unlocked allow persists through reboots until an attempt to unlock is made. It has me wondering if there are hidden commands to prevent it from happening.

Has anyone been able to update to the latest factory image and keep a persistent root? If so, it may be helpful to dump the bootloader and check for anything that will be useful. Even the previous bootloaders may provide some insight to the issue but I'm not sure.

Https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
[Google Pixel 2 Guides, News, & Discussion] crixley:
Yeah I'm on a non Verizon model (RMA directly from Google) and it is like this every time I factory reset. It'll stay toggleable until I make an attempt. I even get back all responses that show I should be able to unlock when I run getprop from ADB, yet when I try it grays out. So frustrating. I've tried decompiling system apks to see what's happening and found some dialer codes, but I haven't found a solution yet.
[Google Pixel 2 Guides, News, & Discussion] the.puppet.master:
Honestly, I think they changed a fastboot command. It's simple and can be a great deterrent. There's not much that's more annoying than running blindly on finding commands. With the unlock ability coming back as 1 gives me plenty of reason to believe that it's possible....
[Google Pixel 2 Guides, News, & Discussion] crixley:
Today I tried ADB shell pm on all software that could potentially be sending back a response to disallow it during a factory reset before connecting to wifi or even putting in my sim. All of the vzw files and Odm/obdm ones. I think you're probably right and it is a hidden fastboot OEM command, someone on an unlocked one could decipher it for us I'm sure.
[Google Pixel 2 Guides, News, & Discussion] headcreepz:
Please don't give up....thank you for your effort!!
[Google Pixel 2 Guides, News, & Discussion] crixley:
I've spent a few hours decompiling apks and image files and rooting through, I'm doing my best! ?
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
Here's some OEM commands that I found. I'm currently trying to unlock my refurbished (bought from Google) Pixel 2.

I found these by using a tool called binwalker on Bootloader.img from the factory images. And searching for the strings on the extracted files.
[Google Pixel 2 Guides, News, & Discussion] crixley:
Oh we're close now!!

---------- Post added at 01:21 AM ---------- Previous post was at 12:26 AM ----------

I'm going to try running it on those aboot files the other gentleman saved. Good job!
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
I don't know if this means anything, but while searching in the strings, I found a few references to "tokens" like the one used with a lot of HTC devices. I tried using the info in with the bootloader unlocking tool on HTC's website, but they don't understand the identifier code (I got the code with the oem get_ks_token command).
[Google Pixel 2 Guides, News, & Discussion] crixley:
hahah I was literally just trying the exact same thing

---------- Post added at 03:39 AM ---------- Previous post was at 03:37 AM ----------

Do you get "extract token information fail"?
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
Yeah. I got the exact same error. I tried with all the modes (frp,ftm,download) although each gave me a different code, they all had the same error.

I don't know if they'll help, but here's all the strings about "token"
[Google Pixel 2 Guides, News, & Discussion] crixley:
try running bin walker on these

https://drive.google.com/drive/folders/1RADBXxohNmfNth6fS3qh2DDZtHbEw2xL?usp=sharing
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
Binwalker worked on these files, but to get some more info, I'll need a search term. I've search for token and it didn't find anything.

Edit: I'm sorry, I was incorrect there was some token info. Although, not much of it appears to be useful. If you'd like, I can put the output into a text file and upload it.
[Google Pixel 2 Guides, News, & Discussion] crixley:
I ran it too, couldn't find any commands or anything useful that I could see. Sure, that would be great though!

---------- Post added at 06:02 AM ---------- Previous post was at 05:15 AM ----------

by the way, bitwalker is amazing, thank you for bringing it to my attention. "strings" doesn't work on Mac, and this is just as good, if not better, for sure.
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
I'm worried that we're near an impasse here, with the unlock token. As far as I know, there currently isn't away to to generate the needed unlocktoken.

I almost wonder though, if the token they give us with the command IS the unlock key. The way you would flash it is with "fastboot flash KStoken" not "fastboot flash unlocktoken". But my all my attempts at using that as the key hasn't worked.
[Google Pixel 2 Guides, News, & Discussion] crixley:
The unlock token they would provide you was a .bin file that you actually flashed. I'm wondering if it needs to be converted then flashed. I feel like there are definitely some commands we're missing as well.
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
So if you're looking for TWRP and root, use the following guide. https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417 Should answer all the questions you need. My recommendation is DO NOT relock your bootloader!!
[Google Pixel 2 Guides, News, & Discussion] drkaly:
I my Pixel 2 has the same build number as yours and my OEM Unlocking option is greyed out. Can you please tell me what steps you followed to unlock the OEM ?

Thanks!
[Google Pixel 2 Guides, News, & Discussion] crixley:
I would wager that he did the method from the verizon pixel 1 where you delete "user 0 " phone app and skip logging into google or connecting to any network. It'll ungray the toggle, but that is only a visual thing and unlocking still fails anyway.
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Did you see the OP and my 3rd post? All of the information is found there. You won't unlock the bootloader on the phone using the OEM Unlocking option in the settings. You will need to use ADB. Again, read through the first post and the 3rd post. Good luck.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Mine was always greyed out, and still is. I've always assumed that "fastboot flashing lock_critical" simply bypassed that setting. I could be wrong, though.