yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
oh, maybe but no guaranteed. You might need to make it pass yourself.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lowkii:
Is it possible to pass safety net checks with magisk or other methods?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Probably but I don't support them
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lowkii:
OK, I will give it a try.

It will be my first custom ROM, wish me luck:D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
If you want to wait, lineageos 21 literally launches tonight lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lowkii:
Nice, I was thinking of doing it tomorrow anyway. But thanks for letting me know.

Is Lineage OS 21 built on Android 14?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Yes. It may be a few days before widely available.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neilth:
I realize that it’s from another source, but Mind the GAPPS for Android 14 does not appear to be fully available yet. The only thing I was able to find is what I assume to be a trial version dated 10/25/23. Until there is an official release, if you want the Google apps too with Android 14, you will need to wait before upgrading to Android 14.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Please stop talking about things that you aren't privy too.

They're released, they're ready.

They're not yet linked on the wiki, as 21 isn't launched yet (next 2 days or so) - we won't launch without gapps linked on the wiki.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neilth:
Very good, glad to learn that everything is ready for release.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chimpookaz:
Thank you for keeping taimen alive.

I just updated from 20 to 21, followed the instructions when installing an package to a higher LOS version. No SIM card again. :(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] g000n:
Thank you dev for the hard work

I'll wait a few updates before updating
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
try going to stock and back . it's like 1/10 people that hits this.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chimpookaz:
Done. First boot is ok. Reboot will lose the sim again.

Will stick with 20 for the time being. Thank you for your hard work!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
Hi Dev, I installed LineageOS 21 on my two 2XLs, everything went super smooth. No bugs found yet.

Thanks for your wonderful work!

TWRP used: https://dl.twrp.me/taimen/

CFW used: lineage-21.0-20240216-nightly-taimen-signed.zip

Gapps: https://mindthegapps.com/download/ - MindTheGapps for Android 14 (LineageOS 21) ARM64 (direct flash doesn't work, need to sideload from ADB)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neilth:
Earlier this evening I upgraded my 2XL to Android 14 and updated my Gapps installation too. The process could not have been any easier or had any better results. A big thank you to Mr Johnson and all of the other folks supporting the Lineage OS. GREAT JOB, WELL DONE!😀
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neilth:
You are quite welcome!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chimpookaz:
Pardon me for pestering you with my complaints OP. As i was diagnosing what the problem could be, i found out vanilla install (no gapps) worked perfectly fine. Reboted multiple times and the cellular signal is still there. It's when i installed the mindthegapps 14 package/factory reset that the signal disappears again afer a reboot.

I did tried nikgapps-core but it gave me bootloop. I might try the magisk-micro g combo when i get the time.

LOS21 itself is super stable. Thanks again!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
One of the unlucky few who hits that, other than going back to stock, making a call, and then coming back, not sure what to say
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
I am say this is more than a few, I just found out both of my 2XL have this bug. They were all working fine, until I restarted them, then they stopped detecting the sim.

Hope the next version will have this fixed.

Best
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitroax:
Installed LOS21 (official+gapps) using official instructions. Everything works great. No SIM problems on my device.

Altought, on my father's P2XL and he got NO SIM after 2 days of use.. The difference is that he's on another network. Had to go back to stock.

EDIT: First reboot, got no SIM :/ Tried to flash stock radio.img and then fastboot -w and got no SIM after first reboot also. Thats a shame.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alexander9596:
Everything works very well, no problems here, but how can I get Dolby Atmos in this ROM?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Considering that's not something stock supports, legally from a licensing perspective we cannot include it, nor will it really work all that well
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
I did the OTA update for lineage-21.0-20240222-nightly-taimen-signed.zip. It runs well, but did

not

fix the no-sim bug.

Please take a look at this issue, this bug seems to affect many, if not all, Pixel 2XLs (as posted on this thread), and should be considered major bug since it disrupts daily uses.

Thanks!

@npjohnson
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
As I've said a bunch, my device doesn't really hit it.

Many others don't, and the ones who do the logs have so far been unhelpful.

Trying to figure it out but not sure tbh.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nocco!:
On LineageOS 21 I also encountered the bug with the sim not being detected after the first restart. The problem from now on was that downgrading on LineageOS 20 was not a solution as now the sim was not dectected as well.

After hours of trying I managed to get LineageOS 20 and my sim working toghter. After Lineage OS 21 I used the bootloader to boot TWRP and I formatted everything (dalvik cache, system, cache, data an internal storage). Then I used the bootloader to execute "fastboot -w". I contiued with the latest firmware from Google using the "flash all.bat" From here on I freshly installed LineageOS 20 and MindGapps and it works!

I hope I this helps everyone not being able downgrading as me.

Cheers
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] askany:
This is surely a major bug when it comes to the SIM not being recognized on a phone and the work around being to wipe all and going back to Stock, at least for the time being. Not sure if the original edition of the Pixel 2 XL (unlocked Google Fi, or other different carriers) is playing a role here! Mine is unlocked Google Fi edition which sadly for the very first time can't see the SIM whatsoever since updating to LOS 21 and then flashing the latest update.

I would like to additionally state that once you go to the Updater page, you see correctly: "No new updates found. To manually check for new updates, use the Refresh button".

But, now when you try (manually), you always get: "The update failed. Please check your internet connection and try again later". That is, no matter how the internet connection is superb!

Just giving this info for any potential investigation as necessary.

Best
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitroax:
Pixelbuilds by PixelBoot, works great and got no SIM problems.

Since LOS21 only has problems once you install GAPPS, it must be something thats messes up.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] askany:
Thank you for chiming in also. I'd note however my system is vanilla, always been, no Gapps ever, though it's rooted with magisk and standalone microg since.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
PixelBoot reached out and told us which commit fixes it. The SIM issue should be resolved in the next build.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] askany:
Thank you @npjohnson for passing this info. Very much appreciated.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
NOICE! Hopefully this fix does not need a systematic wipe. Is it too much to hope for a simple OTA that would restore SIM on affected devices?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Likely fine. We will have to see.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
Just updated to lineage-21.0-20240229-nightly-taimen-signed.zip on one of my bugged taimen, unforturnately, OTA alone did not restore the sim.

Could anyone with no-sim bug figure out -

Does a fresh installation of newest ROM have the sim detected

Does it prevent the bug from happening again with restarts

Is there a way to restore the sim on effected devices without a wiping out all the apps

Thanks very much!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitroax:
Best to do in bugs like this is always a clean install..

So, you should flash stock A11 and then reflash LOS21.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] askany:
That shouldn't otherwise be necessary, normally.

I wish at the minimum fellow posters could share their relevant setup details when posting, so that we may likely detect a 'pattern' and possibly narrow where to look. It's so curious as reportedly some have this bug and others do not!

And my understanding also, I think @5dPZ wanted among other interrogations, to get some sort of 'confirmation' that, when resorting at last to the crucial wiping action would result to permanent stable outcome after all...

Again, to confirm: this latest update (if targeted change was included), didn't fix the issue.

(Original unlocked Google Fi edition; Los vanilla - no Gapps; microG standalone; Rooted - Magisk)

Best
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
Just quick update - lineage-21.0-20240307-nightly-taimen-signed.zip still does

not

restore SIM upon OTA installation.

If anyone who is previously effected by the no-sim bug and got the problem solved and not re-occur upon restart through a clean installation, please post here. Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitroax:
Just tried a clean installation and didn't lost SIM uppon restart. Try it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Good to hear!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
Thanks for testing this out.

-from your previous post, you have two devices affected by this, does this update solve the problems on both?

-for this week or so, could you post here if the bug happens again to either of your devices?

Thanks again!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nitroax:
The other one is my dads phone.

Ok
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] uniquedood:
I told You but instead you **** on me even tho im right ! People have trouble with this OS recognizing sim , its not ready yet and it might not even be devs fault at all.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Slim2none4u:
Do better!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
Update, thanks to hard working dev and many members here. I managed to fix the no-sim problem with latest ROM (lineage-21.0-20240307-nightly-taimen-signed.zip).

Here's what I tried and results:

OTA update -> No sim

Clean installation -> No sim

Clean installation of OFW, then CFW -> No sim

Works:

Bootloader - install TWRP

TWRP - Full wipe + Data Format

