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.25k stars 314 forks source link

Kernel #37

Closed zabeh-nasiri closed 6 years ago

zabeh-nasiri commented 9 years ago

Hi,

Thanks for sharing this great gadget :)

But i want help about samsung galaxy trend plus s7580 ?

How i should use this app ? I have rooted my phone but don't know about kernel ? I installed the usb keyboard from play store but it says i have to compile the custom kernel ? Pleae help ?

Best Regards

zabeh-nasiri commented 9 years ago

Does this kernel work ? https://github.com/SandPox/android_kernel_kylepro

thanks

pelya commented 9 years ago

Most probably this kernel will not work. Your phone does not even have subforum on XDA. I'm only providing kernels for Nexus 7 2012, because that's the device I have, and I rely on people from XDA forums to build kernels with my patch for other devices.

On Fri, Sep 18, 2015 at 11:31 AM, PentesterGuy notifications@github.com wrote:

Does this kernel work ? https://github.com/SandPox/android_kernel_kylepro

thanks

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/37#issuecomment-141380901 .

zabeh-nasiri commented 9 years ago

Sir now what should i do ? help please

zabeh-nasiri commented 9 years ago

Sir how this website use ? http://zx.rs/6/DroidDucky---Can-an-Android-quack-like-a-duck/

pelya commented 9 years ago

They probably just used Nexus phone, patched kernels are available for both Nexus 5 and Nexus 4.

On Fri, Sep 18, 2015 at 12:52 PM, PentesterGuy notifications@github.com wrote:

Sir how this website use ? http://zx.rs/6/DroidDucky---Can-an-Android-quack-like-a-duck/

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/37#issuecomment-141407537 .

zabeh-nasiri commented 9 years ago

Sir how can i use patch for galaxy trend plus one ? I have downloaded the kernel from this link https://github.com/SandPox/android_kernel_kylepro Now what should I do after this ?

pelya commented 9 years ago

You apply the patch using command 'patch -p1 < patchfile.patch'. It's available on every Linux distribution and on Cygwin. On Sep 18, 2015 1:17 PM, "PentesterGuy" notifications@github.com wrote:

Sir how can i use patch for galaxy trend plus one ? I have downloaded the kernel from this link https://github.com/SandPox/android_kernel_kylepro Now what should I do after this ?

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/37#issuecomment-141411821 .

zabeh-nasiri commented 9 years ago

Sir while compiling the kernel ? after that it should be compiled to .zip file ?

thanks

pelya commented 9 years ago

Then you compile it, and assemble a boot image as described in the video, and flash it to your phone. On Sep 18, 2015 2:25 PM, "PentesterGuy" notifications@github.com wrote:

Then i am done ?

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/37#issuecomment-141422764 .

zabeh-nasiri commented 9 years ago

Ok thanks lemme try if I could i would really need your help thanks :)

zabeh-nasiri commented 9 years ago

Sir please can you explain this two part below ? http://imageupl.net/?di=3QEP http://imageupl.net/?di=R23K Do i need to do this for my device ?

thanks

zabeh-nasiri commented 9 years ago

Sir i get error while patching :(

root@pentest:~/Android-Kernel/kernel-source# patch -p1 < /root/kernel-3.4.patch patching file drivers/usb/gadget/Makefile Hunk #1 FAILED at 55. 1 out of 1 hunk FAILED -- saving rejects to file drivers/usb/gadget/Makefile.rej patching file drivers/usb/gadget/android.c Hunk #1 succeeded at 53 with fuzz 2 (offset -21 lines). Hunk #2 succeeded at 1073 with fuzz 2 (offset -1018 lines). Hunk #3 FAILED at 2156. Hunk #4 FAILED at 2481. 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 #7 succeeded at 403 (offset -9 lines). Hunk #8 succeeded at 422 (offset -9 lines). 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

Here is the Picture: http://imageupl.net/?di=FM06

thanks

TranscranialRapist commented 9 years ago

Using Note 4 N910T, is it possible to get this running for me? I'm using Nadia custom kernel for 4.4 stock based rom DynamicKat. Linux is permissive.

pelya commented 9 years ago

There was a patched kernel for your Note 4 model here:

http://forum.xda-developers.com/note-4-tmobile/orig-development/30-november-2014-n4-ael-kernel-t2961240

The download link is broken, it looks like the downloads have been moved here: http://www.echoerom.com/ael-kernels/

On Tue, Sep 22, 2015 at 2:52 PM, TranscranialRapist < notifications@github.com> wrote:

Using Note 4 N910T, is it possible to get this running for me? I'm using Nadia custom kernel for 4.4 stock based rom DynamicKat. Linux is permissive.

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/37#issuecomment-142263917 .

zabeh-nasiri commented 9 years ago

@pelya Why not answering my questions ?

:(

pelya commented 9 years ago

Try to apply another patch for different kernel version from the website, until there will be no failed chunks. If that won't help, apply failed chunks by hand, that requires some knowledge of C.

On Tue, Sep 22, 2015 at 8:24 PM, PentesterGuy notifications@github.com wrote:

@pelya https://github.com/pelya Why not answering my questions ?

:(

— Reply to this email directly or view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/37#issuecomment-142355363 .

zabeh-nasiri commented 9 years ago

Sir the kernel of my device is 3.4.5 and the kernel patch is 3.4 does it matters?

zabeh-nasiri commented 9 years ago

Sir please can you fix the kernel-3.4.patch for kernel version 3.4.5 ? please

thanks

zabeh-nasiri commented 9 years ago

@pelya bro please help I have tried many times I patched manually the kernel but again problem with compilation please help :(

thanks

zabeh-nasiri commented 9 years ago

Here is the Image http://imageupl.net/?di=FM06 Help!!!

conrad-heimbold commented 6 years ago

Sir the kernel of my device is 3.4.5 and the kernel patch is 3.4 does it matters?

Depends on how much C code changed. Try to fix the patch errors manually by opening every $FILENAME and $FILENAME.rej in parallel. Compile the kernel again afterwards.

Your original question has been answered.

If you ask again and again, you will only make people angry.