yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Guides, News, & Discussion] protivakid:
Thanks this guide helped me out!

Just used brickseek to find a Pixel 2 at Wal-Mart last week. This thing had been in the case almost a year as the software version on the box and on the phone was Sep 2017. I asked the girl if she could specifically NOT boot the phone so that it wouldn't update. She said they never do anyways despite a sign right next to her saying all new phones must be powered on and a test call must be performed unless paid in full (which I did not). They still had like 4-5 others in the case all with the same build.

I was able to update to Jan 2017 and unlock the bootloader just fine. Using Magisk after went well too after I read that you needed to be online. I added notes on that thread to hopefully help someone else.

Note Wal-mart currently has a ridiculous deal on these for verizon customers. $400 off so on a new 64GB Pixel 2 my monthly payment is $10 https://slickdeals.net/f/11754735-v...t-b-m-251-for-pixel-2-451-for-pixel-2-xl-ymmv
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
I'm using my upgrade and in the morning. Getting a pixel 2 . Will I still be able to unlock bootloader and root.? And what is the current operating system on this device.?
[Google Pixel 2 Guides, News, & Discussion] protivakid:
Look at the firmware on the box when you buy it. Don't activate or even power on the phone until you get home.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Software version opm2. Says Android 9 ready to download

Can I go ahead and take the Android pie update? I do plan on unlocking bootloader . Nice to have that update waiting
[Google Pixel 2 Guides, News, & Discussion] mrkhigh:
I "believe" if it says opm2 you may be too late to unlock.

If it is later than OPM2.171019.016 you cannot unlock at the moment.

Read the beginning of this thread for more information.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Ok I bought today as upgrade. Software version as of in store on August 25th 2018 is OPM2-171019,029. Guess I'm gonna go ahead and get some Android P . Factory Verizon Style. And I'm coming from an Htc 10. Had zero issues ever to unlock that no matter how many software updates I took. Weird they wanna block that ability
[Google Pixel 2 Guides, News, & Discussion] wadams1:
Just a heads up. If anyone is still trying to find one with old software check Verizon authorized resellers.

I just found multiple still on opd3 (8.0).
[Google Pixel 2 Guides, News, & Discussion] mrkhigh:
Htc 10 was/is an awesome device.

Short of wishing I could separate my media and notification volumes and maybe turn Pokemon go into Pokemon stay.... I'm pretty happy.

All the extra verizon apps are fully deletable so stock is still pretty nice.

I haven't tried p yet, may just wait till 9.1 comes out.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
I've unlocked and rooted every Android I've ever owned. I've been on this all day. See absolutely no reasons to do it on this device ....I'm so happy I chose this over the new moto Z
[Google Pixel 2 Guides, News, & Discussion] juave:
I just got an refurbished pixel 2........ I put the Sim in from my old one....... the OEM unlock option isn't grayed out......it was on a July update but I updated to p......the OEM unlock option still is not grayed out can I unlock on p ???????
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Rumor is that the refurbished or warranty phones are actual Google phones. So I'm guessing you lucked out. If it's not grayed out try the commands from the op in fastboot mode. See if it takes. I'd say yes
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Actually, if you've received a refurb, odds are that you won't be able to unlock the bootloader. There are so many users that have reported this to be true, at least on the non-XL. They toggle the setting, fastboot oem unlock, and end up still locked after a reboot, but then the toggle is greyed out. There are so many posts about this that you should read. The fastboot command in the OP only applies to the VZW variant running the December patch, so it won't work, otherwise. Sorry
[Google Pixel 2 Guides, News, & Discussion] juave:
But check me out though
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Ha ha

---------- Post added at 02:47 PM ---------- Previous post was at 02:41 PM ----------

And you quoted me not him. And he said in his post he ota upgraded to Pie and rebooted and it's still there.
[Google Pixel 2 Guides, News, & Discussion] mrkhigh:
Refurbs are hit and miss. Some are Verizon's some are Google's. Unlock and roll on friend.
[Google Pixel 2 Guides, News, & Discussion] crixley:
Yes and mine says that as well until I try, then it fails and greys out. That is the issue with the refurbs, not that it is greyed out from the start.

