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/06/05 21:14] – [Photos] add USB hardware mod pic mercygroundabyss | toh:xiaomi:xiaomi_mi_router_4c [2023/02/03 13:21] – [Tags] fix tags danitool | ||
|---|---|---|---|
| Line 52: | 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 137: | Line 137: | ||
| Using Mi Wifi Repair tool: | Using Mi Wifi Repair tool: | ||
| [[http:// | [[http:// | ||
| - | [[https:// | + | [[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 145: | Line 180: | ||
| [[meta: | [[meta: | ||
| - | {{tag>MIPS ramips | + | {{tag> |