Really appreciate everyone's work on this, but no success here. I've got RT-N66U hardware version B1 & firmware 1.0.1.2. Running Tomato Firmware v1.28.0500 MIPSR2Toastman-RT-N K26 USB Ext. No connection on WAN during the update.
I downloaded cfe_n66u-1.0.1.3-4.tgz and transferred it to the router using WinSCP. Connected to the router with SSH.
Sent command "tar -xzf ./cfe_n66u-1.0.1.3-4.tgz" No errors & a bunch of files were shown by WinSCP. Copied all files to computer.
Sent comand "./cfe_update.sh /dev/mtd0ro" 2 changes shown. Told it to flash (Y).
It said "File contains an invalid header" followed by "Update completed."
Rebooted. "cat /dev/mtd0ro | grep bl_version" still shows bl_version=1.0.1.2
Below is the full SSH session.
--------------------------------------------------------------------------
login as: root
[email protected]'s password:
Tomato v1.28.0500 MIPSR2Toastman-RT-N K26 USB Ext
root@unknown:/tmp/home/root# cat /dev/mtd0ro | grep bl_version
bl_version=1.0.1.2
root@unknown:/tmp/home/root# tar -xzf ./cfe_n66u-1.0.1.3-4.tgz
root@unknown:/tmp/home/root# ./cfe_update.sh /dev/mtd0ro
[1/4] Dumping default NVRAM settings from original CFE...
nvram header found:
start 0x400
end 0x13c4
len 4036
crc 0xc0
ver 0x01
[2/4] Preparing new CFE...
nvram header created:
start 0x400
end 0x13c8
len 4040
crc 0x48
ver 0x01
[4/5] Checking differences between NVRAM from old and new CFE's
--- nvram_orig.txt 1969-12-31 22:03:21.577714997 -0200
+++ nvram_updated.txt 1969-12-31 22:03:21.677714997 -0200
@@ -4 +4 @@
-bl_version=1.0.1.2
+bl_version=1.0.1.3
@@ -19,0 +20 @@
+odmpid=ASUS
If you see only two differences: one is for 'bl_version' variable change
and second is a new 'odmpid=ASUS' variable then all goes well!
[5/5] Flashing new CFE...
Do you want to flash a new CFE bootloader that? [y,n]y...flashing...
File contains an invalid header
Update completed. Old CFE is stored to cfe.old file, a new one - to cfe.new
It's strongly recommended to store them, just in case.
Please note, your personal MAC addresses in there, do not distribute them.
root@unknown:/tmp/home/root#