How to Port Nougat ROM for MTK Devices MT6572/82/92/80
Today I am back with tutorial that many people asked for, i.e How to Port Nougat ROM for MTK Devices MT6572/82/92/80. In this post I will guide you to Port Nougat ROM for Same Chipset i.e MT6580 to MT6580 or MT6592 to MT6592 or MT6582 to MT6582 or MT6572 to MT6572.
WARNING: Do not replace any file unnecessarily, because it may give rise to new bugs in place of solving it. Always be specific!
Steps For Porting:
Simply follow it and port Nougat ROMs for your device. It’s the tested guide.
So let’s start :-
- Make 2 Folders. - Name one as Base ROM - Other as Port ROM
- First extract your Port ROM and Base ROM to their respective folder that you made above.
In META-INF Folder (com/google/android/updater-script) - Edit mount points of "system" and "data". Mount points looks like this "mmcblk0p6". - Replace the mount point with your device mount points.
In etc folder (system/etc) Replace the following files - bluetooth (whole folder) - firmware (whole folder) - wifi (whole folder) - spn-conf - apns-conf
In lib folder (system/lib) replace these following files - libaudio.primary.default - libcam.camadapter - libcam.exif - libcam.paramsmgr - libcamalgo - libcamdrv - libcameracustom - libdpframework - libfeatureio - libimageio - libimageio_plat_drv - libMali Inside hw folder - hwcomposer.mt6592
Unpack/extract boot.img file. You can use boot.img extracter (Download) to extract/unpack/repack bootimg.
To learn how to unpack or repack boot.img file. Use this guide How to unpack & Repack boot.img to port boot.img
Replace this files - kernel - unvented.rc - Camlines(in init.6592.rc in Camera Section)
- Repack your extracted zip of port ROM folder and flash it via custom recovery (TWRP suggested)
After porting ROM you might face certain bugs. So to fix bugs: Follow this guide: http://techboxlab.com/fix-bugs-in-custom-roms-when-porting-for-mt65xx/
If you are still facing the issue and unable to understand above process then simply follow this video guide.
So this was the proper tutorial guide about How to Port Nougat ROM for MTK Devices MT6572/82/92/80. Hope you liked this. Still if you have the query you can comment below.