Skip to content
Droid Tools
Latest
/
NewsPhonesReviewsGuides

Devices

  • PhonesLaunches, specs & what comes next
  • WearablesWatches, trackers & everyday tech

Software

  • AppsNew features & useful discoveries
  • Android OSUpdates, rollouts & security patches

Read & learn

  • NewsThe latest across mobile technology
  • ReviewsA closer look at devices & accessories
  • GuidesPractical tips & troubleshooting

In the spotlight

AppsGoogle Play foldable requirements mandate optimized apps by 2027Read the story
All news
About Droid ToolsContact

Browse by brand

  • AppleiPhone, iPad & Apple Watch
  • SamsungGalaxy, One UI & more
  • GooglePixel, Android & Google apps
  • XiaomiXiaomi, Redmi & HyperOS
  • OnePlusPhones, watches & OxygenOS
  • HuaweiPhones, wearables & HarmonyOS
  • OppoFind, Reno & ColorOS
  • HonorMagic, wearables & MagicOS
  • MotorolaRazr, Edge & Moto

Latest from the brands

AppsGoogle Play foldable requirements mandate optimized apps by 2027Read the story
Follow the brands behind your everyday tech.All phones

Deals & buying advice

Find your next upgrade.

Reported discounts on phones, wearables and accessories. Check each retailer for current pricing and availability.

Browse all deals

Recent deal coverage

  • WearablesGarmin Vivoactive 5 drops to $167.99 in early Black Friday saleRead the story
  • PhonesAmazon cuts Samsung Galaxy S26 Ultra price by over $260Read the story
  • WearablesSony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discountRead the story
All deals Explore our guides
  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap

Follow Droid Tools

FacebookXInstagramThreadsLinkedInBlueskyTikTokTelegramMastodonRSS Feed
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Independent mobile tech reporting and practical advice.

Explore

  • News
  • Phones
  • Apps
  • Android OS
  • Wearables
  • Guides
  • Reviews
  • Deals

Legal & Info

  • About Us
  • Contact
  • Editorial Policy
  • Review Policy
  • Privacy Policy
  • Terms & Conditions
  • Cookie Policy
  • Affiliate Disclosure
  • Disclaimer
  • HTML Sitemap
© 2026 Droid Tools. All rights reserved.
Home/Guides/What you need to know about custom kernels

What you need to know about custom kernels

With an incredible 13 million lines of code, the Linux kernel is one of the biggest open source projects in the world, possibly. Initially put together by Trovalds, the originally intended Linux kernel currently supports about 30 different architectures with no cross-platform intentions. If you're on XDA, you probably have heard about kernels before. The ...

Cristian Penisoara• Guides Writer · Android Power User
Mar 9, 2020•Updated•Guides•3 min read
android kernel
0%
Share on XFacebookBluesky
Follow on Google
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

With an incredible 13 million lines of code, the Linux kernel is one of the biggest open source projects in the world, possibly. Initially put together by Trovalds, the originally intended Linux kernel currently supports about 30 different architectures with no cross-platform intentions.

If you’re on XDA, you probably have heard about kernels before. The amazing custom kernel that offers a lot of features including but not limited to, more battery life, a smoother interface, maybe exFAT or OTG support, custom color controls, wake-up gestures etc. So, what exactly are custom kernels, and where did a kernel’s entire image get into Android?

Since the inception of computers and devices, there has been a three-tier interaction model.

android kernel

As you can see, either way the kernel arrives at the second tier. That means that the kernel is the middle man if there is any contact between the operating system and the hardware (such as a volume increase trigger) or between the hardware and the operating system (such as an insertion of a USB device).

So, the next time you increase the volume on your Android device, what actually happens is that Android sends a request to the kernel indicating that the volume needs to be increased, and since the kernel manages the hardware, it raises the voltage for the speaker (which translates loosely into sending a request for a ‘ volume increase ‘ to the speaker); or the time you plug-in a USB device into your OTG-enab

The boot sequence for an Android device looks something like this:

You may also likeRelated
GuidesHow Android earthquake alerts work across three warning levelsNov 19, 2026→dtGuidesHow to Set Up Find Hub Left-Behind Reminders for Bluetooth TrackersNov 19, 2026→GuidesHow to enable Create My Widget on Google Pixel phonesNov 18, 2026→

BIOS->Bootloader->Kernel->Operating System.

Google wanted to go with the linux kernel when Android was brought up, a move that was rightly made. The’ mainline’ linux kernel is the kernel used in desktops that can be compiled and run from the linux branch of Trovalds, whereas the kernel of Android is a fork with (relatively) few additions off this mainline kernel. The key reason we can’t run the mainline kernel (the one running on desktops) is due to the lack of support for some of those elements that are required for Android.

  1. The android binder, an Android-specific interprocess communication mechanism, and remote method invocation system. If android decides to write to the display, the OS and the GPU talk through the binder. That should fairly give the idea that *almost* all communications are made through binders.
  2. ashmem/pmem/ion: memory allocators specifically designed for android
  3. logger: to write various logs like kmsg, radio, events, etc.
  4. wakelocks: ever wondered why you get that facebook message on your phone even though it seems to be turned off? voilà. wakelocks at work. (psst. the facebook for Android application holds a LOT of wakelocks, but that’s discussion for another day)
  5. oom handling: OOM stands for Out Of Memory. Since Android devices run low on memory, this is a process killer, the Linux LMK (Low Memory Killer). This is what prevents the device from hanging up by clearing a few running background apps when you open too many of them.
  6. support for YAFFS/JFFS/ file systems: If you’re running older devices, you are probably running a device with flash file systems. These are different from the conventional ext2/3 file systems, and need to be supported by the kernel.

There are various custom kernels to choose from, giving you a plethora of choices. You can either go for a high-performance, overclocked gaming kernel or a battery booster under-clocked, or go with a fair share of both. If you can’t decide, you can go ahead very well and build your own custom kernel with the features that you like since most OEMS release the kernel sources for their devices.

Recommended Deals
1 / 9
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
$459.99$529.99-13%
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Tags:#custom kernel•#how it works•#kernel
Cristian Penisoara
Cristian PenisoaraGuides Writer · Android Power User

Cristian Penisoara is a Guides Writer and Android specialist at Droid Tools. An Android user since version 2 and a professional event photographer, he combines technical curiosity with a detail-oriented approach - every guide he publishes is tested step-by-step on a real device before it goes live.

Next Story in Guides

How Android earthquake alerts work across three warning levels

Android earthquake alerts turn phones into seismic sensors, issuing Be Aware, Be Ready, or Take Action warnings based on expected shaking intensity.

→

Latest Stories

youtube music01

YouTube Music Gemini icon rolls out to launch Ask Music

02

Samsung One UI 10 leak hints at frosted glass design and major visual refresh

03

Samsung releases Galaxy S25 and S24 update with critical patches

04

Google Play foldable requirements mandate optimized apps by 2027

Recommended Deal
-13% OFF
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0(1,771 reviews)
$459.99$529.99
Buy on Amazon

* As an Amazon Associate, Droid Tools earns from qualifying purchases.

Top Deals

Garmin Vivoactive 5 drops to $167.99 in early Black Friday sale

Deal
Garmin Vivoactive 5 drops to $167.99 in early Black Friday sale

Amazon cuts Samsung Galaxy S26 Ultra price by over $260

Deal
Amazon cuts Samsung Galaxy S26 Ultra price by over $260

Sony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discount

Deal
Sony WF-1000XM6 earbuds drop to $238 in limited B&H Photo Video discount

Continue reading

More from this category →
How Android earthquake alerts work across three warning levels
GuidesNov 19, 2026

How Android earthquake alerts work across three warning levels

Android earthquake alerts turn phones into seismic sensors, issuing Be Aware, Be Ready, or Take Action warnings based on expected shaking intensity.

By Robert Haba
GuidesNov 19, 2026

How to Set Up Find Hub Left-Behind Reminders for Bluetooth Trackers

Google updated Find Hub to support native left-behind reminders on compatible trackers, including Moto Tag and Chipolo, with custom exclusion zones.

By Robert Haba
How to enable Create My Widget on Google Pixel phones
GuidesNov 18, 2026

How to enable Create My Widget on Google Pixel phones

Google released Create My Widget in the November Pixel Drop. Eligible Pixel users can access it early by enrolling in the Google Play beta.

By Cristian Penisoara
pixel 11 pro xl gboard rambler
GuidesNov 17, 2026

How to enable Gboard Rambler on Pixel 10

If Gboard Rambler is missing after the November 2026 update, updating Android AI Core manually can activate the voice typing feature on Pixel 10 devices.

By Luiza Mosneagu
Next in queue

Read the next article

The next story loads as you reach the end. You can also load it using the button.

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.