TTL Serial + U-Boot Command Line Recovery Guide
This guide documents the complete recovery process for Xiaomi WR30U router that had its network functionality damaged after flashing an incompatible U-Boot, using TTL serial to restore it.
Xiaomi WR30U / Redmi CR6606 (China Unicom version) Front
Follow these steps to recover your router
Access U-Boot command line via TTL serial → Transfer hanwckf stock U-Boot via serial → Use new U-Boot's Web recovery or TFTP to flash system firmware → Recovery complete.
| Item | Specification | Purpose |
|---|---|---|
| USB-to-TTL Module | CH340G/CP2102, 3.3V logic | Connect computer to router serial port |
| Jumper Wires | Female-to-female or male-to-female | Connect to TTL pins (insert stripped wire into through-hole) |
| Ethernet Cable | Standard cable | Connect computer to router LAN port |
| Plastic Pry Tool | Credit card or dedicated tool | Open case (screwless version) |
Only the U-Boot file is required. System firmware will be flashed later via U-Boot's Web recovery or TFTP — no need to prepare it in advance.
Some WR30U versions have no screws on the bottom — they use pure snap-fit design. Start from the top cover:
| Step | Action |
|---|---|
| Inspect | Check the bottom of the router — confirm no rubber feet or screw holes |
| Pry open top cover | Insert plastic pry tool/card into the seam along the top cover edge. Slide around slowly to release each snap (listen for clicks) |
| Tips if tight | Use a hair dryer on low heat to warm and soften the plastic edge. The network port side or vent holes side are easiest to start from |
| Remove cover | Once all snaps are released around the perimeter, lift off the top cover to reveal the mainboard |
Don't be afraid of breaking snaps — it won't affect use. If needed, also remove the bottom cover or mainboard mounting screws.
WR30U mainboard has 4 through-hole pads for TTL (no vertical pins installed). They're usually near the network ports or board edge.
| Pin | Description |
|---|---|
| 3.3V | Do NOT connect |
| TX | Connect to module RX |
| RX | Connect to module TX |
| GND | Must connect |
| WR30U Mainboard | USB-TTL Module | Note |
|---|---|---|
| GND | GND | Required |
| TX | RX | Cross connection |
| RX | TX | Cross connection |
| 3.3V | Do NOT connect | Prevents power conflict |
Wiring method: Strip the end of a jumper wire, insert into the through-hole pad, secure with hot glue or tape.
MT7981> prompt or Boot Menu appears (press 0 for command line)
If U-Boot network is damaged (ping fails, ARP Retry), TFTP is unavailable. Serial file transfer is needed to flash new U-Boot.
1. Start Kermit Receiver
2. Tera Term Send File
File → Transfer → Kermit → Send, select mt7981_wr30u-fip-fixed-parts-multi-layout.bin
3. Flash Directly (No Verification Needed)
If Kermit transfer is slow or fails, try lowering baud rate to 57600, or use Ymodem protocol:
After reboot, hanwckf U-Boot is active and network is restored. Flash system firmware via one of these methods:
| Step | Action |
|---|---|
| Set computer IP | IP: 192.168.31.254/24, Gateway: 192.168.31.1 |
| Enter Web Recovery | Press Reset to enter U-Boot, Web recovery starts automatically, open browser to http://192.168.31.1/ |
| Select Layout | Choose default or qwrt (depending on firmware type) |
| Upload Firmware | Select OpenWrt sysupgrade firmware, wait for auto-reboot after completion |
After reboot:
| Problem | Solution |
|---|---|
| Top cover won't pry open | Heat the edge with a hair dryer to soften plastic, or start from the network port side |
| Kermit transfer slow or failed | Lower baud rate to 57600, or try Ymodem/Xmodem protocol |
| Web flash says "Image not supported" | Try a different layout (default or qwrt) |
| UBI partition error | Execute nand erase 0x700000 0x6e00000 in U-Boot command line |
| Won't boot after flashing | TTL connection available — re-enter U-Boot and flash again |
| Network unreachable | Check cable, IP settings, firewall. Confirm LAN port is used (not WAN) |
Happy recovering! 🎉
This tutorial is for learning and reference only. Flashing firmware carries risks and may cause brick or void warranty. Before proceeding:
Last updated: April 2026