Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [aosp]

The AOSP (Android Open Source Project) is an open source operating system development project maintained by Google and the community. It is the base of the Android operating system.

Filter by
Sorted by
Tagged with
1 vote
0 answers
30 views

Boot Pixel 8 with AOSP kernel

I am currently using Google Pixel 8. I am trying to download the AOSP kernel, compile it, and flash it into my device. I followed the instructions from the document below. https://source.android.com/...
김의준's user avatar
0 votes
0 answers
45 views

Does AOSP support font alises? If so, how/where are these defined?

As https://superuser.com/a/1512700/904401 explains, Windows supports this functionality: Font substitution is set via the registry under the FontSubstitutes registry key at: HKEY_LOCAL_MACHINE\...
RokeJulianLockhart's user avatar
-1 votes
0 answers
27 views

How does the manifest gets parsed and processed by the Android OS?

In the Android manifest we use the uses-feature tag so that the app can use a specific hardware or a software feature. How does the Android OS handle this tag? Whats the entry-point for the parsing of ...
Vamsi Shankar's user avatar
0 votes
0 answers
240 views

Building Android 13 (ARM64) for the Linux Aarch64 Android emulator

I'm trying to build Android 13 (ARM64) for the Android emulator (linux/aarch64). I managed to correctly start Android 12 (ARM64) images with the following setup, but I fail to do the same for Android ...
Me7e0r's user avatar
  • 21
1 vote
0 answers
290 views

How to build and flash Pixel 8 platform and kernel

I am a complete newbie to AOSP and I'm having trouble building and flashing android kernel for Pixel 8. I've been trying to follow Building Pixel Kernels instructions, but I'm experiencing some issues....
min893's user avatar
  • 11
1 vote
0 answers
53 views

How do I know what kind of code fix was given to a specific CVE for Android?

