I have launched an Android VM via android's emulator:
emulator -avd WiFIUSB -qemu -device qemu-xhci -device usb-host,vendorid=0x1903,productid=0x8328
Where the device is:
$ lsusb
Bus 001 Device 004: ID 2357:010c TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]
Via obtaining a shell access upon the device
I got:
$ uname -a
Linux localhost 6.1.23-android14-4-00257-g7e35917775b8-ab9964412 #1 SMP PREEMPT Mon Apr 17 20:50:58 UTC 2023 x86_64 Toybox
And I attempt to crossbuild in my host linux and load it at the Android Running upon emulator. But I am stuck on theese:
- Where I can find the headers so I can crossbuild for the android kernel?
- Could somwehow I get hint from Nethunter builds? If yes what toolchain should I use?
export CROSS_COMPILE=../toolchain/toolchain64/bin/aarch64-linux-android-
I have launched an Android VM via android's emulator:
Where the device is:
Via obtaining a shell access upon the device
I got:
And I attempt to crossbuild in my host linux and load it at the Android Running upon emulator. But I am stuck on theese: