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

nokia 1020 #192

Open average-nokia-user opened 3 years ago

average-nokia-user commented 3 years ago

kernel source: [http://nokiaphones-opensource.azureedge.net/download/phones/Nokia3_V3.310.tar.bz2] device: nokia 1020 device codename: TE1 defconfig file: k37mv1_64_defconfig kernel 3.18 soc: mediatec mt6735 the patch for kernel version continues to fail any ideas, sorry if its obvious im new to this thing, i appreciate your time and effort. patching file drivers/usb/gadget/android. Hunk #1 FAILED at 69. Hunk #2 FAILED at 2854. Hunk #3 FAILED at 3022. Hunk #4 succeeded at 1687 with fuzz 2 (offset -1370 lines). Hunk #5 succeeded at 1855 (offset -1511 lines). Hunk #6 FAILED at 3410. 4 out of 6 hunks FAILED -- saving rejects to file drivers/usb/gadget/android.c.rej patching file drivers/usb/gadget/function/Makefile Hunk #1 succeeded at 46 with fuzz 2. patching file drivers/usb/gadget/function/f_hid.c Hunk #3 succeeded at 236 (offset 19 lines). Hunk #4 succeeded at 311 (offset 19 lines). Hunk #5 succeeded at 330 (offset 19 lines). Hunk #6 succeeded at 375 (offset 19 lines). Hunk #7 succeeded at 476 (offset 20 lines). Hunk #8 succeeded at 493 (offset 20 lines). Hunk #9 FAILED at 630. Hunk #10 succeeded at 724 (offset 22 lines). Hunk #11 succeeded at 745 (offset 22 lines). Hunk #12 FAILED at 770. Hunk #13 FAILED at 824. 3 out of 13 hunks FAILED -- saving rejects to file drivers/usb/gadget/function/f_hid.c.rej patching file drivers/usb/gadget/function/f_hid.h patching file drivers/usb/gadget/function/f_hid_android_keyboard.c patching file drivers/usb/gadget/function/f_hid_android_mouse.c can't find file to patch at input line 511 Perhaps you used the wrong -p or --strip option? The text leading up to this was:

|diff --git a/include/linux/usb/android.h b/include/linux/usb/android.h |index f2d88de..b6702e7 100644 |--- a/include/linux/usb/android.h |+++ b/include/linux/usb/android.h File to patch: kernel-3.18.patch patching file kernel-3.18.patch Hunk #1 FAILED at 43. Hunk #2 FAILED at 101. 2 out of 2 hunks FAILED -- saving rejects to file kernel-3.18.patch.rej

kernel-3.18.patch.txt kernel-3.18.patch.error.txt