Edgerouter X bricked after attempt to update to 24.10

Hi all!

My mistake, I know! Didn’t read the instructions, and end up to force the upgrade to 24.10 from 23.05, and now, my Edgerouter it’s bricked!

I tried tftp (not serial) to send Edgerouter recovery *.img trough 19.168.1.20, but end up not doing nothing…

Please, any help?

Have you seen the following link?

https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka#serial_installation_with_tftp

There's also a program which does it for you mentioned

Yes, I saw those links, but I’m waiting for the usb-ttl serial cable…

While I’m waiting, I’m seeking how to do instructions :pray:

I'd use the official instructions personally. When I had the erx I had success with them.

Since you failed to read the sysupgrade warning that says upgrading from 23.05 will brick the device the first time around, I would suggest you try the TFTP recovery procedure again. But this time, calm down, slow down, and carefully read and understand the instructions in their entirety.

Especially the link provided to you earlier. These are the correct instructions to recover the device. Be sure there are no typos in your commands, especially since your post already has a critical typo like "19.168.1.20" instead of "192.168.1.20". If there's any step that's not clear, don't hesitate to ask here.

In what way does it do nothing? Does the TFTP client connect? Does the TFTP upload succeed?

Many thanks for your answer and help!

    • I have power on the Edgerouter X and press reset buton for 30 seconds. Leds start blinking eth0, eth2 and eth4 at same time and than eth1 and eth3 - showing that it's on tftp recovery.
    • I have set my pc to
      192.168.1.15
      and upload to Edgerouter X (192.168.1.20).

and use tftp program - PumpKIN to transfer the file for the ER-X provide in this link from Ubiquiti.

After this transfer, appears a message saying TFTP:2: Firmware check failed.

And if I power off and power down, can't acess to 192.168.1.1... That is why I'm saying that dosen't does nothing after this upload.

As I mention, this tftp transfer it's only with ethernet cable plug on eth0, cause I don't have yet the serial cable usb-ttl.

But because says on Ubiquiti help page that we can use this method, I tried but no sucess

:frowning:

there is anything I can do before the cable usb-ttl arrives?

Looks like you used the 1.x firmware. Could try the 2.x firmware to see if that works?

Also could send openwrt 23.x and see if that works too

It looks like the TFTP connection is working and the upload succeeded. TFTP doesn't do any firmware checking itself, so the fact that you get this message means you're almost there.

I agree with this suggestion. I've only ever used the 2.x firmware for recovery. Look for the download link labeled with "ER-X" under the "v2.0.6" section header on the Ubiquiti help page. That's the one you want.

Does the same behaviour with 2.0.6 firmware….
Transfer the file, but in the end says the same and does not do nothing

@d687r02j8g Can you point me the openwrt firmware to upload?

The link should be: https://dl.ui.com/firmwares/edgemax/v2.0.x/ER-e50.recovery.v2.0.6.5208541.190708.0508.16de5fdde.img.signed

Your TFTP client might be sending the file in ASCII mode. This will completely mangle it. Click on "Options" in your client and see if there's a setting to send the file in binary mode. Otherwise, use a different TFTP client like tftpd64.

1 Like

Many thanks my friend!

You save my day!

Tried, with no hope, a diferent tftp client as you sugest, and was strait forward!

Many many thanks!

Now, please, if you are pacience, please point me how to move from EdgeOS to openwrt 24.10

I successfully upgraded my ER-X from 23.05 to 24.10 using this https://github.com/darkxst/erx-migration
So I would suggest re-installing 23.05 and then using those scripts

NB its a one-way trip, I dont believe you can go back to stock firmware afterwards

can I describe and see if I'm getting everything done ok?

I log on 192.168.1.1 to EdgeOS.
:white_check_mark:Than I upload the file from this link - openwrt-ramips-mt7621-ubnt_edgerouter-x-initramfs-factory.tar - trough web UI of the EdgeOS

:white_check_mark: reboot the edgerouter X

:white_check_mark: than upload the upgrade firmware of Openwrt 23.05

:white_check_mark: after this

Login to router using ssh
Copy both scripts to /tmp/ on your router
-ubnt_erx_migrate.sh
-ubnt_erx_stage2.sh
Run below shell commands
cd /tmp
chmod +x ./ubnt_erx_migrate.sh
./ubnt_erx_migrate.sh

Hope this is ok?

It's a while since I cconverted my ER-X to Openwrt but that sounds about right.
For reference the instructions to install Openwrt are here https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka. Once you've got 23.05 installed then yes, you copy the migrate scripts to the router and run them. They will modify the ubi layout and download and install 24.10

If you have a problem how to do, You can search @VanTechCorner on YT tutorial how to do that. On his movie, he is showing step by step how to install openWRT on er-x.
I put the link to the movie, but it is not my channel, and the post was removed.

many thanks!

yes, I saw that. tonight I will take the steps to do it :wink:

A quick update on this subject, to "revive" edgerouter X and reinstall Openwrt 24.10

I had to use exactly these firmwares indicated on the page
https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka

If at any point you soft-brick your router, you can recover it with the EdgeOS image following instructions here: https://help.ui.com/hc/en-us/articles/360019289113.

If you're trying to follow the above on ERX SFP, and getting “upgrade failed” or “invalid firmware”, here's what worked for me (@noseratio):

- Installed the stock v2.0.9: https://dl.ui.com/firmwares/edgemax/v2.0.9/ER-e50.v2.0.9.5346345.tar

- Downgraded to the stock v2.0.3: https://dl.ubnt.com/firmwares/edgemax/v2.0.x/ER-e50.v2.0.3.5189349.tar

- Installed OpenWrt v19 openwrt-ramips-mt7621-ubnt-erx-initramfs-factory.tar

-Then Installed Openwrt sysupgrade v21.02.2 https://firmware-selector.openwrt.org/?version=21.02.2&target=ramips%2Fmt7621&id=ubnt_edgerouter-x

Then send trough SCP the 2 files to /tmp https://github.com/darkxst/erx-migration

ONLY with this steps I achieve again acess to my router with Openwrt 24.10

Next time I need to pay much more attention to the ALERTS made by the web ui

Can someone help me please I'm not sure if I'm using tftpd64 correctly. I have the same device and same problem and trying to recover it. Used putty to establish a serial connection. Finally got to the point to upload the file but then its giving checksum bad on the terminal.

T means "Timeout". Your image is not being transferred by TFTP. Is the Windows firewall perhaps blocking access to TFTP?.

Next time, please don't post screenshots, Copy-paste the text, and/or describe the information.

I fixed it. It was a problem with tftpd64. I sucessfully restored my ER-X. Thank you