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 [2021/05/31 23:28] – [Installation] mactavishao | toh:xiaomi:xiaomi_mi_router_4c [2023/02/03 13:21] – [Tags] fix tags danitool | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | /* DO NOT CREATE NEW DEVICEPAGES VIA COPY & PASTE! */ | ||
| /* USE https:// | /* USE https:// | ||
| + | |||
| + | |||
| + | <WRAP important 100%> | ||
| + | |||
| /*****/ | /*****/ | ||
| Line 10: | Line 14: | ||
| {{ : | {{ : | ||
| + | |||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| Line 19: | Line 24: | ||
| ---- | ---- | ||
| - | ===== Experimental Versions ===== | ||
| - | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
| - | |||
| - | //None at this time.// | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| Line 40: | 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 48: | 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 71: | 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 84: | Line 65: | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | |||
| ---- datatemplatelist dttpllist ---- | ---- datatemplatelist dttpllist ---- | ||
| template: meta: | template: meta: | ||
| Line 91: | 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 106: | Line 104: | ||
| </ | </ | ||
| - | === OpenWRT | + | ==== OpenWrt |
| < | < | ||
| dev: size | dev: size | ||
| Line 122: | Line 120: | ||
| - | ===== OpenWRT | + | ===== OpenWrt |
| - | 0. Consider | + | |
| + | 0. Consider | ||
| < | < | ||
| 1. Download STOCK firmware | 1. Download STOCK firmware | ||
| Line 135: | Line 134: | ||
| 4. Router will reboot and after few minutes will boot into stock firmware with IP address 192.168.31.1 | 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: | ||
| + | [[http:// | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | \\ | ||
| + | |||
| + | ===== 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 < | ||
| + | |||
| + | In this file change: | ||
| + | < | ||
| + | &ehci { | ||
| + | status = " | ||
| + | }; | ||
| + | &ohci { | ||
| + | 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 142: | Line 180: | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag> |