UF896 - Qualcomm MSM8916 LTE router ~384MiB RAM/2.4GiB flash, Android: OpenWrt?

Hi Sorine, Thanks for the process. This is great.
I cannot reach out your repository located at https://xfl.jp/lnvXp6. 404 page not found. Could you see what's going on please
Thanks

1 Like

i am not quite sure what i should do here...

                sim_sel {
                        label = "sim:sel";
                        gpios = <&msmgpio 2 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };

                sim_en {
                        label = "sim:en";
                        gpios = <&msmgpio 1 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };

is this correct? Or should i change the GPIO of sim_sel and sim_en ? (sim_en = 2; sim_sel = 1)

Need to try. The fact is that modems come with different radio modules, depending on the number of bands. For example, the SIM works for the author and he has 1,3,5 bands. With you, the SIM part of the SIM does not even turn on. This is an example with me with bands 1,3,7,20 and European. First try changing the AT modes with commands. To do this, enable debug in MM.
Edit vi /usr/sbin/ModemManager-wrapper
Change
/usr/sbin/ModemManager "$@" 1>/dev/null 2>/dev/null &
to
/usr/sbin/ModemManager --debug "$@" 1>/dev/null 2>/dev/null &
and restart router.
Man mmcli -m 0 --command=

2 Likes

"mmcli -m 0 " says "Status: failed, failed reason: SIM missing"

I had this problem too. Before you start messing with GPIOs try just power cycling
the sim card :
in adb or ssh
/etc/init.d/modemmanager stop
qmicli -d /dev/modem --uim-sim-power-off=1
qmicli -d /dev/modem --uim-sim-power-on=1
/etc/init.d/modemmanager start
mmcli -m 0 -e
mmcli -m 0

i struggled to find any serial interface where AT-commands could be sent to the modem.

/dev/modem-at

Hello Guys,
I bought this Qualcomm MSM8916 LTE Dongle, but it is not working on the OpenWrt router (installed in Raspberry Pi 4B).
I also have a ZTE dongle which got easily detected on the router but this one is not getting detected by the router.
I noticed that when I connect this dongle to OpenWrt, it shows a MAC address for 2 seconds and then disconnected. But it's working fine on Windows PC as RNDIS.
Can someone guide me on what to do to get it to work with OpenWrt?

Hi,
which stock OS version have you installed?. As I do have the Chinese ones and opkg cannot download and install the qmicli necessary packages. Tx

1 Like

I compiled from kirdes's git fork, but added some configs. Guess i must have added
CONFIG_PACKAGE_qmi-utils=y
can you not find qmi-utils through opkg

Hello Rob

I understand the message I posted in response is wrongly formated

Here is the log I got

/sbin # /etc/init.d/modemmanager stop
/sbin # qmicli -d /dev/modem --uim-sim-power-off=1
[/dev/modem] Successfully performed SIM power off
/ # qmicli -d /dev/modem --uim-sim-power-on=1
error: could not power on SIM: QMI protocol error (3): 'Internal'
/ # /etc/init.d/modemmanager start
/ # mmcli -m 0 -e
error: couldn't find modem
/ # mmcli -m 0 -e
error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.WrongState: modem in failed state'

Hoping thru mail you will get something readeable.

Tx

Hi, I cannot manage to get the LTE up and running. Still I have " Modem bearer teardown in progress."
or it says "Status: failed, failed reason: SIM missing".
Have you changed anything when building up the UFI003?
Could you share some tech outputs please - for instance : mmcli - m 0, ps, opkg list-installed, dmesg, fdisk -x. So i can compare with I have. Thanks

Does anyone know where I can get an UF896 with European bands?

All I find so far (on aliexpress and Amazon) is bands 1,3,5, or not specified; or for European bands most likely devices based on another SoC (one I bought, which is a MediaTek MT6735; for others I asked the sellers (on Amazon and Aliexpress), and when I seldomly received a meaningful answer it was said that it was another chip, not MSM8916).


This thread is mainly about getting an OpenWrt(-based) operating system to run on the device itself.
You are asking of using the device without modifying it's firmware with an external OpenWrt router.

Regarding your question:

Maybe you miss on your OpenWrt router some kmod- packages, usb modeswitch, and other stuff?

Can you post outputs of dmesg, of logread -f and maybe other stuff, while you connect the device?
→ And then please make a new thread (click on the "timestamp" which is on the top right of a posting here to branch off a new thread, sort it to an appropriate forum category and give it a meaningful title) and post your question together with logs there.

1 Like
Got mine on ebay :
https://www.ebay.fr/itm/234725396813
It is clearly specified a qualcomm 8916 built in.
And it works in EU with the android original stock.

UFI_V7.3.5
4G UFI-0100
Manufacturer	Qualcomm Technology
Model	msm8916_32_512 UNF1123
1 Like

UF896 - Qualcomm MSM8916 LTE router. LTE-FDD bands: B1/B3/B7/B20

Qualcomm MSM8916 LTE router. LTE-FDD bands: B1/B3/B7/B8/B20

1 Like

Hi,
I recently purchased this LTE dongle, it is marked with UFI001C.

After backing up the EMMC, baseband and Qualcomm blobs, I tried installing the Debian image on the openstick repository
Once done flashing the appropriate boot image and transplanting the blobs, everything works just fine, and the SIM APN gets recognized automatically.

I then tried compiling openwrt from the original HandsomeMod repository selecting the appropriate device, LUCI and the WWAN applications.
After compiling the image, i tried flashing both the boot and system squashfs to the dongle, but I get an error when sending sparse data.

I then tried compiling from the Dreirund Handsomemod uf896 repo but depending if I select UFI001C as device or UF896 and then compile, I can get an image with working WWAN and broken OverlayFS or broken WWAN and status LEDs but working OverlayFS respectively.

What can I do to get a fully working compilable OpenWRT install for my board?

I have three of these in my possession, two of them have failed to boot after installing the debian image and now just advise they are adb android phone but nothing showing under adb devices?

Mine are all uf896 1.1, looking at this I've done the same as @PatEvry with two dongles.

Could anyone advise the correct process to install Openwrt

I bought it too and had the same problem just yesterday. usb-modeswitch was ejecting the device even though it does not need ejecting. Uninstall usb-modeswitch or remove the relevant lines in /etc/usb-mode.json.

In my case I had to remove the following lines in /etc/usb-mode.json -

                "05c6:9024": {
                        "*": {
                                "t_vendor": 1478,
                                "t_product": [ 36901 ],
                                "mode": "StandardEject",
                                "msg": [  ]
                        }
                },

Enjoy! :+1:

Edit: By the way, this is what I bought.

Edit 2: Thought I should also mention that I was expecting to receive a device with MDM9200 but got one with MSM8916 instead. Bought from Flipkart (https://www.flipkart.com/lapcare-ldf-90-usb-4g-modem-all-sim-network-support-data-card-wifi-hotspot/p/itm4471d9e2be2ce). Aliexpress doesn't deliver to "India" anymore due to "logistical issues" apparently. :rofl: Anyway, month of import on packaging says October 2022, so it appears to be freshly made and customized with the logo you see.

1 Like

Ok, mine are not dead, just not providing enough power to boot it, windows playing silly.

very interesting topic, thanks to OP for starting it.

I am new to OpenWrt and just configured a Pi 4B as a travel router with a wifi usb and LAN usb adapter.

I also have ordered the SD410 LTE stick here. Make sure you ordered the Black one, where "Qualcomm 8916" is stated. Unfortunately only LTE bands B1/3/5 working, but for my region it is sufficient.

I don't see any reason to try to install OpenWrt on this stick, as there is no LAN port available, and the wifi connection is quite weak.

In my case I will connect it to my Pi 4B as native Android RNDIS usb modem, and not having to deal with the Android webgui.

Unfortunately I have not seen that the Openstick modder had checked if raw QMI mode is working. I don't expect it to work.

As there are many pcb versions of this stick, I am hesitant to flash debian,zip, as the Chinese wiki refers to some common problems, unless the pcb version is UFI001B. I am not sure yet what added value Debian would bring.

I would like to be able to configure/start-stop modem from Openwrt host and not from the Android web-GUI.

Anyone having this stick can confirm the following, when using it in native Android mode connected to an OpenWrt router:

  1. can you configure the LTE parameters e.g. APN using luci-proto-3g web interface?

  2. can you setup this modem as a WAN interface similar to a smartphone?

  3. is it possible to disable the modem's wifi hotspot permanently?