How To Port Lineage OS 14.1 Based Rom For MediaTek MT6580 Marshmallow Based Using PC

0

Hello Guy’s I’m Showing To You, How To Port Cyanogenmod 14.1/Lineage OS 14.1 Based Rom For MediaTek MT6580 Android 6.0.1 Marshmallow 3.18.19 Kernel Based Using PC. This Guide Working All CM14.1/LOS 14.1 Nougat Based To MediaTek MT6580 Android 6.0.1 Marshmallow 3.18.19 Kernel Based.

Disclaimer : If you follow this guide. Then work at your own risk, If damage your device following this guide then Android GSM BD team not response your any complain.

 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 Working Only on MT6580 To MT6580 Same Based. If you Download Any Cyanogenmod 14.1/Lineage OS 14.1 Based Custom Rom For MT6580 Android 6.0.1 Marshmallow 3.18.19 Kernel Based. Then This Guide Working Perfectly. This Guide not Working For Cross Porting.

 Step 01 :  Make Two Folder and Rename ‘Stock’ and ‘port’

 Step 02 :  Extract Stock Rom ‘Stock’ Folder and CM Based Rom ‘Port’ Folder

 Step 03 :  Go To META-INF/com/google/android/updater-script Using Notepad++ and Change it.
* system=mmcblk0p17 to your device mounter point
* cache=mmcblk0p18 to your device mounter point
* data=mmcblk0p19 to your device mounter point

[Note : If not available this block point then skip this step]

 Step 04 :  Replace Stock To Port Folder
#From “etc” Folder
* system/etc/bluetooth (Whole Folder)
* system/etc/firmware (Whole Folder)
* system/etc/mddb (Whole Folder)
* system/etc/wifi (Whole Folder)
* system/etc/apns-conf.xml
* system/etc/spn-conf.xml

#From “lib” Folder
* system/lib/hw/sensors.mt6580.so
* system/lib/hw/lights.mt6580.so
* system/lib/hw/audio.primary.default.so
* systm/lib/hw/audio.primary.mt6580.so
* system/lib/audio.primary.default.so
* system/lib/libcamalgo.so
* system/lib/camdrv.so
* system/lib/cameracustom.so
* system/lib/libMail.so

 Step 05 :  Open build.prop File Using Notepad++ and Change it Stock To Port.
* 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 : Don’t edit any other line, If you edit then not flashing you device. This issue not show all custom rom]

 Step 06 :  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-kernel (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

 Step 07 :  Make Zip File Using Winrar/7-zip & Copy Ported Rom SD Card First Page & Flash it Using Philz Touch or Twrp Recovery.

 Credits : 
* Android GSM BD
* FS Ashraful
* S M Nahid Emon (Me)
* And Many More…

[Note : Please share this guide any place and if you need any help comment below]

I’m no one. I don’t want to be anyone. I am nothing special; just a common man with common thoughts, and I’ve led a common life. There are no monuments dedicated to me and after death my name will soon be forgotten.