I have a Xiaomi Router 4 (R4), I was trying to flash it, I was following this video
I did the part until 2:55 in the video, where he flashed the kernel1 and rootfs0 partition. I downloaded the files from here
Then I could not proceed following the video, according to the video the next command was
nvram set uart_en=1
I could not run this command, it failed saying something about core dumped. I tried logging in to my router admin page and it won't load. The internet is working though. I can FTP into the router, but telnet and ssh fails to connect. Can I fix it? I'm a bit worried.
Sorry, but my stock router firmware was in Chinese I could not understand much, after trying to use the translator to see the information about the model, it only said Xiaomi Router 4 (R4) nothing else. There is no more info than this on the back of the router either. I did check the OpenWRT official download page first but was not sure, the video I followed I followed because it had the same name as my router and the guy uses same method as guy that OpenWRT recommended for video tutorial on the website, which is -
I could not flash the firmware following this video, it failed at mtd -e OS1 -r write firmware.bin OS1, from here -
so I kept looking for some other tutorial, so I found that video I posted in OP. Also in the section in github link above Xiaomi 4A Gigabit Global Edition the download link was for mir3g but my router model 4.
BTW, I rebooted my router today and tried going to 192.168.1.1 and I was able to view the page, I logged in and set up my config for internet, its working so far. But I want to make sure the firmware I'm using is official and secure, could you please point me to a direction to try to find the correct model somehow. If I were to bet my best bet would be Xiaomi Mi Router 4A (MIR4A) Gbit.
Well the cpu make = MT7621, cpu cores = 2, clock speed = 880, memory = 120mb, does match with Xiaomi Mi Router 4A Gigabit Edition. But the link you sent to the forum, the photos there, looking at them the sticker on the back is up to top of backside and specific says 4A, where as mine is in center and only says 4. If that makes any difference.
Giving a second look, no it does not look similar to the one in forum link you sent. The reset button and ports are different on mine. The reset button on mine is inside I have to push a safety pin or something to press it, where as in the pic in forum the reset button is outside. Also mine has some button on top of the router as well, where Mi logo is. It looks more like this,
See the picture of router in the link.
The availability link here is indeed 1 of them, where I bought it from. Gearbest.
No, actually the firmware I flashed from the github of the guy I linked above is working, when I was in the process of flashing it the telnet connection closed, and I could not login to my router admin console on web either, so I thought I bricked it, but the internet was working so I left it for the night like that, but when I restarted the router next day and went to 192.168.1.1, it booted fine and I was able to set up my network configuration for WiFi and all, so as of now I'm using my router fine. But I wanna make sure the firmware I'm using is officially supported and stable for use. So I'm looking for the right file, so I can upgrade to that firmware.