Sample Header Ad - 728x90

Where should I put Android kernel modules?

0 votes
0 answers
525 views
I compiled custom kernel with couple extra drivers and due they had conflicts when I tried to add them as built-in drivers to kernel, I had to compile them as separate modules. I signed the modules, insmodded them and they work well. No conflicts. The problem is that I neither have modules directory in /system/lib folder nor /vendor/lib. I tried to create them manually but even after creation, it didn't load after reboot. Now questions: 1) Where can I put kernel modules if I don't have these folders? 2) How can I make it without modifying system? I want to ship the kernel as only 1 AnyKernel3 zip. Please, if you at least know answer to one of these questions, respond either as answer or comment.
Asked by Atlas Co (42 rep)
Jul 19, 2023, 08:39 AM
Last activity: Feb 21, 2024, 10:30 PM