yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
If you just want to unlock your sim then i havr a tutorial on page 19 or 20 of this tread
[Google Pixel 4 XL Questions & Answers] elelpguero:
tried the linux it says this
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
If you follow the tutorial its gonna work,(the terminal output is what you should see if the code is working)
[Google Pixel 4 XL Questions & Answers] XDA2025:
I went through all steps and noticed in step 5 two of "Carrier Settings" "Carrier Setup" and "Android Setup" of the screens were completely black thus unable to disable.

I could not capture command responses after running bat file in windows.

I guess only way to know it is sim unlocked is by inserting a carrier SIM, right? I will do this step once I get hold of my wife's t-mobile SIM. Thanks.
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
Write me an message in private messages,you can insert any sim,not only tmobile but it will not be unlocked cause as i read you didn't did the steps corectly,you couldn't capture the bat file cause it ran wirhout an terminal,like no output but the command was succesfully run, message me on private and i will be glad to help you more

I can help with teamviewer for remote control on desktop
[Google Pixel 4 XL Questions & Answers] XDA2025:
Like you said command was successfully run though terminal opened and shut immediately after running the script. Checked with tmobile SIM as mine was locked to Straight Talk carrier. Happy to say it worked confirming your script worked sim-unlocking my Pixel 6a. Also worked with SIM from Mint carrier.

Very grateful for your script. You are a smart man!

Thanks a lot. Also thanks again for trying to support me via PM, going out of your way to help.

Only question I have is does it get locked again if I factory reset it?

Update:

I am told Phone will SIM lock if it factory reset after unlocking.
[Google Pixel 4 XL Questions & Answers] elelpguero:
I put the file in C:/platform-tools

it works for a second and then the verizon prompt pops up to see if the device can be unlocked.
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
If you need more help i can help you later in like 3 hours,i will also make a yt video after i help you so y'all guys are gonna see how to unlock it,like to have a visual tutorial
[Google Pixel 4 XL Questions & Answers] elelpguero:
Sounds good, not sure what im doing wrong, it clicks over to the sim and then verizon locks in 3 seconds.
[Google Pixel 4 XL Questions & Answers] mookiexl:
Is oem unlock available after the SIM unlock
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
No,just sim unlocked untill you reset the phone
[Google Pixel 4 XL Questions & Answers] elelpguero:
So I factory reset the phone, setup USB debugging, force dark mode, shut off automatic updates, test connection (1) always allow:

type:

1) TEST CONNECTION

2) START UNLOCK

0) EXIT

Make a choice:1

List of devices attached

2A311FDH30045J device

product_model:

Pixel 7 Pro

android_build_version:

14

type:

1) TEST CONNECTION

2) START UNLOCK

0) EXIT

Make a choice:2

=========================================================================================

DeviceSetup.APK parameters before magic:

=========================================================================================

WAKE_LOCK: allow; time=+5m25s967ms ago; duration=+34ms

No operations.

Default mode: allow

No operations.

Default mode: allow

No operations.

Default mode: allow

No operations.

Default mode: allow

=========================================================================================

DeviceSetup.APK killing result [Ok if it status is "deny"]:

=========================================================================================

WAKE_LOCK: deny; time=+5m26s635ms ago; duration=+34ms

RUN_IN_BACKGROUND: deny

RUN_ANY_IN_BACKGROUND: deny

START_FOREGROUND: deny

ACCESS_RESTRICTED_SETTINGS: deny

=========================================================================================

if some [Error: Unknown ....] its OK

=========================================================================================

SLAVA UKRAINI

type:

1) TEST CONNECTION

2) START UNLOCK

0) EXIT

Make a choice:

reset phone with wifi and network turned off.

Make a call the call works. but then connect to the internet

sim card isnt supported. call verizon.
[Google Pixel 4 XL Questions & Answers] Cao Zihuan:
Thank you very much for the Tutorial, it's as of Android 15 beta test version on pixel 8 pro are still available!
[Google Pixel 4 XL Questions & Answers] Blackhammer221:
How can I get to your Discord server? The link is not working
[Google Pixel 4 XL Questions & Answers] SippinFantasy:
Thanks man this still works. However it doesn't work with eSim only pSim. Also, for anyone else in the future its okay if some of the apps are greyed out when disabling their data and battery settings. Everything still works fine.
[Google Pixel 4 XL Questions & Answers] piwko:
Worked like a charm here as well on a pixel 6a. Thanks all!

