How do I upgrade OpenWrt 24.10.0-rc2 to OpenWrt 24.10.0-rc4 on Xiaomi AX3200? If I use sysupgrade via LuCI, I get a warning about an incompatible upgrade. If I use factory according to the special procedure described in the wiki, I get the error "Could not open mtd device: kernel".
The upgrade needs to be run with the sysupgrade image. Is that what you downloaded?
What is the exact filename of the upgrade file you are trying to use?
And the full command/ error output, please.
Thank you for your attention to my problem.
For sysupgrade I use file openwrt-24.10.0-rc4-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb
For factory installation - file openwrt-24.10.0-rc4-mediatek-mt7622-xiaomi_redmi-router-ax6s-factory.bin
renamed to factory.bin
And error after command
root@OpenWrt:/tmp# dd if=factory.bin bs=1M count=4 | mtd write - kernel
Could not open mtd device: kernel
Can't open device for writing!
Current version:
OpenWrt 24.10.0-rc2, r28161-ea17e958b9
Did you try using the sysupgrade function?
cd /tmp
wget https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mediatek/mt7622/openwrt-24.10.0-rc4-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb
sysupgrade /tmp/openwrt-24.10.0-rc4-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb
Also, you might wanna review the Wiki. You're lucky you didn't brick the device with an improper sysupgrade.
https://openwrt.org/docs/guide-user/installation/installation_methods/sysupgrade
Thank you very much.
Today I will try to use the sysupgrade utility.
I tried sysupgrade:
root@OpenWrt:~# sysupgrade -v https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mediatek/mt7622/openwrt-24.10.0-rc4-m
ediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb
Downloading 'https://downloads.openwrt.org/releases/24.10.0-rc4/targets/mediatek/mt7622/openwrt-24.10.0-rc4-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb'
Connecting to 2a04:4e42:8d::644:443
Writing to '/tmp/sysupgrade.img'
/tmp/sysupgrade.img 100% |*******************************| 10256k 0:00:00 ETA
Download completed (10502801 bytes)
Fri Dec 27 14:04:25 EET 2024 upgrade: The device is supported, but this image is incompatible for sysupgrade based on the image version (1.0->2.0).
Fri Dec 27 14:04:25 EET 2024 upgrade: Flash layout changes require a manual reinstall using factory.bin.
Image check failed.
Sounds pretty self explanatory...
But...
Apparently, the update between release candidates is still broken. I will wait for the release.
You ran the wrong command attempting to sysupgrade a day ago and almost destroyed your device. It's not clear why you're posting the link.
Are you still running the wrong commands?
When you do, sysupgrade correctly.
Not clearly.
Which command? I tried to sysupgrade through LuCI, but after receiving a warning, I did not perform it. The current version is 24.10.0-rc2.
I guess you didn't see that post either. I assumed you read it and was referencing the post you linked.
Just make sure you follow the instructions in the warning when installing the next version and it'll work.
Solution:
Answering my own question: Prerequisite was: Perform the required Architecture Upgrade Process once sucessfully! If you haven't succeeded, yet: DO NOT CONTINUE! After the sucessfully performed Architecture Upgrade, compat_version still was "1.0". Therefore, I had to manually edit /etc/config/system: Within /etc/config/system, change the line option compat_version '1.0' to option compat_version '2.0' Afterwards, perform a "normal" sysupgrade.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.