AVM FRITZ!Box 4040 OpenWrt Firmware

CPU
Qualcomm Atheros IPQ4018
RAM
256 MB
Flash
32 MB

The AVM FRITZ!Box 4040 is supported by OpenWrt/ImmortalWrt on the ipq40xx/generic target. 6 firmware images are available from the official OpenWrt 25.12.5 and ImmortalWrt 25.12.1 stable releases — download one below, or build a custom OpenWrt image for this device with your own package selection.

Specs

Specifications

CPUQualcomm Atheros IPQ4018
CPU cores4
CPU frequency716 MHz
RAM256 MB
Flash32 MB
1 Gbit Ethernet ports5
WLAN hardwareQualcomm Atheros IPQ4018
SwitchQualcomm Atheros QCA8075

Hardware data from the OpenWrt Table of Hardware; verify against your unit before flashing.

Build matrix

Supported firmware versions

DistributionVersionTargetProfile
OpenWrt25.12.5ipq40xx/genericavm_fritzbox-4040
ImmortalWrt25.12.1ipq40xx/genericavm_fritzbox-4040

Downloads

Download images

OpenWrt 25.12.5 · ipq40xx/generic

ImageTypesha256
openwrt-25.12.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bineva6bcda1cd3d74
openwrt-25.12.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-sysupgrade.bin

Not sure? Pick this if upgrading from OpenWrt.

sysupgrade51524529c146
openwrt-25.12.5-ipq40xx-generic-avm_fritzbox-4040-initramfs-uImage.itb

Minimal kernel image, useful for first install or recovery.

kernel39567a9b3db9

ImmortalWrt 25.12.1 · ipq40xx/generic

ImageTypesha256
immortalwrt-25.12.1-ipq40xx-generic-avm_fritzbox-4040-initramfs-uImage.itb

Minimal kernel image, useful for first install or recovery.

kerneld32959d820ed
immortalwrt-25.12.1-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bineva0076dc5ed324
immortalwrt-25.12.1-ipq40xx-generic-avm_fritzbox-4040-squashfs-sysupgrade.bin

Not sure? Pick this if upgrading from OpenWrt.

sysupgrade46a0ea258941

Downloads are served by the official OpenWrt/ImmortalWrt mirrors — unchanged upstream stable builds.

Packages & install

Default packages & installation

Default packages

Every image for the AVM FRITZ!Box 4040 ships these packages by default. The customize option below lets you add or remove packages before the image is assembled.

OpenWrt 25.12.5 · ipq40xx/generic

Device packages (2)

fritz-tffs fritz-caldata

Target default packages (34)

apk-mbedtls ath10k-board-qca4019 ath10k-firmware-qca4019-ct base-files ca-bundle dnsmasq dropbear firewall4 fstools kmod-ath10k-ct kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-usb-dwc3 kmod-usb-dwc3-qcom kmod-usb3 libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls

ImmortalWrt 25.12.1 · ipq40xx/generic

Device packages (2)

fritz-tffs fritz-caldata

Target default packages (41)

apk-openssl ath10k-board-qca4019 ath10k-firmware-qca4019-ct autocore automount base-files block-mount ca-bundle default-settings-chn dnsmasq-full dropbear firewall4 fstools kmod-ath10k-ct kmod-gpio-button-hotplug kmod-leds-gpio kmod-nf-nathelper kmod-nft-offload kmod-usb-dwc3 kmod-usb-dwc3-qcom kmod-usb3 libc libgcc libustream-openssl logd luci luci-app-cpufreq mtd netifd nftables odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-openssl

Installation notes

  • Already running OpenWrt or ImmortalWrt: flash the sysupgrade image from LuCI (System → Backup / Flash Firmware) or with the sysupgrade command.
  • The kernel / initramfs image boots from RAM without writing to flash — useful for a first install or for recovering from a failed flash.
  • Verify your download against the published checksum before flashing:
    $ sha256sum openwrt-25.12.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bin
    6bcda1cd3d7491415ad6aa937206b46935875f564909c7da7da3e74faa779b2a  openwrt-25.12.5-ipq40xx-generic-avm_fritzbox-4040-squashfs-eva.bin

Build custom firmware

Need more than the default image for the AVM FRITZ!Box 4040? Pick your packages — LuCI apps, themes, VPN clients — set the basics, and get a ready-to-flash OpenWrt image assembled from official packages in minutes.

Customize firmware for this device