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
Why simulating touch events in Lollipop doesn't work
I want to inject touch events into the device. I use instrumentation for that. The method works well on Jelly Bean, but it doesn't inject nor does it give any error in Lollipop.
When I searched I found that it might be due to the enforcement of…

Dania
- 1,648
- 4
- 31
- 57
0
votes
1 answer
Android kernel : How to create /dev/video0 before ueventd daemon gets started?
I want to access /dev/video0 from a kernel module after camera is initialized.
For that I want to create /dev/video0 node before the ueventd daemon gets started.

Devarsh Thakkar
- 131
- 1
- 8
0
votes
1 answer
Regarding msgrcv in android-kernel?
I was running a test suite for testing IPC related functionality in android kernel. while I was testing msgrcv system call , it return error function not implemented.
So is it true msgrcv() system call not implemented in android-kernel, if so why…

Pradeep Goswami
- 1,785
- 1
- 15
- 24
0
votes
1 answer
How to get an executable's attributes C
I am writing a short C program, which runs in Android environment. I like to know if there is an object I can reference which would have a pointer to the same executable. I think it would be kind of like "this" pointer in Java. My goal is to get…

user3326293
- 817
- 1
- 14
- 37
0
votes
0 answers
Monitoring the data usage of each device attached to the android hotspot
Fellow Craftsmen.....
I'm trying to create an application that can monitor the data usage of each device that is attached to the Android mobile hotspot. From what I have seen the TrafficStats class can only return usage per UID (application) however…

Ben_Z
- 1
0
votes
0 answers
MotoG kernel compile from sources issues
Goal I am new to kernel compile thing. My goal is to build the kernel from source for motoG.
Work Done
Until now I have downloaded following modules.
motoG kernel source
Android r5c NDK
Also following tutorial I have performed all steps without…

CryptoKitty
- 654
- 4
- 20
0
votes
1 answer
Is it possible to write an app to interface and activate the underlying linux kernel device driver?
I have a simple device driver activated, and I wonder if I can write an app that would interface with it. That is activate the functions such as open(), ioctl(), etc.
I have compiled an executable which I wrote in C, and it does the same thing. But…

user3326293
- 817
- 1
- 14
- 37
0
votes
2 answers
Android Autosleep
Currently I'm locking at the Android Kernel and I'm wondering about the Wake lock mechanism. How and where is the interval time specified which defines at what point the phone will suspend. Is there a sysfs interface which passes a value (in…

Peter P
- 491
- 4
- 14
0
votes
1 answer
Android Kernel - Switch between network types at runtime
I'm currently working on an experimental Android Kernel (Research). I'actually trying to find some ways to preserve battery charge by implementing a kind of power management tool on the kernel level. I'm working on the msm-hammerahead kernel (used…

Peter P
- 491
- 4
- 14
0
votes
0 answers
Linker error when compiling Samsung Note 3 kernel
I'm trying to build a kernel for the Samsung Note 3 (SM-N900A). I'm running into a linker error:
LD init/mounts.o: fatal error: no input files
I'm understanding that to mean that there's no init/mounts.o file, which is the case...there isn't one,…

user1791622
- 105
- 1
- 2
- 8
0
votes
1 answer
Android-Kernel: Is there any way to dump ftrace to a file when kernel panic occurs
I write all my module's logs to ftrace., and could not get my log prior to kernel panic occurs. Is there any way/trick to dump the entire /d/tracing/trace into a file when kernel panic occurs?
enabled all ftrace related configs and tried with,
…

Balamurugan A
- 1,886
- 2
- 17
- 19
0
votes
1 answer
Android 4.4 Rom Build with Root Access for all APK
I'm trying to compile (build) android ROM (KitKat 4.4.2) and encountered a permission related issue.
I've got the rom working properly on the device, however, I am looking for ways to allow one of the application to gain permission to perform…

WorldWind
- 311
- 1
- 5
- 17
0
votes
1 answer
Android Kernel: new CPU governor
I'm trying to make a new CPU governor, which it verifies threads has each core and it gives more frequency to the one who has more threads in that moment and less threads to that core in the next program request.
Is there any way to do this?
Thanks.

metalhead6666
- 1
- 1
0
votes
1 answer
How to rotate sceen from kernel/console in android ?
I am trying to rotate screen (whole fb) from kernel. Due to some hardware changes my phone screen is coming in inverting mode. Where can I change in kernel for changing default screen orientation

Aagam
- 1
- 1
0
votes
1 answer
Android Kernel Compilation Requirement
I'm trying to setup the environment for Android compilation and the requirements suggest that I need to have 16GB of RAM/SWAP for compiling Android on a virtual machine.
I'm using an Lenovo R430 and it has a 4GB RAM. Can I go ahead with the…

ankit409
- 93
- 7