Blogger Jateng

Howto Port Android ROM (Mediatek)

In this Guide, i will tell one of the most easy way to BOOT UP THE ROM.
So, lets begin,
This guide will focus on MT6735/MT6753 porting.
Device i used is Coolpad Note 3 Lite
CPU:MT6735

But, it will work mostly on all MT675X SoCs , this can also be useful for MT67XX series but , My main focus is on MT675X

What you guys need:-
Code:
1)Base Rom
2)Port Rom
3)Any good Notepad
4)Any Boot.img repack or unpack tool
5)Brain

BOOT.IMG :-

BOOT.IMG contains all the magic , it has the KERNEL inside which is one of the main thing.

Porting from Same CPU & GPU:-

NOTE:- When you are porting from a Similar device having same chipset like porting from:-
MT6753 TO MT6753
MT6735 TO MT6735

Use this method (95% times working ):-

System/lib & lib64 :-

Code:
libaudiocomponentengine.solibaudiocustparam.solibnvram.solibnvramagentclient.solibnvram_platform.solibnvram_sec.solibcustom_nvram.so

System/etc :-

Code:
/Firmware folder/apnconfig/spnconfig/agps_profile_conf2/media_codecs.xml

BLACK SCREEN AFTER LOGO???
REPLACE THIS LIB:- libcam.paramsmgr

To Fix Camera ( sometimes bootloop so try one by one ) :-

from System/lib & lib64 replace all libs starting like this:-

Code:
libcamera.mt6735 (mt6735 is according to my CPU ) libcameracustom.lib etclibcamalgo.lib


Unpack Boot.img of both Base & Port Rom

Code:
replace kerneland init.mt6735.rc ( not recommended always)and Fstab.mt6735

System/Lib(/64)/HW*

Done , Now zip em and flash.

90% Rom will boot with BUGS! ( NO ROM IS THERE WITHOUT BUGS, LOL)

Source