pelya / android-keyboard-gadget

Convert your Android device into USB keyboard/mouse, control your PC from your Android device remotely, including BIOS/bootloader.
Apache License 2.0
1.25k stars 314 forks source link

How To Check #95

Closed hardcod3dd closed 6 years ago

hardcod3dd commented 7 years ago

i have installed usb gadget enabled kernel but how can i check if it works or not ? there is no hid devices and i cant edit the functions file

dhanush-raj commented 7 years ago

Check in the kali nethunter app for hid interfaces. If dev/hidg0 and dev/hidg1 is present or not. And one more thing your ROM Developer should add the SEPOLICY commits to it. Otherwise your SElinux mode must be set to permissive..

dhanush-raj commented 7 years ago

Check in the kali nethunter app for hid interfaces. If dev/hidg0 and dev/hidg1 is present or not. And one more thing your ROM Developer should add the SEPOLICY commits to it. Otherwise your SElinux mode must be set to permissive..

hardcod3dd commented 7 years ago

there is no hidg interfaces

dhanush-raj commented 7 years ago

Are you sure @doggukan that your kernel is patched according to pelya`s guide. if then set selinux mode to permissive or in terminal app write setenforce 0. And Check once again

hardcod3dd commented 7 years ago

setenforce giving error

hardcod3dd commented 7 years ago

on kernel changelog and info .there is hid support added and selinux is permissive i dont why it didnt workd

dhanush-raj commented 7 years ago

Is your ROM rooted with magisk or SuperSu

Sent from my Motorola Moto G4 Plus using FastHub

conrad-heimbold commented 6 years ago

what does logcat report?

conrad-heimbold commented 6 years ago

No answer, therefore closing.