New Router from china with mt7981 and mt7976 6 antennas

Device mediatek,mt7981-spim-snand-rfb-wr3000k
I got i new router from china named like above its originally named only wifi6 ax3000, i asked them to install latest openwrt but they installed snapshot version, so i got many problems setting up v2raya library. It has about 300 mb of total space on which i wanted to install v2raya, but unfortunately df -h command which i used to see partition shows me this :
"
root@OpenWrt:/tmp# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 13.3M 13.3M 0 100% /rom
tmpfs 240.4M 13.9M 226.4M 6% /tmp
/dev/ubi0_2 23.3M 672.0K 21.4M 3% /overlay
overlayfs:/overlay 23.3M 672.0K 21.4M 3% /
tmpfs 512.0K 0 512.0K 0% /dev
"

So is there any way to enlarge or repartition to make /overlay bigger than 23.3Mb because v2raya is about using 42mb which i have in other partition ( /tmp)
I would tell any necessary information about this router and what it has.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /proc/mtd
ubinfo -a
BusyBox v1.33.2 (2023-09-26 06:36:32 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02-SNAPSHOT, unknown
 -----------------------------------------------------
root@OpenWrt:~# ubus call system board
{
        "kernel": "5.4.213",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 4",
        "model": "MediaTek MT7981 RFB WR3000K",
        "board_name": "mediatek,mt7981-spim-snand-rfb-wr3000k",
        "release": {
                "distribution": "OpenWrt",
                "version": "21.02-SNAPSHOT",
                "revision": "24.0624_123634",
                "target": "mediatek/mt7981",
                "description": "OpenWrt 21.02-SNAPSHOT unknown"
        }
}
root@OpenWrt:~# cat /pro/mtd
cat: can't open '/pro/mtd': No such file or directory
root@OpenWrt:~# ubinfo -a
UBI version:                    1
Count of UBI devices:           1
UBI control device major/minor: 10:62
Present UBI devices:            ubi0

ubi0
Volumes count:                           3
Logical eraseblock size:                 126976 bytes, 124.0 KiB
Total amount of logical eraseblocks:     472 (59932672 bytes, 57.1 MiB)
Amount of available logical eraseblocks: 88 (11173888 bytes, 10.6 MiB)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  19
Current maximum erase counter value:     5
Minimum input/output unit size:          2048 bytes
Character device major/minor:            249:0
Present volumes:                         0, 1, 2

Volume ID:   0 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        27 LEBs (3428352 bytes, 3.2 MiB)
State:       OK
Name:        kernel
Character device major/minor: 249:1
-----------------------------------
Volume ID:   1 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        110 LEBs (13967360 bytes, 13.3 MiB)
State:       OK
Name:        rootfs
Character device major/minor: 249:2
-----------------------------------
Volume ID:   2 (on ubi0)
Type:        dynamic
Alignment:   1
Size:        224 LEBs (28442624 bytes, 27.1 MiB)
State:       OK
Name:        rootfs_data
Character device major/minor: 249:3

root@OpenWrt:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 08000000 00020000 "spi0.0"
mtd1: 00100000 00020000 "BL2"
mtd2: 00280000 00020000 "u-boot-env"
mtd3: 00500000 00020000 "Factory"
mtd4: 00900000 00020000 "FIP"
mtd5: 03b00000 00020000 "ubi"
mtd6: 04280000 00020000 "ubi1"
mtd7: 01280000 00020000 "Product"
mtd8: 04280000 00020000 "Custom"

If needed i have a rt809f and rt809h programmer to write flash with programmer, I'm new to openwrt and don't fully understand everything, usually do mistakes, please kindly understand me))

That isn’t a genuine OpenWrt revision number so this image is something they have built themself.

1 Like

Is there anyway for us to build another latest openwrt with v2raya and openvpn included ?

Have you looked in the ToH on the webbpage if OpenWrt support the device?

Yes, it supports Openwrt , mt7981 support openwrt firmware. Even latest firmware it supports

Then it is pretty much just to download, install and rock-n-roll with what you want to do.

But it is probably easier to use stable release instead of snapshot if you want to install packages since the packages for snapshot only work for about 24h or until the next snapshot is build.

What if i use backup and upload all necessary firmwares from router and send here , will you look what can i do with them?

At least, can you help me to flash it to latest openwrt version or to build new openwrt firmware for this router?

one antenna is fake, most likely

This statement is based on what ?

Your device isn't running vanilla Openwrt, so no, it doesn't "support Openwrt".

2 Likes


I'm not sure, maybe i forgot to correctly plug one antennas plug, but here is 6 antennas and 6 plugs as well

I'm not sure it's Vanilla or something other , but here is written openwrt wireless freedom, snapshot..... etc

Many companies take OpenWrt and then heavily modify it for their own router devices. This is possible because OpenWrt is free and open source. Just like you could create your own custom adaptation of Hamlet or Macbeth any public domain literature if you wanted. What results is no longer the work of the original author(s), it is a derivative work that is "based on" the original (aka: a fork).

In the case of what you have there, it is a fork that was customized by the manufacturer of that device. The vendor probably did not contribute their modifications back to the official OpenWrt project, so we have no idea what they changed/added/removed. As such, it isn't possible to support it here.

1 Like

Well great thanks for explaining me , i didn't knew it , i will complain to Chinese about this.
As a request, let's get back to my main issue, how can i make repartition and rearrange space in the router not bricking it, i have a second one too for my friend which i didn't give because we both wanted to use v2raya vpn on it, so let's make everything possible to install v2ray on it, i installed v2ray - core - mini but couldn't install luci - app- v2ray because dependencies like iptables-mod-tproxy i can't download, please understand me, in our country turkmenistan, internet is very badly censored , when i enter command opkg update it's only saying connection error because or country restrictions, can anyone send me iptables-mod-tproxy.ipk please?

That is a question for the vendor. Again, because we don't know what they changed, we can't give advice with any confidence. What we know about official OpenWrt might or might not be the same on your device and might even cause you problems.

Not from the official OpenWrt repos insofar as it won't be compatible. You are welcome to download the source code and compile it yourself assuming you can get a copy of the vendor's SDK (which will be required for this).

1 Like

How to do it ?

It's okay if i brick it, i will use programmer and just write firmware from second router if i will brick it, now i just need iptables-mod-tproxy for luci