yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL Questions & Answers] famous37:
MOD TRANSLATION (from translate.google.com)

"Updated the instructions. Try it first.

Because it is necessary to erase all information on the smartphone and debugging to factory settings. Because Device setup currently blocked your sim because there was a connection with the server. Then when debugging without an inserted sim or wifi and insert ADB commands. You didn't wipe your smartphone, that's why it doesn't work."

******************************************

Оновив інструкцію. Спробуйте Спочатку.

Бо треба стерти всю інформацію на смартфоні і налагодження до заводських. Бо Device setup наразі заблокував вашу сім, бо було з'єднання із сервером. Потім при налагодженні без вставленої сім чи віфі і вставляти команди ADB. Ви не стерли смарфон, тому і не получається.
[Google Pixel 4 XL Questions & Answers] NV_VNTU:
Thank you) My mistake was that I did not fulfill your updated 3rd point. 3. 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
[Google Pixel 4 XL Questions & Answers] simplepinoi177:
@NV_VNTU , @famous37 , Greetings, and welcome to XDA Developers Forum. As a friendly reminder, we ask & require all members to please post in English as stipulated by Forum Rule 4 (quoted below) -- that you agreed (just recently for one of you) to follow when you went through the registration to create your account. Please consider this when you are creating a post in the future. Feel free to include your original message under the English message if you wish; as I have done above. If you do not know English, I encourage you to use any of the resources in the quote below. Your post has been translated as a one-time courtesy.

Thank you for your cooperation, and have a good one!

simplepinoi177 FSM (Forum Specific Moderator)
[Google Pixel 4 XL Questions & Answers] famous37:
It is still necessary to test after a next system update. Will not reset the settings set in ADB? Not yet known. We are waiting for an update. And it is better to turn off automatic updates in the developer settings. It is better to run the update manually.

+++++

Ще треба протестити після наступного оновлення системи. Чи не буде скидати налаштування задані в ADB? Поки невідомо. То ж чекаємо оновлення. А для безпеки ліпше в налаштуваннях розробника вимкнути автоматичні оновлення. Ліпше вручну запускати оновлення.
[Google Pixel 4 XL Questions & Answers] famous37:
Thanks 👍
[Google Pixel 4 XL Questions & Answers] mookiexl:
Is this still greyed out for you.
[Google Pixel 4 XL Questions & Answers] famous37:
Of course, the unlocking of the bootloader is inactive, because the unlocking of the bootloader must come from the Google servers through Device setup. And we freeze Device setup on operator phones. Of course, it is possible to somehow bypass Device setup and unlock the bootloader, but you need to find a "hole" for such a hack.
[Google Pixel 4 XL Questions & Answers] brandonabandon:
Hi I have a Verizon pixel 4 on MetroPCS with android 13 October 2022 patch. Can I use this method just to unlock the bl and not the carrier?
[Google Pixel 4 XL Questions & Answers] famous37:
The bootloader does not work with this method, only the operator. Previously, there were several ideas on the forum, perhaps if we break the system and unlock the bootloader.

Unlock carrier locked bootloader Pixel [BETA]

UPDATE AS OF 16 OF MAY 2023 This project isn't working right now, but I am still working on it. However due the complicated nature of the projects and the fact that I have little free time means this project will probably still take time to get...

xdaforums.com

[How-to] Unlock bootloader on Pixel Google Store with "OEM unlock" Disabled -

[How-to] Unlock bootloader on Pixel Google Store with "OEM unlock" Disabled - I experienced the mishap of locking back the bootloader after flashing the device with my signed custom build. The result was that i was no long able to activate the...

xdaforums.com

Successfully Bootloader unlocked AT&T Pixel 7 Pro!

Hi guys, I'm a longtime member here and developer for Paranoid Android custom rom. While I haven't been active on XDA these days, I did want to share a bit of information about how I unlocked the bootloader on my AT&T Pixel 7 Pro. To my...

xdaforums.com
[Google Pixel 4 XL Questions & Answers] simplepinoi177:
confirmed, unlocking the bootloader on a carrier variant is next to impossible....this method is only to sim unlock -- not bootloader unlock...

There is a (somewhat) misconception that getting a SIM unlock can enable a OEM/bootloader unlock -- which was true with T-Mobile in the past (even if it was only a temporary SIM unlock), but no longer.
[Google Pixel 4 XL Questions & Answers] famous37:
And unlocking the bootloader does not provide any advantages for most users. And so updates to official Android from Google are more stable than from third-party developers. I get at least 3 Android updates on the Pixel 7 pro. And then after 1-2 years I will get tired of this smartphone. I will sell it as unlocked with the condition that you do not reset the settings of the smartphone, and if you reset it, I will add instructions. That is, nowadays you can fully use your smartphone with that method and not worry about it. And it is unlikely that Google will do anything else in the near future. As a last resort, there is a device setup block through the firewall.
[Google Pixel 4 XL Questions & Answers] simplepinoi177:
While unlocking the bootloader itself may not provide much advantages (other than those who very much desire running on a custom ROM or kernel), in order to have basic root access, for Google Pixels, you have to unlock the bootloader to obtain root -- which is what I imagine makes up for most of the instances where the Pixels have their bootloaders unlocked -- which is the "advantages for most users" (while not having the bootloader unlocked, having root is)
[Google Pixel 4 XL Questions & Answers] famous37:
I used to unlock the Xiaomi bootloader because the support is only 2 years and then their operating system becomes difficult over time. Therefore, it was necessary to install all kinds of pixel-like operating systems on the new Android in order to use the smartphone somehow. Root did not use. I don't need it.
[Google Pixel 4 XL Questions & Answers] crazynapkinman:
So I have SIM Unlocked my TMO Pixel 7 via the TMO app on Play Store. The "OEM Unlock" option is still greyed out. Did I miss something?
[Google Pixel 4 XL Questions & Answers] simplepinoi177:
Again,

meaning the "SIM Unlocked" is not the same as bootloader unlock (aka. OEM unlock" tick).

Like stated previously, it may have been in the past that that's all that was necessary (sim unlock) to unlock the bootloader/OEM unlock, but is no longer the case.

I've never had T-Mo, but I believe that once you pay off the device and are in good standing with the company, you can request a signal that will "un-gray" it...
[Google Pixel 4 XL Questions & Answers] All_sh:
View attachment 6070100Hi for all, make a bat script fot unlock easy and control unlock procedure + include drivers
[Google Pixel 4 XL Questions & Answers] Os_A:
Mate, can you explain a bit? You change permissions to com.google.android.apps.work.oobconfig only, right? Is it reversible? If you want, you can write me a PM in Ukranian, I am good with many languages
[Google Pixel 4 XL Questions & Answers] All_sh:
hi, yes its fully inversible. For inverse run:

adb shell cmd appops set com.google.android.apps.work.oobconfig WAKE_LOCK allow

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

adb shell cmd appops set com.google.android.apps.work.oobconfig RUN_ANY_IN_BACKGROUND ignore

adb shell cmd appops set com.google.android.apps.work.oobconfig START_FOREGROUND allow

adb shell cmd appops set com.google.android.apps.work.oobconfig ACCESS_RESTRICTED_SETTINGS allow
[Google Pixel 4 XL Questions & Answers] probably_kashif:
Hi

Sir I have a bit different issue to discuss with you. I have a pixel 4a 5g. It's carrier locked. Most probably locked by xfinity mobiles. And you can see the screenshot for better understanding of problem. It says "Unavailable on carrier-locked devices." 🙁. Please help me get this issue resolved without getting my phone bricked. I'll be highly grateful.

View attachment 6071451
[Google Pixel 4 XL Questions & Answers] #mcl:
Hey!

Unfortunately, I still don't know how to fix that.

I also believe your case is harder. On some devices, like my case, the phone can be unlocked if the carrier allows it.

In your case that feature is already disabled by the carrier, so technically not even they would be able to.

There are some values inside a file in the Android system that show that info. You can check using an ADB command, where there are 2 values:

1. Is the bootloader unlocked?

2. Can the bootloader be unlocked.

In your case, both are set to 0 probably. In other cases like mine, the Can the bootloader be unlocked is set to 1.

I am still working on trying to develop a method to unlock the bootloader but for now nothing.

Thankfully we have 2 methods to allow the soft unlock to use any SIM:

My method on devices running Android with security patch up to November

A new method by exez1989 to devices running newer versions
[Google Pixel 4 XL Questions & Answers] #mcl:
Ok let me see if I can help you. You should do this on windows though.

1. Make sure you have the latest version of Android SDK

2. Make sure you don't use the LMobile driver (it will show up on device manager). You need to have the Google LLC drivers

3. Make sure USB debugging is enabled

4. Run without quotes "adb reboot edl"

After that the device should get a black screen, and if that happens you are successful, when on EDL mode you won't see anything on the phone screen.

5. Just to make sure, open device manager. You should see something like the image.

Now you can open QPST and try out what I told you yesterday.

If these commands didn't work you can try "fastboot oem edl", "fastboot reboot-edl", "

fastboot reboot edl". FOr these ones you should have the phone in recovery mode though.
[Google Pixel 4 XL Questions & Answers] #mcl:
I think those are the files, but I am afraid of trying them out on my phone and just brick it. We should first try this on an older device that isn't our main phone, as this was not try out before and could brick the phone...
[Google Pixel 4 XL Questions & Answers] Daniyal48:
Okay Once I get a secondary phone I will try this idea and will update here
[Google Pixel 4 XL Questions & Answers] #mcl:
Ok really appreciate 😊
[Google Pixel 4 XL Questions & Answers] #mcl:
Hey, did you get the device for testing? It has been a while since last time we talked about this...
[Google Pixel 4 XL Questions & Answers] Daniyal48:
No. I didn't found another device.

But i think its really hard to do because did several attempts on Pixel 3 XL and it didn't work
[Google Pixel 4 XL Questions & Answers] Andrewlhr13:
hey, i test my bricked pixel 4 and it didnt work...sad.i dont know how to save it by this only method

and ive spent a day long but just cant get the right file, even a file...confused that no developer tried to make one
[Google Pixel 4 XL Questions & Answers] #mcl:
Hey, the files we shared are for the bigger Pixel 4 XL. If you try to flash them onto a regular pixel 4 you may get errors. 👎🏻

Also let me see if I can help you solving your problem. For that please answer this questions:

1.Are you using QPST?

2. did you manage to get the device into the EDL mode and see the device a Qualcomm HS-USB QDLoader 9008?

If this is done, you are ready for the flashing process. 👍🏻

I think this guide is very detailed, so just follow it. I used when trying, but as I only have 1 pixel 4 xl, didn't try the flashing process. ☹️

If you get any error, please tell me and leave a screenshot so I can help you. 😇
[Google Pixel 4 XL Questions & Answers] black7:
Deleted: Posted in wrong thread
[Google Pixel 4 XL Questions & Answers] Andrewlhr13:
hello,I am using QPST while getting my pixel 4 into DEL model.

But as you said, I flashed them onto my regular pixel 4 so it didn't work...So i just need the files for regular pixel 4 and tried again to see if it can saved my bricked pixel 4...
[Google Pixel 4 XL Questions & Answers] #mcl:
Hey. I looked on the web and they could work, I mean the only difference between the 4 and the 4 xl is the screen size and battery capacity, the components are identical.

Could you send a screenshot of the error you are getting?

Also did you check the phone is in EDL mode ?
[Google Pixel 4 XL Questions & Answers] Reznick314:
I know this is an old thread, but I just used this on my Pixel 5 and it worked, was just wondering if I would have to do this again if I update to Android 12? And Thank you for this information!
[Google Pixel 4 XL Questions & Answers] #mcl:
Hey!

I updated my P4 to android 12 and didn't have any problems. I believe you shouldn't have problems, as you install the package, and updates don't seem to reinstall it
[Google Pixel 4 XL Questions & Answers] greeted01:
Can you link to the post? On my Pixel 6 Pro from Verizon, I can't seem to activate a non-Verzion eSIM. The shell command worked to allow a different physical SIM, though.
[Google Pixel 4 XL Questions & Answers] greeted01:
Any idea if this command would work on other Android phones?
[Google Pixel 4 XL Questions & Answers] #mcl:
Not sure as it depends on how other manufactures implement the check, but you can try the command, it won't create problems. The wrist scenario is that it will hay an error. If it works on other devices key is knows. For popular OEM some prpope sell modded sims to unlock the phone. Search the web and you will them, though I never tried them so can't confirm that they will work, but as they are very cheep maybe you can give them a try.
[Google Pixel 4 XL Questions & Answers] #mcl:
The exploit is made for pixel devices, but as everyone uses an droid it could work. It depends on how the OEM checks if the phone is from a carrier.

Give it a try, the worst thing that can happens is that you will get and error or it won't unlock the phone.

If it is from a popular brand you may want to consider buying an unlock sim, which are sold very cheap on the web and allow to unlock the device without having to do anything. I never tried one, but as they are very cheap you may want to try them.

Anyway, if this works on other devices let us knows!
[Google Pixel 4 XL Questions & Answers] mgs.jar:
In theory using a slight advancement of this method I should be able to write a hollow file that triggers a registry green flag for sim handshake and we could set up a boot image injector for specific carrier models to avoid having to do this any time we restore our device but I am reluctant to release it if it works the way I expect it to. For people in my position it makes sense and is 100% fair. I ordered an amazon refurbished pixel 4a 5g when my screen cracked while I was really strapped for cash and out of warranty for my original. The seller promised unlocked, I got Verizon locked model instead and instead of dealing with the trade in and potential less than mint phone I get for complaining I elected to use this temp method. It should be easy and it would help others in my shoes but at the same time I don't want it being exploited to take advantage of carrier free phones and contract loopholes to steal devices. While I hate dealing with provider BS and can't stand lying scumbags like this seller I don't condone stealing from them when it is people who run assembly lines and contract employees who will ultimately suffer for a companies misdoings. I might call a poll on it because it is a morally gray area and does not violate any laws due to the shift in ownership not accounting for former owners dodging contracts.
[Google Pixel 4 XL Questions & Answers] darknmy:
good point. atm I'm using Ebay Verizon phone w/o any issues. I don't think hacking bootloader and finally installing a custom kernel would be a very big difference/advantage to the stock
[Google Pixel 4 XL Questions & Answers] famous37:
This method freezes an application that blocks another operator's SIM card on your smartphone. To unlock the bootloader, you need to look for a hole and hack the system through it, or buy a non-operator phone. Another option is to contact the operator under which your smartphone is blocked.
[Google Pixel 4 XL Questions & Answers] XDA2025:
Soft Unlock Pixel ADB method

Android 14

February 2024

This method did not work for my pixel 6a running A14.
[Google Pixel 4 XL Questions & Answers] y_dhana:
Bro, your method perfectly works.

But, i doubled the safety method by metered the wifi connection.

I wanted to use wifi normally, so is it okay to disable the metered setting on wifi connection?

I just little bit worried that it will be blocked again if i disable the metered method.

TIA
[Google Pixel 4 XL Questions & Answers] dominhquang:
Will restarting the phone lock it again?
[Google Pixel 4 XL Questions & Answers] Os_A:
No. Only factory reset removes unlock
[Google Pixel 4 XL Questions & Answers] JumboTSB:
So, back in September of last year I got my pixel 6, I posted in this thread before when someone was looking into ways to exploit the oem unlock thing to get rid of Verizon's block but that was a no dice. Ever since then I have not updated my pixel hoping more exploits will be found. (September 1st security patch, 2023, android 13)

Long story short, I moved and Google arbitrarily disabled 5g, volte support and a few other things because they're in a feud with this country's telecommunications regulation agency, which is ridiculous because grapheneOS or custom roms will allow you to use those features just fine. I had never heard of them blocking features in certain countries until now but that's apparently a thing.

Ever since then I've been looking for exploits to try and force the bootloader to unlock so I get get rid of Verizon's lock and install grapheneOS and I think I found something.

Exploit released for Android local elevation flaw impacting 7 OEMs

A proof-of-concept (PoC) exploit for a local privilege elevation flaw impacting at least seven Android original equipment manufacturers (OEMs) is now publicly available on GitHub. However, as the exploit requires local access, its release will mostly be helpful to researchers.

www.bleepingcomputer.com

GitHub - metaredteam/rtx-cve-2023-45779: Proof-of-concept code for Android APEX key reuse vulnerability

Proof-of-concept code for Android APEX key reuse vulnerability - metaredteam/rtx-cve-2023-45779

github.com

There's a cve and a github available, maybe we could whip something up?
[Google Pixel 4 XL Questions & Answers] Os_A:
Confirmed working on Pixel 6a running latest Android 14 with Feb security patch.

Confirmed working on Pixel 6a with latest Android 14 and February 2024 security patch. Does not need NetPatch or similar app to run in the background, so this method is better for your battery. Thank you guys!
[Google Pixel 4 XL Questions & Answers] XDA2025:
Congrats. Did you do SIM unlock or OEM Unlock?

No luck for me with either.
[Google Pixel 4 XL Questions & Answers] y_dhana:
is wifi still need to be "metered"?
[Google Pixel 4 XL Questions & Answers] famous37:
Only Sim can be unlocked. To unlock the bootloader, you need to look for the trick how to hack device setup, it gives permission to unlock the bootloader.

I don't know how to hack this app yet. Maybe one of you can help me with this.
[Google Pixel 4 XL Questions & Answers] XDA2025:
I need only sim unlock. After going through steps sim did not work.
[Google Pixel 4 XL Questions & Answers] Os_A:
This is for SIM unlock only. Bootloader unlock will depend upon the network the phone was locked to. There is no other options as yet.

I use metered Wi-Fi but I did not try to use unmetered.
[Google Pixel 4 XL Questions & Answers] crossover255:
was able to do this and use my sim, data and text tested, but after a few minutes i get the pop up sim not supported, any tips i might have missed? thanks in advance :)

just to add to this, was able to use the one that uses netpatch and it is working, would just like to ask security wise how safe it is to use netpatch? just found out it is no longer available on google store and just a bit worried having all my connections go through the app, thanks in advance :)
[Google Pixel 4 XL Questions & Answers] famous37:
Use the AdB method. Which attached above.
[Google Pixel 4 XL Questions & Answers] JumboTSB:
As of two days ago, an android 14 kernel exploit that gives you root access and disables selinux was dropped on twitter by a researcher. Could we use this to force an oem bootloader unlock on locked devices? (Verizon)

https://twitter.com/i/web/status/1768047504979857500
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
Tested on Android 14 and 14 beta

WARNING:Before all that eject the simcard and insert the sim tray empty

1)Reset the device to factory

2)Select "Setup Offline"

3)WARNING: Dont select any password or security to phone and DO NOT CONNECT TO INTERNET UNTIL YOU FINISH FOLLOWING ALL THE STEPS

3')Copy "sim_unlock_linux.bat" for windows or .sh for linux in the adb drivers folder

4)Allow usb debugging in developer options and run "sim_unlock_linux.sh" if you have an linux distribution or "sim_unlock_linux.bat" if you have an windows distribution

5)Enter in phone settings/apps/show all/3 dots on the top select and enable show system apps/search for "Device Setup" and down you will see "mobile data and wifi" click on it and disable background data swipe back and select "app battery usage" and select restricted...do the same for "Carrier Settings" "Carrier Setup" and "Android Setup" apps

6)Reboot phone

7)Insert sim card

8)Enjoy your carrier unlocked phone 😀

You can use wifi or vpn without any dataguard app or netguard and metered wifi,you can use the phone as you will use in normal scenario like it is unlocked

If you encounter any problem pm me😉,i will help everyone cause i was in the same situation as you
[Google Pixel 4 XL Questions & Answers] crossover255:
^can it be used on a mac?
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
Yup

Download adb drivers directly from google,you can click on the blue text to send you to the website

extract them and copy the file i atached down to the folder where you extracted the adb drivers and open terminal (Idk if its called terminal on mac) in the same folder with adb drivers then write sh and drag and drop my file to terminal and press enter

View attachment 6082252View attachment 6082253View attachment 6082257View attachment 6082258

IF YOU DID THE STEPS CORECTLY IT SHOULD SAY "SUCCES"ON ALL COMMANDS

View attachment 6082261

On mine its says Failure at first cause i already deleted the systsem app

if you need more help write me on private
[Google Pixel 4 XL Questions & Answers] darkghost柚:
hey dude...

Im on March 2024 patch

and I followed your steps but something wrong with the code results

it shows:

View attachment 6082414

what can i do with this build: 14.0.0 (AP1A.240305.019.A1, Mar 2024) on pixel8

let me know plz
[Google Pixel 4 XL Questions & Answers] darkghost柚:
one more thing,

I do not have the option: mobile data and wifi

all the options I had here:

View attachment 6082415

Let me know plz
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
Wifi and data usage,click on it
[Google Pixel 4 XL Questions & Answers] Sebastil1an1:
Can you write me on instagram "th01c" or private messages,but first let me tell you that you have to reset the device first because the apps are not fully emcrypted yet,the code in my file removes some apps responsible for the carrier lock

Write me om private and i will help you more
[Google Pixel 4 XL Questions & Answers] darkghost柚:
I do reset the phone server time and I followed you on ins but I can not send a message unless you follow me back....wish I can talk to you soon
[Google Pixel 4 XL Questions & Answers] elelpguero:
is there a new update for this for android 13?