Trying it is the only way to know.

---------- Post added at 05:58 PM ---------- Previous post was at 05:57 PM ----------

Not true, mine is most definitely not a Verizon phone and still cannot be unlocked. I'm fairly certain it is an issue with all refurbs from everything I've read from here, reddit and Google support forums.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Well there goes that theory of trying to find a reason to get a refurbished device. And on a second note . Brand new out the box from Verizon my device had no way to plug into a pc. If I didn't just upgrade from an htc 10. I would still have no way the USB cord/charger from it works perfectly and fits. Just another sneaky measure from Verizon to keep us down.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
See
[Google Pixel 2 Guides, News, & Discussion] mrkhigh:
There are cases in these threads of people getting unlockable refurbs.... Too lazy to look them up but I'm sure of it.

---------- Post added at 08:04 PM ---------- Previous post was at 08:03 PM ----------

That's usb-c the same cable your htc 10 used. It's just modern on both ends
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Yes remarkably yes. Otherwise when a method did come around I still would of been stuck. Traded old device in but kept charger. Works like a charm exact fit
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
See ,and works with fastboot commands. Tried a bunch the other night. Well everything that's not worked for others. Wanted to see for myself.
[Google Pixel 2 Guides, News, & Discussion] crixley:
I haven't seen one. The only ones I saw were people who got to use the lock critical command.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Actually, most refurbs from Google don't seem to be unlockable, unless something has changed in the last month or so.
[Google Pixel 2 Guides, News, & Discussion] crixley:
That's exactly what I'm saying. I haven't seen one refurb that was unlockable minus the people who used "lock critical"
[Google Pixel 2 Guides, News, & Discussion] mrkhigh:
I know there have been four or five reports.... Possibly more on the p2xl side.

Here is what Google found first.

If you do not want to trust my memory that is fine, but I will not attempt to read a few hundred pages of p2/p2xl bootloader unlock comments a second time to vindicate myself for a rare occurrence.

https://xdaforums.com/pixel-2/how-to/pixel-2-128-gb-verizon-warranty-t3780656
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
You are actually correct and to heck with what everyone thinks. I know I've read time and again. The cream always floats to the top my friend. The more I use my device as is. The more I find means and measures to unlock. I mean the entire point of unlocking a device is to root in and unlock it's true potential. Well as a long term Android user . I think Google has done a pretty dang good job in Android 9 . Just hard to find a reason to proceed with numerous hours of research to find a way. 7-9 hours on screen regularly and 1.5 days off charger. Under the hood Google and the pixel 2 really are solid.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
The entire purpose of this thread is about unlocking the bootloader on Verizon variants. Let's keep it that way, and stop going off-topic.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
That was one comment off topic and it's still in the realm of unlocking the bootloader. So why don't you and Crixley just relax. I don't need a babysitter; thanks though. Now be quiet and let the adults talk.
[Google Pixel 2 Guides, News, & Discussion] donjo19:
If Verizon is still locked...just wondering if I should finally give into the pie update so I can quit seeing the ever constant notifications.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
There hasn't been an unlock method : unless your on 8.0 before the January security patch. Just bought my device 2 weeks ago. Pie was the update waiting . I'm enjoying Android 9 & there is already a September 5th security update. I'm currently on that. First Pie update. Fixed Bluetooth audio . Sounds much better streaming to my vehicle. Nice and crisp. So no; unless your on extremely outdated Oreo firmware , there is no method currently. Rest assured it will not be long though. (Look in the OP and check your firmware against that.)

My device out of the box had software version OPM2.171019.029 . Mine was way past the point of being unlocked with the only known method.
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
I was looking at the ADB logs for my Pixel, and I noticed these lines:

I feel like we need to disable this service. Although, I have no idea how.
[Google Pixel 2 Guides, News, & Discussion] polo2883:
Now I have my unlimited hotspot back. Thank you!
[Google Pixel 2 Guides, News, & Discussion] Ozzy0708:
I tried installing the latest TWRP beta to the phone and nothing happens.... Any suggestions?

