How do I Save My Glinet Mango

Today I faced an issue with my GL.iNet Mango (Yellow) router: it wouldn’t boot properly. When the Wi-Fi LED tried to turn on, all LEDs shut down immediately. The reset button was not working correctly either.

To fix this, I opened the router and looked for the GND, TX, and RX pins. Using a USB-to-TTL adapter, I connected to the router to check the boot logs and diagnose the problem.

Steps I followed:

Step 1: Open the router.

Step 2: Locate the GND, TX, and RX pins on the board.

Step 3: Connect them to a USB-to-TTL adapter (TX and RX must be crossed).

Step 4: Install the CP210x Universal Windows Driver.
(I’m not very familiar with it, but after installing it, the adapter was detected as COM6.)

Step 5: Configure PuTTY to connect via Serial:

  • Port: COM6 (or the port assigned to your adapter)

  • Speed (baud rate): 115200

Step 6: Power on the GL.iNet router (in my case, using a USB-to-Micro-USB adapter, 5V 1.5A).

After a few seconds, boot logs started appearing in the terminal. From there, I restored the router to factory defaults using the following command:

firstboot -y && reboot

After a few seconds, the router rebooted with factory settings and started working normally again.

I hope this explanation is clear and helpful. In my case, I decided to try this repair because it was the only router I had available, so I had no choice but to attempt fixing it until I can eventually buy another one from the same brand, but a better model.

Best regards.


1 Like

Critical Error Manual: What NOT to do with your Mango
​1. DO NOT use the wrong voltage on Serial (UART) pins
​If you decide to open the router to connect via console:
​The Error: Connecting a 5V adapter to the data pins.
​Why: The Mango processor operates at 3.3V. Applying 5V through the RX/TX pins can instantly fry the chip. Ensure your USB-to-TTL adapter is set to 3.3V.
​2. DO NOT connect the Power Pin (VCC)
​The Error: Connecting the VCC pin of your serial adapter while the router is already plugged in via its Micro-USB port.
​Why: This creates a power conflict that can burn the voltage regulators. Golden Rule: Only connect the GND, TX, and RX pins. Never connect the voltage pin if the router is already powered by a USB cable.
​3. DO NOT disconnect power during "Flashing"
​The Error: Turning off or unplugging the router while the LED is flashing during a U-Boot update.
​Why: If the process is interrupted midway, the operating system will be corrupted (incomplete), and the router will fail to boot, forcing you to start over or potentially damaging the boot partition.
​4. DO NOT use Wi-Fi to enter U-Boot mode
​The Error: Trying to access 192.168.1.1 via Wi-Fi while attempting to recover the router.
​Why: In recovery mode, the Wi-Fi radio is turned off. Only the LAN port is active. You must use an Ethernet cable.
​5. DO NOT mix up TX and RX pins
​The Error: Connecting TX to TX and RX to RX.
​Why: This is a basic communication mistake. The Transmit (TX) from one side must go to the Receive (RX) on the other. If you don't see any text in your terminal, your cables are likely swapped. Remember: TX -> RX and RX -> TX.
​6. DO NOT forget the Static IP on your PC
​The Error: Trying to access the recovery page while leaving your computer on "Obtain IP address automatically."
​Why: U-Boot mode is extremely basic and does not have a DHCP server. If you don't manually set your PC to 192.168.1.2, your computer will never "see" the router.
​Final tip for the user: "If the router doesn't respond to the first U-Boot attempt, don't panic. Sometimes the timing of the Reset button is precise (usually 5-8 seconds until the LEDs change). Patience is key!"

Hi,

Thank you for sharing such a detailed guide.

Of course, if U-Boot is still accessible, we would recommend restoring the system to factory settings or reflashing the firmware using the methods below:

These two methods are simpler and do not require opening the device enclosure.