PDA

View Full Version : Nexus 5 - HID never worked



Warlord711
2017-01-13, 19:44
Hi - any idea where to start troubleshooting ?

Cant use any of the HID features, i tried with/without USB debugging, with/without MTP.

BusterVoodoo
2017-01-24, 00:20
On my Nexus 6 I had to enable Y-cable Charging to get it to work. If open NetHunter and on the home page under HID Interfaces you see something like "No HID devices detected" try going into Kali Services and enable the Y-cable charging. Then back on the home screen you hopefully will see devices under HID Interfaces. I see: /dev/hidg0 and /dev/hidg1, your's may differ. If that worked you should be good to go. I've only tested with USB debugging enable but I don't believe that will matter. To test, connect to you puter, open notepad or similar, on your Nexus open Duckhunter HID and run the Hello World preset. If it's working you'll see it writing what's coded in that script. Hope that helps.

UPDATE: Forgot to mention, if the steps I described didn't work you may not have the proper kernel flashed. Get the appropriate kernel image for your device from the rolling release and flash that with TWRP then try again.

pattap
2017-02-13, 14:16
can you see your interfaces in dev? try the below in kali cmd

ls /dev/hid*

you should see something like:

/dev/hidg0
/dev/hidg1

if you don't see any interfaces try the below command in androidsu cmd

setprop sys.usb.config hid