It's on the January patch if that makes a difference....
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Here's a nice thread talking about root and twrp by Nathan Chance.

https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417
[Google Pixel 2 Guides, News, & Discussion] Ozzy0708:
Thank ya much. A fair bit has changed since I last tinkered with my phone. Different methods I notice now.
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Yeah, no worries. For me, I don't even install TWRP anymore... Typically I just will boot the image, install whatever modification zip or backup, and be done. Up to you of course.... :) I just find myself not using TWRP as much anymore. Perhaps its only because I only typically just root and use Viper audio. Have fun!

Remember, DON'T RE-LOCK THE BOOTLOADER unless you plan on going back to stock first, need to send in for repair, or plan on selling. :good:
[Google Pixel 2 Guides, News, & Discussion] trimax84:
Another Verizon Pixel 2, January update (8.1) confirmed unlocked. Who would have thought it would be so easy (well, I guess [MENTION=7357565]D3RP_[/MENTION] did)?!

Had to use cmd prompt as Windows tried to use PowerShell which would work with adb but apparently PowerShell doesn't like the 'fastboot flashing' command.

I used the latest adb and fastboot directly from Google here: https://developer.android.com/studio/releases/platform-tools.html
[Google Pixel 2 Guides, News, & Discussion] D3RP_:
hehe yeah, It's pretty much pointless having AV when you have Powershell installed. It's just a giant exploit at this point.
[Google Pixel 2 Guides, News, & Discussion] daede86:
just to be sure, can i update my pixel 2 verizon to january patch and then be able to unlock it?

thanks
[Google Pixel 2 Guides, News, & Discussion] mrpeters:
:highfive::highfive: I am SO excited to have Viper back soon! Would you mind sharing a link to the latest version you were able to get to work on the Pixel 2? With my S7 Edge it had gotten a bit complicated finding a compatible package that would install via Flashfire. Much appreciated if you can share a known working version! I've mised Viper more than anything since opting for this phone. Really has been my only regret.
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Why yes you can. Just did last night :)

---------- Post added at 08:07 AM ---------- Previous post was at 07:43 AM ----------

Sure glad to explain. Keep in mind I'm using stock for the most part. For my phone I used the following;

1.) Root with Magisk without installing TWRP. Only booted the image. Keep in mind that if you have get a warning about 'read only' , try to boot from the image again. This is a known timing issue. https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417

2.) Installed Viper4Audio using these 2 zips, which worked immediatly. https://xdaforums.com/showpost.php?p=74865952&postcount=132

3.) If you're going to use adaway, don't forget to select 'systemless hosts' in the settings for Magisk

4.) The only other thing I did was modify the build.prop to enable WiFi tether https://xdaforums.com/pixel-2/how-to/how-to-disable-carrier-tether-check-t3701836

Edit build.prop

adb shell

su

**(grant permission if phone asks)**

mount -o rw,remount /system

echo "net.tethering.noprovisioning=true" >> /system/build.prop

reboot

Good Luck!

***EDIT***

You can only update to 8.1.0 (OPM1.171019.013, Jan 2018)

out of cycle patch push 8.1.0 (OPM2.171019.016, Jan 2018, Verizon) has blocked the the command
[Google Pixel 2 Guides, News, & Discussion] poena:
how do you root without installing magisk?

how do you install OTA updates in the future?
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Not sure of any other methods folks are using. At one time, SuperSU was a viable option, but haven't seen it used as much. Here's a link to another thread to follow for that question, as we probably should limit this thread specific to bootloader unlocking on the Pixel2. https://xdaforums.com/pixel-xl/how-to/guide-how-to-systemlessly-root-pixel-xl-t3660324

OTA will probably be better answered in the thread you've already asked the question in. Probably best not to muddle up this post and subject matter and stick to your original question here. https://xdaforums.com/pixel-2/help/unlocked-bootloader-vzw-how-root-future-t3732151
[Google Pixel 2 Guides, News, & Discussion] mrpeters:
Sounds like we have the same tastes in our phone mods! This is perfect. Thank you.
[Google Pixel 2 Guides, News, & Discussion] imredd:
Is this still working? When I try it, it just says Device already : Locked!
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Yes, I used this method this week to unlock 5 VZW Pixel2's. You will want to ensure that you are on the December or January security patch... unless you're on a Google Pixel 2?

The Google Pixel 2 uses this method... https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417

***EDIT***

Once again use 8.1.0 (OPM1.171019.013, Jan 2018) DO NOT USE 8.1.0 (OPM2.171019.016, Jan 2018, Verizon)
[Google Pixel 2 Guides, News, & Discussion] skyeman:
Problem resetting build.prop hotspot hack after Jan update

Hi, all,

Got my Verizon Pixel 2 a week ago, updated to 8.1 (Dec build), unlocked the bootloader, managed to get Magisk root working (patched factory boot.img), set up mobile hotspot by modifying build.prop. It worked great!

THEN, ran into trouble: I managed to get into a boot-loop this morning by flashing a boot image taken from google's factory builds. I was trying to get the January release, because the OTA update didn't install. After flashing the boot.img from the January build, it did something weird where I had two different bootloaders (0058? and 0066) on _a and _b. Screwed around with fastboot commands until I had 0066 on both _a and _b., and managed to flash the factory January build. It booted, and my data was intact, unlock still in place, but root was gone. Sooo, I patched the same factory boot image I'd just installed with Magisk rooter, and got root back, safety net tests good. Then I edited build.prop, adding "net.tethering.noprovisioning=true" in the same way as before... rebooted....

BUT, WiFi Hotspot now says ERROR. I rechecked the editing, etc, of build.prop, and it's correct, but still no hotspot.

I found and tried one other thing about setting up a hotspot on a Nexus phone: adb shell, then: settings put global tether_dun_required 0 ... That didn't throw any errors, but I don't really know what it does. In any event, still getting ERROR on activating the hotspot. Since making the Hotspot work is the only reason I root my phones, I'm kinda bummed, and out of ideas.

Has anyone else lost Mobile Hotspot on one of these unlocked Verizon Pixel 2 phones? Especially if after taking an OTA update, or flashing the January factory build? Can anyone suggest what might solve my problem? Very grateful for information, or instructions. Thanks!
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
I'm off to bed here in a few, and should have more to comment on tomorrow. A couple of questions;

Have you tried to flash the Jan update taking out the -w? You will lose root, but will certainly reset boot.img for you. I'm not sure it will reset the build.prop though...

I'm on January and haven't lost WiFi tethering.

I can post my build.prop tomorrow, or there may be one here on xda floating around.

Good Luck! (And goodnight) ;)
[Google Pixel 2 Guides, News, & Discussion] burgerga:
If I flash the google factory image can I get a locked but unencrypted bootloader?

Hi all,

I successfully unlocked my Verizon Pixel 2 that was on the January patch, thanks!

I don't need an unlocked bootloader now, but in the future (when the device is unsupported) I would like to have the possibility to flash a custom ROM. Sooo, currently I'm running into some problems with NFC payments, and of course, I could install Magisk and mess around with it, but I was wondering what would happen if I relocked my bootloader.

Would it still be encrypted, so in the future the unlocking might not work? Or should I flash the google factory image, and then lock the bootloader? I just want to make sure that Verizon doesn't prevent me from unlocking the bootloader in the future...

Thanks!

Gerhard

(Dutchie who bought a Pixel 2 on his USA vacation, and doesn't want to deal with Verizon shenanigans at all :P)
[Google Pixel 2 Guides, News, & Discussion] skyeman:
G'morn, b00, and hello,

When I flashed the Dec factory build, I took off the -w switch, and kept my data. Was relieved that the phone booted, but some oddness happened: one thing was my fingerprint reader was broken. I'd like to try what you are suggesting: do a fresh flash with the Jan factory build, try it with -w removed to save data maybe, but I don't mind jumping to a wipe and rebuild if you think that's better. I mostly need a specific list of what to do in order, as these phones are MUCH more complex than my old XT1080. Soo, how exactly to proceed. I don't want to mess with TWRP. Just get to a fresh build of January, rooted, and mobile hotspot working. I'll be AWK this morning, but deeply appreciate your help! Thanks!
[Google Pixel 2 Guides, News, & Discussion] b00ster23:
Looking at your previous post it appears you may have botched up the January update. At this point, I would backup and start with a reset by not taking out the -w just to alleviate any other inconsistency. From there, you're essentially starting from scratch.

1.) I root with Magisk without installing TWRP. Only boot the image. Keep in mind that if you have get a warning about 'read only' , try to boot from the image again. This is a known timing issue. Step by step here https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417

