Sunday, November 12, 2017

[Guide] How To Port CM 12.1/13/14 Based Rom To MT6582 Kitkat Based|stock rom go to rompure.com

How To Port Cyanogenmod 13 & 13.1 Marshmallow  Based Rom To MediaTek MT6582 Kitkat 3.4.67+ Kernel Based. 
Rom Claims
How To Port CM13 Based Rom To MT6582 Kitkat Based

This is easy porting method for mediatek Users. You can used Cyanogenmod 13 & 13.1 based rom using this porting method. This porting method make by S M Nahid Emon (Me) & FS Ashraful. Thanks FS Ashraful for helping me.

Disclaimer : If you can installed any custom rom your android device warranty has been voided. If you can used this porting method please work at your own risk. Your android device is destroyed using this method then Rom Claims is not responsible you any complaint.

Working Tools For PC :
1. 7-Zip/Winrar
2. MTKbootimg (PC Version)
3. Notepad++
4. Stock Rom
5. Custom Rom
6. Some Brain


Working Tools For Android :
1. Zarchiver (Zip Extractor)
2. Root Explorer Pro
3. DroidEdit Pro
4. Stock Rom
5. Custom Rom
6. Some Brain

How To Port Cyanogenmod 13 & 13.1 To MT6582 Kitkat Based

Step 01 : Make Two Folder and Rename 'Stock' and 'port'

Step 02 : Extract Stock Rom 'Stock' Folder and CM13 Based Rom 'Port' Folder

Step 03 : Go To META-INF/com/google/android/updater-script Using Notepad++ and Chage it.
System=mmcblk0p5 to your mounter point
cache=mmcblk0p6 to your mounter point
data=mmcblk0p7 to your mounter point

[Note : Don't edit any other or add, If you edit then show error=6 when flashing. This issue not show all roms]

Step 04 : Replace Stock To Port Folder
#From "etc" Folder
- System/etc/bluetooth
- System/etc/firmware (delete port firmware and copy from stock)
- System/etc/wifi

#From "lib" Folder
- System/lib/hw/sensor***
- 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.
- ro.product.model= (Your Device Name)
- 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 roms]

Step 06 : Unpack boot.img Using MTKbootimg (PC Version Software)
*boot.img edit (non-emulated users)
#For system 5 user (non-emulated)
- replace boot/zimg (kernel)
- replace boot/initrd/ueventd.rc

#For system 6 user (non-emulated)
- replace boot/kernel
- replace boot/initrd/ueventd.rc
- Edit boot/initrd/fstab.mt6582.rc/0:8 to 0:9

*boot.img edit (emulated users)
#replace stock to port
- boot/initrd/fstab.mt6582.rc
- boot/initrd/init.mt6582.rc
- boot/Kernel

Bugs Fixed :
#After Porting Weak Signal Fix (For Non-emulated Users)
Open build.prop Using Notepad++ and Edit it.
- ro.telephony.ril.config=signalstrength

#After Porting Audio Bug Fix (For Non-emulated Users)
Go To Port Rom system/lib/hw and delete it.
- audio.primary.goldfish.so
- audio.primary.mt6582.so

#After Porting Camera Image Rotation Bug Fix (For Non-emulated Users)
Go To Port Rom system/lib/hw and delete it.
- camera.goldfish.jpeg.so
- camer.goldfish.so

#After Porting Gps Bug Fix (For Non-emulated Users)
Go To Port Rom system/lib/hw and delete it.
- gps.goldfish.so
- gps.mt6582.so

#After Porting Sensor Bug Fix (For Non-emulated Users)
Go To Port Rom system/lib/hw and delete it.
- sensors.goldfish.so
- sensors.mt6582.so

#After Porting Led Indicator Bug Fix (For Non-emulated Users)
Go To Port Rom system/lib/hw and delete it.
- lights.goldfish.so

- lights.mt6582.so

#After Porting Vibration Bug Fix (For Non-emulated Users)
Go To Port Rom system/lib/hw and delete it.
- vibrator.goldfish.so

Credits :
- Rom Claims
- S M Nahid Emon
- FS Ashraful

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

No comments:

Post a Comment