All Questions
Tagged with android-source android-build
99
questions
0
votes
1
answer
57
views
Build Issue for Lineage (21.0) gsi x86_64 eng. Redundant artifact path entries
I followed the instructions for building Lineage OS 21.0 for emulator/avd (from https://wiki.lineageos.org/emulator) and when building (after calling "mka" command) I receive the following ...
0
votes
0
answers
424
views
AOSP - how to get final contents of PRODUCT_PACKAGES while building
Different packages and components we can add via PRODUCT_PACKAGES tag in different mk files. I want to remove some unwanted packages while building AOSP for my target.
But for some packages this is ...
1
vote
1
answer
461
views
Incorporating Prebuilt APK as Device Admin in AOSP Build with Pre-Granted Runtime Permissions for Android 14
I am working on integrating a prebuilt APK into an AOSP (Android Open Source Project) build for an Android 14 based system, and I would like to configure it as a device admin and owner. Additionally, ...
0
votes
0
answers
79
views
Cannot stat install-recovery.sh when building CM 13
I'm trying to run CyanogenMod 13 (Android 6.0) on an old Wiko Highway 4G (Android 4.4.2, Tegra 4i) but when I build with my device tree, I get an error that tells me:
cp: cannot stat '/home/user/...
0
votes
0
answers
47
views
What's the branch/tag for emualtor rom from google
The official sdk android 33 has a emualtor Pixel 6 Pro. Its fingerprint is Android/sdk_phone64_arm64/emulator64_arm64:13/TE1A.220922.031/10278734:userdebug/test-keys
The source code dose not match ...
0
votes
0
answers
191
views
How to flash locally built aosp OS(built in local system) to raspberry pi/any embedded hardware
I am writing this question after searching a lot in google, there was no complete guide in how to flash android os on a embedded hardware.
What i am trying to do,
Build aosp with some modifications ...
0
votes
1
answer
136
views
Build aosp davinci failed
I tried command "lunch aosp_davinci-userdebug" but got the same error.
what should i do?
In file included from build/make/core/config.mk:353:
In file included from build/make/core/envsetup....
0
votes
1
answer
364
views
Can I convert an app configured in AOSP to an app using gradle in Android Studio?
I have my legacy version System App which consists of mk files from AOSP.
However, debugging or modifying this app is time-consuming and tedious because you have to port it after building the entire ...
1
vote
1
answer
1k
views
How to list all possible packages / modules in AOSP via command line?
In AOSP, I often use the following to setup my environment and build target and build the entire image:
$ cd ~/aosp
$ source build/envsetup.sh
$ lunch sdk_phone_x86_64
$ m
I also like to use the ...
1
vote
1
answer
3k
views
How to skip Android setup UI by command line CLI after flashing Android AOSP?
How can one skip the Android setup UI by command line CLI (e.g. via adb shell) after flashing a local build of Android AOSP on a physical device? Extra question: how can one automatically sign into a ...
1
vote
1
answer
896
views
How to test and debug changes to a local AOSP build using the emulator?
I am interested in building AOSP locally and running it inside of an emulator locally. Is this possible? If so, how can one test and debug the changes locally while running the emulator? Where can one ...
1
vote
1
answer
304
views
How to modify AOSP to run a bash script on device boot?
How can AOSP be modified to run a bash script on device boot? Which directory should the script be placed in and what defines the order that the scripts are run? Would any permissions need to be added?...
1
vote
0
answers
1k
views
Android Cuttlefish - Building the Docker image
I'm trying to build Android Cuttlefish based Docker containers and following the official guide here: https://github.com/google/android-cuttlefish/tree/main/docker
OS: Ubuntu 22.04.1 LTS
Command: ./...
1
vote
1
answer
623
views
How to shrink resources and remove unused language resources with Android.mk
I am working on AOSP Settings application which builds properly.
I am trying to build "user build" and have enabled proguard using proguard.flags and disabled jack compilation
...
0
votes
0
answers
379
views
Android system image build Error using go
I'm trying to build the system image, but the build process fail at very early stage,
mainly it stops at the ..blueprint/microfactory.bash on the line 62 with this error
"flag provided but not ...