Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:xiaomi:xiaomi_mi_router_4c [2022/03/27 08:22] – tmomas | toh:xiaomi:xiaomi_mi_router_4c [2023/02/03 13:21] – [Tags] fix tags danitool | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | /* stable release */ | ||
| - | /* uncomment once stable release is available */ | ||
| ---- datatable ---- | ---- datatable ---- | ||
| cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
| Line 44: | Line 42: | ||
| filter | filter | ||
| ---- | ---- | ||
| - | |||
| - | |||
| - | |||
| - | /* snapshot */ | ||
| - | /* delete once stable release is available | ||
| - | ---- datatable ---- | ||
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url | ||
| - | headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock | ||
| - | align : c,c,c | ||
| - | filter | ||
| - | ---- | ||
| - | */ | ||
| -> [[docs: | -> [[docs: | ||
| <WRAP center round important> | <WRAP center round important> | ||
| - | The snapshot version is NOT tested and it does not ship with a GUI. Your initial network configuration needs to be done via uci. Afterwards you can install LuCI for GUI. | ||
| As of the time of this edit (2019-06-19), | As of the time of this edit (2019-06-19), | ||
| </ | </ | ||
| Line 67: | Line 52: | ||
| - Install python3 and and to PATH if not installed. | - Install python3 and and to PATH if not installed. | ||
| - Install requirements: | - Install requirements: | ||
| - | - Login to Web panel of your router and copy stok code from URL. | + | - Login to Web panel of your router and copy the stok URL parameter out of the address field of your browser. |
| - Execute the exploit: < | - Execute the exploit: < | ||
| - Enter stok and router' | - Enter stok and router' | ||
| Line 80: | Line 65: | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | |||
| ---- datatemplatelist dttpllist ---- | ---- datatemplatelist dttpllist ---- | ||
| template: meta: | template: meta: | ||
| Line 87: | Line 71: | ||
| ---- | ---- | ||
| - | === Stock /proc/mtd === | + | ==== Photos ==== |
| + | /* =====>>>>> | ||
| + | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | ||
| + | /* e.g. {{: | ||
| + | /* Thanks, your wiki administration - Oct. 2015 */ | ||
| + | |||
| + | **PCB** | ||
| + | |||
| + | {{media: | ||
| + | |||
| + | **PCB (Close Up)** | ||
| + | |||
| + | {{media: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Flash layout ===== | ||
| + | |||
| + | ==== Stock / | ||
| < | < | ||
| dev: size | dev: size | ||
| Line 102: | Line 104: | ||
| </ | </ | ||
| - | === OpenWrt snapshot /proc/mtd === | + | ==== OpenWrt snapshot / |
| < | < | ||
| dev: size | dev: size | ||
| Line 119: | Line 121: | ||
| ===== OpenWrt back to STOCK ==== | ===== OpenWrt back to STOCK ==== | ||
| + | |||
| 0. Consider OpenWrt factory reset first | 0. Consider OpenWrt factory reset first | ||
| < | < | ||
| Line 134: | Line 137: | ||
| Using Mi Wifi Repair tool: | Using Mi Wifi Repair tool: | ||
| [[http:// | [[http:// | ||
| - | [[https:// | + | [[https:// |
| + | [[https:// | ||
| + | \\ | ||
| - | ==== Photos | + | ===== Hardware Mod - USB Port ==== |
| - | /* =====>>>>> | + | |
| - | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | + | |
| - | /* e.g. {{: | + | |
| - | /* Thanks, your wiki administration - Oct. 2015 */ | + | |
| - | **PCB** | + | 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. | ||
| - | {{media: | + | **Software mod** |
| - | **PCB (Close Up)** | + | 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 < | ||
| - | {{media: | + | In this file change: |
| + | < | ||
| + | & | ||
| + | status = " | ||
| + | }; | ||
| + | & | ||
| + | status = " | ||
| + | }; | ||
| + | </ | ||
| + | to | ||
| + | |||
| + | < | ||
| + | &ehci { | ||
| + | status = " | ||
| + | }; | ||
| + | &ohci { | ||
| + | status = " | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | Enable usb kernel module support in "make menuconfig", | ||
| + | |||
| + | <wrap warning> 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.</ | ||
| Line 154: | Line 180: | ||
| [[meta: | [[meta: | ||
| - | {{tag>MIPS ramips | + | {{tag> |