Installed Rucky and need some help

kronoSX

Honorary Master
Joined
Feb 28, 2005
Messages
15,305
Reaction score
336
Location
Capetown home to gang stars
https://github.com/mayankmetha/Rucky
I need help with this .......Needs a custom kernel with usb hid feature or a kernel with configfs to be enabled for this mode to be used.The kernel on my phone is V4.4
https://stackoverflow.com/questions/48419908/how-to-setup-usb-gadget-via-configfs-in-android-shell That sites expains some things but i dont understand whats going on.Am i supposes to go into adb then folloow these instructions or am i suppose to work in a linux environment.

I really want to do this and any help with this will be super.
.
 
https://github.com/mayankmetha/Rucky
I need help with this .......Needs a custom kernel with usb hid feature or a kernel with configfs to be enabled for this mode to be used.The kernel on my phone is V4.4
https://stackoverflow.com/questions/48419908/how-to-setup-usb-gadget-via-configfs-in-android-shell That sites expains some things but i dont understand whats going on.Am i supposes to go into adb then folloow these instructions or am i suppose to work in a linux environment.

I really want to do this and any help with this will be super.
.
Prolly you need to get a Android Linux kernel compiled with the options enabled mentioned in the Github mentioned. This is opening up a can of worms, my friend... Learn to compile a Linux kernel first, and then start digging at the Android Linux kernel part..

Digging into this requires a lot of patience, a lot of Google-Fu skills. I learnt that the hard way.
 
Last edited:
Prolly you need to get a Android Linux kernel compiled with the options enabled mentioned in the Github mentioned. This is opening up a can of worms my friend... Learn to compile a Linux kernel first, and then start digging at the Android Linux kernel part..

Digging into this requires a lot of patience, a lot of Google-Fu skills. I learnt that the hard way.
So there is no automated way t omos the 4.4 kernal on android 11.samsung a30s
 
So there is no automated way t omos the 4.4 kernal on android 11.samsung a30s
The kernel lives inside the bootimage, so you will have to modify the current bootimage to replace the kernel with your compiled one, which can be a headache in itself.

But, these days, there are probably a few open-source tools (not going to search for them) that can help you to automate the process.

Basically, you will have to look up your device's specific kernel, download, modify the "defconfig", usually labeled by the device's internal codename (For example, "serrano" is the Galaxy S4 Mini's internal codename), tell the builder to start building the kernel. After the compile is done (no guarantee that the kernel will build successfully on the first try) you will have to manually install it onto your device.

As I said, it is very difficult, as it may differ between devices, and the companies usually keep their secrets wrt the kernel things.

How magisk does its root things, it hijacks the boot process early on the power-on stage, in order to start running some code, giving some process/program root access to the system, and continue the boot process. When installing itself, it is dismantling the boot image, adding it's code to some place inside the boot image, and zips it all back up, for the bootloader to load when the device is switched on.


In short, you can't modify the current kernel to add features that has not been compiled in, only way to do that, is to replace that kernel with your modified/compiled one.

Have you tried the commands given on the github page?
It looks like you will need a root terminal on your device, such Jack Palevich's Terminal Emulator, or Termux?
 
The kernel lives inside the bootimage, so you will have to modify the current bootimage to replace the kernel with your compiled one, which can be a headache in itself.

But, these days, there are probably a few open-source tools (not going to search for them) that can help you to automate the process.

Basically, you will have to look up your device's specific kernel, download, modify the "defconfig", usually labeled by the device's internal codename (For example, "serrano" is the Galaxy S4 Mini's internal codename), tell the builder to start building the kernel. After the compile is done (no guarantee that the kernel will build successfully on the first try) you will have to manually install it onto your device.

As I said, it is very difficult, as it may differ between devices, and the companies usually keep their secrets wrt the kernel things.

How magisk does its root things, it hijacks the boot process early on the power-on stage, in order to start running some code, giving some process/program root access to the system, and continue the boot process. When installing itself, it is dismantling the boot image, adding it's code to some place inside the boot image, and zips it all back up, for the bootloader to load when the device is switched on.


In short, you can't modify the current kernel to add features that has not been compiled in, only way to do that, is to replace that kernel with your modified/compiled one.

Have you tried the commands given on the github page?
It looks like you will need a root terminal on your device, such Jack Palevich's Terminal Emulator, or Termux?
i got nethunter installed and the phone is rooted, i took the boot.img file out of the stock android 11 firmware,then let magisk patch it and i then flashed it back via oden.Phone rooted.Now i was wondering if i could do that with magisk to enable hid.
I see that from kernal 3.3 onwards no need to patch the hid thing.All i need to do is find a way to enable configfsHID or am i wrong here.
 
i got nethunter installed and the phone is rooted, i took the boot.img file out of the stock android 11 firmware,then let magisk patch it and i then flashed it back via oden.Phone rooted.Now i was wondering if i could do that with magisk to enable hid.
I see that from kernal 3.3 onwards no need to patch the hid thing.All i need to do is find a way to enable configfsHID or am i wrong here.
Yep, you could try to check if the kernel supports the custom HID stuff, if not, then recompile your device's kernel with the HID stuff enabled.
 
Top
Sign up to the MyBroadband newsletter
X