FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

Port (or) build cyanogenmod 13 for your mt6582 or mt6592 device

298 posts
Thanks Meter: 295
 
By HostZero, Senior Member on 10th April 2016, 06:43 PM
Post Reply Email Thread
This is a legit working method kind of porting... dont see thanks or position and decide. Thank You.

Code:
I am not responsible for any kind of bricked device
I am not responsible for any kind of deadSD Cards

Your doing this at your own risk.
REQUIREMENTS
CM13.0 FOR MT6582 or MT6582.
BASIC TOOLS.
STOCK ROM
PYTHON

DOWNLOAD SECTION
CM13.0 FOR MT6582 or MT6582.
BASIC TOOLS FOR THIS.
PYTHON

This method only works for 6.0

1. Download basic tools , cm13.0 for mtk and stock rom. and paste on your desktop.
2. Create two folders on desktop "PORT" "BASE"
3. Extract STOCK ROM in BASE, Extract CM13.0 for MTK in PORT

Extraction of .new.dat
1. copy sdat2img.py in stock rom folder.
2. open command window in stock rom folder.
3. then

Code:
mkdir system
sdat2img system.transfer.list system.new.dat my_new_system.img
...
imgextractor my_new_system.img system -i
...
Now even lets call them STOCK and PORT

Copy from STOCK to PORT.
STOCK/system/lib/libmali.so --> PORT/system/lib
STOCK/system/lib/lib --> PORT/system/lib
STOCK/system/lib/libcamalgo.so --> PORT/system/lib
STOCK/system/lib/libcamdrv.so --> PORT/system/lib
STOCK/system/lib/cameracustom.so --> PORT/system/lib
STOCK/system/lib/hw/hwcomposer.mtxxxx.so --> PORT/system/lib/hw
STOCK/system/lib/libaudio.primary.default.so --> PORT/system/lib

PORTING Kernel

Replace.

Code:
STOCK/system/boot.img  --> PORT/system
STOCK/META-INF              --> PORT/
Now zip it using 7z done.
The Following 2 Users Say Thank You to HostZero For This Useful Post: [ View ] Gift HostZero Ad-Free
 
 
27th February 2017, 01:58 AM |#2  
Member
Thanks Meter: 3
 
More
Hey dude I'm trying port CM13 (for mt6582 like my device) with a kernel 3.10.99, i have kernel 3.10.72...
But it not works for me, not load the logo... Only open the pre-logo and put in recovery mode to my phone

Note: I've change BOOTCLASSPATH too but its not work for me

can someone help me?? thank you very much
15th March 2017, 11:36 PM |#3  
Member
Thanks Meter: 22
 
More
thanks for this guide. two questions. will this work for stock rom 4.2.2 (kernel 3.4.5) -> cm13 6.0.1 (kernel 3.4.67)? and where to find the download section?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes