How To Port Lineage OS 13/Lineage OS 14.1 Based Rom For MediaTek MT6580
Android 5.1.1 Lollipop 3.10.72 Kernel Based Using PC. This Guide Working All LOS 13/LOS 14.1 Nougat Based To MediaTek MT6580 Android 5.1.1 Lollipop 3.10.72 Kernel Based.
Requirement : 1. 7-Zip/Winrar
2. MTKbootimg or Carliv Image Kitchen (PC Version)
3. Notepad++
4. Stock Rom (Backup or Downloaded)
5. Custom Rom (For Same Chipset & Kernel)
6. Some Brain
Guide :
This Guide Work Only on MT6580 To MT6580 which have Same Base. If you Download Any Lineage OS 13/Lineage OS 14.1 Based Custom Rom For MT6582 Android 5.0 Lollipop 3.10.54 Kernel Based. Then This Guide Will work Perfectly. This Guide is not For Cross Porting roms for mediatek devices.
1 : Make Two Folder and Rename ‘Stock’ and ‘port’.
2 : Extract Stock Rom ‘Stock’ Folder and CM/LOS Based Rom ‘Port’ Folder
3 : Go To META-INF/com/google/android/updater-script. And using Notepad++ make following changes to it.
* system=mmcblk0pxx to your device mount point
* cache=mmcblk0pxx to your device mount point
* data=mmcblk0pxx to your device mount point
[Note : If any mount point is not available then skip this step]
4 : Replace Stock To Port Folder
#From “etc” Folder
* system/etc/bluetooth (Whole Folder)
* system/etc/firmware (Whole Folder)
* system/etc/wifi (Whole Folder)
* system/etc/apns-conf.xml
* system/etc/spn-conf.xml
#From “lib” Folder
* system/lib/hw/sensors***
* system/lib/hw/lights***
* system/lib/audio.primary.default.so
* system/lib/libcamalgo.so
* system/lib/libcamdrv.so
* system/lib/libcameracustom.so
* system/lib/libMail.so
5 : Open build.prop File Using Notepad++ and make changes to it according to Stock.
* ro.product.brand=
* ro.product.name=
* ro.product.manufacturer=
* ro.build.product=
* ro.product.model=
* ro.product.device=
* ro.sf.lcd_density=320 (Your Device Density)
* ro.sf.hwrotation=0 (Your Device Rotation Angle 0, 180 or others)
[Note : In build.prop dont make any changes to lines you dont know about.]
6 : Port “boot.img” Using PC
Method 01 : Using MTKbootimg Tools
* Unpack Stock & Port “boot.img”
* kernel (Replace Stock To Port)
* initrd/ueventd.rc (Replace Stock To Port)
* Repack Port “boot.img” & Rename “boot-new.img” To “boot.img”
* Copy & Past Ported boot.img Port Folder
Method 02 : Using Carliv Image Kitchen
* Unpack Stock & Port “boot.img”
* boot.img*** (Replace Stock To Port)
* ramdisk/ueventd.rc (Replace Stock To Port)
* Repack Port “boot.img” & Rename “boot.img”
* Copy & Past Ported boot.img Port Folder
7 : Make Zip File Using Winrar/7-zip & Copy Ported Rom SD Card First Page & Flash it Using Philz Touch or Twrp Recovery.
0 comments: