1. Current Location: Home >  Router Encyclopedia >  Must-read before flashing OpenWrt: Selecting firmware, degeneration bricks, and the first step after flashing—all explained in one article

Must-read before flashing OpenWrt: Selecting firmware, degeneration bricks, and the first step after flashing—all explained in one article

OpenWrt flashing security roadmap

old router firmware isn't good, I want to flash OpenWrt for plugin freedom, but after reading a bunch of 'bricking' posts, I don't dare to take action. In fact, as long as you choose the right model, match the firmware version, and follow the correct order, the risk is completely controllable. This article starts from scratch and follows it once to get it.

Step One: Confirm whether your machine can flash

search for your model on the firmware download page (downloads.openwrt.org) on the OpenWrt official website. If you find it, it means it is officially supported. Pay attention to the hardware version when searching—routers with the same name often have V1/V2/V3, but the hardware is completely different. Flashing the wrong firmware version is the main cause of bricking. The version number is on the label on the back of the machine, so I'll copy it down first.

official support doesn't mean you can't farm. Many domestic models (Xiaomi, Redmi, TP-LINK in China) have dedicated community firmware. On Enshan forums, search for "model + immortalwrt" or "model + OpenWrt", and usually find ready-made ones. Most Xiaomi models require unlocking SSH before flashing, which is a step more than official models, but the tutorial is more mature.

older phones with less than 128MB of RAM and less than 16MB of Flash, I recommend not flashing even if you can. Installing two plugins fills up the space, but the experience is terrible.

Step 2: Select the correct firmware file

the same model, you often see several files; choosing the wrong one will definitely be a brick

__ HTML41__
filename features purpose
factory directly flash on the factory system (webpage backend upgrade)
sysupgrade is already OpenWrt, internal upgrades are run in
initramfs memory, no Flash is written, testing is
ubi/rootfs (Xiaomi series) is a base packet written to DD or MTD after SSH

one thing to remember: factory flashing OpenWrt, use factory; upgrade OpenWrt yourself using sysupgrade. Never cross-use. Xiaomi and other models, first flash the base package and then the sys upgrade; do not reverse the order of these two steps.

Step 3: Hands-on brushing, three routes

Route A: Direct webpage backend (the simplest)

factory backend usually has a "firmware upgrade" entry, select factory file upload, and restart. Note: Power cut during upgrade = bricking. When unplugging the laptop battery, do not touch the power cord or desktop power strip. Wait five minutes to replace it for stability.

Route B: Recovery/TFTP recovery mode (can also be used for brick recovery)

many models have a recovery mode: power off, hold down Reset to power on, connect the computer with a network cable when the indicator light flashes quickly, and the TFTP client pushes the firmware over. If the machine is completely unresponsive, this path can be saved. Before flashing, check this method and install the tools first—it's like leaving yourself a backdoor.

Route C: SSH command line flashing (common in Xiaomi and soft routers)

first scp the firmware to the /tmp directory on the machine, then:

sysupgrade -v /tmp/firmware.bin

or Xiaomi series bottom packets are written to the partition using dd. The advantage of command flashing is that you can see progress errors; the downside is that there is no confirmation popup, so before typing the command, you must check the file name three times.

Step 4: The first login after swiping is done

After reboot, the router will switch to OpenWrt default configuration:

  • management address is usually 192.168.1.1 (some community firmware uses 192.168.6.1 or 10.x, see firmware instructions).
  • no password, just open the browser and log in. The first thing is to set a management password
  • WiFi is not enabled by default (official firmware is the same). Network cable connection and configuration are required
After

the backend, the order is: first set up WAN port dial-up or DHCP to enable network connectivity, then set up WiFi (2.4G and 5G are set separately, with the channel being the most empty among 1/6/11), change the management address to avoid conflicts with the upper-level device, and finally start installing the plugin. If the order is reversed, it's easy to lock yourself out.

plugin entry is under "System - Packages"; click Refresh the list first. The most commonly used ones are: AdGuard Home for removing ads, MacVlan for multi-dialing, and nlbwmon for bandwidth monitoring. Don't be greedy—Flash space is limited, and if you fill it up, the system will run into all sorts of weird issues.

What if it really gets dark

indicator light is still on but cannot enter the background: Try Recovery Mode (Route B). Turn off the power and hold down Reset to power on, wait 20 seconds for release, and see if ping can reach 192.168.1.1.

had no reaction at all: Don't rush to throw it away. Most Xiaomi and TP-LINK devices have TTL to save bricks. You can solder four wires to the motherboard to connect the USB-TTL small board and write it back to the factory bootloader. The computer mall can repair phones for just ten yuan to help you solder them. True "hard bricks" are actually very rare; most are faking death.

mindset during brick rescue: Bricking isn't shameful. Every comment on Enshan's PC flashing post contains the corpse of predecessors and resurrection methods. Searching "model + brick rescue" basically yields ready-made answers.

beginner-friendly reference models

if you want to play OpenWrt before buying a device, start with these. Cheap and packed with tutorials: Xiaomi AX3000T (requires unlocking), Redmi AX6000 (with excessive but mature specs), TPLINK overseas XDR series (native support), or simply x86 soft routers in the hundred-yuan range (N100 mini PC), without Flash storage anxiety.

Final reminder: Before flashing, make sure to back up your current factory firmware (the backend upgrade page usually exports it). If you quit, you can flash it back. Second-hand is easy to sell and is considered environmentally friendly.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《Must-read before flashing OpenWrt: Selecting firmware, degeneration bricks, and the first step after flashing—all explained in one article
Article URL: https://www.shunot.com/en/lybk/753.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow