Support for TP-Link wr840n v 3.0? (Solved!)

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
MomenMamdouh
DD-WRT User


Joined: 19 Sep 2017
Posts: 64
Location: Egypt

PostPosted: Tue Dec 05, 2017 16:38    Post subject: Support for TP-Link wr840n v 3.0? (Solved!) Reply with quote
Hi;

I want to install dd-wrt on my TL-wr840n v 3.0.
Is it possible?

Thanks in advance!


Last edited by MomenMamdouh on Fri Dec 08, 2017 17:04; edited 1 time in total
Sponsor
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2156
Location: Canada

PostPosted: Tue Dec 05, 2017 17:57    Post subject: Need more info Reply with quote
In order to tell if it could even be supported, I need more info.

You will have to open the device and take high resolution photos of both sides of the board.

I can not find any info about it online, only the v1, v2 and v4. No v3 anywhere. It may be just a matter of modifying the header of an already compiled build but I won't know that until I know what is inside.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.

Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one, I am trying to update them.

Atheros:
Netgear R7800 - gateway, DHCP, QoS, VPN
TP-Link Archer C7 v2 x2 - WDS AP, WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - WDS Station
D-Link 615 C1 x 4 - not used
D-Link 615 E3 x 2 - not used
D-Link 825 B1 - WDS Station
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - WDS Station
UBNT loco M2 x2 - airOS

Broadcom
Asus N66U - backup Gateway
Netgear r6300 v1 - AP
Linksys E2500 - not used
Linksys EA2700 - not used
Linksys 160N v3 x2 - not used
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - not used
MomenMamdouh
DD-WRT User


Joined: 19 Sep 2017
Posts: 64
Location: Egypt

PostPosted: Tue Dec 05, 2017 18:06    Post subject: Reply with quote
thanks lan5142 for your reply.
i'll try to take photos of both sides of the internal board
MomenMamdouh
DD-WRT User


Joined: 19 Sep 2017
Posts: 64
Location: Egypt

PostPosted: Fri Dec 08, 2017 12:32    Post subject: Re: Need more info Reply with quote
ian5142 wrote:
In order to tell if it could even be supported, I need more info.

You will have to open the device and take high resolution photos of both sides of the board.

I can not find any info about it online, only the v1, v2 and v4. No v3 anywhere. It may be just a matter of modifying the header of an already compiled build but I won't know that until I know what is inside.


Here're the photos of TL-wr840n-v3.0:





ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2156
Location: Canada

PostPosted: Fri Dec 08, 2017 14:51    Post subject: 840N v3 files Reply with quote
Here are some 840N v3 files to test. They are all using 841ND v11 dd-wrt firmware, 33772. The only difference is the header at the start of the file. Try flashing them, one at a time, via the webGUI first. If that fails, try TFTP.
_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.

Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one, I am trying to update them.

Atheros:
Netgear R7800 - gateway, DHCP, QoS, VPN
TP-Link Archer C7 v2 x2 - WDS AP, WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - WDS Station
D-Link 615 C1 x 4 - not used
D-Link 615 E3 x 2 - not used
D-Link 825 B1 - WDS Station
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - WDS Station
UBNT loco M2 x2 - airOS

Broadcom
Asus N66U - backup Gateway
Netgear r6300 v1 - AP
Linksys E2500 - not used
Linksys EA2700 - not used
Linksys 160N v3 x2 - not used
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - not used
MomenMamdouh
DD-WRT User


Joined: 19 Sep 2017
Posts: 64
Location: Egypt

PostPosted: Fri Dec 08, 2017 15:54    Post subject: Re: 840N v3 files Reply with quote
ian5142 wrote:
Here are some 840N v3 files to test. They are all using 841ND v11 dd-wrt firmware, 33772. The only difference is the header at the start of the file. Try flashing them, one at a time, via the webGUI first. If that fails, try TFTP.


Unfortunately, none of these work for me.

i got error message from WebGUI, and all files failed to flash using TFTP
MomenMamdouh
DD-WRT User


Joined: 19 Sep 2017
Posts: 64
Location: Egypt

PostPosted: Fri Dec 08, 2017 16:50    Post subject: Reply with quote
I successfully managed to install DD-WRT v3.0-r33986 std (12/04/17) firmware on my TP-Link WR840N v 3.0

First i want to thank ian5142 for his efforts and attempts to help me to install dd-wrt on my unsupported router.

The idea is to manipulate the header of the latest original tp-link wr841nd v 11.0 firmware to allow it to be installed on my wr840n v3.0 which is officially unsupported, then you can install dd-wrt for wr841nd v11 of any release on your router.

this is done as follows:

a. flash the attached file (wr840nv3_en_tp_recovery.bin) via TFTP
b. install the dd-wrt factory firmware for tl-wr841nd v 11.0 via WebGUI

EDIT: the only drawback is that Power led is not functioning properly. I hope this will be officially fixed.


Last edited by MomenMamdouh on Sat Dec 09, 2017 6:03; edited 3 times in total
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2156
Location: Canada

PostPosted: Fri Dec 08, 2017 17:42    Post subject: Uboot Reply with quote
That firmware file you attached has UBoot (the bootloader) with it. You are literally overwriting the 840Nv3 bootloader with the 841ND v11 bootloader. I would not suggest this. The files I attached do not have the boot partition (UBoot).

I know your file worked, good for you. I just would rather not overwrite a boot partition, thereby risking bricking, even more than necessary.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.

Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one, I am trying to update them.

Atheros:
Netgear R7800 - gateway, DHCP, QoS, VPN
TP-Link Archer C7 v2 x2 - WDS AP, WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - WDS Station
D-Link 615 C1 x 4 - not used
D-Link 615 E3 x 2 - not used
D-Link 825 B1 - WDS Station
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - WDS Station
UBNT loco M2 x2 - airOS

Broadcom
Asus N66U - backup Gateway
Netgear r6300 v1 - AP
Linksys E2500 - not used
Linksys EA2700 - not used
Linksys 160N v3 x2 - not used
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - not used
Ciao121
DD-WRT Novice


Joined: 15 Dec 2017
Posts: 9

PostPosted: Fri Dec 15, 2017 15:55    Post subject: Reply with quote
Hi,
I'm also trying to update TL-WR840N v3 but I'm usuccesfull.
Trying TFTP I always get "Unable to get a response". Tried many and many times... I'm trying from a win10 machine. Could this be a problem?

Trying from the web interface I always get:
"Error code: 18005
Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name."
Filename is: 840Nv3_factory-to-ddwrt-841ndV11-based.bin
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2156
Location: Canada

PostPosted: Fri Dec 15, 2017 16:04    Post subject: TFTP Reply with quote
You need to TFTP the firmware to the router. Put the router in recovery mode and try a series of names as per this link: https://wiki.openwrt.org/toh/tp-link/tl-wr841nd#tftp_recovery_via_bootloader_for_v8_v9_v10_v11_v12

You will have to try names not in the link as that is for an 841ND, not an 840N. Name should be: wr840nv3_en_tp_recovery.bin

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.

Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one, I am trying to update them.

Atheros:
Netgear R7800 - gateway, DHCP, QoS, VPN
TP-Link Archer C7 v2 x2 - WDS AP, WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - WDS Station
D-Link 615 C1 x 4 - not used
D-Link 615 E3 x 2 - not used
D-Link 825 B1 - WDS Station
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - WDS Station
UBNT loco M2 x2 - airOS

Broadcom
Asus N66U - backup Gateway
Netgear r6300 v1 - AP
Linksys E2500 - not used
Linksys EA2700 - not used
Linksys 160N v3 x2 - not used
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - not used
Ciao121
DD-WRT Novice


Joined: 15 Dec 2017
Posts: 9

PostPosted: Fri Dec 15, 2017 16:31    Post subject: Reply with quote
It does not seems to me to be (only) a file name. Anyway I changed it.
Seems to be a communication problem (from the error message). I'm going to try having a switch between the PC and the router so that Windows thinks it's connected also during router boot...
Ciao121
DD-WRT Novice


Joined: 15 Dec 2017
Posts: 9

PostPosted: Fri Dec 15, 2017 16:55    Post subject: Reply with quote
So, using the right file name and setting Windows as a TFTP server does the job File have been transferred.
I'm not sure it also installed because I see firmware version: 3.16.9 Build 160718 Rel.32586n and I did not saw previously the version reported.

I'm using your posted file. If I fully understand this is only to make the WR840N be seen as a WR841ND so that, if this step is succesfull I can use the wR841ND dd-wrt firmware. Am I right?
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2156
Location: Canada

PostPosted: Fri Dec 15, 2017 17:59    Post subject: 840N v3 files Reply with quote
This will effectively make the 840N v3 a 841ND v11, running dd-wrt. If it worked dd-wrt should show the model as 841ND v9, 10 or 11 on the status page.

DD-WRT webGUI is accessible at 192.168.1.1.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.

Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one, I am trying to update them.

Atheros:
Netgear R7800 - gateway, DHCP, QoS, VPN
TP-Link Archer C7 v2 x2 - WDS AP, WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - WDS Station
D-Link 615 C1 x 4 - not used
D-Link 615 E3 x 2 - not used
D-Link 825 B1 - WDS Station
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - WDS Station
UBNT loco M2 x2 - airOS

Broadcom
Asus N66U - backup Gateway
Netgear r6300 v1 - AP
Linksys E2500 - not used
Linksys EA2700 - not used
Linksys 160N v3 x2 - not used
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - not used
Ciao121
DD-WRT Novice


Joined: 15 Dec 2017
Posts: 9

PostPosted: Fri Dec 15, 2017 23:33    Post subject: Reply with quote
Until now I can successfully transfer the wr840nv3_en_tp_recovery.bin file using TFTP. But for some reason the router is not flashing it.
I can't find a way to find any log of what happens after the file transfer.
Trying the same file in the router's web interface give a similar issue. The file seems to be accepted but I have back an error (thesame as in my previous post): "Upgrade unsuccessfully because the version of the upgraded file was incorrect. Please check the file name"

So maybe this is the same reason the file is not flashed after the TFTP transfer.

Maybe MomenMamdouh can help. I saw he did 2 steps:
1) make the840 -> 841
2) flahs the dd-wrt firmware for the 841
while I'm only doing 1 step using your file

MomenMamdouh did you try the ian5142 solution? Did it worked for you?

thank you both!!!
Ciao121
DD-WRT Novice


Joined: 15 Dec 2017
Posts: 9

PostPosted: Fri Dec 15, 2017 23:43    Post subject: Reply with quote
Mine is EU version.. not US. Maybe this is the problem!
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum