Skip to content
Droid Tools
Home
About UsContact
Editorial PolicyReview Policy
Privacy PolicyCookie PolicyTerms & Conditions
⌘K
Search
FacebookX (Twitter)InstagramThreadsBlueskyTikTokYouTubeRedditTelegramRSS Feed
Trending:
Galaxy S26•Pixel 10•Android 16•Nothing OS•Gemini AI•Smartwatches•Tech Deals•Latest Reviews•How-to Guides
Droid Tools

Droid Tools covers the latest Android news, device reviews, app updates, and OS guides. Stay informed with hands-on coverage from mobile tech experts.

Explore

  • News
  • Apps
  • OS
  • Phones
  • Reviews

Legal & Info

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

What you need to know about custom kernels

Cristian Penisoara
Mar 9, 2020Updated Apr 6, 20263 min read
Cristian Penisoara
Cristian Penisoara
Guides 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.
Profile →
android kernel
0%
Share on XFacebookBluesky
Follow on Google
Advertisement
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

Key Takeaways

Automated Editorial Synthesis
AI Overview
  • ashmem/pmem/ion: memory allocators specifically designed for android
  • logger: to write various logs like kmsg, radio, events, etc.

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?

Advertisement

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

Advertisement

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

You May Also Like
Recommended
1

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout
2

How to turn off Safe Mode on Android

turn off safe mode in android
3

Before using a new phone, disable these 5 Android settings.

galaxy s25 settings menu

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.

Advertisement
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source
Tags:#custom kernel#how it works#kernel
Recommended Deals
1 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
529.99
Buy on Amazon
👑A good choice
Apple iPhone 17 Pro

Apple iPhone 17 Pro

4.8
$1,012.97$1,099.00-8%
Buy on Amazon
✨DEAL
Google Pixel 11 Pro

Google Pixel 11 Pro

5.0
1,099.00$1,299.00-15%
Buy on Amazon
Google Pixel Watch 4

Google Pixel Watch 4

4.8
396.00$499.99-21%
Buy on Amazon
✨DEAL!
Samsung Galaxy Watch Ultra (2025)

Samsung Galaxy Watch Ultra (2025)

5.0
$449.99$649.99-31%
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
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.

Advertisement

Comments & Discussions

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

Advertisement

Latest Stories

honor magicos 11
01

Honor MagicOS 11 debuts September 15 with Glazed Architecture, faster YOYO

02

OnePlus 16 reservations open in China, revealing design and colors ahead of launch

03

Honor MagicOS 11 to debut with hidden Power Saving Suggestions feature

04

Galaxy Watch 4 and Watch 4 Classic reach end of software support

Advertisement
Amazon Deals
5.0
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

Best Price
529.99
Buy

Top Deals

Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Deal
Pixel Watch 5 vs. Pixel Watch 4: what actually changed

Apple Watch Series 12 vs Pixel Watch 5: how they compare

Deal
Apple Watch Series 12 vs Pixel Watch 5: how they compare

Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon

Deal
Garmin Epix Pro Gen 2 Sapphire Edition drops to under $700 at Amazon
Advertisement
Advertisement
Recommended stories

Continue reading

More from this category →
MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout
GuidesSep 12, 2026

MobileTopUP Network Inside Out: 47 Countries, 230+ Operators, One Checkout

Behind a two-tap recharge sits a surprising amount of plumbing. Every prepaid network has its own rules about what can be topped up, in which denominations, and how quickly credit posts to a SIM. MobileTopUP hides that complexity behind a single form: pick a country, enter a number, choose an amount. What the coverage map actually covers […]

By Robert Haba
turn off safe mode in android
GuidesSep 2, 2026

How to turn off Safe Mode on Android

Knowing how to turn off Safe Mode on Android comes in handy, since Safe Mode is a built-in troubleshooting tool that disables every third-party app on a phone and switches on Airplane Mode, making it easier to isolate an app causing lag, battery drain, or other issues. It's also useful for safely deleting a suspected […]

By Robert Haba
galaxy s25 settings menu
GuidesAug 28, 2026

Before using a new phone, disable these 5 Android settings.

Opening a brand-new phone has a particular excitement. After removing the plastic, you move your pictures, log into your Google account, and begin taking your first snapshot. However, we frequently overlook a few crucial settings that can improve our phone in all that excitement. I looked at a few options on my current phone, a […]

By Robert Haba
How to fix phone that wont turn on
GuidesAug 20, 2026

Android Phone Won’t Turn On? Try These Fixes

If your Android phone won’t turn on, connect it to a tested wall charger for at least 30 minutes, then hold the Power button for several seconds. If nothing happens, inspect the cable, adapter, outlet, charging port, and physical buttons before attempting a forced restart. A phone that appears completely dead may actually have a […]

By Robert Haba
Next in queue

Read the next article

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