Core component of Android OS that bridges between applications and the actual data processing done at the hardware level. It is based on the Linux kernel.
Questions tagged [android-kernel]
218 questions
0
votes
1 answer
how to build android kernel goldfish 2.6.29 and run it on qemu?
I download source of android kernel with these commands:git clone https://android.googlesource.com/kernel/goldfish.git
git checkout -t origin/android-goldfish-2.6.29 -b goldfish
then, I make some conf with these commands in goldfish directory export…
user4936030
0
votes
1 answer
How to measure number of sensor requests per application on android programmatically?
I am wondering if there is an exposed SDK or way to read from android framework/kernel to read number of sensor requests per application or given an UID or PID.
0
votes
1 answer
Android goldfish 3.18 ARM
I just see that Google was add goldfish_armv7_defconfig to the 3.18 kernel, when I compile the kernel, there is no error. But when I launch it in the emulator I got just a black screen and the device stay "offline"!
Compilation:
$ make ARCH=arm…

St0rm
- 391
- 2
- 9
0
votes
0 answers
How can i modify certain android kernel to recognize external wifi adapters?
When i flashed my custom rom i tried to see what it recognizes because the stock kernel was not recognizing this atheros external adapter which was connected with OTG cable. So when i typed in the terminal (in this case i was using Termux, which is…

user221573
- 9
- 1
0
votes
1 answer
Error while compiling android 3.10 kernel source
Recently I tryed to crosscompile android kernel for my xiaomi mi4c.
To do this I have downloaded and configured toolchain like this:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 -b …

Максим Пазюк
- 117
- 1
- 1
- 6
0
votes
1 answer
Tweaking display driver on Android Mako to use only fixed part of the display
I am trying to find out whether it is possible to change the display on Nexus 4(WXGA) to 400x400 for designing application for wearables of any similar resolution.
Till now I have tried changing the video panel coordinates from 768x1280 to 400x400…

Neha Prabhakar
- 3
- 4
0
votes
1 answer
Android goldfish Kernel compilation
I'm trying to run modified android kernel on android lollipop. I downloaded Android sdk api-22 x86 and compiled goldfish using these commands:
$ git clone https://android.googlesource.com/kernel/goldfish.git
$ cd goldfish/
$ git checkout -t…

Umer
- 106
- 1
- 7
0
votes
0 answers
Hide developer options is enable in android?
I am trying to find programmatic way in android to :
Hide Mock Location [without root]
Hide that developer option is On [without root]
it is possible programmatically speaking ? Thanks i know this question is pointless unless i try something , but…

Zulqurnain Jutt
- 1,083
- 3
- 15
- 41
0
votes
1 answer
How to add multiple kernel versions to local repo manifest
I followed this link to create a local manifest to download a particular version of android kernel as follows:

skylinedreamer
- 71
- 10
0
votes
1 answer
android kernel error: 'struct dentry' has no member named 'd_alias'
So I have cloned the android kernel source for my motorola mobile, and was in the process of building it.
Android Kernel Info:
Name: Android Kernel Motorola MSM8610
Device(Intended): Moto E
Hardware: MSM8610
Github: Kernel Source…

Mohit
- 1,045
- 4
- 18
- 45
0
votes
1 answer
git cloning Goldfish object corrupt error
I was trying to clone Android Goldfish kernel source code by using the following command,
git clone https://android.googlesource.com/kernel/goldfish
but as it needed to download around 900MB of data I thought what the heck and went through with…

Mohit
- 1,045
- 4
- 18
- 45
0
votes
1 answer
dt-bindings/clock/bcm2835.h: No such file or directory
I trying to build the android kernel for Raspberry Pi 2 from https://github.com/peyo-hd/device_brcm_rpi2, but I am facing the following build error when building dtbs:
$ ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make dtbs
CHK …

daygoor
- 120
- 1
- 1
- 10
0
votes
1 answer
How do I change the path while executing make file_defconfig Android kernel?
After the following lines:
export CROSS_COMPILE=/home/yourusername/NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-
make clean && make mrproper
make maker.defconfig gives me this error:
Can't find default…

CyanideBlue
- 3
- 4
0
votes
1 answer
How to pull kernel panic logs from android kernel panic upload mode?
During development i faced a crash and a kernel panic upload mode was shown.
Is there a way to connect to the device somehow and pull the logs ?

TakashiYamamoto
- 13
- 5
0
votes
0 answers
How to change file capabilities on Android?
Linux has the command setcap to change file capabilities. This does not seem to be supported by Android by default. Could anyone confirm this? If so, is there a way to add this command to Android which is a branch of Linux?
As for the reason to run…

Hong
- 17,643
- 21
- 81
- 142