Huawei E5770 custom firmware & O2 SIM unlock

Search This thread

ValdikSS

Senior Member
Nov 10, 2007
272
206
Custom 21.329.01.00.00 firmware and 17.100.19.01.00 web interface for E5770

The firmware is based on the original global firmware version 21.329.01.00.00. It can be installed on any technological firmware, or updated from a modified firmware.

Flash using balongflash (Windows, Linux).

Attention!
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
  • Added RNDIS and ECM Ethernet switching functionality without a switch program on a computer
  • All NVRAM items are unlocked
  • 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
  • Added script to change MAC address of Wi-Fi in Extender mode (script "wifiext_mac") and USB MAC addresses (script "usb_mac")
  • Removed mobile connection logging (mobile logger) to extend flash memory lifetime
  • Multilingual web interface with GSM/UMTS/LTE band selection menu

The extended menu on the OLED screen allows you to manage network mode (LTE/3G/GSM), TTL modification, circumvent censorship, ad blocking, IMEI change, USB composition, control access to the web interface, Telnet and ADB.
TTL modification and IMEI change require a reboot. The remaining menu items are applied instantly.
To activate extended menu, press left (WPS) button 7 times on Wi-Fi information screen.

The "anticensorship" script helps to bypass Deep Packet Inspection (DPI) systems on some operators in order to bypass web site blocking. It starts the local proxy server from zapret complex https://github.com/bol-van/zapret, modifying the packets in such a way as to complicate their analysis, and redirects all traffic to ports 80 (for HTTP) and 443 (for HTTPS) to local proxy. The proxy server works autonomously, without any third-party server on the Internet. It is recommended to use it in conjunction with DNS over TLS, in order to prevent possible DNS hijacking by the operator.

Advertisement blocking is performed on DNS level with dnsmasq DNS server. It works with DNS over TLS as upstream, requests for which are redirected if the corresponding menu item is activated from the OLED screen. EasyList and RuAdList https://forums.lanik.us/viewtopic.php?f=102&t=32524 from raletag and AdAway https://adaway.org/hosts.txt are used as an ad lists.
Ad-blocking at the DNS level works worse than full-fledged content blockers in browsers (AdBlock, µBlock), but it works on any device and in any program without additional settings.
You can also control ad blocking with the "dns_over_tls" script.
Domain lists could be updated using "adblock_update" command.

Entware application repository allows you to install additional Linux software from the armv7sf-k3.2 entware repository http://bin.entware.net/armv7sf-k3.2/Packages.html, using "opkg" package manager used in open source firmware for OpenWRT routers. Entware is installed using the "entware install" command. Entware files are installed in /opt, which is mounted in /online/opt. You can install many programs on 30 MB free space after installation on /online partition.
The router and Entware environments are independent of each other, the installed Entware software cannot be called from the router's environment, and the firmware programs and scripts cannot be called from the Entware. This was done to ensure that the installed packages would not conflict with files in the firmware.
To gain access to the Entware environment, use the "entware shell" command, to exit, type exit (or press CTRL+D).
Entware is designed for advanced users who understand how to customize and use installable programs. About 15 MB of free RAM is available in the router, the launch of heavy programs can lead to the crash of important services for the router (especially when DNS over TLS is enabled), remember that.

Download link
https://github.com/Huawei-LTE-routers-mods/Huawei_E5770_mod_fw_webui

More information about Huawei LTE routers (zeronet network): https://zn.amorgan.xyz/1HegcCNqxTuhPaHmjZwPGZ9LY34vXD6H1V/
 

Attachments

  • 1-fs8.png
    1-fs8.png
    373 bytes · Views: 306
  • 2-fs8.png
    2-fs8.png
    444 bytes · Views: 301
  • 3-fs8.png
    3-fs8.png
    372 bytes · Views: 298
  • 4-fs8.png
    4-fs8.png
    321 bytes · Views: 268
  • 5-fs8.png
    5-fs8.png
    405 bytes · Views: 262
Last edited:
  • Like
Reactions: BarakOsama

ValdikSS

Senior Member
Nov 10, 2007
272
206
E5770 O2 FW version 21.200.19.01.405 SIM unlock

Huawei E5770 from British O2 network with firmware version 21.200.19.01.405 could be unlocked for free with a special firmware, without disassembling the device.

This firmware is based on 21.200.19.01.405 version and could be installed without flash code.
E5770s_Update_21.200.19.01.405_o2_simunlock_signed.7z

If you want to install another official firmware or a custom firmware, you need to downgrade 21.200.19.01.405 to a special technological firmware version 21.180.99.10.00, which does not check firmware digital signatures.
E5770s_DOWNGRADE_o2_21.200.19.01.405_to_21.180.99.10.00_signed.7z

To install the firmware, press both RESET button (on the back of the device) and POWER button, connect it to the PC and use balongflash software (Windows, Linux)

More information about Huawei LTE routers (zeronet network): https://zn.amorgan.xyz/1HegcCNqxTuhPaHmjZwPGZ9LY34vXD6H1V/
 
Last edited:

paybelb

New member
Nov 17, 2009
4
1
link not working

Hi I tried downloading the modded firmware but it only goes to 20% every time then hangs. can you fix please or host somewhere else.

many thanks
 

ValdikSS

Senior Member
Nov 10, 2007
272
206
E5770 FW version 21.327.01.00.1133, 21.200.19.01.405, 21.318.01.02.07 downgrade to technological 21.180.99.10.00

This special firmware allows installing technological firmware on firmware versions mentioned in the title, without entering OEM code (AT^DATALOCK), and without using test-point (needle method).

Technological firmware allows installing any other firmware (even with incorrect or corrupted signature), without any restrictions.

WARNING: If you flash this firmware, you won't be able to revert your old firmware version because there's no official firmware files of these version available in public access. You can install any other firmware though.

E5770s_DOWNGRADE_21.318.01.02.07_to_21.180.99.10.00
E5770s_DOWNGRADE_21.327.01.00.1133_to_21.180.99.10.00
E5770s_DOWNGRADE_21.200.19.01.405_to_21.180.99.10.00

More information about Huawei LTE routers (zeronet network): https://zn.amorgan.xyz/1HegcCNqxTuhPaHmjZwPGZ9LY34vXD6H1V/
 

ValdikSS

Senior Member
Nov 10, 2007
272
206
Version 2.3.1. Based on firmware 21.329.01.00.00 and webui 17.100.19.01.00
Changes since v2.3:
Firmware:
* Fix passwd_def telnet default password file
* Fix OpenVPN NAT scripts: properly remove added FORWARDING and INPUT DROP rules, clarify README
* Clarify net.{down,up} scripts
 

BarakOsama

Senior Member
Feb 7, 2013
243
234
Ceylon
Hi OP,
my device is stuck on download mode. :(
can you please explain the flashing steps for the custom firmware.
As per your Read-Me the firmware should be flashed by balong_flash FLASH_FILE.BIN command.
Whats unclear to me is which file is to be flashed first. There are 2 .bin files in the custom firmware archive.
It will be a great help if you can give a step-by-step guide. :)
 

ValdikSS

Senior Member
Nov 10, 2007
272
206
Hi OP,
my device is stuck on download mode. :(

First of all, to install custom firmware you need to install technological firmware somehow. You can't install it just by flashing, it will require flash code which cannot be obtained easily. To bypass flash code check, I made downgrading firmwares for several firmware versions. You need to install downgrading firmware for your current firmware version, which will downgrade to technological firmware, and from technological firmware you can install any firmware, including custom one.
What exact steps did you perform, what exact result did you get?
 

BarakOsama

Senior Member
Feb 7, 2013
243
234
Ceylon
First of all, to install custom firmware you need to install technological firmware somehow. You can't install it just by flashing, it will require flash code which cannot be obtained easily. To bypass flash code check, I made downgrading firmwares for several firmware versions. You need to install downgrading firmware for your current firmware version, which will downgrade to technological firmware, and from technological firmware you can install any firmware, including custom one.
What exact steps did you perform, what exact result did you get?

After two days of googling I found the original firmware I had on the device and now the device is working again :victory:
Can you provide me a downgrading firmware to E5770s-923 21.316.03.00.1133 firmware version?.
E5770s_UPDATE_21.316.03.00.1133_WEBUI_17.100.13.02.1133_MRE5.zip
 
Last edited:

BarakOsama

Senior Member
Feb 7, 2013
243
234
Ceylon
I flashed the custom firmware.
But somehow I cannot access the extended menu.:confused:

Software version: 21.329.01.00.00
Web UI version: 17.100.19.01.00
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    E5770 O2 FW version 21.200.19.01.405 SIM unlock

    Huawei E5770 from British O2 network with firmware version 21.200.19.01.405 could be unlocked for free with a special firmware, without disassembling the device.

    This firmware is based on 21.200.19.01.405 version and could be installed without flash code.
    E5770s_Update_21.200.19.01.405_o2_simunlock_signed.7z

    If you want to install another official firmware or a custom firmware, you need to downgrade 21.200.19.01.405 to a special technological firmware version 21.180.99.10.00, which does not check firmware digital signatures.
    E5770s_DOWNGRADE_o2_21.200.19.01.405_to_21.180.99.10.00_signed.7z

    To install the firmware, press both RESET button (on the back of the device) and POWER button, connect it to the PC and use balongflash software (Windows, Linux)

    More information about Huawei LTE routers (zeronet network): https://zn.amorgan.xyz/1HegcCNqxTuhPaHmjZwPGZ9LY34vXD6H1V/
    1
    Custom 21.329.01.00.00 firmware and 17.100.19.01.00 web interface for E5770

    The firmware is based on the original global firmware version 21.329.01.00.00. It can be installed on any technological firmware, or updated from a modified firmware.

    Flash using balongflash (Windows, Linux).

    Attention!
    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
    • Added RNDIS and ECM Ethernet switching functionality without a switch program on a computer
    • All NVRAM items are unlocked
    • 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
    • Added script to change MAC address of Wi-Fi in Extender mode (script "wifiext_mac") and USB MAC addresses (script "usb_mac")
    • Removed mobile connection logging (mobile logger) to extend flash memory lifetime
    • Multilingual web interface with GSM/UMTS/LTE band selection menu

    The extended menu on the OLED screen allows you to manage network mode (LTE/3G/GSM), TTL modification, circumvent censorship, ad blocking, IMEI change, USB composition, control access to the web interface, Telnet and ADB.
    TTL modification and IMEI change require a reboot. The remaining menu items are applied instantly.
    To activate extended menu, press left (WPS) button 7 times on Wi-Fi information screen.

    The "anticensorship" script helps to bypass Deep Packet Inspection (DPI) systems on some operators in order to bypass web site blocking. It starts the local proxy server from zapret complex https://github.com/bol-van/zapret, modifying the packets in such a way as to complicate their analysis, and redirects all traffic to ports 80 (for HTTP) and 443 (for HTTPS) to local proxy. The proxy server works autonomously, without any third-party server on the Internet. It is recommended to use it in conjunction with DNS over TLS, in order to prevent possible DNS hijacking by the operator.

    Advertisement blocking is performed on DNS level with dnsmasq DNS server. It works with DNS over TLS as upstream, requests for which are redirected if the corresponding menu item is activated from the OLED screen. EasyList and RuAdList https://forums.lanik.us/viewtopic.php?f=102&t=32524 from raletag and AdAway https://adaway.org/hosts.txt are used as an ad lists.
    Ad-blocking at the DNS level works worse than full-fledged content blockers in browsers (AdBlock, µBlock), but it works on any device and in any program without additional settings.
    You can also control ad blocking with the "dns_over_tls" script.
    Domain lists could be updated using "adblock_update" command.

    Entware application repository allows you to install additional Linux software from the armv7sf-k3.2 entware repository http://bin.entware.net/armv7sf-k3.2/Packages.html, using "opkg" package manager used in open source firmware for OpenWRT routers. Entware is installed using the "entware install" command. Entware files are installed in /opt, which is mounted in /online/opt. You can install many programs on 30 MB free space after installation on /online partition.
    The router and Entware environments are independent of each other, the installed Entware software cannot be called from the router's environment, and the firmware programs and scripts cannot be called from the Entware. This was done to ensure that the installed packages would not conflict with files in the firmware.
    To gain access to the Entware environment, use the "entware shell" command, to exit, type exit (or press CTRL+D).
    Entware is designed for advanced users who understand how to customize and use installable programs. About 15 MB of free RAM is available in the router, the launch of heavy programs can lead to the crash of important services for the router (especially when DNS over TLS is enabled), remember that.

    Download link
    https://github.com/Huawei-LTE-routers-mods/Huawei_E5770_mod_fw_webui

    More information about Huawei LTE routers (zeronet network): https://zn.amorgan.xyz/1HegcCNqxTuhPaHmjZwPGZ9LY34vXD6H1V/
    1
    dear brother, i tried all but i think it doesnt work on my e5770. i have a diffirent firmware.. mine is 21.316.03.1133.. can you help me with this? thanks..

    https://github.com/Huawei-LTE-route...o_flash_balong_v7r11_without_datalock_code.md
    1
    Hardware version: CL2E5770SM
    Software version: 21.200.19.01.405
    Web UI version: 17.100.11.05.405

    Grab this firmware:
    ftp://serv.valdikss.org.ru/Download...21.200.19.01.405_to_21.180.99.10.00_signed.7z
    And read readme inside the archive of modified firmware.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone