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
0
votes
0 answers

Unknown symbol "net_log" (err 0)

I tried to compile rtl8188eus driver from aircrack's repo and while compiling I got 1 warning. Here is the full output(output was big): https://pastebin.com/Bh0ZL4Mc Even if I got this warning, I still got 8188eu.ko and when I tried to load it to my…
0
votes
0 answers

Device showing 32-bit kernel instead of 64-kernel in boot.img

As the title said every device info or hardware info app I download from play store shows my device is 32-bit or the kernel is 32 bit but I extracted my kernel from the stock boot.img file and ran the command; file kernel and it…
Kelexine
  • 1
  • 2
0
votes
0 answers

Accessing Android Kernel methods from an app on Android smartphone

I have a USB that gives access GPIO pins. In my understanding the pins can be controlled with android kernel method static int SetGpo(struct usbnet * dev, u32 Gpo, u32 State); (Github). I'm wondering how could I access this method from an app and…
0
votes
0 answers

What does /sys/devices/system/cpu/cpu0/of_node/efficiency file contains

What does /sys/devices/system/cpu/cpu0/of_node/efficiency file contains and how to parse the contents in human readable form. Taken the hex dump and got xxd /sys/devices/system/cpu/cpu0/of_node/efficiency …
0
votes
2 answers

How to Integrate custom android kernel for Pixel 6a (Bluejay) of AOSP 12 version

My AOSP building steps are as follows mkdir AOSP_ROOT && cd AOSP_ROOT repo init -u ``https://android.googlesource.com/platform/manifest`` -b android-12.1.0_r12 repo sync download google_devices-bluejay-sd2a.220601.001.a1-0145bbe6.tgz copy it to…
0
votes
0 answers

drm_msm kernel compile failed,mutiple definition

after enable DRM_MSM kernel config, it show error when build kernel, techpack/display/msm/sde_io_util.c:418: multiple definition of \`msm_dss_clk_set_rate' drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.o:drivers/gpu/drm/msm/disp/dpu1/dpu_io_util.c:60:…
0
votes
1 answer

Android kernel modules build failed

i want to build pixel3 blueline android10 kernel module. my example test.c: #include"linux/module.h" #include"linux/kernel.h" int init_module(void) { printk(KERN_INFO "Hello android kernel...\n"); return 0; } void…
jack yu
  • 1
  • 1
0
votes
0 answers

Error running cuttlefish on Ubuntu 18.04: failed to set tss addr

I am running into issues running cuttlefish on a physical host running Ubuntu 18.04. This is the error I am seeing when I run launch_cvd: [ERROR:external/crosvm/src/main.rs:2003] crosvm has exited with error: The architecture failed to build the vm:…
0
votes
1 answer

How can I build the Android kernel for pixel 4

I try to build the Android kernel for pixel 4 . export ARCH=arm64 export CROSS_COMPILE=/home/xxx/AOSP/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android- make floral_defconfig (not sure) make I failed with an…
0
votes
0 answers

How to solve the error when building the android kernel?

make -j5 drivers/gpu/mali400/Kconfig:12:error: recursive dependency detected! drivers/gpu/mali400/Kconfig:12: choice contains symbol MALI400 drivers/gpu/mali400/r4p0/Kconfig:1: symbol MALI400 depends on How can I solve this…
z00mer
  • 1
  • 2
0
votes
0 answers

OMXNodeInstance getParameter(0xXXXXXXX:Exynos.avc.dec, ??(0xXXXXXXXX)) ERROR: UnsupportedIndex(0xXXXXXXXX) when playing videos

Good day devs, While working on our Android custom kernel, we have met a problem that is when a video is being played, an error under this form appears in logs: getParameter(0xXXXXXXX:Exynos.avc.dec, ??(0xXXXXXXXX)) ERROR:…
MAMO GRAG
  • 9
  • 3
0
votes
0 answers

Loading kernel module on samsung s9 device

I trying to load simple kernel module like "hello world" program without success. The file helloworld.c looks like: #include /* Needed by all modules */ #include /* Needed for KERN_INFO */ int…
0
votes
1 answer

Android device vendor flashing 32-bit kernels on 64-bit SOCs?

I'm trying to recompile the kernel for an Android device. The device is Xioami Redmi 7A. It has a 64-bit processor Qualcomm Snapdragon 439. I compiled the kernel without errors, got the Image file under arch/arm64/boot/, so far so good. I've tried…
winwin
  • 958
  • 7
  • 25
0
votes
1 answer

Android adb command to get device driver in device?

In android device, I am searching command or way to check all kernel modules/drivers in current device. so, can we get all kernel module list from command line ? Command to list all kernel module/driver for static + run time modules. like lsmod
R_K
  • 803
  • 1
  • 7
  • 18
0
votes
1 answer

Unable to compile kernel module: no .ko file output

I've built an android kernel (source code), now I'm trying to cross-compile a kernel module for it, v4l2loopback to be precise. I've used this toolchain to build the kernel (kernel version is 4.9). Here on github you can see that someone actually…
winwin
  • 958
  • 7
  • 25