yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
For, the first question, you need to uninstall it with an external package manager, reinstall it with the apk file, uninstall it again, then reinstall it one last time and it should be enabled. Although, it will still be disabled in the build.prop the application should be enabled.

For the second question, it's not just the device factory ID that has to change. The IMEI needs to be temporarily blacklisted so that it isn't recognized as a Verizon device. Also, I've been looking through applications and the serial code might have something to do with it as well, although I'm not completely sure if that is the case.
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
Believe, its a true Verizon rooted. Sorry to disappoint you. Its real. Sorry for everyone elses loss
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
I dont think its a solution for all. I just got lucky with a true verizon one. Everyone else probably wont get so lucky. But my steps are recorded for anyone else.
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
It was a true verizon variant. See screenshot
[Google Pixel 2 XL Guides, News, & Discussion] bryantjopplin:
I was done but not sure the exact requirements. I wish I knew more about to tell you guys. I just know my scenario. But anyways maybe someone will find something after my discovery.
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
ok so i found an LG recovery screen on my Verizon pixel 2 xl, its pretty hidden you have to keep pressing the up volume when going into recovery from the bootloader, and it got me thinking if it possible to use this as a way to downgrade the firmware or flash the Google software on the device, when the phone is on this state and you connect it to the pc it shows up as COM13. also, it is recognized by the LG support tool as G011C. I know LG has a software called LG up, in my really old LG phone it was possible to downgrade to a vulnerable firmware and then root using that method, maybe we can do the same in this case. If not there is always Qualcomm Diagnostics port (QDL) shows up when booting from cold and pressing VOL up + VOL Down, another com port we might be able to use to root. that one was the way we rooted the axon 7 for the longest time.
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
That's awesome. Maybe you and Bryantjopplin could figure something out because his Verizon pixel 2 xl is unlocked. Just a thought. Like he could get the older firmware by flashing older images and then give them to someone using the hidden menu you found. Just an idea.
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
So, I was looking through the system applications again and I found a lot of code related to oem unlock after decompiling the OTAConfigPrebuilt.apk (com.google.android.apps.work.oobconfig).

method constructor <init>(Landroid/service/oemlock/OemLockManager;Lcom/google/android/apps/work/oobconfig/database/OemLockDataStore;)V
.locals 1
.param p1, "oemLockManager" # Landroid/service/oemlock/OemLockManager;
.param p2, "oemLockDataStore" # Lcom/google/android/apps/work/oobconfig/database/OemLockDataStore;
.annotation build Landroid/support/annotation/VisibleForTesting;
.end annotation

