how to add modules to kernel help plz - Android Q&A, Help & Troubleshooting

I just want to learn how to modify kernel and add new modules and features like hid cdrom mac80 zram and so forth thanks in advance

Related

[Q]Create CM Kernelpatch

Hello everybody,
I have the Stock kernel for my device and I downlaoded the Cm-Kernel. Is there a way to create a patch containing all the Kerneltweaks from Cm-Kernel for the Stockkernel. I know how to handle diff, but I don't know which files are changed and which I should leave like they are. Or if its easier to patch the device specific configurations to the CM-Kernel?
These are the folders both Kernels contain:
Code:
arch crypto include kernel net security
block Documentation init lib README sound
drivers ipc MAINTAINERS REPORTING-BUGS tools
COPYING firmware Kbuild Makefile samples usr
CREDITS fs Kconfig mm scripts virt
chaoskoch said:
Hello everybody,
I have the Stock kernel for my device and I downlaoded the Cm-Kernel. Is there a way to create a patch containing all the Kerneltweaks from Cm-Kernel for the Stockkernel. I know how to handle diff, but I don't know which files are changed and which I should leave like they are. Or if its easier to patch the device specific configurations to the CM-Kernel?
These are the folders both Kernels contain:
Code:
arch crypto include kernel net security
block Documentation init lib README sound
drivers ipc MAINTAINERS REPORTING-BUGS tools
COPYING firmware Kbuild Makefile samples usr
CREDITS fs Kconfig mm scripts virt
Click to expand...
Click to collapse
If you are going to be using all the cm kernel tweaks anyway, why not just use the cm-kernel? Maybe there is something I am missing.
lithid-cm said:
If you are going to be using all the cm kernel tweaks anyway, why not just use the cm-kernel? Maybe there is something I am missing.
Click to expand...
Click to collapse
But in the Kernel are some device specific information and drivers,
is there a way to get them all in the CM-Kernel?
Or aren't there any and I just need the .config-file?

[Q} boeffla kernel

Could someone help me activate Frandom tweaks, it does not appear in System tweaks.
How can I do to activate it?

init.d scripts on cm12 custom build

I'm building a custom cm12 rom, and it appears that selinux is blocking my init scripts. Does anyone know of a workaround or how i can write a policy to allow them?

Cm13 kernel?

Hey everybody, we all know about the lack of kernel on our device and i know that we have a caf kernel for lollipop but now we have a pretty stable cm13 with very good arguments and i see many improvements we can do very easily :
- compiling it with some flags and ubertc
- enable f2fs (included in cm kernel, just to enable it in defconfig and mount in fstab)
- enable zram (same, included in kernel but not enabled/mounted)
- add some governors/schedulers and OC/UV (a bit harder but still easy to implement by cherry picking)
Someone to try to make it?
Don't forget enabling Kernel same page merging too

[Help]Enabling USB HID Support

i have gt-i9301i running resurrection remix 5.1.1 .currently my kernel doesnt have usb hid emulation support to run badusb type attacks .
i found pelya's keyboard app.but my device dont have prebuilt kernel to flash and use hid emulation.but he has a kernel patch in github repo to add support for more devices.
question is how can i apply patch to my current kernel.do i need source code of kernel and recompile it or backup of my kernel and then patch it.if you know how to apply this patch please teach me i need it .

Categories

Resources