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.22k stars 308 forks source link

I'm getting an error when I'm trying to apply to patch: #130

Closed ghost closed 6 years ago

ghost commented 6 years ago

Please first read CONTRIBUTING_AND_ISSUE_TEMPLATE.md and do some research about your device!

I will close your issue without answering if you don't provide me enough information about...

  1. Xiaomi Mi A1_tissot, kernel 3.18.71, Lineage OS 15.1
  2. I'm getting this error patch: **** strip count ../kernel_3.18.patch is not a number When I'm trying to patch using patch -p ../kernel_3.18.patch
  3. what exactly you would like to have / do. Give kernel support for USB Keyboard

Fixed it but every time I make the command I get an empty output

conrad-heimbold commented 6 years ago

You have to write a number after the "p", not the file name. The number specifies how "flexible" the file should be patched.

conrad-heimbold commented 6 years ago

You have to write patch -p3 ../kernel_3.18.patch Closing this issue, because I don't get any answer.