Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modem drivers for UFI003_MB_V02 #33

Open
gonzalezcalleja opened this issue Nov 9, 2022 · 9 comments
Open

modem drivers for UFI003_MB_V02 #33

gonzalezcalleja opened this issue Nov 9, 2022 · 9 comments

Comments

@gonzalezcalleja
Copy link

gonzalezcalleja commented Nov 9, 2022

Hi,

I have a board labeled like: UFI003_MB_V02

WIth basegeneric + debian (with boot-ufi001c) and with firmware-ufi001c in /lib/firmware this is my modem state:

root@openstick:/# mmcli -m 0
  -----------------------------------
  General  |                    path: /org/freedesktop/ModemManager1/Modem/0
           |               device id: d2d26e98cf83bb747f5146730fc87deed4b2668c
  -----------------------------------
  Hardware |            manufacturer: 1
           |                   model: 0
           |       firmware revision: UFI001CT 20211106  1  [Nov 04 2016 02:00:00]
           |          carrier config: ROW_Generic_3GPP
           | carrier config revision: 02010801
           |            h/w revision: 10000
           |               supported: gsm-umts, lte
           |                 current: gsm-umts, lte
           |            equipment id: 864405024697373
  -----------------------------------
  System   |                  device: qcom-soc
           |                 drivers: qcom-q6v5-mss, bam-dmux
           |                  plugin: qcom-soc
           |            primary port: wwan0qmi0
           |                   ports: wwan0 (net), wwan0at0 (at), wwan0qmi0 (qmi), wwan1 (net),
           |                          wwan2 (net), wwan3 (net), wwan4 (net), wwan5 (net), wwan6 (net),
           |                          wwan7 (net)
  -----------------------------------
  Status   |                    lock: sim-pin2
           |          unlock retries: sim-pin (1), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                   state: enabled
           |             power state: on
           |          signal quality: 0% (cached)
  -----------------------------------
  Modes    |               supported: allowed: 2g; preferred: none
           |                          allowed: 3g; preferred: none
           |                          allowed: 4g; preferred: none
           |                          allowed: 2g, 3g; preferred: 3g
           |                          allowed: 2g, 3g; preferred: 2g
           |                          allowed: 2g, 4g; preferred: 4g
           |                          allowed: 2g, 4g; preferred: 2g
           |                          allowed: 3g, 4g; preferred: 4g
           |                          allowed: 3g, 4g; preferred: 3g
           |                          allowed: 2g, 3g, 4g; preferred: 4g
           |                          allowed: 2g, 3g, 4g; preferred: 3g
           |                          allowed: 2g, 3g, 4g; preferred: 2g
           |                 current: allowed: 3g, 4g; preferred: 4g
  -----------------------------------
  Bands    |               supported: egsm, dcs, pcs, g850, utran-1, utran-5, utran-8, eutran-1,
           |                          eutran-3, eutran-5, eutran-8
           |                 current: egsm, dcs, pcs, g850, utran-1, utran-5, utran-8, eutran-1,
           |                          eutran-3, eutran-5, eutran-8
  -----------------------------------
  IP       |               supported: ipv4, ipv6, ipv4v6
  -----------------------------------
  3GPP     |                    imei: <REDACTED>
           |           enabled locks: fixed-dialing
  -----------------------------------
  3GPP EPS |    ue mode of operation: csps-1
           |      initial bearer apn: telefonica.es
           |  initial bearer ip type: ipv4
           |     initial bearer user: telefonica
           | initial bearer password: telefonica
  -----------------------------------
  SIM      |        primary sim path: /org/freedesktop/ModemManager1/SIM/0

What is the best combination of drivers for UFI003_MB_V02? Now is always in "signal quality: 0%" and I can't connect with the modem.

Thanks

@ohwgiles
Copy link

Same issue. I have a stock UFI003_MB_V02 backup device, are there any instructions for extracting the firmware, at least to verify whether it is changed from ufi001c?

@Informatic
Copy link

Informatic commented Nov 10, 2022 via email

@ohwgiles
Copy link

Documenting the steps I took:

