Why are people still ignoring the warnings before flashing their device. Just yesterday, someone posted here mentioning a soft brick for the exactly same reason.
This was the first thing I'd considered before buying the device What's your favourite cheap LEDE/OpenWrt device? - #729 by Cthulhu88 and together with the firmware version, the first thing I'd looked after buying it What's your favourite cheap LEDE/OpenWrt device? - #734 by Cthulhu88
XMiR-Patcher should add a confirmation dialog when flashing based on the result of dmesg
.
winbond = re.search(r"^\[.*?\] spi-nand spi0\.0: Winbond SPI NAND was found\.$", dmesg_output, re.IGNORECASE | re.MULTILINE)
if winbond is not None:
print("THIS DEVICE CONTAINS A WINBOND NAND CHIP.")
print("YOUR DEVICE WILL SOFT BRICK AFTER FLASHING A STABLE BUILD.")
print("MAKE SURE TO READ ALL OF THE WARNINGS FOR THIS DEVICE.")
print()
if not confirm("Continue with flashing?"):
abort()
Anyway, you can use MIWIFIRepairTool
to restore the stock firmware and solve your soft brick.