And, I tried using the raw IP address of my home Internet connection. The idea being to test if DNS is blocked, by using just an IP address. But, this also fails in the same way.
With PingTools installed, and making sure that WiFi is turned off again, ping and traceroute to an IP address both fail. The error in traceroute is “network is unreachable”.
I guess I should have realized if all browsing is working through wifi then it (most likely) wouldn’t be the iodé app. Basically the iodé app is “man in the middle dns content filter”, so good test checking if it was just DNS (well maybe the app blocks based on destination IP aslo, I haven’t looked closely at the raw block lists).
I just checked setting up a wifi hotspot on my phone, and had mobile data disabled. I was able to browse the web on another connected phone. So I think that wifi hotspot
is by default bridging to your existing wifi network, meaning this is why you were able to browse the web through other devices using your phone as a wifi hotspot.
So this sure seems like an APN / carrier configuration issue. The “Mobile data won’t autoconnect” is resolved I believe by you enabling the toggle, right? But still no working network? Also, did we confirm what build of iodé you are on? I assume you have my “unofficial” build for the 4a, sunfish
?
I think you may have misunderstood what I said. The scenario with WiFi connected is working fine, no problem, etc, but what I want to work is the scenario of being away from home and relying solely on mobile network connection. To emulate that I keep turning off WiFi, but one time I forgot to do so.
I’m not sure what you’re asking in the last paragraph. To test mobile data I’m turning off WiFi, and the mobile data remains on.
As for Iode build, I’m using whatever comes by default for sunfish using the installer app on Linux.
The latest thing I’ve installed is Network Cell Info LIte …
This shows “HSPA Vodafone” with the needle in the green zone and reading -79, and “SIM1” is also in the green zone with -81.
But, in the “speed” tab it says no data network is connected.
No. The WiFi Hotspot test is with WiFi turned off. Also, I’ve used that trick away from home, turning on the WiFi Hotspot (with no WiFi available) then using another device to browse the Internet through the WiFI hotspot.
The last week I’ve been too busy to think about this issue. But, I did install some apps for exploring mobile network connectivity - the idea being to see what can be seen.
Basically, the phone is able to see nearby cells just fine.
But, one of the apps is giving notifications that the phone regularly loses GSM connectivity, then regains GSM connectivity.
I think I misstated myself here.
I am still really stumped on this one, but since this Pixel 4a is your testing phone, are you willing to flash back to stock Android using flash.android.com and re-confirm you have no cellular data connectivity issues? Take a note of the APN settings there as well if it is successful.
This way we can approach the issue from a known working scenario. Others may have better ideas but again I am stumped on this issue.
I was trying to (re-)discover how to view the current APN data from the adb command. For eample,
adb shell content query --uri content://telephony/carriers/current
This lists some APN data, but the list of entries it returns doesn’t match what’s actually in the APN settings page. There’s an APN that I added, described above, that doesn’t show up on this list.
Shouldn’t this command (which explicitly names the APN that I entered) show up something? Instead it says “No result found”
adb shell content query --uri content://telephony/carriers --where 'name="internet"'
I used the http://flash.android.com/ site to revert the Pixel 4a to stock Android. It installed Android 13, FWIW.
It readily connects to mobile data, and solely with mobile data I can easily browse e.g. Wikipedia.
Using the Network Cell Info app, it see’s the Vodafone cell tower just fine.
The APN settings are:
Name: Vodafone live!
APN: live.vodafone.com
Proxy: Not set
Port: Not set
Username: live
Password: vodafone
Server: Not set
MMSC: Not set
MMS Proxy: Not set
MCC: 226
MNC: 01
Authentication type: PAP
APN type: default, supl
APN Protocol: IPv4
APN roaming protocol: IPv4
APN enable/disable: checked and greyed out
Bearer: unspecified
MVNO type: None
MVNO value: greyed, None
Now, I have installed /e/ OS again. Turning off WiFi to emulate needing to use mobile data only … the mobile data is shown connecting as H+ and the APN data is:
Name: Vodafone RO live!
APN: live.vodafone.com
Proxy: 193.230.161.231
Port: 8080
Username: live
Password: vodafone
Server: Not set
MMSC: Not set
MMS Proxy: Not set
MMS port: Not set
MCC: 226
MNC: 01
Authentication type: Not set
APN type: default, supl
APN protocol: IPv4
APN roaming protocol: IPv4
APN enable/disable: greyed and checked
Bearer: Unspecified
MVNO type: none
MVNO value: greyed and Not set
I did have to explicitly check the Mobile Data choice
The Android version is - 14
The /e/ OS version is 3.0.4 plus a lot more stuff
Using the browser supplied by /e/ OS, I typed in wikipedia.com
, it claimed there was a security problem and I had to go into advanced mode etc, and it went ahead and connected with HTTPS. Once I did that, I could browse some Wikipedia pages.
In other words, mobile data is working (on /e/ OS)
I got GrapheneOS installed on the Pixel 4a. During setup, I enabled WiFi and had to explicitly turn on the Vodafone SIM for data access.
The APN configuration:
Name: Vodafone live!
APN: live.vodafone.com
Proxy: Not set
Port: Not set
Username: live
Password: vodafone
Server: Not set
MMSC: Not set
MMS proxy: Not set
MCC: 226
MNC: 01
Authentication type: PAP
APN type: default, supl
APN protocol: IPv4
APN roaming protocol: IPv4
APN enable/disable: Greyed, enabled
Bearer: Unspecified
MVNO type: None
MVNO value: greyed, Not set
As for accessing the Internet w/ WiFi turned off, and Mobile data enabled. The mode comes up as LTE. Using their web browser, I entered wikipedia.com
and browsed a couple of pages with no problem.
On what might be a tangent, I tried installing an eSIM on this phone. In addition to the Vodafone RO physical SIM, I have an eSIM via a USA carrier for a USA phone number. I’d seen someone worry that having two SIMs in a phone would confuse the open source systems.
In GrapheneOS the ability to use an eSIM seemed to be turned off, and I couldn’t figure out how to turn it on.
I reinstalled stock Android using the online flasher thingy, and as expected the phone behaved correctly with the eSIM in addition to the Vodafone SIM. I’d used this phone that way for a couple of years.
Installing /e/OS again, it also worked correctly with the eSIM installed. I had to explicitly reenable mobile data for the Vodafone SIM, turn off mobile data and roaming for Tello, and enable WiFi Calling for Tello (the eSIM carrier).
I think I have success. I reinstalled Iode using the Linux installer, so it picked up the latest Iode 6.6 for Sunfish.
I have WiFi turned off to emulate being away from home.
At first, the Vodafone SIM (I had erased the eSIM and have not reinstalled it yet) connected as H+ but did not support mobile data (meaning, opening the browser and going to Wikipedia, the site would not open).
So.. using the GrapheneOS APN as a guide, an entry named “Vodafone RO live!” was installed and active. I edited that and the only thing to change was emptying the Proxy and Port settings. I left the Authentication Type alone - meaning it doesn’t have a value and I did not select one.
With that setup, and WiFi turned off, and Vodafone indicating LTE, I can use the browser to browse the Wikipedia site.
I could not proceed to testing the eSIM because the eSIM area doesn’t seem to allow adding an eSIM? I’m confused by that, but it’s a tangential issue.
To further test, I opened the Aurora Store and (with WiFi turned off to ensure it’s using mobile data), I installed the DuckDuckGo browser and the Wise app. With the DDG browser, I can browse Wikipedia using mobile data. But, enabling the Wise app required being on WiFi to be on the same network as my other devices that were used for verification. For both, downloading and installing the app happened over mobile data.
Bottom line - Starting with the default APN provided by the install/setup process, I erased the Proxy and Port settings, and now it seems correct.
On the eSIM issue, I found another thread which started with someone’s mobile data issue on a Pixel 8, but got sidetracked with eSIM. As suggested in that thread, I opened the OpenEUICC application and enabled Dual Sim. But, now Tello tells me I’ve used too many eSIMs recently and I suppose I need to wait until tomorrow to install the eSIM.
Congratulations! What a long and twisted road! Removing Proxy and Port was the answer! But taking the time to see how it is done in stock, with /e/, etc, was a helpful exercise. Please do mark this as the “Solution”! I haven’t quite understood where the default APN entries for carriers are (I know where it is done on Linux but not on Android), but this is ripe for a simple PR.
There are some other threads on eSIM, please follow up there (or a new thread) if you have issues getting it registered.