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
1 answer

External fingerprint scanner for non-rooted Android tablets

We want to develop an application where users will be using a handheld scanner for taking fingerprint of the customer via an android tablet. Now, I have a few questions: I went through many discussions here as well as on other forums, but nobody…
0
votes
1 answer

32 bit Linux kernel in Android system: need 64 bit timestamp in microseconds

i need to get timestamp value in 64 bit in microseconds in the linux kernel of the android system which is a 32bit system is there s direct kernel exported function call to achieve it ? i saw jiffies for 64 bit and there are function which convert…
DJM
  • 594
  • 1
  • 5
  • 18
0
votes
1 answer

Android kernel and init.rc

We built android kernel for wandboard. Now, we must add some files and change init.rc to start service for that files(driver for touchscreen). With the help of adb we pulled init.rc and edited, later pushed back. However, after reboot init.rc…
nurgasemetey
  • 752
  • 3
  • 15
  • 39
0
votes
0 answers

Undefined reference to `msm_nand_data' while compiling hammerhead kernel with ubifs support?

I am trying to compile a Nexus 5 kernel(hammerhead) with ubifs support. I have used the android-msm-hammerhead-3.4-kk-r1 build. I have followed the following steps : make hammerhead_defconfig make menuconfig And Enabled.. Device Drivers ---> …
AvK
  • 75
  • 1
  • 9
0
votes
1 answer

android kernel build methodology

We are developing android kernel drivers in a team. The drivers are developed as loadable modules and are compiled separately from the kernel source. However we need to first build android kernel source in order to build driver modules. Each…
Anup Warnulkar
  • 773
  • 1
  • 8
  • 25
0
votes
0 answers

Questions about building android from source

I'm trying to add a kernel module to the android kernel for my Nexus 7 (flo). So I built the kernel and copied the zImage to the following location /source_tree_location/device/asus/flo-kernel/kernel in the android source tree (I am trying to build…
0
votes
2 answers

Age of a process in the Linux kernel

Given the struct task_struct to work with. What's the best way to determine how old a process is? The task_struct is used to hold specific pointers to it's next youngest sibling, and oldest child. That no longer seems to be available in some…
user2079828
  • 645
  • 1
  • 8
  • 31
0
votes
1 answer

building android kernel 3.4

I am facing issues in building the android kernel. I tried the following steps from the following link ( http://source.android.com/source/building-kernels.html ) I donot have the AOSP. I am just trying to compile the kernel Source: git clone…
CHID
  • 1,625
  • 4
  • 24
  • 43
0
votes
0 answers

config file in android kernel

I have downloaded tegra kernel source for Nexus 7 (grouper). I have added a driver module in drivers/bluetooth/ I have updated the make file and Kconfig file in drivers/bluetooth/ Added the following flags to…
Anup Warnulkar
  • 773
  • 1
  • 8
  • 25
0
votes
1 answer

lost some parameter from user space to kernel space

I have a question for transfer parameter want to consult, I need to transfer some parameters from user space to kernel space, but one of them lost(the value incorrect when i check it from kernel space). But i don't have any idea why it lost. Below…
Hsin-Hsiang
  • 411
  • 1
  • 3
  • 13
0
votes
1 answer

Which kernel version needed for Android 4.x porting?

I want my device porting to Android 4.x version. What kernel version should I use with Android 4.x and why? Unfortunately I can not find out what kernel they use Android 4.x and why that kernel versio
0
votes
3 answers

Copy contents of a folder to another folder on sdcard at OS level?

I want to copy all the contents of a folder to another folder on SDCard. I want to do it at OS level. I've tried using the following command : cp -a /source/. /dest/, this doesn't work, It says Permission Denied as my device is not rooted. However…
CodeWarrior
  • 5,026
  • 6
  • 30
  • 46
0
votes
1 answer

Debugging Android Kernel over phone

I am new to Android and to Kernel development, but I would like to test some things. I just finished compiling the first version of my modified kernel, and put it in a phone. Obviously, it doesn't work. How can I debug the kernel on the mobile…
markmb
  • 852
  • 4
  • 12
  • 32
0
votes
1 answer

Android kernel repositories confusion

I am trying to figure out 4 things : What do the branches in https://android.googlesource.com/kernel/common/+refs correspond to ? Linux kernel tags[citation needed] ? How is kernel/common related to the device kernel repositories (kernel/) ? The…
Mr_and_Mrs_D
  • 32,208
  • 39
  • 178
  • 361
0
votes
1 answer

Kernel Sources for Android 4.0 - Ice Cream Sandwich

I have downloaded Android 4.0 sources as per the instructions given in the following link : http://source.android.com/source/initializing.html I have downloaded the sources successfully without any issues. However, I did not find the kernel sources…
1 2 3
14
15