Questions tagged [android-source]
Questions about the source code and building of Android itself, contributing to the Android project, Android kernel development and porting. Do not use for Android application development questions except where specific to building applications as pre-packaged parts of the system.
android-source
3,179
questions
0
votes
1
answer
94
views
OTA in AOSP build
I have developed an app with system permissions that downloads a .zip file from an Android 14 R33 build.
The app downloads the file to /data/ota_packages/update.zip.
Then I perform a RecoverySystem....
0
votes
0
answers
59
views
2 Apps / Multi-window emulator in Android Studio
I have 2 Android Automotive OS apps on my emulator and I was wondering if it's possible to run and display both in 2 separate windows?
They are 2 modules of the same project and are installed on the ...
0
votes
0
answers
65
views
AOSP missing dependencies: android.hardware.radio-library.compat
I'm kinda new on this topic, and I need to add a new radio device/RIL but I've some errors while I'm trying to build saying that it miss some dependencies.
echo "module libril-lib missing ...
0
votes
0
answers
81
views
Crosvm Gives a Mounting Error In WSL2 when launching Cuttlefish
I have been trying to get Cuttlefish working on Windows's Subsystem for Linux (WSL2) running Ubuntu 22.0.4.4 to emulate Android, and after rebuilding the Linux kernel to fix some vsock issues, per the ...
0
votes
1
answer
103
views
Overriding AOSP keyboard
Error:
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.inputmethod.latin.CarIME" on path: DexPathList[[zip file "/data/app/~~6CnZ_EwlgHaoEjQXjHx4lA==/com....
1
vote
0
answers
64
views
Change bottom system softkey navigation ActionBar for Android phones with hardware keys
I haven't found any resources for a non-system app to write to this menu.
Many flip phones with differing UIs share this exact same bottom navigation bar, but I can't find its API. External apps, ...
0
votes
2
answers
110
views
Update the ICU and Timezone repositories for the AOSP on Android 9
I work on the AOSP changes for the tablet device we develop.
It's based on Android 9 system. And it should support the latest time zones.
The ICU repository we use currently:
https://android....
0
votes
0
answers
41
views
eBPF: tc vs. cgroup skb vs. xt_bpf routes?
What is the difference between attaching an eBPF function to a TC route, an cgroup skb, or an xt_bpf route?
I'm attempting to access all network packet traffic from an Android device which doesn't ...
0
votes
1
answer
115
views
Need some guidance on how to salvage a repo sync following a computer crash
I was at the tail end of syncing a repository for an AOSP build when my computer froze. I couldn't get it going so I manually shut it down. When I rebooted, I resarted the sync which only took 10 ...
0
votes
0
answers
41
views
Hide navigation bar at AOSP codebase level without touching custom navigationbar application for Automative application
I have an automative application where I dont have access to application layer (custom application like navigation bar etc). Custom navigation bar has been developed. I want to disable this custom ...
1
vote
1
answer
176
views
Errors when building sdk-addon in recent AOSP (Android 14)
I am trying to build sdk addon in AOSP with Android 14 branch. the only example I came across is in the device/sample folder of AOSP tree. In README.txt, it says
To build the add-on:
lunch ...
0
votes
0
answers
54
views
How to configure SEPolicy rules in order to gain access to network in a vendor service?
I have a vendor service (can't make it system one) which has trouble accessing network.
I have written a usual sepolicy rule with
allow myservice self:udp_socket { read write create connect };
allow ...
0
votes
0
answers
23
views
junit.framework.AssertionFailedError: Test is stuck, see ANR stack trace for more info. You may need to create /data/anr first
I'm running Test cases but facing the below error.
junit.framework.AssertionFailedError: Test is stuck, see ANR stack
trace for more info. You may need to create /data/anr first
The error occurred ...
1
vote
0
answers
47
views
How to change partition size when building an AOSP target
I am trying to build an emulator from AOSP branch android-14.0.0_r45, and the target product is sdk_tablet_arm64-userdebug. This is not shown in lunch menu, but I can still use it in lunch and build ...
3
votes
0
answers
69
views
What is the difference between ndk backend and cpp backend in AOSP?
Sorry if my question is silly since I new to aosp platform side.
I see there are two backend for developing Binder Service in aosp platform side in c++. (Ignore java for time being)
Example:
...