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

Working build OpenWRT for UF896

  1. Download https://xfl.jp/lnvXp6
  2. Unzip
  3. Run flash.bat or flash.sh by normal mode modem(or restore mode to close 1 and 6 pin on board)
  4. After flashing, login in Openwrt from 192.168.1.1 and flash sysupgrade file from web face.
    LTE is not work

We transfer the router to USB-host (OTG) mode with a command from the terminal (you can then put it into autorun)
echo host > /sys/kernel/debug/usb/ci_hdrc.0/role

The router can be switched back to gadget mode with the command

echo gadget > /sys/kernel/debug/usb/ci_hdrc.0/role

We connect to some access point as a client.
Fixing package sources in "Package Manager">"Configure OPKG"

dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 1
arch noarch 1
arch aarch64_cortex-a53_neon 10
arch aarch64_cortex-a53 100

src/gz reboot_base http://mirrors.cloud.t…arch64_cortex-a53/base
src/gz reboot_luci http://mirrors.cloud.t…arch64_cortex-a53/luci
src/gz reboot_packages http://mirrors.cloud.t…64_cortex-a53/packages
src/gz reboot_routing http://mirrors.cloud.t…h64_cortex-a53/routing
src/gz reboot_telephony http://mirrors.cloud.t…4_cortex-a53/telephony
src/gz openwrt_kiddin9 https://op.supes.top/packages/aarch64_cortex-a53

3 Likes

Is there possible to conect modem to hub and also plug to this hub usb to ethernet adapter?

Yes. Install packet kmod-usb-net-asix-ax88179. Router connect to hab from USB female-female adapter. Supply power +5V to the hub using a male-male cable. https://aliexpress.ru/item/1005002335192381.html

Hi guys, waiting for the ""official"" release of OpenWRT for this device, I would like to use it as USB modem on my AR-150, but it figure out that when i plug usb modem on it, the AR-150 desn't recongnize it as USB modem.

What do you suggest ?

  1. Install to AR-150 firmware Openwrt 22.03.2 https://downloads.openwrt.org/releases/22.03.2/targets/ath79/generic/openwrt-22.03.2-ath79-generic-glinet_gl-ar150-squashfs-sysupgrade.bin
  2. opkg update
  3. opkg install kmod-usb-net-rndis
  4. opkg install usb-modeswitch

I've both installed by default (I'm using the last version of openwrt from GL-inet based on OpenWRT 19)

BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07.8, r11364-ef56c85848
 -----------------------------------------------------
root@GL-AR150:~# opkg update
Downloading https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ath79/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_packages
Downloading https://fw.gl-inet.com/releases/v19.07.8/packages-3.0/ath79/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_private
Downloading https://fw.gl-inet.com/releases/v19.07.8/kmod-3.0/ath79/nand/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_kmod
root@GL-AR150:~# opkg install kmod-usb-net-rndis
Package kmod-usb-net-rndis (4.14.241-1) installed in root is up to date.
root@GL-AR150:~# opkg install usb-modeswitch
Package usb-modeswitch (2017-12-19-f40f84c2-2) installed in root is up to date.

Hi guys, waiting for the ""official"" release of OpenWRT for this
device, I would like to use it as USB modem

The USB modem does not need to run an OpenWRT(-based) operating system.

But if you want to make this device here behave like an USB modem, I
think you would need some dedicated operating system to tweak it to
your liking.

on my AR-150, but it
figure out that when i plug usb modem on it, the AR-150 desn't
recongnize it as USB modem.

What do you suggest ?

If possible, use a dedicated USB-modem, like the Huawei E3372s-sticks.
They have much better mobile network reception, too.

This device we are talking about in this thread is more a complete
router with integrated mobile network modem and integrated WLAN and an
USB port.

To use this device we are talking about here as an USB modem, you would
need to do some configurations on the device and install some software:
The device must react to the outside world like an USB modem, must
accept commands that are meant to configure USB modems, etc. I also
don't know by heart what is needed, but it definitely does not come out
of the box of an OpenWrt build, you have to investigate what you need
and implement it. It should be possible, though, but requires reading
and testing.

If you do, please post your results and what you did!

What I've found is THIS guide, about how to get works a similiar dongle but with MDM9600.
Author said that in its case the only thing to do is to modify /etc/usbmode.json and add the new USB VID/PID (in our case, our USB VID is 05c6:9024 that is already present in the configuration file, so I skipped this step.

However I'm not understanding why when I digit lsusb my dongle is showed as generic usb and not as wireless interface when in the author's case the dongle change in Bus 001 Device 003: ID 05c6:9201 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Which kernel driver is needed for USB host mode? (I have no working device currently, so I cannot live-test.)

Can you point out to the exact sources you used, and your .config, and your feeds.conf?

This forwards me to https://www.filesend.jp/l/en-US/lnvXp6, which then gives an error "404 page not found".

This is defined by the software (kernel) running on the stick. But I don't know further details since I have not tinkered with USB gadget mode on Linux devices yet.

So maybe the stock firmware already supports that the stick acts as modem mode.

You were asking for

and as far as I know, OpenWrt does not support out of the box to be used as a modem. So might be that you can use the stick straight away as a modem if you plug it to any router, but if you flash an OpenWrt based system on the stick you might need to do some configuration on the stick itself. (But of course, have much more power to customise the behaviour of the stick.)


I start wondering, if you just mixed up "OpenWrt on the stick" with "OpenWrt on the AR150", and you mean an OpenWrt for the AR150 which can drive the stick with it's stock firmware (not OpenWrt) as a modem?

Sorry, my english is not good anymore. What I would like to do is to use this dongle with stock firmware on it in my AR-150 with OpenWRT, all that expectant that one day will be a stable OpenWRT firmware for this dongle (in order to use it alone without use in combo with ar-150)

1 Like

Your modem has failed and entered recovery mode. Flash the firmware according to the type of modem written on the board

  1. All necessary drivers for USB-OTG mode are present in the monolithic kernel in the default config.
  2. When compiling the firmware, I used the default config of your repository for this modem, including Luci.
  3. To switch to OpenWRT, you must first change the location and name of the partition by running the flash.bat script from the universal image https://github.com/OpenStick/OpenStick/releases/download/v1/base-generic.zip
  4. After installing the universal image, you need to flash the commands
    fastboot flash boot boot.img
    fastboot flash rootfs rootfs.img
    after renaming the ...boot.bin and ...system.bin files from the compiled firmware to boot.img and rootfs.img.
  5. Rebooting the device after flashing with the fastboot reboot command
    you need to go to Openwrt 192.168.1.1 and flash ...sysupgrade.bin from the web interface.
  6. Do not forget that you can restore your modem by shorting 1 and 6 PINs on the board.
    Moreover, if the SIM is not inserted, then you will enter the EDL mode, and if the SIM is inserted, then you will enter the fastboot mode.
1 Like

Still, can you tell me which is the specific module here? I don't have a usable UF896 anymore.

It turns out to be an "UFI6735W_V1.1" according to the printing on the board, and power by a MediaTek MT6735V, probably with 2 GB flash and 128 MiB RAM:

So technically a really different thing than the UF896 that we are talking about here.

I made a → new thread.

However, the "UFI6735W_V1.1" seems to have better LTE connectivity according to preliminary tests. I need to compare with my Huawei E3372 stick at places with bad reception.

Does anyone has a link to purchase a UF896 with good LTE antennas/ reception, with internal shielding in place, optional with microSD slot, and with EU frequencies?

→ Here is a ASR1802S based device. Preliminary search seemed that theoretically there is Linux support for it, but does anyone know how far a route this would be?

First of all: Thank you for your awesome work.

I am still struggling to get the 4g-modem to work.
The steps i did:

  • i built and installed the image as you described in your readme
  • i discovered that no web-if (aka LUCI) was installed
  • i reconfigured and rebuilt the image
  • i installed the resulting sysupgrade (not again rootfs and bootfs)

The modem gives several error messages, that are not necessarily related:

  • Luci (under "network") says " Error: Modem bearer teardown in progress."
  • "mmcli -m 0 " says "Status: failed, failed reason: SIM missing"

I tested different sim cards, neither did work. I also searched for any means to deactivate SIM detection, to force the modem to talk to the SIM, but did not find anything.
I also installed picocom, but i struggled to find any serial interface where AT-commands could be sent to the modem.

It is necessary to find out the GPIO for powering up the SIM card of this modem. And add it to DTB, DTS source files.

@sorine
can you please upload your changes to the sources of @dreieck ?
preferably to github...

Change GPIO power of SIM card in file:

/ https://github.com/kirdesde/Handsomemod/blob/uf896/target/linux/msm89xx/files/arch/arm64/boot/dts/qcom/msm8916-uf896.dts /

Change SIM_EN and SIM_SEL