1. Current Location: Home >  Router settings >  The router is bricked, can the original NAND be replaced with spi flash?

The router is bricked, can the original NAND be replaced with spi flash?

1. Let's talk about the conclusion first

as long as the motherboard meets the following 3 conditions at the same time, the SPI-NAND Flash on the original machine can be replaced with SPI-NOR Flash to revive the "brick":
  1. PCB reserve an 8-pin SPI-NOR pad (or you can fly wire to solve it).
  2. SoC The boot pin can be switched to SPI mode (usually pulled up and down by 0 Ω resistor or empty pads).
  3. you can get the "SPI version" of Breed/U-Boot and use the programmer to burn it into the new Flash first.
is indispensable, otherwise it will still not be lit.

2. Understand the principle in 30 seconds

When powering up
home routing SoC (MT7621/MT7628/AR934x, etc.), first decide where to find the 1st stage bootloader based on the level of the GPIO strap:
  • low-level → to go through the internal SPI-NOR controller
  • high-level → through internal SPI-NAND controller
original factory directly soldered the NAND particles and pulled the strap up in order to save costs.
what we need to do is pull down the strap, and then solder the NOR chip on it so that the CPU starts from NOR. Later, use Breed to brush the firmware that really runs the business.

3. Preparation before actual combat

The router is bricked, can the original NAND be replaced with spi flash?


4. Standard 6-step operation process

