Software Update Framework | Zte Terminal
1. What Is the ZTE Terminal Software Update Framework? It is an end-to-end system designed to manage firmware (OS), radio/baseband, and application updates on ZTE-branded devices. Key functions:
Secure delivery of update packages Version validation and rollback prevention Delta (incremental) and full updates Integration with FOTA (Firmware Over-The-Air) servers
Common names in ZTE documentation:
FOTA Update Framework ZTE SWUP (Software Update Protocol) DM (Device Management) Update Client – based on OMA-DM (Open Mobile Alliance Device Management) zte terminal software update framework
2. Core Components | Component | Role | |-----------|------| | Update Client | Background service on the device that checks, downloads, and applies updates. | | Update Engine | Handles patching (e.g., applypatch , block OTA ), verifies signatures, manages recovery mode. | | Metadata Server | ZTE’s cloud endpoint providing update availability, release notes, and package URLs. | | Local Cache & Logs | Stores downloaded packages (temp) and logs update attempts in /cache/recovery/ or /data/ota/ . | | Rollback Protection | Uses anti-rollback counters (e-fuse or persisted in secure storage). |
3. How It Works (Step-by-Step)
Periodic check – Device contacts fota.zte.com.cn or carrier-specific FOTA server (e.g., fota.ztems.com ). Version comparison – Sends current build fingerprint, Android/iOS version, baseband, region, IMEI. Update available – Server responds with a JSON/XML metadata: Key functions: Secure delivery of update packages Version
Package size & hash (SHA-256) Minimum battery level (default 30%) Required free storage
Download – Over HTTPS, often with resumable range requests. Verification – Checks cryptographic signature (ZTE’s release key). Pre-installation – User prompt (unless silent update configured for carrier devices). Reboot & apply – Boots into recovery mode (ZTE’s custom recovery or AOSP recovery). Post-install – Device reports success/failure back to server.
4. Update Package Format ZTE uses two primary formats : | | Metadata Server | ZTE’s cloud endpoint
Full OTA – Complete system image (1–3 GB). Used for major Android upgrades or repair. Incremental (Delta) – Binary diff between current and new version (50–500 MB). Requires exact base version.
Inside an update.zip (example structure): update.zip ├── META-INF/com/google/android/update-binary ├── META-INF/com/google/android/updater-script ├── patch/system.new.dat.br ├── patch/system.patch.dat ├── firmware/ (modem, DSP, bluetooth) ├── boot.img ├── dtbo.img ├── vendor.img └── zte_custom/ (region-specific configs, carrier bloat)