My summary for the steps for flashing Mi Router 3 (Mi-3) to padavan.
1) Change MI-3 to developer firmware by login into your router webpage (192.168.1.1 or 192.168.31.1 or others)
The new developer firmware may not work, I was using ver. 2.11.20 (miwifi_r3_all_55ac7_2.11.20.bin)
You can try google for it or try your luck with the newer version from
http://www1.miwifi.com/miwifi_download.html2) Once you are on the developer firmware, next is to enable ssh service from the developer firmware. 2 approaches, can try both.
QUOTE(Option 1)
Option 1) Official way is goto
http://d.miwifi.com/rom/ssh and copy down the ssh username and password.
Then download the miwifi_ssh.bin to a usb drive (fat32). Plug the usb drive into your router usb port.
Off the router and turn on Router while reset-button pressed and USB stick plugged in.
Release Reset-button after the orange LED starts flashing (blink few times before release)
Wait a minute to complete flashing and device is online again (shown by blue LED)
QUOTE(Option 2)
Option 2) Login to router with a browser
After login observe and address. It should generate code like below:-
hXXp://192.168.31.1/cgi-bin/luci/;stok=2ca162de9aa42e55e30c8f9fe35031c4/web/home#router
Copy the code after stok= ......... example:- 0b5ff8b6fb80c457759ad92f468003d5
This is like a temporary pass for access your bootloader.
Then the 4 url’s below is used to set password for ssh and activate the ssh service.
Change the key word <stok> with your string that just copy.
Example hXXp://192.168.31.1/cgi-bin/luci/;stok=
<STOK>/api/xqsystem/set_name_password?oldPwd=<OLDPASS>&newPwd=<NEWPASS> to hXXp://192.168.31.1/cgi-bin/luci/;stok=
0b5ff8b6fb80c457759ad92f468003d5/api/xqsystem/set_name_password?oldPwd=<OLDPASS>&newPwd=<NEWPASS>
Here are the 4 url's:-
http://192.168.31.1/cgi-bin/luci/;stok=<...0nvram%20commithttp://192.168.31.1/cgi-bin/luci/;stok=<...it.d%2Fdropbearhttp://192.168.31.1/cgi-bin/luci/;stok=<...ropbear%20starthttp://192.168.31.1/cgi-bin/luci/;stok=<...<NEWPASS>3) SSH to the device to flash OpenWrt, I was using putty.exe (google for it if you don't have it ready)
Open a SSH connection to root@192.168.31.1 or maybe 192.168.1.1
Login using credentials provided by the SSH download website in step 2-option 1,
OR with the username 'root' and 'password' create in step 2 - option 2.
4) Confirm login in to ssh is sucessful. (I guess you should not reboot your router from here, else I think you need repeat step 2 &3.
5) 2 approaches here again, Linux or Windows. Goto hXXp://prometheus.freize.net to download and read the steps.
QUOTE(Option 1 - Linux @ I was using this approach)
Using Linux (either your dual os or separate PC running Linux) and open terminal.exe.
Download the script by typing: the wget -O start.sh
http://prometheus.freize.net/script/ start-99.sh
Enter: the chmod + x start.sh
Run the script and follow the instructions in the terminal: ./start.sh
5. Prometheus to pull source from padavan
6. Build toolchain (only needed once, unless there's any update on toolchain source code)
7. Configure and build firmware
QUOTE(Option 2 - Windows)
1. Setup VM for linux (if you already have linux machine, then use that instead. and doesn't have to be vmware
2. workstation, can use others instead like virtualbox)
3. Download and run prometheus
4. Gain ssh access on router (if this doesn't work, use the steps i gave previously)
5. Prometheus to pull source from padavan
6. Build toolchain (only needed once, unless there's any update on toolchain source code)
7. Configure and build firmware
8. Flash firmware
This post has been edited by muncheno: Oct 13 2016, 05:07 PM