# MC7455 on Android 5.1.1: No ip address for wwan0 although visible in the log

**URL:** https://forum.sierrawireless.com/t/mc7455-on-android-5-1-1-no-ip-address-for-wwan0-although-visible-in-the-log/16698
**Category:** MC/EM Series
**Created:** [June 17, 2019, 2:31pm UTC](https://forum.sierrawireless.com/t/mc7455-on-android-5-1-1-no-ip-address-for-wwan0-although-visible-in-the-log/16698 "2019-06-17T14:31:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SiBo](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@SiBo](https://forum.sierrawireless.com/u/SiBo)
#### Post date: [June 17, 2019, 2:31pm UTC](https://forum.sierrawireless.com/t/mc7455-on-android-5-1-1-no-ip-address-for-wwan0-although-visible-in-the-log/16698/1 "2019-06-17T14:31:08Z")

</div>

Hi there,

I am trying to implement the MC7455 into Android 5.1.1 with Linux Kernel 3.4.0-g039ba5c-00051-gdd8f2f16-dirty, using the AndroidRIL\_V5.1.9\_ARM\_5.1\_V1.0\_bin.  
I have a problem getting an IP address for the wwan0 interface.  
I started by integrating the bins, librarys and drivers, which are present at the android-board.

_root@msm8960:/system/bin # ll | grep -e Sierra -e swi -e Download -e slq -e ‘init.’_  
_-rwxr-xr-x root shell 922816 2019-06-14 14:44 DownloadTool_  
_-rwxr-xr-x root shell 13556 2019-06-14 14:44 SierraDMLog_  
_-rwxr-xr-x root shell 17768 2019-06-14 14:44 SierraFwDl7xxx_  
_-rwxr-xr-x root shell 30340 2019-06-14 14:44 SierraImgMgr_  
_-rwxr-xr-x root shell 5368 2019-06-14 14:44 SierraSARTool_  
_-rwxr-xr-x root shell 357 2019-06-14 14:44 init.config.ip_  
_-rwxr-xr-x root shell 294 2019-06-14 14:44 init.dhcpcd_  
_-rwxr-xr-x root shell 84972 2019-06-14 14:44 slqssdk_  
_-rwxr-xr-x root shell 13720 2019-06-14 14:44 swifwdnld_  
_-rwxr-xr-x root shell 9512 2019-06-14 14:44 swihltrace_  
_-rwxr-xr-x root shell 50696 2019-06-14 14:44 swisdk_

_root@msm8960:/system/lib # ll | grep -e libsierra -e libswi_  
_-rw-r–r-- root root 204184 2019-06-14 14:44 libsierra-ril.so_  
_-rw-r–r-- root root 93536 2019-06-14 14:44 libsierraat-ril.so_  
_-rw-r–r-- root root 97704 2019-06-14 14:44 libsierrahl-ril.so_  
_-rw-r–r-- root root 13568 2019-06-14 14:44 libswims.so_  
_-rw-r–r-- root root 347028 2019-06-14 14:44 libswiqmiapi.so_  
_-rw-r–r-- root root 152876 2019-06-14 14:44 libswisdkapi.so_

_root@msm8960:/system/lib/hw # ll | grep -e libswi_  
_-rw-r–r-- root root 26164 2019-06-14 14:44 libswigpsat.so_  
_-rw-r–r-- root root 26164 2019-06-14 14:44 libswigpsqmi.so_

The drivers seem to work quite well, as I get the devices and by analysing the kernel messages.

_shell@msm8960:/dev # ll /dev/ttyUSB_ \*  
_crw-rw---- radio radio 188, 0 2019-06-17 14:28 ttyUSB0_  
_crw-rw---- radio radio 188, 1 2019-06-17 14:28 ttyUSB1_  
_crw-rw---- radio radio 188, 2 2019-06-17 14:28 ttyUSB2_  
_crw-rw---- radio radio 188, 3 2019-06-17 13:35 ttyUSB3_

_shell@msm8960:/dev # ll /dev/qcqmi_ \*  
_crw-rw---- radio radio 231, 0 2019-06-17 15:28 qcqmi0_

_shell@msm8960:/dev # ll /dev/ttyAC_ \*  
_/dev/ttyAC_: No such file or directory\*

(the last one seems to be fine, because I don’t have a HT Module (?))

_shell@msm8960:/ # dmesg | grep -i -e gobi -e sierra_  
_\<6\>[7.801452] usb 2-1.3: Product: Sierra Wireless EM7455 Qualcomm® Snapdragon™ X7 LTE-A_  
_\<6\>[7.809570] usb 2-1.3: Manufacturer: Sierra Wireless, Incorporated_  
_\<6\>[11.686859] usbcore: registered new interface driver sierra_  
_\<6\>[11.691467] USB Serial support registered for Sierra USB modem_  
_\<7\>[11.704925] usb 2-1.3: sierra\_probe_  
_\<3\>[11.704925] sierra\_probe_  
_\<7\>[11.704925] usb 2-1.3: sierra\_calc\_num\_ports_  
_\<6\>[11.704956] sierra 2-1.3:1.0: Sierra USB modem converter detected_  
_\<7\>[11.704956] usb 2-1.3: sierra\_startup_  
_\<6\>[11.706909] usb 2-1.3: Sierra USB modem converter now attached to ttyUSB1_  
_\<7\>[11.707000] usb 2-1.3: sierra\_probe_  
_\<3\>[11.707000] sierra\_probe_  
_\<7\>[11.707000] usb 2-1.3: sierra\_calc\_num\_ports_  
_\<6\>[11.707031] sierra 2-1.3:1.2: Sierra USB modem converter detected_  
_\<7\>[11.707031] usb 2-1.3: sierra\_startup_  
_\<6\>[11.708709] usb 2-1.3: Sierra USB modem converter now attached to ttyUSB2_  
_\<7\>[11.708801] usb 2-1.3: sierra\_probe_  
_\<3\>[11.708831] sierra\_probe_  
_\<7\>[11.708831] usb 2-1.3: sierra\_calc\_num\_ports_  
_\<6\>[11.708831] sierra 2-1.3:1.3: Sierra USB modem converter detected_  
_\<7\>[11.708862] usb 2-1.3: sierra\_startup_  
_\<6\>[11.710540] usb 2-1.3: Sierra USB modem converter now attached to ttyUSB3_  
_\<7\>[11.710632] usb 2-1.3: sierra\_probe_  
_\<3\>[11.710632] sierra\_probe_  
_\<6\>[11.710662] sierra: v.1.7.42\_android\_generic\_2:USB Driver for Sierra Wireless USB modems_  
_\<6\>[11.799133] GobiNet: 2015-10-05/SWI\_2.34\_android_  
_\<6\>[11.817993] GobiNet 2-1.3:1.8: wwan0: register ‘GobiNet’ at usb-msm\_ehci\_host.1-1.3, GobiNet Ethernet Device, ee:0c:25:c9:1f:cc_  
_\<6\>[17.014495] usbcore: registered new interface driver GobiNet_

The sierra ril deamon runs and seems to use the right library, the one of sierra.

_shell@msm8960:/ # ps | grep ril_  
_radio 3337 1 10948 1512 ffffffff b6f49688 S /system/bin/rild_

_shell@msm8960:/ # cat /proc/3337/cmdline_  
_/system/bin/rild-l/system/lib/libsierra-ril.so—a-iwwan0_

I have the interface wwan0, but no ip-address.

_2|shell@msm8960:/ # netcfg_  
_dummy0 DOWN 0.0.0.0/0 0x00000082 ca:8b:54:6c:4b:56_  
_wlan0 DOWN 0.0.0.0/0 0x00001002 c4:f3:12:10:f2:e7_  
_wwan0 UP 0.0.0.0/0 0x00001083 ee:0c:25:c9:1f:08_  
_lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00_  
_eth0 UP 0.0.0.0/0 0x00001003 6a:a1:03:8e:ab:bd_  
_sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00_  
_rmnet\_smux0 DOWN 0.0.0.0/0 0x00001002 0e:97:33:cb:b1:75_  
_rmnet\_smux1 DOWN 0.0.0.0/0 0x00001002 26:5e:1e:0d:37:8b_  
_rmnet4 DOWN 0.0.0.0/0 0x00001002 aa:93:a9:fc:8b:4e_  
_rmnet2 DOWN 0.0.0.0/0 0x00001002 12:09:8d:af:49:52_  
_rmnet3 DOWN 0.0.0.0/0 0x00001002 ce:cc:46:3b:2a:5b_  
_rmnet7 DOWN 0.0.0.0/0 0x00001002 c2:2f:3e:7f:72:7c_  
_rmnet5 DOWN 0.0.0.0/0 0x00001002 aa:bf:54:0e:67:ec_  
_rmnet6 DOWN 0.0.0.0/0 0x00001002 5e:56:08:7b:65:a2_  
_rmnet1 DOWN 0.0.0.0/0 0x00001002 06:1b:08:fd:96:a6_  
_rmnet0 DOWN 0.0.0.0/0 0x00001002 fe:18:85:62:c5:ec_  
_rev\_rmnet1 DOWN 0.0.0.0/0 0x00001002 ee:0a:eb:aa:fe:c4_  
_rev\_rmnet0 DOWN 0.0.0.0/0 0x00001002 1a:8d:66:4f:e6:50_  
_rev\_rmnet8 DOWN 0.0.0.0/0 0x00001002 26:15:8f:eb:ec:1e_  
_rev\_rmnet4 DOWN 0.0.0.0/0 0x00001002 b6:38:06:32:6f:24_  
_rev\_rmnet2 DOWN 0.0.0.0/0 0x00001002 3e:7e:69:0e:54:b3_  
_rev\_rmnet3 DOWN 0.0.0.0/0 0x00001002 4e:24:d9:49:63:12_  
_rev\_rmnet7 DOWN 0.0.0.0/0 0x00001002 1a:64:9c:05:7a:a3_  
_rev\_rmnet5 DOWN 0.0.0.0/0 0x00001002 92:ed:d2:b9:68:c2_  
_rev\_rmnet6 DOWN 0.0.0.0/0 0x00001002 62:b0:e0:33:4c:d9_

The according propertys on the board are listed below.

_shell@msm8960:/ # getprop | grep -e dhcp -e gsm -e ril -e radio -e baseband -e carrier -e telephony_  
_[dhcp.wwan0.pid]: [3518]_  
_[dhcp.wwan0.reason]: [NOCARRIER]_  
_[dhcp.wwan0.result]: []_  
_[gsm.apn.sim.operator.numeric]: [26202]_  
_[gsm.current.phone-type]: [1]_  
_[gsm.network.type]: [HSUPA]_  
_[gsm.nitz.time]: [3471727890003]_  
_[gsm.operator.alpha]: [[Vodafone.de](http://Vodafone.de)]_  
_[gsm.operator.iso-country]: [de]_  
_[gsm.operator.isroaming]: [false]_  
_[gsm.operator.numeric]: [26202]_  
_[gsm.sim.operator.alpha]: []_  
_[gsm.sim.operator.iso-country]: [de]_  
_[gsm.sim.operator.numeric]: [26202]_  
_[gsm.sim.state]: [READY]_  
_[gsm.version.baseband]: [SWI9X30C\_02.30.03.00 r7804 CARMD-EV-FRMWR2 2018/07/25 01:10:04]_  
_[gsm.version.ril-impl]: [Sierra Ril V5.1.9 QMI]_  
_[init.svc.ril-daemon-qmi]: [running]_  
_[init.svc.sierra\_dhcpcd]: [stopped]_  
_[persist.radio.emergency.mode]: [false]_  
_[persist.radio.module]: [EM7455]_  
_[persist.rild.nitz\_long\_ons\_0]: []_  
_[persist.rild.nitz\_long\_ons\_1]: []_  
_[persist.rild.nitz\_long\_ons\_2]: []_  
_[persist.rild.nitz\_long\_ons\_3]: []_  
_[persist.rild.nitz\_plmn]: []_  
_[persist.rild.nitz\_short\_ons\_0]: []_  
_[persist.rild.nitz\_short\_ons\_1]: []_  
_[persist.rild.nitz\_short\_ons\_2]: []_  
_[persist.rild.nitz\_short\_ons\_3]: []_  
_[persist.sys.ril.type]: [QMI]_  
_[radio.atfwd.start]: [false]_  
_[ril.sierra.at]: [/dev/ttyUSB3]_  
_[ril.sierra.dm]: [/dev/ttyUSB1]_  
_[ril.sierra.nmea]: [/dev/ttyUSB2]_  
_[ril.subscription.types]: [NV,RUIM]_  
_[rild.libargs]: [-d /dev/smd0]_  
_[rild.libpath]: [/system/lib/libsierraat-ril.so]_  
_[ro.baseband]: [apq]_  
_[ro.boot.baseband]: [apq]_  
_[ro.carrier]: [unknown]_  
_[ro.radio.noril]: [no]_  
_[ro.ril.transmitpower]: [true]_  
_[ro.telephony.call\_ring.multiple]: [false]_  
_[telephony.lteOnCdmaDevice]: [1]_

I can see the argument, that there is no carrier for the dhcp, am I right?  
I integrated the code for the phone status to display the IMEI etc, which can be seen in android:  
 ![Screenshot_2019-06-17-14-25-56](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/3/3a07c7aae2f192b4d47470ea0ffd47bf56dcc378.png)

I tried two different SIM Cards but this did not help at all. Then I outcommented the line to start the ril deamon in init.rc, so that I could switch it on manually by “start ril-daemon-qmi” for debugging purpuse. I made a log with

_$ (adb logcat -v time -b main -s dhcpcd & adb logcat -v time -b radio) | tee /tmp/logForSierra_

[logForSierra.txt](https://forum.sierrawireless.com/uploads/short-url/oTPjAgAhXhLV2eDUwztY3zhLHV0.txt) (612.1 KB)

where I boot the system and then start the ril deamon manually.  
Interestingly is, that the RIL gets an ip address and the right dns addresses from vodafone (germany)

_06-17 03:46:27.193 E/RILC ( 1939): Send Response to RIL\_SOCKET\_1_  
_06-17 03:46:27.194 D/RILJ ( 1088): responseDataCallList ver=6 num=1 [SUB0]_  
_06-17 03:46:27.194 D/RILJ ( 1088): [UNSL]\< UNSOL\_DATA\_CALL\_LIST\_CHANGED [DataCallResponse: {version=6 status=-5 retry=-1 cid=0 active=1 type=IP ifname=wwan0 mtu=0 addresses=[100.93.253.186] dnses=[139.7.30.126,139.7.30.125] gateways=[100.93.253.185] pcscf=[]}] [SUB0]_  
_06-17 03:46:27.194 D/GsmDCT ( 1088): [0]handleMessage msg={ when=0 what=270340 obj=android.os.AsyncResult@2581938a target=com.android.internal.telephony.dataconnection.DcTracker }_  
_06-17 03:46:27.194 E/DATA ( 1088): Unidentified event msg={ when=0 what=270340 obj=android.os.AsyncResult@2581938a target=com.android.internal.telephony.dataconnection.DcTracker }_  
_06-17 03:46:27.194 D/Dcc ( 1088): onDataStateChanged: dcsList=[DataCallResponse: {version=6 status=-5 retry=-1 cid=0 active=1 type=IP ifname=wwan0 mtu=0 addresses=[100.93.253.186] dnses=[139.7.30.126,139.7.30.125] gateways=[100.93.253.185] pcscf=[]}] mDcListActiveByCid={}_  
_06-17 03:46:27.194 D/Dcc ( 1088): onDataStateChanged: dcsToRetry=[]_  
_06-17 03:46:27.194 E/Dcc ( 1088): onDataStateChanged: no associated DC yet, ignore_  
_06-17 03:46:27.194 D/Dcc ( 1088): onDataStateChanged: Data Activity updated to NONE. isAnyDataCallActive = false isAnyDataCallDormant = false_  
_06-17 03:46:27.194 D/Dcc ( 1088): onDataStateChanged: dcsToRetry=[] apnsToCleanup=[]_  
_06-17 03:46:27.194 D/Dcc ( 1088): onDataStateChanged: X_  
_06-17 03:46:28.318 D/dhcpcd ( 2087): wwan0: sending DISCOVER (xid 0x1221e38d), next in 15.22 seconds_

which is even used by the data call response

_06-17 03:46:49.943 D/RILJ ( 1088): [3732]\< SETUP\_DATA\_CALL DataCallResponse: {version=6 status=111 retry=-1 cid=0 active=1 type=IP ifname=wwan0 mtu=0 addresses=[100.93.253.186] dnses=[139.7.30.126,139.7.30.125] gateways=[100.93.253.185] pcscf=[]} [SUB0]_

but it seems to be not connected to the wwan0 interface or something … (?)

I tried to monitor the interface actions starting with the applied ip address at the beginning (no ril deamon running)

_shell@msm8960:/ # ip addr show wwan0_  
_25: wwan0: \<BROADCAST,MULTICAST,NOARP\> mtu 1500 qdisc noop state DOWN qlen 1000_  
_link/ether fa:b5:06:16:3a:08 brd ff:ff:ff:ff:ff:ff_

and then monitor the actions on the interface and trying to logcat the dhcp at the same time, to understand the connection between them.

_shell@msm8960:/ # (ip -t monitor all | grep wwan0) & (logcat -v time | grep dhcpcd)_  
_[1] 1934_  
_06-16 17:21:59.560 I/dhcpcd ( 2108): version 5.5.6 starting_  
_[LINK]25: wwan0: \<NO-CARRIER,BROADCAST,MULTICAST,NOARP,UP,LOWER\_UP\> mtu 1500 qdisc pfifo\_fast state DOWN_  
_[ROUTE]ff00::/8 dev wwan0 table local metric 256_  
_[ROUTE]fe80::/64 dev wwan0 table 1025 proto kernel metric 256_  
_[ADDR]25: wwan0 inet6 fe80::f8b5:6ff:fe16:3a08/64 scope link_  
_[LINK]25: wwan0: \<NO-CARRIER,BROADCAST,MULTICAST,NOARP,UP,LOWER\_UP\> mtu 1500_  
_06-16 17:21:59.576 D/dhcpcd ( 2108): wwan0: using hwaddr fa:b5:06:16:3a:08_  
_06-16 17:21:59.576 D/dhcpcd ( 2108): wwan0: executing /system/etc/dhcpcd/dhcpcd-run-hooks’, reason PREINIT_  
_[LINK]25: wwan0: \<BROADCAST,MULTICAST,NOARP,UP,LOWER\_UP\> mtu 1500 qdisc pfifo\_fast state UP_  
_06-16 17:21:59.634 D/dhcpcd ( 2108): wwan0: executing /system/etc/dhcpcd/dhcpcd-run-hooks, reason CARRIER_  
_06-16 17:21:59.679 I/dhcpcd ( 2108): wwan0: carrier lost_  
_06-16 17:21:59.679 D/dhcpcd ( 2108): wwan0: executing /system/etc/dhcpcd/dhcpcd-run-hooks’, reason NOCARRIER_  
_06-16 17:21:59.725 I/dhcpcd ( 2108): wwan0: carrier acquired_  
_06-16 17:21:59.725 D/dhcpcd ( 2108): wwan0: using hwaddr fa:b5:06:16:3a:08_  
_06-16 17:21:59.725 D/dhcpcd ( 2108): wwan0: executing /system/etc/dhcpcd/dhcpcd-run-hooks’, reason CARRIER_  
_06-16 17:21:59.760 I/dhcpcd ( 2108): wwan0: broadcasting for a lease_  
_06-16 17:21:59.760 D/dhcpcd ( 2108): wwan0: sending DISCOVER (xid 0xeb5c3885), next in 3.55 seconds_  
_06-16 17:22:03.388 D/dhcpcd ( 2108): wwan0: sending DISCOVER (xid 0xeb5c3885), next in 7.65 seconds_  
_06-16 17:22:11.045 D/dhcpcd ( 2108): wwan0: sending DISCOVER (xid 0xeb5c3885), next in 16.72 seconds_  
_06-16 17:22:27.781 D/dhcpcd ( 2108): wwan0: sending DISCOVER (xid 0xeb5c3885), next in 32.50 seconds_  
_06-16 17:22:29.682 E/dhcpcd ( 2108): timed out_  
_06-16 17:22:29.682 W/dhcpcd ( 2108): allowing 8 seconds for IPv4LL timeout_  
_06-16 17:22:30.569 I/dhcpcd ( 2108): wwan0: carrier lost_  
_06-16 17:22:30.572 D/dhcpcd ( 2108): wwan0: executing `/system/etc/dhcpcd/dhcpcd-run-hooks’, reason NOCARRIER_  
_[LINK]25: wwan0: \<NO-CARRIER,BROADCAST,MULTICAST,NOARP,UP\> mtu 1500 qdisc pfifo\_fast state DOWN_  
_[NEIGH]ff02::2 dev wwan0 lladdr 33:33:00:00:00:02 NOARP_

'til the end, where I try to get the ip address again  
_shell@msm8960:/ # ip addr show wwan0_  
_25: wwan0: \<NO-CARRIER,BROADCAST,MULTICAST,NOARP,UP\> mtu 1500 qdisc pfifo\_fast state DOWN qlen 1000_  
_link/ether fa:b5:06:16:3a:08 brd ff:ff:ff:ff:ff:ff_  
_inet6 fe80::f8b5:6ff:fe16:3a08/64 scope link_  
_valid\_lft forever preferred\_lft forever_

As far as my understanding goes, I am missing a carrier. How do solve that? I am running out of ideas. Does anyone have a smiliar problem, a clue or an idea, what I could try next? Any help would be highly apreciated! 🙃

Regards,  
Silke
