yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Questions & Answers] iridium7777:
Thanks for the reply, also noticing that Android pay stopped working.

It seems like if I'm not ready to root and for ever side load official updates I may as well lock the thing up again and not worry about broken functionality of my phone anymore.

Would the locking up steps be identical to what I already did: adb reboot and then fastlock lock again? And then go through the effort of resetting up my phone again?

also, if i do go through with the root - when rooted does your phone still back up to google? so if you had to wipe it and start over would everything be reloaded from google or is that functionality gone (such as apps, messages, all settings, etc.)?

trying to determine what hassle i may get myself into by rooting vs. just locking the boot loader back up again if i only want root for the future and would only stick to stock images for any foreseeable future.
[Google Pixel 2 Questions & Answers] TonikJDK:
Your last sentence makes me think you might misunderstand root on this phone. You must be unlocked to root.

Once rooted all the backup features and so on are still the same.
[Google Pixel 2 Questions & Answers] Joloxx9:
YES I just did that, EE UK can be unlocked aswell! My bootloader is unlocked and finally I can start using it properly! Many thanks for OP!
[Google Pixel 2 Questions & Answers] danlat1415:
You should be able to reload Google's full image onto the phone and it will overwrite the EE version you have which locks the phone down to EE. I'd recommend doing that, even if you decide to keep phone it will increase the resale value.

Do it while you can as this may be 'fixed' by Google at any time.
[Google Pixel 2 Questions & Answers] bobby janow:
Once it's unlocked you can do it anytime. The only fix will be not being allowed to do it again. They won't relock it and wipe you device. Remember that would take a full reset and data and pictures along with it. Never happen.
[Google Pixel 2 Questions & Answers] mew1033:
Another success story here. Unlocked without any hiccups, almost like it was supposed to do that.

Thanks!
[Google Pixel 2 Questions & Answers] crypt0kiddie:
UGH!

I want a Pixel 2 XL so bad but I can't afford to just buy one and Google financing turned me down. Verizon approved me for a monthly plan, no deposits though but I just haven't pulled the trigger on a 2 XL due to the bootloader being locked. I'm half tempted to get a standard Pixel 2 but damn, the screen is SO small coming off a Nexus 6.

Awesome find though! :D
[Google Pixel 2 Questions & Answers] djer34:
Question for [MENTION=6553354]Lightn1ng[/MENTION] or anyone that can help really with the Jan update.

Verizon pixel 2, unlocked bootloader, magisk, TWRP, Flash kernel when i was on Dec update.

I updated to the Jan patch using fastboot. However i didn't run the flash-all... i updated the radio and then used the update script to update the factory image. I did not update the bootloader out of fear it would relock the bootloader.

Everything is running fine as of right now. But am i able to update the bootloader from the Jan image? Will it relock the bootloader? reading through the thread it doesn't seem so...would it erase all my data or simply update the bootloader? TIA.
[Google Pixel 2 Questions & Answers] Lightn1ng:
It would do nothing bad, but here's an awesome rule to follow: If it ain't broke, don't fix it. If you have the January security update working without any issues, there is no reason to touch anything.
[Google Pixel 2 Questions & Answers] djer34:
ha. these are facts. yes everything is working fine. I'll leave it until I have to. thanks for the help.
[Google Pixel 2 Questions & Answers] b00ster23:
Well gentlemen, here's the next pushed update to the Google Pixel 2, and this one is coming early. There's some speculation that it may be a patch for the unlock ADB command found. If we could only get someone with a VZW flavor of phone that doesn't really mind have a locked bootloader...someone like ...hmmmm [MENTION=2659927]bobby janow[/MENTION] ?? Didn't know if you've heard [MENTION=7357565]D3RP_[/MENTION]

