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

Kernel Patch for 3.10.105 #87

Closed dhanush-raj closed 6 years ago

dhanush-raj commented 7 years ago

@pelya Hi, I used all the kernel patches you provided to patch my kernel. But, I failed the patching itself was not sucessfull. Like when i patched the kernel-3.10-nexus9.patch I got failed message like this below.

patching file drivers/usb/gadget/Makefile Hunk #1 FAILED at 1. Hunk #2 succeeded at 68 (offset -4 lines). 1 out of 2 hunks FAILED -- saving rejects to file drivers/usb/gadget/Makefile.rej patching file drivers/usb/gadget/android.c Hunk #1 FAILED at 43. Hunk #2 succeeded at 2997 with fuzz 1 (offset 1591 lines). Hunk #3 FAILED at 1457. Hunk #4 succeeded at 3324 with fuzz 1 (offset 1672 lines). 2 out of 4 hunks FAILED -- saving rejects to file drivers/usb/gadget/android.c.rej patching file drivers/usb/gadget/f_hid.c Hunk #1 succeeded at 17 with fuzz 2. Hunk #2 succeeded at 66 (offset 4 lines). Hunk #3 succeeded at 238 (offset 23 lines). Hunk #4 succeeded at 313 (offset 23 lines). Hunk #5 succeeded at 332 (offset 23 lines). Hunk #6 succeeded at 377 (offset 23 lines). Hunk #7 succeeded at 487 (offset 75 lines). Hunk #8 succeeded at 504 (offset 73 lines). Hunk #9 FAILED at 638. Hunk #10 succeeded at 733 (offset 23 lines). Hunk #11 succeeded at 753 (offset 23 lines). Hunk #12 FAILED at 777. Hunk #13 FAILED at 831. 3 out of 13 hunks FAILED -- saving rejects to file drivers/usb/gadget/f_hid.c.rej patching file drivers/usb/gadget/f_hid.h patching file drivers/usb/gadget/f_hid_android_keyboard.c patching file drivers/usb/gadget/f_hid_android_mouse.c

hey, please help me and give me a working kernel patch, and i will test it and report it to you. Then you can add it to your repo. The kernel source for my kernel is https://github.com/Jleeblanch/android_kernel_motorola_msm8952 Thank you in advance. You did a great job creating this...

conrad-heimbold commented 6 years ago
conrad-heimbold commented 6 years ago

Closing, because I did not get any answer.