Cyanogenmod for mediatek devices

Search This thread

G.NO_BOYz

Senior Member
Jan 27, 2015
305
166
siem reap
Where are you stuck? There is a fully functional CM 12.1 tree made by jianminglok on GitHub for example so maybe you can use some parts of it for 13.

Now i'm using cm12.1, and i'm not a developer so i don't know how to build it. So if u can or u know someone can, can u build it for us. Many user now are report about they need cm13. If u can we will respect to u or give some donations?
And sorry about my bad english?
 

BlueFlame4

Retired Recognized Developer
Mar 10, 2011
1,864
4,399
29
Dresden, Germany
Now i'm using cm12.1, and i'm not a developer so i don't know how to build it. So if u can or u know someone can, can u build it for us. Many user now are report about they need cm13. If u can we will respect to u or give some donations��
And sorry about my bad english��

It is totally fine that you ask but you have to remember that this is a forum of enthusiasts and idealists. Most of us don't do it for the money but because we want to enhance our own devices. I do not own the device so I won't develop for it. There's a good starting guide on CM's wiki if you want to start doing it though! Also please note that this thread is for development discussions.
 

G.NO_BOYz

Senior Member
Jan 27, 2015
305
166
siem reap
It is totally fine that you ask but you have to remember that this is a forum of enthusiasts and idealists. Most of us don't do it for the money but because we want to enhance our own devices. I do not own the device so I won't develop for it. There's a good starting guide on CM's wiki if you want to start doing it though! Also please note that this thread is for development discussions.

Thz u very much sir for your reply? and sorry for talking about money? and thz for ur advice, i will learn to build from cm guild? thz u again sir?
 
  • Like
Reactions: BlueFlame4

fire855

Inactive Recognized Developer
Jul 26, 2012
1,012
2,935
I had today a little bit time and booted Android N preview on mt6753 (jiayu s3 plus).
It's not really special so I will wait for the next preview...
 

Attachments

  • N_Screenshot.png
    N_Screenshot.png
    116.5 KB · Views: 925

Red-code

Senior Member
Jan 29, 2015
185
149
Hello there,

I'm new to MTK kernel building, and after generating the code using mediatek/dct, I get the following errors when linking vmlinux:

Code:
  LD      vmlinux
mediatek/custom/out/s6000_row_3gdata/kernel/built-in.o: In function `lcm_suspend':
/home/george/Android/CyanogenMod/kernel/lenovo/s6/mediatek/custom/out/s6000_row_3gdata/kernel/lcm/bp101wx1_n.c:604: undefined reference to `mtkfb_led_off_ms_delay'
mediatek/custom/out/s6000_row_3gdata/kernel/built-in.o: In function `lcm_resume':
/home/george/Android/CyanogenMod/kernel/lenovo/s6/mediatek/custom/out/s6000_row_3gdata/kernel/lcm/bp101wx1_n.c:669: undefined reference to `mtkfb_led_on_ms_delay'
Makefile:946: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

Has anyone experienced this before? Any suggestions? Thanks in advance.

EDIT: fixed

How???
 

gwhite5

Senior Member
Mar 13, 2014
121
34
Muscat, Oman

I removed the references to the external variables and removed the entire #if preprocessor clause for the Lenovo specifics which involved the use of those variables in the functions lcm_resume and lcm_suspend, as it had something like the following (this is not the actual line, it's just an example):

Code:
#define MTK_FB_LED_ON_DELAY_MS 200
// lcm_resume()

so I just returned that variable instead. Nevertheless, I did get it to build completely as far as I could tell, but I never got it to boot.
 
Last edited:
  • Like
Reactions: Red-code

PGHammer21

Member
Jul 7, 2015
6
2
I forked my device (mt8127) from a generic 6582 on GitHub, and I've noticed several roms around for that chip. If there's not anything built for your device "specifically", you can probably try to port something (there's guides for that around here too)

MTK8127? That is what I have been hoping for (and so have lots of others here in Lenovo-land), as that is the MTK SoC on the Tab 2 F series with the hyper-unreliable stock and 3e recoveries (especially the A7-30F, like mine). For me personally, it stings particularly hard, as I got my Mom's VZW GNex (she bought it super-cheap on Amazon two years back; the only issue was the old/slow JellyBean VZW and Samsung hung them out to dry with) running on the unofficial CM for GNex - found right here @ XDA).

I have three questions -first, what are you using for a recovery? (I haven't been able to get ANY recovery to work reliably - and I'm including stock.)
Second, do you still have the link to the porting guides you used?
Lastly, what did you use for source (if not straight AOSP)?
 

NepoRood

Retired Forum Moderator
Jan 26, 2016
2,911
3,861
Bugtussle
MTK8127? That is what I have been hoping for (and so have lots of others here in Lenovo-land), as that is the MTK SoC on the Tab 2 F series with the hyper-unreliable stock and 3e recoveries (especially the A7-30F, like mine). For me personally, it stings particularly hard, as I got my Mom's VZW GNex (she bought it super-cheap on Amazon two years back; the only issue was the old/slow JellyBean VZW and Samsung hung them out to dry with) running on the unofficial CM for GNex - found right here @ XDA).

I have three questions -first, what are you using for a recovery? (I haven't been able to get ANY recovery to work reliably - and I'm including stock.)
Second, do you still have the link to the porting guides you used?
Lastly, what did you use for source (if not straight AOSP)?

I'd be glad to help you out, but this isn't the place for this discussion. I'll PM you :good:
 

rictec

Senior Member
Jan 22, 2005
416
40
since its here where most mtk devs are i will ask it here
anyone had this error or even saw it?
W/MountService( 790): getVolumeState(/storage/sdcard0): Unknown volume
E/MountService( 790): getVolumeState(/storage/sdcard0): ERROR!
besides from a bad sdcard format and the is not the case i out of ideias

TIA
Rictec
 

forart.eu

Senior Member
Sep 20, 2012
192
29
Macerata, Marche
www.forart.it
Hi everyone, looking for someone able to build a CyanogenMod - hopefully 13, but 12 or 11 would be great too - for Wiko Cink Slim and clones (such as NGM Wemove Miracle, fly IQ442 Miracle, MyPhone A848i Duo, etc.).

It's MT6577/PowerVR SGX 531 based, sources here (and @ wikogeek.com too, of course): https://github.com/wiko-sources/cink-slim

Hope that can help others too.
 
Last edited:

Pablito2020

Senior Member
Jan 23, 2016
103
24
Lleida
Hello everybody,
I know that it isn't a question about source but...It's about mtk6582 and cm13
Why when I crossport the cm13 build by Fire855 to mtk6582 stayed in bootloop? With this guide I crossported miui, cm12.... But with cm13 stayed at boot logo.. If anybody finally crossport the rom with success can share it?
Thanks in advance
 

rictec

Senior Member
Jan 22, 2005
416
40
any ideias latest cm13
04-18 15:41:11.765 713 736 I use-Rlog/RLOG-AT: AT read start
04-18 15:41:11.765 2758 2758 D SubscriptionController: [getSubId]- sSlotIdxToSubId.size == 0, return DummySubIds slotIdx=0
04-18 15:41:11.765 2758 2758 D DefaultPhoneNotifier: notifySignalStrength: mRegist[email protected]4902087 ss=SignalStrength: 14 99 -120 -160 -120 0 -1 99 2147483647 2147483647 2147483647 2147483647 2147483647 gsm|lte sender=Handler (com.android.internal.telephony.gsm.GSMPhone) {5cd89f0}
04-18 15:41:11.766 1392 1997 D TelephonyRegistry: notifySignalStrengthForSubscriber: invalid phoneId=-1
...the entire telephony as changed ....
 

karencho777

Member
Jan 4, 2016
48
3
hello ,can you tell me is there possible to install CM 12.1 or 13 on Uniscope XC2S with MTK6592 and jelly bean 4.2.2 android,if it is possible give me a link how can i install it
 

PGHammer21

Member
Jul 7, 2015
6
2
Interested in leveraging this project for two related projects

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.

Speaking of other Mediatek devices, I have a MTK8127 device that I would like to leverage this project for (and especially since nobody else is doing anything similar).

1. CM13 (similar source), but for Lenovo Tab 2 A7-30F (and possibly other Lenovo MT8127 devices) - I have source code from Lenovo already (publicly downloadable)
2. CWM recovery (same target) - reason is a lack of non-stock recoveries.

Because the two projects overlap, I'll be using the same tree for both; however, I still need a place to start; hence my turning to you.

You'll get all the credit - only if I manage to contribute anything would I want any myself.
 
  • Like
Reactions: blakegriplingph

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    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://forum.xda-developers.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 :).
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone