Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I read from somewhere that Android uses the Linux Kernel. Is it really true? I thought the Linux Kernel was meant for desktop operating systems.

share|improve this question
9  
The Linux kernel is used on a lot of embedded devices. Android is borderline between embedded and desktop, there are far smaller devices running Linux. –  Gilles Nov 27 '11 at 20:12
13  
Modern phones are basically desktops with small displays. If you compare them to the desktops of ten years ago (which ran Linux just fine), you'll find the phones beat the older desktops on almost every specification. –  David Schwartz Nov 28 '11 at 0:44
2  
Probably important to emphasize three things - 1) the customizability of the Linux kernel - there's a lot that can be configured differently according to expected use or omitted if not needed, and 2) the kernel is generally just one component (albeit near or is the "bottom level" component) in a stack of software ultimately responsible for a user-facing experience, whether desktop, phone, server, or anything else. The majority of what makes Android "Android" is not the kernel, as you can tell from below, and 3) phone hardware is really powerful these days. –  ultrasawblade Sep 16 '12 at 17:41
add comment

2 Answers

up vote 25 down vote accepted

Architecture of Android

enter image description here

Android relies on Linux for core system services such as security, memory management, process management, network stack, and driver model. The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.

Latest Android runs Linux version 3.10 (source).

And my comment on your second sentence is that Linux Kernel is not meant for only desktop operating systems. Its use cases vary from Desktop OS to Servers, mainframes and supercomputers to Embedded Devices.

Linux is a widely ported operating system kernel. Due to its low cost and ease of customization, the Linux kernel is used on a highly diverse range of computer architectures: in the hand-held devices and the mainframe Systems, in devices ranging from mobile phones to supercomputers.

On the other note: Palm (later acquired by HP) use Linux-derived operating system, webOS, which is used into its line of Palm Pre smartphones. Several network firewalls and routers from makers such as Cisco/Linksys use customized linux kernel. There are tons of devices out there which are using embedded linux.

share|improve this answer
2  
I don't know why say that the kernel is not meant for desktop operating systems. It works perfectly fine on desktop devices. It also works fine on many other classes of device so maybe you meant to say it is not exclusively for desktop devices. –  Richm Nov 27 '11 at 17:48
    
@Richm, Thanks for pointing it out. I have corrected it in the answer. –  Sachin Divekar Nov 27 '11 at 18:06
    
On Linux/UNIX platforms the desktop is a set of applications that use the kernel services. This make it easy to add, swap, or remove desktops. Servers often replace the desktop with a terminal shell. –  BillThor Nov 27 '11 at 18:23
    
Isn't a "phone" just some form of desktop? :-p –  johannes Nov 27 '11 at 19:53
    
Note that Android originally used a heavily modified version of the linux kernel, but as of 3.5 a lot of featured are merged back into the main kernel. Android 4.4 currently runs on much less patched Linux 3.4 kernel (an long term release) –  dtech Dec 13 '13 at 19:54
add comment

Yes, as do many other embedded devices. Many routers also use a Linux based OS, as, like Sachin said, it is easily customizable.

Here is a Xubuntu screenshot of mine, Running mksh and Android kernel 3.0.8+ (From the Android x86 sources) Xubuntu Running mksh and Android kernel 3.0.8+

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.