Netgear WNDR3700v5 hardware observations / experiments

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

pythonic
Posts: 274
Joined: Mon Mar 11, 2019 5:47 am
Location: Australia

Re: Netgear WNDR3700v5 hardware observations / experiments

Post by pythonic »

se325919 wrote:
Sat Dec 20, 2025 10:20 am
The hardware part is simple enough. Unfortunately for me, the software side of things looks very much out of my depth.
Although still requiring software understanding to implement, I've just remembered seeing a reference to mtd-concat in this thread which could make it easier than I earlier thought. Being able to use mtd-concat would allow you to join the existing root filesystem/overlay space to the free space at the end of the larger flash. Provided the device boots from the larger flash, the changes to do this are all in the OpenWrt environment and you would likely get away without needing to change the bootloader at all.

There are quite a few existing examples of devices using this functionality (I count at least 20 in the ramips target alone for OpenWrt 24.10). My suspicion is that after copying the contents of the old flash to the new flash you would just need to define a new partition in the device tree for the unused space and then add the reference combining the new and existing partitions to the device tree. In theory, this would only require building a new device tree binary. While it isn't that hard to extract a DTB (device tree binary) from an image using tools like binwalk, and decompile/compile DTBs to/from source (DTS) using dtc, there aren't any convenient tools to replace the DTB in an image with a modified DTB while preserving the image structure so building the full image from source becomes a necessity.

At least Netgear bootloaders usually have reliable and relatively easily used ways to flash back factory images...

I've never tried to do this myself so the above is hypothetical - be careful and do your own research!

se325919
Posts: 19
Joined: Fri Dec 05, 2025 10:00 pm

Re: Netgear WNDR3700v5 hardware observations / experiments

Post by se325919 »

Thanks again Pythonic. There is certainly hope there. I will see if I can get hold of another router for the home for now which will allow me to take this one away to the workshop and mess about with it more. I'm sure I will be coming back for more advice later. You have been really helpful in finding things that confirm that what I have in mind is not impossible.

Post Reply