Inexpensive, Snapdragon 410-based “4G LTE WiFi Modem” made to run Debian 11

Some ultra-compact 4G LTE wireless routers housed in what looks like a largish USB dongle are based on Qualcomm Snapdragon 401 (MSM8916) quad-core Cortex-A53 processor and have been hacked to run Debian 11 with Linux 5.15 instead of the pre-loaded Android OS.

Soon after Extrowerk had purchased a ~$20 “4G LTE WiFi modem” USB dongle, he noticed it would show as “Android” when connected to his PC. It also turned out that Chinese hacker HandsomeYingYan had already done some work on the device modding the lk2nd bootloader and the Linux kernel for the OpenStick project for “mainline Linux on msm8916-based 4G USB modem”, and documented his work (in Chinese) to run Debian 11 on the “4G USB WiFi Modem” pictured below.

4G LTE WiFi Modem Debian 11 Linux 5.15

Let’s go through some of the specifications of the said wireless router:

  • SoC – Qualcomm Snapdragon 410 (MSM8916) quad-core Arm Corte-A53 processor with
  • System Memory – 512 MB RAM
  • Storage – 4GB eMMC flash (3.3 GB available to system)
  • Connectivity – 4G LTE modem, WiFi 4
  • Debugging – UART

The Snapdragon 410 is found as MSM8916 in mobile phones with a 4G LTE modem, but there’s also the APQ8016E that lacks the modem but was integrated into the 96boards compliant Dragonboard 410c SBC that Linaro used to work on mainline Linux support and more. Many years later, that means the Snapdragon 410 is well supported, and that certainly help with this little hack.

The process to install Debian 11 on the “modem” is not overly complicated either as explained by Extrowerk using a Ubuntu machine:

  1. Switch the device into fastboot mode:
  2. Run the base/flash.sh script after having downloaded and extracted the generic image
  3. Download and extract the Debian image, before running the flash.sh script from the debian folder.
  4. The installation is complete and you can run adb shell to access Linux on the USB dongle

OpenStick Debian 11

Extrowerk goes on to say the RNDIS and ADBD are started by default, and it is possible to connect to SSH through ADB using IP address 192.168.68.1. He/she also explains how to set up WiFi, and install packages with apt from there. GCC can even run on the little device.

That’s all good, but just as you can’t judge a book by its cover, you can’t judge a “4G LTE WiFi modem” by its cover either, as I happen to own a “4G LTE WiFi modem” hotspot that looks exactly the same, but does not show up as “Android”, and should be based on the Qualcomm MDM9200 platform instead. I can’t find any such device with an MSM8916 processor on the usual Aliexpress and Banggood websites, but there’s one on Alibaba for about $15. [Update: link removed as this model does not work (see comments section), but users on Hackaday were successful with some listings on Aliexpress).

Via Hackaday

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
15 Comments
oldest
newest
Cameron
Cameron
2 years ago

This is quality reporting, thanks. Does the 4G functionality actually work in Debian?

Georgi Angelov
2 years ago

just get Quectel, Simcom, etc … LTE OpenLinux module ( MDM9207 )

Etienne
Etienne
2 years ago

but there’s one on Alibaba for about $15.

minimal order qty of 2 and around 25$ shipping to my country,
I agree with previous comment, better getting something like quectel

Pete
Pete
2 years ago

postmarketOS on Snapdragon 410 might be an option if you’d prefer an Alpine userland.

Whiterat
Whiterat
2 years ago

There’s quite a few on Aliexpress for ~$11 ish, but only Chinese region bands – unknown if the other models ($20+) have the same chipset.

Additionally the USB port is actually capable of host mode as the original author posted about in a followup in which he connects a usb mouse.

Even taking into account the limited ports, for the price these are still mighty impressive.

and re Quectel / Simcom modules – they’re a slower older arch, is more expensive and is still just a module.

Amazed
Amazed
2 years ago

C$ 10.18 31%OFF | 4G LTE Wireless USB Dongle 150Mbps WiFi Wireless Network Adapter Hotspot Router For Laptops Notebooks UMPCs MID Devices WiFi
https://fave.co/3QrqYOJ

stavros
2 years ago

that says 9600 chipset for both black and white.

laotie
laotie
2 years ago

actually it’s way more cheap in China,I got 3 of this and just cost 19RMB($3) for each,free shipping。

Mark Birss
Mark Birss
2 years ago

Sadly the “on Alibaba for about $15” items are not the ones that work with the guide – I had to buy another one from the AliExpress listed on the HackDay page

DDS
DDS
1 year ago

Found this via Google suggestions, I guess because I also like and do this kind of hackery. That’s some impressive hardware inside what is essentially just a simple 4G router on a stick. Well, since it’s a small and easily accessible Linux box, there’s nothing extraordinary about running your own software on it. What is extraordinary however is replacing the entire stock OS with a custom one, including the kernel. I would love to get my hands on one of these to tinker 🙂 I happen to have an Netgear AC810 which I also modded/hacked to run my own stuff.… Read more »

DDS
DDS
1 year ago

Update: two sticks have just arrived (white and black). I bought them using the first Aliexpress link. Did a teardown, both have MSM8916 SoC and Kingston eMMC which should work with the Debian flasher. 4G modems work fine too on both sticks.

Ramon
Ramon
9 months ago

What is use case open stick?

Daniel Mahony
Daniel Mahony
3 months ago

FYI if it doesn’t show up as an ADB device:

navigate to the stick’s management page at http://192.168.100.1/. Log in with the username/password combination “admin.”
Once logged in, visit http://192.168.100.1/usbdebug.html to enable ADB. Reboot the stick (by reinserting the stick into the PC)

Boardcon Rockchip and Allwinner SoM and SBC products