DW5934e (Snapdragon X72) 4G/5G Modem

Hi All :man_raising_hand:
My Board is BPI-R4 (Supporting 5G modems Pcie/USB) # Snapshot (Latest Image)

I have 5g modem M.2 (DW5934e Snapdragon X72 support 200Mhz ) its for Dell Laptops supporting PCie only as I know ...Dell DW5934e:right_arrow: Like FM350 for laptops
-
DW5934e Better Than FM350 and similler price

I bought It from Aliexpress ar.aliexpress.com around 35$ :dollar_banknote: .. I used it on OpenWRT & ROOTer but system couldn't figure it .

I want know how to active this modem and let it work on Banana BPI-R4 and Unlocking FCC.
:right_arrow: I saw one repo about unlocking the FCC of this modem and improving BUT I don’t know how to do it and no PCie adapter .

root@OpenWrt:~# ls -l /dev/cdc-wdm* /dev/wwan* 2>/dev/null
crw-------    1 root     root      246,   1 Dec 13 12:17 /dev/wwan0mbim0
crw-------    1 root     root      246,   0 Dec 13 12:17 /dev/wwan0qcdm0
crw-------    1 root     root      246,   2 Dec 13 12:17 /dev/wwan0qmi0

root@OpenWrt:~# mmcli -m 0
  -----------------------------
  General  |              path: /org/freedesktop/ModemManager1/Modem/0
           |         device id: c64f3b89426e72063d2f75fd89a990cf28505e01
  -----------------------------
  Hardware |      manufacturer: foxconn
           |             model: MBIM [105B:E11D]
           | firmware revision: FDE2.F0.0.0.1.2.GC.001
           |                    029 
           |      h/w revision: DP25-42843-47
           |         supported: gsm-umts
           |           current: gsm-umts
           |      equipment id: 358893170009316
  -----------------------------
  System   |            device: /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0
           |           physdev: /sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0
           |           drivers: mhi-pci-generic
           |            plugin: foxconn
           |      primary port: wwan0mbim0
           |             ports: wwan0 (net), wwan0mbim0 (mbim), wwan0qcdm0 (ignored)
  -----------------------------
  Status   |             state: failed
           |     failed reason: sim-missing
           |       power state: low
  -----------------------------
  Modes    |         supported: allowed: any; preferred: none
           |           current: allowed: any; preferred: none
  -----------------------------
  IP       |         supported: ipv4, ipv6, ipv4v6
  -----------------------------
  3GPP     |              imei: 358893170009316
  -----------------------------
  SIM      |    sim slot paths: slot 1: none (active)
           |                    slot 2: /org/freedesktop/ModemManager1/SIM/0
root@OpenWrt:~# lspci -nn
0003:00:00.0 PCI bridge [0604]: MEDIATEK Corp. Device [14c3:7988] (rev 01)
0003:01:00.0 Unassigned class [ff00]: Foxconn International, Inc. Device [105b:e11d]

