This commit is contained in:
Miguel Fuertes committed 2025-10-03 12:36:57 +02:00
1 parent d1aa0a7db3
commit ae6a853ce8
5 files changed
+6 -14

No files matched your search

-8
View File
@@ -9,10 +9,6 @@ CONFIG_MODEMMANAGER_WITH_NETIFD=y
CONFIG_MODEMMANAGER_WITH_QMI=y
CONFIG_MODEMMANAGER_WITH_QRTR=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_coreutils=y
CONFIG_PACKAGE_coreutils-dd=y
CONFIG_PACKAGE_coreutils-shuf=y
CONFIG_PACKAGE_coreutils-truncate=y
CONFIG_PACKAGE_dbus=y
CONFIG_PACKAGE_glib2=y
CONFIG_PACKAGE_ip-tiny=y
@@ -24,9 +20,6 @@ CONFIG_PACKAGE_kmod-crypto-lib-poly1305=y
CONFIG_PACKAGE_kmod-tun=y
CONFIG_PACKAGE_kmod-udptunnel4=y
CONFIG_PACKAGE_kmod-udptunnel6=y
CONFIG_PACKAGE_kmod-usb-gadget-mass-storage=y
CONFIG_PACKAGE_kmod-usb-gadget-ncm=y
CONFIG_PACKAGE_kmod-usb-gadget-serial=y
CONFIG_PACKAGE_kmod-wireguard=y
CONFIG_PACKAGE_libattr=y
CONFIG_PACKAGE_libdbus=y
@@ -59,7 +52,6 @@ CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-proto-wireguard=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_modemmanager=y
CONFIG_PACKAGE_msm8916-usb-gadget=y
CONFIG_PACKAGE_mtools=y
CONFIG_PACKAGE_nano=y
CONFIG_PACKAGE_resolveip=y
+1 -1
View File
@@ -29,7 +29,7 @@ echo
# Find required OpenWrt images
echo "[*] Detecting OpenWrt images..."
gpt_path=$(find_image "$openwrt_dir" "*-ext4_gpt_both0.bin") || exit 1
gpt_path=$(find_image "$openwrt_dir" "*-gpt_both0.bin") || exit 1
boot_path=$(find_image "$openwrt_dir" "*-ext4-boot.img") || exit 1
system_path=$(find_image "$openwrt_dir" "*-ext4-system.img") || exit 1
+2 -2
View File
@@ -16,7 +16,7 @@ endef
define Device/msm8916
SOC := msm8916
CMDLINE := earlycon console=tty0 console=ttyMSM0,115200 root=/dev/mmcblk0p15 rootwait nowatchdog
CMDLINE := "earlycon console=tty0 console=ttyMSM0,115200 root=/dev/mmcblk0p14 rootwait"
FEATURES := ext4
FILESYSTEMS := ext4
endef
@@ -25,7 +25,7 @@ define Device/yiming-uz801v3
$(Device/msm8916)
DEVICE_VENDOR := YiMing
DEVICE_MODEL := uz801v3
DEVICE_PACKAGES := uz801-tweaks wpad-basic-wolfssl msm-firmware-dumper rmtfs rootfs-resizer
DEVICE_PACKAGES := uz801-tweaks wpad-basic-wolfssl msm-firmware-dumper rmtfs rootfs-resizer msm8916-usb-gadget
# Only ext4 image, no compression
IMAGE/system.img := append-rootfs | append-metadata | sparse-img
ARTIFACTS := gpt_both0.bin flash.sh
+2 -2
View File
@@ -1,8 +1,8 @@
#!/bin/sh
# Enabling Wifi
# uci set wireless.@wifi-device[0].disabled='0'
# uci set wireless.@wifi-iface[0].disabled='0'
uci set wireless.@wifi-device[0].disabled='0'
uci set wireless.@wifi-iface[0].disabled='0'
# create modem interface
uci set network.modem=interface
+1 -1
View File
@@ -42,7 +42,7 @@ The base partitions are in a folder called `base_partitions` on this repo:
- Install `edl`: https://github.com/bkerler/edl
- Put the device in `edl` mode: https://wiki.postmarketos.org/wiki/Zhihe_series_LTE_dongles_(generic-zhihe)#How_to_enter_flash_mode
- Do a full backup: `edl rf backup.bin`
- Run `cd bin/targets/msm89xx/msm8916 && `: It will prompt for the partitions folder (`base_partitions`). The script will backup the important partitions specific for your device, will flash everything and will restore de previously saved partitions.
- Run `cd bin/targets/msm89xx/msm8916 && openwrt-msm89xx-msm8916-yiming-uz801v3-flash.sh`: It will prompt for the partitions folder (`base_partitions`). The script will backup the important partitions specific for your device, will flash everything and will restore de previously saved partitions.
After the succesful flash if you:
- Want to enter `fastboot`, just insert the device with the button pressed.