How can I obtain detailed information about my SIM card, using Android apps and/or
adb (possibly root)? I'd like to diagnose mobile data connection problems possibly caused by SIM card defects.
I just changed my mobile operator and got a new SIM card, and everything seems to work fine except that I cannot access Internet using mobile data: whenever I try to go to any site or use any app which requires network access, a "Login required" notification pops up. Activating it opens the browser in my mobile operator's homepage, and every other site is redirected to this one.
The thing is, I do have mobile data credit, but my provider seems to be blocking it. I suspected an issue on their side, but after explaining it to technical support, they dismissed it as "probably a faulty SIM card" and told me to get another one (free of charge).
However, I can still make calls (local calls are included in my plan) and access EDGE/3G antennas (they are detected, and I can access my provider's homepage via them). I do not understand how could a defective SIM card allow this kind of behavior.
I had Wifi disabled during my tests. The APN has been configured as defined in the SIM card and checked twice to match the one suggested in their website (resetting the APN or putting the SIM on another phone reverts to the prescribed settings). Indeed it's a captive portal, intended for when you run out of mobile data (so that you can top up using your mobile and credit card), but in my case I do have available data.
I would like to know if there are apps or some
adb commands which could provide more details about what's actually happening.
Note: the issue is not Android-specific (e.g. an old Symbian Nokia phone exhibits the same behavior), but I hope that a (rooted and unlocked) Android phone can provide me more detailed information about this situation.