(should have added it Verizon locked)
[Google Pixel 4 XL Questions & Answers] probably_kashif:
Thanks a lot mate. This worked out perfectly for me...but I still need to get my phone's bootloader unlocked...I hope someone as genius as you must be able to find some way to do that. Lemme know when you do please...
[Google Pixel 4 XL Questions & Answers] kabd_225:
I would appreciate if someone with a Pixel 7 or 8 (Verizon locked) could install NetPatch and capture screenshots of the logs for the following apps or services:

com.google.android.carriersetup

com.verizon.mips.services

com.google.android.wfcactivation

com.google.android.carrier

com.google.android.carrierlocation

com.google.android.omadm.service

com.google.android.pixel.setupwizard

com.google.android.setupwizard

com.google.android.partnersetup

com.google.android.apps.work.oobconfig

com.google.android.apps.work.clouddpc

I'm currently running Android 15 Beta 2 on my Pixel 7, but I don't see any query blocking by NetPatch from the aforementioned apps, and everything seems to be functioning correctly. I want to determine if I still need NetPatch in order to share the script I used.
[Google Pixel 4 XL Questions & Answers] ronclone:
Great info. Is this method reliable? I mean, it would ve annoying to restore phone constantly to unlock sim.
[Google Pixel 4 XL Questions & Answers] kabd_225:
As I am using it right now can definitely say it's reliable.
[Google Pixel 4 XL Questions & Answers] spacemanvt:
has anyone does this on a pixel 7a?

I have an at&t locked one that I would like to unlock but not having any luck via at&T
[Google Pixel 4 XL Questions & Answers] Pepi_X:
Mmm.. after following those steps (without installing NetPAtcher only the adb ones) I get 'Mobile Network Not Available' when trying to call a number. Any idea what may be wrong?

My steps:

Reset phone (no SIM card in it)

Skip connecting to WiFi or downloading eSIM

Accept everything else (or skip when the step is available)

Enable Developer mode

Enable USB debugging

Run the uninstall entries (the last two fail oobconfig and clouddpc)

Then check the results using 'adb shell cmd appops get <package name>' and the entries look fine

I then insert SIM, enter PIN code, there's no report in the notification that the phone is carrier locked, but when I dial I get the message above: Mobile Network Not Available

Follow up:

This time it worked.

What I did:

Reset the settings to factory settings, without a SIM card

Skip connecting to WiFi or downloading eSIM

Accept everything else (or skip when the step is available)

Enable Developer mode

Enable USB debugging

Go to Settings - Apps - See all apps - three dots on the top right - show system - look for the Device setup application - in the section about this application, select Mobile data & wi-fi, and disable access to the Internet in the background with Backgroung data, uncheck , go back and look for the App battery usage item, here select Restricted (Those are the original steps.. I could not restrict its battery usage)

Run the step denying access for com.google.android.apps.work.oobconfig

Inserted SIM and tried to call: all OK

Uninstall all packages from the list above (I did not try with the failing ones.. oobconfig and clouddpc)

deny access for com.google.android.apps.work.clouddpc too.

Dialed again: still OK

Changed the SIM. All OK with the new SIM as well.

Follow up 2: I tried it again. If I don't enter the SIM before uninstalling the packages I cannot perform calls.
[Google Pixel 4 XL Questions & Answers] v213121:
Just tried on ATT Pixel fold.... Working 100%
[Google Pixel 4 XL Questions & Answers] Alonsino1994:
Is ther any way to revert the steps? I contacted my Carrier to unlock the phone and don't want to factory reset so I can verify
[Google Pixel 4 XL Questions & Answers] chemicalboyxda:
I dont know what script did you used. But you have to replace uninstall with install in the apk parts. In the deny list apps put ALLOW and remove netpatch apk if you installed.
[Google Pixel 4 XL Questions & Answers] htownvic:
Do you know if this works with esims?
[Google Pixel 4 XL Questions & Answers] Satsumomo:
I can confirm this is currently the only method that worked on a Pixel 4A with Android 14. I was able to carrier unlock from T-Mobile.

Other methods here would work but if I rebooted the phone, oobconfig would revert to default settings and block my sim again.

Thank you!
[Google Pixel 4 XL Questions & Answers] htownvic:
wow so this worked on att sim locked pixel fold, for google fi eSim. thank you so much. Am i able to do system updates without it going back to sim locked?
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
Yes you do man,i am on Android 15 beta even
[Google Pixel 4 XL Questions & Answers] UnlockMyPixelPlz:
Do you have a method to unlock the bootloader? I'm on a google pixel 7 pro running the latest android version still have not found a reliable method to unlock the bootloader. I'm mostly doing this to flash graphineOS on my device. Any help would be appreciated.
[Google Pixel 4 XL Questions & Answers] Alonsino1994:
Used the one posted here.
[Google Pixel 4 XL Questions & Answers] haseebali55554:
My physical sim is working on pixel 6a thanks to you but I haven't esim available now and I'm curious does esim also work or not?
[Google Pixel 4 XL Questions & Answers] htownvic:
Esim worked for me but I used Sebastil1an1 method. For att pixel fold on Google Fi
[Google Pixel 4 XL Questions & Answers] #mcl:
Well, this phone support is reaching its end. After android 13 it will receive some security software updates and no more, so if you want to stay safe it would be good to flash the new patches...

Also, the stock isn't energy efficient, especially when the screen is off. When I compared it to an iPhone the difference was day and night.
[Google Pixel 4 XL Questions & Answers] Syntaxerror_s:
Would you happen to know how to stop Verizon /sprint system apps from reinstalling, I'm using a Verizon pixel from America in Australia, I have tried reinstalling firmware etc but it comes back, I have a unlocked bootloader and have removed the applications with root but if I restart my device it causes a bootloop.
[Google Pixel 4 XL Questions & Answers] ObsidianTheRed:
I wanted to confirm that removing com.google.android.apps.work.oobconfig as detailed in mcl's original post worked on a Verizon carrier-locked Pixel 5. Awesome!
[Google Pixel 4 XL Questions & Answers] #mcl:
Happy to help! Enjoy your Pixel now 😉✌🏻
[Google Pixel 4 XL Questions & Answers] mistikv5:
Hello, I know I'm kinda late to this, but does it still work? I keep running into this error:

PS C:\platform-tools> .\/adb shell

raven:/ $ pm uninstall -k --user 0 com.google.android.apps.work.oobconfig

Failure [DELETE_FAILED_INTERNAL_ERROR]

I'm running android 13 and they might've fixed it.
[Google Pixel 4 XL Questions & Answers] bryanus:
Still works. I've done it on two locked xfinity mobile pixel 6a's running the latest Android 13. Doesn't seem to unlock the eSIM, but I haven't tested it extensively.

Note, It restores the lock file if you perform a factory reset later on, but it's simple to unlock again if that happens.
[Google Pixel 4 XL Questions & Answers] bryanus:
Has anyone tried this on a Samsung Galaxy by chance? Or is there a similar hack?
[Google Pixel 4 XL Questions & Answers] kien2810:
The December 2022 update disabled unlock :(

Failure [DELETE_FAILED_INTERNAL_ERROR]
[Google Pixel 4 XL Questions & Answers] bryanus:
Sh!t really? I haven't updated yet. Can anyone else verify this?
[Google Pixel 4 XL Questions & Answers] kien2810:
If it's already unlocked, the upgrade is normal, but if you reset all and then unlock it, it will fail.
[Google Pixel 4 XL Questions & Answers] bryanus:
You're right. I confirmed it just now on a Pixel 6a (xfinity).

The unlock workaround breaks if you install the December '22 update AND do a Factory Reset. As long as you don't do a Factory Reset, the unlock still works if you had previously run the command before the update.

Perhaps they renamed the check file or moved it? Hopefully someone can find a new workaround.

Update: The package is stll there, but it appears to be Protected now, preventing any alterations to it that I tried. @#mcl could you give it a look? TIA.
[Google Pixel 4 XL Questions & Answers] hamzaz6:
I removed the carrier lock using this method can you please guide me how I can unlock the bootloader after that. The OEM option is greyed out. How to enable it?
[Google Pixel 4 XL Questions & Answers] Team2323:
Same error is on my Pixel 6a with the recent 5th December update
[Google Pixel 4 XL Questions & Answers] #mcl:
Hello all! Happy to know the guide worked out for many people.

I haven't updated to december update, nor did a factory reset recently, but it can be the case.

There have been some months since I publish the guide so it wouldn't surprise me that google found it and fix it.

If you already run the exploit of course it won't reverse, but if you haven't and you already updated you are probably out of luck unfortunately.

Another thing I see commonly is why the OEM unlock google still is grey out. As I said on the guide, this DOES NOT UNLOCK THE BOOTLADER, it just don't let the phone check wether it is from a carrier or if it unlocked. As a consequence the SIM card will work as it didn't verify if it should lock some carrier or not, but in order to unlock the bootloader, the package that my script removes needs to tell the system that the phone is free, which for those who use this exploit isn't the case.

I am still working on that, but that is way more harder, especially for people running the latest software, as new software usually patches this things, making the exploit useless for newer versions.

I will keep working on the unlock method, and will have a look on how to update this to the new December 2022 security patch.

Though if anyone has any ideas or suggestions please let me know, it really helps a lot!
[Google Pixel 4 XL Questions & Answers] danhloc:
If it working and OEM unlocked, can we unlock bootloader and flash custom and use it like a official phone ?🫣

Hope you will have solution soon😘😘
[Google Pixel 4 XL Questions & Answers] Mank90:
This worked, I will be donating next week! Am I able to update to android 13 after applying this or should I wait until another exploit is found? Man, I owe you a beer.
[Google Pixel 4 XL Questions & Answers] #mcl:
I don't really know if I get to understand the question 😅.

If your phone is OEM unlock, it should already work with any carrier and hoy should be able to unlock the bootloader.

In some cases you may have a carrier locked phone, but once you have paid off the contract the carrier can unlock the phone for you, ans then the phone would go into the OEM unlocked state.

Though from what I heard not every carrier does that, Verizon is known for not doing so.

Don't know if this is what you asked me about 😅
[Google Pixel 4 XL Questions & Answers] #mcl:
Really thanksss!😊

It's much appreciated when people makes donation, and very motivating!

You can update to Android 13, I am running Android 13.

Though I am not on the December update.

What I saw from other people is that with the December update, the exploit no longer works. BUT if you ran it before, it will continue to work.

So if you update now you will probably go to December patch. You can update but keep in mind you won't be able to factory reset the phone, I mean you will, but you won't be able to run the exploit anymore.

If you don't plan on factory resenting the phone, I think you can update, just don't factory reset at any moment afterwards.

As a side note, maybe it isn't worth it. I updated but man, you barely can tell the difference. The main visual change is that the navigation bar is now thicker. From Android 11 to 12 there was a big jump, from 12 to 13 not much.

If I was you I wouldn't update, as running the latest version means that fewer exploits will run on your phone, as it is going to be patched. That's why I stay at October patch, and avoid updating unless there is like a critical security flaw. Though I don't have important things on the phone, or confidential stuff. If you have you may want to be updated, it is going indeed to be more secure, at the clay of having less chance of getting exploits to work, as they are usually built based on Google security bulletin, where they detail exploits that have been fixed.
[Google Pixel 4 XL Questions & Answers] danhloc:
My phone is Pixel 6 lock T-mobile . I checked T-mobile status: clean . But I don't know how to unlock it because I live in Vietnam and I bought it from another user. I try to contact with T-mobile and please but they just say "As mentioned in out unlock terms, we cannot unlock a device if you do not have out service and did not buy the device from us. Once you have a phone and an account that meet those requirements we will be happy to reconsider, however, at this time those requirements have not been met so we cannot move forward with unlocking the device. I am so glad I could own and resolve that for you! I want you to know it was a pleasure to chat with you. Together we took care of everything you needed. Here are our accomplishments:

* Linked you to the device unlock requirements.

* Verified that not having an account and not having a device you bought from T-Mobile disqualify you from receiving a device unlock.

* Advised your only option to recoup your loss on the Pixel 6 is to return it to the seller.

Thank you for finding us here on Facebook and allowing me the opportunity to work through this with you. Take care, stay healthy and have a wonderful weekend. ^DenishiaJackson"

I can't create T-mobile id . How i can unlock my phone😭
[Google Pixel 4 XL Questions & Answers] Mank90:
I updated to the latest patch as I read as long as I don't factory reset(I don't see it happening in the future) I should be fine. Again, I want to thank you! I am hoping to hear another work around will be released, your a life saver.
[Google Pixel 4 XL Questions & Answers] bryanus:
What I don't understand is why can't Google just re-install that package in a future update, to restore the lock check? What keeps the exploit working if it was previously applied and the device wasn't factory reset?
[Google Pixel 4 XL Questions & Answers] bryanus:
If you are trying to unlock the Bootloader (for example to root your device or install a custom ROM), that may almost be impossible to achieve through an exploit. It's been attempted for years and no one has been successful that I am aware of.

SIM (network) Unlock is possible through the exploit from the first post of this thread, as long as you have not updated to the December patch first. That would allow you to use the phone with any carrier, but not root the device.
[Google Pixel 4 XL Questions & Answers] #mcl:
I don't neither. Technically the y can just reinstall the package. Though as it is only ran during setup, installing and running it afterwards may have some problems, though this is just speculation.

The way the exploit works is this: we remove a the package that's responsible for checking if the phone is from a carrier or of it is unlocked, and then return the result to the system. As we uninstall it, the system never gets the answer.

By default all SIM will work, unless the package says the contrary.

In the other hand, OEM unlock is blocked by default and ia only going tk be unlocked if the package says the phone is free.

That's why it still works even though it can't be ran anymore.
[Google Pixel 4 XL Questions & Answers] #mcl:
Well, imposible is just another way of posible. I believe nothing is imposible. It may be very hard, but believe, no OS perfect, and Android is no exception.

And even though it has been a while since I started the project of unlocking the bootloader, it still is live and I am still working on it.
[Google Pixel 4 XL Questions & Answers] Preyer:
I completed the exploit on my Pixel 7 Pro locked to Verizon and my T-Mobile SIM worked. I went and reset it a again because I was testing things out and now I get a "SIM 1 not allowed" message and the T-Mobile SIM won't work. Also, when I attempt to add an eSIM me to SCAN QR code from Verizon. Anyone have the same issue?
[Google Pixel 4 XL Questions & Answers] gupalo:
Hi. I can confirm, that exploit after December update didn't work.

Pixel 7 and TQ1A.221205.011 here.

I aslo tried:

pm disable-user --user 0 com.google.android.apps.work.oobconfig

(Cannot disable a protected package error, obvious one error)

then tried to freeze package:

cmd appops set com.google.android.apps.work.oobconfig RUN_IN_BACKGROUND ignore

(Don't know how to confirm, that package was freezed, though, no error, tha't all. This one command did passed, but phone locks anyway shortly after established wi-fi connection and sim insert, and one phone call.)

I thought also about mounting disk and manually deleting that package, but don't know any turnaround without root privileges to do so.

I'm currently out of ideas :)
[Google Pixel 4 XL Questions & Answers] Mank90:
So, I have I have two pixel 6a's. One from Verizon and one from Xfinity (which uses Verizon towers). I did this on my Verizon and put a AT&T prepaid sim and it worked. I factory reset to see exactly what would happen and its still working for me.
[Google Pixel 4 XL Questions & Answers] dungfrs:
It's only apply to T-Mobile i assume, waiting for further confirmation
[Google Pixel 4 XL Questions & Answers] Mank90:
I am new to Android, I came from Apple so I am completely new to this. With that being said, if this was locked to a Verizon account and now its working could this have changed the status of the phone completely? I checked other carriers that would not allow this phone to be on their network before and now its allowing me.
[Google Pixel 4 XL Questions & Answers] story1991:
Songchun Fan report to google for fix this "bug" son of b***h

CVE-2022-20611 (A-242996180)
[Google Pixel 4 XL Questions & Answers] Preyer:
Currently only have T-Mobile to test. I'm going to get a SIM from another carrier to test.
[Google Pixel 4 XL Questions & Answers] borya jora:
you can't delete the file anymore, but you can install another one from the apk file on top of the existing one. If you find a good programmer who will make changes to the apk file for installation, I think it can help. But this is a complicated method.
[Google Pixel 4 XL Questions & Answers] #mcl:
I don't use eSIM but maybe just give it a try, even if it says for you to scan Verizon QR code. I belive there is a chance it may work, as eSIM and normal SIM are mostly the same, and as SIM works, maybe eSIM works as well
[Google Pixel 4 XL Questions & Answers] #mcl:
I think the freeze won't work as there is function that calls the package, so even if it is not allowed to run in the background, it will. Mainly because it doesn't have a main activity, it's more of a service, and services only run in the background.

I am working on it as well, any ideas are welcome!
[Google Pixel 4 XL Questions & Answers] #mcl:
Are you on December security patch? If you aren't then it will work. If you are, then I don't know what to say lol