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
Article
by Jerry Hildenbrand
Jan 18, 2012
Hacking.  It means a lot of different things to different people, and to the public at large it conjures up imagery of evil people in exotic places.  When we talk about hacking here at And...
Android A to Z - What is GSM?
Article
by Phil Nickinson
Jan 17, 2012
What is GSM? When it comes to Android devices, especially for us here in the U.S., there are two major differentiators that really have nothing to do with Android and everything to do with the carri...
Android A to Z
Article
by Jerry Hildenbrand
Jan 16, 2012
What is fastboot? In Android, fastboot is a special diagnostic and engineering protocol that you can boot your Android device into.  While in fastboot, you can modify the file system image...
Android A to Z - ETF
Article
by Phil Nickinson
Jan 06, 2012
What's an ETF? An early termination fee is something you agree to, albeit grudgingly, when you sign a contract with a carrier. In return for, say, Verizon, selling you a phone for $199 instead o...
Dalvik
Article
by Jerry Hildenbrand
Jan 05, 2012
What is Dalvik?  We hear that word getting thrown around a lot on the Internet when talking about Android and its inner workings.  While there's no easy explanation we can give in just...

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