Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website/docs/guide: Correct information on signature protection #2058

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions website/docs/guide/how-to-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ tools/bazel build --config=fast //common:kernel_aarch64_dist
```

:::info
For some of the Android 14 kernels, to make Wi-Fi/Bluetooth work, it might be necessary to remove all the GKI protected exports:
Starting with Android 13; 5.10, the easiest way to make GKI modules work which are needed for Wi-Fi/Bluetooth, among other things, is disabling signature protection:

```sh
rm common/android/abi_gki_protected_exports_*
sed -i 's/CONFIG_MODULE_SIG_PROTECT=y/# CONFIG_MODULE_SIG_PROTECT is not set/g' kernel/samsung/e1s/arch/*/configs/gki_defconfig
```

Alternatively, you could look into building the required modules yourself, in which case you would need to set CONFIG_MODULE_SIG_ALL=y in your defconfig.
:::

## Build Kernel with KernelSU
Expand Down