How to port Nougat Custom Rom Lineage OS 14.1 For MTK Devices
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:
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
- Edit build.prop according to your device name
- Then compress (zip) into ROM.zip
- Download gapps according to ROM version: READ :
- What GApps Package Should You Install
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.
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
ReplyDeleteBoth 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.
Check your IMEI. if it shows null. try to fix it.
DeleteActually 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??
ReplyDeleteTake 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.
DeleteVoLTE Fix
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
Deletehey dev!
ReplyDeleteactually 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.