mayankmetha / Rucky

A simple to use USB HID Rubber Ducky Launch Pad for Android.
https://mayankmetha.github.io/Rucky
GNU General Public License v3.0
546 stars 65 forks source link

Kernel not supported #8

Closed anduril-glitch closed 4 years ago

anduril-glitch commented 4 years ago

Hello, Would it be possible to make the application compatible with my kernel? Thank you A [+]

https://zupimages.net/viewer.php?id=19/52/5ytx.png

mayankmetha commented 4 years ago

Kernels with usb hid gadgets where keyboard is hidg0 and mouse is hidg1 are supported. No other kernel is supported as I can’t verify the proper intended working of the app. Use the kernel provided for hammerhead with NetHunter 2019.4 Android6 or use https://github.com/mayankmetha/Nethunter-Hammerhead-Kernel if you using Lineage 14.x.

I have tested it with both these kernels and it works well.

skluthe commented 4 years ago

I'm getting kernel not supported on my Nexus 5 running nethunteros. Are there any logs I can give you to figure out why it's popping up?

mayankmetha commented 4 years ago

Kernel does not have hid interface/device files hence it isn’t supported. NethunterOS isn’t supported as it’s a unsupported project. Only the Android Kali Linux NetHunter Builds on their website for nexus 5 is supported.

skluthe commented 4 years ago

The one located here: https://www.offensive-security.com/kali-linux-nethunter-download ? Is there a preferred ROM to go with this?

On Sun, Jan 19, 2020, 10:01 AM Mayank Metha D notifications@github.com wrote:

Kernel does not have hid interface/device files hence it isn’t supported. NethunterOS isn’t supported as it’s a unsupported project. Only the Android Kali Linux NetHunter Builds on their website for nexus 5 is supported.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mayankmetha/Rucky/issues/8?email_source=notifications&email_token=AFURNMFD5FL7DP3OUPZ3553Q6SIODA5CNFSM4J6T7ISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJKYGYA#issuecomment-576029536, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFURNMGDSWFFTFUBXWF4JC3Q6SIODANCNFSM4J6T7ISA .

anduril-glitch commented 4 years ago

I installed "LOS-hammerhead-14.1-20170102-nethunteros" with kali-fs in the chroot is Rucky works great.

skluthe commented 4 years ago

I'll try that out. Thanks!

On Sun, Jan 19, 2020, 1:17 PM anduril-glitch notifications@github.com wrote:

I installed "LOS-hammerhead-14.1-20170102-nethunteros" with kali-fs in the chroot is Rucky works great.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mayankmetha/Rucky/issues/8?email_source=notifications&email_token=AFURNMETEZAYP5JLUXSTIYTQ6S7PTA5CNFSM4J6T7ISKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJK4ZVQ#issuecomment-576048342, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFURNMHHXYAIAUYYUGIRR2DQ6S7PTANCNFSM4J6T7ISA .

skluthe commented 4 years ago

I installed "LOS-hammerhead-14.1-20170102-nethunteros" with kali-fs in the chroot is Rucky works great.

Just tried it and I'm getting the same error. Are you sure you don't have another kernel installed?

anduril-glitch commented 4 years ago

At home it works thunder with the kernel, I even tried without kali-fs

anduril-glitch commented 4 years ago

There are 3 in hammerhead, try the 3

mayankmetha commented 4 years ago

Easiest one is install the last rom by google for nexus 5. Root it using Magisk and then install the kali Linux NetHunter package from https://www.offensive-security.com/kali-linux-nethunter-download @skluthe

mayankmetha commented 4 years ago

You need custom kernel to make it work @skluthe, the nethunter package from the above link has the necessary kernel included. I use this method. Another one is find the last release of LOS14.1 and then build and flash the kernel from my git repo https://github.com/mayankmetha/Nethunter-Hammerhead-Kernel (a bit messy work).

skluthe commented 4 years ago

Solution: used nethunteros-nethunter-hammerhead-cm-14.1-hammerh.zip from build.nethunter.com.

Flashed kernel-nethunter-hammerheadmon-nougat-2019.03-13-0514.zip from build.nethunter.com.

Setup the latest kalifs (armhf full version) opened androidsu shell, typed in setprop sys.usb.config hid and then I was able to use Rucky.

mayankmetha commented 4 years ago

Solution: used nethunteros-nethunter-hammerhead-cm-14.1-hammerh.zip from build.nethunter.com. Flashed kernel-nethunter-hammerheadmon-nougat-2019.03-13-0514.zip from build.nethunter.com. Setup the latest kalifs (armhf full version) opened androidsu shell, typed in setprop sys.usb.config hid and then I was able to use Rucky.

Nice work. Hope this solution will benefit others also. 🙂