Mediatek Releases Linux Source Code for Android One Smartphones

Orange Pi Development Boards

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

8
Leave a Reply

avatar
8 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
6 Comment authors
Mediatek MT8173 Quad Core big.LITTLE ARM Cortex A57/A53 Processor Code Submitted to Linux MainlinekangearMediatek Releases Android SDK with APIs for HotKnot, Video & Image Processing, Multi-SIM, etc…macPhanirajkiran Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
SQ7MRU, Paweł
Guest

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ł

Member

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
Guest

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

mac
Guest
mac

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

trackback

[…] communities. Thanks to its works on Android One with Google, the company recently released the Linux kernel source for MT6582 processor, and with a separate endeavour, launched Mediatek Labs bringing LinkIt ONE platform for […]

kangear
Guest

Very Cool. Androd system.img is also common ?

trackback

[…] company is certainly going into the right direction with their cooperation with Google leading to source code release for Android One smartphones, and the recently launched Mediatek Labs for community projects, starting with LinkIt One IoT […]