Kernel debugging - WOA-Project/MSM8994-8992-NT-ARM64-Drivers GitHub Wiki

In order to enable USB debugging, run these commands within an administrator command prompt on the device:

bcdedit /store BCD /dbgsettings usb TARGETNAME:WOATARGET

bcdedit /store BCD /set "{default}" Debug On