Bootloader - fastboot -w, then Flashall.bat to install OFW (error can be there at Step #10 or so, therefore OFW won't boot, but this doesn't matter, because radio.img was one of the early steps), then install TWRP

TWRP - Full wipe + Data Format + Install CFW (lineage-21.0-20240307-nightly-taimen-signed.zip)

LineageOS recovery - sideload MindGappps

This fixed SIM for both of my 2XLs, two days now with multiple restarts, no relapse.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kaleend101:
Hello all,

This is my first time trying it in a long time so wanted to make sure I can clarify things before I try it.

1. I am following the wiki link to install the Lineage OS and it says must be Android 11. I am currently on Android 13, is that going to be ok or will it cause an issue?

2. "Boot your device with the stock OS at least once and check every functionality" What does this exactly mean, can someone please help clarify?

3. Everytime I restart my phone and connect it back to my laptop, debugging setting is on, but it wont show the phone on my laptop for a few hours. Is that normal?

Thank You
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] justDave:
BACK UP EVERYTHING YOU NEED BEFORE YOU START!!!

When you say Android 13, are you talking about upgrading from LineageOS 20? If not, better wipe everything and follow the instructions.

If you are upgrading from LineageOS 20, follow the upgrade instructions carefully. If all goes well, all your data and settings will be retained. If not, you'll probably end up wiping and doing a clean install anyway.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] justDave:
Which reminds me. For anyone that has upgraded from 20 to 21 lately... have you been able to do a dirty upgrade (without a wipe). Any SIM card issues?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kaleend101:
I'm talking about The latest version that Google supports on this phone OEM
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] justDave:
That would be Android 11:

Factory Images for Nexus and Pixel Devices | Google Play services | Google for Developers

developers.google.com
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ben6734:
Has anyone else experienced really bad lag when trying to access the SIM settings menu?

Also thanks for all the hard work keeping this device going with new ROMs.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] niccoV:
It seems like the screen freezes for a few seconds, right?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ben6734:
Yes, mine freezes for about 10 seconds.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] niccoV:
It happens to me as well
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] askany:
My personal experience in details and what I've observed and discovered since my last post, after taking another close look:

Upon a normal upgrade from 20 to 21, following standard instructions, remark the status bar does not show LTE or 5g or whatever usually is supposed to be there for you from the SIM, and you also won't have your carrier data.

Yes indeed, once you go to Settings, Network & Internet, then SIMs (Tap to activate [your carrier name here]), the SIMs page shows a SIM icon followed by "Activate / Default for mobile data, calls, SMS". Then tap on that; this page is always freezing for several seconds, you can't immediately and smoothly slide it up or down at all for some reason! Only then thereafter it unfreezes.

Now, pay attention: you'll notice obviously the data usage indicator is not updated, so the info there is inaccurate, old. Make sure to enable "Mobile data", "Roaming" as necessary, VoLTE and else, if not yet set. Slide the page all the way to the bottom to find "Access Point Names"...

Click on that (APN), you'll see that there is not any APN set at all, none is present either, empty! The system is NOT picking up the necessary info and automatically populating the APN parameters from the SIM, as usual! (Something is surely going on here, and I suspect is also likely related to the freezing behavior we're seeing on the previous and present pages).

Collect, find, search, get, or ask for your carrier's current APN settings info details*. Manually fulfill accurately all relevant details on the "Edit access point" page. To better do so, tap on the three vertical dots on the upper right side, tap on "Reset default", then the (+) sign to add the APN info:

_ Name

_ APN

_ MMSC

_ MCC

_ MNC

_ APN type

_ APN protocol

_ APN roaming protocol

_ Bearer (important here initially: select all (check all boxes), when it says "Unspecified". Do not check "Unspecified" (leave it otherwise unchecked; the only way)!

Now, go back up to the (3 dots) and save the APN. Next select it! Set Airplane mode to "On" for at least 15 seconds then Off, or just restart your device.

_You should have the SIM working correctly, with voice and data.

_The (freezing) SIM pages would now only freeze slightly, for noticeably fewer seconds, so therefore still not smooth as they should be as any other page, scrolling!

There you have it: before you go to any lengthy trouble of installations and reinstallation, try checking first and foremost the status of your APN and setting it manually as necessary. It may just save you time and much frustration after all.

(*) For your APN info, you may also just put your SIM in a working secondary phone around, to see and copy the needed info.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kaleend101:
So I am trying to install the Lineage OS and when I restart my device into fastboot mode, the PC and the phone lose connection. Can idea why that would happen and how I can resolve it. The connections restores after a few hours, it seems.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] justDave:
Connection problems are usually bad cables. Old Pixels seem to be particularly fussy.

