Mediatek Releases Linux Source Code for Android One Smartphones

Android One is a program by Google aiming at bringing low cost smartphones to the emerging markets with firmware updates to the latest Android version guaranteed for two years. Three phones part of Android One program have recently been announced for the Indian market: Micromax Canvas A1, Karbonn Sparkle V, and Spice Dream Uno, and Android One phones will be available in Indonesia, the Philippines and South Asia (Bangladesh, Nepal, Pakistan, and Sri Lanka) by the year of the year. The three phones currently available sell for $100, which based on the specs (quad core processor, 1GB RAM, 4GB flash, 4.5″ display) is not exactly an aggressive pricing compared to what is already available from Aliexpress, but the main advantage here is clearly Google support with promised firmware updates, and currently Android 4.4.4. All these phones appear to be powered by Mediatek MT6582, and company decided to release the Linux 3.4.67 source code on Google servers. Please note it’s not the first time Mediatek Linux source code has been released, but at the time, the code was pretty messy, and not standard, so hopefully working with Google may have improved things.

Mediatek_Linux_Kernel_Android_One

Here’s how you can get it:

git clone https://android.googlesource.com/kernel/mediatek/ -b android-mediatek-sprout-3.4-kitkat-mr2

Before building the kernel, you may want to install Android gcc toolchain (in Ubuntu 14.04):


Then the build should start with a script::

./build.sh

But it fails looking for an existing external script… Oh well. So I located a config file for MT6582, and completed the build the usual way:


and it could generate zImage successfully.

I’ve also checked the Kernel Configuration, and it seems the “Mediatek Properitary Configuration” (sic) section found in the older 3.4.5 source code has now disappeared, and the company is using a standard method to define the kernel configuration (see screenshot above).

Via XDA Developers Blog

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK Pi 4C Plus
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
8 Comments
oldest
newest
SQ7MRU, Paweł
9 years ago

Hello,

whether this builded Android will run from the uSD card?
I would prefer to protect against damage (The Brick) to the phone 😉

Regards.
Paweł

Marius Cirsta
9 years ago

It just so happens I have a MTK6582M based phone ( Lenovo A680 ) so I’m wondering if this will work for it. Only one sure way to find out 🙂

Phanirajkiran
9 years ago

Where can i get the Propitiatory binaries , like Graphics, WIFI…Then this could be next Nexus .

mac
mac
9 years ago

Looks like the best candidate to port b2g (FirefoxOS) on it.

kangear
9 years ago

Very Cool. Androd system.img is also common ?

Khadas VIM4 SBC