It's not clear to me exactly what you're asking...
If this is the case, you probably already know that OpenWrt cannot run on 4/32 devices (you'd need to go back to ~18.06 make an image that could fit, and that's assuming that all of the other chipset/driver support would be available in that old version; obviously running really old versions of OpenWrt is bad from a security perspective)
Is the goal here to find something that is "similar enough" such that you could load the image for that device onto your C20?
As a general rule, this is not possible without potentially bricking the device. Every device uses bespoke images that account for the hardware design (as in literally the specifics for the ram and flash chips, the ethernet and radio chipsets, and down to the pinout level for which pins are used for each I/O to connect to the other system components).
If one is identified, you could theoretically take a similar device and then modify the DTS file, compile and build the image yourself, and then try installing it... but to do so requires a reasonable amount of time effort -- far more than just buying a new router.
I know you don't want to hear that this device is beyond any reasonable support, but keep in mind that you'd be sinking a lot of effort into an ancient version of OpenWrt that has many known and actively exploited security vulnerabilities (that will never be fixed in the old versions). That's on top of the fact that you'd be completely on your own in terms of modifying the DTS file, building your image, and even just configuring and using it those versions are very old and clearly unsupported.
4 MB RAM / 32 MB disk space is not restricted to Openwrt 18. Here is a detailed method to get Openwrt 19 running on 4 MB RAM / 32 MB disk space devices:
I implore the Openwrt community not to heed to the Linux bloat demands and perhaps even float a mini version.
It took 10 years for Openwrt to hit the 4 MB / 32 MB disk space requirement and just 1 year for the 8 MB / 64 MB disk space warnings to appear.
That means that corporate bloat is not just a good to have but a concerted attack on Openwrt and Linux.
You just have to install any software today to see that they are intentionally exploiting the ādependency bloatā requirement of Openwrt. eg one can see:
where a single line stating that curl and wget is required and it is including the entire statically compiled version of these tools increasing bloat by 1MB with such unnecessary dependencies.
Same with wireguard and a lot of tools till the result is that Openwrt has simply given up now on 8 MB RAM and 64 MB disk space devices which is very unfortunate as PC like bloat has come in.
Moreover do check out zram that compresses RAM swap so you should get around 25-50% more RAM.
Thank you for your support. Do help keep Openwrt from corporatised bloat.
That ship has sailed almost 7 years ago. The fork in question hasn't been touched in 4 years, while there have been plenty security issues over the last 7 years, and was archived by its owner a year ago. I think it's safe to say that it's dead, Jim.
The world is turning, security issues come up, new requirements are expected (e.g. WPA3, which requires a TLS provider, which weighs 0.7-1.0 MB on its own, etc. pp.). It's safe to assume that OpenWrt will not consider 4/32 devices anymore - and we know that 8/64 is on the brink as well, pleas will not change those facts. Buying a 4/32 device was a bad idea 15 years ago already and strongly recommended against by 2016/ 2017 at the latest. Even the projects that were running large fleets of these (e.g. freifunk) had to realize that they are a dead end. At the same time users expect decent wifi6/ wifi6e support (for which WPA3 is mandatory and not optional) and are dragging their feet about wifi7, these things are getting attention.
I'm not sure how that magically resolves that you're using a 4/32 device. Perhaps I'm missing an important detail.
Not sure why anyone in the community would be doing this to a known unsupported device, but OK. Also, not sure why you expect someone else to open a device when you own one yourself.
Lasty, if you're not willing to open your hardware, how would we know if there's a similar model?
I think it's rather odd to expect support for such an old device.
The "similar" device is 2x bigger. Came running linux originally, even with some OEM source code provided allowing to select correct hardware for OpenWrt. Can easily happen that either 8MB flash or 64MB RAM will not fit default packages (common wan support+wifi+web admin) and gets thrown away for next release after 25.12.
I would not put high hopes but likely 16/64 devices get more chance to survive to next release and ar maybe 1 bucks worth (ie if you get them for free you can still enjoy their last years)
If you install a package from the repo, yes curl is required, because there was no way around it with opkg. If you just create an init script on your router, copying it from the source repo, you can get by without the curl. So no, it is not āincluding statically compiled version of these toolsā.