How To Port Lollipop Based ROMs for MTK Kitkat Devices
Only For Mediatek SOCs
This guide applies to same chipsets:
Example:
MT6577 to MT6577
MT6589 to MT6589
MT6572 to MT6572
MT6582 to MT6582
And works also for:
MT6589 to MT6577
MT6582 to MT6572
MT6577 to MT6575
Before starting this tutorial, please make a backup of your ROM
I am not responsible for any damage to your device, this guide is for expert users.
You Need:
- Winrar, 7-Zip or similar
- Notepad++
- Tool for unpack/repack mtk boot.imgs
- Kitkat Stock ROM
- Lollipop ROM for port
- Brain :p
Step 1.- Unzip the port Lollipop ROM and your stock ROM also.
Step 2.- Delete this files or folders in port ROM and replace with your files from Stock ROM:
Code:
-system/etc/firmware
-system/lib/hw
-system/lib/egl
-system/usr/keylayout/Generic.kl
-system/vendorStep 3.-.Rename you stock boot.img to stockboot.img and the port boot.img portboot.img. Unpack the boot.imgs, compare the fstab(ramdisk/fstab) and make changes in fstab from portboot.img(open it using notepad++). Use zImage from your stockboot.img and the ramdisk from portboot.img, recompile and replace in port rom folder.
Step 4.- Open the updater-script in META-INF in port rom, open it with Netepad++. Edit the mount points(compare with your updater-script from stock META-INF)
Example:
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p7", "0", "/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/system");Step 5.- Zip the port ROM and flash it in recovery mode, enjoy.:highfive:
No comments:
Post a Comment