forked from android-linux-stable/msm-4.4
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
415 changed files
with
58,828 additions
and
91,609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## Build Kernel Headers | ||
|
||
``` | ||
cd [your kernel source directory] | ||
make module_prepare | ||
make modules_install INSTALL_MOD_PATH=../ | ||
``` | ||
|
||
## Build RTL8188EUS driver/modules | ||
|
||
``` | ||
cd ../ | ||
git clone https://github.com/aircrack-ng/rtl8188eus -b v5.3.9 | ||
cd rtl8188eus | ||
``` | ||
|
||
That command places this driver behind your kernel source directory (RECOMMENDED). | ||
If you put it anywhere you might need to set the Makefile in this driver, but i won't explain it. | ||
Now, do: | ||
|
||
``` | ||
export ARCH=arm64 | ||
export SUBARCH=arm64 | ||
export CROSS_COMPILE=../toolchain/toolchain64/bin/aarch64-linux-android- | ||
export KBUILD_KVER=3.10.73-NetHunter-something | ||
``` | ||
|
||
arm64 is the device architecture. | ||
CROSS_COMPILE is your toolchain directory. | ||
KBUILD_KVER is your kernel build version, you can search for it in ../lib/modules (the place of your modules_install when you build kernel headers). | ||
|
||
Now, do: | ||
``` | ||
make | ||
``` | ||
|
||
If there is no error or success you will see a file named 8188eu.ko in this driver directory. | ||
|
||
|
||
## Load the driver (8188eu.ko) | ||
``` | ||
su | ||
cd /system/lib/modules | ||
insmod 8188eu.ko | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
config RTL8188EU | ||
tristate "Realtek 8188E USB WiFi" | ||
depends on USB | ||
default m | ||
---help--- | ||
Help message of RTL8188EU | ||
|
Oops, something went wrong.