From fea003bd5bb06574854c669f787ebf4dbc552964 Mon Sep 17 00:00:00 2001 From: Xinyi Zhou Date: Thu, 14 Dec 2023 18:07:57 -0800 Subject: [PATCH] [nearby] Update README for AOSP compiling binary Test: -m and load on device Change-Id: Ib54d4cd14c2ec0739d96593e183f6e1be9682e67 --- nearby/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/nearby/README.md b/nearby/README.md index 0d265638ba..81d21996f2 100644 --- a/nearby/README.md +++ b/nearby/README.md @@ -47,8 +47,16 @@ Then, add the jar in IDE as below. ## Build and Install ```sh -Build unbundled module using banchan +For master on AOSP (Android) host +$ source build/envsetup.sh +$ lunch aosp_oriole-trunk_staging-userdebug +$ m com.android.tethering +$ $ANDROID_BUILD_TOP/out/host/linux-x86/bin/deapexer decompress --input $ANDROID_PRODUCT_OUT/system/apex/com.android.tethering.capex --output /tmp/tethering.apex +$ adb install /tmp/tethering.apex +$ adb reboot +For udc-mainline-prod on Google internal host +Build unbundled module using banchan $ source build/envsetup.sh $ banchan com.google.android.tethering mainline_modules_arm64 $ m apps_only dist