Thank you, I did factory reset countless times, Power+Button+TFTP serve OEM image from 192.168.31.100, XiaoMi UI restore factory. before proceed to the Telnet or TFTP flash.
Its been a week already, and the only success is with the ImmortalWrt which is Chinese version, and I didn't want to keep it as all of my other routers (ASUS RT-AC56U) are running Openwrt.
As I mentioned before, ImmortalWrt firmware is about 22MB in size, but all the Openwrt factory firmwares I've tried were about 11MB. Doesn't it appear to be the parition fitting issue?
I used dnsmasq, but I can't say that is the solution. i remember i had the same kernel size problem as you. I've tried so many times that I can't say which was the winning weapon
but i did that with uart
It really doesn't matter how you serve the firmware as long as the image is correct and put under /tmp. For me the python -m http.server was the fastest way, but could be any http server, maybe already running on your pc as long as you can "wget" the file from.
yes, it shouldn't matter. I just tried serve the images using dnsmasq and flashed sysupgrade.bin under linux, still booting error. its really driving me crazy.
## Loading kernel from FIT Image at 4007ff28 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!
i can compile for you openwrt 22.03.2 and it will boot, i need touch the dts,but if you do not find a way to flash openwrt with original dts ,you will not be able to flash new version of openwrt.
are you able to compile an image yourself? if you can do that i can help.
but if you do not find a way to flash openwrt with original dts ,you will not be able to flash new version of openwrt.
I've tried various version of openwrt, including 22.03.0 rc6 you suggested, all without success.
I don't have much experience in compile things in linux, but I think I can manage to compile it. I noticed people mention "single partition image, offset" something, but not much info regard about it, do you think it has to do with my flash issue?
thanks for pointed it out.
I am in a different scenario. My router came with telnet disabled, I first tried use Uart method to do sysupgrade without success, then I did netmode 4 hack that enabled telnet of OEM firmware, and attempt mtd write factory.bin to firmware partition, openwrt repeat booting itself.