$ lsusb
Bus 001 Device 039: ID 05c6:90b4 Qualcomm, Inc. Android
$ adb reboot edl
$ lsusb
Bus 001 Device 040: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
$ pacaur -S edl-git
$ edl rl dumps --genxml
$ mkdir firmware
$ mcopy -i dumps/modem.bin '::image/modem.*' '::image/mba.*' '::image/wcnss.*' firmware/
$ md5sum firmware/*
99c08a7364be251a608bb0d7491db0a7  firmware/mba.mbn
1707b0bff56fbe1a8d9902bd37b0dc97  firmware/modem.b00
ae5a1c4b51caf0bf1117e6c6054487ab  firmware/modem.b01
805e6d8bea7cf6a7cd790c5f1d50af64  firmware/modem.b02
c4ca1e4b64dadd773d546a6e920e56ec  firmware/modem.b03
43d10a2cdb8228fa27e813054199eb33  firmware/modem.b04
2928a2022822dc88ea99a2d808a2a28e  firmware/modem.b05
da249fad46886753b90e865ab176fa39  firmware/modem.b06
38faca4e1043a57da9d6fb5edde556e8  firmware/modem.b08
c676d0d1df09cd7a323fe6c3975e690f  firmware/modem.b09
f6dd62342210efc957083beaa5c7be66  firmware/modem.b12
20f592ae642dc79fc8c6a94a17ffad7e  firmware/modem.b13
6cbcd4d8d272fab8130599c5fc9a46d6  firmware/modem.b14
731bf06c92034a64485d754b2eeef6dc  firmware/modem.b15
a820e73be4a1571d1215951fca7e6e91  firmware/modem.b16
2849c54c278c18ab58c5bb7e7cd7c9f3  firmware/modem.b17
0a59fe0ccd31d5fa6dc227b9cbf16138  firmware/modem.b18
4803f212e804fe9104595e4944a56601  firmware/modem.b21
2e76d56cf7a62f1b0de6019d98a7ac79  firmware/modem.b22
8efa9c0241adda75b721bb6a64c7e1fb  firmware/modem.b23
028920ec0def5115eabc85dd2a153a8e  firmware/modem.b25
f6070f77afcdfb188ae4cf1475029ca8  firmware/modem.b26
aeeb80ea3543256e1035e2e64388d848  firmware/modem.mdt
cc09f274ecc15965ba0571aa2e43c40f  firmware/wcnss.b00
16187bf574f4c84ee863f121c68defdb  firmware/wcnss.b01
623dc6d11397e340a4df8e815049b9d1  firmware/wcnss.b02
11040c990c160a62c49794b0b2ec156f  firmware/wcnss.b04
b898f5e83259a420ee7509b58d8e2e3c  firmware/wcnss.b06
469aa816010c9c8639a9176f625189af  firmware/wcnss.b09
157e39521e47ad1c923a94edd69ad59c  firmware/wcnss.b10
7703a05c0140366bff915210f6ab53ff  firmware/wcnss.b11
41d715d8f942aa25d4c91e582877faf7  firmware/wcnss.mdt

@gonzalezcalleja
Copy link
Author

Hi,

with the original firmware modem from UFI003_MB_V02 now is working:

  -----------------------------------
  Status   |                    lock: sim-pin2
           |          unlock retries: sim-pin (1), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                   state: connected
           |             power state: on
           |             access tech: lte
           |          signal quality: 67% (cached)

Here is the firmware file:

firmware-UFI003_MB_V02.zip

Thanks !

@trickstertwo
Copy link

trickstertwo commented Feb 14, 2023

Hi,

I flashed base image with flash.sh, then debian with flash.sh, and finally pushed the extracted files to /lib/firmware.
Tried with two seperate devices I had; same result- sim missing:
image
Can anyone help me?
I tried the same Sim with another device the uz801, everything worked fine there....

@ppvan
Copy link

ppvan commented Apr 16, 2023

I got the same problem with @trickstertwo. Seems UFI003_CT model does not have firmware on the internet yet, someone has to dump it (Actually i have no idea what is edl or dump).
Any help would be preciated

@tobz619
Copy link

tobz619 commented Apr 24, 2023

If "adb reboot edl" does not work, you may also try to open up the case, bridge (eg. using a pair of tweezers) d+ and d- lines on a USB port (two "middle" lines), connect it to your computer, "release" d+/d- bridge, and go with the guide.

Hi, which lines specifically do I bridge to force qdl mode? Thanks :)

@callMeMakerRen
Copy link

I got the same problem with @trickstertwo. Seems UFI003_CT model does not have firmware on the internet yet, someone has to dump it (Actually i have no idea what is edl or dump). Any help would be preciated

download the boot-ufi001c.img
fastboot flash boot boot-ufi001c.img, then we need the proper firmware,and after that we may need to restart the modemmanager service.

@RushOnline
Copy link

download the boot-ufi001c.img

@callMeMakerRen you saved me! Thank you very much!

For followers:

Board: UFI003_MB_V02
Target OS: Debian 11
Keywords: UFI003 sim-missing

  1. Unzip base.zip, replace boot.img with content of boot-ufi001c.img, flash it.
  2. Unsip and flash debian.zip.
  3. Replace firmware: download firmware-ufi003.deb and install it:
adb push firmware-ufi003.deb /tmp/
adb shell
dpkg -i /tmp/firmware-ufi003.deb
reboot
  1. Enjoy!
adb shell
mmcli --modem 0
...
  -----------------------------------
  Hardware |            manufacturer: 1
           |                   model: 0
           |       firmware revision: UFI003_CT 20211210  1  [Nov 04 2016 02:00:00]
           |          carrier config: ROW_Generic_3GPP
           | carrier config revision: 02010801
           |            h/w revision: 10000
...
  -----------------------------------
  Status   |                    lock: sim-pin2
           |          unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                   state: connected
           |             power state: on
           |             access tech: lte
           |          signal quality: 88% (recent)
  -----------------------------------
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants