My Nexus 6p struggles with HID interfaces, when I switch between different USB modes they would just disappear after a few switches.

I've found that using setprop sys.usb.config hid command in android cmd would bring them back.

Someone's told me this command should work from kali cmd but this isn't the case,

now I'd like to create bash (custom) command in nethunter that runs android cmd + the above command so I don't have to type it each time.