mirror of
https://github.com/amnezia-vpn/amneziawg-android.git
synced 2026-10-13 21:34:07 +00:00
[PR #89] tools: ship kernel tools as libawg/libawg-quick so SharedLibraryLoade… #94
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-android#94
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amnezia-vpn/amneziawg-android/pull/89
Author: @erophey7
Created: 8/8/2026
Status: 🔄 Open
Base:
master← Head:fix/kernel-tools📝 Commits (1)
ae893a2tools: ship kernel tools as libawg/libawg-quick so SharedLibraryLoader can find them📊 Changes
3 files changed (+14 additions, -14 deletions)
View changed files
📝
tunnel/build.gradle.kts(+1 -1)📝
tunnel/tools/CMakeLists.txt(+12 -12)📝
tunnel/tools/amneziawg-tools(+1 -1)📄 Description
What
Make Android's
ToolsInstallerfind the kernel-mode tool binaries: build them aslibawg/libawg-quickinstead oflibwg/libwg-quick, and bump theamneziawg-toolssubmodule to the kernel-firstwg-quickfix.Why
ToolsInstaller.EXECUTABLES = {"awg", "awg-quick"}and the shared-library loader resolves them viaSystem.mapLibraryName(), i.e.libawg.so/libawg-quick.soinside the APK. The CMake targets were still buildinglibwg.so/libwg-quick.so, so the native binaries were never extracted and kernel mode failed withFileNotFoundExceptionduring install.The userspace
libwg-go.sotarget is kept untouched.Testing performed
./gradlew :ui:assembleRelease— build success.libawg.so/libawg-quick.soextracted from APK and runtime-accessible; kernel-mode tunnel connects (requires the amneziawg kernel module).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.