You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added LuCI RPC Api
- Changed `eth0` for `br-lan` in overview page.
- Removed `eth0` from `br-lan` as its not present in this device.
- Fixed `usb0` being multiple added to `br-lan`.
- The image no longer uses `ext4` for rootfs, instead it uses `squashfs`.
33
-
- This allows for an overlay `ext4` partition to be used and enables `firstboot` (factory reset) mechanism.
34
-
35
-
36
-
### How to build OpenWrt
37
-
Docker is required!
38
-
```bash
3
+
Modern OpenWrt build targeting the UZ801v3 LTE dongle with full modem and USB gadget support.
4
+
5
+
## Table of Contents
6
+
7
+
-[About OpenWrt](#about-openwrt)
8
+
-[Features](#features)
9
+
-[Prerequisites](#prerequisites)
10
+
-[Building](#building)
11
+
-[Installation](#installation)
12
+
-[Flashing from OEM Firmware](#flashing-from-oem-firmware)
13
+
-[Accessing Boot Modes](#accessing-boot-modes)
14
+
-[Troubleshooting](#troubleshooting)
15
+
-[No Network / Modem Stuck at Searching](#no-network--modem-stuck-at-searching)
16
+
-[Roadmap](#roadmap)
17
+
-[Credits](#credits)
18
+
19
+
---
20
+
21
+
## About OpenWrt
22
+
23
+
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application.
24
+
25
+
## Features
26
+
27
+
### Working Components
28
+
-**Modem**: Fully functional with cellular connectivity
29
+
- ModemManager Rx/Tx stats not displayed in LuCI (known issue)
30
+
-**WiFi**: Complete wireless support
31
+
-**USB Gadget Modes**: NCM, RNDIS, Mass Storage, ACM Shell
32
+
- Configure via [UCI](packages/uci-usb-gadget/readme.md) or LuCI app
33
+
-**VPN Ready**: TUN driver and WireGuard pre-installed
- For flashing: [edl tool](https://github.com/bkerler/edl)
54
+
55
+
## Building
56
+
57
+
1. Enter the build environment:
58
+
```
39
59
cd devenv
40
-
docker compose run --rm builder # This will open bash inside a build environment
41
-
cp /repo/diffconfig .config # Copies the config on to the working folder
42
-
echo"# CONFIG_SIGNED_PACKAGES is not set">> .config # Optional: Disable APK signature verification
60
+
docker compose run --rm builder
61
+
```
62
+
63
+
2. Configure and build:
64
+
```
65
+
cp /repo/diffconfig .config
66
+
echo "# CONFIG_SIGNED_PACKAGES is not set" >> .config # Optional: disable signature verification
43
67
make defconfig
44
68
make -j$(nproc)
45
69
```
46
70
47
-
### How to flash from OEM
48
-
- Install `edl`: https://github.com/bkerler/edl
49
-
- Put the device in `edl` mode: https://wiki.postmarketos.org/wiki/Zhihe_series_LTE_dongles_(generic-zhihe)#How_to_enter_flash_mode
50
-
- Do a full backup: `edl rf backup.bin`
51
-
- Run `./openwrt-msm89xx-msm8916-yiming-uz801v3-flash.sh`: The script will backup the important partitions specific for your device, will flash everything and will restore de previously saved partitions.
52
-
53
-
After the succesful flash if you:
54
-
- Want to enter `fastboot`, just insert the device with the button pressed.
55
-
- Want to enter `edl`, boot into fastboot and execute: `fastboot oem reboot-edl`.
56
-
57
-
### No Network/Modem Stuck at Searching
58
-
59
-
First, extract the contents of `modem.bin` from your firmware dump. You can do `eld r modem modem.bin`. In linux, its a simple image, you can mount it. Once you have it mounted, navigate to this directory: `image/modem_pr/mcfg/configs/mcfg_sw/generic/` and choose the folder according to your region:
60
-
61
-
-**APAC** - Asia Pacific
62
-
-**CHINA** - China
63
-
-**COMMON** - Use this if your region is not listed
64
-
-**EU** - Europe
65
-
-**NA** - North America
66
-
-**SA** - South America
67
-
-**SEA** - South East Asia
68
-
69
-
Once you have selected your region, you'll find folders typically representing Telcos in your area. Navigate through the appropriate folder until you locate `mcfg_sw.mbn`. If your telco is not listed, just grab a generic as it is done in this project for europe:
0 commit comments