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
bionic/libc/include/sys/epoll.h:67:8: error: redefinition of 'epoll_event'
I am getting the following exception while building the ROM for a lineageos project and need some help diagnosing and resolving the issue:
In file included from device/lenovo/tb8504f/camera/QCamera2/util/QCameraDisplay.cpp:53:
In file included from…

dazza5000
- 7,075
- 9
- 44
- 89
0
votes
1 answer
error: invalid application of 'sizeof' to an incomplete type 'struct snd_codec_metadata'
I am getting the following exception while building the ROM for a lineageos project and need some help diagnosing and resolving the issue:
FAILED:…

dazza5000
- 7,075
- 9
- 44
- 89
0
votes
1 answer
recipe for target 'arch/arm64/boot/dts/qcom/msm8917-pmi8937-qrd-sku5.dtb' failed
I am getting the following exception while building the recovery for a lineageos project and need some help diagnosing and resolving the issue:
ERROR (phandle_references): Reference to non-existent node or label "smb_int_default"
ERROR…

dazza5000
- 7,075
- 9
- 44
- 89
0
votes
1 answer
ebtables.c:61:3: error: implicit declaration of function 'xt_compat_calc_jump' [-Werror=implicit-function-declaration]
I am getting the following exception while building the recovery for a lineageos project and need some help diagnosing and resolving the issue
Device tree:=…

dazza5000
- 7,075
- 9
- 44
- 89
0
votes
1 answer
*** Missing UAPI file /home/lineageos/kernel/lenovo/tb8504f/include/uapi/linux/netfilter/xt_DSCP.h. Stop. while building recoveryimage
I am trying to build the kernel for a custom ROM and am getting the following exception:
*** Missing UAPI file /home/lineageos/kernel/lenovo/tb8504f/include/uapi/linux/netfilter/xt_DSCP.h. Stop.
I've installed the following package on Ubuntu, but…

dazza5000
- 7,075
- 9
- 44
- 89
0
votes
1 answer
Android Kernel - Unable to activate CONFIG_USB_ETH=y in the kernel dot config
I am trying to configure Android Kernel (msm-4.4)to have USB-CDC Ethernet Support in order to implement USB tethering in the low level. What I want to do is to migrate what's done in the following link to Android:…

mozcelikors
- 2,582
- 8
- 43
- 77
0
votes
1 answer
Interact with virtual serial device in polling mode in linux C
I'm trying to enable polling support for a serial over USB driver on an android kernel, so that I can debug it using kgdboc. I based myself on the code from these…

Alex
- 1
- 1
0
votes
1 answer
How to enable zram swap in Android Build/kernel?
How to enable zram as swap device in android linux kernel ?
Is there any way create zram before init process ? kernelcmdline or kernel config.
As per zram.txt no default way.

Pankaj Suryawanshi
- 681
- 1
- 9
- 23
0
votes
1 answer
How to access members of nested struct and assign them the values read from device tree?
Following is my device tree:
Can anybody correct this code, I'm new to c and driver development, how to access members of a nested struct and assign the values read from device tree and populate it the values in sys class.
I'm expecting the…

Shankar Kumar Yelapu
- 39
- 1
- 1
- 9
0
votes
1 answer
Can't run my goldfish kernel with android emulator
I am trying to compile the goldfish kernel:
(is it the right branch? cross-compile toolchain?)
git clone https://android.googlesource.com/kernel/goldfish
cd goldfish
git checkout -t origin/android-goldfish-3.10 -b android-goldfish-3.10
export…

mrneumann888
- 13
- 7
0
votes
0 answers
How to modify the touchscreen driver on android to get automatic fast screen touching?
My device is huawei p7,the app would detect the root permission,so i want to midify the ts driver to get automatic fast screen touching..
The ts driver…
0
votes
0 answers
Android kernel module compile error
Well. I am going to add an android kernel module.Here is how am I doing it.
First, I created a vuln directory under the /drives with these files in it.(Kconfig,Makefile,vuln.c)
The content of Kconfig is
config VULN
tristate "vuln module"
…

Xudong Shao
- 199
- 3
- 12
0
votes
0 answers
Converting source blob Android kernel back to Git repository
Hope this is the right place to ask, and not softwareengineering.stackexchange.
A couple of enterprising people released a CM11 build for my ancient (Samsung Galaxy S DUOS, released 2012) Android device some time ago. I successfully rebuilt it…

michaeljt
- 1,106
- 8
- 17
0
votes
0 answers
How to identify build-specific kernel files?
The Linux kernel repository contains files for various supported architectures, but in actual build, not all files are used. If I have a modified Linux kernel source code, which contains all the files from the original tree but doesn't use them, how…

Notagenericmember
- 13
- 3
0
votes
1 answer
I have an Android app to communicate with pic micro controller using uart pin. But i cant install the app on device. Any solution?
Am using odroid C2 with Android 5.1, And using Github code (https://github.com/androidthings/sample-uartloopback/tree/master/app). I can see COM Port in Device manager when i connect the RX TX pin with PC using a bridge.
And I can't install the app…

Aadhi
- 1
- 3