Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,807 Members 51,812 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL-3.4.67] MT6589 / MT6589M / MT6589T

Tip us?
 
Dr-Shadow
Old
#1  
Dr-Shadow's Avatar
Recognized Developer - OP
Thanks Meter 494
Posts: 426
Join Date: Sep 2013
Location: NANTES

 
DONATE TO ME
Default [KERNEL-3.4.67] MT6589 / MT6589M / MT6589T

Hi,

I was working since a while on this :

android_kernel_mt6589

For releases (beta builds - maybe unstable/not working), see here

I'm trying to support other devices too. Please send me your mt6589 device name and his kernel source (stock source !!)

Actual features :
  • Built commit history (patches cherry-pick from AOSP inside mtk kernel)
  • Mtk generate&build scripts moved into kernel directory
  • Merging meditatek sources (some devices will benefit from others kernel changes)
  • Removed a lot of unusued debug
  • Cortex A7 Optimizations + NeonV2 + FPV4
  • Built with sabermod (4.8.3) arm-eabi 4.8
  • Can be used into Omnirom build process (kernel and modules)
Future releases :
  • Support for multiple devices
  • Mtk commits for kernel source (with comments or docs)
  • Improve mediatek source ?
  • Suggestions welcomed
Supported devices :
  • Faea F2S
Requested devices :
  • Oppo R819 - WIP
  • Wiko (MT6589 devices) - need check for GPL compliance (OTA and updates on kernel source)
  • Lenovo P780 - need check for GPL compliance (OTA and updates on kernel source)
  • ZTE V967S - need check for GPL compliance (OTA and updates on kernel source)
  • Acer Liquid E2

    Requested devices but no stock sources :
  • Xolo Q800 - need GPL compliance
  • Micromax A116 - need GPL compliance
Info about compatibility :
  • Kernel should be compatible with MT6589/MT6589M/MT6589T because the OC is hardware dependent (it gets the values of the board to detect which generation it is)
What I won't do :
  • Support overclocking for MT6589/MT6589M to act like MT6589/MT6589T
XDA:DevDB Information
[KERNEL-3.4.67] Source for MT6589 / MT6589M / MT6589T, a Kernel for the Android General

Contributors
Dr-Shadow
Kernel Special Features: Full source for kernel with commit history

Version Information
Status: Stable
Stable Release Date: 2014-03-04

Created 2014-03-04
Last Updated 2014-04-13
The Following 43 Users Say Thank You to Dr-Shadow For This Useful Post: [ Click to Expand ]
 
Dr-Shadow
Old
(Last edited by Dr-Shadow; 29th May 2014 at 01:44 AM.)
#2  
Dr-Shadow's Avatar
Recognized Developer - OP
Thanks Meter 494
Posts: 426
Join Date: Sep 2013
Location: NANTES

 
DONATE TO ME
Default Reserved

So I implemented a way to build easyly the kernel

All you need is repo, git and dependencies as described here : https://github.com/Dr-Shadow/android...t6589_manifest

So if you want to build latest kernel from my git :

For Faea F2S : ramdisk from stock ROM - almost stock kernel should be "stable"
Code:
Select Code
repo init -u https://github.com/Dr-Shadow/android_kernel_mt6589_manifest.git -b master
cd kernel
./build.sh
For Oppo R819 : ramdisk from stock colorOS stable (V1.0.0i 140120) - BETA
Code:
Select Code
repo init -u https://github.com/Dr-Shadow/android_kernel_mt6589_manifest.git -b r819-release
cd kernel
./build.sh
Next branch (released) :

For Faea F2S : ramdisk from stock ROM - BETA real 3.4.67 (should be stable)
Code:
Select Code
repo init -u https://github.com/Dr-Shadow/android_kernel_mt6589_manifest.git -b devel-upstream
cd kernel
./build.sh
I improved the build.sh like this, you don't need to worry about vars and others.
The Following 7 Users Say Thank You to Dr-Shadow For This Useful Post: [ Click to Expand ]
 
Dr-Shadow
Old
(Last edited by Dr-Shadow; 10th April 2014 at 02:47 AM.)
#3  
Dr-Shadow's Avatar
Recognized Developer - OP
Thanks Meter 494
Posts: 426
Join Date: Sep 2013
Location: NANTES

 
DONATE TO ME
Default Reserved

Any help is welcomed for this kernel tree.

What you can actually do :
  • Check if you can compile actually suported devices
  • Do pull requests to add devices or drivers
  • Check changes between your original stock source of your device
  • Adapt configuration files (Remove drivers not added or not working, add missing var)
  • Create a build script with a var for TARGET_PRODUCT which would be able to check env, build kernel and modules to out/ (my build.sh is a example for e960 - Faea F2S)
Actually, I'm merging Oppo R819 sources and I saw there was differences on mediatek drivers (some things were added by Oppo)

For example, I got this diff :
https://docs.google.com/document/d/1...REXeZFJEA/edit

So for merging I'm replacing VENDOR_EDIT by OPPO_R819 so when kernel is compiling it should be able to keep Oppo changes only for Oppo R819 (thank you preprocessor for your hard work).
Of course, I'm not merging debug stuff.

The other idea would be to create documents, to document a specific change between another mtk source like those changes :
https://docs.google.com/document/d/1...1rXZiDiCg/edit
The focus of doc would be to show if the changes would be interesting for system part (better app for photos for example)

Example of new var introduced by recent mtk source (MAIN_SENSOR_ROTATE_DEGREE_X see config files) :
https://github.com/Dr-Shadow/android...mgsensor.h#L52
Ok this is for hal but it's still interesting to check changes and this is actually my focus.
The Following 3 Users Say Thank You to Dr-Shadow For This Useful Post: [ Click to Expand ]
 
superdragonpt
Old
#4  
superdragonpt's Avatar
Recognized Contributor
Thanks Meter 5007
Posts: 1,571
Join Date: Apr 2013
Location: Lisbon

 
DONATE TO ME
Awesome
You finnaly got the time to released it

If you like my work press Thanks, and feel free to Donate, and buy me an beer


Latest work :
Mediatek MT6582 SoC: (Wiko DarkMoon)
JB 4.2.2 / Carliv Touch Recovery
LeWa Os v5

Mediatek MT8125 SoC: (Asus Memo Pad HD 7)

JB 4.2.2 / AOSP / Carliv Touch Recovery

Mediatek MT6577 SoC: (ZTE V970 / v970m)
Custom Kernel
AOSP 4.1.2 w/ Custom Kernel
LeWa 4.1.2 w/ Custom Kernel


All the other Projects

The Following User Says Thank You to superdragonpt For This Useful Post: [ Click to Expand ]
 
Matx13
Old
(Last edited by Matx13; 4th March 2014 at 11:00 PM.)
#5  
Matx13's Avatar
Member
Thanks Meter 14
Posts: 67
Join Date: Feb 2013
Kernel source code Acer E2 Duo v370:

http://global-download.acer.com/GDFi...CER&SC=EMEA_13

Extracted kernel:
https://www.mediafire.com/?anywf4e9d1mb755

That's what you want?
I'm starting with the kernels ...
Device Android
Mediatek 6589 1 GB RAM - Android 4.2.2
Acer Liquid E2 Duo - AndroIum 3
 
Dr-Shadow
Old
#6  
Dr-Shadow's Avatar
Recognized Developer - OP
Thanks Meter 494
Posts: 426
Join Date: Sep 2013
Location: NANTES

 
DONATE TO ME
Quote:
Originally Posted by Matx13 View Post
Kernel source code Acer E2 Duo v370:

http://global-download.acer.com/GDFi...CER&SC=EMEA_13

Extracted kernel:
https://www.mediafire.com/?anywf4e9d1mb755

That's what you want?
Thank you for your sources

I will reconsider working on this device if Acer updates the kernel source (I got a discussion for it with Acer - need some time to find a solution).
The Following 6 Users Say Thank You to Dr-Shadow For This Useful Post: [ Click to Expand ]
 
eagledipesh
Old
#7  
eagledipesh's Avatar
Senior Member
Thanks Meter 114
Posts: 494
Join Date: Jan 2011

 
DONATE TO ME
There is a working kernel by @kashifmin, please check his gitrepo : http://d-h.st/zdN
Device : Micromax A116
this kernel have few bugs.
Press thanks if i have helped you.

Micromax A116 HD - Stock ROM
> Please sign petition here
> Please request for Micromax A116 device thread

LG Optimus One P500 - CM 10.1 ROM

TWITTER | FACEBOOK | eagledipesh@gmail.com | dipesh.parmar@outlook.com
 
Dr-Shadow
Old
#8  
Dr-Shadow's Avatar
Recognized Developer - OP
Thanks Meter 494
Posts: 426
Join Date: Sep 2013
Location: NANTES

 
DONATE TO ME
Quote:
Originally Posted by eagledipesh View Post
There is a working kernel by @kashifmin, please check his gitrepo : http://d-h.st/zdN
Device : Micromax A116
this kernel have few bugs.
Yes but this is not a stock source.
The Following 2 Users Say Thank You to Dr-Shadow For This Useful Post: [ Click to Expand ]
 
kashifmin
Old
#9  
kashifmin's Avatar
Senior Member
Thanks Meter 911
Posts: 253
Join Date: Oct 2012
Location: Mangalore

 
DONATE TO ME
Quote:
Originally Posted by Dr-Shadow View Post
Yes but this is not a stock source.
Great work sir. Check your pm for stock source links
The Following 2 Users Say Thank You to kashifmin For This Useful Post: [ Click to Expand ]
 
GuneetAtwal
Old
#10  
GuneetAtwal's Avatar
Recognized Contributor
Thanks Meter 6435
Posts: 1,976
Join Date: Oct 2012
Location: Punjab
I see that you cherry picked many commits but still can you provide a Changelog (With Major changes from Stock MTK Kernel and Features )

This will help me atleast for development of kernel for other MTK Chipsets

Btw Great work i always like development and i also bought a MTK Phone based on MT6572

Follow my Site for all latest happening in Geek World : http://www.tech-feed.com

The Following 5 Users Say Thank You to GuneetAtwal For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes