I bought a Soyealink/Huawei b535-333 4g router from Amazon.
After a few days working nicely with it, I want to change the DNS from the router to search into my pihole server and avoid the ads. Some research later, found that this router has a “poor” web interface, which has to be hacked with a javascript to show more/hidden options.
My router version was:
Software: 11.0.2.51(H380SP7C9831)
WEBUI: 11.0.2.51(W2SP12C7201)
Config ver: B535-333-CUST 11.0.2.51(C965)
After trying the hacks, I noticed that the new DNS servers was not saved, no matter which hack I do (edit HTML display:none, $(‘#dhcp_dns’).show(); command or the full javascript), never saved.
I figured out that this will be a error with my version, which were locked or something. So I tried to update my router.
If you are following this steps, continue at your own risk.
I downloaded the following firmware or here. Be careful, the original firmware has a correct certificate for the 192.168.8.1 router homepage, but this new one, doesn’t, so you must access to https://192.168.8.1 and will see the certificate error. You can bypass selecting “continue anyway” button.

The new version:
Software version: 11.0.2.51(H380SP2C21)
Web UI version: WEBUI 11.0.2.51(W2SP12C7201)
Configuration file version: B535-333-CUST 11.0.2.51(C965)
If you search on google, will reach to some hacks to get the hidden configuration:
Edit html:
In the routes web page https://192.168.8.1, right click and select inspect. Then, into the “Elements” tab, if you search for “display: none”, you will find several hidden options.
Show Custom DNS button:
Go to Advanced > Router > DHCP , right click and select “inspect”. Into the console tab, paste this command: $(‘#dhcp_dns’).show(); and press enter. This will make the custom DNS button to appear.

Full Javascript:
From this blog I found this which unlock a lot of features from the router.
Right click > inspect > console and paste the code + enter.
This code will “update” the web interface:
