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

How to deploy Trusty TEE?

Recently, I'm studying Trust Execution Environment. And finding that Android has implemented a TEE os called Trusty. I followed the instruction on https://source.android.com/security/trusty/ and built the Trusty system. But how can I deploy it? Or…
4
votes
0 answers

Cant run compiled kernel on Android emulator

I've just build goldfish both 3.10 and 3.18 kernel like described in: https://gist.github.com/yan12125/78a9004acb1bed5faf2ffd442163e2ef I use Ububtu 14.4 and x86_64-linux-android-4.9 toolchain Now I'm trying to run it using emulator -gpu off -avd…
Costa Mirkin
  • 947
  • 3
  • 15
  • 39
4
votes
3 answers

android system animation duration

I just wonder how long is the android system animation (the animation for Activity A switch to Activity B )duration , and how can I measure this time . Should I use some tools or use log in the code?
4
votes
0 answers

Get Data Usage In bytes for mobile network interfaces separated (2G -3G - 4G)

Is there a way to get the data traffic in bytes for mobile network interfaces separated (2G - 3G - 4G). TrafficStats Gives me the total usage of all mobile network interfaces with no separation between traffic used in every network interface (3G -…
Mohamed Hatem Abdu
  • 468
  • 1
  • 7
  • 17
4
votes
0 answers

Virtual memory layout in Android Linux kernel

I am trying to figure out the reason of an out of memory issue. I am having with a kernel. I am trying to build (info: from Freescale SabreSD to Solidrun Hummingboard, version 3.10, android distribution). My system has 512MB phisical memory. My…
4
votes
0 answers

Memory carveouts questions

I am planning to allocate memory which is used by a different processor by making the calls specified in ion_heap_create functions. Please see:…
S22
  • 121
  • 4
4
votes
1 answer

Changing CPU governor of a rooted android device

I'm developing an application which changes the CPU Governor of the rooted device. I know that I can get the current governor in "sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", but how do I change it?
Brian O'conner
  • 61
  • 1
  • 1
  • 5
4
votes
4 answers

How to speed up android build system

Generally, is there any steps/tricks to speed up the android build, apart from -jN option. Even for a single line change in kernel, running 'make bootimage', the android build system scans all Android.mk. Any ways to skip this at least ?
Balamurugan A
  • 1,886
  • 2
  • 17
  • 19
4
votes
1 answer

Unable to checkout msm source code for Android Hammerhead kernel

To checkout source code for msm Hammerhead android kernel, I followed the following steps. [1] Downloaded msm kernel source for android. $ git clone https://android.googlesource.com/kernel/msm.git [2] Checked commit message for Hammerhead kernel in…
Anup Warnulkar
  • 773
  • 1
  • 8
  • 25
3
votes
1 answer

How do I compile the msm android kernel using the AOSP toolchain?

I've been stuck at this for more than a week, so I'd appreciate any help. What am I trying to do? (you can skip this part if you want) I'm trying to do android kernel exploitation. That's not my current problem though. To learn kernel exploitation,…
None
  • 609
  • 7
  • 22
3
votes
1 answer

Building android kernel

since two weeks I try to build the kernel for my htc device. Getting the right sources is not the problem, but since gcc has been removed from toolchains it's a real nightmare. Following the proposals to use clang instead always ends in lot of error…
Sergio
  • 51
  • 4
3
votes
0 answers

Some doubts on kernel building

I was trying to build a kernel for my android device. I would have used my Linux system for building a kernel but unfortunately it had its hdd failed. So I am now using Windows 10 WSL for building the kernel. I am really new in building kernel and I…
3
votes
0 answers

Zygote be in loop in Android emulator that run with custm kernel

I currently want to run my compiled android kernel with emulator but emulator doesn't work correctly and just show black page on phone screen. I use these commands for downloading and compiling android kernel: git clone…
user4936030
3
votes
1 answer

Simulte touch event from android kernel

I develop a new touch screen driver in the android kernel. And my goal it to simulate a touch screen event. Therefore, in the probe of my new driver, I allocate the required keys: input_set_abs_params(in_dev, ABS_MT_TRACKING_ID, 10000, 0,…
Kram
  • 526
  • 5
  • 11
3
votes
0 answers

Samsung Opensource: Compiled kernel size is bigger than stock kernel

I am trying to update kernel for my SM-A500S using device source code at http://opensource.samsung.com. I have done the following steps to get the zImage file: Extract the Kernel.tar.gz to kernel folder Install eabi-4.7 tool chains and lz4c…
1
2
3
14 15