3,164 questions
Tooling
0
votes
0
replies
130
views
How can I have my application opened in the setup wizard?
I want to build my android with AOSP, I have an application and want to make it a system app. How can i make the setup wizard (that launch when you turn on the device for the first time) to launch my ...
-1
votes
1
answer
124
views
Is VoiceInteractionService a singleton? It never calls onReady() for a second user in Android's multi-user mode
I'm developing an android application which would serve a purpose of a voice assistant using VoiceInteractionService. I've supposedly have hit a wall trying to support Android's multi-user environment....
2
votes
0
answers
174
views
How to change the position of the Activity Chooser Dialog?
I'm working on an Android Automotive OS system build, and I want to center the Activity Chooser dialog position (i.e. ResolverActivity) on the screen using a theme overlay only — no Java code ...
1
vote
0
answers
314
views
How to enforce a custom DNS in an AOSP-based ROM and prevent user modification?
I'm building an AOSP-based ROM (specifically crDroid) and I want to enforce a specific DNS server (e.g., CleanBrowsing) at the system level, so that:
The system always uses my specified DNS servers
...
0
votes
1
answer
267
views
How to build an eng or userdebug aosp kernel (android-15)?
I want to build an eng or userdebug kernel for a pixel 6a.
I read https://source.android.com/docs/setup/build/building-pixel-kernels#supported-kernel-branches but it does not mention how to change the ...
1
vote
0
answers
230
views
AOSP android-latest-release build failure
I am following the instructions at https://source.android.com/docs/setup/start to download and build the AOSP source code. The build succeeded the very first time. But now when I run the make command ...
0
votes
1
answer
108
views
How can I get number of cores on android bionic uapi?
Android bionic defines a series of structs that are used specifically to handle kernel level
uapi data, like sysinfo.h header which defines a struct called sysinfo that defines registers for kernel &...
0
votes
0
answers
178
views
Can I configure my android device to act as a FTM (Wifi RTT) responder?
I'm developing an application that uses Wifi RTT/ FTM (initiator). Unfortunately, i don't have a WIFI RTT compatible AP/ router. So, I want to convert my other device to act as a responder.
Earlier, ...
0
votes
0
answers
64
views
layout inspector with android app that use song build instead of gradle
did anyone try to use layout inspector in android app that use song build instead of gradle
i am trying to edit the bp file with flags that enable Debug Support but there no reference that anyone did ...
0
votes
0
answers
127
views
How to generate the AAR file by using Soong build system (by Android.bp only)
I am using the following Android.bp to generate the AAR file:
android_library {
name: "MyModuleLib",
system_ext_specific: true,
srcs: ["src/main/java/**/*.java&...
0
votes
1
answer
322
views
AOSP 15 build missing aidl/android.security.maintenance interface (servicemanager can't start it)
I'm building system.img and vendor.img for AOSP 15 from source. The build finishes, but the resulting system fails to boot properly, entering a failure loop with the following messages:
[ 61.707092s]...
0
votes
1
answer
115
views
Add Rive library to the Android Soong app
How to add the Rive library to the Android Soong App.
I have tried to add the rive aar file from https://mvnrepository.com/artifact/app.rive/rive-android
0
votes
2
answers
222
views
Build AOSP Android14 and run emulator result fstab error
Setup AOSP sources with:
repo init -u https://android.googlesource.com/platform/manifest -b android-14.0.0_r75
And setting:
source build/envsetup.sh
lunch aosp_cf_x86_64_phone-trunk_staging-userdebug
...
0
votes
0
answers
99
views
Kati says rule for target is being overwritten even though that target isn't installed in Android build
I'm compiling a custom build of AOSP 12.1 r27 with my own device tree.
I've added the following line to device.mk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/prebuilt/[email protected]:$...
0
votes
0
answers
205
views
Custom VHAL property is not reflecting in Emulator AAOS14
As per Android 14 and above,
Property definitions are defined at hardware/interfaces/automotive/vehicle/aidl_property/android/hardware/automotive/vehicle/VehicleProperty.aidl.
Ref
Also I found the ...
0
votes
1
answer
556
views
How to add custom VHAL properties in Android Automotive 14
I have added in the below following path:
hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h
const ConfigDeclaration kVehicleProperties[]{
{
.config = {
.prop = ...
0
votes
1
answer
129
views
How to make custom Android Shared library publicly available?
About the Android Shared library.
We added the system shared library to the Android source code with the following code:
Android.bp:
cc_prebuilt_library_shared {
name: "libfilamat-jni",
...
2
votes
1
answer
237
views
What is the difference between OEM_PAID and OEM_PRIVATE networks in Android [closed]
I see OEM_PAID and OEM_PRIVATE networks in android.
I see below info in PANS documentation.
OEM_PAID Used primarily for apps that can be routed on both OEM and non-OEM networks.
OEM_PRIVATE Used ...
0
votes
0
answers
136
views
OpenCV Build Failure on AOSP 13
I am trying to build OpenCV as part of an AOSP 13 build. I cloned OpenCV and integrated it into AOSP using an Android.bp file. However, I keep encountering errors related to missing headers and ...
0
votes
0
answers
115
views
Can system/privileged applications update themselves without user interaction?
I am writing an application/service for a product that DOES NOT meet the requirements for PackageInstaller.SessionParams.setRequireUserAction, namely it's written specifically for a piece of hardware ...
0
votes
0
answers
56
views
How to Create or Mount a `/run` Directory in AOSP?
I am embedding OpenRc into a custom AOSP build, but it requires a /run directory for runtime data, which does not exist by default in AOSP.
Since /data is available, I am considering creating /run ...
0
votes
1
answer
736
views
How to customize 6.1 kernel config in aosp 15
I am trying to build a GKI kernel image from aosp. After updating the kernel config, the build does not seem to use my config. Instead, it always uses some default config.
How can I build with custom ...
0
votes
0
answers
76
views
How to remove transient displaying in top of status bar in android?
In car, there is an overlay displaying on top of status bar for applications in full screen when swipe down on top of status bar. Again when swipe down, notification panel is displaying.
But I want to ...
0
votes
0
answers
85
views
Soong: How to Copy Prebuilt Binaries and Libraries into the System
I want to install OpenRc into my system.
So I put some folders (sbin, lib64, ...) in prebuilts/openrc/. Then I added prebuilts/openrc/Android.bp to have them installed in /system_ext.
...
0
votes
0
answers
53
views
Why does plugin->makeComponentInstance fail silently with OMX_ErrorInsufficientResources in Android AOSP 10?
I am working with a device that is running Android AOSP 10. The problem I am facing is that the camera is not able to record video. After reviewing the log I have found that it is because the system ...