All Huawei modifications README, compilation instructions, etc
This group of git repositories (or "organization", as Github calls it) contains Huawei LTE portable routers' modified (custom) firmware and web interface source code, with software packages and scripts included in the firmware.
These custom firmwares contain features not found in original official device firmware. Here are some of them:
Many features are created by @ValdikSS, while others are done by @rust3028, @ilya-fedin, and others.
The packages are built with:
patchelf
to /system/lib/glibc/ld-linux.so.3
, where glibc
libraries are stored.The following CFLAGS are used:
# Balong Hi6921 V7R11 (E3372h, E5770, E5577, E5573, E8372, E8378, etc) and Hi6930 V7R2 (E3372s, E5373, E5377, E5786, etc)
# softfp, vfpv3-d16 FPU
CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -O2 -s"
# Balong Hi6920 V7R1 (E3272, E3276, E5372, etc)
# soft, novfp
CFLAGS="-march=armv7-a -mfloat-abi=soft -mthumb -O2 -s"
Some notes:
build.sh
script which is used to build the package/firmware for Huawei devices.openssl
is built as a dynamic library, curl
utility links with static libcurl
and zlib
and dynamic openssl
, stubby
links with dynamic openssl
and static getdns
and libyaml
, etc. To make static linking easier, statially linked libraries are built as static-only (.a files).