How would we go with adding the support for TP-Link RE190 v4?
It is physically identical to the RE200 & RE220 which are obviously supported.
It seems as if all those different models (which have identical physical appearance) are simply re-bundled packages of the same underlying device with the same hardware (notice how RE190 follows hardware versioning identical to RE200).
To remind everyone, RE200 v4 & RE220 (v2) are based on MediaTek MT7628AN SoC...
We can only guess (without prying it open) it has the same hardware...
If the guess is true, what are the steps for rebuilding the firmware?
I naively tried flashing the RE200 v4 OpenWrt firmware (unmodified & with "RE200" -> "RE190" strings replaced) and nothing happened at all, didn't brick it nor did it reboot to OpenWrt...
So, when using the unmodified RE200 v4 OpenWrt 21.02.3 factory image, the upload was stuck at 0% (through TP-Link system upgrade section)... When using the naively-modified image (string replace), the upload gradually went from 0% to 100%, and it "Rebooting" modal popped up, after some time, literally nothing happened... It wasn't bricked and it definetely didn't flash OpenWrt successfully...
Anyhow, that approach was dead-naive, so I didn't expect it to work whatsoever...
We would obviously need to rebuild the firmware for that device, even though it is most probably based on the same SoC and has the same hw specs...
you can skip the opening for now, and see if you can find the device on fccid.io
if it's there, and the SoC isn't supported, you won't have to open it.
This device is literally a ghost.
I cannot seem to find FCC ID anywhere on the box, nor on the device...
Even after performing few fuzzy searches on the fccid.io,
I still haven't found anything...
Keep in mind that its FCC ID should follow the strict TP-Link pattern of all the other devices in the same series...
Also, if you try to search any dev wiki website (wikidevi / deviwiki / techinfodepot), there are no matches...
Is it possible that the reason for its non-existence in the tech sheets is due to it simply being a re-bundled RE200 v4 (and, therefore, using its board and hardware etc)?
Keep in mind that the latest RE200 (v5) cannot be supported due to the small amount of flash (4MB).
You could try to find a firmware upgrade file and check with binwalk if it's Linux-based or not. The RE200v5 is VxWorks-based which is a strong indicator for low flash/RAM.
No, the device is definitely running a Linux-based OS...
Notice the very similar hardware versioning to RE200...
Also, this is a binwalk output for the latest RE190 v4 stock firmware (v1.0.3):
True! However, I would definitely use some help from other more experienced members of the community. Especially, help on how to re-pack an existing OpenWrt firmware for a different device model (with same hardware specs & SoC etc).
I can dump U-Boot logs and take pictures of the device board and everything else which might be of help...
sure, you will be able to figure out what SoC it's using, but as soon you attempt to flash openwrt (custom made, or RE2*), you'll want to have that serial port up and running.
Notice the similarities (consecutiveness) in the firmware versions... As if the RE190 is a "predecessor" to RE200.
Next, let's selectively look at some of the extracted rootfs directories side by side.
First, both of them are obviously based on OpenWrt. There are signs everywhere... Init scripts structure, config dir structure, luci references, you name it...
But let's ignore that for now...
What we are looking for are pre-installed kernel modules.
Both of the firmwares (RE190 v4 & RE200 v4) are based on Kernel v2.6.36.x and contain these modules:
Conclusion? These 2 devices are obviously very similar, even without getting our hands on the RE190 v4's hardware internals...
String references in the firmware's rootfs point both devices' firmware to another identically* specced device
My humble opinion is that there is not too much reverse engineering to be done in this case.
This device is a typical case of "one of those rebranded devices whose hardware is already supported".
Unfortunately, I'm not an experienced OpenWrt dev / porter, so I cannot easily create a firmware for this device, without doing some heavy research (I did create custom images before and also played with cross-compiling with OpenWrt SDK for few different targets) .
But I truly believe this would be a trivial task for any experienced OpenWrt firmware creator...
So, me, or any other member, would have to go through basic instructions, and apply minimal modifications, as well as bundle (assemble headers etc) the firmware properly for TP-Link (using mktplinkfw or otherwise)...
@tmomas@exaghost I'm pinging you guys, since you were, among others, responsible for porting OpenWrt to RE200, RE220 & RE305...
Thank you and sorry to spam you if you are not interested in contributing in this particular case!