yashsingh1/xdaforums huggingface dataset:
[OnePlus 11] xymeng:
Update:

- 2024/06/06: A magisk moudle is released for OnePlus 9 Pro to use Google's properitary SIM Manager to manage profiles instead of OpenEuicc. See post here.

Some people (like me) may be using CN/IN version OP11 but still want to benefit from the eSIM function. Now inspired by several posts (in Chinese, I listed them in the references), I made it in a tricky way. It confirms work on my CN variant running CPH2447-based Nameless-AOSP_salami-13.0-20230716-1121-Official.zip.

eSIM relies on the eUICC (Embedded Universal Integrated Circuit Card), which is a reprogrammable SIM card embedded in your device. Each eUICC has a unique EID, and carriers use this EID to register your phone and provide services to you. However, I am afraid that the eUICC is not equipped in the CN/IN variant, as I cannot get the eID using any APIs/tools. (I didn't disassemble my phone to confirm because it's my daily-used phone. Very happy if anyone wants to confirm this.)

After doing some research, I found that the eUICC can be easily embedded in a physical SIM card. All we need to do is to:

remove the original chip in the physical card;

weld the corresponding pins between the eUICC and the physical SIM card.

Here is a widely used eUICC chip ST33G1M2. You can find this in lots of IoT or wearable devices:

Here is a video (in Chinese, from @郑羊羊 https://bilibili.com/video/BV1oA411r7NL) for the tutorial. No need to understand Chinese. Focus on the operations.

As I am not good at DIY, I decided to buy the finished product from Taobao:

View attachment 5963211

Amazing quality in 80 RMB, right? (approx. 10 EUR)

Now the steps to use eSIM are:

Install the handmade-eSIM into Slot 2 of your phone, and power on. Check the sim-card status and EID should be shown in Slot 2.

Install this magisk module (https://github.com/AndroPlus-org/magisk-module-openeuicc). After rebooting, you will find it in the app list. Open it.

Click the plus button at the right-bottom corner, scan the QR code provided by your carrier and download. (Or manually input the required info)

View attachment 5963227

Make sure you connect to the network, and after downloading the info of the eSIM profile will be shown in this app.

Click the three-dot button and choose enable.

Wait for seconds to minutes; then it should work.

I haven't tested adding several profiles. But the sellers claim that it is okay to add at least 8 profiles. Maybe you could recommend some cheap prepaid eSIM plans for me to test this. (no passport requirement)

I think eSIM.me does similar things but their products are really expensive. Hence this solution may save some money, especially if you are willing to DIY and have deprecated IoT/wearable devices to disassemble.

References:

https://www.v2ex.com/t/954177

https://sparktour.me/2022/11/20/configure-esim-me-card-with-pc-sc-reader/

https://gitea.angry.im/PeterCxy/OpenEUICC

https://forum.fairphone.com/t/how-to-install-an-esim-on-a-fp4-with-lineageos/97310
[OnePlus 11] omernart:
in the original software, the esim software in OxygenOS 13 does not work with the sim card you bought? (It was converted to 2449 global software, not 2447, and the e-sim menu that came out from there)

We can get one of the contents of this box. :))) How can you send a esim? If you haven't received a single esim? Ideal for testing.
[OnePlus 11] surajpai524:
Is there a product link on Amazon or any other international site?
[OnePlus 11] xymeng:
Sorry I am not the seller. I just bought one from the seller (the image is sent from the seller, I chose this pic bcz I forgot to take one when I receive the package).

I have thought what you mentioned but I failed to boot to CPH2449 via DSU. Maybe once fixed this issue I could have a test with 2449 OxygenOS from. Then I'll let you know.
[OnePlus 11] xymeng:
I am not sure. That's why I attached a DIY video for that...
[OnePlus 11] Markpeng0315:
emm the seller you mentioned must be "速易卡科技" and it not working witl my oneplus 8 oxygen os 13 (at color os 12it could detect esim hardware but failed to download profile), ( my phone is CN varity so it could easily swap between coloros and oxygenos)

I had also noticed an possibal option: there some esim enabled phones such as find x5 and find x5 pro

due to the bascially same system , maybe we could unpack its rom and get an esim manage application or a version of sim manage could manage esim ( to use color13/oxygen13 default way to manage). there are android 13 develop version avaliable on google.
[OnePlus 11] anatoly1983:
Hi there. Where can I buy it, share the link, please.
[OnePlus 11] Markpeng0315:
i also made some by hand. do u wanna it?

btw, it is so hard to use a phone to manage.

----------------------------------------------------------------------------------------------------------------------------------

for rise control : i must mentioned openeuicc (magisk moudle) seems not working on oxygenos 13 properly.

this due to color os or oxygenos has system manage app but not included in the model, and it let other app not able to manage.

the other ways :

1>use an Lpa manage application on windows or linux or mac

2> use coloros stock image which belongs to esim phones such as find x5 series to unexact application and other side apps and swap them to your oxygenos, i tried some app might not able to install and seems like empty apk. weird

3>find a gsi image which has openeuicc prebuilt into

way one is tested by otherone, and way 2 or 3 is i thoughted and no tests on it.

I tried gsi and seems it refused to detect esim cards. both system settings and openeuicc (env: oxygen os 13 with gsi aosp 14+ gapps on oneplus 8 IN2010 which is CN version)
[OnePlus 11] Markpeng0315:
did u willing to handling it？ I am living in China and could easily bought some or make some for your testing

but it was a tough road. Trust me.
[OnePlus 11] anatoly1983:
My friend, thank you for your answer. I want to buy some sim-esim for me and my friends. But i cant make it myself. If you can share any link to buy it, ill be very thankful to you. If you dont want to share link here, you can write me in PM. Thank you.
[OnePlus 11] xymeng:
That's true lol. I bought one from that shop on Taobao. That's why I didn't attach the link here cuz I guess most users here are not from China hence it would be hard for them to use Taobao. BTW, OpenEUICC works under AOSP-based ROMs, for me it's Nameless.

Also, based on my test. the SIM Manager APP from AOSP would not work. At least on Nameless only OpenEUICC works.

I am wondering if the built-in ESIM manager (not the one from stock Android, I mean the eSIM setting in OxygenOS) works if I flash my phone to CPH2449. I just backed up my data and am working on testing this question :) Will report the result here later
[OnePlus 11] anatoly1983:
I can order from taobao. Plese, share link of item you are using.
[OnePlus 11] xymeng:
首页-速易卡科技-淘宝网

淘宝, 店铺, 旺铺, 速易卡科技

shop104192953.taobao.com

The name of this shop is “速易卡科技”, but the seller hided this product from the list due to some reason. You need to PM the seller to claim that you wanna buy the sim-esim product (make sure you declare enough that you wanna buy the welded card rather than the container card, in Chinese it should be 焊接好的成品卡).

Good luck and hope you can manage to use eSIM!
[OnePlus 11] xymeng:
Nice result! My late night does pay back. CPH2449 OOS has native support for this SIM-eSIM kit. Screenshots attached.

View attachment 5965545View attachment 5965547

I flashed my CN version to CPH2449 (with CPH2449 ocdt.img flashed). Now the eSIM works fine with the SIM-eSIM adapter... It's amazing as it means you can buy a CN version in around $4000 HKD (the average price at Hong Kong, maybe even cheaper on mainland, like 咸鱼...) and get the totally same experience as EU/GLOBAL version, just with the help of the ￥80 RMB kit from Taobao.

I hope one day those AOSP-based ROMs can have native support of eSIM. Then it would be time to say goodbye to OOS, lol.
[OnePlus 11] anatoly1983:
Thank you my friend.)
[OnePlus 11] Markpeng0315:
emm i use oneplus8 with oxygen 9008/edl flashed

it still unable yo manage esim like coloros

so could you get or share which app coloros or oxygen used to manager the esim？or no apps installed but cheat system this is an oversea model. thx
[OnePlus 11] Markpeng0315:
my phone now was a gray blank which disallow to activate esim

-------------------------

and also openeuicc seems only support singal esim profile

might be Google’s esim manage app works if aosp recognized it is an esim

I downloaded it but it semms refused to think it is a esim card （dsu mode+gsi）
[OnePlus 11] xymeng:
That's weird as even for OpenEUICC I managed to add 2 profiles. And for me AOSP does not recognize it as a eSIM. (from other posts some global version users said that even for a real eSIM-supported version those AOSP-based roms does not recognize the eSIM)

Could you find the EID of your eUICC in the phone state? (设置-关于本机-状态信息) Or enter the engineering mode and there should be an "Esim卡测试"... Try that

I don't think it is possible to dump the apk for you bcz it is in the settings app (com.android.settings), but not a standalone app...
[OnePlus 11] anatoly1983:
My friends, what do you think about this?

View attachment 5966067
[OnePlus 11] omernart:
" https://aliexpress.ru/item/10050017...w.productlist.search_results.0.17954aa6e4yqui" ...chip

NEW W25Q128JVPIQ eUICC chip​

)

??? Will it do the same job?

(xymeng visible in the picture eUICC chip ST33G1M2 -->MQ0 )​

Purchased. I'm waiting for it to come. . )))) I'm going to test it by trial and error.
[Google Pixel 7 Pro] luckychukiye:
Hi All.

Just got myself a unlocked Pixel 7 Pro (seller I got it from pruchased from Google directly). I'm setting it up & see OEM Unlocking is greyed out.

The first time I set it up I put in my Verizon SIM & got some random Verizon apps downloaded but I erased the phone to factory and updated it with all the security updates and see

View attachment 5963239

What should I do?

View attachment 5963241
[Google Pixel 7 Pro] hungragezone:
As I remember phone that sell by Verizon can't have OEM unlock

That's verizon things

LoL
[Google Pixel 7 Pro] ger3tto:
have you tried

fastboot oem unlock

?
[Google Pixel 7 Pro] luckychukiye:
Haven't tried that yet.

Do I need to install ADB and fastboot drivers first?

No need to worry about it being greyed out in the menu?
[Google Pixel 7 Pro] luckychukiye:
Do I need to contact them?

It was gotten from Google directly though. What are you suggesting?
[Google Pixel 7 Pro] ger3tto:
pretty sure, i don't own no pixel but.. try fastboot oem unlock, if that doesn't work then

fastboot flashing unlock

, do this at your own risk
[Google Pixel 7 Pro] hungragezone:
https://xdaforums.com/t/oem-unlocking-on-a-pixel-7-pro-verizon.4535767/

I don't know how u can buy that model

It doesn't look like global (Fi) model from google
[Google Pixel 7 Pro] luckychukiye:
What model does it look like to you?

I saw people had this issue on other phones & updated to latest OTA & did this

Pixel 6a unable to unlock bootloader on unlocked device from Google store - Google Pixel Community

That was on the 6A Though
[Google Pixel 7 Pro] Lughnasadh:
If the seller purchased it from Google directly, they may have purchased the Verizon model from them instead of the unlocked model (or another model). If that's the case, you won't be able to unlock the bootloader.
[Google Pixel 7 Pro] luckychukiye:
I'll ask but I don't think that' that's that's the case.

What should I try to do? fastboot oem unlock or?
[Google Pixel 7 Pro] luckychukiye:
Some people are saying to do a factory reset after updating all the software & take out the SIM & then it worked for them. Would you try that?

I got the IMEI number too
[Google Pixel 7 Pro] Lughnasadh:
Can't hurt to try. You can also go to Google's or Verizon's website and check you IMEI to see what model you have. But before you use the fastboot command to unlock your device you need to toggle on the OEM Unlocking in Developer Options.
[Google Pixel 7 Pro] V0latyle:
Won't work, you'll get "not allowed" without OEM Unlocking turned on - the toggle is the "safety", the fastboot command is the "trigger"

Worth a shot.

Remove SIM.

Perform a factory reset.

Skip through setup, ensure you connect to WiFi. sys.oem_unlock_allowed determines whether OEM Unlocking is allowed and is controlled by a whitelist in the cloud

Check for software update: Settings > System > System update > Check for update

Enable Developer Options, check if OEM Unlocking is available
[Google Pixel 7 Pro] luckychukiye:
Yeah I'm on the phone with verizon atm

Can I give the IMEI number here?

IMEI XX

Verizon is checking in on their end.

How do I do full factory reset? Settings right?
[Google Pixel 7 Pro] LLStarks:
Don't post your IMEI. If the phone was unlocked, you may have made an unfixable mistake booting it with the SIM card and locked down that menu forever.
[Google Pixel 7 Pro] _umbra:
You probably already know this but

Fyi, the general best practice when receiving a new smartphone is to do everything you want to do with the phone (unlock bootloader, root, or whatever) and then insert your SIM card.

I've heard that some carrier-based smart phones are bootloader unlockable w/o a paid service if you process a bootloader unlock and then insert the carrier-based SIM card. You can prob find the XDA forum posts that describes this :)
[Google Pixel 7 Pro] luckychukiye:
What should I do & you suggest?
[Google Pixel 7 Pro] LLStarks:
I basically treat any paid service for SIM unlocking or bootloader unlocking as a scam. Maybe it works for smaller countries that still use unlock codes, but that has not been the case in the US for a decade or so. Most unlocks are server-side now.

These services will happily take your money and a throw up their hands when they can't unlock.
[Google Pixel 7 Pro] _umbra:
Oh I didn't know that. Thanks for letting me know :)
[Google Pixel 7 Pro] luckychukiye:
So its under warranty from Google till 2024

VErizon just said its fully unlocked too & also to contact Google

What do you suggest factory reset first ?
[Google Pixel 7 Pro] luckychukiye:
I'll do this RIGHT now

its all updated
[Google Pixel 7 Pro] luckychukiye:
Oh now it's saying

Connect to a "network" or contact carrier

So its not telling me to explicitly contact the carrier
[Google Pixel 7 Pro] V0latyle:
Please don't, there's nothing anyone here can do with it that you can't do yourself, and it can be used maliciously. Plus this forum is public and viewable by anyone

There's two ways to do it:

1. Settings > System > Reset options > Erase all data

2. Recovery mode: Hold Volume Up while rebooting, when you come to the "No Command" screen, hold Power and click Volume Up to get into the menu. Select Wipe data/factory reset
[Google Pixel 7 Pro] V0latyle:
Check for an update anyway.

If it's still under warranty from Google you can request an RMA
[Google Pixel 7 Pro] TechX1991:
The only thing I can think of is its originally a carrier sold pixel, not from google, or a mix up. Throw the IMEI in here, and see what comes back as far as carrier. If it says unlocked, then there's something else weird going on

Sign in - Google Accounts
[Google Pixel 7 Pro] luckychukiye:
What do you suggest I do first?

Factory reset & then try the fastboot method?

Do I need any specific drivers for Pixel 7 PRo?
[Google Pixel 7 Pro] V0latyle:
What do you mean "fastboot method"?

If you're talking about a factory reset, they do the same thing. Doing it through system settings will reboot the phone to recovery and start the data wipe.

As for fastboot drivers...Check out any of the rooting guides, I think most of them list the Google USB driver necessary to interface with the device in bootloader mode, but for now, let's just focus on trying to get OEM Unlocking working.
[Google Pixel 7 Pro] luckychukiye:
Here's what it spit back

Here's what it spit back

Verizon told me its FULLY Unlocked though. I did put the SIM in originally when I turned it on not sure if that made a difference but I factory reset it once already

I just have it updated to the latest stuff now
[Google Pixel 7 Pro] luckychukiye:
I'll factory reset the phone now & use the guides to do a fast boot OEM Unlock

Hopefully that works.

Will take out the SIM first as you said

Question. After I factory reset the phone. I'll skip through the setup. I NEVER Signed into any Google Account so far on this device.. Do I just let system update do all the updates & the get in Developer Mode & then attempt the OEM Unlock via fastboot or?

How do you suggest I go about this?
[Google Pixel 7 Pro] Lughnasadh:
Looks like you have a Verizon model. Doesn't matter if it is sim/carrier unlocked. You won't be able to unlock the bootloader if that is the case.
[Google Pixel 7 Pro] _umbra:
I'm not sure if this will work but flashing the stock image using google's official android image flasher will probably help. Otherwise, you'll probably have to return the phone back to google and get a new one.

P.S.

Even though you buy a GP7P from google, you still need to buy one that is carrier unlocked. Otherwise, you're bootloader will be locked. From the contributions in this post, it sounds like you may have bought a verizon or carrier based GP7P FROM google if that makes sense.
[Google Pixel 7 Pro] shiftr182:
You have a "Verizon" Pixel. You won't be getting that unlocked.

When Verizon says it fully unlocked, they mean sim unlocked, i.e. you can use it on any carrier.
[Google Pixel 7 Pro] V0latyle:
Again...you can't use the fastboot command until the OEM Unlocking toggle is activated. As I said above, this is the "safety". When you turn the toggle ON, it removes the safety that allows you to unlock the bootloader, which you then do through fastboot. You cannot skip this step.

Connect to WiFi

Sign in with a Google account

Enable Developer Options

Check to see if OEM Unlocking is toggleable, if not, check for a system update then look again.

Unless this, there's unfortunately no workaround. Get a refund and buy directly from Google.

Nope, the firmware is exactly the same between carrier and Google variants. The only small differences are occasionally in the baseband image, which has nothing to do with the bootloader lock. As stated previously, the ability to unlock the bootloader is determined by a IMEI whitelist. If the device's IMEI falls within a block that was requested for a carrier, the device will not be unlockable.
[Google Pixel 7 Pro] luckychukiye:
Thanks

Why sign in with a Google account? I haven't at all on this device.

I saved that Google refund link you gave me. Thanks. Good thing this is under warranty
[Google Pixel 7 Pro] V0latyle:
I honestly don't know if it makes any difference but it's worth a shot, although when I received my Pixel 5 new from factory, I skipped through setup, did not connect to Internet or anything, just enabled Developer Options, turned on OEM Unlocking, rebooted to bootloader, and unlocked.

TBH you should seek a refund with the seller if possible, and buy direct from Google. If you do the RMA, they might send you another Verizon variant to replace it...
[Google Pixel 7 Pro] luckychukiye:
Thanks I'll try what you said without anything connected first.

No Pin/No Finger print.

No Need to update the OS first right or? You'd connect to wifi first?
[Google Pixel 7 Pro] Nothex:
IMEI Information

Use this to check your imei. If it's a verizon variant OEM unlocking is permanently disabled.
[Google Pixel 7 Pro] luckychukiye:
I did

All it says is that it'll work on Verizon which it does as I use Verizon
[Google Pixel 7 Pro] V0latyle:
I would connect to WiFi first so that the phone has an Internet connection. Then, I'd check for an update to encourage it to contact whatever servers it needs to.

But, at this point, as I've said before, I think your best bet is to request a refund, return the phone to seller, and buy direct from Google. Or, buy from Swappa.
[Google Pixel 7 Pro] bobnot:
Refund.

But you could try a reset and have a T-Mobile sim in it to try. I highly doubt that will work though.
[Google Pixel 7 Pro] luckychukiye:
Hm Nothing yet. I'll give it some more time

It does say connect to network so maybe there is hope.

I will get it from Google directly too though
[Google Pixel 7 Pro] TechX1991:
I used to work for a tech reseller. I go hundreds of Pixels of all variants... Carrier pixels, even SIM unlocked NEVER had the ability to OEM unlock without some form of an exploit to enable it. You have a device you can't bootloader unlock. I used to separate out the carrier vs google sold pixels because I would grapheneOS the factory unlocked variants and sell them for a slight bit more.

No matter how you do it, there's no current way to trick oem unlock to be toggleable in any of the pixel communities on current versions of android.
[Google Pixel 7 Pro] simplepinoi177:
So for future reference, at least for Pixel devices, if you plan on activating them on Verizon, DO NOT put in the SIM card until you are done unlocking the bootloader. In the slight chance you get a non-carrier variant, inputting Verizon SIM card has a good chance of locking it down once the SIM connects (source: Pixel 2 RMA was sent non-carrier variant; users who input the SIM had locked bootloaders while users like me that unlocked first was able to have a Pixel 2 Verizon device with unlocked bootloader).

It does look like you inadvertently purchased a carrier variant from Google store -- even though there is non-carrier variants (which is the same price and superior [in terms of unlocking bootloader]) also being sold there. If I was in your position, I would do my best to return and get a refund, then purchase a non-carrier variant with the refund....
[Google Pixel 7 Pro] luckychukiye:
Yea. Google said its under warranty too & when newer Pixel comes out so I can hold off. Not a huge deal. I just spoke to them

The camera should work very nice right?

Wonder what to try it with
[Google Pixel 7 Pro] luckychukiye:
Will def trade in for a fully unlocked
[Google Pixel 7 Pro] esjames:
Check to see what variant you have, follow what was posted here

https://xdaforums.com/t/july-21-202...7-pro-cheetah-safetynet.4502805/post-88713593
[Google Pixel 7 Pro] htc-8925:
I know this is an old thread, but this type of misinformation needs to be called out when it's spotted. It's impossible to "lock down" OEM unlock in menu on ANY Android phone that is fully unlocked just by booting with a particular carrier's SIM card.
[Google Pixel 7 Pro] htc-8925:
This is untrue. If you use a REPUTABLE service like unlockboot then it works just fine. They have unlocked several AT&T phones for me that were only days old with no issue at all, both phones that took codes and server-only unlockable ones.
[Google Pixel 7 Pro] LLStarks:
What you say vs reality for the Pixel series:

Really reputable lol. They're charging people $40 for a free exploit that isn't even permanent and you can find right on XDA. There's no magic. Yes, it works, but this thread is about OEM unlock being grayed out. This isn't even a proper server-side unlock.
[Google Pixel 7 Pro] htc-8925:
I don't know what source you're getting your false information from but i have factory reset every single phone I have used them for to carrier-unlock and NEVER had a device back out of being unlocked. I have an old Galaxy Note 4 that I was gifted that they were able to get carrier-unlocked for free while they waited for the server to come online when I paid to get my S22U AT&T FULLY and PERMANENTLY carrier unlocked. I don't know why you like trying to discount me and also their services so hard, but I assure you I can rebut every argument you have with them with facts that they do full, server-side carrier unlocks on all devices that require them and they reliably generate/pull unlock codes for all devices that allow device-side or unlock code local carrier/SIM unlocking. Please don't further be a jerk and try to prove me wrong, you'll fail and you're just making yourself look bad.