# Mi router does not work

**URL:** <https://forum.openwrt.org/t/mi-router-does-not-work/59167>\
**Category:** Installing and Using OpenWrt\
**Created:** [April 1, 2020, 1:30pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167 "2020-04-01T13:30:15Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozkam](https://forum.openwrt.org/letter_avatar/ozkam/32/6_449c533f586939b6e5f246632a46421f.png) [@ozkam](https://forum.openwrt.org/u/ozkam)\
**Post date:** [April 1, 2020, 1:30pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/1 "2020-04-01T13:30:15Z")

</div>

I connect with putty, the system is not responding,  
network does not work  
Usb does not work  
I connect putty with serial usb, but u-boot (coolterm) not receiving command  
please help me

 ![Ekran Alıntısı](https://forum.openwrt.org/uploads/default/original/3X/c/4/c44c327135b2733b15ecfea994014d28c62015da.png)

---

<div class="post-metadata">

**Author:** ![Willy](https://forum.openwrt.org/letter_avatar/willy/32/6_449c533f586939b6e5f246632a46421f.png) [@Willy](https://forum.openwrt.org/u/Willy)\
**Post date:** [April 1, 2020, 2:53pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/2 "2020-04-01T14:53:21Z")

</div>

Why don't you try option 2 to flash stock firmware? Then you can give a try to OpenWrt...  
If it doesn't work, try option 4, usually "?", from command line, gives you the available commands.

---

<div class="post-metadata">

**Author:** ![Willy](https://forum.openwrt.org/letter_avatar/willy/32/6_449c533f586939b6e5f246632a46421f.png) [@Willy](https://forum.openwrt.org/u/Willy)\
**Post date:** [April 1, 2020, 2:54pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/3 "2020-04-01T14:54:49Z")

</div>

I forget it... say us the exact model.

---

<div class="post-metadata">

**Author:** ![ozkam](https://forum.openwrt.org/letter_avatar/ozkam/32/6_449c533f586939b6e5f246632a46421f.png) [@ozkam](https://forum.openwrt.org/u/ozkam)\
**Post date:** [April 1, 2020, 3:03pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/4 "2020-04-01T15:03:50Z")

</div>

Thank you for the answer, but the problem is that the command doesn't work.  
I can't intervene in any way  
Model: Mi router 3 (mir3)

---

<div class="post-metadata">

**Author:** ![Willy](https://forum.openwrt.org/letter_avatar/willy/32/6_449c533f586939b6e5f246632a46421f.png) [@Willy](https://forum.openwrt.org/u/Willy)\
**Post date:** [April 1, 2020, 3:31pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/5 "2020-04-01T15:31:43Z")

</div>

For the amount of memory, 128MB, you have got Xiaomi MiWiFi 3G v2, without USB port.  
There is only "snapshot" version for V2, so you don't have Luci GUI. Go to:

> **[LuCI essentials](https://openwrt.org/docs/guide-user/luci/luci.essentials)**
>
> LuCI essentials This article relies on the following: \* Accessing web interface / command-line interface \* Managing configs / packages / services / logs Introduction While OpenWrt can be managed completely using SSH and the terminal, the LuCI...

Very important information:  
[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=522d5ff42835f7ad01c090b9ea1863f5d56b91d3](https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=522d5ff42835f7ad01c090b9ea1863f5d56b91d3)

From here you must go to:

> [@Xiaomi Mi Router 4A Gigabit Edition (R4AG/R4A Gigabit) -- fully supported and flashable with OpenWRTInvasion](https://forum.openwrt.org/t/xiaomi-mi-router-4a-gigabit-edition-r4ag-r4a-gigabit-fully-supported-but-requires-overwriting-spi-flash-with-programmer/36685):
>
> Edit (May 2020): The router is [fully supported](https://openwrt.org/toh/xiaomi/mir3g) and can be [flashed withouth opening the case](https://github.com/acecilia/OpenWRTInvasion). Hi there, A few days ago, a colleague from [eXO](https://exo.cat) pointed me to this new device by Xiaomi, which would be very nice to have it supported by OpenWrt to use it in our [community network](https://guifi.net). I ordered it from a well-known on-line shop and I just received it, so I'll be posting here any updates on adding support for it. Main specifications SoC: MediaTek MT7621 RAM: 128 MB Flash: 16 MB SPI flash Ethernet: 3x10…

Luck

---

<div class="post-metadata">

**Author:** ![ozkam](https://forum.openwrt.org/letter_avatar/ozkam/32/6_449c533f586939b6e5f246632a46421f.png) [@ozkam](https://forum.openwrt.org/u/ozkam)\
**Post date:** [April 1, 2020, 8:28pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/6 "2020-04-01T20:28:09Z")

</div>

as you wrote here, you need to connect to sp memory  
but I don't have such hardware,  
i have uart usb cable  
do you know a different solution

---

<div class="post-metadata">

**Author:** ![Willy](https://forum.openwrt.org/letter_avatar/willy/32/6_449c533f586939b6e5f246632a46421f.png) [@Willy](https://forum.openwrt.org/u/Willy)\
**Post date:** [April 2, 2020, 1:30pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/7 "2020-04-02T13:30:42Z")

</div>

Take a look at 343 answer

> [@Xiaomi Mi Router 4A Gigabit Edition (R4AG/R4A Gigabit) -- fully supported and flashable with OpenWRTInvasion](https://forum.openwrt.org/t/xiaomi-mi-router-4a-gigabit-edition-r4ag-r4a-gigabit-fully-supported-but-requires-overwriting-spi-flash-with-programmer/36685/343):
>
> @rogerpueyo : I would like to update to openwrt. Do you think that simply using "mtd write xy.bin OS1" should do the trick? Which image should I use? Thanks for your support!

---

<div class="post-metadata">

**Author:** ![mk24](https://forum.openwrt.org/letter_avatar/mk24/32/6_449c533f586939b6e5f246632a46421f.png) [@mk24](https://forum.openwrt.org/u/mk24)\
**Post date:** [April 2, 2020, 2:01pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/8 "2020-04-02T14:01:26Z")

</div>

The bootloader is set up with bootdelay=0 which means it will not wait for anyone to enter a menu option-- it will always boot from flash. The bootloader CLI can never be brought up.

Thus it was necessary to write directly to flash with hardware (if not to write a whole firmware, at least to change the bootdelay). Later someone found a way to hack into the stock firmware, which became the preferred method to install OpenWrt on this device.

---

<div class="post-metadata">

**Author:** ![ozkam](https://forum.openwrt.org/letter_avatar/ozkam/32/6_449c533f586939b6e5f246632a46421f.png) [@ozkam](https://forum.openwrt.org/u/ozkam)\
**Post date:** [April 2, 2020, 3:39pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/9 "2020-04-02T15:39:11Z")

</div>

but not working bootloader 🙂

---

<div class="post-metadata">

**Author:** ![ozkam](https://forum.openwrt.org/letter_avatar/ozkam/32/6_449c533f586939b6e5f246632a46421f.png) [@ozkam](https://forum.openwrt.org/u/ozkam)\
**Post date:** [April 2, 2020, 3:42pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/10 "2020-04-02T15:42:16Z")

</div>

yes yes I am looking, but there is only CH341 solution. Can I solve this what I need in another way. I don't want to buy CH341, but a new router is cheaper

---

<div class="post-metadata">

**Author:** ![mk24](https://forum.openwrt.org/letter_avatar/mk24/32/6_449c533f586939b6e5f246632a46421f.png) [@mk24](https://forum.openwrt.org/u/mk24)\
**Post date:** [April 2, 2020, 3:46pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/11 "2020-04-02T15:46:40Z")

</div>

Is the installed firmware the Mi stock firmware, or open OpenWrt?

The booting stalls at "starting kernel"?

---

<div class="post-metadata">

**Author:** ![ozkam](https://forum.openwrt.org/letter_avatar/ozkam/32/6_449c533f586939b6e5f246632a46421f.png) [@ozkam](https://forum.openwrt.org/u/ozkam)\
**Post date:** [April 2, 2020, 4:18pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/12 "2020-04-02T16:18:06Z")

</div>

System failed while trying to install openwrt

---

<div class="post-metadata">

**Author:** ![Willy](https://forum.openwrt.org/letter_avatar/willy/32/6_449c533f586939b6e5f246632a46421f.png) [@Willy](https://forum.openwrt.org/u/Willy)\
**Post date:** [April 2, 2020, 4:21pm UTC](https://forum.openwrt.org/t/mi-router-does-not-work/59167/13 "2020-04-02T16:21:11Z")

</div>

Hello @mk24  
In the first picture says OpenWrt 4.14.151, so I guess @ozkam flashed the device directly without the hack, and now it doesn't boot. He need the stock firmware to apply the hack, what is not possible now.  
Solution in this situation is CH341 or silimar

> **[€7.63 20% de DESCUENTO|Set completo EZP2019 alta velocidad USB SPI programador...](https://es.aliexpress.com/item/33022828611.html?src=google&src=google&albch=shopping&acnt=494-037-6276&isdl=y&slnk=&plac=&mtctp=&albbt=Google_7_shopping&aff_platform=google&aff_short_key=UneMJZVf&&albagn=888888&albcp=8698529884&albag=87458843957&trgt=743612850874&crea=es33022828611&netw=u&device=c&albpg=743612850874&albpd=es33022828611&gclid=EAIaIQobChMI-NLRycnH6AIVB8reCh3xHgXDEAQYBSABEgJELfD_BwE&gclsrc=aw.ds)**
>
> ¡Compra fácil, vive mejor! Aliexpress.com