https://xdaforums.com/pixel-2/help/january-update-t3737332
[Google Pixel 2 Questions & Answers] mpetruzz:
Once we unlock the bootloader they can't do anything about it via an OTA right?? I'm unlocked and rooted and don't wanna mess anything up by updating.
[Google Pixel 2 Questions & Answers] b00ster23:
Extremely unlikely that the update will lock your bootloader. However root may be an issue. I would not update at this point. Wait for more understanding of what the update addresses and devs can address it.
[Google Pixel 2 Questions & Answers] mpetruzz:
Yeah that's def my plan. I just got done rooting and as I rebooted I got the OTA notice haha. I just disabled the notification for now
[Google Pixel 2 Questions & Answers] robocuff:
Root won't be an issue. If you're unlocked there's no stopping root. You can do whatever you want to. As for the bootloader getting locked, it's not going to happen. I've had umpteen different Android phones and have never (NEVER) seen where an update locks the bootloader. It's just never going to happen. I've got a Google version of the phone but if I had a Verizon version, I wouldn't worry about it in the least. If you're unlocked you'll stay unlocked unless you lock it yourself. Never happened, never will. Just my two cents worth. :)
[Google Pixel 2 Questions & Answers] b00ster23:
Agreed. Point of clarification, if someone takes an update I've seen it break root. Albeit there's usually a work around relatively quickly. My suggestion was more of a temp caution, than a permanent statement
[Google Pixel 2 Questions & Answers] pyroscott:
Dang, just found out about this and it failed on my phone as well as my wife's. Mine somehow took the update today, but hers hadn't. Both were purchased from Target during their $300 off DPP and $250 gift card promo.
[Google Pixel 2 Questions & Answers] bobby janow:
I'd have no problem testing it if I would only get it. I was planning on running the bl command once I received it just to report back, but nothing yet. No factory images or OTA images available either.
[Google Pixel 2 Questions & Answers] b00ster23:
Awesome! Thanks for helping us all out!

---------- Post added at 09:41 AM ---------- Previous post was at 09:36 AM ----------

What version of Android are you on? What we've found is that you must have a VZW phone, and be on 8.1 for the command to work. We also know that the command works with December and the January OTA. What we're looking to find out is if the new out of cycle January OTA (that was released 1/18/18) patches the command from running. I have a feeling it does, while else would it be pushed out-of-cycle. A little more information found here... https://9to5google.com/2018/01/18/google-pixel-2-receiving-new-out-of-cycle-android-8-1-ota-update/ The new out-of-cycle update will put your phone at level OPM2.171019.016
[Google Pixel 2 Questions & Answers] D3RP_:
I had not heard. I've been fairly busy lately so I haven't kept up to date with XDA feeds at all. I should like to look through this update though, as it couldn't be a security patch already. Verizon seems to just be lagging a bit.
[Google Pixel 2 Questions & Answers] b00ster23:
Well guys it has been reported as patched. Sorry for those who didn't strike the iron while it was hot. :(

You may want to update the OP... Sad news
[Google Pixel 2 Questions & Answers] bobby janow:
Sorry man, I should have posted it here too. As [MENTION=7291175]b00ster23[/MENTION] reported it's true. I got the update today and installed it. Ran the command you found and it no longer works. Fun while it lasted.
[Google Pixel 2 Questions & Answers] D3RP_:
Hey no worries, thanks for the info :)
[Google Pixel 2 Questions & Answers] amajamar:
Seems odd that it would be sent out to Google unlocked phones that have Verizon sim cards. You'd think they (Verizon) would know the difference between Verizon and Google versions. I have a Google unlocked version and I have the update sitting waiting for me to install too.
[Google Pixel 2 Questions & Answers] bobby janow:
Not really. They want to patch the incorrect way of unlocking to prevent problems down the road. There is no reason to leave that command available to anyone.
[Google Pixel 2 Questions & Answers] TonikJDK:
Both phones run the same software, so makes sense to keep them the same.
[Google Pixel 2 Questions & Answers] djer34:
so it is confirmed that this new Jan update patches verizon phones?....What about those already unlocked and rooted, could it break root and relock?

edit: JK i just read the official Verizon Unlocked Bootloader thread and this patch does indeed patch verizon phones.
[Google Pixel 2 Questions & Answers] TonikJDK:
To answer your other question, you will not see a patch that relocks your phone. It would cause a full data wipe. Can you imagine the FTC fines and lawsuits for wiping data. Plus I don't believe it is technically possible.

Remember depixel8 for the OG Pixels, the never relocked those.
[Google Pixel 2 Questions & Answers] poena:
I unlocked and rooted my Verizon phone. If I skip this update and do the future ones will it work?
[Google Pixel 2 Questions & Answers] mew1033:
This should be the case even if one were to flash the entire factory image of the new OPM2.171019.016 update, correct? As far as I understand, flashing the bootloader with

fastboot flash bootloader bootloader-walleye-mw8998-002.0067.00.img

won't lock it. You'll have the new, patched bootloader, but you won't be locked. So then as long as you never run fastboot flashing lock, you should be good? I never had the original pixel, so I didn't follow the intricacies of depixel8. I'm used to my Nexus 5X where I just download the full factory image and flash all the things when I need a refresh/want to update. Just trying to make sure my old methods will work and my understanding is correct.
[Google Pixel 2 Questions & Answers] mamarcac:
Bootloader remains unlocked after update

I was one of the first to use the trick in this thread, so here's a quick follow up. I only used the unlock command, didn't do the TWRP/Magisk/etc. stuff (thank you DNS66!), flashed the January Factory Image build *****.013 over the weekend from Google, got the *****.016 OTA update last night (41.8 MB). Installed, rebooted, bootloader remains unlocked.

So the comment above is verified as true (not that you needed it, haha).
[Google Pixel 2 Questions & Answers] b00ster23:
I would say your assessment above is spot on. As long as you don't manually run the lock command, you should be fine (historically speaking)
[Google Pixel 2 Questions & Answers] XDAUser1234:
ordered my new pixel 2 on friday and delivered today (ordered the vzw version) - should i be OK with unlocking so long as I do not allow any OTAs to happen first? (i guess I will wait and see once i power it up and see where its at)
[Google Pixel 2 Questions & Answers] mew1033:
Depends entirely on the version loaded on the phone. But I'd guess that yes, you'll be fine. Take the SIM card out before you turn it on for the first time. Then boot and skip all the setup until you get to the home screen. Go to settings and check the version. The Android Security Patch Level has to be either December 2017 or January 2018. If it's January 2018, the build number has to NOT be OPM1.171019.016.
[Google Pixel 2 Questions & Answers] XDAUser1234:
THANK YOU for the tips!!! And yeah, I am guessing the latest wasnt loaded RIGHT before it went out, but hey never know. *IF* it is, maybe I can get google store to exchange it....maybe....will see later on!

Edit: it has the Sept 2017 security update! Golden?!?
[Google Pixel 2 Questions & Answers] TonikJDK:
Golden. Don't connect it and do the trick.
[Google Pixel 2 Questions & Answers] XDAUser1234:
Ahh....but having ready a little more, it seems I need to get to 8.1 before the unlock trick works, and it came still on 8.0. Soooo, need to get to 8.1, but NOT to the latest version that just came out. Pointers? Going to keep reading through multiple threads!

EDIT:

Woohoo!

--Sideloaded 8.1 (thank you for including the version number! I almost side-loaded the LATEST version which would have locked it down)

--Followed steps on page 1 to unlock using ADB and fastboot flashing lock_critical

THANK YOU!
[Google Pixel 2 Questions & Answers] orbitalcomp:
I'm curious about this also, I'm thinking of picking up a Verizon model from Best Buy very soon. I'm pretty sure the Pixel I get will come out of the box with a months old firmware, so will I be able to take the OTA's in successive order and stop at .013 and then unlock the bootloader? Or will one large update get pushed that takes me straight to .016?
[Google Pixel 2 Questions & Answers] srp365:
So I received my VZW Pixel 2 today, swapped SIMs from my N6 and unlocked the bootloader with the aforementioned command. I'll see if it takes the OTA and what it does. I'm not rooted but will soon be loading TWRP and likely a ROM if all is well.

If It allows me to flash new ROMs, awesomesauce. If not, it's a company phone, and I'll deal with it rock'em stock'em. I'll let you know what happens if it matters to anyone...

Rant:

Lets just say that lately I've been really disappointed in the direction of manufacturers and carriers when it comes to independent OS development for these devices that we're floating the bill for. I've succumbed to the fact that my N6 is likely the last phone I'll have with a custom ROM, since there's not the kind of development being done that was done in the days of my Galaxy Nexus, because of the full court press pressure from carriers to lock up these devices.

Do I hope I can keep flashing ROMs? Of course. Just don't expect to be able to much longer.
[Google Pixel 2 Questions & Answers] bobby janow:
That's not why there are no roms. Stock is quite sufficient for the majority of users of the Pixel 2 XL OG. Remember we've always had the Google version that was unlocked.

All you can expect at this point is a kernel or two, some ad blocking, and some other little mods. The days of the Nexus, Galaxy, and Samsung multiple roms is over.

But the upside is you have one of the best devices on the market. Enjoy it and don't sweat the root.
[Google Pixel 2 Questions & Answers] XDAUser1234:
I did not put in my sim or connect to my wifi, downloaded the 8.1 file from google, and pushed it using ADB to the phone =) So, didnt take any OTAs and once I had 8.1 installed, unlocked the bootloader!
[Google Pixel 2 Questions & Answers] srp365:
Still unlocked. So far, so good.
[Google Pixel 2 Questions & Answers] TonikJDK:
Well done, very well done.
[Google Pixel 2 Questions & Answers] orbitalcomp:
Great, this is exactly what I was hoping was possible!
[Google Pixel 2 Questions & Answers] isaacgaretmia:
Guys, i still have the .013 update, but the commands aren't working. Fastboot complains that my device is already locked. Any ideas?