the following is an example of "Xiaomi Routing 3", other models change the soup without changing the dressing, and the strap designation is different.
  1. dismantling the board to take pictures
    take pictures of the front and back of the high-definition before dismantling the machine, so that it is convenient to fly the line and retrieve the resistor number in the future.
  2. confirm that the SPI pad is usually left with an empty 8-pin pad on the back of the motherboard
    silk-screen "U17", "J17", or "SPI_FLASH". Without an empty disk, you have to fly to the SPI0 pin (CLK/MOSI/MISO/CS#) of the SoC.
  3. switching the boot mode
    Xiaomi Routing 3 needs to reverse the two pairs of 0402 resistors, R139↔R137 and R124↔R126 (that is, change the strap foot that was originally pulled up to pull down).
    operation: blow down the heat gun → the swap position → and solder it back.
    Other models:
    • Newifi D2: Changed R64 from 1→0 Ω to the opposite empty disk
    • Pole Route 4: Remove R123 and weld it to the opposite empty disk
      In a word: Let the corresponding strap foot "ground".
  4. offline programming Breed
    clip the W25Q128 to the programmer, select "W25Q128JV", and flash the SPI version of Breed (with "spi" or "nor" in the file name) of the corresponding CPU.
    burn it and write the ART partition (64 KB) to prevent 5G from being uncalibrated.
  5. soldered back to the motherboard
    NOR align 1 small dot with the silk screen triangle, and quickly complete it with hot air at 330 °C.
    recommend removing the original NAND by the way to prevent bus conflicts.
  6. power-on verification
    plug in the TTL cable, baud rate 115200, you should be able to see the Breed start message on power-up:
    U-Boot 1.1.3 (Sep 01 2022 - 23:18:42) Board: R3 SPI-NOR
    hold down the Reset button and plug it in, the PC network port gets the 192.168.1.x address, and the browser enters 192.168.1.1 to flash the firmware.

5. Summary of common rollover points

phenomenon Causes solve
serial port has no output 1. strap did not succeed
2 NOR not welded/falsely soldered
whether the multimeter strap pin is <0.4 V; Heavy blowing NOR
output garbled characters TTL Wire connection reverse or baud rate wrong swap RX/TX to confirm 115200
Breed can be used, but the wireless signal is extremely poor after flashing the firmware didn't write ART/EEPROM "Update ART" item in Breed to revert to factory calibration
5G Disappear directly firmware does not include a corresponding wireless driver find the dedicated SPI version of Pandora/Padavan/OpenWrt

6. Is it worth changing?

  • only 16 MB of SPI-NOR space, it cannot fit the full version of OpenWrt, only the lite version or the old Maozi.
  • lose the official warranty after hard modification, the MAC address needs to be written back manually, otherwise the Mesh network and the official app will fail to recognize.
  • if the motherboard does not reserve an empty space and the strap foot is hidden in the BGA, it is extremely difficult to fly the line, so it is convenient to directly change the board or buy a new route.
one sentence :
"have an SPI disk + cut strap + can play a programmer", it is considered a practice, and the cost is 5 yuan;
"lack of disk + lack of schematic diagram + no heat gun", decisively give up, and the time cost is much higher than buying a new AX3000.
Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《The router is bricked, can the original NAND be replaced with spi flash?
Article URL: https://www.shunot.com/en/luyou/691.html
Unless otherwise stated, all articles are original by 《Routing enthusiast》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Comment List

The lonely shadow...
The lonely shadow...Reply
#15
This method is quite practical, but the operation is complicated, and you need to pay attention to every detail, especially the start pin setting and flying wire soldering.
3 个月前
Ink stains the city
Ink stains the cityReply
#14
Replace Flash with caution, motherboard compatibility is key. If the conditions are not met, even if you replace it with SPI NOR, it will be difficult to save the "brick". Be sure to check the strap settings and pad reservations before operation, otherwise it may be in vain.
3 个月前
Tears of the city
Tears of the cityReply
#13
This method is quite creative, but the operation risk is quite high, especially the flying line and resistance adjustment, which may be completely scrapped if you are not careful. It is recommended that novices try it carefully, preferably with experience guidance.
3 个月前
The island of the...
The island of the...Reply
#12
Before replacing Flash, be sure to check whether the motherboard and SoC are compatible, otherwise it may backfire. Caution is required and experienced personnel are recommended to avoid further damage to the equipment.
3 个月前
Qinghuan Ferry
Qinghuan FerryReply
#11
This method is quite creative, but the operation is complex, requiring precise adjustment of the boot pin and replacement chip, which is not friendly to novices, and it is recommended for experienced players to try it.
3 个月前
The north wind blows
The north wind blowsReply
#10
This method is quite practical, but the operation needs to be cautious, especially the flying line and resistance adjustment, and the slightest carelessness may really "become bricked". It is recommended that experienced players try it, and novices should be conservative.
4 个月前
An old friend in ...
An old friend in ...Reply
#9
Switching to SPI NOR Flash can indeed revive the "brick", but it is complex and requires caution. If the motherboard is not supported, forcing a replacement may be counterproductive. It is recommended to confirm the conditions before starting to avoid secondary damage.
4 个月前
Light summer memo...
Light summer memo...Reply
#8
This kind of transformation does have drama, but the threshold for operation is not low, especially the flying line and flashing steps are prone to errors, it is recommended that experienced players try it, otherwise it may backfire.
4 个月前
Idle clouds and w...
Idle clouds and w...Reply
#7
Changing the type of flash memory needs to be cautious, and it is necessary to confirm whether the motherboard has reserved interfaces and boot mode switching conditions, otherwise it may not be able to light up the device or even cause more serious problems.
4 个月前
Xiao Ming's class...
Xiao Ming's class...Reply
#6
This method is quite practical, as long as the motherboard supports it, changing flash memory can indeed save the brick machine. However, it requires certain skills to operate, and flying wires and programming firmware are difficult, so novices are advised to be cautious.
4 个月前
Listen to the wind
Listen to the windReply
#5
This method sounds professional, but the operation risk is very high, and the slightest carelessness may completely damage the device, so novices are advised to try it with caution.
4 个月前
The sword points ...
The sword points ...Reply
#4
This method sounds reliable, but the operating threshold is quite high, you need to understand hardware and programming, and a little carelessness may be counterproductive, so it is recommended that novices try it with caution.
4 个月前
Xiao Ming
Xiao MingReply
#3
This method is quite practical, as long as the three conditions are met, the router can be resurrected, saving a lot of trouble. However, it still requires a certain technical foundation to operate, and it is recommended that novices consult more information.
4 个月前
A time of allure
A time of allureReply
#2
This method is quite practical, as long as the three conditions are met, the router can be revived, suitable for users with a certain hands-on ability to try, but be sure to confirm before operation.
4 个月前
The white hair is...
The white hair is...Reply
#1
Replacing the NAND with SPI NOR is feasible, but you need to pay attention to the motherboard reserved pad and boot pin settings.
4 个月前

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow