Thanks. I did sysupgrade to this pre-release and it seems to work fine.
I installed it over snapshot build with option to keep settings - afterwards I just had to fix /etc/config/wireless to get wifi working (change 'platform/soc/18000000.wifi' to 'platform/18000000.wifi' due to kernel downgrade) and install a few custom packages, otherwise everything seems OK.
Kernel version is 5.15.162 (I had 6.6.35 on the snapshot r26815).
I have upgraded from the snapshot to 23.05.04 & updated my recovery boot partition - all working.
Do preloader.bin & bl31-uboot.fip need updating as well?
- sorry if this a stupid question
Or do preloader and uboot automatically get updated as part of the sysupgrade?
is the router NFC share functionality supposed to be working on the 23.05.4?
also did a sysupgrade from old snapshot (u-boot layout) to 23.05.4, confirm the kernel downgrade and the radios need to be fixed in /etc/config/wireless, everything else is running as it should.
Sysupgrade works on a already modded router, but i still cannot mod a factory one.
Flashing the initramfs-factory still gives me a bootloop after overwriting the stock system, can anyone confirm the actual builds are working??
I tried to get a serial reading, but there is absolutely no output, just like the stock routers. (Checked my setup with an successfully flashed one).
So it seems like the stock bootloader refuses to load the openwrt image? Immortalwrt works just fine...
I also tried flashing the immortalwrt initramfs image (works), and then ssh into it and sysupgrade to the openwrt image. Also softbricks it.
I have the same issue like yours. After flashing the 23.05.4 initramfs-factory.ubi, the router's light turns orange and I can't log into it. PC can't get ip address except 169.254.., so can't sysupgrade at all
Ah perfect, its not just me
You can debrick it with the xiaomi tool (with the funny ransomware warning at download, mabe on an isolated pc...) and the stock firmware from the device thread. If it fails to go into recovery mode (hold reset and plug power in, until orange light blinks for a while) try it the next day, whyever it works then.
I think its due to the different mt block, can anyone explayn whats mtd8 and 9? An internal recovery partition? Can i just flash both of them?
I have debricked it with xiaomi repair tools many tiimes. At first, I don't believe the official openwrt firemware is broken...I thoght I made some mistakes...Finally, I gave up and flashed back xiaomi's firmware. So sad...
Flash the immortalwrt build linked on the top, i bet it will work
I played around, no matter if firmware=0 or 1, router is dead after flashing the build
Funny enough that the same images upgraded just fine on my 7 working routers where i had no initial problems
I printed out all nvram settings, can anyone tell if the load addresses are correct?
Summary
root@XiaoQiang:~# nvram show
bootcmd=bootxq
bootdelay=3
SN=4xxxxxxxxxxxxxxx4
ipaddr=192.168.10.1
serverip=192.168.10.100
stdin=serial@11002000
stdout=serial@11002000
stderr=serial@11002000
uart_en=1
telnet_en=0
boot_wait=on
wl0_ssid=rd03_minet_09bb
wl1_ssid=rd03_minet_09bb
wl0_radio=1
wl1_radio=1
no_wifi_dev_times=0
ethprime=eth1
arch=arm
baudrate=115200
boot_auto=bootxq
boot_fw0=run boot_rd_img;bootm
boot_fw1=run boot_rd_img2;bootm
boot_rd_img=nand read ${loadaddr} 0x2C0000 2000;image_blks 2048;nand read ${loadaddr} 0x2C0000 ${img_align_size}
boot_rd_img2=nand read ${loadaddr} 0x20C0000 2000;image_blks 2048;nand read ${loadaddr} 0x20C0000 ${img_align_size}
bootmenu_0=Startup system (Default)=mtkboardboot
bootmenu_1=Upgrade firmware=mtkupgrade fw
bootmenu_2=Upgrade ATF BL2=mtkupgrade bl2
bootmenu_3=Upgrade ATF FIP=mtkupgrade fip
bootmenu_4=Upgrade single image=mtkupgrade simg
bootmenu_5=Load image=mtkload
bootmenu_delay=5
ethaddr=44:ec
fdt_high=0x6c000000
invaild_env=no
loadaddr=0x46000000
fdtcontroladdr=5ffc7600
flag_boot_rootfs=1
rand_key=+xxxxxxxxxxxxxxx==
flag_boot_type=2
flag_last_success=1
flag_ota_reboot=0
rand_nonce=0F==
pcbasn=515DMID03M05/1010811960-00283
color=101
CountryCode=CN
ethaddr_wan=xxxxxxxxxxxxxxx
ethaddr_wan2=xxxxxxxxxxxxxxx
mode=Router
model=RD03
flag_boot_success=1
flag_try_sys1_failed=0
flag_try_sys2_failed=0
Router_unconfigured=0
restore_defaults=0
ssh_en=1
@dimfish created the git commit:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=7dbcc1215a56cc1da68c81bf92d7efa174c5e051
Might be worth waiting for them to reply
@hecatae, @andi-at-1
I've added support for snapshot version on November 27 2023 and snapshot at this time was far away from 23.x branch (there are many differences). I don't know nothing about commit for 23.x and never tested 23.05.04 branch. Please ask hauke committed on May 23 why he just took my commit without adaptation to 23.x branch and even didn't test it...
Please use Snapshot versions!
The problems started for me here with the snapshot build:
And the fun thing is that the immortalwrt build is working just fine. Is there any way to compare the two images? It has to be something obvious (mabe a checksum or wrong start adress?) cause the stock boot loader seems to not load openwrt at all
I would happily help debugging this if anyone tells me how
Actually I don't have this device right now please use initramfs from 1st post
your initramfs from github also dont work
only immortalwrt-23.05-snapshot-r27916-a0528c71e2-mediatek-filogic-xiaomi_mi-router-ax3000t-initramfs-factory.ubi works so far without problems.
What?? I've tested my latest initramfs (2023-12-27) on more then 10 devices
yeah, i also flashed 7 without problem, but two just dont work. And im not the only one. I´ve done it with xmir patcher and by hand like the tutorial says. Always works for immortalwrt, never work with openwrt.
I´m now in the immortalwrt initramfs, do the sysupgrade over lucy (ax3000t-squashfs-sysupgrade.bin), and voila i get the orange light of death.
I believe the stock bootloader has some big bad problem with the image, but i dont know how to search for the obvious difference between the immortalwrt and openwrt image.
I´m also not brave enough to flash the openwrt bootloader, especially because the first part (1. Flash openwrt-mediatek-filogic-xiaomi_mi-router-ax3000t-ubootmod-initramfs-factory.ubi) from the tutorial bricks the router... Should i try that with the immortalwrt files?
If you are located in europe i can send you the misbehaving router if you can figure that out.
A few days ago I flashed hanwckf's u-boot and then flashed your initramfs (2023-12-27) ,don't work. Only the official (newest) immortalwrt initramfs works.
Something to add. My AX3000T is RD03. I follow the instructions here(https://openwrt.org/inbox/toh/xiaomi/ax3000t) step by step, and when I'm here, “Get firmware information cat /proc/cmdline
”(after several sysupgrade failures and debricks), sometimes "firmware=0" and sometimes "firmware=1".
Very strange!!! Maybe it's related to active partition? Do u remember what active partition fimware was 0 or 1 for all your devices?
I saw both active and both errored out