root@OpenWrt:~# dmesg | egrep -i "pcie|mhi|wwan|qcom|sdx|qrtr"
[    0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 rootwait
[    0.018358] /soc/pcie@11280000: Fixed dependency cycle(s) with /soc/pcie@11280000/interrupt-controller
[    0.018459] /soc/pcie@11290000: Fixed dependency cycle(s) with /soc/pcie@11290000/interrupt-controller
[    0.018550] /soc/pcie@11300000: Fixed dependency cycle(s) with /soc/pcie@11300000/interrupt-controller
[    0.018647] /soc/pcie@11310000: Fixed dependency cycle(s) with /soc/pcie@11310000/interrupt-controller
[    0.073450] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.073466] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.073481] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    0.073495] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    0.073584] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    0.073595] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    0.073606] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    0.073617] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    0.073636] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[    0.073645] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[    0.073709] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    0.073721] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    0.073732] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    0.073742] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    0.073760] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[    0.073768] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[    0.073841] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    0.073851] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    0.073862] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    0.073872] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    0.073888] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[    0.073896] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[    1.984971] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    1.992300] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    1.998567] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    2.007015] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    2.258898] mtk-pcie-gen3 11280000.pcie: set IO trans window[0]: cpu_addr = 0x20000000, pci_addr = 0x20000000, size = 0x200000
[    2.270288] mtk-pcie-gen3 11280000.pcie: set MEM trans window[1]: cpu_addr = 0x20200000, pci_addr = 0x20200000, size = 0x200000
[    2.281756] mtk-pcie-gen3 11280000.pcie: set MEM trans window[2]: cpu_addr = 0x20400000, pci_addr = 0x20400000, size = 0x400000
[    2.293221] mtk-pcie-gen3 11280000.pcie: set MEM trans window[3]: cpu_addr = 0x20800000, pci_addr = 0x20800000, size = 0x800000
[    2.304685] mtk-pcie-gen3 11280000.pcie: set MEM trans window[4]: cpu_addr = 0x21000000, pci_addr = 0x21000000, size = 0x1000000
[    2.316235] mtk-pcie-gen3 11280000.pcie: set MEM trans window[5]: cpu_addr = 0x22000000, pci_addr = 0x22000000, size = 0x2000000
[    2.327785] mtk-pcie-gen3 11280000.pcie: set MEM trans window[6]: cpu_addr = 0x24000000, pci_addr = 0x24000000, size = 0x4000000
[    2.339589] mtk-pcie-gen3 11280000.pcie: PCI host bridge to bus 0003:00
[    2.372223] pci 0003:00:00.0: [14c3:7988] type 01 class 0x060400 PCIe Root Port
[    2.452567] pci 0003:01:00.0: [105b:e11d] type 00 class 0xff0000 PCIe Endpoint
[    2.476699] pci 0003:01:00.0: 7.876 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x1 link at 0003:00:00.0 (capable of 31.506 Gb/s with 16.0 GT/s PCIe x2 link)
[    2.601764] pcieport 0003:00:00.0: assign IRQ: got 114
[    2.606896] pcieport 0003:00:00.0: enabling device (0000 -> 0002)
[    2.612992] pcieport 0003:00:00.0: enabling bus mastering
[    2.618743] mtk-pcie-gen3 11280000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11280c00 data 0
[    2.627182] mtk-pcie-gen3 11280000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11280c00 data 1
[    2.635612] mtk-pcie-gen3 11280000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11280c00 data 2
[    2.644041] mtk-pcie-gen3 11280000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11280c00 data 3
[    2.652468] mtk-pcie-gen3 11280000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11280c00 data 4
[    2.660895] mtk-pcie-gen3 11280000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11280c00 data 5
[    2.669319] mtk-pcie-gen3 11280000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11280c00 data 6
[    2.677745] mtk-pcie-gen3 11280000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11280c00 data 7
[    2.686174] mtk-pcie-gen3 11280000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11280c00 data 8
[    2.694601] mtk-pcie-gen3 11280000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11280c00 data 9
[    2.703029] mtk-pcie-gen3 11280000.pcie: msi#0xa address_hi 0x0 address_lo 0x11280c00 data 10
[    2.711545] mtk-pcie-gen3 11280000.pcie: msi#0xb address_hi 0x0 address_lo 0x11280c00 data 11
[    2.720056] mtk-pcie-gen3 11280000.pcie: msi#0xc address_hi 0x0 address_lo 0x11280c00 data 12
[    2.728571] mtk-pcie-gen3 11280000.pcie: msi#0xd address_hi 0x0 address_lo 0x11280c00 data 13
[    2.737085] mtk-pcie-gen3 11280000.pcie: msi#0xe address_hi 0x0 address_lo 0x11280c00 data 14
[    2.745601] mtk-pcie-gen3 11280000.pcie: msi#0xf address_hi 0x0 address_lo 0x11280c00 data 15
[    2.754115] mtk-pcie-gen3 11280000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11280c00 data 16
[    2.762717] mtk-pcie-gen3 11280000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11280c00 data 17
[    2.771319] mtk-pcie-gen3 11280000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11280c00 data 18
[    2.779917] mtk-pcie-gen3 11280000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11280c00 data 19
[    2.788518] mtk-pcie-gen3 11280000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11280c00 data 20
[    2.797119] mtk-pcie-gen3 11280000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11280c00 data 21
[    2.805724] mtk-pcie-gen3 11280000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11280c00 data 22
[    2.814326] mtk-pcie-gen3 11280000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11280c00 data 23
[    2.822928] mtk-pcie-gen3 11280000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11280c00 data 24
[    2.831529] mtk-pcie-gen3 11280000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11280c00 data 25
[    2.840127] mtk-pcie-gen3 11280000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11280c00 data 26
[    2.848731] mtk-pcie-gen3 11280000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11280c00 data 27
[    2.857331] mtk-pcie-gen3 11280000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11280c00 data 28
[    2.865933] mtk-pcie-gen3 11280000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11280c00 data 29
[    2.874535] mtk-pcie-gen3 11280000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11280c00 data 30
[    2.883137] mtk-pcie-gen3 11280000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11280c00 data 31
[    2.892147] mtk-pcie-gen3 11280000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11280c00 data 0
[    2.900642] pcieport 0003:00:00.0: PME: Signaling with IRQ 115
[    2.906582] pcieport 0003:00:00.0: AER: enabled with IRQ 115
[    2.912274] pcieport 0003:00:00.0: save config 0x00: 0x798814c3
[    2.918183] pcieport 0003:00:00.0: save config 0x04: 0x00100406
[    2.924096] pcieport 0003:00:00.0: save config 0x08: 0x06040001
[    2.930004] pcieport 0003:00:00.0: save config 0x0c: 0x00010000
[    2.935917] pcieport 0003:00:00.0: save config 0x10: 0x20300004
[    2.941831] pcieport 0003:00:00.0: save config 0x14: 0x00000000
[    2.947739] pcieport 0003:00:00.0: save config 0x18: 0x00010100
[    2.953650] pcieport 0003:00:00.0: save config 0x1c: 0x000001f1
[    2.959558] pcieport 0003:00:00.0: save config 0x20: 0x20202020
[    2.965470] pcieport 0003:00:00.0: save config 0x24: 0x0001fff1
[    2.971381] pcieport 0003:00:00.0: save config 0x28: 0x00000000
[    2.977289] pcieport 0003:00:00.0: save config 0x2c: 0x00000000
[    2.983202] pcieport 0003:00:00.0: save config 0x30: 0x00000000
[    2.989109] pcieport 0003:00:00.0: save config 0x34: 0x00000080
[    2.995020] pcieport 0003:00:00.0: save config 0x38: 0x00000000
[    3.000933] pcieport 0003:00:00.0: save config 0x3c: 0x00020172
[    3.007131] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    3.014442] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    3.020708] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    3.029148] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    3.350764] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.359547] mtk-pcie-gen3 11290000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    3.368462] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    3.375773] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    3.382041] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    3.390471] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    3.710743] mtk-pcie-gen3 11300000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.719521] mtk-pcie-gen3 11300000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[    3.728376] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    3.735687] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    3.741952] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    3.750381] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    4.070748] mtk-pcie-gen3 11310000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    4.079525] mtk-pcie-gen3 11310000.pcie: probe with driver mtk-pcie-gen3 failed with error -110
[   12.689460] mhi-pci-generic 0003:01:00.0: assign IRQ: got 0
[   12.695053] mhi-pci-generic 0003:01:00.0: MHI PCI device found: foxconn-dw5934e
[   12.702359] mhi-pci-generic 0003:01:00.0: BAR 0 [mem 0x20200000-0x20200fff 64bit]: assigned
[   12.710715] mhi-pci-generic 0003:01:00.0: enabling device (0000 -> 0002)
[   12.717419] resource: Unaddressable device pcie@11280000 [mem 0x20200000-0x27ffffff] conflicts with [mem 0x20200000-0x20200fff]
[   12.728894] mhi-pci-generic 0003:01:00.0: enabling bus mastering
[   12.735006] mtk-pcie-gen3 11280000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11280c00 data 8
[   12.743450] mtk-pcie-gen3 11280000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11280c00 data 9
[   12.751879] mtk-pcie-gen3 11280000.pcie: msi#0xa address_hi 0x0 address_lo 0x11280c00 data 10
[   12.760391] mtk-pcie-gen3 11280000.pcie: msi#0xb address_hi 0x0 address_lo 0x11280c00 data 11
[   12.768905] mtk-pcie-gen3 11280000.pcie: msi#0xc address_hi 0x0 address_lo 0x11280c00 data 12
[   12.777444] mhi-pci-generic 0003:01:00.0: save config 0x00: 0xe11d105b
[   12.783971] mhi-pci-generic 0003:01:00.0: save config 0x04: 0x00100406
[   12.790487] mhi-pci-generic 0003:01:00.0: save config 0x08: 0xff000000
[   12.797006] mhi-pci-generic 0003:01:00.0: save config 0x0c: 0x00000010
[   12.803524] mhi-pci-generic 0003:01:00.0: save config 0x10: 0x20200004
[   12.810040] mhi-pci-generic 0003:01:00.0: save config 0x14: 0x00000000
[   12.816557] mhi-pci-generic 0003:01:00.0: save config 0x18: 0x00000000
[   12.823075] mhi-pci-generic 0003:01:00.0: save config 0x1c: 0x00000000
[   12.829590] mhi-pci-generic 0003:01:00.0: save config 0x20: 0x00000000
[   12.836108] mhi-pci-generic 0003:01:00.0: save config 0x24: 0x00000000
[   12.842626] mhi-pci-generic 0003:01:00.0: save config 0x28: 0x00000000
[   12.849141] mhi-pci-generic 0003:01:00.0: save config 0x2c: 0xe11d105b
[   12.855659] mhi-pci-generic 0003:01:00.0: save config 0x30: 0x00000000
[   12.862179] mhi-pci-generic 0003:01:00.0: save config 0x34: 0x00000040
[   12.868695] mhi-pci-generic 0003:01:00.0: save config 0x38: 0x00000000
[   12.875213] mhi-pci-generic 0003:01:00.0: save config 0x3c: 0x00000000
[   12.882188] mhi mhi0: Requested to power ON
[   12.886372] mhi mhi0: Power on setup success
[   13.129999] wwan wwan0: port wwan0qcdm0 attached
[   13.134945] wwan wwan0: port wwan0mbim0 attached
[   13.139733] wwan wwan0: port wwan0at0 attached
[   13.228814] usbcore: registered new interface driver qmi_wwan
[   15.515724] mhi-pci-generic 0003:01:00.0: save config 0x00: 0xe11d105b
[   15.522319] mhi-pci-generic 0003:01:00.0: save config 0x04: 0x00100402
[   15.528845] mhi-pci-generic 0003:01:00.0: save config 0x08: 0xff000000
[   15.535392] mhi-pci-generic 0003:01:00.0: save config 0x0c: 0x00000010
[   15.541977] mhi-pci-generic 0003:01:00.0: save config 0x10: 0x20200004
[   15.548501] mhi-pci-generic 0003:01:00.0: save config 0x14: 0x00000000
[   15.555033] mhi-pci-generic 0003:01:00.0: save config 0x18: 0x00000000
[   15.561557] mhi-pci-generic 0003:01:00.0: save config 0x1c: 0x00000000
[   15.568074] mhi-pci-generic 0003:01:00.0: save config 0x20: 0x00000000
[   15.574601] mhi-pci-generic 0003:01:00.0: save config 0x24: 0x00000000
[   15.581121] mhi-pci-generic 0003:01:00.0: save config 0x28: 0x00000000
[   15.587639] mhi-pci-generic 0003:01:00.0: save config 0x2c: 0xe11d105b
[   15.594160] mhi-pci-generic 0003:01:00.0: save config 0x30: 0x00000000
[   15.600676] mhi-pci-generic 0003:01:00.0: save config 0x34: 0x00000040
[   15.607197] mhi-pci-generic 0003:01:00.0: save config 0x38: 0x00000000
[   15.613716] mhi-pci-generic 0003:01:00.0: save config 0x3c: 0x00000000
[   15.620320] mhi-pci-generic 0003:01:00.0: PME# enabled
[   15.637493] pcieport 0003:00:00.0: save config 0x00: 0x798814c3
[   15.643457] pcieport 0003:00:00.0: save config 0x04: 0x00100406
[   15.649367] pcieport 0003:00:00.0: save config 0x08: 0x06040001
[   15.655285] pcieport 0003:00:00.0: save config 0x0c: 0x00010000
[   15.661206] pcieport 0003:00:00.0: save config 0x10: 0x20300004
[   15.667116] pcieport 0003:00:00.0: save config 0x14: 0x00000000
[   15.673033] pcieport 0003:00:00.0: save config 0x18: 0x00010100
[   15.678945] pcieport 0003:00:00.0: save config 0x1c: 0x000001f1
[   15.684863] pcieport 0003:00:00.0: save config 0x20: 0x20202020
[   15.690779] pcieport 0003:00:00.0: save config 0x24: 0x0001fff1
[   15.696689] pcieport 0003:00:00.0: save config 0x28: 0x00000000
[   15.702604] pcieport 0003:00:00.0: save config 0x2c: 0x00000000
[   15.708513] pcieport 0003:00:00.0: save config 0x30: 0x00000000
[   15.714427] pcieport 0003:00:00.0: save config 0x34: 0x00000080
[   15.720335] pcieport 0003:00:00.0: save config 0x38: 0x00000000
[   15.726251] pcieport 0003:00:00.0: save config 0x3c: 0x00020172
[   15.732195] pcieport 0003:00:00.0: PME# enabled
[   24.037168] pcieport 0003:00:00.0: restore config 0x2c: 0x00000000 -> 0x00000000
[   24.044583] pcieport 0003:00:00.0: restore config 0x28: 0x00000000 -> 0x00000000
[   24.051976] pcieport 0003:00:00.0: restore config 0x24: 0x0001fff1 -> 0x0001fff1
[   24.059388] pcieport 0003:00:00.0: PME# disabled
[   24.076170] mhi-pci-generic 0003:01:00.0: PME# disabled
[   24.081397] mhi-pci-generic 0003:01:00.0: enabling bus mastering
[   45.210309] mhi-pci-generic 0003:01:00.0: save config 0x00: 0xe11d105b
[   45.216855] mhi-pci-generic 0003:01:00.0: save config 0x04: 0x00100402
[   45.223379] mhi-pci-generic 0003:01:00.0: save config 0x08: 0xff000000
[   45.229895] mhi-pci-generic 0003:01:00.0: save config 0x0c: 0x00000010
[   45.236414] mhi-pci-generic 0003:01:00.0: save config 0x10: 0x20200004
[   45.242933] mhi-pci-generic 0003:01:00.0: save config 0x14: 0x00000000
[   45.249450] mhi-pci-generic 0003:01:00.0: save config 0x18: 0x00000000
[   45.255968] mhi-pci-generic 0003:01:00.0: save config 0x1c: 0x00000000
[   45.262487] mhi-pci-generic 0003:01:00.0: save config 0x20: 0x00000000
[   45.269004] mhi-pci-generic 0003:01:00.0: save config 0x24: 0x00000000
[   45.275523] mhi-pci-generic 0003:01:00.0: save config 0x28: 0x00000000
[   45.282041] mhi-pci-generic 0003:01:00.0: save config 0x2c: 0xe11d105b
[   45.288556] mhi-pci-generic 0003:01:00.0: save config 0x30: 0x00000000
[   45.295076] mhi-pci-generic 0003:01:00.0: save config 0x34: 0x00000040
[   45.301594] mhi-pci-generic 0003:01:00.0: save config 0x38: 0x00000000
[   45.308111] mhi-pci-generic 0003:01:00.0: save config 0x3c: 0x00000000
[   45.314718] mhi-pci-generic 0003:01:00.0: PME# enabled
[   45.331876] pcieport 0003:00:00.0: save config 0x00: 0x798814c3
[   45.337786] pcieport 0003:00:00.0: save config 0x04: 0x00100406
[   45.343702] pcieport 0003:00:00.0: save config 0x08: 0x06040001
[   45.349610] pcieport 0003:00:00.0: save config 0x0c: 0x00010000
[   45.355523] pcieport 0003:00:00.0: save config 0x10: 0x20300004
[   45.361435] pcieport 0003:00:00.0: save config 0x14: 0x00000000
[   45.367343] pcieport 0003:00:00.0: save config 0x18: 0x00010100
[   45.373255] pcieport 0003:00:00.0: save config 0x1c: 0x000001f1
[   45.379164] pcieport 0003:00:00.0: save config 0x20: 0x20202020
[   45.385077] pcieport 0003:00:00.0: save config 0x24: 0x0001fff1
[   45.390989] pcieport 0003:00:00.0: save config 0x28: 0x00000000
[   45.396897] pcieport 0003:00:00.0: save config 0x2c: 0x00000000
[   45.402810] pcieport 0003:00:00.0: save config 0x30: 0x00000000
[   45.408718] pcieport 0003:00:00.0: save config 0x34: 0x00000080
[   45.414633] pcieport 0003:00:00.0: save config 0x38: 0x00000000
[   45.420541] pcieport 0003:00:00.0: save config 0x3c: 0x00020172
[   45.426477] pcieport 0003:00:00.0: PME# enabled
[   53.024184] pcieport 0003:00:00.0: restore config 0x2c: 0x00000000 -> 0x00000000
[   53.031605] pcieport 0003:00:00.0: restore config 0x28: 0x00000000 -> 0x00000000
[   53.038990] pcieport 0003:00:00.0: restore config 0x24: 0x0001fff1 -> 0x0001fff1
[   53.046409] pcieport 0003:00:00.0: PME# disabled
[   53.063191] mhi-pci-generic 0003:01:00.0: PME# disabled
[   53.068413] mhi-pci-generic 0003:01:00.0: enabling bus mastering
[   55.231118] mhi-pci-generic 0003:01:00.0: save config 0x00: 0xe11d105b
[   55.237656] mhi-pci-generic 0003:01:00.0: save config 0x04: 0x00100402
[   55.244186] mhi-pci-generic 0003:01:00.0: save config 0x08: 0xff000000
[   55.250703] mhi-pci-generic 0003:01:00.0: save config 0x0c: 0x00000010
[   55.257225] mhi-pci-generic 0003:01:00.0: save config 0x10: 0x20200004
[   55.263750] mhi-pci-generic 0003:01:00.0: save config 0x14: 0x00000000
[   55.270266] mhi-pci-generic 0003:01:00.0: save config 0x18: 0x00000000
[   55.276787] mhi-pci-generic 0003:01:00.0: save config 0x1c: 0x00000000
[   55.283307] mhi-pci-generic 0003:01:00.0: save config 0x20: 0x00000000
[   55.289823] mhi-pci-generic 0003:01:00.0: save config 0x24: 0x00000000
[   55.296343] mhi-pci-generic 0003:01:00.0: save config 0x28: 0x00000000
[   55.302862] mhi-pci-generic 0003:01:00.0: save config 0x2c: 0xe11d105b
[   55.309378] mhi-pci-generic 0003:01:00.0: save config 0x30: 0x00000000
[   55.315898] mhi-pci-generic 0003:01:00.0: save config 0x34: 0x00000040
[   55.322418] mhi-pci-generic 0003:01:00.0: save config 0x38: 0x00000000
[   55.328934] mhi-pci-generic 0003:01:00.0: save config 0x3c: 0x00000000
[   55.335539] mhi-pci-generic 0003:01:00.0: PME# enabled
[   55.350765] pcieport 0003:00:00.0: save config 0x00: 0x798814c3
[   55.356676] pcieport 0003:00:00.0: save config 0x04: 0x00100406
[   55.362592] pcieport 0003:00:00.0: save config 0x08: 0x06040001
[   55.368500] pcieport 0003:00:00.0: save config 0x0c: 0x00010000
[   55.374413] pcieport 0003:00:00.0: save config 0x10: 0x20300004
[   55.380321] pcieport 0003:00:00.0: save config 0x14: 0x00000000
[   55.386233] pcieport 0003:00:00.0: save config 0x18: 0x00010100
[   55.392145] pcieport 0003:00:00.0: save config 0x1c: 0x000001f1
[   55.398052] pcieport 0003:00:00.0: save config 0x20: 0x20202020
[   55.403964] pcieport 0003:00:00.0: save config 0x24: 0x0001fff1
[   55.409873] pcieport 0003:00:00.0: save config 0x28: 0x00000000
[   55.415785] pcieport 0003:00:00.0: save config 0x2c: 0x00000000
[   55.421696] pcieport 0003:00:00.0: save config 0x30: 0x00000000
[   55.427604] pcieport 0003:00:00.0: save config 0x34: 0x00000080
[   55.433516] pcieport 0003:00:00.0: save config 0x38: 0x00000000
[   55.439424] pcieport 0003:00:00.0: save config 0x3c: 0x00020172
[   55.445360] pcieport 0003:00:00.0: PME# enabled
[  391.735027] pcieport 0003:00:00.0: restore config 0x2c: 0x00000000 -> 0x00000000
[  391.742447] pcieport 0003:00:00.0: restore config 0x28: 0x00000000 -> 0x00000000
[  391.749833] pcieport 0003:00:00.0: restore config 0x24: 0x0001fff1 -> 0x0001fff1
[  391.757257] pcieport 0003:00:00.0: PME# disabled

