HOW TO PORT LINEAGE OS 14.1 BASED ROM FOR MEDIATEK MT6580 MARSHMALLOW BASED USING PC

20:39 Alex 0 Comments


How To Port Cyanogenmod 14.1/Lineage OS 14.1 Based Rom For MediaTek MT6580 Android 6.0.1 Marshmallow 3.18.19 Kernel
This Guide is Working for All CM14.1/LOS 14.1 Nougat Based To MediaTek MT6580 Android 6.0.1 Marshmallow 3.18.19 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 is only for MT6580 To MT6580 Same Based. 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/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

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/fstab.mt67xx (replace stock to port)
* initrd/init.mt67xx (compare 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/fstab.mt67xx (replace stock to port)
* ramdisk/init.mt67xx (compare 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' root & Flash it Using Philz Touch or Twrp Recovery.

0 comments:

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.