LineageOS on Pixel 5a "No SIM card" and SIM Status "Not available" - LineageOS Questions & Answers

I installed LineageOS barbet 18.1 and it went very smooth. The phone boots up and looks just like the GUI on my old Moto G7 Plus with LineageOS. I went through the first boot setup and it seemed like everything was working. Then, I inserted the SIM card and started the phone. In "Settings" under "Network & Internet" I select "Mobile network" and the only thing I see is a switch turned off and it wont let me turn it on. Under mobile data, it says, "no sim card". the same sim works in my other phone. I have taken it out and put it back in my old Moto G7 plus and it is recognized, however, it is not recognized in my new Google PIxel 5a. I have rebooted several times and closely examined and cleaned the SIM and reinstalled, with same results. Under "About phone" it says, SIM status "Not available". Why doesn't this phone see my SIM?
Android version 11
Build number lineage_barbet-userdebug 11 RQ3A.211001.00110040850

I have the same "No SIM card" issue on my new Japan-sourced pixel 5a. I've tried it with the latest three versions of LineageOS barbet 18.1, and none work. My SIM works in other phones.
The only things I've got installed are Magisk, and the RethinkDNS firewall.

I just found the following Pixel 5a issue on the LineageOS gitlab, which reports similar symptoms.
Pixel 5a - No Sim Card Detected - Confirmed Working On Google Android 11/12 (#4235) · Issues · LineageOS / issues / android · GitLab
Expected Behavior Pixel 5a should see the SIM card and connect to the mobile carrier.
gitlab.com
Plus another similar: https://gitlab.com/LineageOS/issues/android/-/issues/4444
The solutions offered are a mix of "flash back to an exact stock image first" and "it works when MindTheGapps is installed"

owjfnqe said:
I have the same "No SIM card" issue on my new Japan-sourced pixel 5a. I've tried it with the latest three versions of LineageOS barbet 18.1, and none work. My SIM works in other phones.
The only things I've got installed are Magisk, and the RethinkDNS firewall.
Click to expand...
Click to collapse
i found out what I did wrong! There is an instruction I ignored in the very beginning at https://wiki.lineageos.org/devices/barbet/install
"
Warning: Before following these instructions please ensure that the device is on the latest Android 11 firmware.
This is not necessarily the newest available version! Please up- or downgrade to the required version before proceeding (guides can be found on the internet!)."
so after the first try, I had barbet that was written for Android 11 on a phone that still had android 12 on its ROMs
My phone was version 12 and needed to be downgraded. Instead of using the normal download from lineageos, I installed a much larger file 1.6GB but I forgot where I got it. anyway, it worked.

Related

No network - SIM PIN Operation failed

Dear all,
I'm having some serious issues about connecting to my service provider via my Nexus 5x (model LGH791). I'm based in Germany, trying to use o2. Due to the fact I'm using a german user interface some of the following translated description may vary from the original english descriptions.
Bootloader Info:
PRODUCT_NAME - bullhead
VARIANT - bullhead LGH791 16GB
HW Version - rev_1.0
BOOTLOADER VERSION - BHZ10r
BASEBAND VERSION - M8994F-2.6.32.1.13
CARRIER INFO - N/A
SERIAL NUMBER - 00b5xxxsecretxxxx
SIGNING - production
SECURE BOOT - enabled
DEVICE STATE - unlocked
Recovery: TWRP 3.0.2-1
Kernel: Stock Kernel.
Root: No, not rooted.
EDIT:
IMEI: looks like a valid IMEI
When I try to unlock my SIM via PIN I read the message: "SIM PIN Operation failed".
When I'm searching manually for a provider under Settings > Mobile Network I get the message "Error while searching for network".
I already flashed the sugested image from this XDA post here to change the base band.
I flashed the PureNexus ROM located on the XDA-Developers Forum, to change the base band too.
I removed the partition modemst1, suggested by this post, too.
I re-flashed the latest Stock ROM MTC20F from Google Developers.
I were able to choose the "European" and "Automatic" option under *#*#4636#*#* but I had to choose an option multiple times to successfully set it. Even choosing the USA Band says "Setting [USA Band] Unsuccessful". After alternating between "EURO Band" and "Automatic" a few times (varying) it says "Setting [EURO Band] Successful". Seems like some settings can't be set right away. Confusing.
When I'm prompted to unlock my SIM via PIN, I'm able to unlock it the first time. A few seconds pass and I'm prompted a second time resulting in a waiting/looping screen that says "Unlocking SIM..." that seems to be canceled after a timeout. The SIM card won't get unlocked after the second prompt.
Right now I'm not able to get any connection to a mobile service. The rest of the device works as expected.
I tested my SIM card in my Nexus 5. It's working fine. It's a self-cutted SIM card, formerly in the format of a microSIM.
I tested another SIM Card, used within an older HTC One Mini, that is working fine, too. It's a nanoSIM.
Anyone got any idea what's going on?
Best,
huppys

Device doesn't connect to mobile network

I was on PixelExperience (latest) and yesterday flashed through Magisk 17.0 and 17.1. Today morning device couldn't connect to mobile network at all (2G/3G/4G/LTE). Wiped it completely, flashed latest dev firmware and Nitrogen OS + unofficial Gapps for Android Pie. Everything works quite smooth, but still my device can't connect to mobile carrier - any ideas what I can try? It's crucial for me to fix it today since I need to be able to send/receive SMS tomorrow.
Tried switching sim slots?
Just to see if the sim card works with the other slot.
Does an IMEI number show for both slots under settings - about? (Don't tell us your IMEI)
Are you sure your network provider hasn't cut you off by mistake or some other weird account based issue?
Try another sim if you can get one.
A pay as you go sim without credit should still show a connection even if you can't use it
Yeah, I did try.
1. Tried other card (got polish Orange card which connects to EE, UK EE card - both work in my brother's SGS6).
2. IMEI is okay, don't know if IMEI SV should be 00 though.
3. Cards work okay in SGS6.
99% it's software issue - I've used Magisk modules to widen Wi-fi bands and other modules - I did format all partitions and flashed latest stable Global MIUI through fastboot though and it should override all the settings. I've used the *#*# code and I can't pass the test.

Installation on Moto G8 Power, Sofiar RETEU, XT2041-3

I just bought this phone and installed LineageOS 17.1.
Dual SIM / 64GB / 4GB version
I pretty much followed these instructions: https://asineth.ml/post/android-rav/
One issue I ran into was that the "OEM unlock" option in the UI was disabled (greyed out) because you need to be online for that. After connecting to Wifi i was able to continue.
Another issue: I couldnt execute `fastboot reboot fastboot` because my adb/fastboot binaries were to old. I followed https://wiki.lineageos.org/adb_fastboot_guide.html to get the latest versions.
I do experience some small bugs that I also had with 17.1. on my previous phone (Moto G7 Plus)
- cellular data stops working for some reason, turning mobile data off and on again fixes the problem until it occurs again.
- sometimes i cannot click "Read" on text notifications in the notification area.
- the signal cellular bar appears with a little x in the bottom right corner and I dont know what the x is supposed to indicate.
feel free to ask for help if you have the same phone and get stuck in the process.
cheers
sadly more bugs
- if I turn off wifi hotspot the phone freezes and reboots
- sometimes the phone swallows text messages that are sent to me

Question [LOGS] NO SIM CARD after apply safetynet-fix

Hello,
I have installed OP 12 (C44) stock rom (BA version), then apply root with magisk v24.1.
In magisk zygisk & denylist turned on.
Now everything is fine I have root but google pay doesn't work so...
I'm installing https://github.com/kdrag0n/safetynet-fix, after that my dialer broke.
1) I see "no sim card" in two slots
2) Could not open settings -> mobile network (phone has no reaction, but sometimes it says "com.android.phone" stop working
Turning off safetynet-fix / zygisk doesn't help.
Only when I flash whole rom again - it work, but I lost all SMS & phones.
The plus point is that safetynet test has a green light, but I could not phone by phone ))
What do I badly?
Update:
I see some logs from ADB:
Spoiler: code
Failed to open database '/data/user_de/0/com.android.providers.telephony/databases/carrierIdentification.db'.
android.database.sqlite.SQLiteCantOpenDatabaseException: Cannot open database '/data/user_de/0/com.android.providers.telephony/databases/carrierIdentification.db': Directory /data/user_de/0/com.android.providers.telephony/databases doesn't exist
you probably didn't do anything badly, i have never used any safetynet fixes as i never needed them, so i probably don't know much stuff either. Worst than that is having magisk literally destroying baseband from a32 4g that even a reflash and repartition wouldn't work

Lineage OS 19.1 on Pixel 5a: Now Playing not working

As the title states, I have a Pixel 5a running lineage os 19.1 with Android 12. I am unable to get the Now Playing feature working. It keeps saying either "No internet, connect to wifi" (even when I'm connected to WiFi) or it will say "waiting to download database" but never does. I'm not sure if I'm missing a Google services app or if I accidentally uninstalled something I need. I do have Magisk and am play store verified if that helps. Thank you!

Categories

Resources