To leverage the Kirin NPU in Linux applications, developers can use MindSpore Lite, which provides integration with the Huawei HiAI DDK (Driver Development Kit). The DDK contains the public interfaces for using the Kirin NPU, including model building, loading, and computation, packaged as dynamic libraries ( libhiai*.so ).
On a rooted Kirin 980 device (usually using Magisk), it is technically possible to replace .ko (kernel object) files in /vendor/lib/modules/ . However, the Mali driver requires matching kernel symbols. A mismatched driver will cause a kernel panic (boot loop).
By understanding the architecture and respecting the limitations of Hisilicon’s proprietary model, you can keep your Kirin 980-powered device running smoothly for years to come.
Hold the until the recovery menu appears. hisilicon kirin 980 driver
running at 2.6 GHz for peak bursts.
The generic GPIO driver for HiSilicon ARM SoCs supports double-edge interrupts and multi-core concurrent access. The driver works with ACPI tables for platform enumeration. For Kirin-based systems, the compatible string “HISI0184” is used, with 32 GPIOs per controller typically configured.
This layer bridges the Android Framework with the proprietary drivers. To leverage the Kirin NPU in Linux applications,
The HiSilicon Kirin 980 driver ecosystem is a sophisticated and layered system comprising GPU, CPU, NPU, ISP, modem, PCIe, GPIO, display, and storage drivers, each with its own peculiarities and optimization opportunities. For developers and power users, understanding these components is essential whether you are building custom kernels, porting Linux to Kirin 980 devices, optimizing AI workloads on the dual-core NPU, or simply troubleshooting display or modem issues on custom ROMs.
Drivers act as the communication bridge between your Kirin 980-powered smartphone and your PC's operating system. Without them, your computer may fail to recognize the device or offer limited functionality. Key use cases include:
HiSilicon chips are notoriously difficult for the open-source community to support via custom ROMs (like LineageOS). Because HiSilicon does not publicly release the source code for its GPU, NPU, and modem drivers, developers must "blob-share" or extract the compiled binaries from official EMUI/HarmonyOS updates. If a newer Android kernel breaks compatibility with these older, closed-source driver blobs, certain hardware features (like the NPU or cellular modem) may cease to function on custom firmware. Verifying Driver Performance However, the Mali driver requires matching kernel symbols
Connecting in "HUAWEI USB COM 1.0" mode for advanced repairs or unlocking.
Because the Kirin 980 is a mobile SoC, "installing" drivers on a phone is not a user-reachable process. Instead, consider these scenarios:
For other components, the situation is largely the same: