[HELP NEEDED] [KERNEL] [MT6589] MT6589 _defconfig? - Miscellaneous Android Development

Hello guys!
I've been trying to compile a kernel for the XOLO Q800 (MT6589 SoC) from the Wiko CINK FIVE (French clone of the Q800) kernel sources (which appear to be complete) with Overclocking and some other features. However, I am unable to locate the defconfig to compile the kernel. There are numerous defconfigs in the /kernel/arch/arm/config folder, but I'm not sure which one to use as none correspond to any cognizable prefix.
Is there a way to generate the defconfig from the device tree or something?
Any help is appreciated!

bump. I want to see this done.

Crybertrance said:
Hello guys!
I've been trying to compile a kernel for the XOLO Q800 (MT6589 SoC) from the Wiko CINK FIVE (French clone of the Q800) kernel sources (which appear to be complete) with Overclocking and some other features. However, I am unable to locate the defconfig to compile the kernel. There are numerous defconfigs in the /kernel/arch/arm/config folder, but I'm not sure which one to use as none correspond to any cognizable prefix.
Is there a way to generate the defconfig from the device tree or something?
Any help is appreciated!
Click to expand...
Click to collapse
Sources are still incompleted....

can u not compile source from stock?
Sent from my neken N5 using xda app-developers app

take Help from MT6577 experts
Crybertrance said:
Hello guys!
I've been trying to compile a kernel for the XOLO Q800 (MT6589 SoC) from the Wiko CINK FIVE (French clone of the Q800) kernel sources (which appear to be complete) with Overclocking and some other features. However, I am unable to locate the defconfig to compile the kernel. There are numerous defconfigs in the /kernel/arch/arm/config folder, but I'm not sure which one to use as none correspond to any cognizable prefix.
Is there a way to generate the defconfig from the device tree or something?
Any help is appreciated!
Click to expand...
Click to collapse
Following is a Link where MT6577 Experts discussing.
http://forum.xda-developers.com/showthread.php?t=2159580&page=9
I want OTG to be enabled.
---------- Post added at 12:01 PM ---------- Previous post was at 11:54 AM ----------
I have kernel source from OPPO 819 (mt6589)( https://github.com/oppo-source/R819-Kernel-Source-4.2)
I have custom ROM (http://forum.xda-developers.com/show....php?t=2350780)
With this resources can you build a ROM with OTG enabled in my XOLO Q800(LAVA-XOLO)
-Thanks,

Crybertrance said:
Hello guys!
I've been trying to compile a kernel for the XOLO Q800 (MT6589 SoC) from the Wiko CINK FIVE (French clone of the Q800) kernel sources (which appear to be complete) with Overclocking and some other features. However, I am unable to locate the defconfig to compile the kernel. There are numerous defconfigs in the /kernel/arch/arm/config folder, but I'm not sure which one to use as none correspond to any cognizable prefix.
Is there a way to generate the defconfig from the device tree or something?
Any help is appreciated!
Click to expand...
Click to collapse
wiko cink five is MMX Canavas HD

Crybertrance said:
Hello guys!
I've been trying to compile a kernel for the XOLO Q800 (MT6589 SoC) from the Wiko CINK FIVE (French clone of the Q800) kernel sources (which appear to be complete) with Overclocking and some other features. However, I am unable to locate the defconfig to compile the kernel. There are numerous defconfigs in the /kernel/arch/arm/config folder, but I'm not sure which one to use as none correspond to any cognizable prefix.
Is there a way to generate the defconfig from the device tree or something?
Any help is appreciated!
Click to expand...
Click to collapse
I compiled with wiko config. and u can't compile kernel for Q800. Drivers missing
Sent from my XOLO A700 using Tapatalk 2

Related

Please Help: Cyanogenmod for new device: I have compiled and build kernel from source

Hi Friends,
I am having Micromax A75, which is MT6573 having Armv6 running on 2.3.6 Android.
As this handset is not supported by Cyanogen, but i want to create a custom ROM for this handset.
I have downloded around 26GB of cyanigen source code repo and 600MB of kernel source.
I have build the kernel successfully. but i dont know what to do next.
1. From where to get running ramdisk? and to pack it with my zImage
2. After Step above, How to port cyanogenmod on my handset.
Please help me.
Thanks in Advance.

[PhilZ Recovery] Device tree and Kernel buildable under cm-10.2

Hello All,
I requested @Phil3759 to build a 6.0.4.5 touch Recovery for Micromax A110. He is asking for valid complete device tree and complete kernel buildable under cm-10.2.
Please note he has updated his recovery compatible to MTK devices. Provide the source link.
Phil3759 said:
You have to provide valid device tree and kernel buildable under cm-10.2 and soon I will request 11.0 once I do the migration.
However, I am very interested in this to test my last MTK chip compatibility commits. Open source version should be able to backup/restore boot and recovery partitions on MTK boards now
Click to expand...
Click to collapse
captain_nemo said:
Hello All,
I requested @Phil3759 to build a 6.0.4.5 touch Recovery for Micromax A110. He is asking for valid complete device tree and complete kernel buildable under cm-10.2.
Please note he has updated his recovery compatible to MTK devices. Provide the source link.
Click to expand...
Click to collapse
http://pan.baidu.com/s/1ACPRk#dir/path=/8377软件包 here are the complete sources
source stuff
captain_nemo said:
Hello All,
I requested @Phil3759 to build a 6.0.4.5 touch Recovery for Micromax A110. He is asking for valid complete device tree and complete kernel buildable under cm-10.2.
Please note he has updated his recovery compatible to MTK devices. Provide the source link.
Click to expand...
Click to collapse
Use this device tree by Sir varun.chitre15...
https://github.com/varunchitre15/android_device_a110
and also his kernel...
https://github.com/varunchitre15/thunderzap_canvas2_jb
.....
Btw those are not 10.2 sources, right now we do not have them yet...
Well sadly...
Phil3759 said:
Well, sadly I have no time to port from scratch devices I do not own
All i need is a device tree i can build under cm-10.2
Without that, I cannot build
Again, I am very interested to test my new MTK fixes for boot/recovery
Click to expand...
Click to collapse
captain_nemo said:
Hello All,
I requested @Phil3759 to build a 6.0.4.5 touch Recovery for Micromax A110. He is asking for valid complete device tree and complete kernel buildable under cm-10.2.
Please note he has updated his recovery compatible to MTK devices. Provide the source link.
Click to expand...
Click to collapse
BTW, why do you want Philz Recovery?
EDIT: You can try to give him this Device Tree (Oppo R819, an MT6589 Device) https://github.com/TeamWin/android_device_oppo_R819 then you can try to port it Hope This Helps
Note: Device Tree Contains Prebuilt Kernel

[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
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_kernel_mt6589_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:
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:
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:
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.
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/1OGQS_HWRG9LbSiBCwWilKIQ-Wo_Asbz49IREXeZFJEA/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/15Bexb9ytPsYbvwo871u0mifmh9NqDJd6Oo1rXZiDiCg/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/androi...hal/camera/camera/cfg_setting_imgsensor.h#L52
Ok this is for hal but it's still interesting to check changes and this is actually my focus.
Awesome
You finnaly got the time to released it
:good:
Kernel source code Acer E2 Duo v370:
http://global-download.acer.com/GDF...E2&Step3=V370&OS=ALL&LC=fr&BC=ACER&SC=EMEA_13
Extracted kernel:
https://www.mediafire.com/?anywf4e9d1mb755
That's what you want?
I'm starting with the kernels ...
Matx13 said:
Kernel source code Acer E2 Duo v370:
http://global-download.acer.com/GDF...E2&Step3=V370&OS=ALL&LC=fr&BC=ACER&SC=EMEA_13
Extracted kernel:
https://www.mediafire.com/?anywf4e9d1mb755
That's what you want? :good:
Click to expand...
Click to collapse
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).
There is a working kernel by @kashifmin, please check his gitrepo : http://d-h.st/zdN
Device : Micromax A116
this kernel have few bugs.
eagledipesh said:
There is a working kernel by @kashifmin, please check his gitrepo : http://d-h.st/zdN
Device : Micromax A116
this kernel have few bugs.
Click to expand...
Click to collapse
Yes but this is not a stock source.
Dr-Shadow said:
Yes but this is not a stock source.
Click to expand...
Click to collapse
Great work sir. Check your pm for stock source links
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
I suppose these are from the THL W8:
https://github.com/C3C0/MT6589_kernel_source
Adding the iOcean X7 woukd be nice, but I think sources aren't available..
GuneetAtwal said:
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
Click to expand...
Click to collapse
I think you didn't understand what I have written ^^
I cleaned kernel of debug and added the commits MTK injected in kernel so it's like stock mtk kernel with few changes and fixes (android binder for example).
Dr-Shadow said:
I think you didn't understand what I have written ^^
I cleaned kernel of debug and added the commits MTK injected in kernel so it's like stock mtk kernel with few changes and fixes (android binder for example).
Click to expand...
Click to collapse
gotcha sorry for incovience created by first Page moreover have you tried Dynamic Fysnc Control by Faux123 that is nice and any way to update source with the mainstream updating source ?
GuneetAtwal said:
gotcha sorry for incovience created by first Page moreover have you tried Dynamic Fysnc Control by Faux123 that is nice and any way to update source with the mainstream updating source ?
Click to expand...
Click to collapse
Yeah I should be able to update with mainstream updating source and it should be easier than mtk stock kernel as I fixed a lot of whitespaces, useless comments and others (around 400 or more files).
Actually I'm porting oppo R819, it will introduce some new features which could be interesting
Device : Micromax Chd A116
Kernel Source stock link : Updating...
Kernel Source Modified (kashifmin) : ADDED
Dr-Shadow said:
Yeah I should be able to update with mainstream updating source and it should be easier than mtk stock kernel as I fixed a lot of whitespaces, useless comments and others (around 400 or more files).
Actually I'm porting oppo R819, it will introduce some new features which could be interesting
Click to expand...
Click to collapse
Hmm Now i got it thats why the source was very smooth as earlier in Novem. i tried to compile Oppo kernel source and it compiled with no probs but your source is very smooth with some(actually many) warning but no Errors with the default drivers but when i introduced other phone's config and drivers it gave errors in aee :/ but will fix that
Thanks for Awesome Work will try and help by adding commits after my exams
Hey
Alcatel One Touch Hero (OT-8020D) / TCL Hero N3 (Y910)
This is supposedly the sauces.
SourceForge link (this will start the download automatically, sorry about that. Is a huge tar! :/
Update : Add support for GSLx680 touchpanel driver for Faea F2S
I have the Elephone P8, any support for this phone?
Sent from my P8 using xda app-developers app
bmw2k1 said:
I have the Elephone P8, any support for this phone?
Sent from my P8 using xda app-developers app
Click to expand...
Click to collapse
Hi
When requesting, do it with your phone stock kernel sources please
If you don't own kernel sources for your device, there's nothing he can do.
Regards

[Q] Building Kernel

How to Make your own custom kernel from source? I have MT6589 device and MT6589 has kitkat update but there is no development for my device. How can make compile that MT6589 kernel for my device?
mrtaim3 said:
How to Make your own custom kernel from source? I have MT6589 device and MT6589 has kitkat update but there is no development for my device. How can make compile that MT6589 kernel for my device?
Click to expand...
Click to collapse
Check this: Build a Kernel from source
This might also come in handy: Add features to kernel

[Completed] Can You Port CM 12.1 To Device With Kernel Version 3.10 Without Device Tree File?

I have a BLU Energy X 2 running the MT6580 chipset, with kernel version 3.10. I was looking into porting CyanogenMod12.1, however there is no device tree, as the kernel version is not updated enough. Is it still possible to port the ROM? I also don't have the vendor tree, how would I get that?
Thanks, Nate
NateDev473 said:
I have a BLU Energy X 2 running the MT6580 chipset, with kernel version 3.10. I was looking into porting CyanogenMod12.1, however there is no device tree, as the kernel version is not updated enough. Is it still possible to port the ROM? I also don't have the vendor tree, how would I get that?
Thanks, Nate
Click to expand...
Click to collapse
Hello,
You need to generate the blobs for the vendor. Also you need a working device tree and kernel for it.
You can refer here Guide to Port MTK Roms for more information.
Regards
Vatsal,
Forum Moderator.

Categories

Resources