Questions tagged [android-kernel]

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.

218 questions
1
vote
0 answers

Issue with ASUS Touch Screen Monitor and Android Device

I am connecting my Android Device with ASUS VT168H monitor over USB and HDMI. The issue I am having is with the asus touch screen monitor. It doesn't invoke the proper touch, means if I touch at at the bottom of the screen the actual touch will…
MMJ
  • 519
  • 1
  • 9
  • 26
1
vote
1 answer

How to build our own Google's Call Screening(Incoming call answer bot) application?

Is there any way to build our own Call screening application(Incoming call answer bot) to transfer the specific audio recording to an incoming call? To do that The application should answer the call. (There is an official API to answer the phone…
thuva4
  • 1,185
  • 8
  • 13
1
vote
1 answer

About Linux PID0 Idle task per cpu core

I am working on CPU-IDLE in Linux. I have the question who spawns idle tasks per CPU core i.e. if there are 4 arm CPU cores, who spawns the per CPU idle task? Where the code for the same is located for creating idle tasks? I understand that…
1
vote
2 answers

How to Re-build HAL in android?

I have made changes in device//manifest.xml and now i want to rebuild only boot.img and vendor.img. Is there any way/command to build only HAL module in android ? Thanks
Gajjar Hardik
  • 41
  • 1
  • 8
1
vote
0 answers

After OSUpdate device not booting from slot B even after marking slot B as active

I am working on the OSUpdate feature.When OSUpdate starts, the AOSP mark the target/next slot as active. So when update the successful, in next boot the device will boot from next slot or we can say the slot which is marked as active. Currently I am…
swetabh suman
  • 1,949
  • 2
  • 19
  • 24
1
vote
1 answer

hardware/qcom/display-caf/msm8996/sdm/libs/core/drm/hw_info_drm.cpp:559:35: error: use of undeclared identifier 'QCOM'

I realize I need to define QCOM has the vendor somewhere, but which file / where is this typically declared? I am getting the following exception while building the ROM for a lineageos project and need some help diagnosing and resolving the issue: …
dazza5000
  • 7,075
  • 9
  • 44
  • 89
1
vote
0 answers

repo init -u https://android.googlesource.com/kernel/manifest failed

I want to get the android kernel code, I follow https://source.android.com/setup/build/building-kernels, and mkdir kernel_aosp, my phone is pixel,so I use the repo init -u https://android.googlesource.com/kernel/manifest -b…
1
vote
1 answer

Android Kernel Modules, Custom kernel

Was trying to make custom kernel. After making some changes build a kernel and installd on mediatek device gps, wifi stopped working checked $ls -la /dev/ no devices found related to gps, wifi and bluetooth, extracted vendor.img and tried to…
1
vote
0 answers

How to fix sepolicy error in android emulator (goldfish kernel + android-9) boot loop

I want to run custom kernel ( goldfish ) on android-9 (API 28) avd. So I just downloaded goldfish kernel: git clone https://android.googlesource.com/kernel/goldfish/ -b android-4.4 make x86_64_ranchu_defconfig make -j4 then I run…
1
vote
0 answers

Reading file in the Linux Kernel

so before I get the barrage of "you shouldn't be doing that", I know I shouldn't. But it is for a dirty, quick proof of concept for some research work. If the concept works I will look at proper exporting of information to my module. My knowledge of…
Alex Hoffmann
  • 355
  • 4
  • 20
1
vote
2 answers

How to enable Developer Options by default in android source?

I want to enable Developer Options by default on android source? Is it possible? Please let me know.
makpan
  • 19
  • 4
1
vote
0 answers

Error "function 'nop'" when building android kernel

I am making the android kernel for the first time and after few errors(which I have overcome) I am getting below error log: casual@Casual-PC:/media/casual/USB/android_kernel_yotaphone2-DKernel$ make O=../out -j4 GEN …
Casual
  • 71
  • 1
  • 8
1
vote
1 answer

Segmentation fault running a goldfish kernel under emulator

im using OS: ubuntu 18.04 toolchain: x86_64-linux-android-4.9 emulator: Android emulator version 27.3.9.0 i did the things below for kernel versions 3.14, 3.18, 4.4 compilation succeeded for all with a few warnings... git clone…
1
vote
1 answer

How can I fix these mismatches?

Used GCC: Linaro-GCC 4.7/4.8/4.9.3/6.4/7.3 but version seems to be meaningless OS: updated Linux Mint 19 and 4.17.2-ext73-57.2 kernel. I have tried to compile a few sources (e.g. official LineageOS source) and everytime I got that: WARNING:…
1
vote
0 answers

Difference between the toolchains of android

There are many different types of toolchains available here. But I cannot understand which one to use for what. I understood that arm toolchains should be used for compiling 32-bit architectures.But there are differen arm toolchains. But again x86…
kjsr7
  • 397
  • 4
  • 20