Really? But isn't WPA3 coming out (like in OpenWRT 19.01)? Kinda pointless to keep it if the device doesn't support WPA3 officially nor unofficially though. Its a shame Xiaomi decided to go with a crippled U-Boot that restricted a lot of modding capabilities, or we really have a great device.
Also, the router repeating capability is quite bad (on the official firmware), I've only managed 2Mbps (from 30Mbps direct) even under extremely close distance, which is impossible for anything other than light browsing. Can I expect something better with unofficial firmware though?
I started hunting for something for the Xiaomi Mi Router 3 because I would like to use its USB port for access via NFS, but the X-WRT does not have it built in.
If you install the newest version of X-WRT you will see that the kernel used is 5.4.61: Linux X-WRT 5.4.61 # 0 Sat Sep 5 18:58:19 2020 GNU / Linux mips
And even several packages are updated. So it works, but I don't know why the support doesn't exist.
Guys, we don't need to invent the wheel. Execute further commands in Linux:
git clone git://git.openwrt.org/openwrt/openwrt.git openwrt-mir3
cd openwrt-mir3
./scripts/feeds update -a && ./scripts/feeds install -a
git rev-parse --short HEAD
In menuconfig select:
Target System (MediaTek Ralink MIPS)
Subtarget (MT7620 based boards)
Target Profile (Xiaomi Mi Router R3)
and Luci and whatever packets you want, NFS or other. Than click save, push Enter and exit menuconfig.
make -j5
After half an hour you will find your build firmware in "bin" directory.
Or you can try prebuilt firmware link
How to install/flash link
Just know, that by default after you install firmware, wifi is disabled and Luci service is not started.
So you must connect through LAN, SSH to 192.169.1.1 using Linux or Putty, make password for Lucy, start Luci service, enter web interface, start wifi, set wifi password.
Information taken from Link
ssh -root@192.168.1.1
BusyBox v1.31.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r14390-7716a43092
-----------------------------------------------------
root@MiR3:~# cat /proc/cpuinfo
system type : MediaTek MT7620A ver:2 eco:6
machine : Xiaomi Mi Router R3
.
There is no official MIR3 OpenWrt support, because of the copyright of NAND driver code for this device and will not be probably.
make menuconfig #select kmod-nfs and nfs-kernel-server
make
I had already cloned the x-wrt repository and done the rest of the steps, but without the config file to import the settings ready for menuconfig I was getting lost in what was needed.
Put miwifi.bin into a USB flash drive (must be FAT/FAT32)
Plug said USB drive to router's usb port
Unplug router's power
Press reset button and then re-plug the power
Keep pressing reset button until the orange status LED starts blinking
wait until the LED turns blue.
If that doesn't work https://openwrt.org/toh/xiaomi/mir3, see paragraph " Recovering from Softbrick". You will have to buy CP2102, open you router and connect cables to hardware and follow the whole procedure.
@romandas Ty for the prebuild firmware, i successfully flashed my MIR3.
I have only one question, i need some packages, like kmod-usb, but the repository have only the version 5.4.67. What i can do? Re-Compile the kernel with latest version of files or have a better approach?
Obs.: I would like to avoid the recompile part, my ISP use some "Hardware method" to authenticate and when i flashed from padavan -> stock -> openwert, i have lost internet connection for one day and need to call they tech support to "reset" they config.i don`t now if a sysupgrade can cause this issue again.
I have selected the kmod modules ( * - built-in) and flashed again, and the result it's the same before the flash, kmod modules don't installed and same kernel version,
It looks like it wasn't even done. What am I doing wrong?
I have compiled latest stable OpenWrt 19.07.4 with kernel 4.14. We couldn't install some packages before, because it was nightly snapshot OpenWrt firmaware.
Hey @romandas thank you for sharing your rebuild and the link how to install. - I flahed my a very long time ago. I think used the tool prometheus. Could you maybe give me a feedback what's the best way to continue? Flashing to original and back or is it possible to switch directly? I logged in again and here are my data information from status tab:
Hostname
MyDarkThawts
Model
Xiaomi Mi Router R3
Architecture
MediaTek MT7620A ver:2 eco:6
Firmware Version
OpenWrt SNAPSHOT r7215+43-a8d516c4a7 / LuCI Master (git-18.156.40018-80f1877)
Kernel Version
4.14.48
Local Time
Fri Jun 29 22:16:39 2018
Uptime
0h 5m 32s
Load Average
Your router runs OpenWrt, but I don't know, what prometheus is, what modifications it did make. So safest way is to go back to original ant start the procedure. But If you aren't afraid to brick you router, you can try to upgrade via browser with openwrt-ramips-mt7620-xiaomi_miwifi-r3-squashfs-sysupgrade.bin and select not to keep settings. Your wifi will not be working at once, so you must connect via lan cable and setup if everything is ok.