Logon and find the page where you can upgrade the firmware look for a big yellow dot with an “i” inside. You will see the version number of the router and there is a button below where you can browse for a file.
Open “Mi Wi-Fi” app (and sign-up) and sign-in to your account. Router will be detected and added to your account (assuming you are connected to the WiFi on the router and the routers WAN port is connected to Internet).
On a PC, visit https://d.miwifi.com/rom/ssh and sign-in to you account. You will get to a page that should display your router, the root password and a download button. Hit the button to get miwifi_ssh.bin
Format USB drive using FAT32 and copy miwifi_ssh.bin, lede-ramips-mt7621-mir3g-squashfs-kernel1.bin and lede-ramips-mt7621-mir3g-squashfs-rootfs0.bin to the USB drive
Cut the power the router, put the USB drive in the router, press and hold “reset” button (with a paper-clip), power on the router (while holding reset). When the router starts flashing yellow release the reset button. Wait until router has rebooted and you should (finally…) have SSH access.
Login to the router using SSH using the “root” as username and the (root) “password” from https://d.miwifi.com/rom/ssh
In SSH console
cd /extdisks/sda1 (can be different if you remove and reinsert the usb stick)
LEDE should be installed and available at 192.168.1.1 (with WiFi disabled I assume)
Upgrading to a newer snapshot can be done using the regular methods (from the command-line using sysupgrade or through LuCI) using lede-ramips-mt7621-mir3g-squashfs-sysupgrade.tar
Known Issues:
Some users are reporting having troubles with connecting to the 2.4 Ghz network related to this entry in the syslog:
daemon.notice hostapd: wlan0: STA XX:XX:XX:XX:XX:XX IEEE 802.11: did not acknowledge authentication response
I believe that the 2.4Ghz chip is not the same as in (for example) DIR-860L. The D-Link chip is faulty and has a lot of stability and performance issues. The WiFi chip in Xiaomi WiFi Router (3G) should have a more stable 2.4Ghz network.
In my opinion Gb/s ports and dual core CPU are huge advantage. Lots of people are having faster connections then 100 Mb/s.
Do you know if the procedure to get ssh is similar to Xiaomi wifi mini?
I read here: http://en.miui.com/thread-64391-1-1.html that for the wifi mini you would need to download a dev rom in order to enable SSH, but unfortunately, I can't find the dev rom for the wifi 3G on Xiaomi website.
Are you able to enable SSH with the original rom which arrived with the router?
Could you please share what are the next steps required to flash LEDE using UART ?
Assuming I already compiled LEDE from sources (including your commit for mir3g), disassembled the router, soldered the UART connector and connected to PC using UART to USB cable.
@dissent1 I am looking into your PR and I am wondering what did you do to kernel0 partition.
In DTS there is comment that you deleted kernel0 partition and renamed it to kernel_erase but it looks like you did not erase the whole partition since the original kernel0 partition ends in 0x600000 and you have deleted it until 0x400000
In DTS I've just renamed kernel0 into kernel_erase for others to o remind that it should be erased with 'mtd erase kernel0' while on stock firmware.
0x400000 is the size of the partition, not an end address