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.

Questions about Android source code and dependent themes: building from the source, contributing, porting etc.

  • Android Open Source Project
    Contains all necessary information about the Android source code. Start here.

  • Android Tools Project Site
    Information about contributions to the Android Developer Tools subproject.

  • android-platform:
    General discussion about the Android Open Source platform.

  • Android Building:
    Discussion on building the Android source code, and on the build system.

  • Android Contributors
    Developer discussion forum about contributions to the Android open-source software.

  • Android Linux Kernel Development
    Developer discussion forum about Android Linux Kernel development, debugging and porting.

  • android-porting:
    Discussion forum about the specifics of porting Android to individual devices, from obtaining toolchains and merging kernel drivers all the way to configuring or modifying applications for the specific configuration.

3064 questions
1
vote
1 answer

Setting default volume levels at AOSP Marshmallow image

I'm making custom AOSP Marshmallow image and i would like to set default volume levels higher by default. I found from Chinese forum that under frameworks/base/media/java/android/media/AudioSystem.java can be found /** * M: modify the default…
Juge
  • 536
  • 8
  • 21
1
vote
1 answer

building android 2.1 (eclair) from source

I am trying to build Android 2.1 from source using the instructions given here However, when I run repo sync it exits with an error that says: error: revision eclair in Cyanogenmod/android external webkit not found. Does anyone have any idea about…
kaisar
  • 97
  • 2
  • 9
1
vote
1 answer

Media volume either 0% or 100%

I have a custom android AOSP ROM with a peculiar problem: The volume can only be set to either 0% or 100%. As a result, the volume buttons just turn the sound on or off. If I use the volume slider instead, and the volume is not muted, it jumps…
jdm
  • 9,470
  • 12
  • 58
  • 110
1
vote
1 answer

Develop Android AOSP apps with gradle

I am building a custom app in Android AOSP and added it under packages/apps/Car/MyApp Currently, the only way that I know how to integrate it into the build process is to create a Makefile Android.mk. Since adding dependencies/3rd party libraries…
phoebus
  • 1,280
  • 1
  • 16
  • 36
1
vote
1 answer

Adding information documents to a custom android build

The company I am with is developing a custom version of android which is to be used in our products. My team is developing applications which will be included in this custom android at the time of building the image. We used plastic scm to track…
1
vote
1 answer

undefined reference to '__android_log_print' error while building an Android system

I have tried to build an Android subsystem (external/tinyalsa). I got an error (error: undefined reference to '__android_log_print') while building the system. I use cm-14.1 to build android-7.1.2_r2 system, and I inserted ALOGx functions in…
Joonsung Kim
  • 246
  • 1
  • 3
  • 15
1
vote
1 answer

Error when adding external JAR to Android AOSP build

I am trying to add external JAR files (e.g., gson or eventbus) to my AOSP build. I tried it in two different ways: Adding them to prebuilts/misc/common/mylibs/ and creating a Android.mk file for the dir. Then, I merely include the symbolic name of…
phoebus
  • 1,280
  • 1
  • 16
  • 36
1
vote
1 answer

How do core system apps call hidden methods without reflection?

Normally, you can't direcly call Android APIs that are hidden (with the @hide annotation) from an app. You must use reflection to call such a method. But some of the apps that are included in AOSP call hidden methods directly. How can I do this too…
Android09
  • 31
  • 2
1
vote
1 answer

Android Zimage Kernel Can Be Unpacked?

Hy Guys .. I'm making a custom kernel project for my device, the project is almost done, but I'm having constraints about the camera, and in the kernel source there are no suitable drivers for my phone, my last choice is just to unpack zimage stock…
1
vote
0 answers

android add_service(android.hardware.camera.provider@2.4-service) fails- /dev/vndbinder permission denied

I'm working on HiKey aosp installed running on Linux 16.04, trying to connect v4l2 camera and use it. Currently, I've added the device drivers for v4l2 and usbcamera, and added the camera-hal to ~/(aosp)/device/linaro/hikey/camera directory.…
1
vote
1 answer

Building own custom framework base resources in AOSP

We are making our own custom base framework in aosp, this will build as a static jar in out/system/ and package with the system.img. We need to use our own framework resources also like images and string.xml so that we can access this from our own…
Nasif Noorudeen
  • 143
  • 2
  • 15
1
vote
2 answers

AOSP - difference between various shutdown commands

I have an AOSP 5.1 - build on my Allwinner A33 device. When long-pressing the "Power-Button" the device starts the "shutdown"-procedure. It shows a dialog "Power off" along with a spinner (see screenshot). This is visible for ~ 3.5s - 4.5s, then the…
Michael B
  • 1,660
  • 3
  • 28
  • 59
1
vote
1 answer

Changing functionality of android standard buttons in AOSP

I am developing android based educational device for students. I have customized android open source project. - changed launcher application - deleted standard system apps - added our apps. Now i am struggling with changing functionalities of…
1
vote
1 answer

How to use git bash in windows for cloning an Android project

I want to create an IME for android in arabic language. I needed some reference and found this : https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master/java/res Now I wanted to clone one of the directory trees onto my…
1
vote
0 answers

AOSP + annotation processor + jack

How to get libraries requiring annotation processor (such as butterknife, dagger etc.) to be usable for an app in AOSP (N, in my case)? Jack seems to support annotation processor according to this, but I can't find the proper flags to make it…
1 2 3
99
100