Questions tagged [kernel]

The kernel is a central component of most computer operating systems. It acts as bridge between applications and the hardware and also manages the systems's resources.

Android uses a Linux kernel. Like many things in Android, this one can also be customized: different kernels offer different advantages – e.g. better performance or more stability, support for additional features, overclocking/undervolting etc.

You can flash a different kernel to your device (the kernel is part of the boot image/zImage). But be careful: the kernel must be compatible with your ROM. Always make a before flashing – as with a wrong kernel you might end up in a .

For further details, please see:

320 questions
177
votes
9 answers

What is the difference between: Rooting, Jailbreaking, ROM, Mod, etc.?

What is the difference between: Unlocking the bootloader (prerequisite for doing many, though not all, other things below) Rooting Jailbreaking ROM NAND and Nandroid Operating System Mod (e.g. CyanogenMod) Recovery (ClockworkMod, Amon Ra) Custom…
Lie Ryan
  • 19,065
  • 6
  • 66
  • 83
82
votes
3 answers

What linux distribution is Android based on?

Did Google use some existing distribution (Debian, Red Hat, etc.) to create Android, or did they use the bare essentials (kernel, file system and some mandatory files)?
lamcro
  • 1,261
  • 1
  • 11
  • 14
57
votes
1 answer

Which Android runs which Linux kernel?

Is there a list of which kernel version comes in each Android AOSP version? Or lets say, which version /proc/version would spit out.
Robert Siemer
  • 1,208
  • 1
  • 16
  • 23
19
votes
3 answers

What is the difference between the Linux Kernel and the Android Kernel?

What are the modifications done in linux kernel to make it an android kernel ? By this question I mean what are the differences between linux kernel and android kernel ?
trish
  • 301
  • 1
  • 2
  • 4
19
votes
6 answers

Why are there so many different Android kernels?

Isn't Android a common kernel that is used across all devices? For example, CentOS will install on Dell, HP, and a variety of other hardware. Sure there are different modules, but it's still CentOS nonetheless. What is the reason why CyanogenMod is…
user974896
  • 521
  • 3
  • 5
  • 10
17
votes
4 answers

Where can I find a comparsion of non-offical cooked rom/firmware of Galaxy S i9000?

I've been searching around for the topic these few days. However, I am getting into a problem of information overflow - there are too many different version and custom kernal around. Most of them are still in active development with a chain of…
Dennis C
  • 344
  • 1
  • 8
15
votes
1 answer

Are there any Google devices that support file based capabilities in their default kernel?

If I systemless root (no modification done to /system partition) a Nexus device, would I be able to able to set capabilities on executables without changing the original kernel binary ? I often want to manage files without restrictions from my…
user2284570
  • 501
  • 3
  • 9
  • 28
10
votes
1 answer

How to install kernel module for android?

I currently have a custom kernel and ROM installed on my android device. The kernel I'm using comes with a separate download with kernel modules that you are to install yourself if you want. However no instructions are given on how to do it, also I…
Scott
  • 358
  • 1
  • 4
  • 9
9
votes
2 answers

How can I enable last_kmsg?

I'm trying to diagnose a random reboot on LineageOS 14. last_kmsg is not in /proc, nor it is in /sys/fs/pstore/console-ramoops. EDIT: ~# mount | grep PSTORE ~# mkdir /mnt/pstore && mount pstore -t pstore /mnt/pstore && ls /mnt/pstore mount:…
Ne Mo
  • 443
  • 5
  • 10
  • 24
8
votes
1 answer

AFwall+: Why does the Kernel need an internet connection all the time?

Since I started using AFWall+ (a firewall based on iptables) on Android, I was wondering why the Linux kernel tries to connect to the internet all the time? Allthough blocking the kernel I didn't recognize any disadvantages or issues. A short answer…
UdeF
  • 191
  • 1
  • 6
8
votes
2 answers

Given that every application runs as a separate user, what happens when you want to add a new user account?

According to this, every application in Android runs as a separate kernel-level user, with a unique user ID and group ID. So, what happens under the hood when you add a new user (e.g. to your shared tablet)?
Reflection
  • 205
  • 2
  • 6
8
votes
1 answer

l2_hsic prevents my device from Deep Sleep. How to fix it?

I have installed BetterBatteryStats and CPU SPY, because I noticed that I had a faster than normal battery consumption when the tab was left alone. I made a 30 mins test Wifi OFF, Flight Mode On, where the 29 mins of them showed me l2_hsic under…
EnexoOnoma
  • 151
  • 2
  • 5
7
votes
2 answers

Faster CPU means higher battery consumption?

A friend of mine and I have the Samsung Galaxy Tab 10.1. His tab is flashed with a custom kernel giving 1.2Ghz instead of the 1Ghz I have by default. Using antutu benchmark, we saw what we expected, his device had a better score about 700 points. My…
Johnili
  • 159
  • 1
  • 1
  • 5
7
votes
5 answers

How to find out if my Device's Kernel has Loop Device Support

I would assume most all of you know why I am asking this, but for those who don't, Loop Device Support of a Kernel on an Android device is utilized to mount a Linux Distro IMG file (Ubuntu or Debian, & a couple others) to run the linux img in a…
insomnia
  • 267
  • 2
  • 5
  • 11
7
votes
1 answer

Backup/dump kernel image (and full ROM) without root for Mediatek Devices

I would like to pull the boot image of my device Pipo N7. I don't have root. I found the following link: Backup/dump kernel image without root or twrp/cwm` But when I try to find /dev -name 'by-name' 2>/dev/null I can't get it to work it seems I…
Sruly
  • 1,028
  • 2
  • 14
  • 29
1
2 3
21 22