2.) Once you are rooted modify the build.prop. assuming you're using VZW? Here's my option for the edit. With USB Debugging still on and from a DOS cmd where ADB is installed

adb shell

su

**(grant permission if phone asks)**

mount -o rw,remount /system

echo "net.tethering.noprovisioning=true" >> /system/build.prop

reboot
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
It could definitely be done with MyAndroidTools Pro . Too bad that requires root permissions to work. Let me check a couple things with a buddy in the htc 10 thread. Your definitely barking up the right tree.
[Google Pixel 2 Guides, News, & Discussion] crixley:
https://android.googlesource.com/pl...om/android/server/oemlock/OemLockService.java
[Google Pixel 2 Guides, News, & Discussion] crixley:
"if mOemLock is PersistentDataBlockLock, then the bit should have already been set if (pdbmi != null && !(mOemLock instanceof PersistentDataBlockLock)) { Slog.i(TAG, "Update OEM Unlock bit in pst partition to " + allowed); pdbmi.forceOemUnlockEnabled(allowed);"

We need to edit the pst partition.

Fastboot OEM writeconfig might work on our device (seems to when I've tested it), and if we had the exact address of that bit we could potentially change it.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Are you working on all this from Oreo firmware or Pie?
[Google Pixel 2 Guides, News, & Discussion] crixley:
Pie, I did find some oreo stuff on github where they managed to find ways to program the PST partition for other phones, but nothing on Pie or for our phones that I could find so far. I'm going to keep looking though, and I might try to run some of those older programs later just for the hell of it.
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
I'm running Pie, with the August update. (Which, I guess is the release update.)
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
Alright, I found this in the bootloader files about the PST.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
Ok real quick someone. I traded my old device in for another pixel2 software version Jan 5th . Opm2 .171019.016 . My device was in the 14 day store return policy. Anyhow knew the manager and she gave me the larger storage one. I think the 116 gig. Had issues after Sept 5th security update. Anyhow I know there is a way with this software . Downloaded 8.1 system image from Google's site. Can I sideload to downgrade and be able to use command? Or is this one past the point. Took sim card out originally. Ran through to devoloper options. Greyed out. Any help would be awesome. In op it says if I'm on this firmware I can do sideload.
[Google Pixel 2 Guides, News, & Discussion] crixley:
"If you have received the OTA patch for your pixel2, and now

are on OPM2.171019.016, you will no longer be able to run

the command. And downgrade is not available at this time. "

You can't downgrade the bootloader unfortunately so you're in the same boat
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
This, because it supercedes the Android system. Once you have a patched bootloader, you can't go back, and that's exactly what VZW did. Greyed out, or not, if the BL won't accept unlock commands, it's a done deal.

Also of note, everyone that has been trying to exploit the BL on the VZW variants is wasting their time. If the MD5 or checksum isn't valid, it won't overwrite the existing BL. Thus, zero chance of unlocking it. Sorry to be the bearer of bad tidings.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
How did Verizon even know of a route to unlock and patch for their early software. Do they have scouts googling and finding the threads and revealing. Just crazy
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Seriously, you have to know that every carrier and manufacturer follows the dev sites, and XDA is the most popular of them all. So, when an exploit is discovered, they know about it..
[Google Pixel 2 Guides, News, & Discussion] Snorp09:
I'm a little confused with this statement. Are you saying you don't believe there's anyway to use the current Bootloader to unlock it? Because that's what I've been looking for.
[Google Pixel 2 Guides, News, & Discussion] mattie_49:
A exploit will come. 100% for sure; in time!