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

SAMSUNG J7PRO 2017 (J7Y17LTE) #171

Closed Thiviyan closed 4 years ago

Thiviyan commented 4 years ago

Samsung j7pro sm-730gm-dx codename J7Y17LTE Linux - 3.18.91-CronosKernel-V5.0-J730X-ONEUI

Can you provide me a patch for this model?

Thiviyan commented 4 years ago

i can patch the original kernel and try it too... please respond..

satdevnetx4 commented 4 years ago

I'm sorry it was a mistake

On Fri, Feb 21, 2020, 2:44 PM Thiviyan notifications@github.com wrote:

i can patch the original kernel and try it too... please respond..

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/android-keyboard-gadget/issues/171?email_source=notifications&email_token=AMQCZ6H7G2BH4EJNJZV4S4DREA4LJA5CNFSM4KXL4IJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUA5SI#issuecomment-589827785, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMQCZ6HA4HI6F3HIA2Z27VDREA4LJANCNFSM4KXL4IJA .

Thiviyan commented 4 years ago

Is it the right way to approach for a patch!!?

Thiviyan commented 4 years ago

CC drivers/usb/gadget/android.o drivers/usb/gadget/android.c:1511:13: error: ‘hid_function_cleanup’ undeclared here (not in a function); did you mean ‘midi_function_cleanup’? .cleanup = hid_function_cleanup, ^~~~~~~~ midi_function_cleanup make[3]: [scripts/Makefile.build:258: drivers/usb/gadget/android.o] Error 1 make[2]: [scripts/Makefile.build:402: drivers/usb/gadget] Error 2 make[1]: [scripts/Makefile.build:402: drivers/usb] Error 2 make: [Makefile:1012: drivers] Error 2

anyone have any idea how to solve this?

Thiviyan commented 4 years ago

https://github.com/Thiviyan/Helios_7870. here is the kernel source code for j7pro with HID and other Nethunter support. external devices are not getting detected after the HID patch. clean and edit the source code if you can.