I have a Pixel 4a, and have had this problem under LineageOS and now IodeOS, but not under stock Android nor /e/OS. The SIM card is Vodafone (Romania) and the same card works on my iPhone, on this Pixel 4a under Android or /e/OS, but it is not working on LineageOS nor IodeOS.
“Not work” means that I insert the SIM card, the phone see’s the SIM card, the Internet Settings area see’s the SIM card, but the message “Mobile data won’t autoconnect” is printed.
I went into the APNs - and none were selected. The OS should be autoconfiguring an APN.
Using ClaudeAI, Claude confidentally told me to use these settings
Name: Vodafone Internet
APN: internet.vodafone.ro
Username: internet
Password: internet
MCC: 226
MNC: 01 (or 10, depending on your specific Vodafone network)
APN type: default,supl
APN protocol: IPv4/IPv6
I selected the resulting APN entry, rebooted - no luck.
Then I looked at one of the APNs that were in the phone, which IodeOS had not selected, the settings were similar to what ClaudeAI told me. So I selected that one and rebooted – no luck.