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

CWM
Article
by Jerry Hildenbrand
May 23, 2012
We're getting a little hacky in this round of Android A to Z, and we're going to have a look at ClockworkMod recovery -- the de facto standard of custom recoveries for Android. It's...
Android A to Z
Article
by Jerry Hildenbrand
May 22, 2012
When you think of Android phones, you think of bloatware. We wish it weren't so, and not every phone comes with, but the majority of Android phones out there come from carriers and are chock ful...
AOSP
Article
by Jerry Hildenbrand
May 21, 2012
AOSP is a term you'll see used a lot -- here, as well as at other Android-centric sites on the Internet. I'll admit I'm guilty of using it and just expecting everyone to know what I'...
A to Z: Widgets
Article
by Jerry Hildenbrand
Feb 07, 2012
What is a widget?  In Android, the word widget is a generic term for a bit of self-contained code that displays a program, or a piece of a program, that is also (usually) a shortcut to a larger...
tethering
Article
by Jerry Hildenbrand
Feb 03, 2012
What is tethering?  Besides the grounds for a giant debate about ethics (the kind that you can only find on the Internet) tethering, in this case, means to share the Internet connection from yo...

 
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...