Adding Device Support TP-Link WR941HP

i had a WR941HP v2 useless, now I have found this.
Mine is UN, so i have to use the second file you gave us @FabianoTSS
Im telling my story because it can help someone.
I first tried to upgrade from stock TL-WR941HP(UN)_V2_191125 without reseting to defaults to
https://raw.githubusercontent.com/FabianoTSS/custom-firmwares/tplink/tl-wr941hp-v2/firmware/openwrt/openwrt-ath79-generic-tplink_tl-wr941hp-v2-UN-squashfs-factory.bin
and it didnt work, so i had to reinstall stock firmware via TFTP.
So next, when i was at TL-WR941HP(UN)_V2_191125 again, I installed older version of stock firmware TL-WR941HP(UN)_V2_170603, and then i did a reset to defaults.
Finally i could use this file:
https://raw.githubusercontent.com/FabianoTSS/custom-firmwares/tplink/tl-wr941hp-v2/firmware/openwrt/openwrt-ath79-generic-tplink_tl-wr941hp-v2-UN-squashfs-factory.bin
And for now the firmware is working great (its been a few hours only).
I did not aplied any update yet. is it necesary?
Really apreciate Fabiano, stock firmware is shit.

1 Like

Thank you for testing the firmware, I didn't get that problem yet, I'm sure it'll be useful for someone else and you don't need any update for now. Could you try again update from stock TL-WR941HP(UN)_V2_191125, but, reset it first, and post what have happened?

Congratulations on the work Fabiano!
I installed it on the TL-WR941HP-V2(BR), the installation was the first time and without errors. Let's test it now.
Is it possible to change the web configuration access port? From 80 to 8080 for example?

Access your router by scp, go to /etc/config and edit the file uhttpd, find the line with the port and change it and reboot your router

Before you responded, I managed to install the luci-app-uhttpd package, and made the change with it. But I'll also test your way. Thank you very much.

I'm having a problem with the wifi power, even though I set it to Maximum transmit power: 30 dBm (1000 mW), it remains Current power: 12 dBm

Editing: Change the country to USA, and it was 28dBm!

I have no idea why it hapens, but I have many of these routers here and actualy some of them works with 20 dbm and others with 28dbm even setting US contry, especialy at the neweste openwrt version, it wasn't hapening at the previous release. Well, i tried to replace the art partition to these routers that have 20dbm to the art partition extracted from the 28dbm router, and now that 20dbm routers are working at 28dbm. At 30dbm i could not solve.

I have upgraded my WR941HP(UN)_V2_191125 version and it works fine, but when i try to install packages it says " * The installed version of package kernel is not compatible, require 5.15.134-1-db5fae31… while 5.15.120-1-ff18bde3… is installed"

Firstly, congratulations to FabianoTSS.....

I installed the firmware on the 941hp-V2, I tried to install it via "breed" but unfortunately it's not possible, it returns the error "unable to determine the firmware" but I haven't played with it in depth...

I restored the original firmware by re-flashing it, and so I was able to do the update correctly, and it worked...

I tried to use the backup from "https://github.com/grstein/TL-WR941HP_v2_br" but I have the impression that something is wrong, because the default flash of the 941hp v2 is 8Mb, and the backup made by my colleague is 16Mb, I believe that there is something wrong

Furthermore, the firmware made by FabianoTSS perfect worked, but for me, it didn't work very well, as I increasingly believe that I have a hardware problem in my router, as the "power" of the wifi is extremely weak, even when changing the region. , it does not exceed "a few meters" in range

I'm going to do some more tests, mainly on the "bootloader" issue, as the original boot is very limited, unlike the "breed" which makes testing different firmwares much easier, and, especially in my case, allows me to change the "art partition " easily, and so, try to solve this wifi problem....

Anyway, I'll do the tests here and post the results....

Hugs....

Good afternoon.....

Updating the post....

I tried in several ways to update the firmware with the "Breed Bootloader", and I couldn't, from what I understand, the breed starts loading the firmware at address 0x20000, different from the default 0x10000 of the original bootloader, I'm a layman on the subject, I just managed to see That's because I recorded the DD-Wrt firmware of the "TP-Link WR940N 3", I saved the full flash via breed, and I noticed this address, the DDwrt firmware is partially functional, but I don't like this firmware....

After several tests, my WIFI really doesn't work correctly, it is extremely weak, there must have probably been some damage to the hardware, I couldn't detect anything apparent, and the software didn't solve it... I give up :frowning: ...

As for the FabianoTSS firmware, I tested it more thoroughly, and noticed that the router's "WAN" port does not work, making its use unfeasible for now...

My router is a TL-WR941HP_v2_br...

Hugs to everyone.... :slight_smile:

Wow!

I have this TP-Link WR941HPv2 BR router, allegedly a wall breaker one.

I bought it to extend the Wi-Fi range to the whole property (not big, AP is about 10m from my computer but there are some few walls on the way).
It worked in the beggining with the stock formware, can't tell for how many hours.
It happens that the router's connection with the Wi-Fi AP is unstable.
Even with a beta version I found here: https://www.clubedohardware.com.br/forums/topic/1493396-atualização-de-firmware-dos-roteadores-tp-link/

Is anyone using Fabiano's firmware to extend the wireless range?
If yes, is it working?

I'm really glad there are people like you working on things like this.
Thank you very much!

Hello, I have a TL-WR941HP ONU with a damaged wan port, I wanted to install openwrt to use the lan ports as wan and be able to use the device.
I downgraded the TL-WR941HP(UN)_V2_170603 firmware, and ok, I start the router.
then install openwrt-ath79-generic-tplink_tl-wr941hp-v2-UN-squashfs-factory.bin, ok I restart the router, now I don't know what to do.
just turn on the power led and I get ip 192.168.1.219 and gateway 192.168.1.1, I try to access from windows with ssh tarminal via cmd
C:\Windows\System32\OpenSSH>ssh root@192.168.1.1
ssh: connect to host 192.168.1.1 port 22: Connection timed out
Now what do I have to do, can you help me?

Well, the truth is, I don't know what step to follow exactly to be able to use the router, I just installed the firmware, what would be the next step, estimated @FabianoTSS
I have a CH341a programmer.
And, if it is in your hands, to simplify the process you can send me a backup of the router made with the ch341 programmer
where LAN port 1 is configured as WAN, and the rest of the ports are LAN, so I just write the bin to the SPI memory and that's it.

Hello guys, I'm sorry for the delay in answering your questions. I was working alone on this router, and I don't have much time to work on it. Actually, I'm replacing these routers, so I'm not much interested in this router anymore because it's a fast Ethernet router and it isn't enough for me. I'm going to give the community every piece of information that you need to add support to this router.
Here I will post some common questions and answers:

Why is the "TL-WR941HP v2 UN" or the "TL-WR941HP v2 BR" so hard to add support?
The firmware layout seted by the original bootloader makes it impossible to fit OpenWRT in there.

Is there a way to easily change the bootloader to a custom one and change the firmware layout?
Yes, it's pretty possible. I've moded the original one using some tools like binwalk, lzma, mkimage, and Hxd to change the bootargs, and then I remounted it, and it's working.
You can download my custom bootloader here: Click Here
This is the bootloader repository: Click Here

But, how do you flash the bootloader? Is there a way to flash it by browser?
Yes, you can do it using one of two existing images, just pick the right version, it will also install openwrt:
BR Version: openwrt-ath79-generic-tplink_tl-wr941hp-v2-BR-squashfs-factory.bin
UN Version: openwrt-ath79-generic-tplink_tl-wr941hp-v2-UN-squashfs-factory.bin

How these images were built with u-boot?
I've created some patches to add bootloader support to tplink-safeloader.c, as you can see here: Click Here
It has some modifications in image-commands.mk as a way to download the right bootloader, checks integrity, and inserts it into the image with tplink-safeloader. You can see it here: Click here

You might want to follow those another codes:
generic-tp-link.mk
tp9343_tplink_tl-wr941hp-v2.dts
01_leds
02_network

Which is working and which is not?
All LAN and WAN ethernets are working well. (If you are having trouble, check your router version, it might be another, or your router is damaged, try to re-flash the firmware using the original one or replace your art partition.)
It's flashing by the browser perfectly.
I recommend you to reset your router and update it to the latest TP-Link firmware and after, try to install the OpenWRT firmware.

Some people won't get more than 20dbm on the router, even setting the country to US. This could be two problems, bad router power supply or problems in the art partition that you can solve replacing it.

Why can't I install packages using the current firmware available on this topic?
It's simple, because there is no oficial images for this router. You can only install packages using the image builder and compiling it by yourserf.

What should we do to have an oficial image for this router?
First: it needs a tutorial page on openwrt website teaching people about how to install openwrt in this router.

Second: We shouldn't add suport to build factory image at the main openwrt, because I couldn't build a tiny custom bootloader by the source code of u-boot, I mean, I have a handled u-boot mod for this router and not a buildable u-boot.

Third: We should add suport to the sysupgrade without using tplink-safeloader(It will make the image easier to handle and its possible after you use the mod factory image): You can use this example here to study the layout of the sysupgrade image: openwrt-ath79-generic-tplink_tl-wr941hp-v2-squashfs-sysupgrade.bin

Fourth: Could someone else, continues the project, turn it better and ask for a pull request.

That's all for now, i'll might edit this post later, ask bellow and i'm sorry for any english issues above.

Hello, who could send me the full flash dump of the TL-WR941HP v2?

It's a really really really serious issue Hello,what have you guys made So I recently installed your firmware of Openwrt in my TL-WR941HP v1 And after that I thought of going back into the stock Firmware of TP Link And Oh my god what did I done I tried with the tftpd TFTPD method doesn't even transfer any logs like it just stand there and no post no notification no info anything after that I tried with win scp method and I guess that was succeeded but after the flash done it just stuck on the boot looped like it kept restarting and restarting over and over again I reset it done everything I could but still the same then I looked up and then I found your openwrt dump That you created then I used a CH3 programmer and then I just programmed it Then my router came back to alive again just to be sure if I did any mistake I again flashed with the win scp method Still was the same result so now I guess I need the full flash dump file of the original firmware can you guys please hand over to me someone give me the full flash dump of the TL-WR941HP v1?

Hello sir i am using TL-WR941 HP 450Mbps High Power Wireless N Router Router Firmware version 3.16.9 I made a mistake to update firmware 3.9.13 after giving ok with file ta my router no longer works when I turn on mobile wifi the router doesn't show and it doesn't work. Only [RE],[WAN],[WPS] lights stay on

Just go to this repository: FabianoTSS/tl-wr941hpv1: TL-WR941HP V1 - 22.03.0-rc4 (github.com)

And download FULL_FIRMWARE.bin

you may can fix it by tftp