If you only need ADB/fastboot, Google’s official USB driver works with most Android devices, including Kirin 710 phones, provided you manually update the driver via Device Manager after enabling USB debugging.
struct kirin_usb *priv = dev_get_drvdata(dev); dwc2_host_exit(priv->dwc2); dwc2_backup_global_registers(priv->dwc2); clk_disable_unprepare(priv->ref_clk); return 0; hisilicon kirin 710 usb driver
The Kirin 710 driver does not implement gadget functions itself but relies on the kernel’s configfs gadget stack. If you only need ADB/fastboot, Google’s official USB
in your phone's Developer Options (tap "Build Number" 7 times in Settings). Download the Universal ADB Driver or use the driver included in Huawei's PC Manager Download the Universal ADB Driver or use the
If you see a yellow exclamation mark, right-click it in Device Manager , select "Update Driver," and choose "Search automatically" or browse to your downloaded driver folder.
A test was conducted on a Kirin 710 device (Honor 8X) with Linux kernel 4.9. The driver was backported to mainline 5.10.