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

Qinghuan Ferry
Qinghuan FerryReply
#30
Replacing the Flash chip can indeed save the "brick", but you need to carefully confirm whether the motherboard is compatible, otherwise it may backfire. Before operation, be sure to check the start pin settings and chip type to avoid secondary damage.
1 个月前
Xiao Ming
Xiao MingReply
#29
This method sounds very professional, but the operation is quite risky, especially the flying wire and burning the firmware, which can completely damage the device if you are not careful, so it is recommended that experienced players try it.
1 个月前
Dreamer
DreamerReply
#28
This method is quite practical, as long as the motherboard supports it, changing the flash memory can revive the router, and the key to operation is in the boot pin and firmware compatibility, you need to pay attention to the details to succeed.
2 个月前
Broken Bridge Yiren
Broken Bridge YirenReply
#27
Replacing NAND with SPI NOR is feasible, but you need to pay attention to motherboard compatibility and boot configuration, and be sure to check strap settings and firmware adaptability before operation, otherwise it may be counterproductive.
2 个月前
A leaf knows autumn
A leaf knows autumnReply
#26
Replacing NAND with SPI NOR Flash can indeed save the day, but the operation is complex and risky, and it needs to be approached with caution to ensure that every condition is met, otherwise it may be counterproductive.
2 个月前
A famine year
A famine yearReply
#25
This method is quite practical, as long as you meet three conditions to revive the router, the key is to find the right Breed firmware and set the boot pins correctly.
3 个月前
Time machine
Time machineReply
#24
This method is quite practical, as long as the three conditions are met, the router can be resurrected, saving a lot of trouble, suitable for users with a certain hands-on ability.
3 个月前
Blooming season
Blooming seasonReply
#23
Replace Flash with caution, strap settings and motherboard pad reservations are key, otherwise it may backfire. Be sure to check the conditions before operation to avoid bricking again.
3 个月前
The broken bridge...
The broken bridge...Reply
#22
This method sounds reliable, but it requires certain skills to operate, especially the flying wire and the firmware part, which may be counterproductive if you are not careful, so novices are advised to be cautious.
3 个月前
Light summer memo...
Light summer memo...Reply
#21
This method is quite practical, but it requires certain skills to operate, especially the flying line and resistance settings, and a little carelessness may cause more problems, so it is recommended that novices try it carefully.
3 个月前
The misty rain is...
The misty rain is...Reply
#20
This method is quite creative, but the operation is complex and risky, suitable for users with a certain electronic foundation to try, ordinary players are better to be cautious.
3 个月前
The breeze stirs ...
The breeze stirs ...Reply
#19
This method is quite practical, as long as the motherboard supports it, replacing flash memory can indeed save bricks, but the operation is complicated, and the conditions must be carefully checked, otherwise the previous efforts will be wasted.
3 个月前
The stars are the...
The stars are the...Reply
#18
This method sounds good, but it is complex and requires careful handling of each step, especially the flying wire and pin settings, as the slightest carelessness can lead to complete damage to the device.
3 个月前
Dreams are haunted
Dreams are hauntedReply
#17
Replacing Flash may seem simple, but it requires caution. If the motherboard does not reserve NOR pads, or if the boot pins cannot be adjusted, it will be difficult to save the "brick" even if there is Breed. Always check the conditions before operation, otherwise it may be worse.
3 个月前
The south wind ha...
The south wind ha...Reply
#16
Be cautious when replacing Flash, the motherboard design varies greatly, be sure to check the strap settings and pad conditions before operation, otherwise it may get worse and worse, and even cause complete damage to the router.
3 个月前

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow