How to port Nougat Custom Rom Lineage OS 14.1 For MTK Devices

10:56 Alex 6 Comments



Just few days ago there was a breakthrough for users of MediaTek devices as an XDA user Aditya Kr who successfully ported Android Nougat Custom on his MTK device.
Other users of MediaTek devices started to port for various devices and successfully booted it also. This guide will help you to Port Lineage OS Nougat Custom Rom on mediatek device.

Follow the below guide carefully and in no time you'll also enjoy Nougat on your Android device.

This porting method has been known to work on these chip sets: 
Mediatek MT6582 chip set running on KitKat kernel
Mediatek MT6592 chip set running on KitKat kernel

FILES NEEDED:
.Boot Image Unpack Tool.
Read:
.File explorer
.Stock ROM
.Custom/Port ROM you want to port from

PROCEDURE:
  • First create two folders called Stock and Port
  • Place Stock ROM in stock folder
  • Place Custom ROM in port folder
  • Use 7zip to unzip both ROMs in respective folders
  • Port boot image with THIS or THIS method
  • Copy boot.img to Custom ROM folder you extracted and replace boot.img there
FOR MT6572 CHIP SETS:
Use boot image from any device (same chip set) with a working lineage OS ROM

Now copy these files from stock to port:
  • System/lib/hw/hwcomposer.mt65**.so
  • System/lib/libaudio.primary.default.so
  • System/lib/libcameracustom.so
  • System/lib/libcamalgo.so
  • System/lib/libcamdrv.so
  • System/lib/libfeatureio.so
  • System/etc/firmware
  • boot/kernel
  • boot/unventd.rc (only if you are getting stuck at logo)
  • boot/Replace only camera lines under #Camera from stock boot.img init.rc to init.mt6572.rc

    FOR MT6582/MT6592 CHIP SETS:
    Use boot image from any device (same chip set) with a working lineage OS ROM

    From System/lib/hw: Delete all mt6572.so blobs and replace with these blobs: DOWNLOAD BLOBS 

    Now copy these files from stock to port:
    • System/lib/hwcomposer.mt65xx.so
    • System/lib/gralloc
    • System/lib/lib.audio.primary.so
    • Systemlib/lib.mali.soS
    • System/Etc
    • System/lib/libcameracustom.so
    • System/etc/firmware
    • System/lib/libfeatureio.so
    • boot/kernel
    • boot/unventd.rc (only if you are getting stuck at logo)
    • boot/Replace only camera lines under #Camera from stock boot.img init.rc to init.mt6572.rclib/libcamdrv.solib/libcamalgo.so

    After copying these files to Custom ROM

    After finishing up the porting process;
    • Boot into recovery 
    • Wipe data 
    • Wipe cache 
    • Wipe dalvik cache 
    • Flash ROMs 
    • Flash gapps
    • Reboot
    Downloads:

    Un-Official build: DOWNLOAD UNOFFICIAL ROM BUILD
    LineageOS addons download: DOWNLOAD
    Google Apps: GOOGLE APPS

    Credits for this tutorial:
    Aditya Kr
    XDA developers
    Android matrix dev 
    Arie Fuero
    Reza Adi 
    TribetMen 
    KirBeats 
    Ultimate open source porters
    Dev Gamal
    Samar V
    Others

    Screenshots from users who successfully booted Lineage OS 14







    You may encounter bugs while porting using this guide. Remember, this is a new development. Be patient as this guide would be updated. 


    6 comments:

    1. Hii, Actually I ported lineage 14.1 rom to my device,it booted successfully but it doesn't detecting my sim(jio) , Mine device is Micromax q440 and device from which I ported is vertex impress razor
      Both have same chipset and kernel version too.(mt6737 and 3.18.35), what should I change for detecting my sim???I changed firmware folder too but still nothing.

      ReplyDelete
      Replies
      1. Check your IMEI. if it shows null. try to fix it.

        Delete
    2. Actually its firmware folder problem, after firmware flashing , it worked but now a new bug is there,and that is volte, my phone supports volte but the ROM shows only LTE, can I do something about it??

      ReplyDelete
      Replies
      1. Take a look at this, try the patches, if they dont work, extract the zip files and observe the files inside them, and replace same files from your stock rom.

        VoLTE Fix

        Delete
      2. Rohit, please give the steps for how to mt6737 and kernel 3.18.35+. How you actually port the ROM means which file you change other please I have port my micromax q4311. So please help

        Delete
    3. hey dev!
      actually i ported an ios clone rom (from firmware) for my device , both have 3.18.35 kernel and other specs are nearly same except chipset . mine device have mt6737m and that device have mt6737t, the rom passes the manufactures logo than the bootanimation and then screen dims too but it get stuck there , i generated logcat too but didnt understand it, how can i repair it?? any idea?? both have 7.0.1 android.

      ReplyDelete

    Disable_Adblock

    We know Ads suck, but at IrisBuddies we will not let them do that
    As blocking is a good idea to get rid of stupid “Download Now” Buttons around the web
    That’s not in our case. We think you won't find Ads on Our site terrible or annoying
    Support us by Whitelisting “IrisBuddies” on your Adblocking Plugin or By disabling your AdBlocking software

    If you think this is not good and we should allow AdBlocking Plugins
    then Please Contact Us or write us on our Facebook Page
    and we might allow it in near future.