How to cross compile WiFi drivers for Android?

Search This thread
D

Deleted member 11591463

Guest
Maybe this question got asked before but I couldn't compile my driver so I will ask.

I got a SM-A700H with Android 6.0.1 and root permissions. And I have a cheap network adapter and I wanna use it for creating AP by getting connection from my device 's WiFi adapter(Wlan0).

What I have:
1) Chroot environment in android
2) Modprobe and USB support(I guess)
3) Toolchain for Cross compiling
4) Kernel 3.10.49
5) A Mediatek MT7601U Wireless Adapter


I tried many things and here is list of what I did and errors I got:
(This text was sent to somebody else but now u see it too)

Now can u help me to compile it for my device?(At least make it work in chroot env)


And contact with me in Discord if u can(Due live Q/A)
Thanks in advance