# glorouter: reconstructing the Huawei B311-221 HiLink API

> glorouter reconstructs the Huawei B311-221 router's HiLink web API in a Python CLI and local dashboard. Its protocol notes trace endpoints from served JavaScript and browser captures, including SCRAM-SHA256 login and CSRF token handling; the client exposes signal, traffic, network, SMS and USSD controls.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/exbyte-dev/glorouter>
- Primary source: <https://github.com/exbyte-dev/glorouter/blob/26cb9d409cb5dff103ef4ccb94bde7b317090100/docs/protocol.md>
- Catalog page: <https://awesomerea.org/resources/glorouter-case/>
- Record JSON: <https://awesomerea.org/resources/glorouter-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/glorouter-case/index.md)

## Requirements & limits

- **Prerequisites:** Python 3.10 or later, pipx and access to a compatible Huawei HiLink router.
- **Testing evidence:** The author reports live testing on a Huawei B311-221 with Glo Nigeria firmware.
- **Limits:** Huawei HiLink allows only one active admin session, and repeated failed logins can trigger a lockout.
- **License:** MIT License.

## Primary sources

1. <https://github.com/exbyte-dev/glorouter/blob/26cb9d409cb5dff103ef4ccb94bde7b317090100/docs/protocol.md>
2. <https://github.com/exbyte-dev/glorouter/blob/26cb9d409cb5dff103ef4ccb94bde7b317090100/README.md>

## More in Protocols

- [OpticFilm 135i: reconstructing native USB scanning on Linux](https://awesomerea.org/resources/opticfilm-135i-linux-case/index.md) · Case study
- [Martian Notifier: reconstructing smartwatch Bluetooth commands](https://awesomerea.org/resources/martian-notifier-toolkit-case/index.md) · Case study
- [E88 / E99 Drone: reconstructing Wi-Fi flight control and video access](https://awesomerea.org/resources/e88-e99-drone-pc-control-case/index.md) · Case study
- [Samsung Washer Monitor: reconstructing a washer panel UART feed](https://awesomerea.org/resources/samsung-washer-monitor-esphome-case/index.md) · Case study
- [Fluval Connect light: reconstructing local Bluetooth control for aquarium lights](https://awesomerea.org/resources/hass-fluval-connect-case/index.md) · Case study
- [Citroën Connected Camera: reconstructing the ConnectedCAM local API](https://awesomerea.org/resources/citroen-connected-camera-ios-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
