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
2
votes
1 answer
Android Compilation: No rule to make target
I am trying to compile an android kernel from source for an ODROID-XU4 (http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143452239825). I downloaded the source, added a few custom drivers & external programs, and now I am trying to…

James Schulman
- 101
- 1
- 7
2
votes
1 answer
Android goldfish kernel IOCTL system call hook kernel panic
I modified some system calls. Except "ioctl", all of them are working good. When i try to "rmmod" on my kernel module, i see kernel panic. I'm using android-goldfish-3.4 kernel in the android emulator.
Run emulator with custom kernel:
emulator…
user1151618
2
votes
1 answer
Running the modifed Goldfish kernel on Android from Source
I am trying to run a emulator from the Android source by loading the goldfish kernel with some of my configuration changes. Though I found a lot of questions on this, but could not find my answer.
1. I downloaded the android source.
2. I also…

ankur
- 43
- 6
2
votes
0 answers
Sending netfilter hook message to user space module via netlink socket success but loop
I am a beginner in Android kernel space programming. In my modules, kernel and user space module are successfully communicating via netlink sockets and netfilter hook also works. But when I send netfilter message to user space module via netlink…

Vergil
- 21
- 4
2
votes
1 answer
logger driver in android lollipop kernel
In android 4.4.2, logger driver (drivers/staging/android/logger.c) was used to read and write android logs to /dev/log/(main or system). In android lollipop, Logger driver logger.c is removed. Then how does logcat reads android logs? where is…

Roy Miller
- 31
- 4
2
votes
1 answer
Packing Custom Android boot.img Error
I am receiving the following error every time I make a modified Nexus 6 kernel and use Peter Batard's mkbootimg tools (https://github.com/pbatard/bootimg-tools) to create a bootable image:
android@ubuntu:~/android-sdk-linux/platform-tools$…

rourion
- 33
- 6
2
votes
0 answers
HID Digitizer Descriptor doesn't perform well with landscape orientation
Use-case
Implement a HID "Touch Screen" for a SmartPhone device using USB
"Touch Screen" should operate well in either landscape or portrait orientation
Dev Environment
Samsung Galaxy 5
Android 5
Problem description
When the phone is in the…

NadavRub
- 2,520
- 27
- 63
2
votes
1 answer
Issues compiling Android Kernel + Cross Compiling with LiME
As the title suggests.. I am struggling over the last days to successfully compile LiME (Linux Memory Extractor) and load it on an Android Emulator or a physical device. To compile I am using arm-linux-androideabi-4.6 and I am currently on x64 14.04…

user3761291
- 73
- 1
- 7
2
votes
1 answer
Is Android's Binder implementation always non-blocking for "void method"-calls without parameters?
Will IPC "void method"-calls without any parameters block the current thread/process? Or will the kernel just pause the caller-process/thread until the call finishes because the called process may do further IPC callbacks?

Shraal
- 23
- 6
2
votes
1 answer
Where to find Android patches?
I have vanilla linux kernel version 2.6.27. I want to apply android specific patches and convert it to android linux kernel 2.6.27. Where can a user find the patches to convert a normal vanilla kernel into android kernel?

murugaprabu
- 21
- 1
2
votes
2 answers
how to check whether the kernel is for android or linux?
I have the source code of a kernel. but i don't know whether the kernel is android kernel or Linux kernel. I have searched about it on google but i haven't found any proper answer. As i know ,android kernel is Linux kernel and some patches applied…

Jagdish
- 1,848
- 3
- 22
- 33
2
votes
1 answer
Getting all Neighboring Cell IDs/RSSIs Android
I have used TelephonyManager API to get cell info which returns 6 or less neighbors with cell IDs/RSSIs. Same is the case if you communicate through RIL to get ARFCNs/RSSIs then we always get 6 neighbors. But normally there are more than 6 neighbors…

Ramiz Raja
- 300
- 6
- 17
2
votes
1 answer
Android Source Code: Is there code to manage SIM cards?
I am trying to find the source code for SIM cards, or at least know the location. I found an interesting site and then got the source code for a Samsung Android system…

Devyn Collier Johnson
- 4,124
- 3
- 18
- 39
1
vote
2 answers
Installing kernel modules in Android kernel
I am trying to develop a TCP traffic shaping solution with the help of netfilter hooks in linux kernel. Now I want to do the same in Android kernel. I used ubuntu and there I was able to install kernel module through insmod command. How to do the…

user1219784
- 201
- 1
- 4
- 7
1
vote
0 answers
Unable to see any /sys/devices/xx interface created from kernel module loaded through k_vendor_module.rc
Trying to integrate a third part kernel vendor module to our android stack. Since this is module is not needed as part of early-init, decided to not put it under BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD which worked in the first place.
Now I'm…

aTJ
- 3,823
- 3
- 21
- 25