Need advice for an warning message with 24.10.0-rc4 factory rom

Hi.
With new custom rom build with 24-rc4,
I have got the warning message when I try to upload the image into device.
What does the warning message mean?
Am I did something wrong
or
Just ignore the message and do 'force upgrade' is fine?
(I'm scaring that being the device brick...)
The target device is Linksys WRT32X.

ps: my first advice is don't update with this rom

I'll start by saying I don't have this router...

how did you create the new image?

starting from here...

https://firmware-selector.openwrt.org/?version=24.10.0-rc4&target=mvebu%2Fcortexa9&id=linksys_wrt32x

if you have only added packages from the link i provided can you kindly provide the list of added packages...

example add luci-ssl and owut (no errors in the build request)
sha256sum: 367cbd5d22169066c6c479726d08b716951d5e6506de58485e91615635c8361a

Which file you are trying to upload?
None of the wrt32x files for 24.10.0-rc4 are 60 MB sized...

If you are trying to use sysupgrade to flash it, you need sysupgrade image, not a factory image.

2 Likes

The link is right which I generate my custom image.
and the list as below.
(sha256sum: 26fa314c1f367e087f6109f559e4c3afbbe108816de4155e00e6cb56ec63d5ce)

arp-scan
base-files
bash
bind-dig
bind-libs
block-mount
busybox
ca-bundle
ca-certificates
coreutils-stat
coreutils-whoami
curl
ddns-scripts
ddns-scripts_no-ip_com
diffutils
dnsmasq-full
dropbear
e2fsprogs

fail2ban

fdisk
firewall4
fstools
git
git-http
gzip
hdparm
hostapd-utils
https-dns-proxy
ip
ip-full
iputils-arping
iwinfo
kmod-btmrvl
kmod-fs-ext4
kmod-gpio-button-hotplug
kmod-mwifiex-sdio
kmod-mwlwifi
kmod-nft-offload
kmod-scsi-core
kmod-usb-core
kmod-usb-storage
kmod-usb-storage-uas
kmod-usb3
lftp
libc
librt
libpthread
libavahi-client
libavahi-dbus-support
libffi
libgcc
libustream-wolfssl
libinotifytools
libiwinfo
libuhttpd-openssl
lighttpd
lighttpd-mod-access
lighttpd-mod-accesslog
lighttpd-mod-alias
lighttpd-mod-auth
lighttpd-mod-authn_file
lighttpd-mod-cgi
lighttpd-mod-expire
lighttpd-mod-magnet
lighttpd-mod-proxy
lighttpd-mod-redirect
lighttpd-mod-rewrite
lighttpd-mod-setenv
lighttpd-mod-webdav
lighttpd-mod-wolfssl
logd
logrotate
luci
luci-app-ddns
luci-app-firewall
luci-app-hd-idle
luci-app-https-dns-proxy
luci-app-minidlna
luci-app-opkg
luci-app-samba4
luci-app-sqm
luci-app-statistics
luci-app-transmission
luci-app-uhttpd
luci-app-wol
luci-mod-admin-full
luci-theme-bootstrap
luci-theme-openwrt
minidlna
mpack
msmtp
mtd
mwlwifi-firmware-88w8964
nano
netifd
nftables
nginx-ssl
nmap
kmod-nls-base
kmod-fs-ntfs
odhcp6c
odhcpd-ipv6only
openssh-sftp-avahi-service
openssl-util
opkg
procd
procd-seccomp
procd-ujail
php8
php8-cgi
php8-fastcgi
python3
python3-awscli
python3-lib2to3
python3-pip
rsync
rsyncd
samba4-libs
samba4-server
shadow-chgpasswd
shadow-chpasswd
shadow-gpasswd
shadow-groupadd
shadow-groupdel
shadow-useradd
shadow-userdel
sudo
swconfig
tar
tmux
transmission-cli
transmission-daemon
transmission-remote
transmission-web
uboot-envtools
uci
uclient-fetch
unzip
urandom-seed
urngd
usbutils
vsftpd-tls
wget
wpad-basic-wolfssl
zoneinfo-asia

Traditional samba is likely the reason that explodes the image size.

You might try the more modern ksmbd instead.

2 Likes

with this package list:

base-files busybox ca-bundle dnsmasq dropbear firewall4 fstools kmod-gpio-button-hotplug kmod-nft-offload libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd kmod-mwlwifi wpad-basic-mbedtls kmod-btmrvl kmod-mwifiex-sdio mwlwifi-firmware-88w8964 iwinfo luci arp-scan base-files bash bind-dig bind-libs block-mount busybox ca-bundle ca-certificates coreutils-stat coreutils-whoami curl ddns-scripts ddns-scripts_no-ip_com diffutils dnsmasq-full dropbear e2fsprogs fail2ban fdisk firewall4 fstools git git-http gzip hdparm hostapd-utils https-dns-proxy ip ip-full iputils-arping iwinfo kmod-btmrvl kmod-fs-ext4 kmod-gpio-button-hotplug kmod-mwifiex-sdio kmod-mwlwifi kmod-nft-offload kmod-scsi-core kmod-usb-core kmod-usb-storage kmod-usb-storage-uas kmod-usb3 lftp libc librt libpthread libavahi-client libavahi-dbus-support libffi libgcc libustream-wolfssl libinotifytools libiwinfo libuhttpd-openssl lighttpd lighttpd-mod-access lighttpd-mod-accesslog lighttpd-mod-alias lighttpd-mod-auth lighttpd-mod-authn_file lighttpd-mod-cgi lighttpd-mod-expire lighttpd-mod-magnet lighttpd-mod-proxy lighttpd-mod-redirect lighttpd-mod-rewrite lighttpd-mod-setenv lighttpd-mod-webdav lighttpd-mod-wolfssl logd logrotate luci luci-app-ddns luci-app-firewall luci-app-hd-idle luci-app-https-dns-proxy luci-app-minidlna luci-app-opkg luci-app-samba4 luci-app-sqm     luci-app-statistics luci-app-transmission luci-app-uhttpd luci-app-wol luci-mod-admin-full luci-theme-bootstrap  luci-theme-openwrt minidlna mpack msmtp mtd mwlwifi-firmware-88w8964 nano netifd nftables nginx-ssl nmap kmod-nls-base kmod-fs-ntfs odhcp6c odhcpd-ipv6only openssh-sftp-avahi-service openssl-util opkg procd procd-seccomp procd-ujail php8 php8-cgi php8-fastcgi python3 python3-awscli python3-lib2to3 python3-pip rsync rsyncd samba4-libs samba4-server shadow-chgpasswd shadow-chpasswd shadow-gpasswd shadow-groupadd shadow-groupdel shadow-useradd shadow-userdel sudo swconfig tar tmux transmission-cli transmission-daemon transmission-remote transmission-web uboot-envtools uci
 uclient-fetch unzip urandom-seed urngd usbutils vsftpd-tls wget wpad-basic-wolfssl zoneinfo-asia

I get this error:

Generate local signing keys...
Generate local certificate...
Package list missing or not up-to-date, generating it.

Building package index...
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mvebu/cortexa9/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_core
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mvebu/cortexa9/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/base/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_base
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mvebu/cortexa9/kmods/6.6.67-1-f9b7f0e3005abfdfa88e43a2428b88f5/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_kmods
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mvebu/cortexa9/kmods/6.6.67-1-f9b7f0e3005abfdfa88e43a2428b88f5/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_luci
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_packages
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_routing
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.gz
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/24.10.0-rc4/packages/arm_cortex-a9_vfpv3-d16/telephony/Packages.sig
Signature check passed.
Downloading file:packages/Packages
Updated list of available packages in /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/../../../../builder/dl/imagebuilder
Downloading file:packages/Packages.sig
Signature check passed.
Collected errors:
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/etc/hotplug.d/ntp/25-dnsmasqsec
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/etc/init.d/dnsmasq
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/etc/uci-defaults/50-dnsmasq-migrate-ipset.sh
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/etc/uci-defaults/50-dnsmasq-migrate-resolv-conf-auto.sh
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/lib/dnsmasq/dhcp-script.sh
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/sbin/dnsmasq
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/share/acl.d/dnsmasq_acl.json
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/share/dnsmasq/dhcpbogushostname.conf
	But that file is already provided by package  * dnsmasq
 * check_data_file_clashes: Package dnsmasq-full wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/share/dnsmasq/rfc6761.conf
	But that file is already provided by package  * dnsmasq
 * opkg_install_cmd: Cannot install package dnsmasq-full.
 * check_data_file_clashes: Package libustream-wolfssl20201210 wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/lib/libustream-ssl.so
	But that file is already provided by package  * libustream-mbedtls20201210
 * opkg_install_cmd: Cannot install package libustream-wolfssl.
 * check_data_file_clashes: Package wpad-basic-wolfssl wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/sbin/hostapd
	But that file is already provided by package  * wpad-basic-mbedtls
 * check_data_file_clashes: Package wpad-basic-wolfssl wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/sbin/wpa_supplicant
	But that file is already provided by package  * wpad-basic-mbedtls
 * check_data_file_clashes: Package wpad-basic-wolfssl wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/sbin/wpad
	But that file is already provided by package  * wpad-basic-mbedtls
 * check_data_file_clashes: Package wpad-basic-wolfssl wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/share/hostap/hostapd.uc
	But that file is already provided by package  * wpad-basic-mbedtls
 * check_data_file_clashes: Package wpad-basic-wolfssl wants to install file /builder/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/root-mvebu/usr/share/hostap/wpa_supplicant.uc
	But that file is already provided by package  * wpad-basic-mbedtls
 * opkg_install_cmd: Cannot install package wpad-basic-wolfssl.
make[2]: *** [Makefile:228: package_install] Error 255
make[1]: *** [Makefile:165: _call_manifest] Error 2
make: *** [Makefile:343: manifest] Error 2

No. No errors.

Build successful
STDERR
Package list missing or not up-to-date, generating it.

Just download what I built from the link below.
Custom Factory image

if you request the same build the system does not create it, it offers you the previously created one again to notice the difference add a script here for example:

# image 03/01/25 time 12:xx

Yeah. Right.

1 Like

By the way, no build error.
If there was unfixed errors, I wouldn't use the sysupgrade version at this moment.
My question is,
'How to flash the whole custom factory image. not sysupgrade. how to translate the warning message to go by?'

You must use sysupgrade file for upgrading OpenWRT. Factory will make it a soft brick needing serial to recover.

1 Like

Then, your recommendation for the safety is

  1. Use OpenWRT official factory image at the first time
  2. Once OpenWRT officail factory image uploaded and flashed,
    use sysupgrade whatever custom image user want.
  3. This process nothing different to use single customized big factory image
    since everything fixed in the rom even hardreset.

Am I correct?

For most traditional routers, including WRT32x:

"factory" image is just built to satisfy the OEM GUI flash routine. There is usually no functional difference from it to the sysupgrade image.
You use factory image when initially installing from original OEM firmware.

Sysupgrade image is built to match the OpenWrt flash routine metadata requirements (right router, no compatibility warning etc.).
You always use sysupgrade when you flash with normal OpenWrt sysupgrade.

The have been some router-specific deviations when factory image (and OEM recovery routine have been needed) e.g. due to change in kernel partition size, move to DSA switch config etc., but those are rare occurences.

1 Like

Ok.
With the version 19.x old time, I remember there was no this kind RED color warning
if I remember correctly. But this new version.. which huge bump.
For the time being, I'll use you guys recommendation.

1 Like