root@OpenWrt:~# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6c brd ff:ff:ff:ff:ff:ff
3: sfp-lan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-lan state DOWN mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6d brd ff:ff:ff:ff:ff:ff
4: sfp-wan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master br-wan state DOWN mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6d brd ff:ff:ff:ff:ff:ff
5: wan@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-wan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6d brd ff:ff:ff:ff:ff:ff permaddr b6:9d:3c:bc:15:6c
6: lan1@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6c brd ff:ff:ff:ff:ff:ff
7: lan2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6c brd ff:ff:ff:ff:ff:ff
8: lan3@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6c brd ff:ff:ff:ff:ff:ff
9: wwan0: <POINTOPOINT,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
12: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6c brd ff:ff:ff:ff:ff:ff
15: br-wan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether b6:9d:3c:bc:15:6d brd ff:ff:ff:ff:ff:ff


===============================================

Note :
Vendor 17cb:0309 → Qualcomm SDX75 (X72) chip ID
when I reboot the router this vendor
Vendor 105b:e11d → Foxconn DW5934e card/board ID

First Boot (ModemManager)

After Reboot the system (Router) . It will stay as this the venodr ID (105b:e11d) until I plug off the power from Router.

One minute work, to figure out what’s going on

$ git clone https://github.com/foxconn-pc/fii_linux.git
$ cd fii_linux
$ file  Application/FoxFlss/bin/FoxFlss 
Application/FoxFlss/bin/FoxFlss: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=537ff28aad47aedfd9e6f5faa2cd1519e6f89cc4, for GNU/Linux 3.2.0, not stripped

some random binary, running on x86_64 only.

you have to use strace, to figure out what’s going on

nobody knows it.

Good luck

It has been reverse engineered and a Modem Manager FCC Unlock has been created using it. It requires an update to libqmi as well.

1 Like

this should be in the latest package feeds, I hope so.

Its become like every model they add more restircitions on unlcoking the FCC .but I believe on you and others, it will be piece of cake :shortcake: :smiling_face_with_sunglasses:

I’m still following on ROOter forum for any update about this modem
https://forums.whirlpool.net.au/thread/3vx1k1r3?p=1934#r76086226

Hi @IceG @ anyone

Can you help to add unlock the FCC for this modem to your packages

Note I got access to adb mode for this modem DW5934e (Foxconn T99W640),

Full Log here uploded

0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: 988 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000017260000
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz (virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000000] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000696] random: crng init done
[    0.000824] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.000842] pid_max: default: 32768 minimum: 301
[    0.000921] LSM: Security Framework initializing
[    0.000957] SELinux:  Initializing.
[    0.001078] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.001087] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.002252] rcu: Hierarchical SRCU implementation.
[    0.003587] EFI services will not be available.
[    0.004158] smp: Bringing up secondary CPUs ...
[    0.004797] Detected VIPT I-cache on CPU1
[    0.004838] GICv3: CPU1: found redistributor 100 region 0:0x0000000017280000
[    0.004944] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.005763] Detected VIPT I-cache on CPU2
[    0.005798] GICv3: CPU2: found redistributor 200 region 0:0x00000000172a0000
[    0.005892] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    0.006679] Detected VIPT I-cache on CPU3
[    0.006713] GICv3: CPU3: found redistributor 300 region 0:0x00000000172c0000
[    0.006804] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    0.006890] smp: Brought up 1 node, 4 CPUs
[    0.006912] SMP: Total of 4 processors activated.
[    0.006916] CPU features: detected: 32-bit EL0 Support
[    0.006920] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.006924] CPU features: detected: Common not Private translations
[    0.006927] CPU features: detected: CRC32 instructions
[    0.006931] CPU features: detected: RCpc load-acquire (LDAPR)
[    0.006934] CPU features: detected: Privileged Access Never
[    0.006937] CPU features: detected: RAS Extension Support
[    0.006941] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.006990] CPU: All CPU(s) started at EL1
[    0.007012] alternatives: patching kernel code
[    0.016072] devtmpfs: initialized
[    0.034473] KASLR enabled
[    0.034639] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.034658] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.035169] pinctrl core: initialized pinctrl subsystem
[    0.035586] DMI not present or invalid.
[    0.035809] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.036930] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.037029] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.037078] audit: initializing netlink subsys (disabled)
[    0.037217] audit: type=2000 audit(0.028:1): state=initialized audit_enabled=0 res=1
[    0.037435] thermal_sys: Registered thermal governor 'step_wise'
[    0.037440] thermal_sys: Registered thermal governor 'user_space'
[    0.041274] cpuidle: using governor menu
[    0.041817] NET: Registered PF_QIPCRTR protocol family
[    0.042333] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.042451] ASID allocator initialised with 65536 entries
[    0.042842] Serial: AMBA PL011 UART driver
[    0.044686] qcom-scm: __get_convention: qcom_scm: convention: smc arm 64
[    0.044973] qcom-scm: qcom_scm_query_wq_queue_info: WQ Info, feature: 1 call_ctx_cnt: 2 irq: 962
[    0.045148] qtee shmbridge registered default bridge with size 4194304 bytes
[    0.045817] shmbridge is enabled
[    0.045949] qcom-scm: scm_mem_protection_init_do: SCM call failed -5, resp 0
[    0.045956] MEM protection Not enabled, -5
[    0.062794] CPUidle PSCI: Initialized CPU PM domain topology
[    0.083792] rpmh_regulator_probe: smpk1: could not find RPMh address for resource
[    0.084870] qcom-memlat soc:qcom,memlat: Failure to probe memlat device: -517
[    0.088919] gcc-sdxpinn 80000.clock-controller: Registered GCC clocks
[    0.095468] msm_sps_probe: sps:sps is ready
[    0.096050] qnoc-sdxpinn soc:interconnect@0: Registered SDXPINN ICC
[    0.096406] qnoc-sdxpinn soc:interconnect@1: Registered SDXPINN ICC
[    0.096586] qnoc-sdxpinn 190e0000.interconnect: Registered SDXPINN ICC
[    0.096940] qnoc-sdxpinn 19100000.interconnect: Registered SDXPINN ICC
[    0.097264] qnoc-sdxpinn 16c0000.interconnect: Registered SDXPINN ICC
[    0.097861] qnoc-sdxpinn 1640000.interconnect: Registered SDXPINN ICC
[    0.100805] amba 24d22000.funnel: Fixing up cyclic dependency with 24d20000.tpdm
[    0.101089] amba 24d03000.funnel: Fixing up cyclic dependency with 24d0a000.funnel
[    0.101119] amba 24d03000.funnel: Fixing up cyclic dependency with 24d22000.funnel
[    0.101308] amba 2480d000.funnel: Fixing up cyclic dependency with soc:modem_etm0
[    0.101486] amba 2480c000.funnel: Fixing up cyclic dependency with soc:modem_diag
[    0.101521] amba 2480c000.funnel: Fixing up cyclic dependency with 2480d000.funnel
[    0.101697] amba 24804000.funnel: Fixing up cyclic dependency with 2480c000.funnel
[    0.101730] amba 24804000.funnel: Fixing up cyclic dependency with soc:modem2_etm0
[    0.101898] amba 24803000.tpda: Fixing up cyclic dependency with 24804000.funnel
[    0.101933] amba 24803000.tpda: Fixing up cyclic dependency with 24800000.tpdm
[    0.102086] amba 2480e000.tpda: Fixing up cyclic dependency with 2480c000.funnel
[    0.102260] amba 24cc4000.tpda: Fixing up cyclic dependency with 24cc1000.tpdm
[    0.102293] amba 24cc4000.tpda: Fixing up cyclic dependency with 24cc0000.tpdm
[    0.102441] amba 24cc5000.funnel: Fixing up cyclic dependency with 24cc4000.tpda
[    0.102618] amba 26863000.tpda: Fixing up cyclic dependency with 26860000.tpdm
[    0.102655] amba 26863000.tpda: Fixing up cyclic dependency with 268a0000.tpdm
[    0.103527] amba 26810000.funnel: Fixing up cyclic dependency with 26863000.tpda
[    0.103561] amba 26810000.funnel: Fixing up cyclic dependency with 26340000.etm3
[    0.103590] amba 26810000.funnel: Fixing up cyclic dependency with 26240000.etm2
[    0.103621] amba 26810000.funnel: Fixing up cyclic dependency with 26140000.etm1
[    0.103649] amba 26810000.funnel: Fixing up cyclic dependency with 26040000.etm0
[    0.103946] amba 24c2b000.tpda: Fixing up cyclic dependency with 24c29000.tpdm
[    0.103977] amba 24c2b000.tpda: Fixing up cyclic dependency with 24c28000.tpdm
[    0.104006] amba 24c2b000.tpda: Fixing up cyclic dependency with 24c00000.tpdm
[    0.104038] amba 24c2b000.tpda: Fixing up cyclic dependency with 24840000.tpdm
[    0.104069] amba 24c2b000.tpda: Fixing up cyclic dependency with 24854000.tpdm
[    0.104101] amba 24c2b000.tpda: Fixing up cyclic dependency with 24d03000.funnel
[    0.104280] amba 24c2c000.funnel: Fixing up cyclic dependency with 24d03000.funnel
[    0.104310] amba 24c2c000.funnel: Fixing up cyclic dependency with 24c2b000.tpda
[    0.104492] amba 24d09000.tpda: Fixing up cyclic dependency with 24d0a000.funnel
[    0.104523] amba 24d09000.tpda: Fixing up cyclic dependency with 24d40000.tpdm
[    0.104709] amba 24004000.tpda: Fixing up cyclic dependency with 24003000.tpdm
[    0.104742] amba 24004000.tpda: Fixing up cyclic dependency with 2400f000.tpdm
[    0.104943] amba 24041000.funnel: Fixing up cyclic dependency with 24002000.stm
[    0.104973] amba 24041000.funnel: Fixing up cyclic dependency with 24004000.tpda
[    0.105005] amba 24041000.funnel: Fixing up cyclic dependency with soc:snoc
[    0.105267] amba 24042000.funnel: Fixing up cyclic dependency with 24c2c000.funnel
[    0.105303] amba 24042000.funnel: Fixing up cyclic dependency with 26810000.funnel
[    0.105332] amba 24042000.funnel: Fixing up cyclic dependency with 24804000.funnel
[    0.105365] amba 24042000.funnel: Fixing up cyclic dependency with 24cc5000.funnel
[    0.105540] amba 24045000.funnel: Fixing up cyclic dependency with 24041000.funnel
[    0.105571] amba 24045000.funnel: Fixing up cyclic dependency with 24042000.funnel
[    0.105828] amba 24b08000.tpda: Fixing up cyclic dependency with 24b0d000.tpdm
[    0.105858] amba 24b08000.tpda: Fixing up cyclic dependency with 24b0b000.tpdm
[    0.105890] amba 24b08000.tpda: Fixing up cyclic dependency with 24b0c000.tpdm
[    0.105919] amba 24b08000.tpda: Fixing up cyclic dependency with 24b09000.tpdm
[    0.105947] amba 24b08000.tpda: Fixing up cyclic dependency with 24b0a000.tpdm
[    0.106128] amba 24b04000.funnel: Fixing up cyclic dependency with 24b08000.tpda
[    0.106161] amba 24b04000.funnel: Fixing up cyclic dependency with 24045000.funnel
[    0.106415] amba 24b05000.tmc: Fixing up cyclic dependency with 24b04000.funnel
[    0.106587] amba 24b06000.replicator: Fixing up cyclic dependency with soc:dummy_sink
[    0.106618] amba 24b06000.replicator: Fixing up cyclic dependency with 24b05000.tmc
[    0.106771] amba 24046000.replicator: Fixing up cyclic dependency with 24b06000.replicator
[    0.106930] amba 2404e000.replicator: Fixing up cyclic dependency with 24046000.replicator
[    0.107067] platform soc:dummy_replicator: Fixing up cyclic dependency with 2404e000.replicator
[    0.107195] platform soc:tmc_modem: Fixing up cyclic dependency with soc:dummy_replicator
[    0.107416] amba 24048000.tmc: Fixing up cyclic dependency with 2404e000.replicator
[    0.107592] amba 2404f000.tmc: Fixing up cyclic dependency with soc:dummy_replicator
[    0.111835] qcom_dma_iommu soc:dma_dev: assigned reserved memory node linux,cma
[    0.111997] DMA preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.115344] gh-watchdog hypervisor:qcom,gh-watchdog: QCOM Apps Watchdog Initialized

