• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Cyanogenmod for mediatek devices

Search This thread

vampirefo

Senior Member
Apr 3, 2010
3,242
1,634
My guess work, I corrected a problem that could not, due to the fact that my project is of interest to many.
I will release Energy X Plus version based on your original source code this weekend, Yes you have created something no one else has.

All other CM12 that I have seen, require some kernel source modification, yours works on stock 3.10.54 kernel, that makes your version available to more users, as kernel source isn't available for a lot of devices.

Thank you for making the ROM, and for making the sources available.

Sent from my Venue 8 3830 using Tapatalk

---------- Post added at 04:53 PM ---------- Previous post was at 04:51 PM ----------

Yes, you can if you want, github source is meant to be used by anyone, had the uploader not wanted people to use it, he could have made it private, look forward to seeing the rom.

---------- Post added at 12:24 PM ---------- Previous post was at 12:21 PM ----------



Thanks, for the link.
I agree source on github is there for everyone's use, but I waited before releasing rom, to curb feelings.

Sent from my Venue 8 3830 using Tapatalk
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,634
Yes, you can if you want, github source is meant to be used by anyone, had the uploader not wanted people to use it, he could have made it private, look forward to seeing the rom.

---------- Post added at 12:24 PM ---------- Previous post was at 12:21 PM ----------



Thanks, for the link.
I just released the rom, if you want to test it.

Sent from my E030U Energy X Plus using Tapatalk
 
  • Like
Reactions: tomtom1265

Typhus_

Senior Member
Jan 9, 2013
1,251
1,507
41
Lisbon
www.facebook.com
Xiaomi Mi A1
Xiaomi Mi A3

Yep!

Nailed it!

That error and a bluetooth error that I had afterwards:

Code:
packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:659: error: cannot find symbol
            RemoteController.OnClientAvrcpUpdateListener {
                            ^
  symbol:   class OnClientAvrcpUpdateListener
  location: class RemoteController

packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:379: error: no suitable constructor found for RemoteController(Context,RemoteControllerWeak,<null>,AvrcpRemoteControllerWeak)
        mRemoteController = new RemoteController(mContext, mRemoteControllerCb,
                            ^
    constructor RemoteController.RemoteController(Context,OnClientUpdateListener,Looper) is not applicable
      (actual and formal argument lists differ in length)
    constructor RemoteController.RemoteController(Context,OnClientUpdateListener) is not applicable
      (actual and formal argument lists differ in length)

	  
packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:604: error: RemoteControllerWeak is not abstract and does not override abstract method onClientPlayItemResponse(boolean) in OnClientUpdateListener
    private static class RemoteControllerWeak implements RemoteController.OnClientUpdateListener {
                   ^

packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:666: error: method does not override or implement a method from a supertype
        @Override
        ^
packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:702: error: method does not override or implement a method from a supertype
        @Override
        ^
packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:712: error: method does not override or implement a method from a supertype
        @Override
        ^
packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/Avrcp.java:721: error: method does not override or implement a method from a supertype
        @Override
        ^

Result:

Code:
Package Complete: /home/tifo_el/android/system/out/target/product/Aquaris_E5_FHD/cm-12.1-20160507-UNOFFICIAL-Aquaris_E5_FHD.zip
make: Leaving directory `/home/tifo_el/android/system'
#### make completed successfully (01:35:41 (hh:mm:ss)) ####

Check the build time...

God bless Google.

:)
 
Last edited:
  • Like
Reactions: vampirefo

Rohan Taneja

Inactive Recognized Developer
Feb 22, 2013
740
2,564
Hello everybody!
I'm new trying to compile roms from source, and I don't know a lot of this theme, but I would like to start with development for mtk6582 with kernel kitkat. I sayed before that I'm a noob because I never compiled a ROM from source. There is my question.
For compile a custom rom from source you need the device tree, vendor tree and kernel. Rohan Taneja (XDA developer) have the device tree and vendor tree for cm13 (mtk6582 with kernel kitkat).But he doesn't have the kernel source! I can use the Linux kernel source of my device (BQ Aquaris E4.5) ?
Vendor tree (Rohan Taneja): https://github.com/rohantaneja/android_vendor_mediatek_mt6582/tree/cm-13.0
Device tree (Rohan Taneja): https://github.com/rohantaneja/android_device_mediatek_mt6582
Linux Kernel source for my device: https://github.com/bq/aquaris-E4.5

PS: I'm a nobb, that I sayed before, I've I sayed one thing pointless, please don' t laugh me :)
Cheers and Thanks in advance
I am using codes merged from both ferhung's & fire855's code. So you might be able to build easily over it.

And also Kernel Sources are not required certainly due to selinux hacks we are able to make CM-13.0 support on Prebuilt 3.4.x kernel.

In case of vendor fork and merge blobs from stock Kitkat (mainly firmware and few device specific libs -> Mali, audioprimary.default, cameracustom, camdrv, camalgo)

#JustAStartUp :)
 
  • Like
Reactions: waseemmayaa

superdragonpt

Recognized Developer
Apr 27, 2013
4,906
19,255
Lisbon / Taiwan / USA
www.caixamagica.pt
Sorry for the noobish question but what do you mean about "branching issues"?

I've spent the last week making all changes on my cloned repos. What kind of issues should I have noticed?

I'm trying to build CM12.1 just for testing purposes and to familiarize myself with this.

My goal is CM13 but that will have to wait, for now.

Anyway, could you look into my giuthub and see what could be wrong?

CM12.1 branch, of course.

Probably go with cm12.1, really cm13 is a bit messy

I meant, you should have all the source mainstreamed to the same incremental TAG.

If you cloned something, you should upstream all recent merges, since your repo HEAD is behind all the rest ...
Also like said, check to see if your default branch is the correct on all cloned repos i.e:
cm12.a branch on frameworks_base , and cm13.0 branch on any other repo ..


@Typhus_ I think you only have to sync your source and also update the repos which you cloned from my github. They don't contain the newest cm changes.

Gesendet von einem unbekannten Teufelsgerät

^^ This

cheers
 

JBCDev

Senior Member
Feb 22, 2015
139
36
I am using codes merged from both ferhung's & fire855's code. So you might be able to build easily over it.

And also Kernel Sources are not required certainly due to selinux hacks we are able to make CM-13.0 support on Prebuilt 3.4.x kernel.

In case of vendor fork and merge blobs from stock Kitkat (mainly firmware and few device specific libs -> Mali, audioprimary.default, cameracustom, camdrv, camalgo)

#JustAStartUp :)

Exactly, which SELinux hacks did you made ?
 

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 :).