Consider CVE-2023-21385 which was discovered in AOSP. In this security bulletin, they mentioned that this issue was fixed. Is there any chance to know what kind of fix was given to this CVE (code ...
Vamsi Shankar's user avatar
1 vote
2 answers
188 views

Primary Zygote (64-bit) only starts the System Services? And all Android apps are 32-bit?

As far as I know Zygote is started by app_process64 and app_process32 where 64 is for primary zygote that starts system services because of start-system-server flag. As we can see below in static void ...
Wei Minn's user avatar
  • 111
0 votes
0 answers
79 views

AOSP: What makes LineageOS Setup Wizard run in LockTask mode?

I have noticed that when you flash a device and run it for the first time you get into the setup wizard. I assume that application is being run in so called LockTask mode (Kiosk mode for dedicated ...
UltrumDev's user avatar
10 votes
2 answers
1k views

Does Android AOSP communicate with third-parties?

I'm trying to eliminate all Google and Meta services from my digital life. (I don't like their policies.) So I thought about buying a new smartphone, removing the pre-installed ROM, and installing ...
Bruce Ecurb's user avatar
1 vote
1 answer
91 views

How to detect if an outgoing call is answered in Android 13?

On Motorola Edge 30, the system setting for this is not working. Interestingly, I found a GitHub issue that suggests this might be a bug in Android 13. Is there a workaround or a reliable way to ...
Smart Manoj's user avatar
0 votes
0 answers
101 views

Having problem building Android 13 for Pixel 6a

I'm trying to build Android 13 and flash it to my device, Pixel 6a. I followed the documentation, https://source.android.com/docs/setup/start and https://source.android.com/docs/setup/build/building. ...
n0bod1's user avatar
  • 101
0 votes
0 answers
63 views

I can't interact with android over hypervisor using virtio-input

I am running the android trout as a guest in a hypervisor, the problem is when I am interacting with it using virtio-input the events detected using getevent but not reflected Thanks in advance
Mostafa Gamal's user avatar
0 votes
0 answers
574 views

Built AOSP, can't run emulator

Following the directions to build AOSP, everything seems to go fine. I run: . ./build/envsetup.sh lunch sdk_phone_x86_64-userdebug make m That seems to go fine. Then the instructions say simply to ...
Gorilla Sapiens's user avatar
2 votes
0 answers
365 views

User-settable Root of Trust supported devices

As mentioned in Android doc Devices can optionally allow the user to configure the root of trust (for example, a public key). Devices can use this user-settable root of trust for Verified Boot ...
a farahabadi's user avatar
1 vote
1 answer
675 views

Building AOSP kernel with debug filesystem

As mentioned in android documention, Android 12 should not use debug filesystem in user mode. I want to build AOSP 12.1 for some device, but building in user mode results to error below: files are ...
a farahabadi's user avatar
1 vote
0 answers
347 views

Prevent Bypassing Android Verified Boot in custom ROM

Installing custom rom needs unlocked bootloader. so I unlocked bootloader. I built a custom android 12 rom with AVB enabled for system and boot partitions and flashed it. if I Installing apk through ...
a farahabadi's user avatar
3 votes
0 answers
435 views

full adb restore not restoring [unencrypted] .ab file to bootloader unlocked Lineage device

This is a follow-up troubleshooting question to this one here in this very same forum. After repeatedly confirming the connection through both of adb devices -l and fastboot devices -l tantamounting ...
maazkalim's user avatar
2 votes
1 answer
107 views

Use Macintosh layout for external physical keyboard?

I'd like to connect a German Macintosh keyboard to my Android device. It uses swapped signals for °/^ and </> as well as different positions for [, ], {, } and @. It also has a bunch of special ...
Martin Braun's user avatar
2 votes
1 answer
741 views

disable keyguard, statusbar and navigation bar on AOSP Android 11 system

How do we disable the Keyguard to appear on the device after the boot up on Android 11 onwards. Also how should I remove the Status bar and navigation bar to appear from the device always. I do not ...
Udosldo's user avatar
  • 21
0 votes
0 answers
193 views

Is FBE + Metadata Encryption secure if pin/password not set

My device is based on Android 11 and does not have a security lock screen. By default it has FBE and Metadata encryption enabled. How secure this encryption is without setting the Pin/password. How is ...
Lavyansi's user avatar
1 vote
0 answers
320 views

Access "data/tombstones/" dir from Android application

Trying to get access to "data/tombstones" directory from my rooted phone. I am implementing a crash collector application (system application) which would help to record the system's ANRs ...
Lavyansi's user avatar
1 vote
1 answer
178 views

Moto G8 Power/sofiar softbricked, TWRP sees encrypted files

I got a hold of a Moto G8 Power, it has no working OS (slot A is Lineage, slot B is arrow OS, neither works). Bootloader works, TWRP recovery works, bootloader is unlocked. The issue is anytime I try ...
masiton's user avatar
  • 31
0 votes
0 answers
359 views

Trying to flash Gapps on Sony Xperia 10 III AOSP android 12

I have a Sony Xperia 10 III open device and I have build an AOSP android 12 and flashed the build to the phone which has booted successfully. Since the AOSP is not having any google apps prebuilt, I ...
Anerudh's user avatar
0 votes
0 answers
598 views

Compiling Android Bootloader Little Kernel

I have successfully compiled Android bootloader from git://codeaurora.org/kernel/lk.git It produces a lk.bin file which I assume is the code for the bootloader. How do I pack that file into a ...
manit's user avatar
  • 101
0 votes
0 answers
2k views

emulator: ERROR: Can't get kernel version from the kernel image file

I want to start the emulator for the custom AOSP 12L build for arm64 using emulatorcommand. The AOSP source was downloaded from Sony's open device project for Xperia devices. The command that I ran is ...
Anerudh's user avatar
0 votes
0 answers
388 views

How to create OTA zip and update OTA zip file into target device (android11)

I am working on Android 11. Cloned & compiled source code , all images are generated. Now I am trying to generate OTA zip file and update into target device. Can you please help me to generate OTA ...
GNK's user avatar
  • 129
1 vote
1 answer
508 views

Why is a vendor blob needed to build an Android ROM?

Why do we need a vendor blob in order to make our custom Android ROM from the AOSP project? As far as I know, the vendor blob contains the required proprietary drivers. But these drivers we could have ...
Priyanshu Jangid's user avatar
0 votes
0 answers
556 views

cmd overlay enable <package name> resets to it's previous state after reboot

I'm trying to switch between gestural and threebutton navigation using cmd overlay enable com.android.internal.systemui.navbar.gestural and cmd overlay enable com.android.internal.systemui.navbar....
Sourabrt's user avatar
  • 101
1 vote
1 answer
43 views

What's the best approach in Android for disabling all peripheral ports for certain applications?

My company has their own Android tablets created by an OEM partner and we are using custom ROM based on Android 11. The stakeholders have a strange requirement now. They want to allow only our ...
Jugs's user avatar
  • 11
0 votes
0 answers
3k views

Run custom ROM on emulator/VM

Before I want to begin, I know this question has been asked, but I only found old answers or not really what I was looking for. So, I want to build a custom ROM, and I'm sort of a beginner and I'm ...
sticsk's user avatar
  • 213
1 vote
0 answers
37 views

Block URLs from Android Webview [duplicate]

I am looking for a solution to block all URLs except a few which are required for my device to function. I have all the root permissions required to make changes. Is there any way we can block all ...
Lavyansi's user avatar
1 vote
1 answer
1k views

Implement URL whitelisting in Android

I want to whitelist some URLs been used by my device and native apps for sync and updates. Other than these few URLs, I wish to block all other URLs being accessed by any chat window and browser. I ...
Tech Q's user avatar
  • 11
0 votes
0 answers
120 views

Can I disable Passpoint somewhere on the OS level (not GUI)

I'm using a version of Android for the Raspberry Pi and PasspointManager is causing the machine to crash and go into an endless boot loop. Is there any suggestion for a way to disable Passpoint on ...
samtram's user avatar
1 vote
0 answers
780 views

GSI-GMS image bootloop, non-GMS works fine

Flashing the ARM64 version (Android 11 or 12) from here works fine on my Blackview BL6000 Pro. However, flashing any ARM64+GMS only boots into the bootloader (not fastbootd). In general, how would one ...
Nicholas Brandt's user avatar
5 votes
2 answers
6k views

How can I increase the maximum number of background apps on Android 10+?

The way Android works, there are two cases in which an app is killed. The device is low on RAM. This is kind of self-explanatory, there is generally no page file on Android, and RAM is finite. The ...
trainman261's user avatar
1 vote
0 answers
543 views

Install/replace default android audio decoder - Play Hi-res audio

I want to be able to playback hi-res audio files on my device without being tied to a specific application. According to this spec page on GSMArena the device should be able to play 32-bit audio files....
ItzJustJosh's user avatar
1 vote
0 answers
439 views

Doogee S88 pro Malware + install custom rom

I purchased the Doogee s88 Pro a year ago, and it is the perfect phone for my rugged lifestyle, except of the uncertainty of them installing malware / adware in their devices. I'm trying to install a ...
mbs's user avatar
  • 11
0 votes
1 answer
462 views

Emulate vanila Android-arm64 on PC

I need to examine how the ELF binary (which is compiled for ARM processor) executes on Android-arm64. Can you please suggest how I can emulate Android-arm64 on the x86 system? I have checked Android ...
Austris's user avatar
0 votes
0 answers
992 views

Auto IMEI randomization in Android (like WiFi MAC randomization)

How do I set the IMEI number to automatically randomly change every time I connect to a cellular network? Android 9 introduced a feature that was a huge boon to the privacy of Android users: WiFi MAC ...
Michael Altfield's user avatar
0 votes
0 answers
160 views

Camera stream rotation on the platform level

In the Quectel SC600Y board, I have a camera sensor (OV4188) that is mounted 90°CCW in relation to the device's default screen orientation, therefore, the stream that is displayed is also rotated 90°...
Booyaches's user avatar
  • 121
2 votes
1 answer
945 views

AOSP Android 11 Kernel build for Pixel3a/Sargo Touchscreen not working

Intro: I had an issue getting the build to compile, but finally got it to successfully build/compile, & installed on my phone, as covered here: mkbootfs command not found while trying to build ...
Kevin's user avatar
  • 191
2 votes
1 answer
1k views

`mkbootfs` command not found while trying to build AOSP kernel

Followed guide here: https://source.android.com/setup/build/building-kernels mkdir android-kernel && cd android-kernel repo init -u https://android.googlesource.com/kernel/manifest -b android-...
Kevin's user avatar
  • 191
1 vote
0 answers
119 views

How to flash AOSP 11 on to Redmi 6A?

I've successfully compiled aosp_arm64 and now I'd like to know how to flash it on to my device. I couldn't do it with command fastboot flashall -w as it outputs this: ----------------------------------...
Nathan's user avatar
  • 11
0 votes
0 answers
989 views

open failed: EACCES (Permission denied)

I am trying to copy the file from /storage/emulated/0/test.txt to /cache/SH_DIR/ via android user application , getting error like below : java.io.FileNotFoundException: /cache/SH_DIR/test.txt: open ...
GNK's user avatar
  • 129
0 votes
0 answers
51 views

What does it mean when a file is owned by the user “system” and the group “system”? in android file system

I just trying to understand What does it mean when a file is owned by the user “system” and the group “system”? in the android file system. In the android device file system root@xyz:/ # ls -l cache/ ...
GNK's user avatar
  • 129
1 vote
0 answers
240 views

Dismiss ANR dialog on rooted device

I have a device that is rooted that is just used to display information on the screen without user interaction, screen is just a regular screen not a touch screen. Since my device is rooted is there a ...
tyczj's user avatar
  • 161
1 vote
0 answers
62 views

AOSP 7.1.2 - Firefox (Fennec and IceCat) result with just a white screen [closed]

I have installed a Custom ROM (AOSP 7.1.2) on a Samsung tablet. It is rooted, and also has gapps (pico). Most everything works - except, when I installed both versions of Firefox for mobile - Fennec ...
sdaau's user avatar
  • 271
1 vote
1 answer
237 views

AOSP x86 adb secure

I'm trying to build a custom ROM with secure access via adb. My goal is to secure the android image so that it can only be accessed with a certain adb RSA key pair. When I build AOSP with 'user' ...
dgcipp's user avatar
  • 111
2 votes
0 answers
865 views

Is it possible to get vendor-specific files (e.g. drivers) from a phone and use them in combination with AOSP?

I was wondering whether it's possible to get these files, because to use AOSP on a device, you need these even just to boot. They aren't publicly available from some vendors (IIRC Google provides them?...
Timotej Leginus's user avatar
1 vote
0 answers
578 views

Flash system.img file without fastboot over USB

I want to flash a different version of a system.img and normally this would be done with fastboot via USB but the device I am trying to do this to I cant use adb/fastboot over USB and I have to use ...
tyczj's user avatar
  • 161