Edit: earlier in the thread it seems this was only confirmed for the pixel 2, not XL, so I'm SOL.... Sorry to bother y'all.
[Google Pixel 2 Questions & Answers] HACK3DANDR0ID:
I read that the now dropping latest update, your findings got patched. So if you want to unlock or aren't sure about unlocking, DONT UPDATE!
[Google Pixel 2 Questions & Answers] con4n007:
Quick question, how do you sideload it using adb? I thought you cant flash the image if you arent rooted yet.

Any link for tutorial?
[Google Pixel 2 Questions & Answers] bobby janow:
You can't sideload a full image. You can only sideload an OTA if you're not rooted. Google images page for instructions.
[Google Pixel 2 Questions & Answers] thenoname:
This is probably a dumb question, but will rooting via Magisk wipe my phone? I already unlocked the bootloader.
[Google Pixel 2 Questions & Answers] westhaking:
No. It won't. The only thing that unwittingly wipes your phone's data is when you unlock the bootloader.
[Google Pixel 2 Questions & Answers] bobby janow:
Or relock it.
[Google Pixel 2 Questions & Answers] XDAUser1234:
tried to go back through a dozen or so pages but didnt see anything that stuck out. If i stayed AS-IS after sideloading the last working version to unlock the bootloader, then rooted...whats the best steps to sideload the OTAs and do I have to go in order or just jump to February?
[Google Pixel 2 Questions & Answers] EstiR86:
For those that still want to unlock their bootloader try hitting up https://m.facebook.com/ismail.amzdak the guy is legit and people are claiming he can unlock bootloader on Pixel 1 and from what I understand it should work on the Pixel 2.

For more information you can look at this thread https://xdaforums.com/pixel-xl/how-to/verizon-pixel-bootloader-unlocked-t3726672/page5
[Google Pixel 2 Questions & Answers] pyroscott:
Sorry, just saw your reply. My phone had taken the out of cycle update mere hours before I tried to unlock.

However, as it turned out, my phone screen stopped working, so I just got a replacement from Verizon this afternoon. Before popping in a SIM, or connecting to wifi, I tried to unlock and was successful. The replacement phone was on android 8.0.0, the September 5, 2017 security patch. OPD3.170816.012

I'm pumped I was able to get it to work.
[Google Pixel 2 Questions & Answers] thibadude:
Any news on this? Did you happen to contact him?
[Google Pixel 2 Questions & Answers] MrBeers2232:
The problem is they hash the .bin file for integrity. A hash is a random string of characters that is calculated by using the original data from the .bin file. If one bit is changed, the hash string is different. The phone/device verifies the file by calculating the hash before it installs.

It's true that you could modify the hash with the .bin to trick the device into installing it, but a lot of the time the hash is also encrypted. Knowing Verizon, they probably spared no expense making sure you couldn't root your phone. I'm guessing it was hashed with SHA-256 and encrypted with RSA.

Cracking a hash is not impossible, but with the encryption in place it's near impossible.

Edit:

Wow... Post #437... I'm sure your question was answered by now... my bad.
[Google Pixel 2 Questions & Answers] iridium7777:
What's the point of having unlocked bootloader and not rooting? I did that and my Google pay and other ass stopped working, the only way to fix was to root.
[Google Pixel 2 Questions & Answers] alienware777:
They detect that its unlocked and therefore stop. Once you root with magisk you can fool some of the detection so it thinks you are still fully stock locked/unrooted.
[Google Pixel 2 Questions & Answers] bobby janow:
One thing you can do with an unlocked bootloader is flash a full factory image if you so desire. You can also flash zip files such as kernels that can bypass the Google Pay and SafetyNet checks. So you really don't need to root in order to get GP to work.

---------- Post added at 07:24 AM ---------- Previous post was at 07:23 AM ----------

See above. You do not need root or Magisk to pass Safetynet. If you root you will need Magisk.
[Google Pixel 2 Questions & Answers] dobbs3x:
I like it for future proofing. Like always in a couple years Google will stop supporting the pixel 2 with updates so having an unlocked bootloader gives you peace of mind to flash custom ROMs later if needed. Or if any Google updates start slowing the device down you can flash a more optimized slim rom and get performance back.
[Google Pixel 2 Questions & Answers] alienware777:
Ok I'll bite, but you completely ignored his comment asking why his question of why google pay stopped working. Why did his google pay stop working then, if it did not detect the bootloader unlock? And why did root+magisk safteynet pass cause it to start working again?
[Google Pixel 2 Questions & Answers] Fenny:
You can modify the kernel cmdline to make SN pass with an otherwise stock kernel binary.
[Google Pixel 2 Questions & Answers] bobby janow:
That's an easy one. Because the root + magisk modified the stock kernel. I did address his question. He couldn't pass SafetyNet while merely unlocking the bootloader. You need a kernel too. But you don't need root. You see, SN will detect a bootloader unlock. However, when you flash a kernel that is patched (and nothing else), that kernel fools SN somehow and your system will pass the SN check thus allowing GP to work. Make sense?
[Google Pixel 2 Questions & Answers] alienware777:
Ah cool guys. Thanks for the info. :good:

Also, sorry I was on my phone and missed the first part of your post where you did actually reply to him LOL
[Google Pixel 2 Questions & Answers] iridium7777:
thanks for all the replies. i have the verizon version of the phone, i unlocked it, rooted it and then was annoyed at all the error pop-ups that you get and along with trying to patch some apps (some of the patches dont' work, such as the ADT alarm), so eventually i restored to stock. i haven't taken any updates since early january so i can still unlock my phone but i wonder if i want to live with those annoyances again, trying to figure out where to get patched kernels, trying to sideloads OTAs and going through re-root again only to be able to keep the phone in 2 years, which i'm not sure i will anyways.

i think i just answered my own questions on whether i should take the update without unlocking my phone again :)
[Google Pixel 2 Questions & Answers] Budske:
Hello, sorry to revive an old post, just wondering, i have the latest update for my verizon pxl 2 xl, can i unlock it?
[Google Pixel 2 Questions & Answers] TonikJDK:
Sorry, no.
[Google Pixel 2 Questions & Answers] mamarcac:
This isn't for the 2XL

This was never confirmed to work on the 2 XL, just the non-XL PIxel 2.
[Google Pixel 2 Questions & Answers] Ozzy0708:
I assure ya right now you can. I just got a Pixel 2 XL from Verizon (switched from the Pixel 2) and you simply boot it up first time without a SIM card in, skip EVERYTHING, enable Dev options, check if OEM unlocking enabled (don't panic, shouldn't be), power off the phone, put SIM in, factory reset and then setup with your acct and go to OEM unlock. Shouldn't be greyed out anymore. That's what I did and it worked fantastically.
[Google Pixel 2 Questions & Answers] mamarcac:
Did you share this with the thread here? https://xdaforums.com/pixel-2-xl/how-to/true-verizon-pixel-2-xl-unlocked-t3763443

Lots of people would be interested as it was determined that the Verizon P2XL bootloader cannot be unlocked. Unless Verizon shipped you a Google phone instead of Verizon one, which has been known to happen.
[Google Pixel 2 Questions & Answers] copythat:
This worked for me, thanks a bunch dude.
[Google Pixel 2 Questions & Answers] mamarcac:
Which firmware version did it come with when you initially booted up? If you were on the January or earlier patch, this makes sense. If the phone was on a build after January, that's pretty amazing that it worked.
[Google Pixel 2 Questions & Answers] mattie_49:
Used my upgrade today Aug 25 and firmware says OPM2-171019 and system telling me Android P is ready to download. Over 1000 mb . If I have plans to unlock bootloader to do as I please . Am I a fool to upgrade or should I just be patient. I'll wait here for answer . Please and thanks beforehand
[Google Pixel 2 Questions & Answers] enzyne:
is it .013 or .016?
[Google Pixel 2 Questions & Answers] mattie_49:
opm2.171019.029
[Google Pixel 2 Questions & Answers] enzyne:
I believe that you are past the unlock-able firmware and will not be able to use this trick.
[Google Pixel 2 Questions & Answers] mattie_49:
Here it is
[Google Pixel 2 Questions & Answers] enzyne:
This method will not work on that firmware unfortunately I think it was .013 or .016 that patched this vulnerability.
[Google Pixel 2 Questions & Answers] mattie_49:
Guess I'll take the ota to Android 9 then ,it really is a beast stock anyway. If a method comes around down the line. I'll jump on it. Thanks for the response. Much appreciated my friend.