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

how do i solve libilto.so plugin error in compiling kernel?

I am developing the kernel for android . I tried a lot but I keep getting this error . I tried all the steps systematically yet I am not able to compile my own kernel because i am getting this error whenever I execute the command "make -j3".…
jene barve
  • 33
  • 9
1
vote
1 answer

Cross compilation for ARM board?

I was trying to cross compile a simple hello program as stand alone application which will run as binary on arm board, but I am facing problem while running hello binary on arm board. Below are steps I have followed : - make ARCH=arm…
Pradeep Goswami
  • 1,785
  • 1
  • 15
  • 24
1
vote
1 answer

How to I create a folder just like /data in arm Android devices?

I want to create a folder in android arm targets which will be like /data which has has read-write permission? I followed following steps in init.rc:- mkdir /home 0771 system system chown system system /home chmod 0771 /home After these commands…
Pradeep Goswami
  • 1,785
  • 1
  • 15
  • 24
1
vote
1 answer

How to add a PCM Device in /dev/snd

Currently under /dev/snd/, I have the following devices controlC0 pcmC0D0c pcmC0D0p timer How do I add another device (i.e. pcmC0D1p)? The system is running Android, and it currently uses tiny ALSA for audio.
1
vote
1 answer

USB keypad - Not getting same scan code in android

I have a USB keypad with 0 to 9,*,#,+,-,CALL,CALLEND keys and I am using it with an Android board. With the default android Generic.kl file, this keypad provides proper output for each key pressed (checked in a TextBox and this application). Scan…
1
vote
3 answers

Linux kernel module - accessing memory mapping

I'm running into some odd issue on kernel module load that I'm suspecting having to do with linking and loading. How to I programmatically figure out the address of each section after they are loaded in memory (from inside the module itself). Like…
Phuong Nguyen
  • 909
  • 7
  • 20
1
vote
1 answer

Android kernel compile error - incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’

I'm getting the following error when trying to compile an Android kernel and I'm not sure how to change this part of the code to solve the error. CC net/netfilter/xt_IDLETIMER.o net/netfilter/xt_IDLETIMER.c: In function…
1
vote
2 answers

How to load wifi firmware in android?

I want to use usb wifi adapter in custom android board, so far I was able to build driver for chipset, and android is able to detect the dongle, and even creates wlan0. But I don't how to load firmware as there is one bin file. When I am trying to…
Yuvi
  • 1,344
  • 4
  • 24
  • 46
1
vote
1 answer

Kernel Build Logs location

Is there a location where kernel build logs are found while doing standard kernel compilation. One way is to redirect the output to the file. source > build_log_file.txt
Raulp
  • 7,758
  • 20
  • 93
  • 155
1
vote
1 answer

Android 4.2.2 removes all files after reset/restart

I have a Set top box based on Allwinner A20 chip. I have cross compiled mono for a20 chip and I copied all files to root directory and it works fine. but when I restart of reset set top box all files are removed automatically. any one have a…
parmar7725274
  • 233
  • 1
  • 3
  • 12
1
vote
1 answer

Is it possible to get older kernel versions from the android common repo?

I am trying to port the android kernel to a vendor SoC which is currently running the 2.6.35 kernel. I have looked for a while, and it seems that the only Google released kernels which are not made specifically for an existing device can be found…
Methos
  • 132
  • 1
  • 8
1
vote
1 answer

Why do I get a zero Android kernel address?

If I run: busybox grep " _text" /proc/kallsyms on my Android device, I get: 00000000 T _text Does anybody know the reason?
Jansen
  • 133
  • 12
1
vote
1 answer

what is the difference between kmemleak and kmemcheck? and How to enable these tools on Android operating systems?

Is there any special usage/advantage over each other (kmemleak and kmemcheck) ? Can I enable these tools on Android operating system (not Linux OS) please guide me how. Ref:…
1
vote
1 answer

Accessing user_struct for a particular UID

I am hacking linux kernel and am trying to update the User_struct of a given user if given the UID. How do I access user_struct once given a UID/user id.
Scooby
  • 3,371
  • 8
  • 44
  • 84
0
votes
0 answers

Using kprobe to monitor system calls in the Android ebpf framework

I'm learning how to use kprobe in Android's ebpf framework. I use kprobe to monitor the do_unlinkat system call in Android's ebpf framework, but I can't get the parameters of the system call in the monitoring. The Android official website only has…