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

All Questions

Tagged with
1 vote
0 answers
73 views

Auto grant runtime permissions via default-permissions.xml for AOSP 12 or later are not working in Android

Default permissions are not auto granted for permissions categorised as runtime or dangerous permissions via default-permissions-example.xml file for an application that I am trying to run as a system ...
Arpit's user avatar
  • 1,192
0 votes
0 answers
161 views

How to debug Android System Application on Android 11 (AOSP)?

I am trying to debug a system application I have written, but I don't see documentation that works with Android 11 and I have run into errors trying to figure it out myself. I am using an emulator or ...
Anthony Sabbagh's user avatar
0 votes
0 answers
48 views

[tag][VTS] Fastbootd related VTS modules are failing

Android version: 13 VTS tool version: 13_r1 Modules Failing :- FastbootGetvarUserspaceTest FastbootVerifyUserspaceTest Issue description:- My device is Android 13 launch device(with AOSP r24 tag), ...
jayanth vutukuri's user avatar
0 votes
2 answers
145 views

How to build Windows binaries such as adb.exe when building AOSP in Linux

I build AOSP on branch android-13.0.0_r41 with the following command: . build/envsetup.sh lunch aosp_arm-eng m all -j$(nproc) Some environment variables: PLATFORM_VERSION_CODENAME=REL ...
hdthky's user avatar
  • 85
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, ...
Hemanth Chowdary's user avatar
1 vote
0 answers
383 views

Error INSTALL_FAILED_PACKAGE_CHANGED when installing app using adb install

When I'm trying to update an app using adb install command, I get error Failure [INSTALL_FAILED_PACKAGE_CHANGED: installPackageLI]. I tried to search the error in android source but the error is not ...
mahdi's user avatar
  • 812
0 votes
2 answers
909 views

Installing or giving my app system level permissions (API 30+)

I'm currently trying to develop a system app or a application with system level permission so it can for example change language and disable/enable wifi etc. There are some examples out there with ...
TomG's user avatar
  • 1
0 votes
2 answers
448 views

ADB Device Cannot be Authorized in User build

I am making user-build with the Android Open Source Project. I want to authorize ADB using the adbkey.pub file that we have in the directory: ~/.android. For this, I put this file in a suitable place ...
Tuncay Yıldırım's user avatar
0 votes
1 answer
91 views

lldbclient.py on multiple connected android devices

lldbclient.py does not seem to work with multiple adb devices connected to the same host. Let's suppose I have multiple android devices attached to my host. adb devices USB_device_01 device ...
WBR_88's user avatar
  • 101
1 vote
0 answers
465 views

adb command to get list of offloaded apps ( apps uninstalled while keeping their data directory)

Android gives the feature to uninstall apps while keeping their data directory (called offloading). This is useful for apps which we use less frequently where we can offload it to claim storage but ...
chinmey_014's user avatar
0 votes
1 answer
199 views

Cannot connect to local webserver in app, but adb shell works

I have a system service on my android phone which runs a webserver as soon as the device is booted. When I go into the adb shell and use curl to make a request it works perfectly fine, but as soon as ...
Markusbug's user avatar
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 ...
code's user avatar
  • 5,526
0 votes
1 answer
572 views

Empty sys/class/leds

On my 8.1 oreo android tablet, I have a front RGB led. I'm trying to change the color of it by using ADB commands, however I can't find the led in the system. I searched for everywhere (under sys/...
Giorgio's user avatar
  • 121
0 votes
0 answers
557 views

How to provide separate network name spaces for android applications in android 7.0 AOSP?

I am working on a rooted AOSP based Android product which is based on Android 7.0. This embedded device has a number of wireless networks (5 to be specific) of different generations (3G, LTE 4G, 5G,......
EmbeddedDeveloper's user avatar
1 vote
0 answers
699 views

Update app on system_ext partition Android AOSP

I'm learning about AOSP and I've made a Service.apk and placed it in the system_ext/priv-app partition. For the first time, I've to build a full Android image including my service and flash to the ...
dnguyen244's user avatar

15 30 50 per page