Sample Header Ad - 728x90

How to blacklist Moroccan mobile networks on Oppo A74 4G (CPH2219, Android 13) to prevent accidental roaming from Spain?

0 votes
0 answers
26 views
I'm in Spain, near the southern coast, and my phone sometimes connects to Moroccan networks (Maroc Telecom, Orange Maroc, Inwi) when I am close to the shore. This causes unwanted roaming charges. My device: - **Model:** Oppo A74 4G (CPH2219) - **Android version:** 13 - **Build year:** 2022 - **Root access:** No root - **Carrier:** Spanish operator (Movistar, Vodafone, Orange...) What I want: - A way to **blacklist specific PLMNs** (MCC/MNC codes 60400, 60401, 60402) so the phone will *never* connect to them. - Ideally, a SIM/Android-level solution similar to editing the FPLMN (Forbidden PLMN list). - I know how to lock my phone manually to Movistar, but that’s inconvenient — I’d like something automatic or permanent. What I have tried so far: - In **Settings → Network selection**, I can manually choose Movistar, but that only works until the signal drops. - Disabling **data roaming** prevents data charges, but the phone can still camp on Moroccan networks, which is disruptive. - I checked /dev/smd* devices via adb shell:
crw-rw---- 1 radio radio 239, 5 /dev/smd11
crw-rw---- 1 bluetooth bluetooth 239, 3 /dev/smd7
crw------- 1 root root 239, 4 /dev/smd8
crw-r----- 1 radio radio 239, 2 /dev/smdcntl8
I know that in theory AT commands (e.g. AT+CRSM to edit EF-FPLMN) could be sent via these modem interfaces, but without root I can’t access /dev/smd8. **Questions:** 1. Is there **any way (without root)** to permanently blacklist specific PLMNs on Oppo/Qualcomm Android devices? 2. Can AT commands be sent to the modem via an accessible interface like /dev/smd11 (with radio permissions)? 3. If not, are there other Android or SIM-level mechanisms to block Moroccan networks specifically while allowing normal EU roaming? I found references like [Onomondo: How to clear the FPLMN list on a SIM](https://onomondo.com/blog/how-to-clear-the-fplmn-list-on-a-sim/) , but they assume direct AT command access to the SIM, which doesn’t seem possible without root. **What I am not looking for:** - Disabling roaming completely (I still need EU roaming). - Manual network selection every time I move around (too inconvenient). - Just disabling mobile data (the phone still camps on Moroccan networks and I may miss calls/SMS).
Asked by Gilles Quénot (735 rep)
Sep 4, 2025, 02:24 PM