SNACBox

Supported Hardware

Friendly Elec NanoPi R3S SNACBox (Supported)

Friendly Elec

Openwrt 25.12+ Firmware

Enter chosen hardware “Friendly”
Choose version “25.12.6” Select based on the Hardware choice made “Friendly Elec NanoPi R3S (64bit)”
Choose “Customize installed packages”
Goto “Installed Packages”
Add to the end of the list

Additional Packages

 parted losetup resize2fs blkid php8 php8-cli php8-mod-curl luci-mod-rpc luci-ssl at jq adguardhome luci-base luci-theme-openwrt-2020 curl kmod-veth kmod-loop kmod-fuse

iPhone Tethering

kmod-usb-net-ipheth usbmuxd libimobiledevice usbutils libusbmuxd libplist

Goto “Script to run on first boot (uci-defaults)”

Add this resize script to resize the storage.

#!/bin/sh
# expand-root.sh - grow the root ext4 partition and filesystem to fill the disk
set -eu

# --- Identify the root device ---
FSTYPE="$(awk '$5=="/"{for(i=6;i<=NF;i++) if($i=="-"){print $(i+1); exit}}' /proc/self/mountinfo | tail -n1)"
MAJMIN="$(awk '$5=="/"{print $3}' /proc/self/mountinfo | tail -n1)"

BLK_SYS="$(readlink -f "/sys/dev/block/$MAJMIN")"
ROOT_PART="$(cat "$BLK_SYS/partition")"
ROOT_DEV="/dev/$(basename "$BLK_SYS")"
ROOT_DISK="/dev/$(basename "$(dirname "$BLK_SYS")")"

# --- Grow the partition (-f also fixes the GPT backup header if the image was written to a larger disk) ---
parted -f -s "$ROOT_DISK" resizepart "$ROOT_PART" 100%

# --- Grow the filesystem online via a loop device ---
LOOP_DEV="$(losetup -f)"
losetup "$LOOP_DEV" "$ROOT_DEV"
trap 'losetup -d "$LOOP_DEV" 2>/dev/null || true' EXIT
resize2fs -f "$LOOP_DEV"
losetup -d "$LOOP_DEV"
NEW_UUID=`blkid ${ROOT_DISK}p${ROOT_PART} | sed -n 's/.*PARTUUID="\([^"]*\)".*/\1/p'`
#sed -i "s/PARTUUID=[^ ]*/PARTUUID=${NEW_UUID}/" /boot/cmdline.txt
trap - EXIT

# --- Only neede in Pi CM4 devices ---
#echo 'dtoverlay=dwc2,dr_mode=host' >> /boot/config.txt

reboot

Click “Request Build”
Click and download “Factory (Ext4)”

Raspberry Pi CM4 SNACBox (Supported)

Waveshare

Raspberry Pi

Raspberry Pi CM4

Openwrt 25.12+ Firmware

Enter chosen hardware “Raspberry”
Choose version “25.12.6” Select based on the Hardware choice made “Raspberry Pi (4B/400/CM4) (64bit)”
Choose “Customize installed packages”
Goto “Installed Packages”
Add to the end of the list

Additional Packages

 parted losetup resize2fs blkid php8 php8-cli php8-mod-curl luci-mod-rpc luci-ssl at jq adguardhome luci-base luci-theme-openwrt-2020 curl kmod-veth kmod-loop kmod-fuse

Waveshare and CM4 Kernel Packages

 kmod-usb-core kmod-usb2 kmod-usb3 kmod-dwc2

iPhone Tethering

kmod-usb-net-ipheth usbmuxd libimobiledevice usbutils libusbmuxd libplist

Goto “Script to run on first boot (uci-defaults)”

Add this resize script to resize the storage.

#!/bin/sh
# expand-root.sh - grow the root ext4 partition and filesystem to fill the disk
set -eu

# --- Identify the root device ---
FSTYPE="$(awk '$5=="/"{for(i=6;i<=NF;i++) if($i=="-"){print $(i+1); exit}}' /proc/self/mountinfo | tail -n1)"
MAJMIN="$(awk '$5=="/"{print $3}' /proc/self/mountinfo | tail -n1)"

BLK_SYS="$(readlink -f "/sys/dev/block/$MAJMIN")"
ROOT_PART="$(cat "$BLK_SYS/partition")"
ROOT_DEV="/dev/$(basename "$BLK_SYS")"
ROOT_DISK="/dev/$(basename "$(dirname "$BLK_SYS")")"

# --- Grow the partition (-f also fixes the GPT backup header if the image was written to a larger disk) ---
parted -f -s "$ROOT_DISK" resizepart "$ROOT_PART" 100%

# --- Grow the filesystem online via a loop device ---
LOOP_DEV="$(losetup -f)"
losetup "$LOOP_DEV" "$ROOT_DEV"
trap 'losetup -d "$LOOP_DEV" 2>/dev/null || true' EXIT
resize2fs -f "$LOOP_DEV"
losetup -d "$LOOP_DEV"
NEW_UUID=`blkid ${ROOT_DISK}p${ROOT_PART} | sed -n 's/.*PARTUUID="\([^"]*\)".*/\1/p'`
sed -i "s/PARTUUID=[^ ]*/PARTUUID=${NEW_UUID}/" /boot/cmdline.txt
trap - EXIT

# --- Only neede in Pi CM4 devices ---
echo 'dtoverlay=dwc2,dr_mode=host' >> /boot/config.txt

reboot

Click “Request Build”
Click and download “Factory (Ext4)”

Raspberry Pi 4B SNACBox (Supported)

Waveshare

Openwrt 25.12+ Firmware

Enter chosen hardware “Raspberry”
Choose version “25.12.6” Select based on the Hardware choice made “Raspberry Pi (4B/400/CM4) (64bit)”
Choose “Customize installed packages”
Goto “Installed Packages”
Add to the end of the list

Additional Packages

 parted losetup resize2fs blkid php8 php8-cli php8-mod-curl luci-mod-rpc luci-ssl at jq adguardhome luci-base luci-theme-openwrt-2020 curl kmod-veth kmod-loop kmod-fuse

Waveshare and Pi 4B Kernel Packages

 kmod-usb-core kmod-usb3 kmod-usb-net-rtl8152 kmod-usb-ohci kmod-usb-uhci kmod-usb2

iPhone Tethering

kmod-usb-net-ipheth usbmuxd libimobiledevice usbutils libusbmuxd libplist

Goto “Script to run on first boot (uci-defaults)”

Add this resize script to resize the storage.

#!/bin/sh
# expand-root.sh - grow the root ext4 partition and filesystem to fill the disk
set -eu

# --- Identify the root device ---
FSTYPE="$(awk '$5=="/"{for(i=6;i<=NF;i++) if($i=="-"){print $(i+1); exit}}' /proc/self/mountinfo | tail -n1)"
MAJMIN="$(awk '$5=="/"{print $3}' /proc/self/mountinfo | tail -n1)"

BLK_SYS="$(readlink -f "/sys/dev/block/$MAJMIN")"
ROOT_PART="$(cat "$BLK_SYS/partition")"
ROOT_DEV="/dev/$(basename "$BLK_SYS")"
ROOT_DISK="/dev/$(basename "$(dirname "$BLK_SYS")")"

# --- Grow the partition (-f also fixes the GPT backup header if the image was written to a larger disk) ---
parted -f -s "$ROOT_DISK" resizepart "$ROOT_PART" 100%

# --- Grow the filesystem online via a loop device ---
LOOP_DEV="$(losetup -f)"
losetup "$LOOP_DEV" "$ROOT_DEV"
trap 'losetup -d "$LOOP_DEV" 2>/dev/null || true' EXIT
resize2fs -f "$LOOP_DEV"
losetup -d "$LOOP_DEV"
NEW_UUID=`blkid ${ROOT_DISK}p${ROOT_PART} | sed -n 's/.*PARTUUID="\([^"]*\)".*/\1/p'`
sed -i "s/PARTUUID=[^ ]*/PARTUUID=${NEW_UUID}/" /boot/cmdline.txt
trap - EXIT

# --- Only neede in Pi CM4 devices ---
#echo 'dtoverlay=dwc2,dr_mode=host' >> /boot/config.txt

reboot

Click “Request Build”
Click and download “Factory (Ext4)”

USB Ethernet Dongle

Needs to be a USB-A Ethernet Gigabit dongle.

Raspberry Pi

Raspberry Pi 4B

Raspberry Pi CM5 SNACBox (Expermental)

Waveshare

Raspberry Pi

Raspberry Pi CM5

Raspberry Pi 5 SNACBox (Expermental)

Waveshare

USB Ethernet Dongle

Needs to be a USB-A Ethernet Gigabit dongle.

Raspberry Pi

Raspberry Pi 5

GL iNet Brume 2 (GL-MT2500) (Expermental)

Brume 2

GL iNet Brume 2 (GL-MT2500) - ABS
GL iNet Brume 2 (GL-MT2500) - ALU

OpenWRT One SNACBox (Expermental)

Banana Pi

M.2 NVME SSD M Key

Needs a small 2230 or 2242 NVME SSD to handle the larger apps like Docker and ADGuardHome
Note: This box has not been fully tested yet.

Banana Pi OpenWRT One