Huawei E5372 custom firmware

Search This thread

rezpower

Member
Oct 30, 2018
34
8
First of all a big thanks to ValdikSS for this great share.
I was able to flash my E5372 French Bouygues Telecom device with almost no problem. (Almost because my windows 11 or 10 PC would not recognize the device connected to usb port and I had to flash it with vmware windows XP).

I have one question that I hope to find a solution for:
I am trying to use nextdns as my dns service and unfortunately it's not working


I tried to edit stubby.yml file by copying it to my pc and sending back to device.
I enter my dsn data and it works but not totally!
Here is what I enter:
- address_data: xx.90.28.0
tls_auth_name: "c4522c.dns1.nextdns.io"
- address_data: 1a07:a8c0::0
tls_auth_name: "c4522c.dns1.nextdns.io"
- address_data: xx.90.30.0
tls_auth_name: "c4522c.dns2.nextdns.io"
- address_data: 1a07:a8c1::0
tls_auth_name: "c4522c.dns2.nextdns.io"

I have changed the passwd and ip's just to not expose my account!

This is the message I get from Nextdns:
This device is using NextDNS with no configuration.
Make sure you use the DNS-over-TLS endpoint shown below.


there is also this message: maybe this is the problem?!
Make sure Stubby is linked with OpenSSL 1.1.1 or higher as previous versions will not work with NextDNS.
Maybe the solution is to update Stubby! If possible!
Can you please help me get this working.

btw, what I want to achieve with this DNS service is to BLOCK ALL internet access and only allow (whitelist) few domains. If there is another way to get this done please advise :)
 
Last edited:

timematcher

Member
Apr 14, 2008
40
5
@ValdikSS
Thanks so much for sharing. its an amazing work.

Can you create a custom rom mod for e5377s-32?

I have this model and i would like to use the features such as adblocking, advanced menu and dns over tls etc.


Appreciate your help.

20220806_043518.jpg
 

dakalaka

Member
Apr 20, 2020
17
1
Hello everyone. i am succesfully using an E5372 connected as client to my VPN server on my Asus router. however i cannot access the devices behind this client(E5372). do You know what should be the setup on the server side or on the client side? I have another 2 asus routers connected as client to my Asus VPN server and i can acces the clients from all directions: client->server, server->client, client->client. only the devices behind my E5372 are not visible from server side. if i connect to the E5372 i can access the other routers and their devices. Thank You in advance for Your support. Best regards.
 

9083ja

New member
Feb 4, 2016
2
0
Hi, first of all thank you for sharing this wonderful firmware. Occasionally the device freezes, it would be nice to have automatic reboot functionality every x days as other routers have, would there be a way to do it through firmware? thanks and regards.
 

dakalaka

Member
Apr 20, 2020
17
1
Hello ValdikSS,
First of all thank you very much for your work and commitment.
Stock E5372 is a dead beat product and you contributed to make it quite flexible !
However i have a stupid problem : i have followed your readme instructions but i can't manage to flash my firmware correctly.
balong_flash.exe get me this :

Firmware Version: :B710D0:21.290.23.00.00
Build date: 2015.04.17 09:35:35
Title: version 1, platform HWEW11.1
Found 12 partitions
Entering HDLC mode... ok
Protocol version: 7200B--SKCBADZM
Device ID: HUAWEI B710D0
----------------------------------------------------
Write section 0 - Ptable_R1
Block 0 of 1
No response to block write command # 0

Any idea what went wrong ?

I am trying to flash your firmware on an Orange DOMINO 4G Airbox (=French Telecom Huawei E5372)

Thank you for your support .
Hello.
i am havig the same error as You had. how did You do the factory reset? i tried holding the reset button both with the modem on and off. i still get the same error. my screen is stuck at the "fagot" screen if i reboot it.
 

dakalaka

Member
Apr 20, 2020
17
1
Hello.
i am havig the same error as You had. how did You do the factory reset? i tried holding the reset button both with the modem on and off. i still get the same error. my screen is stuck at the "fagot" screen if i reboot it.
nevermind...i got it working. the proper drivers form the modem were not installed in W10. after install the flashing process worked perfectly.
 

mcbo007

New member
May 14, 2023
2
0
Hello,

I have an R215 (Huawei E5372) from German Vodafone.
It has the LTE bands B3 (FDD 1800), B7 (FDD 2600), B20 (FDD 800).

I now use the router with T-Mobile and only get 2G network in my city.
With my iPhone but 4G.

I'm probably missing the B1 (FDD 2100) frequency.
Is it possible to activate this via firmware?
Or is that a hardware setup?

Greeting Marcel
 

Rawon212

Member
Jun 14, 2021
6
0
Hello,

I have an R215 (Huawei E5372) from German Vodafone.
It has the LTE bands B3 (FDD 1800), B7 (FDD 2600), B20 (FDD 800).

I now use the router with T-Mobile and only get 2G network in my city.
With my iPhone but 4G.

I'm probably missing the B1 (FDD 2100) frequency.
Is it possible to activate this via firmware?
Or is that a hardware setup?

Greeting Marcel
As long i use this firmware in my country...
I use E5372 with huawei logo on body its work.
I can activated 800,1800,2100,2600.
Cant activated 2300 because the hardware not support for 2300.
Fiy best frekuensi on my country for 4g is 2300 so for 2600 not used.
And another device E5372 with bolt logo, i can activated 850, 900, 2100,2300. Once more, my hardware not support.
 

mcbo007

New member
May 14, 2023
2
0
When I activate B1 (FDD 2100), it will be deactivated again after saving.
 

Attachments

  • 1.JPG
    1.JPG
    66.8 KB · Views: 22

dakalaka

Member
Apr 20, 2020
17
1
Hello everyone. i am succesfully using an E5372 connected as client to my VPN server on my Asus router. however i cannot access the devices behind this client(E5372). do You know what should be the setup on the server side or on the client side? I have another 2 asus routers connected as client to my Asus VPN server and i can acces the clients from all directions: client->server, server->client, client->client. only the devices behind my E5372 are not visible from server side. if i connect to the E5372 i can access the other routers and their devices. Thank You in advance for Your support. Best regards.
Hello. i am relaunching this question to any of You. thank You in advance for Your help.
 

dakalaka

Member
Apr 20, 2020
17
1
Where do I find that please? it it is the one in the usr/sbin, how can i edit it? it tried to visualise the one on my home router but i don`t think it is an editable file.
Ok, i think i found how to edit it via putty for example. now what do I add as rules for the forward chain and also to make it persistent?
 

dakalaka

Member
Apr 20, 2020
17
1
Hello all,
is there a way to update to ovpn 2.5.x on this device? thank You in advance for Your feedback.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Custom 21.290.23.00.00 firmware and 17.100.19.01.00 web interface for E5372
    The firmware is based on the original global firmware version 21.290.23.00.00. It can be installed on any previous firmware (unless you have locked bootloader), or updated from a modified firmware.

    post_5_4278-fs8.png
    post_5_3029-fs8.png
    post_5_13469-fs8.png
    post_5_16988-fs8.png
    post_5_14158-fs8.png


    Flash using balongflash (Windows, Linux).

    Warning!
    This firmware can render your device unbootable! Use it only if you are aware of all the risks and consequences. In case of any problems, do not wait for help, you're on your own. Do not install firmware by non-tech-savvy people request, and do not sell routers with this firmware preinstalled.

    Changes:
    • Firmware digital signature verification in the firmware server is disabled
    • Added support for IPv6 on mobile networks (disabled by default, could be activated "ipv6" script)
    • ADB installed and Telnet activated (disabled by default, controlled from the OLED menu)
    • The stock versions of busybox, iptables and ip6tables programs are replaced with full-fledged ones
    • The "atc" utility is installed to send AT commands from the console
    • Installed "ttl" script for modifying (fixing) TTL (for IPv4) and HL (for IPv6)
    • Installed "imei" script to change IMEI
    • A local transparent proxy server "tpws" and a script "anticensorship" are installed to circumvent censorship to sites from the registry of prohibited sites in Russian Federation (IPv4 only)
    • Added DNS over TLS resolver stubby (version 1.5.1, compiled with OpenSSL 1.0.2p) and DNS-level adblock (IPv4 only)
    • Added extended menu on OLED screen https://github.com/ValdikSS/huawei_oled_hijack
    • AT^DATALOCK code is disabled
    • Added kernel module TUN/TAP (for OpenVPN and other programs)
    • Added OpenVPN (version 2.4.6, compiled with OpenSSL 1.0.2p) and scripts for DNS redirection
    • Added curl (version 7.63.0, compiled with OpenSSL 1.0.2p)
    • Added EXT4 kernel module and swap support
    • Added script for installing Entware application repository
    • Added script "adblock_update", for updating the list of advertising domains
    • Multilingual web interface with GSM/UMTS/LTE band selection menu
    https://github.com/Huawei-LTE-routers-mods/Huawei_E5372_mod_fw

    More information about Huawei LTE routers (zeronet network): https://zn.amorgan.xyz/1HegcCNqxTuhPaHmjZwPGZ9LY34vXD6H1V/
    1
    E5372 modified firmware
    Changelog v1.5.2 (04.02.2020):
    • Fix for OpenVPN: Add missing symlink at bin/openvpn_scripts/ip
    • Make symlinks to toolbox and btools to save space on /system partition
    • Update oled_hijack.so with LD_PRELOAD unsetenv version (fix for DNS over TLS on-screen menu)
    • Update adblock list
    • Trigger OpenVPN reconnection if OpenVPN is running by default
    https://github.com/Huawei-LTE-routers-mods/Huawei_E5372_mod_fw/releases/tag/v1.5.2
    1
    Okay, but after the extraction process is complete. I open the Huawei web ("192.168.1.1") displaying the SIMLOCKED message, as in the picture. how to handle it

    Https://ibb.co/BwDzWM1
    If your device is SIM locked, you need to unlock it manually. The easiest is to execute:
    Code:
    atc 'AT^NVWR=8268,12,1,0,0,0,2,0,0,0,A,0,0,0'
    via telnet.
    1
    Previously with the FW Stock the modem was correctly recognized by my fritzbox 7390 as a backup lte unit.

    Now, on the other hand, it is recognized as a USB disk and I do not have the possibility to navigate via the modem with the fritz Box.
    Your FritzBox can't switch modem to another composition (usb_modeswitch is missing or not configured properly). It could be that your previous firmware has special settings which allowed it to be used with FritzBox.

    Try choosing "AT, Network" under "USB Mode" in advanced OLED menu. It should help.
    1
    if i downgrade firmware my lcd blank out
    You need to install proper version of firmware and webui. Install both.
    so i want to know how you modify custom firmware? and what tools u have used to modify?
    https://github.com/Huawei-LTE-routers-mods/README/blob/master/useful_software_posts_and_links.md