EM7455 RIL Android Pie Issue

Hello,
We have integrated Android Pie patches on our platform and we are facing following errors.

We have following error (continuously retry…), due to which we are not able to access internet thru wwan0 interface. Also attached full radio logs for reference.

Let me know what is missing?radio.txt (382.5 KB)

05-03 18:33:43.952 4115 4333 I use-Rlog/RLOG-RIL: requestSetupDefaultPDPQMI_r12 V4 IP=‘10.65.205.190’ DNS='112.110.242.1 255.255.255.255’
05-03 18:33:43.952 4115 4333 I use-Rlog/RLOG-RIL: requestSetupDefaultPDPQMI_r12 gateway='10.65.205.189’
05-03 18:33:43.959 4115 4333 D use-Rlog/RLOG-RIL: clearDHCPproperty clear dhcp.wwan0.result

  • 05-03 18:33:43.993 4115 4333 D use-Rlog/RLOG-RIL: pollDataBearer:: s_ratUMTS_UpdateEnabled = 0, s_ratUMTS =0 rilRat =14
    05-03 18:33:44.014 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RadioInterface[0]=8
    05-03 18:33:44.143 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 SignalStrength=-66
    05-03 18:33:44.143 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RSRQ=-12
    05-03 18:33:44.143 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RSRP=-95
    05-03 18:33:44.143 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 SNR=118
    05-03 18:33:44.144 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RadioInterface[1]=8
    05-03 18:33:44.272 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 SignalStrength=-66
    05-03 18:33:44.272 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RSRQ=-12
    05-03 18:33:44.272 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 RSRP=-95
    05-03 18:33:44.272 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 SNR=118
    05-03 18:33:44.338 4115 4333 D use-Rlog/RLOG-RIL: requestSignalStrengthQMI_r12 TD SCDMA RSCP=0
    05-03 18:33:44.338 4115 4333 I use-Rlog/RLOG-RIL: swiril_cache_get: valid cached data for SIGNAL_STRENGTH
    05-03 18:33:44.338 4115 4333 I use-Rlog/RLOG-RIL: swiril_cache_set: updating cache for SIGNAL_STRENGTH
    05-03 18:33:44.339 4115 4333 D use-Rlog/RLOG-RIL: polldhcptask_r12::Entered
    05-03 18:33:44.398 4115 4333 I use-Rlog/RLOG-RIL: isDataSessionActive session state: 2
    05-03 18:33:44.399 4115 4333 I use-Rlog/RLOG-RIL: dhcp.wwan0.result:
    05-03 18:33:44.399 4115 4333 E use-Rlog/RLOG-RIL: polldhcptask_r12::PollDHCPnsetDNS retry 1 out of 30
    05-03 18:33:45.399 4115 4333 D use-Rlog/RLOG-RIL: polldhcptask_r12::Entered
    05-03 18:33:45.425 4115 4333 I use-Rlog/RLOG-RIL: isDataSessionActive session state: 2
    05-03 18:33:45.425 4115 4333 I use-Rlog/RLOG-RIL: dhcp.wwan0.result:
    05-03 18:33:45.425 4115 4333 E use-Rlog/RLOG-RIL: polldhcptask_r12::PollDHCPnsetDNS retry 2 out of 30
    05-03 18:33:46.425 4115 4333 D use-Rlog/RLOG-RIL: polldhcptask_r12::Entered
    05-03 18:33:46.448 4115 4333 I use-Rlog/RLOG-RIL: isDataSessionActive session state: 2

not sure if “AirPrime - Android RIL Integration Guide.pdf” in source.sierrawireless.com can help you.
I saw there is some DHCP related stuff.

Hello jyijyi,

we have solved a continues retry error by setting dhcp.wwan0.result to “ok”, but right now we are facing a DHCP related issue, i am able to ping with “ping -I wwan0 8.8.8.8”, but “ping -I wwan0 www.google.com” showing a “ping: unknown host www.google.com” error, also from browser internet surfing is not working.

Do you have any idea which changes are necessary to resolve the issue?

not sure if the following can help, you can give a try:

ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:1184 TX bytes:1184