iget-object v3, p1, Lcom/google/internal/android/work/provisioning/v1/nano/DeviceProvisioningConfig;->enableOemUnlockBlob:[B

invoke-direct {v1, v3}, Ljava/lang/String;-><init>([B)V

invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

move-result v1

if-nez v1, :cond_0

.line 61
:try_start_0
iget-object v1, p0, Lcom/google/android/apps/work/oobconfig/DeviceRestrictionsTask;->mOemLockManager:Landroid/service/oemlock/OemLockManager;

const/4 v3, 0x1

iget-object v4, p1, Lcom/google/internal/android/work/provisioning/v1/nano/DeviceProvisioningConfig;->enableOemUnlockBlob:[B

invoke-virtual {v1, v3, v4}, Landroid/service/oemlock/OemLockManager;->setOemUnlockAllowedByCarrier(Z[B)V
:try_end_0
.catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_0
.catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_1
.catchall {:try_start_0 .. :try_end_0} :catchall_0

.line 67
iget-object v1, p0, Lcom/google/android/apps/work/oobconfig/DeviceRestrictionsTask;->mOemLockManager:Landroid/service/oemlock/OemLockManager;

invoke-virtual {v1}, Landroid/service/oemlock/OemLockManager;->isOemUnlockAllowedByCarrier()Z

move-result v1

if-nez v1, :cond_0

Not sure if anything can be done with this.
[Google Pixel 2 XL Guides, News, & Discussion] shooterlgk:
Is the bounty still on?
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
Yes
[Google Pixel 2 XL Guides, News, & Discussion] shooterlgk:
Whoever's in charge throw me on there for 50$
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
Actually, I was looking through Google source and came across what I think some of the code in this app is tied to:

https://android.googlesource.com/pl...ndroid/server/PersistentDataBlockService.java

The OEM unlocking allowed is written to the persistent data block. I think what is interesting is this block gets formatted when factory reset is initiated through the settings app
[Google Pixel 2 XL Guides, News, & Discussion] ztotherad:
now on my phone (OG Pixel) in the /vendor/etc/init i found some files but can't access them since I'm not rooted. idk if these have anything to do with unlocking the bootloader, but figured I'd post. i just need to figure out a way to access and read them.
[Google Pixel 2 XL Guides, News, & Discussion] PILLMUZIK3600:
Being in the right thread would help. This is for the pixel 2xl not og pixel
[Google Pixel 2 XL Guides, News, & Discussion] ztotherad:
oh i know, but we're dealing with the same thing, locked bootloader. so I've been keeping my eyes on this to maybe carry it over to the OG Pixel
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
If you do an adb she'll from the computer and type cmd -l you'll see there's a service called oem_lock, there's no shell access but I wonder if there's some way to explot that. Also if you do cmd overlay list and try to disable the Android.auto_gernerated_rro__ overlay it's the only overlay which returns an error when you try to disable it, you can disable the pixel overlay no issues. I was wondering if there's a way to pull that overlay and seeing what it changes
[Google Pixel 2 XL Guides, News, & Discussion] Skorpyun812:
At this point I'm wondering if there's a way to just wipe firmware and totally reformat with Google firmware.

Being ported to Sprint on a Verizon phone, I'm going to try a couple things today.
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
Yeah, although it does get reset, the carrier configuration doesn't which is why it's still greyed out afterwards, unfortunately.

Yeah, I have looked around inside those before, they don't have anything all that useful inside of them though.
[Google Pixel 2 XL Guides, News, & Discussion] ztotherad:
damn, i was going there was something in there that would be of benefit...
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
i been pointin out oem unlock references in here since last year lmao, at least ppl r finally startin to look into em.. my tgram chat is still open if anyone needs my help pullin files or w.e
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
This the oem_lock service, I think.

.class public Landroid/service/oemlock/OemLockManager;
.super Ljava/lang/Object;
.source "OemLockManager.java"

# direct methods
.method public constructor <init>()V
.locals 0

.prologue
.line 25
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method

# virtual methods
.method public isOemUnlockAllowedByCarrier()Z
.locals 1

.prologue
.line 30
const/4 v0, 0x0

return v0
.end method

.method public setOemUnlockAllowedByCarrier(Z[B)V
.locals 0
.param p1, "allowed" # Z
.param p2, "signature" # [B
.annotation build Landroid/support/annotation/Nullable;
.end annotation
.end param

.prologue
.line 27
return-void
.end method
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
thats a good read.. i also posted many times about oob config apk.. its also the apk controls a lot for EM/MDM stuff..

i am pretty sure the actual bit is on misc partition tho.. just look at it like a chain.. somethin checks if its allowed then writes to persist or wherever then eventually trickles down to misc or something lol u get the idea.. if ur on stock and do a getprop it actually tells u it is on misc at offset 6144 i believe it is
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
in fact heres a screen
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
Wait, if we know where the bit is located in the flash, can't we use qdl to modify that bit?
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
u mean edl? not sure.. i also talked about that to no avail lol. i kno signed programmers are needed to flash but might b some low level commands using emmcdl or something to wipe some stuff
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
I keep going back to edl cause my last 2 phones used that state to modify the device without needing bootloader to be unlocked example axon7tool would flash ancustom recovery.bin using edl and then boot into it where you can then enable bootloader unlock, same thing with the LG phone, edl to downgrade to vulnerable firmware and root. I know they are very different devices but the method has been used before. Also for some reason using adb reboot edl command does not work, you have to manually boot into it from cold boot.
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
yep, which is easy loli have msm8998 programmers but theyre sammy signed
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
I know you are right the bit is on the misc. Which handles the system settings like the actual switch. But misc is a persistent data block.
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
Know any contacts which can provide a signed version for pixel 2 xl?
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
gotcha lol.. ppl might get confused bcuz there is actually persistent block
[Google Pixel 2 XL Guides, News, & Discussion] raejr78:
Pardon me if what I'm asking seems to be greatly noobish...but could it be possible to use EDL to downgrade back to the OP3 firmware and possibly repeat the process the lucky VZW user discovered (no sim, let it upgrade, enable OEM Unlock, Bank!!!) I know that in other phones this was possible (the downgrading part that is) so I'm just curious.
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
Bryantjopplin's phone was a fluke. I bought a phone the other day on that version and followed his steps and nothing
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
I wouldn't call his phone a fluke, it's just that certain conditions have to be met. Which is more less the phone never being booted with a verizon sim card in it. The method he used is applicable for most phones, if not all of them.
[Google Pixel 2 XL Guides, News, & Discussion] michaelbsheldon:
It had to be a fluke: i own a VZN model with early software and tried the recipe given above and it didn't work.

This thread probably ought to be euthanized.
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
I'll try that on my phone when I get home.
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
Give it a try. I've attempted this the other day with a brand new one with September security patch
[Google Pixel 2 XL Guides, News, & Discussion] Ainz_Ooal_Gown:
I was thinking of getting the Pixel 2 XL Verizon variant, because I'm currently with sprint but sprint isn't the best at my home.....and Verizon is immensely better with coverage and speed. But not being able to root to get twrp is a deal breaker for me.
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
So, I was looking through the eSIM Managers manifest.xml and found some dial codes. One of them let me get to this. Not sure if it does anything yet. You need to put *#*# before the code and #*#* after if anybody wants to try.

The first dial code enables testing mode, not complelely sure about what it's for though.
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
This is all I got with that menu. Actually I think this is just a short cut dial code to get to the carrier setting in settings

EDIT: it switches the eSIM off. I just don't have another SIM card installed so it turned off the cell data service
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
Ah, well for me, it let me see my EID which was blank in the menu before. Also, it let me reset my carrier but, I'm tired of taking out my sim card and factory resetting, so I have no idea if it has any effect.
[Google Pixel 2 XL Guides, News, & Discussion] b00ster23:
This appears to be for provisioning of the eUICC profiles. For more details...

https://www.researchgate.net/public...e_Provisioning_Architecture_for_Embedded_UICC
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
Just edited my post. Haha. It shut my eSIM off. Didn't have another SIM installed or at least activated for anything. I actually don't know of there is a physical SIM installed from the factory or if the eSIM is what gets activated lol. I couldnt see my Eid though
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
Eid is electronic identification?
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
I think so. Just found out though the eSIM is only good with project fi. So us Verizon users still have the traditional SIM card. Pretty sure at this point this will not help us at all with our bootloader situation
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
u cant use edl without signed programmers
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
u cant just flash stuff in edl.. u need signed programmers then u need properly formatted xmls so it knows what goes where
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
Also I've already done this with a new one that was one September patch. Followed bryantjopplin's indirections and didn't work.
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
wat r u talking about? the person i replied to had a suggestion on using edl to flash that i was replying to.. u need signed programmers to use edl so not sure how u did already without them
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
I was trying to tell that guy it's pointless to flashback to an older firmware. I went out and got another Verizon p2xl that was on September security patch and followed bryantjopplin's method and it didn't work. Do you see what I'm saying now?
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
yes, but if u had a way to downgrade would mean you can use edl which would be easy to unlock at that point.. i was specifically responding to his comments on edl, not at all about bryants method so u can see why ur reply to my post was not at all what i was talking in reference to and could be confusing to some
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
I was trying to tell that guy it's pointless to flashback to an older firmware. I went out and got another Verizon p2xl that was on September security patch and followed bryantjopplin's method and it didn't work. Do you see what I'm saying now?

Well oops to accidentally putting it in yours. September was the patch it came with. The phone came out in October so how far are you talking about going since there was not an August patch for pixel 2's.
[Google Pixel 2 XL Guides, News, & Discussion] elliwigy:
not sure wat u even mean lol.. wasnt talking about downgrading as being an option to unlock bl, was only saying if we had signed edl programmers itd be easy and without having edl signed programmers his theory/suggestion is not possible.. so not sure y ur tellin me about sept. and oct firmwares or talkin about august firmwares

if ur not talking about edl then im not sure y u keep replying to my comments about something else
[Google Pixel 2 XL Guides, News, & Discussion] b00ster23:
Keep in mind that this is a Pix2-XL thread.... Not a Pix2... There's substantial difference in hardware. Specifically when it comes to EDL. Maybe that will clear up a little
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
I meant for all pixel 2's , including xl's. Jeez ****
[Google Pixel 2 XL Guides, News, & Discussion] b00ster23:
Correct. And I'm confirming that not only is it "pointless" it's not possible at this time. In addition to your statement of other processes not working, there are distinct differences between hardware of the two. One is made by LG the other by HTC. The method to even try to accomplish a 'flashback' using EDL between the pixel2 and the pixel2-xl would vary tremendously.
[Google Pixel 2 XL Guides, News, & Discussion] raejr78:
Since I just got my Pixel 2 XL from VZW last week...I decided I'll just order one from Google and take the one from VZW back when it gets here. I'll gladly sacrifice the $35 restocking fee just to be able to do what I want with my phone. Google is also running a special now...a $200 statement credit after 2 billing cycles and an extra 18W charger. So hey...sounds like a good deal to me.
[Google Pixel 2 XL Guides, News, & Discussion] Str0ntium:
Charger is out of stock.
[Google Pixel 2 XL Guides, News, & Discussion] Scott:
I was wondering what you were gonna do.
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
I've got an RMA replacement on the way. If it's refurbished I'll try that one method. If not I'm selling it new in box for 650 and then going to finance thru Google for the 200 credit. Either way good bye Verizon p2xl. Best of luck to you all in this endeavor that hasn't gone anywhere.
[Google Pixel 2 XL Guides, News, & Discussion] jimlightner:
We'll get ready to sell it..got my replacement yesterday and tried his method..no Dice!!!!.. seems he was just really lucky..:crying:
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
Was yours a new one or refurbished?

---------- Post added at 12:34 PM ---------- Previous post was at 12:33 PM ----------

And did you go thru Google or Verizon? If you go thru Verizon they are supposed to send you an unlocked google one
[Google Pixel 2 XL Guides, News, & Discussion] jimlightner:
I went through Verizon..as soon as it showed up I tried the method mentioned to no avail..I'm very optimistic on an unlocked bootloader..it might take awhile but I'm hoping someone crack's it.. there's some brilliant minds on xda..and if we can come together and help one another instead of insulting each other's ideas (yes I know the same questions and salutations can get redundant and frustrating)..but where all looking for the same thing..:svetius::)
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
So, do we know if using the EDL is a viable direction to work in or not? Or is it just another dead end.
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
If we can get signed programners and the xmls it would be easy with a tool like miflash, idk though I just got into the LG firmware update and edl by accident
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
Yeah, that's going to be difficult, especially since LG has almost nothing on the phone. I did find a notice and how to build aosp for the device on the LG open source site but, that's about it.
[Google Pixel 2 XL Guides, News, & Discussion] Scott:
I went through VZW and I got a VZW replacement. Not sure who said that they are supposed to send you a google one?
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
If only LG would be nice like OnePlus to release the files needed to use edl ?
[Google Pixel 2 XL Guides, News, & Discussion] holla420:
This was like 3 weeks after the Pixel came out. I heard about this cause I had a vzw varient. I'm not sure what ,when, or how but I tried it and got replaced with a Google one.
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
I think vzw just puts an order to Google for an RMA on a drop shipment. Whatever the wharehouse has gets shipped. Whether Google version or vzw it's a crap shoot
[Google Pixel 2 XL Guides, News, & Discussion] Scott:
I get hosed as always, lol. Oh well.

Very Possible. I got the email a few hours after the call to Verizon. I get the new phone and its DOA!

Try and try again!
[Google Pixel 2 XL Guides, News, & Discussion] holla420:
Awe there...there... Lol
[Google Pixel 2 XL Guides, News, & Discussion] slogar25:
Wow! That's Bs. Haha. What did you send it back for
[Google Pixel 2 XL Guides, News, & Discussion] raejr78:
Got my Google Pixel 2 XL in the mail yesterday from Google. Unlocked, rooted, and installed Viper4A last night. Took the VZW device back this morning. Not looking back!!!
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
So you had a Verizon unit with service with then and asked for a warranty exchanged right?
[Google Pixel 2 XL Guides, News, & Discussion] Scott:
I don't know if it was the most recent update or whatever but my top most speaker sounds like its blown at any decent volume level on speakerphone.
[Google Pixel 2 XL Guides, News, & Discussion] MColbath:
So, I was looking around and it should be possible to reverse engineer the xml although, I have no idea how to go about getting the signing.
[Google Pixel 2 XL Guides, News, & Discussion] hector689:
Mines too it sounds horrible I, might just exchange it for a new one
[Google Pixel 2 XL Guides, News, & Discussion] raejr78:
No. I had a VZW unit and only had the phone for about a week. So I was able to return it within the 14 day period and only pay the $35 restocking fee.
[Google Pixel 2 XL Guides, News, & Discussion] Skorpyun812:
I had the same issue with the speakers. Sent mine back to google to dodge the stupid $35 restocking fee. Got it back today, crossed fingers to see if google sent me a google unlocked phone but, it's a Verizon; it has the December patch so I tried the HTC pixel 2 method thinking it was 2 xl. Needless to say it failed. even tried the fastboot oem_unlock command thinking it was hidden from the list but, it "FAILED: (remote: unknown command)".

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

Honestly it's BS that they charge you a fee for a warranty issue.
[Google Pixel 2 XL Guides, News, & Discussion] GokuSSJgod:
If you would have paid the 35 I believe the order yours and get it the next shipped to your house and then your bring your old one in.
[Google Pixel 2 XL Guides, News, & Discussion] Skorpyun812:
What my local verizon dealer (franchise not corporate) told me was bring in everything the phone came with including the box, and we'll exchange it for $35 in store. More than likely his practice is to send it back for credit after the fact. On another note, I've heard that most Verizon exchanges come back with another verizon phone and that you're lucky if you get a google phone.

---------- Post added at 04:27 PM ---------- Previous post was at 04:26 PM ----------

Guys I've been sifting through the pages looking for the person that was experimenting with a skin for OEM unlock but, I can't seem to find it. Does anyone know where/what page it is/on?

---------- Post added at 04:39 PM ---------- Previous post was at 04:27 PM ----------

I'd like to take the time to confirm some information based on my experience

1. I obtained an RMA through google for legitimately crappy sounding speakers. (Not going to shell out over $850 for a phone that sounds like crap after a month and a half, and neither should you :))

2. I have not connected to Wi-Fi, I have not inserted my SIM

3. Google sent me back a Verizon variant and the OEM bootloader unlock feature is greyed out. (This should confirm that IMEI connectivity has nothing to do with OEM unlock found in dev options)

4. At the time of this post I have not even setup my google account. NO CONNECTION YET AT ALL WHATSOEVER

I would like to try the skin method discussed in this thread, for the OEM unlock switch, even though some reported it did nothing.

I'm also thinking if LG made this 2 XL, then maybe Odin may be able to help. I'm doubtful but, I'm trying anything at this point.