I have used LineageOS in many Android devices and face internet connectivity issues with mobile data. My mobile data never used to work properly in Xiaomi MI A2 on Lineage OS and my current phone OnePlus 9 Pro 5G. A few days ago, I met contrapunctus who has the same phone model with Lineage OS. He fixed this issue by comparing the settings of my phone with his.
In case, you are suffering from this issue, the following steps fixed the issue for me:
- Navigate to Settings -> Network Settings -> Your SIM settings -> Access Point Names.
- Click on the ‘+’ symbol to add a new access point.
- In the Name section, you can input any name (e.g.,
test
). - In the APN section, enter
www
and save the settings.
Check the screenshot below.
Once you have added this new APN, ensure to select it from the list of available APNs. Following this configuration change, the issue got fixed. I hope this works for you :)