-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to reliably connect to mobile network when SIM pin is present #79
Comments
Thanks for making a bug report. Can you capture some radio logs for me? Did you update via OTA/dirty flashing? Here is a link to the build affected: The last update involved swapping to a newer Samsung radio stack which fixes some calling issues and build hacks we had to use, and in my testing worked flawlessly, so I suspect it is related to some process related to updating rather than clean installing |
I updated via dirty flashing. I will try and get around to performing a clean flash later today. |
Your suspicions are correct it seems. I am unable to reproduce the problem after a clean flash. |
Interesting. There might be some file/db incompatibilities with the OSS RIL vs Samsungs RIL, which causes it to error out when doing pin unlocks. If it is a file (or something akin to that), I will just have the system delete the OSS version of the file on each boot if thats possible If it isn't possible to simply delete, the solution for the time being is to mandate clean flashes, which wouldn't be ideal, but is at least a solution. WIP for now. |
Interesting update: clean builds and installs of 19.1 exhibit the issue every time for me now, but only on an S6 and only 19.1. Note 5 seems to be completely fine. Lineage 20.0 clean builds/installs are fine. Adding to the mystique, lineage 18.1 also does not have this issue. Quite strange. Seems like RIL is reporting the sim being absent after failing to send a particular command, while the note 5 cleanly resets, gonna need to do some more digging. Might be some note 5 specific change I made in 19.1 causing a bit of issues there I could revert back to the OSS radio, but that would suck for numerous reasons. I think having people remove the sim lock prior to installing/updating is the only viable solution given the weird nature of this issue. Definitely need some more time to look into this. |
Either I am missing something from the logs or it is a different issue that affects more stuff. I was able to recreate the issue on a LOS 20 install even after clean flashing just by doing an update. I did some comparisons and nothing really stood out. The Note 5 I recently acquired does not have any of these problems. But I remember some users were having trouble detecting a SIM at all in some previous versions of the ROM last year. After reverting a few commits from that period, it appears I have fixed the problem? Still need to narrow down what precisely happened, but I suspect something else is at play. I would love to get a fresh S6 and see if this is the case, but unfortunately that is not possible for me atm. Just out of curiosity, have you ever installed Floyd ROM? Have you ever installed the "trebleizer" script either? |
I got this error when installing lineage-20.0-20240313- UNOFFICIAL-zeroltexx for samsung s6 edge. I had to install lineage-19.1-20240220 on both devices. And so far everything is working fine. |
No, I never installed any of those. Let me know if there is anything specific that you would like to test out. |
I'm using version 19.1 from March on my SM-G920F phone and had no problem entering the PIN until the phone suddenly restarted while trying to end a call. After restarting, I couldn't do it anymore. It happened to me a month ago and this week for the second time. I think in both cases I had the network set to 4G.
|
Build used
20240313-UNOFFICIAL-zerofltexx
Model number
G920F
Describe the bug
After booting up phone, the sim pin prompt would appear, but then quickly disappear again.
A popup would then appear saying "Sim card removed. The mobile network will be unavailable until you restart with a valid SIM card inserted". It was sometimes possible to connect to the mobile network, if I very quickly unlocked the phone and entered the SIM pin as soon as the phone booted. Once I was successful doing this, I removed the SIM card pin, rebooted the phone several times, but was unable to reproduce the problem anymore.
To Reproduce
Any extra info
No response
The text was updated successfully, but these errors were encountered: