OpenWrt Forum Archive

Topic: Xiaomi Mi Wifi Nano

The content of this topic has been archived between 22 Mar 2018 and 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

painfull30 wrote:
benoe77 wrote:

Have you tried the device specific version of openwrt?

I tried this one https://downloads.openwrt.org/snapshots … pgrade.bin (rebuilded by image builder)

I have no problem with wifi speed, I'm using version:

DESIGNATED DRIVER (Bleeding Edge, r49119)

of the device specific firmware:

http://www.speedtest.net/android/1921940939.png

I don't know how to check the size of the flash memory

painfull30 wrote:

Here http://192.168.1.1/cgi-bin/luci/admin/system/fstab

"/rom" size + "/overlay" size

Can you provide link to this tested firmware file?

I used the same you have linked here. I even upgraded to the latest nightly yesterday. (r49296)

/rom 0.00 B / 2.00 MB 100% (2.00 MB)
/overlay 3.49 MB / 4.44 MB 21% (972.00 KB)

(Last edited by benoe77 on 9 May 2016, 10:06)

I confirm - build r49296 work "normal", but...

- internet channel speed is 100m
- i switched off all wifi near this router

1) wifi on 2m distance and no walls, encrypted
usb tplink wifi1 - http://speedof.me/show.php?img=160510043105-6246.png
usb zyxel wifi - http://speedof.me/show.php?img=160510043245-6635.png
usb tplink wifi with 1 small wall and 2 m distance - http://speedof.me/show.php?img=160510043938-5655.png
usb zyxel wifi with 1 small wall and 2 m distance - http://speedof.me/show.php?img=160510043750-4587.png

Other router's (TP-Link TL-WR1043N/ND v2, 15.05.1) wifi with zyxel usb- http://speedof.me/show.php?img=160510050408-5221.png
2m distance and 1 small wall - http://speedof.me/show.php?img=160510050622-8903.png

lan at same time and router xiaomi nano
http://speedof.me/show.php?img=160510042454-7912.png

lan at same time and different router (wt3020h)
http://speedof.me/show.php?img=160510044445-7959.png

2) current image have no luci by default and about 4.5 mb free for user packages - so i still think it "see" only 8mb of flash memory max. Other check is - when you upload upgrade-image luci show you message

Size: 3.25 MB (7.69 MB available)

(Last edited by painfull30 on 10 May 2016, 06:07)

There are messages like this in the dmesg:

[12064.242733] ------------[ cut here ]------------
[12064.247487] WARNING: CPU: 0 PID: 6 at /mnt/dl/slave/ramips.mt7628/build/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/linux-ramips_mt7628/mt76-2016-03-04/mt7603_mac.c:1202 mt7603_mac_work+0x208/0x274 [mt7603e]()
[12064.266540] Modules linked in: pppoe ppp_async iptable_nat pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt mt7603e mt76x2e mt76 mac80211 cfg80211 compat ledtrig_usbdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables leds_gpio ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[12064.335590] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 4.4.7 #1
[12064.341786] Workqueue: phy0 mt7603_mac_work [mt7603e]
[12064.346918] Stack : 83803410 83838a98 00000088 8004a058 83829b80 803acf43 80347ff8 00000006
[12064.346918]       80370060 83847d64 803b0000 80048010 00000088 8004a058 8034d4c8 803b0000
[12064.346918]       00000003 83847d64 803b0000 80038320 00000088 83847d9c 00000147 00000000
[12064.346918]       00000001 00000000 830fcf8c 83b7f800 83b7f200 30796870 00000000 00000000
[12064.346918]       00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[12064.346918]       ...
[12064.383090] Call Trace:
[12064.385581] [<8001458c>] show_stack+0x50/0x84
[12064.390057] [<80024e1c>] warn_slowpath_common+0xa0/0xd0
[12064.395382] [<80024ed0>] warn_slowpath_null+0x18/0x24
[12064.400525] [<830fd194>] mt7603_mac_work+0x208/0x274 [mt7603e]
[12064.406476] [<80036274>] process_one_work+0x1f8/0x334
[12064.411608] [<80037070>] worker_thread+0x2b4/0x408
[12064.416485] [<8003b3a8>] kthread+0xdc/0xe8
[12064.420644] [<80004478>] ret_from_kernel_thread+0x14/0x1c
[12064.426126] 
[12064.427639] ---[ end trace 2068b4a7bce990af ]---

What could this be? The router works normally by the way.

I've followed insructions and my device doesn't boot after flashing the image. Router was able to recover itself to an official firmware thought. Any ideas how to debug this?

hryamzik wrote:

I've followed link and my device doesn't boot after flashing the image. Router was able to recover itself to an official firmware thought. Any ideas how to debug this?

I followed those instructions myself. Also bricked. Never seen a router fix itself.
I suspect final upgrade  (mtd -r write filename.bin firmware) was to blame.

Other models say flash to OS1.
Look up the bigger Xiaomi models on openwrt site

Does anybody know how to revert original firmware? I've flashed pandora but it fails to operate in client/repeater mode and when I try to follow restore instructions (https://wiki.openwrt.org/toh/xiaomi/mini?s[]=youth#reverting_to_stock_firmware) WEB UI says:
-  "The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform." in geek mode
- "Image File is Invalid." in regular mode

UPD: Solved with powering on with reset pressed. Not sure why I didn't manage to find any instaructions in english but finally got luck on https://4pda.ru/forum/index.php?showtopic=684498.

(Last edited by hryamzik on 26 Sep 2017, 22:02)

The discussion might have continued from here.