5G NSA Router ramips mt7621 Brand : Huastlink Model : HC951

Good mornig .

I just bought a 5G router on Alibaba.com :

https://m.alibaba.com/product/1600763274892/2023-New-Arrival-Dual-5G-NSA.html?__sceneInfo=%7B%22cacheTime%22%3A%221800000%22%2

This is the info on my 5G router .

DISTRIB_ID='LEDE'
DISTRIB_RELEASE='17.01-SNAPSHOT'
DISTRIB_REVISION='unknown'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot 17.01-SNAPSHOT unknown'
DISTRIB_TAINTS='no-all busybox'

It comes with LEDE 17.01-SNAPSHOT . I use extroot tutorial to upgrate the flash from 4 mb to 8 GB using a external USB .

df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                11.3M     11.3M         0 100% /rom
tmpfs                   124.1M      1.7M    122.4M   1% /tmp
/dev/sda1                 7.3G     70.6M      6.9G   1% /overlay
overlayfs:/overlay        7.3G     70.6M      6.9G   1% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sda1                 7.3G     70.6M      6.9G   1% /mnt/sda1
/dev/mtdblock6            2.6M      1.0M      1.6M  39% /mnt/mtdblock6

I created a backup using these commands :slight_smile:

cat /dev/mtd0 > /tmp/Bootloader.bin
cat /dev/mtd1 > /tmp/Config.bin
cat /dev/mtd2 > /tmp/Factory.bin
cat /dev/mtd3 > /tmp/firmware.bin

This is the firmware that my router has :

https://drive.google.com/file/d/1kfHFar1rE1fG7erprwF-969egUfXcwsO

This is the factory :

https://drive.google.com/file/d/1NasIhsUjl8KjKX4WrBo05jvBIlvgRgfz

Is there a way to upgrade the firmware to the newest openwrt versions ?

This is the info from my router :

Could you help me to upgrade it to the newest version, please ?

I will wait to hear from you .

if it's not here, it's not supported.

1 Like

You should ask the vendor for the source code to build the 'firmware'.
Then YOU will need to migrate this v17.0 LEDE basis to the latest master OpenWRT code.

The mt7621 platform is relatively popular, and has quite a few devices already available under OpenWRT master.
But as noted, this does NOT mean that YOUR device has support. YOU will need to add support for YOUR device if YOU care to have the latest version.

The way to add support would be to create a Device Tree file (.dts) that represents the various hardware/software components for the device. That should allow you to build a bootable image.
You'd want to access the bootloader (this is your problem to solve), and load the bootable image into memory then boot from it. Hopefully that gives you a working device.
If it all works, then you can go about flashing that image into the non-volatile storage (NAND/NOR/eMMC/whatever) and that would be 'job done'...
If it doesn't work... well... that's a problem... you'd want to fix it...

1 Like

@bevanweiss i backup the bootloader and firmware using the next command :

cat /dev/mtd0 > /tmp/Bootloader.bin
cat /dev/mtd1 > /tmp/Config.bin
cat /dev/mtd2 > /tmp/Factory.bin
cat /dev/mtd3 > /tmp/firmware.bin

That does not work ?

You're asking us, why it doesn't work on a 3rd party fw ?

@frollic @bevanweiss what I tried to say if the backup that I did for the bootloader , factory and the firmware is it is not enough using the cat /dev/mtd commands?

By the way a few minutes ago I contact my supplier and he said that he's going to send me the search code , as soon as he sender it i will post it here.

NO!!! It's not even the slightest bit close

You will need to learn about how to compile the linux kernel, how to write a Device Tree for a new device. How to reverse engineer unknown hardware and potentially software interfaces.

You currently haven't shown much in the way of understanding of this.
So you will either need to put in some serious work to get your understanding up to speed.
Or just give up, and live with the software version contained within the firmware binaries the vendor has provided you.

Do NOT post it here.
You could create a github, and put it into your github, and put a link here.
But we are almost certainly not going to look into it.
You really missed the part earlier about YOU WILL NEED TO DO THE WORK.

2 Likes