Try a USB A to C cable or putting an old USB hub between the computer and the phone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kaleend101:
Ok. So I was able to wipe out my phone and get it ready for sideload. But when I try to sideload the package it gets stuck at "Verifying Update package" on my phone and nothing at all on my command terminal. Any thoughts? I tried restarts, adb-kill server but it doesnt work. Any tips are appreciated.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Legitimate_ process 99:
For how long was it stuck there?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kaleend101:
For as long as I can leave it there it just won't move forward
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] whoadood:
I get exactly the same. Plus the link to "My unofficial with Google Apps/Pixel goodies included" doesn't work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] whoadood:
The solution was, according to many google results, to put a USB hub between my phone and the computer. If you don't have one then try switching cables, ports, computers, etc.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Builds are building rn, had to clean as was out of space. Check in 48 hours.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] whoadood:
Do your builds include the pixel launcher? It's the only thing I can't download from the play store, and the default launcher is really tacky.

If I was to switch to your builds I suppose I would have to completely wipe my phone again?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Yes, but why is default tacky?

It's really close to same.

And yeah you would.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Sadly, this device utilizes android.hardware.radio@1.3 (or below).

This means that the March security bulletin - known as QPR2 - fully killed this device.

We (LineageOS) are trying to write a wrapper to make older radio HAL versions compatible with newer radio HAL versions.

With that said, we may or may not be successful and we're entirely unsure how long it would take.

So, sadly, for now, this device has 21 builds disabled - I have deployed one final February ASB unofficial build people can use in the intermediary (or you can use the final official build).

I will announce here if/when the device is re-added to the roster.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ben6734:
That's unfortunate. Does the march security bulletin also effect LOS 20 builds?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
No, but we aren't yet sure if we will re enable 20 builds for the affected devices.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ben6734:
I really hope you continue providing an up to date build for this device because it is really appreciated, but it is understandable if this is not possible any more.

Thanks for all the hard work you and others put in.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
It is sad to hear this. May I ask a few technical question?

-why can a "security update" fully kill the support to a working device?

-how can a monthly "security update" have larger impact than a full Android release (13 -> 14), which did not kill the support to HAL?

Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Because it isn't a monthly update, really.

Google did something called "switching to trunk based dev", which basically means that instead of stable branches with features and stuff picked in, they just tag the "main" branch at a point in time and guard off all the WIP or broken stuff (and awful practice tbh, no clue why they prefer this mess), but in effect it really was as if Android 15 dropped early from a code perspective.

They broke like 300 things, including on current pixels, so it hasn't been pretty.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Legitimate_ process 99:
Does this affect devices other than pixel phones?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
yeah, it effects all devices that meet the requirements I laid out, most of msm8996/msm8998/sdm845 tbh
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] 5dPZ:
As a newbie and purely by observation:

It seems that Snapdragon 835 (e.g. Pixel 2XL) and 845 (e.g. Pixel 3XL) are fuked up, but 855 (e.g. Pixel 4XL) or better are still OK?

Does a "wrapper" you mentioned work for all devices using the same processer? if so, making a single proper wrapper could salvage dozens of devices.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
Yes, the two and three series are affected, the four series is not.

And yes, the rapper would save probably about 40 devices on our roster.

It's not at all that people aren't trying, a lot of people are trying very hard lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kurageart:
Hi! I noticed I can't find nfc settings anymore on this device.. Was nfc support removed for incompatibility or is just me? Also, the latest updates I have are from the 29 of march.. so, is the development going on? I read on the notice that "

So, sadly, for now, this device has 21 builds disabled - I have deployed one final February ASB unofficial build people can use in the intermediary (or you can use the final official build).

I will announce here if/when the device is re-added to the roster."
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
no, development on this is halted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] dendk:
This has to be the easiest transition to an upgraded ROM I have done, and have done a bunch Nexus 7 2013 etc... thank you for you diligence and work on this team all good so far phone Verizon was seen right off.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] justDave:
Did you dirty flash from 20? I'm still on the fence about making this one (possibly last) upgrade.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ehuang3190:
Is this ROM fully compatible with Verizon (VoLTE, Wifi Calling)?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
yup
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] thedevchauhan:
Does the unofficial build solve device integrity issues?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] npjohnson:
No