This guide walks you through flashing your MSM8916 USB dongle from stock firmware to a full Debian Linux system.
Prerequisites
- A confirmed MSM8916 device (see Device Identification forum)
- Linux PC (or VM) with Python 3 installed
- USB cable (the shorter the better — long cables cause EDL issues)
- bkerler edl tool:
Code: Select all
pip install edl - OpenStick release images from GitHub Releases
With the device unplugged, short the two EDL test points on the PCB (varies by model), then plug in the USB cable while holding the short. Verify with:
Code: Select all
lsusb | grep 05c6:9008Code: Select all
Bus XXX Device XXX: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)Do not skip this step. If something goes wrong, you need these backups to restore your device.
Code: Select all
mkdir backup && cd backup
edl rl . --memory=emmc --skipwriteStep 3: Flash lk2nd Bootloader
lk2nd is an open-source bootloader that replaces the stock Android bootloader and provides fastboot support.
Code: Select all
edl w aboot lk2nd-msm8916.img --memory=emmcThe boot image contains the Linux kernel and initramfs:
Code: Select all
edl w boot boot-.img --memory=emmcStep 5: Flash Root Filesystem
Code: Select all
edl w rootfs debian-rootfs.img --memory=emmcUnplug and replug the device. It should boot into Linux within 30 seconds. You can connect via USB networking:
Code: Select all
ssh user@192.168.200.1