wwan0 Link encap:Ethernet HWaddr ce:6a:d4:fb:9b:08 Driver GobiNet
inet addr:10.105.171.186 Bcast:10.105.171.187 Mask:255.255.255.252
inet6 addr: fe80::cc6a:d4ff:fefb:9b08/64 Scope: Link
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10511 TX bytes:7216

ndc network create 10
ndc network interface add 10 wwan0
ndc network route add 10 wwan0 0.0.0.0/0 10.105.171.186
ndc network default set 10

ndc resolver setnetdns 10 “” 10.144.148.1

ndc resolver setnetdns 10 “” 10.144.148.1

Hi Jyijyi,

Thanks for your reply, But it doesn’t help.

We found DNS server parameters in radio log using logcat as below.
DnsAddresses: [112.110.242.1,255.255.255.255,] UsePrivateDns: false PrivateDnsServerName: null Domains: null

Can you please suggest how we can change it to public DNS 8.8.8.8/8.8.4.4?

Thanks,
Devang

This seems to be provided by your operator.

Hi jyijyi,

Okay. We are able to ping domain using IP address. But when we ping using domain name it’s getting failed.

Can you please suggest if any configuration we are missing or needs to verify?

Please find attached here radio log for your reference.
radio_logs.txt (317.9 KB)

Thanks,
Devang

Are you able to capture the wireshark log for analysis?

@jyijyi i am writing this thred on behalf of devang, now we are able to access few website from the GUI as well, but problem we are facing is we are able to access only few website like “www.google.com” “www.facebook.com” but not able to access all website “www.amazon.com” and many other website are not accessible , during it is not accessing website it is showing “ERR_NAME_NOT_RESOLVED” in browser, however i am able to ping from command line “ping -I wwan0 www.amazon.com” this works perfect, can you please let me know what is the issue here? i have also created a one more thread can you please look into this, “Not able to access few website on EM7455 modemlink for new thread

Thanks in advance.

do you mean using real IP in browser is OK?
(e.g. http://123.123.123.123/index.html)

Have you tried the following:
ndc network create 10
ndc network interface add 10 wwan0
ndc network route add 10 wwan0 0.0.0.0/0 10.105.171.186
ndc network default set 10

ndc resolver setnetdns 10 “” 10.144.148.1

@jyijyi
Thanks for your quick response,

Yes, please give us some time to try this, meanwhile can you please let me know usually why this kind of issue occurs?

Thanks
Kevil

I have no idea, normally if the DNS/RIL is not working, the browse will not open all website.

@jyijyi

Thanks for your quick reply,

I have tried your above given command but not working,

It looks like an issue of DNS,
I am seeing that in Android Pie with the non-working scenario I am getting the following property is NULL

dhcp.wwan0.ipaddress
dhcp.wwan0.gateway
net.wwan0.dns1
net.wwan0.dns2
net.wwan0.gw

but in Oreo with the working scenario, the output is as follows

getprop dhcp.wwan0.ipaddress
25.24.32.19
getprop dhcp.wwan0.gateway
25.24.32.20
[net.wwan0.dns1]: [49.45.0.1]
[net.wwan0.dns2]: [0.2.5.36]
[net.wwan0.gw]: [25.24.32.20]

it looks like something missing in the Android Pie,
And also please note that the sepolicy rule provided in sierra pie release is directly not applicable on our platform, we have modified many things for that, so do you feel that is is creating issue and all services are not running properly and due to that property’s are not setting as like working scenario.

Thanks,
Kevil

Can you manually set those parameter by setprop?

@jyijyi

I have also tried it by manually by setprop as well but still not working,

And also please note that in working scenario we are getting following outout

10-15 15:57:29.388 2299 2299 D DHCP : ===== DHCP message:
10-15 15:57:29.388 2299 2299 D DHCP : op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
10-15 15:57:29.388 2299 2299 D DHCP : xid = 0x56b80000 secs = 0, flags = 0x8000 optlen = 14
10-15 15:57:29.388 2299 2299 D DHCP : ciaddr = 0.0.0.0
10-15 15:57:29.388 2299 2299 D DHCP : yiaddr = 0.0.0.0
10-15 15:57:29.388 2299 2299 D DHCP : siaddr = 0.0.0.0
10-15 15:57:29.388 2299 2299 D DHCP : giaddr = 0.0.0.0
10-15 15:57:29.388 2299 2299 D DHCP : chaddr = { 26 d9 59 74 6c 08 }
10-15 15:57:29.388 2299 2299 D DHCP : sname = ‘’
10-15 15:57:29.388 2299 2299 D DHCP : file = ‘’
10-15 15:57:29.388 2299 2299 D DHCP : op 53 len 1 { 01 } discover
10-15 15:57:29.389 2299 2299 D DHCP : op 55 len 4 { 01 03 06 1c }
10-15 15:57:29.394 2299 2299 D DHCP : ===== DHCP message:
10-15 15:57:29.394 2299 2299 D DHCP : op = BOOTREPLY (2), htype = 1, hlen = 6, hops = 0
10-15 15:57:29.394 2299 2299 D DHCP : xid = 0x56b80000 secs = 0, flags = 0x8000 optlen = 42
10-15 15:57:29.394 2299 2299 D DHCP : ciaddr = 0.0.0.0
10-15 15:57:29.394 2299 2299 D DHCP : yiaddr = 25.24.32.19
10-15 15:57:29.394 2299 2299 D DHCP : siaddr = 25.24.32.20
10-15 15:57:29.394 2299 2299 D DHCP : giaddr = 0.0.0.0
10-15 15:57:29.394 2299 2299 D DHCP : chaddr = { 26 d9 59 74 6c 08 }
10-15 15:57:29.394 2299 2299 D DHCP : sname = ‘’
10-15 15:57:29.394 2299 2299 D DHCP : file = ‘’
10-15 15:57:29.394 2299 2299 D DHCP : op 53 len 1 { 02 } offer
10-15 15:57:29.394 2299 2299 D DHCP : op 1 len 4 { ff ff ff f8 }
10-15 15:57:29.394 2299 2299 D DHCP : op 3 len 4 { 19 18 20 14 }
10-15 15:57:29.395 2299 2299 D DHCP : op 6 len 8 { 31 2d 00 01 00 02 05 24 }
10-15 15:57:29.395 2299 2299 D DHCP : op 51 len 4 { 00 00 1c 20 }
10-15 15:57:29.395 2299 2299 D DHCP : op 54 len 4 { 19 18 20 14 }
10-15 15:57:29.395 2299 2299 D DHCP : — dhcp offer (2) —
10-15 15:57:29.395 2299 2299 D DHCP : ip 25.24.32.19 gw 25.24.32.20 prefixLength 29
10-15 15:57:29.395 2299 2299 D DHCP : dns1: 49.45.0.1
10-15 15:57:29.395 2299 2299 D DHCP : dns2: 0.2.5.36
10-15 15:57:29.395 2299 2299 D DHCP : server 25.24.32.20, lease 7200 seconds
10-15 15:57:29.395 2299 2299 D DHCP : ===== DHCP message:
10-15 15:57:29.395 2299 2299 D DHCP : op = BOOTREQUEST (1), htype = 1, hlen = 6, hops = 0
10-15 15:57:29.395 2299 2299 D DHCP : xid = 0x57b80000 secs = 0, flags = 0x8000 optlen = 26
10-15 15:57:29.395 2299 2299 D DHCP : ciaddr = 0.0.0.0
10-15 15:57:29.395 2299 2299 D DHCP : yiaddr = 0.0.0.0
10-15 15:57:29.395 2299 2299 D DHCP : siaddr = 0.0.0.0
10-15 15:57:29.395 2299 2299 D DHCP : giaddr = 0.0.0.0
10-15 15:57:29.395 2299 2299 D DHCP : chaddr = { 26 d9 59 74 6c 08 }
10-15 15:57:29.395 2299 2299 D DHCP : sname = ‘’
10-15 15:57:29.395 2299 2299 D DHCP : file = ‘’
10-15 15:57:29.395 2299 2299 D DHCP : op 53 len 1 { 03 } request
10-15 15:57:29.395 2299 2299 D DHCP : op 55 len 4 { 01 03 06 1c }
10-15 15:57:29.395 2299 2299 D DHCP : op 50 len 4 { 19 18 20 13 }
10-15 15:57:29.395 2299 2299 D DHCP : op 54 len 4 { 19 18 20 14 }
10-15 15:57:29.397 2299 2299 D DHCP : ===== DHCP message:
10-15 15:57:29.397 2299 2299 D DHCP : op = BOOTREPLY (2), htype = 1, hlen = 6, hops = 0
10-15 15:57:29.397 2299 2299 D DHCP : xid = 0x57b80000 secs = 0, flags = 0x8000 optlen = 42
10-15 15:57:29.397 2299 2299 D DHCP : ciaddr = 0.0.0.0
10-15 15:57:29.397 2299 2299 D DHCP : yiaddr = 25.24.32.19
10-15 15:57:29.397 2299 2299 D DHCP : siaddr = 25.24.32.20
10-15 15:57:29.397 2299 2299 D DHCP : giaddr = 0.0.0.0
10-15 15:57:29.398 2299 2299 D DHCP : chaddr = { 26 d9 59 74 6c 08 }
10-15 15:57:29.398 2299 2299 D DHCP : sname = ‘’
10-15 15:57:29.398 2299 2299 D DHCP : file = ‘’
10-15 15:57:29.398 2299 2299 D DHCP : op 53 len 1 { 05 } ack
10-15 15:57:29.398 2299 2299 D DHCP : op 1 len 4 { ff ff ff f8 }
10-15 15:57:29.398 2299 2299 D DHCP : op 3 len 4 { 19 18 20 14 }
10-15 15:57:29.398 2299 2299 D DHCP : op 6 len 8 { 31 2d 00 01 00 02 05 24 }
10-15 15:57:29.398 2299 2299 D DHCP : op 54 len 4 { 19 18 20 14 }
10-15 15:57:29.398 2299 2299 D DHCP : op 51 len 4 { 00 00 1c 20 }
10-15 15:57:29.398 2299 2299 D DHCP : — dhcp ack (5) —
10-15 15:57:29.398 2299 2299 D DHCP : ip 25.24.32.19 gw 25.24.32.20 prefixLength 29
10-15 15:57:29.398 2299 2299 D DHCP : dns1: 49.45.0.1
10-15 15:57:29.398 2299 2299 D DHCP : dns2: 0.2.5.36
10-15 15:57:29.398 2299 2299 D DHCP : server 25.24.32.20, lease 7200 seconds
10-15 15:57:29.398 2299 2299 D DHCP : configuring wwan0

but in non working scenario i am not getting this,

Its look like something is missing.

Thanks,
Kevil

Did it happen to other sim card?

@jyijyi

In working scenario with oreo build as well as on non-working scenario pie build, we are using same sim card.

and also one observation is libnetutils"(system/core/libnetutils/ifc_utils.c) not working properly, basically int ifc_configure(const char *ifname,in_addr_t address,uint32_t prefixLength,in_addr_t gateway,in_addr_t dns1,in_addr_t dns2)

function is not working, where it sets a dns, gateway and interface related stuff,

snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns1", ifname);
property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : "");
snprintf(dns_prop_name, sizeof(dns_prop_name), "net.%s.dns2", ifname);
property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : "");
snprintf(prop_name, sizeof(prop_name), "dhcp.%s.ipaddress", ifname);
property_set(prop_name, address ? ipaddr_to_string(address) : "");
snprintf(prop_name, sizeof(prop_name), "dhcp.%s.gateway", ifname);
property_set(prop_name, gateway ? ipaddr_to_string(gateway) : "");
snprintf(prop_name, sizeof(prop_name), "dhcp.%s.result", ifname);

but in working scenario this functions and all “libnetutils” is working perfectly, and setting up all property.
Thanks,
Kevil

Maybe you can try ndc command suggested above to set the dns.

@jyijyi

I have tried this command and it work for us
ndc network create 10
ndc network interface add 10 wwan0
ndc network route add 10 wwan0 0.0.0.0/0 10.105.171.186
ndc network default set 10

ndc resolver setnetdns 10 “” 10.144.148.1

but the problem I am facing is after applying this command I need to reboot the system, after that it works.
can you please let me know why this kind of behavior?

No idea…
But at least it works for you.