Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
46 views

Learning Path, Important Resources, Guidance from personal experiences, are most welcome.
Ravikant sahu's user avatar
-2 votes
0 answers
37 views

I downloaded and compiled the latest AOSP source code: repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android16-qpr1-release lunch aosp_cf_x86_64_phone make -j128 Then ...
user31865202's user avatar
0 votes
0 answers
23 views

When I analyze code of GBL main process, I found after loading the pvmfw data region, match pvmfw { Some((ref v, s)) => avf_fixup_host_dt(ops, &mut fdt, v, s, &verify_data)?, ...
yue's user avatar
  • 1
0 votes
0 answers
69 views

I'm working on a bluetooth library. This library is used by the service at runtime to talk to the controller. The service binary is built in AOSP env with soong. The library i have is generally logic ...
mahoriR's user avatar
  • 4,625
Tooling
0 votes
0 replies
166 views

I want to build my Android app with AOSP. I have an application and want to make it a system app. How can I make the setup wizard (that launches when you turn on the device for the first time) to ...
Mahsein's user avatar
  • 172
-1 votes
0 answers
156 views

I'm beginning to customize my phone and I'm following this guide to build AOSP for an Xperia. I selected aosp_arm64-eng target by running source build/envsetup.sh && lunch, then ran make -j$(...
mltm's user avatar
  • 595
-1 votes
1 answer
145 views

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....
piyj's user avatar
  • 19
3 votes
1 answer
178 views

I've been doing some kernel development on the Google pixel 9a "tegu" platform (latest version on https://developers.google.com/android/drivers), where Google uses Bazel to compile the ...
samallen985's user avatar
2 votes
0 answers
183 views

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 ...
Satyasarathi's user avatar
2 votes
0 answers
233 views

In the android docs, it mentions that we can use bazel to build the .img file for the kenrel (which we can flash with fastboot). However, I don't seem to have the //common:kernel_aarch64_dist target ...
Vivek Jagadeesh's user avatar
1 vote
0 answers
337 views

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 ...
Lore's user avatar
  • 11
1 vote
0 answers
218 views

I’m working on an embedded Android TV project. I’m using NanoHTTPD as the web server. The server hosts a simple web page that can be accessed from a browser by entering the IP address of the TV. Here’...
Hilal Demir's user avatar
0 votes
1 answer
278 views

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 ...
raldone01's user avatar
  • 443
0 votes
0 answers
133 views

I'm working in a WSL2 environment where I’ve set up the Cuttlefish emulator by following the official guide: https://source.android.com/docs/devices/cuttlefish/get-started Additionally, I’ve ...
icouldin's user avatar
  • 205
1 vote
0 answers
259 views

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 ...
sandeep kiran p's user avatar
0 votes
1 answer
202 views

Setting deamon user and group done on myservice.rc file: service myservice /vendor/bin/myservice class core user system group system Resulting: adb shell ps -A | grep myservice system ...
Marco Polo's user avatar
0 votes
1 answer
110 views

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 &...
user30722934's user avatar
1 vote
1 answer
841 views

After successfully compiling the AOSP build from the repo tried starting the emulator with the command provided in the documentation $launch_cvd --daemon but encountered the following error log: 06-...
Nitish Sharma's user avatar
0 votes
0 answers
182 views

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, ...
Adarsh Singh's user avatar
0 votes
0 answers
170 views

In Android AOSP 15 code, I see that whenever a phone gets disconnected from the Phone Book( PBAP ) Client profile, PBAPClientConnectionHandler.java calls the AccountManager.removeAccountExplicitely ...
Debabrata's user avatar
0 votes
0 answers
64 views

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 ...
Yasmen Ehab's user avatar
1 vote
0 answers
75 views

I compiled the AOSP source code in its entirety, using the android14_74 version. I have now extracted the Settings module under Car and converted it into a Gradle project supported by Android Studio. ...
ming wang's user avatar
0 votes
0 answers
129 views

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&...
Mr. Parashar's user avatar
2 votes
0 answers
188 views

Following the official Android documentation, I downloaded the source code for android-15.0.0_r20. When running lunch and selecting 40: aosp_shiba-trunk_staging-userdebug, I encountered an error ...
Kong's user avatar
  • 11
0 votes
1 answer
341 views

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]...
Ciptik's user avatar
  • 1
0 votes
0 answers
171 views

My device is using Android 13, SDK 33. I want to enable Ethernet Settings interface on the device screen. I am looking for solutions and will integrate it into the source and then rebuild the images. ...
Anh Trần Tuấn's user avatar
0 votes
1 answer
116 views

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
Santosh Rokhade's user avatar
0 votes
0 answers
166 views

I am trying to build an AOSP image for the first time and it fails right after I start the compilation. I've followed the setup and sync instructions in the AOSP getting started guide. I am running ...
Alexander Hoffmann's user avatar
0 votes
2 answers
245 views

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 ...
Marco Polo's user avatar
1 vote
1 answer
312 views

I am doing an Android Open Source Project build (AOSP) not an Android Studio build. I have an AAR file that contains several .so shared object native libraries. Previously, in an Android.mk makefile I ...
Brent K.'s user avatar
  • 1,134
0 votes
0 answers
100 views

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]:$...
Nate's user avatar
  • 181
0 votes
1 answer
266 views

By default, Android bring up an ethernet interface through addInterface() in EthernetTracker.java. That is, When a ethernet cable is connected, it will bring up that interface and set Ip automatically....
CaptianR's user avatar
0 votes
0 answers
208 views

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 ...
Star's user avatar
  • 667
0 votes
0 answers
97 views

I am a junior AOSP developer, I have myservice application with type of coredomain, type myservice, domain, coredomain, mlstrustedsubject; I need to open functionfs objects, but adding allow myservice ...
Ali Razmkhah's user avatar
0 votes
1 answer
579 views

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 = ...
Star's user avatar
  • 667
0 votes
1 answer
142 views

I am working on developing an Android app that sends joystick events in the background. Question 1: I am currently using the Instrumentation class to inject events like KeyEvent.KEYCODE_DPAD_LEFT and ...
Juilee Kulkarni's user avatar
0 votes
1 answer
135 views

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", ...
Almas's user avatar
  • 663
0 votes
0 answers
90 views

I am trying to integrate an external tool that uses make as its build system into my Android project. Specifically, I want to invoke make within the Android.bp file so that the Makefile from this tool ...
Yubikiri773's user avatar
2 votes
1 answer
240 views

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 ...
CaptianR's user avatar
0 votes
1 answer
441 views

I am trying to build AOSP (Android 14, android-14.0.0_r73), and while the build completes successfully, the lunch command fails to display the menu and does not allow me to select a target. Issue: ...
Vivek Faldu's user avatar
0 votes
0 answers
137 views

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 ...
frostSi's user avatar
  • 11
1 vote
0 answers
86 views

I am trying to add a native C++ program in AOSP branch android-15.0.0_r17. The program is simple, it just print string. The android blueprint looks like below. I want to add this program in system ...
Sandy's user avatar
  • 165
0 votes
0 answers
115 views

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 ...
EatonWu's user avatar
  • 23
0 votes
1 answer
160 views

I am working on AOSP 13 on an i.MX8MM Var-SOM board and trying to implement native face detection using NDK Camera2 APIs. My goal is to capture frames using AImageReader and process them with ...
frostSi's user avatar
  • 11
0 votes
0 answers
57 views

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 ...
Yubikiri773's user avatar
0 votes
1 answer
353 views

My Android device is an AOSP 13 launch device, based on x86_64 architecture, bootloader is also unlocked. I downloaded latest Android studio from Ubuntu software as my testpc is Ubuntu machine. I have ...
jayanth vutukuri's user avatar
0 votes
1 answer
775 views

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 ...
Zura's user avatar
  • 1
1 vote
1 answer
469 views

I am adding a new SystemService to a custom build of Android 11 and I need an aidl interface for apps to communicate with it. I am just starting with the aidl file right now and to keep it simple I ...
tyczj's user avatar
  • 74.8k
0 votes
0 answers
77 views

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 ...
Star's user avatar
  • 667
0 votes
0 answers
132 views

I am working on a project that includes both, an Android app and a custom AOSP built. Inside of the app that is running as a regular user (in this case user with id 10), I am downloading a file to ...
freeflowrdp's user avatar

1
2 3 4 5
64