Caution
WARNING: This tool deals with low-level device partitions. Incorrect usage can permanently HARD BRICK your device. This tool is currently in BETA TESTING. I am not responsible for any damages, data loss, or bricked phones resulting from its use. Proceed at your own risk and with extreme caution. Always backup your boot and vbmeta partitions before making changes.
A powerful, standalone Unisoc (Spreadtrum) flashing protocol interface engineered specifically for Termux environments without requiring root privileges or a desktop computer.
SPDClient-NoRoot-Termux bridges the gap for mobile hardware restoration on devices utilizing Unisoc architectures (such as the T606, T612, T616, and T618 chipsets). By utilizing a purely low-level communication framework, this tool handles low-level diagnostic instructions, initialization, and device management protocols natively from a secondary Android phone via a standard OTG connection.
Standard hardware flashing utilities rely on raw read/write permissions over system serial and USB nodes (/dev/bus/usb/), which are strictly protected by Android security policies and typically demand full administrative (root) access.
This tool achieves its completely No-Root framework by:
- User-Space Interception: Leveraging Android's native Host API via the
termux-usbsystem bridge. - File Descriptor Passing: Programmatically catching the open connection's raw File Descriptor (
TERMUX_USB_FD) immediately after user authorization. - Direct I/O Injection: Mapping communication frames straight into standard user-space file handles inside Python, completely bypassing the need to modify kernel permissions or system paths.
- High-Speed Connection Snipe: Built-in loop architecture designed to capture the narrow BootROM execution windows before a device times out or reboots.
- Automated HDLC Packaging: Native implementation of high-level data link control framing protocols, handling automatic command structures and packet boundary escaping.
- Hardware-Level Initialization Handling: Fully structured routing engine prepared to coordinate multi-stage FDL1 (SRAM RAM/EMMC initialization) and FDL2 (High-speed flashing engine execution) download handlers.
- Exploit Vector Routing: Integrated with modular support to inject vulnerability structures (such as CVE-2022-38694) to bypass verification constraints directly within the BootROM environment.
termux-setup-storagepkg update && pkg upgradepkg install python python3 python-pip termux-api usbutills git curlgit clone https://github.com/itz-termux-dev/SPDClient-NoRoot-Termux/tree/main
cd SPDClient-NoRoot-Termux
pip install colorama
pip install .python3 spd.py bypass --address 0x5500python3 spd.py bypass --address 0x4000python3 spd.py bypass --address 0x65000800python3 spd.py write --partition boot patched_boot.imgpython3 spd.py erase --partition frppython3 spd.py write --partition recovery twrp_recovery.img
python3 spd.py read --partition boot stock_boot_backup.img
python3 spd.py erase --partition metadataFor any suggestions or bug report please contact on sameenataj427@gmail.com. thank you