Cyanogenmod for mediatek devices

Search This thread

m@nish123

Senior Member
Aug 17, 2013
594
2,190
Mumbai
I was building custom kernel for mt6582 BASED on jb....since now my device got kk...so I started trying to build custom kernel BASED on 4.4.2 ...as source is out of custom kernel and I guess somewhere framework too......so my question is kk kernel is complied with 7.4 toolchain ........so I started with 7.4 toolchain.......bt it's say invalid code...toolchain bug....if trying 6.x.x toolchain then getting error of local/config so how can I fix these too bugs....also how to start cm building for mt6582 @superdragonpt
 

neomanu

Senior Member
Apr 5, 2011
174
225
CM11

Recently, I decided to try building the CM11 source as the device/vendor trees are present.
For the kernel, I used my own, [KERNEL][3.4.103][Linaro GCC 4.9.2] NeoKernel v1.4

For the first build of CM, I used Linaro GCC 4.9 toolchain (http://releases.linaro.org/14.07/components/android/toolchain/4.9)
Wasn't able to get past the bootloader. :(

Then tried Linaro GCC 4.8 toolchain (http://releases.linaro.org/14.03/components/android/toolchain/4.8)
I got a few bootloops at first but it automatically booted up after a while.

Here starts the problem. The screen was completely white and/or flickering.
I applied the patches from https://gerrit.omnirom.org/#/q/topic:mt6589,n,z
If there is a patch I shouldn't have applied, or one one that I definitely should, please let me know.

Also I used this patch, JustArchi's ArchiDroid Optimizations V3
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,368
27,668
Please post the compiling output, including (but not limited to) the errors you get.

Gesendet von meinem T0LTE mit Tapatalk 2
 

Warimation

Senior Member
Jul 31, 2013
397
95
Almada
Hey peeps I've been following this Thread since its beginning and im seeing lots of u Building kernels for your phones.. Im really noob on programing :p and with that said, I would like to know if someone is working on thl w100 kernel and if not where I can find a good Thread on how to Build my own kernel.. Ty all

Enviado do meu Samsung Galaxy S4 GT-I9500 através de Tapatalk
 
Last edited:

MasterAwesome

Recognized Developer
Jun 23, 2013
2,019
3,985
OnePlus 6
Hey peeps I've been following this Thread since its beginning and im seeing lots of u Building kernels for your phones.. Im really noob on programing :p and with that said, I would like to know if someone is working on thl w100 kernel and if not where I can find a good Thread on how to Build my own kernel.. Ty all

Enviado do meu Samsung Galaxy S4 GT-I9500 através de Tapatalk

You could try my thread/guide

http://xdaforums.com/showthread.php?t=2754513

[GUIDE]Building a Kernel from source{Mediatek}
 
  • Like
Reactions: Warimation

voetbalremco

Inactive Recognized Developer
Someone over at 4pda is working on kitkat for the iocean x7 phone.
http://4pda.ru/forum/index.php?showtopic=472410

Site in Russian

Files are here:
https://yadi.sk/d/qBJRJazFFFAu5 (only for youth as I undertsand and camera not working 100%)

There's also some codegen files on the download link for 4.4. I'm not a coder, so I have no idea if it helps anyone.

FYI: alive and working. Pretty stable without very critical bugs except the front camera that doesn't work yet, unstable sensors and some storage problems.
 

vo-1

Senior Member
Aug 15, 2007
193
478
Tula
Someone over at 4pda is working on kitkat for the iocean x7 phone.
http://4pda.ru/forum/index.php?showtopic=472410

Site in Russian

Files are here:
https://yadi.sk/d/qBJRJazFFFAu5 (only for youth as I undertsand and camera not working 100%)

There's also some codegen files on the download link for 4.4. I'm not a coder, so I have no idea if it helps anyone.
this is my work.
Now i have only not working front camera. Sensors are fixed, SD card fixed, 3G fixed, backlight fixed. I will try fix camera today.
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,368
27,668
Fully build from source. I have copmlete mtk6589 source code
That's great news [emoji1]
I've also got full source and wanted to try compiling it for my device.
How did you go about adding your (kind of) device tree to mediatek folder? Did you just copy it there, or has the source been for your device?
Also, could you please share the repositories (maybe privately) where you needed to apply fixes. For example the sdcard fix. Thanks
 

vo-1

Senior Member
Aug 15, 2007
193
478
Tula
That's great news [emoji1]
I've also got full source and wanted to try compiling it for my device.
How did you go about adding your (kind of) device tree to mediatek folder? Did you just copy it there, or has the source been for your device?
Also, could you please share the repositories (maybe privately) where you needed to apply fixes. For example the sdcard fix. Thanks
i copied existing project and edit it as my 4.2 kernel source
 

superdragonpt

Recognized Developer
Apr 27, 2013
4,952
19,354
Lisbon / Taiwan / USA
www.caixamagica.pt
Yeah ...

On his case, pretty much ;) ;)
(same project)

Guys enyone knows where i can get about 260GB of cloud space?

I've got an massive thing on the way, problem is, i only have about 24hours of acess to the ftp server

Some of you know what im talking about ....
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 80
    Hey guys, We are going to try something new for our china phones - cyanogenmod.

    But we need some more devs to get everything going.



    For now we have:

    -Github tree for Lenovo P700i(mediatek 6577, android 4.0.4, kernel 3.0.8)

    -Lens_flare - original port author(may work with system folder and configs)

    -some kernel source from other devices like liquid gallant



    The main problem is getting adb to work that could help a lot on remaining development. For now even zygote not starting, but all partitions seems mounted successfully.

    We need more devs (especially that could assemble working kernel for device), working with p700i may lead to following porting for other mtk devices, as sources are nearly the same.
    40
    Lollipop on MT6577

    Hi there .

    Just to let you know, that lollipop is now booting on ZTE v970 [MT6577- w/ ComBo-Chip MT6620]
    With my custom 3.4.67 KK Kernel + some cherry-picks from the new MTK 3.10.54 LL Kernel

    Still very early, baseband is recognized , but still needs a lot more work on Telephony, Platform, etc.


    ;)

    Regards
    39
    More progress on this one: http://xdaforums.com/showthread.php?t=2467400

    I have 3G data and incoming voice calls working now.

    Next: kitkat.

    Chris

    Please hit the thx button. And please thank also dr shadow and xplodwild from omnirom.
    27
    KitKat Sources MT6582 / 6592

    Since my Cloud host, removed the sources,that i uploaded twice

    Using MEGA now, should be on for some days..


    Edit: no more source leaks, noobies will always be noobies
    I won't be sharing more source stuff

    Learn to comply with GPL and respect others



    Regards
    27
    I'm working now since 1 day on CM13 and here the first screenshot on mt6592 :).