IPv4 mobile data connection not possible

REPRODUCIBILITY: 100%
OS VERSION: 4.4.0.64
HARDWARE: Xperia 10 III
Android Version before flashing Sailfish: 62.0.A.9.11
VOLTE: Disabled
UI LANGUAGE: German
REGRESSION: (compared to previous public release: Yes, No, ?): No
IPv4 and IPv6 mobile data connection works as expected on Xperia X (F5121), SFOS 4.4.0.64, with the same SIM card and same APN settings.

DESCRIPTION:

No IPv4 mobile data connection with MNO Telekom Deutschland possible.

PRECONDITIONS:

SIM card from MNO Telekom Deutschland (e.g. MVNO Congstar)
A.) Set up mobile data access point for dualstack (e.g. Congstar APN: internet.telekom, Protocol: Dual, Auth: PAP, User: congstar, Password: cs)
or
B.) Set up mobile data access point for IP(v4) (e.g. Congstar APN: internet.telekom, Protocol: IP, Auth: PAP, User: congstar, Password: cs)

STEPS TO REPRODUCE:

Turn off WLAN
Turn on mobile data
Ping a IPv4 address (e.g. ping 9.9.9.9)
Read output: “ping: sendto: Network is unreachable”

EXPECTED RESULT:

A.) Dualstack mobile data connection (IPv4 and IPv6) established
B.) IPv4 mobile data connection established

ACTUAL RESULT:

A.) Only IPv6 mobile data connection established
B.) No mobile data connection

ADDITIONAL INFORMATION:

(Please ALWAYS attach relevant data such as logs, screenshots, etc…)

A.) Protocol setting: DUAL:

Jun 11 10:53:59 Xperia10III connmand[5393]: ipconfig state 2 ipconfig method 1
Jun 11 10:53:59 Xperia10III ofonod[3324]: Activating context: 1
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:53:59 Xperia10III kernel: HTB: quantum of class 10001 is big. Consider r2q change.
Jun 11 10:53:59 Xperia10III kernel: HTB: quantum of class 10010 is big. Consider r2q change.
Jun 11 10:53:59 Xperia10III kernel: HTB: quantum of class 10020 is big. Consider r2q change.
Jun 11 10:53:59 Xperia10III ofonod[3324]: setting up data call
Jun 11 10:53:59 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:53:59 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:53:59 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:53:59 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:53:59 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:00 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: ofono: 0x93c22e0 DUAL no IPv4 address set
Jun 11 10:54:01 Xperia10III connmand[5393]: cellular setup was not completed in time
Jun 11 10:54:01 Xperia10III connmand[5393]: ipconfig state 3 ipconfig method 1
Jun 11 10:54:01 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
Jun 11 10:54:02 Xperia10III systemd[5698]: selinux: Unknown permission start for class system
Jun 11 10:54:02 Xperia10III systemd[5698]: selinux: Unknown permission start for class system

[root@Xperia10III defaultuser]# connmanctl services cellular_xxx-congstar-xxx_context1
/net/connman/service/cellular_xxx-congstar-xxx_context1
  Type = cellular
  Security = [  ]
  State = online
  Strength = 67
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = congstar
  Roaming = False
  Ethernet = [ Method=auto, Interface=rmnet_data2, Address=00:00:00:00:00:00, MTU=1500 ]
  IPv4 = [  ]
  IPv4.Configuration = [ Method=off ]
  IPv6 = [ Method=fixed, Address=2a01:0598:92b4:cfa2:813e:7a68:0323:b9fa, PrefixLength=64, Gateway=fe80:0000:0000:0000:7858:2b86:e0a6:5079, Privacy=disabled ]
  IPv6.Configuration = [ Method=fixed, Address=2a01:0598:92b4:cfa2:813e:7a68:0323:b9fa, PrefixLength=64, Gateway=fe80:0000:0000:0000:7858:2b86:e0a6:5079, Privacy=disabled ]
  Nameservers = [ 2a01:0598:07ff:0000:0010:0074:0210:0221, 2a01:0598:07ff:0000:0010:0074:0210:0222 ]
  Nameservers.Configuration = [  ]
  Timeservers = [  ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [  ]
  Proxy.Configuration = [  ]
  Provider = [  ]
  Available = True
  Saved = True
  Access = 
  DefaultAccess = sailfish:1;ClearProperty(*)|Connect()|Disconnect()|Remove()|ResetCounters()=deny;group(privileged)=allow

B.) Protocol setting: IP(v4):

Jun 11 11:07:22 Xperia10III ofonod[3324]: Activating context: 1
Jun 11 11:07:22 Xperia10III ofonod[3324]: Unexpected data call status 51
Jun 11 11:07:22 Xperia10III connmand[5393]: [ofono] ERROR! GDBus.Error:org.ofono.Error.Failed: Operation failed

[root@Xperia10III defaultuser]# connmanctl services cellular_xxx-congstar-xxx_context1
/net/connman/service/cellular_xxx-congstar-xxx_context1
  Type = cellular
  Security = [  ]
  State = idle
  Error = connect-failed
  Strength = 62
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = congstar
  Roaming = False
  Ethernet = [ Method=auto, Interface=rmnet_data2, Address=00:00:00:00:00:00, MTU=1500 ]
  IPv4 = [  ]
  IPv4.Configuration = [ Method=dhcp ]
  IPv6 = [  ]
  IPv6.Configuration = [ Method=fixed, Privacy=disabled ]
  Nameservers = [  ]
  Nameservers.Configuration = [  ]
  Timeservers = [  ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [  ]
  Proxy.Configuration = [  ]
  Provider = [  ]
  Available = True
  Saved = True
  Access = 
  DefaultAccess = sailfish:1;ClearProperty(*)|Connect()|Disconnect()|Remove()|ResetCounters()=deny;group(privileged)=allow

For comparison:
Xperia X, SFOS 4.4.0.64 with same SIM card and same settings (Case A)

[root@Sailfish nemo]# connmanctl services cellular_xxx-congstar-xxx_context1
/net/connman/service/cellular_xxx-congstar-xxx_context1
  Type = cellular
  Security = [  ]
  State = online
  Strength = 67
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = congstar
  Roaming = False
  Ethernet = [ Method=auto, Interface=rmnet_data0, Address=00:00:00:00:00:00, MTU=1500 ]
  IPv4 = [ Method=fixed, Address=10.19.204.200, Netmask=255.255.255.240, Gateway=10.19.204.201 ]
  IPv4.Configuration = [ Method=fixed, Address=10.19.204.200, Netmask=255.255.255.240, Gateway=10.19.204.201 ]
  IPv6 = [  ]
  IPv6.Configuration = [ Method=fixed, Address=2a01:0598:9185:be0f:87e2:1b91:ce15:4730, PrefixLength=64, Gateway=fe80:0000:0000:0000:4825:a521:5116:c2f2, Privacy=disabled ]
  Nameservers = [ 10.74.210.210, 10.74.210.211 ]
  Nameservers.Configuration = [  ]
  Timeservers = [ 0.sailfishos.pool.ntp.org, 1.sailfishos.pool.ntp.org, 2.sailfishos.pool.ntp.org, 3.sailfishos.pool.ntp.org ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [ Method=direct ]
  Proxy.Configuration = [  ]
  Provider = [  ]
  Available = True
  Saved = True
  Access = 
  DefaultAccess = sailfish:1;ClearProperty(*)|Connect()|Disconnect()|Remove()|ResetCounters()=deny;group(privileged)=allow

For further comparison:
Xperia 10 III, SFOS 4.4.0.64 with another SIM card from MNO O2 Deutschland (MVNO MEDIONmobile) (Case A)

[root@Xperia10III defaultuser]# connmanctl services cellular_x-medionmobile-x_context1
/net/connman/service/cellular_x-medionmobile-x_context1
  Type = cellular
  Security = [  ]
  State = online
  Strength = 37
  Favorite = True
  Immutable = False
  AutoConnect = True
  Name = MEDIONmobile
  Roaming = False
  Ethernet = [ Method=auto, Interface=rmnet_data2, Address=00:00:00:00:00:00, MTU=1500 ]
  IPv4 = [ Method=fixed, Address=10.134.11.52, Netmask=255.255.255.248, Gateway=10.134.11.53 ]
  IPv4.Configuration = [ Method=fixed, Address=10.134.11.52, Netmask=255.255.255.248, Gateway=10.134.11.53 ]
  IPv6 = [ Method=fixed, Address=2a02:3035:0c0a:421b:f5aa:442e:ade0:4e48, PrefixLength=64, Gateway=fe80:0000:0000:0000:70a7:709f:b4da:89b5, Privacy=disabled ]
  IPv6.Configuration = [ Method=fixed, Address=2a02:3035:0c0a:421b:f5aa:442e:ade0:4e48, PrefixLength=64, Gateway=fe80:0000:0000:0000:70a7:709f:b4da:89b5, Privacy=disabled ]
  Nameservers = [ 62.109.121.17, 62.109.121.18, 2a02:3018:0000:40ff:0000:0000:0000:aaaa, 2a02:3018:0000:40ff:0000:0000:0000:bbbb, 2a02:3018:0:40ff::aaaa, 2a02:3018:0:40ff::bbbb, 2a02:3018:0:40ff::aaaa, 2a02:3018:0:40ff::bbbb ]
  Nameservers.Configuration = [  ]
  Timeservers = [  ]
  Timeservers.Configuration = [  ]
  Domains = [  ]
  Domains.Configuration = [  ]
  Proxy = [ Method=direct ]
  Proxy.Configuration = [  ]
  Provider = [  ]
  Available = True
  Saved = True
  Access = 
  DefaultAccess = sailfish:1;ClearProperty(*)|Connect()|Disconnect()|Remove()|ResetCounters()=deny;group(privileged)=allow
2 Likes

Many thanks @akikyo!
akikyo had a similar problem and the solution works for this issue as well:

On this basis, here is the procedure which functioned for me:

  • Flash to Android 62.0.A.3.109 with EMMA
  • Do not relock the bootloader and do not receive any further Android updates
  • Test IPv4 mobile data connection with Telekom DE SIM
  • After I was sure it worked with Android as expected, I flashed to SFOS

Now IPv4 mobile data connection with Telekom DE SIM works also perfectly on Xperia 10 III SFOS 4.4.0.64