Help adding support to a new device (DG-8045)

Hello all.
I need someone who can build OpenWrt for a modem isn't supported rn.
Actually, I have zero experience with OpenWrt because in my country modems that OpenWrt supports are few and not common (Egypt).
The reason why I want OpenWrt is that my ISP limits the options for my router (I can't use WDS and more settings). They can limit them because the firmware is ONT ( It has their logo and custom things and so).
The device is called Huawei Echolife DG-8045.
Device ID: 00E0FC-21530366257SK8019781
Hardware version: VER.A
Software version: V100R018C56B311
Unfortunately the official firmware for this device isn't available online (ONT)
I don't know if I can get the firmware from my device and upload it here, If you can help me with this I would appreciate it much.
Sorry if this isn't the right category for my topic, I was trying to find the best match.
If you have any firmware for this router (even if not official) please tell me because it would help me so much.

1 Like

Support for modems is very small, and those often have limited support (eg vdsl vectoring).

The usual recommendation is to put your isp modem into bridge mode , then buy a supported router and install openwrt onto that and connect for eg. Using pppoe. If you can’t find bridge mode on the modem admin, maybe ask your ISP how to configure that (if they support it)

Bridge mode

Devices that have at least partial modem support if you really must have a single all in one device

Ideal devices , for eg using with pppoe and bridge mode on your isp’s modem

1 Like

Hi sparks, I wish you are having a good day.

I understood that there are little to no support of our device, I study computer science (my second year), so I think it would be hard yet feasible to build it myself but I'll need some push at the beginning. it would be nice if you can suggest a road map to follow like
first: how can I get the firmware? (so to modify it later i guess)
secondly: how to port it or create custom flash for my device with Wrt
and so on (these are what got in my mind. any help will be appreciated)

thanks in advance for any help.

Are you referring to this DG-8045 or some other device?

Yeah exactly,
huawei echolife dg8045

Probably best to start here

I found this for the device hopefully it can help you know if it can be supported or no

I could know that it has RTL8192ER as wlan hardware and I saw a supported device with this here
But most likely it doesn't have the same SoC but I hope someone can see if he can maybe port openwrt from another device with similar specs.

1 Like

Vspm310 looks to be a 700mhz dual core Arm A9 soc

Looks kinda cool platform , worth trying to do if anyone has one to test on.

1 Like

I think this device is only sold in Egypt (not sure) and I doubt that any egyptian (including me) can test anything like that. Really few egyptians even know about openwrt
I am just 17 and my experience with programming languages is so limited. I don't think I have a chance, but the user error404v2 looked like he has the device (most likely), so I hope he can try with it.
I just have one question, how can I get the existing firmware image from the router?

I found this topic here and this guy has a famous router in Egypt, too. (idk the story about vspm310 and Egypt)
It is called HG630 V2 : Adding support for HG630 v2 ( vspm310 - vspm340)
It has the same SoC and it looks like he could get some boot logs but it is surprising that nobody replied to him (lol).
Idk if you can help him maybe because with some guidance he may do something.

I’m a tinkerer myself, just picked up things along the way.

I’m not familiar with dsl standards in Egypt, but, they should be using one of a handful of standards used globally. Have you looked into getting another modem/device from overseas and posted to you? (I am using an avm modem, with Netgear r7800 running openwrt - both purchased 2nd hand.)

I just wanted to get support for this device because this will help really much people I know that have the same router. I am happy to know that the HG630 V2 has the same SoC because that means if we can get support for one of them we can then get support for the other and really much people in Egypt would benefit from that because ISPs really limit our routers. This router has really good specs in the topic of HG630 V2 he said that it has 16mb flash and 128 mb ram and this is more than enough to run openwrt (of course the flash and ram aren't the only things that matter but this is a good beginning)

This is an Openwrt group on Facebook. Idk if it's official or not.

And this is my Facebook so maybe we can try with together

about buying one from overseas. I thought about it and I'm think of xiaomi Router 4A the 100MB version, it's really cheap, I could found it for 250 egp which is less than 16 usd but the problem is about the shipping and the freaking egyption customs.
Or second thought was buying mikrotik but it's expensive than my budget.

Do you know how to use JTAG cable and get access to bootloader?
It won't be easy to build your first build for even an unsupported platform (yet) so maybe you will have to stay in touch with some famous developers here who built several builds before to get their advice.
I read some articles about beginning with openwrt but I really didn't understand most of them.
Also I want to ask what your isp is. I think only 2 ISPs sell DG-8045 ( Etisalat and Vodafone).
If you intend to start this then you should expect that it would be a long journey, and of course you will benefit from this very much even if you fail.

You both sound keen, and I wish you luck👍But it’s true that adding support for a device can be a hard process.

Hopefully using JTAG to modify things isn’t required. (If it is, that would put using openwrt on this device out of reach of 99.9% of people).

Start with opening it up and finding the serial headers or pinout holes . On all boards without presoldered headers that I’ve seen, the 4 holes were in a vertical column or horizontal row, with one of them having a square pad which is VCC which you should NOT solder. More info here

Once you have serial you should be able to then see the bootloader. Again most devices have a tftp daemon built in and hopefully will accept an image in ram. If so, you’re in business and you can then start compiling your initram openwrt image and start trying to get it accepted by the bootloader.

Once you’ve got the ram image to boot up successfully (it will very likely panic/crash on the first few tries) you can then check if all hardware is being recognized/mapped. And all drivers needed and compiled in. Finally, when you’re happy you then write the image to permanent storage on the device flash/nand .

If you still want to make openwrt on this device available to others , you probably want to revert back to oem firmware and test attempting to either build a “factory” openwrt image that can be uploaded through its web interface. Or test the tftp method works blind reliably since most people won’t have serial console .

Sometimes other methods are possible (getting a telnet daemon to start under the oem’s firmware ) but those are less common .

What I’ve found is that collaborating on a thread here on the forum seems to be most effective. Make use of the </> code formatting to share console outputs or configs tried.

The guy from the topic I mentioned ( Adding support for HG630 v2 ( vspm310 - vspm340) ) had serial logs so he got access to serial already.
The HG630 V2 and DG-8045 are so similar and the firmware for both of them looks exactly the same with same options, so I guess the boards are similar too.
We can get help from him and try to help him at the same time.
I will try to help by reading more about beginning guides but as I said my knowledge about programming languages is so limited, so I won't help that much at the end (lol).

Ohh now that's something ! Try to get in touch with him and DM me when you can

1 Like

Can you send pictures of your HG630 V2 board? I want to see where did you solder the pins and so

Also send me your facebook profile please so we can have a group chat to bring things closer

I have a question.
If the oem firmware uses linux kernel can we just use it and replace only the system image with openwrt image to keep required drivers in the kernel?