Need help compiling WiFi kernel module

Hi, I've ported Kali Nethunter on CM13 for Galaxy a5
I've added the injection patch, the HID patch, and the cdrom patch for drivedroid, but I can't get wifi working
I've made all modules wit: "make CFLAGS_MODULE=-fno-pic modules" and added the modules to /system/lib/modules, but when I type in terminal emulator: "insmod /system/lib/modules/wlan.ko" I get the following error: "insmod: failed to load /system/lib/modules/wlan.ko: Exec format error".
What I did wrong?
PS: sorry for my bad english, btu google translate doesn't always translate well

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by bo07
40 minutes ago
Last post by ephraim28
1 hour ago
Last post by jarod.bergnaum
2 hours ago
Last post by tgreen
4 hours ago
Last post by faye63
4 hours ago
Last post by samara.wisoky
3 hours ago
Last post by walsh.marcel
54 minutes ago
Last post by oswald.dickens
1 hour ago
Last post by antoinette66
57 minutes ago
Last post by oboyer
1 hour ago
Last post by zromaguera
1 hour ago
Last post by jkirlin
2 hours ago
Last post by anjali10
3 hours ago