Default eeprom bin is 4kb only and it's wasn't included in openwrt. I think it's bug.
Another issue is the 150 limit of DNS queries. It breaks the internet connection.
Added additional point 6 to the Flash instructions in Wiki:
- https://openwrt.org/inbox/toh/xiaomi/ax3000t#flash_instructions (feel free to review and adjust if something is inaccurate).
Now wording in step 5 is consistent with the wording in step 4. Thanks.
Seems like swapping the Factory partition changes the MAC addresses. That's why my ISP was blocking my connection.
bricked RD23 here, SSH exploit was going as planned but no more boot after step 6.
i guess im going to UART next?
yes, UART path .
Did the router boot successfully after the reload triggered by the sysupgrade in step 5?
And router become bricked after updating /etc/rc.local
from step 6 and reloading?
Maybe it's better to unset (erase) that values in rc.local? Can't test because I don't use stock uboot.
yes correct.
sysupgrade was ok
We can remove step 6 completely, but then the router will become bricked after 6 reboots.
Need to find a proper solution to the changes in nvram introduced by the default Xiaomi bootloader.
I mean
fw_setenv flag_boot_rootfs
fw_setenv flag_last_success
fw_setenv flag_boot_success
fw_setenv flag_try_sys1_failed
fw_setenv flag_try_sys2_failed
exit 0
Of course uboot will recreate default values again.
Could be an option.
But this needs to be tested by someone with UART who can easily recover the router if the bootloader doesn't accept this.
im gonna search for 3 spare pins and solder headers and return in 2-3 days with working UART
Same to me. After bricked i plug off computer and router then sleep. Need get uart pin.
Ok, step 6 has been hidden from Flash instructions in Wiki until a proper solution is found for managing nvram changes introduced by the stock Xiaomi bootloader .
For those who have any suggestions on how to mitigate the issue with router brick after 6 reboots, please feel free to share. Details are here.
I didn't like this decision right away:
It wasn't very far-sighted to set the values to 8. After all, Xiaomi can simply change the logic with such values. And with 0 values, they are unlikely to change the logic.
Could you please explain why?
It's in the second part of the quoted sentence).
It could work, but I don't really like the idea of changing the bootloader for the rd23 due to the missing stock firmware that could allow easy recovery (as opposed to rd03)
Now, my best guess is that we don't need all of these (as one of these flags bricks the router for some reason), and I think that the only flag that matters after Sysupgrade is installed:
fw_setenv flag_try_sys1_failed 0
This only flag for /etc/rc.local
is present in the UART method (step 13), and it seems to work fine based on feedbacks.
Hello. I tried to use Stable Release of OpenWrt 23.05.4 r24012-d8dd03c46f from UART guide by going into LuCI and flashing image sysupgrade, now have problem with flag_try_sys1_failed.
So it's going up even if I try sed -i '/exit 0/i fw_setenv flag_try_sys1_failed 0' /etc/rc.local
Even if I reboot once all the settings goes to default. Any solution for stable realease yet, or am I just dumb?
Change uboot? It's safe if you have uart cable and backup of FIP.
I've built for myself in uboot dir.