open source

What is open source? Open-source software is software that makes the source code freely available, for anyone to see and use. There are different open-source licenses that have different use conditions, from the GPL (GNU General Public License) -- which allows "free distribution under the condition that further developments and applications are put under the same license" -- to more liberal licenses like the Apache License, which doesn't require modifications to be open and have the source code available.  Android uses both of these licenses, and we'll have a look at them in turn.

The Linux kernel that is used in the OS is covered under the GPL.  This means that any changes made to the source code must be made available when a binary (geek-speak for a compiled, executable piece of software) is released to the public.  This means manufacturers like HTC, Samsung, Motorola and the rest must release the kernel source-code for any devices they sell at the same time they begin selling them.  For the most part, hardware manufacturers are pretty good about doing so, but they often miss the time frame and release the source code a little later than we would like.  These are the code releases you see us mention -- the kernel and other open-source "bits" that are covered under the GPL.

The Android OS source code is released mostly under the Apache License.  Anybody is allowed to download the source code and change it however they like, but they are not required to make their changes available in source code form to the public.  This is why we can't change and recompile things like HTC Sense or MotoBlur -- the changes to the base Android source code aren't available to us.  While many folks (myself included) don't like this situation very much, it does make sense from a business standpoint.  If manufacturers had to share all of their secrets, there wouldn't be as much monetary incentive to innovate, so the source was offered with a far more liberal license.  It certainly worked, as we see devices from many major players in the electronics world.

Previously on Android A to Z: What is NFC?; Find more in the Android Dictionary

More from the Android Dictionary

Android A to Z: Sideloading
Article
by Jerry Hildenbrand
Feb 02, 2012
What is sideloading?  It's a term you see a lot thrown around while talking about Android applications, and it's simple to explain.  It means installing applications without using ...
Android A to Z - Recovery
Article
by Jerry Hildenbrand
Feb 01, 2012
What is recovery?  In Android, recovery refers to the dedicated, bootable partition that has the recovery console installed.  A combination of key presses (or instructions from a command l...
What is a QR Code?
Article
by Phil Nickinson
Jan 31, 2012
What is a QR code? These things are everywhere nowadays. Little square barcode-looking things. They're on website, they're on pictures, they're on advertisements -- they're everywher...
PRL update
Article
by Jerry Hildenbrand
Jan 30, 2012
What is a PRL?  PRL stands for Preferred Roaming List and is a database used in CDMA (think Sprint and Verizon here) phones.  It's built and provided by your carrier, and used when you...
NFC
Article
by Jerry Hildenbrand
Jan 26, 2012
What is NFC?  NFC stands for Near-Field Communication and is a set of standards (established in 2004) for small, portable devices to establish radio communications with each other. Devices need...

 
There are 2 comments

Jayblodg says:

The Apache License sounds kinda of like baking cookies. You can give grandma the recipe, but she makes them so much better because of her "secret ingredient" nobody else gets to know about.

selfcreation says:

but what grandma forgot to mention is she stole some of the recipe from the pillsbury boy (oem)and she has to pay royalty for every cookie that she makes.. LOL...