Show pagesourceOld revisionsBacklinksBack to top × Table of Contents Xiaomi Mi Router 4C Поддерживаемые версии Характеристики Установка Hardware Info Фотографии Flash layout Stock /proc/mtd OpenWrt snapshot /proc/mtd OpenWrt back to STOCK Debricking Hardware Mod - USB Port Tags This page is not fully translated, yet. Please help completing the translation. (remove this paragraph once the translation is finished) Xiaomi Mi Router 4C Warning 03/2022 В настоящее время OpenWrt не будет работать на устройствах, оснащенных флэш-чипом Eon EN25QX128 16 МБ. Ссылка на форум Та же проблема с некоторыми гигабитными моделями R4A. Поддерживаемые версии BrandModelVersionCurrent ReleaseOEM InfoForum SearchTechnical DataXiaomiMi Router 4C22.03.5https://www.mi.com/global/mi-router-4cMi Router 4CView/Edit data Характеристики ModelVersionSoCCPU MHzFlash MBRAM MBWLAN HardwareWLAN2.4WLAN5.0100M portsGbit portsModemUSBMi Router 4CMediaTek MT7628AN5801664MT7628ANb/g/n-3-Mod Установка ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM StockMi Router 4C22.03.5https://downloads.openwrt.org/releases/22.03.5/targets/ramips/mt76x8/openwrt-22.03.5-ramips-mt76x8-xiaomi_mi-router-4c-squashfs-sysupgrade.binhttps://downloads.openwrt.org/releases/22.03.5/targets/ramips/mt76x8/openwrt-22.03.5-ramips-mt76x8-xiaomi_mi-router-4c-squashfs-sysupgrade.binhttp://cdn.awsde0-fusion.fds.api.mi-img.com/xiaoqiang/rom/r4cm/miwifi_r4cm_firmware_c6fa8_3.0.23_INT.bin → Install OpenWrt (generic explanation) На момент редактирования (19.06.2019) некоторые пользователи сообщали о нестабильной работе Wi-Fi. Не пытайтесь выполнять обновление прошивки через Wi-Fi во избежание повреждения устройства. Скачайте скрипт OpenWRTInvasion Установите python3 и добавьте в PATH если еще не утановлено. Установите зависимости: pip3 install -r requirements.txt Войдите в Веб-интерфейс вашего роутера и скопируйте значение stok параметра из URL-адреса в адресной строке вашего браузера. Запустите эксплоит : python3 remote_command_execution_vulnerability.py Введите stok и IP-адрес роутера в терминал когда он попросит. Теперь вы имеете доступ к telnet. Залогниньтесь через Telnet. (User: root - No password) Используйте эту команду, что-бы попасть в директорию tmp: cd /tmp Скопируйте ссылку на скачивание OpenWrt. Скачайте OpenWrt в директорию tmp: wget <Download Link> Прошейте OpenWrt в OS1: mtd -r write /tmp/openwrt.bin OS1 Это займет несколько минут и устройство перезагрузится с установленным OpenWrt. Hardware Info General Brand Xiaomi Model Mi Router 4C Versions Device Type WiFi Router Availability Available 2021 Comments - general OpenWrt Support Supported Since Commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=4287f739894ba2f95aca107e785b41a053c21315 Supported Since Release 21.02.0 Supported Current Release 22.03.5 Unsupported Hardware Bootloader U-Boot Target ramips System-On-Chip MediaTek MT7628AN CPU MHz 580 Flash MB 16 RAM MB 64 Network Ethernet 100M ports 3 Ethernet 1Gbit ports Switch ¿ Modem - VLAN Yes Comments - network ports Wireless WLAN 2.4GHz b/g/n WLAN 5.0GHz - WLAN Hardware MT7628AN Detachable Antennas - Comments - WLAN Interfaces USB ports Mod SATA ports - Serial Yes JTAG ¿ Comments - USB & SATA ports Misc LED count 1 Button count 1 Power supply 5V, 1A Links Forum Topic URL WikiDevi URL https://deviwiki.com/wiki/Xiaomi_Mi_Router_4C_(R4CM) OEM device homepage URL https://www.mi.com/global/mi-router-4c Firmware OEM Stock URL http://cdn.awsde0-fusion.fds.api.mi-img.com/xiaoqiang/rom/r4cm/miwifi_r4cm_firmware_c6fa8_3.0.23_INT.bin Firmware OpenWrt Install URL https://downloads.openwrt.org/releases/22.03.5/targets/ramips/mt76x8/openwrt-22.03.5-ramips-mt76x8-xiaomi_mi-router-4c-squashfs-sysupgrade.bin Firmware OpenWrt Upgrade URL https://downloads.openwrt.org/releases/22.03.5/targets/ramips/mt76x8/openwrt-22.03.5-ramips-mt76x8-xiaomi_mi-router-4c-squashfs-sysupgrade.bin Edit the underlying data View/Edit data Фотографии Печатная плата Печатная плата (Крупным планом) Flash layout Stock /proc/mtd dev: size erasesize name mtd0: 01000000 00010000 "ALL" mtd1: 00020000 00010000 "Bootloader" mtd2: 00010000 00010000 "Config" mtd3: 00010000 00010000 "Factory" mtd4: 00010000 00010000 "crash" mtd5: 00010000 00010000 "cfg_bak" mtd6: 00100000 00010000 "overlay" mtd7: 00c60000 00010000 "OS1" mtd8: 00af0000 00010000 "rootfs" mtd9: 00200000 00010000 "disk" OpenWrt snapshot /proc/mtd dev: size erasesize name mtd0: 00020000 00010000 "bootloader" mtd1: 00010000 00010000 "config" mtd2: 00010000 00010000 "factory" mtd3: 00010000 00010000 "crash" mtd4: 00010000 00010000 "cfg_bak" mtd5: 00100000 00010000 "overlay" mtd6: 00ea0000 00010000 "firmware" mtd7: 002052ab 00010000 "kernel" mtd8: 00c9ad55 00010000 "rootfs" mtd9: 00a10000 00010000 "rootfs_data" OpenWrt back to STOCK 0. Consider OpenWrt factory reset first firstboot && reboot 1. Download STOCK firmware miwifi_r4cm_firmware_2.14.80_Chinese.bin miwifi_r4cm_firmware 3.0.16_ENG.bin miwifi_r4cm_firmware_3.0.23_INT.bin 2. Copy to router scp miwifi_r4cm_firmware 3.0.16_ENG.bin root@192.168.1.1:/tmp/ 3. Write to “firmware” block mtd -r write /tmp/miwifi_r4cm_firmware 3.0.16_ENG.bin firmware 4. Router will reboot and after few minutes will boot into stock firmware with IP address 192.168.31.1 Debricking Using Mi Wifi Repair tool: Mi Wifi download PDF guide (written for R4A gigabit edition) Numerous antivirus tools report Mi Wifi Repair Tool (files date stamped January 2019) identify it as a 'Potentially Unwanted App'. Unclear whether there is a genuine threat or it is a 'false positive'. Hardware Mod - USB Port See the photos for break down of where to solder etc. On picture are shown all soldier points for desired pins with markings. Also you must connect 15kOhm resistors to ground from D+ and D- lines. Software mod Simple hardware mod does not enable USB, you must enable OHCI and AHCI in board description file and compile appropriate firmware. Board description file is on location /{your openwrt source location}/openwrt/target/linux/ramips/dts/mt7628an_xiaomi_mi-router-4c.dts In this file change: &ehci { status = "disabled"; }; &ohci { status = "disabled"; }; to &ehci { status = "okay"; }; &ohci { status = "okay"; }; Enable usb kernel module support in “make menuconfig”, compile firmware file and flash it. You can use 5V power supply from router for powering on USB, but take care because its only 1A of current charge if you connect some power hungry USB peripheral it will make router unstable. Tags How to add tags ramips, MT7628, 16flash, 64RAM, 3port, fastethernet, USBmod, wlan, 802.11bgn, MIPS This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.OKMore information about cookies ramips mt7628 16flash 64RAM 3port fastethernet usbmod wlan 802.11bgn mips Last modified: 2023/03/03 06:11by tmomas