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:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

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

ROCK Pi 4C Plus

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

  1. 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.

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

    1. I may be wrong on that one, but I think it’s because Qualcomm does not get its royalty fees in China, so anything cellular is much cheaper.

      1. 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

  3. 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. It’s a way way less powerful system than the above mentioned stick, having only a lowly single core ~1.2 GHz Cortex A7 SoC, ~192MB of RAM and IIRC about 128MB of storage. But it does have a screen and even a functional web browser for running it’s web-based UI.

  4. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Khadas VIM4 SBC
Khadas VIM4 SBC