[   22.932480] smcinvoke: process_accept_req: Setting pid:3983, server id : 38 state to defunct
[   29.026108] FX_ERR: send mcfg change req success
[   29.026108]
[   29.032703] FX_ERR: QMI_FX_MCFG_CHANGE_REQ return error, not reboot
[   29.032703]
[   29.041127] FX_ERR: fx_modem_cfg_daemon: sleep thread creation success
[   29.092653] FX_ERR: rfrpe_qmi_client is NULL
[   29.115855] gpio gpiochip0: Persistence not supported for GPIO 91
[   29.115944] gpio gpiochip0: (f000000.pinctrl): allocate IRQ 137, hwirq 91
[   29.115952] gpio gpiochip0: (f000000.pinctrl): found parent hwirq 130
[   29.115960] gpio gpiochip0: (f000000.pinctrl): alloc_irqs_parent for 137 parent hwirq 130
[   29.276879] gpio gpiochip0: Persistence not supported for GPIO 52
[   29.276968] gpio gpiochip0: (f000000.pinctrl): allocate IRQ 138, hwirq 52
[   29.276976] gpio gpiochip0: (f000000.pinctrl): found parent hwirq 102
[   29.276984] gpio gpiochip0: (f000000.pinctrl): alloc_irqs_parent for 138 parent hwirq 102
[   29.281599] FXSYSLOG_DEBUG: Fxsyslog Start: enable_flag = -1
[   29.288799] [logevent]: Got log agent port id 100, fxsyslog agent register
[   29.694206] QTI: DPM Init cb
[   29.703431] QTI: Modem is up
[   30.066496] gpio gpiochip0: Persistence not supported for GPIO 93
[   30.066595] gpio gpiochip0: (f000000.pinctrl): allocate IRQ 139, hwirq 93
[   30.066604] gpio gpiochip0: (f000000.pinctrl): found parent hwirq 132
[   30.066612] gpio gpiochip0: (f000000.pinctrl): alloc_irqs_parent for 139 parent hwirq 132
[   30.212375] qbi:MBIM Process Started
[   30.218411] qbi: Wakelock support is enabled
[   30.263823] qbi:android_mbim node is up for I/O
[   30.877068] ++++ /etc/scripts/init.post_boot.sh -> done sched settings
[   34.098026] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 1
[   34.341809] qbi:MBIM_OPEN Received with host txn 5
[   34.342599] qbi: Wakelock aqcquired 1
[   34.375139] qbi: MBIM_OPEN received with QBI txn iid 0
[   34.527909] [glink_pkt_ioctl]: unrecognized ioctl command 0x8004c200
[   34.591654] qbi:MBIM_OPEN Succeeded host txn_id 5 context ID 0
[   34.591718] qbi: Wakelock released 1
[   36.263967] FX_ERR: Successed to write GPIO_eEXPORT_PATH
[   36.273728] FX_ERR: Successed to write GPIO_DIR_PATH
[   36.279416] FX_ERR: Successed to write GPIO_EDGE_PATH
[   36.689540] FX_ERR: [libfxcm_fcc_lock]libfxcm_check_can_switch_to_online_mode_by_rf_keys(568): Current fcc lock status is enable, not allow change sw radio status to on
[   41.110459] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 2
[   48.124128] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 3
[   55.137922] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 4
[   62.151436] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 5
[   69.164531] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 6
[   76.178311] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 7
[   83.191864] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 8
[   90.204808] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 9
[   97.217889] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 10
[  104.230152] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 11
[  111.241219] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 12
[  118.252927] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 13
[  125.267714] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 14
[  132.280586] FX_ERR: Initialize QMI rfrpe Client fail: -3, try count 15
[  359.079569] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  374.592140] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  375.155856] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  375.299740] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  375.948852] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  376.099088] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  376.203669] msm_eusb2_phy ff4000.hsphy: Could not get usb psy
[  376.210175] android_work: sent uevent USB_STATE=CONFIGURED
[  382.573653] dwc3 a600000.dwc3: Clr_TRB ring of ep3in
[  382.581050] dwc3 a600000.dwc3: Clr_TRB ring of ep3out
[  382.589156] gsi soc:qcom,msm_gsi: gsi_alloc_channel:2970 user_data_size = 16, sizeof(*user_data) = 16 total = 256
[  382.604002] gsi soc:qcom,msm_gsi: gsi_alloc_channel:2970 user_data_size = 16, sizeof(*user_data) = 16 total = 256


=
/ #

/ # ls /dev
android_mbim          mtd22                 mtdblock34
at_mdm0               mtd22ro               mtdblock35
at_usb0               mtd23                 mtdblock36
at_usb1               mtd23ro               mtdblock37
binder                mtd24                 mtdblock38
binderfs              mtd24ro               mtdblock39
block                 mtd25                 mtdblock4
byte-cntr             mtd25ro               mtdblock5
byte-cntr1            mtd26                 mtdblock6
console               mtd26ro               mtdblock7
coresight-modem-etr1  mtd27                 mtdblock8
coresight-stm         mtd27ro               mtdblock9
coresight-tmc-etf     mtd28                 net
coresight-tmc-etr     mtd28ro               null
coresight-tmc-etr1    mtd29                 ppp
cpu_dma_latency       mtd29ro               ptmx
dcc_sram              mtd2ro                pts
dma_heap              mtd3                  qce
dpl_ctrl              mtd30                 ram0
ffs-diag              mtd30ro               ram1
full                  mtd31                 ram10
gpiochip0             mtd31ro               ram11
gpiochip1             mtd32                 ram12
gpiochip2             mtd32ro               ram13
gps                   mtd33                 ram14
hwbinder              mtd33ro               ram15
hwrng                 mtd34                 ram2
input                 mtd34ro               ram3
ipa                   mtd35                 ram4
ipaIpv6CTTable        mtd35ro               ram5
ipaNatTable           mtd36                 ram6
ipa_adpl              mtd36ro               ram7
ipa_lnx_stats_ioctl   mtd37                 ram8
ipa_odl_ctl           mtd37ro               ram9
ipa_tethering_bridge  mtd38                 random
kmsg                  mtd38ro               rebooterdev
log                   mtd39                 remoteproc0
loop-control          mtd39ro               rfkill
loop0                 mtd3ro                rmnet_ctrl
loop1                 mtd4                  rtc0
loop2                 mtd4ro                shm
loop3                 mtd5                  smcinvoke
loop4                 mtd5ro                smd11
loop5                 mtd6                  smd21
loop6                 mtd6ro                smd22
loop7                 mtd7                  smd7
mem_buf_vm            mtd7ro                smd8
membuf                mtd8                  smdcntl0
msm-rng               mtd8ro                smdcntl1
msm_sps               mtd9                  smdcntl8
mtd0                  mtd9ro                snd
mtd0ro                mtdblock0             socket
mtd1                  mtdblock1             stats
mtd10                 mtdblock10            stderr
mtd10ro               mtdblock11            stdin
mtd11                 mtdblock12            stdout
mtd11ro               mtdblock13            tty
mtd12                 mtdblock14            ttyEUD0
mtd12ro               mtdblock15            ttyGS0
mtd13                 mtdblock16            ttyMSM0
mtd13ro               mtdblock17            ttyS0
mtd14                 mtdblock18            ttyS1
mtd14ro               mtdblock19            ttyS2
mtd15                 mtdblock2             ttyS3
mtd15ro               mtdblock20            ubi0
mtd16                 mtdblock21            ubi0_0
mtd16ro               mtdblock22            ubi1
mtd17                 mtdblock23            ubi1_0
mtd17ro               mtdblock24            ubi2
mtd18                 mtdblock25            ubi2_0
mtd18ro               mtdblock26            ubi_ctrl
mtd19                 mtdblock27            uinput
mtd19ro               mtdblock28            uio0
mtd1ro                mtdblock29            urandom
mtd2                  mtdblock3             usb-ffs
mtd20                 mtdblock30            vndbinder
mtd20ro               mtdblock31            wwan_ioctl
mtd21                 mtdblock32            zero
mtd21ro               mtdblock33            zram0
/ # ls /sys/class/net
lo            rmnet_data15  rmnet_data3   rmnet_ipa0
rmnet_data0   rmnet_data16  rmnet_data4   sit0
rmnet_data1   rmnet_data2   rmnet_data5

from top codes ,part 36 is showing FCC Lock is enable
[ 36.689540] FX_ERR: [libfxcm_fcc_lock]libfxcm_check_can_switch_to_online_mode_by_rf_keys(568): Current fcc lock status is enable, not allow change sw radio status to on

most of AT commands are locked also …

….
I hope this can help you