How To Port Lineage OS 14.1 Based Rom For MediaTek MT6582 Kitkat Based Using PC

Hello Guy’s I’m Showing To You, How To Port Cyanogenmod 14.1/Lineage OS 14.1 Based Rom For MediaTek MT6582 Android 4.4.2 Kitkat 3.4.67 Kernel Based Using PC. This Guide Working All CM14.1/LOS 14.1 Nougat Based To MediaTek MT6582 Android 4.4.2 Kitkat 3.4.67 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 MT6582 To MT6582 Same Based. If you Download Any Cyanogenmod 14.1/Lineage OS 14.1 Based Custom Rom For MT6582 Android 4.4.2 Kitkat 3.4.67 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=mmcblk0p5 to your device mounter point
* cache=mmcblk0p6 to your device mounter point
* data=mmcblk0p7 to your device mounter point
[Note : Don’t edit any other or add, If you edit then show error:6 when flashing. This issue not show all custom rom]
 Step 04 :  Replace Stock To Port Folder
#From “etc” Folder
* system/etc/firmware (Whole Folder)
* system/etc/wifi (Whole Folder)
* system/etc/bluetooth (Whole Folder)
* system/etc/apns-conf.xml
* system/etc/spn-conf.xml
#From “lib” Folder
* system/lib/hw/sensors.default.so
* system/lib/hw/sensors.mt6582.so (First Rename Stock sensors.default.so To sensores.mt6582.so)
* system/lib/hw/lights.default.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=220 (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*** (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.
 Importent Issue :  Sometimes Some Custom Rom not Booted Follow Previews Step. If You Face not Booted Issue Then Replace This Two File Stock To Port & Flash it Using Flashable Zip File.
* system/lib/libdpframework.so
* system/lib/libfeatureio.so
 Credits : 
* XDA Developer
* Android GSM BD
* Aditya Kumar
* Manjunath Yashu
* S M Nahid Emon (Me)
[Note : Please share this guide any place and if you need any help comment below]
1 Komentar untuk "How To Port Lineage OS 14.1 Based Rom For MediaTek MT6582 Kitkat Based Using PC"

Hi, I have a storage problem. Is there a tutorial for "emulated storage" devices?

Back To Top