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

Patch not working #125

Open JumpOff7667 opened 6 years ago

JumpOff7667 commented 6 years ago

Hi, I am trying to build a kernel for my phone with keyboard patch applied but patches won't work, I tried 3.18 and won't patch at all, tried 3.04 and patched some files but some files didn't patch.

Any Idea how to get this patch to work? Can I patch files manually? If yes, how?

Kernel: 3.10 Phone: HUAWEI P8 Lite Codename: hi6210sft OS: Android M

conrad-heimbold commented 6 years ago

You most likely have to patch manually. That means, you have to compare every $FILE with its $FILE.rej and deduce what to do.

conrad-heimbold commented 6 years ago

Did I answer your questions? If yes, then please close this issue.

JumpOff7667 commented 6 years ago

Yes sure I have managed to adapt the patch for my kernel and it works pretty well.

I also would like to share it but I don't know who to send it to or how to upload since I don't use github that often.

Can I send you the patch so you can upload it?

Thanks.

Le jeu. 12 avr. 2018 23:52, conrad-heimbold notifications@github.com a écrit :

Did I answer your questions?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/125#issuecomment-380955668, or mute the thread https://github.com/notifications/unsubscribe-auth/Aam7fh1UNupCk7gPlKQXVkq4UYYEygV2ks5tn8y2gaJpZM4Rc_vk .

conrad-heimbold commented 6 years ago

You could upload your patch as a gist file to github (https://gist.github.com) and send me the link to that gist.