Hello frnds,this is my 5th guide on porting Custom Rom From MTK CHIPSET.Means now you can port any lollipop rom With same kernal verion...(100% fail proof porting guide)
Ex- kitkat to lollipop
Note-THIS is for advance users,so noobs please go out and marshmallow Cross porting guide will be next...
1.The rom you want to port must be same kernal version.
2.Always take a backup of your Stock rom.
Ex- kitkat to lollipop
Note-THIS is for advance users,so noobs please go out and marshmallow Cross porting guide will be next...
CROSS PORTING GUIDE LOLLIPOP(MT6592-82-72/MT6735M-MT6753)
REQUIREMENTS-
-Winrar or 7zip
-notepad++
LIMITATION-
1.The rom you want to port must be same kernal version.2.Always take a backup of your Stock rom.
3.Read careful,dont misplaced any file.
START-
Case 1-So NOW ,i am taking example of cm12.1 for MT6582(unite_2) porting for MT6572(Karbonn_A52+)
1.Modify Mount points from stock rom to port.(mt6582\META-INF\com\google\android\updater-script)
this is the 100% fail safe method for porting rom,this not gives bugless rom...
you need to fix bugs yourself or i will explain bug fixing in next guide...
***Please HIT +1 and share***
#NeerajMALHOTRA
2. PORT boot.img
unpack both images using carliv image kitchen
and replace all files except ramdisk folder from stock to port.
then open ramdisk folder and replace a file named ueventd.rc from stockboot.img to portboot.img.
NOW the tricky thing here...
Rename all files having other chipset name like your stockboot.img, SEE SCREENSHOT
now open init.mt65xx.rc in with notepad++...
-find for mt6582 and replace with mt6572 as shown in SCREENSHOT
UNPACK portboot.img and copy to port rom folder...
3.Port system folder(Replace listed files from stock to port)
-system/lib/hw/hwcomposer.mt6572.so
-system/lib/hw/gralloc.mt6572.so
-system/lib/libmali.so
-system/etc/firmware/
4.Edit build.prop
compare density and hw rotation see screenshot
DONE! REPACK ROM AND FLASH...
this is the 100% fail safe method for porting rom,this not gives bugless rom...
you need to fix bugs yourself or i will explain bug fixing in next guide...
***Please HIT +1 and share***
#NeerajMALHOTRA