[TUTORIAL][MTK]PORTING GUIDE FOR ALL MTK DEVICES

NOTE: If you must share this post, give proper credits. Don't just copy and paste. Always link back to this site! This is important!! The post has been compiled by me - D'WapKing™
Sometimes, it could be so sad when you discover that your device lacks custom ROMS unlike other devices owned by your friends and colleagues. For instance, if you own an Infinix x551 (MT6592) and here you've seen a ROM for InnJoo Fire Plus 3G (MT6592), you can still enjoy the same ROM on your X551 after following the below porting procedures.
Well, it's time to take the bull by the horn and learn how to port any ROM to your device. This time, I'm gonna teach you how to fish, rather than giving you fish.
I have tried to simplify the step so much that even a novice can understand it without screenshots.

All you need are some basic skills and tools, very easy to use.

NOTE: YOU MUST BE ROOTED AND HAVE ALSO FLASHED A CUSTOM RECOVERY (CWM, PHILZ, TWRP, COT, etc) FOR YOUR DEVICE IN ORDER  TO FLASH CUSTOM ROMS.

NEEDED
* Your stock backup
* A flashable custom ROM

* A PC with the following tools 
Notepad++
MTKBootimg tool
7zip or Winrar
* Brainz and attention.

Now let's begin!
NOTE: This method is for porting lollipop (and probably for other versions) ROMS of the same chipsets (eg MT6592 to MT6592)

Create two folder ROM_PORT and ROM_STOCK

Place your stock system folder in ROM_STOCK.
This folder and files (i.e. /system) can be obtained from your backup or you can use a root accessible file manager such as X-plore, ES, Root explorer, etc to copy/extract your /system folder.

Extract the downloaded custom ROM into ROM_PORT
Extract the MTKBootimg tool into a folder (you will find 2 folders inside: "port" and "stock")

Copy the boot.img in the port and stock roms to MTKBootimg/port and /stock respectively.

Double click unpack to extract the contents of the boot.img (repeat same for both folders)

Copy the kernel file from stock and paste/overwrite same in port.

Double click repack in the port folder, then rename the boot-new.img to boot.img

Copy the renamed boot.img to the ROM_PORT from where you got it from.

Copy these files from ROM_STOCK and replace the existing files in ROM_PORT directory.

system/lib/hw/hwcomposer.mt65xx.so
system/lib/libaudio.primary.default.so
system/lib/libMali.so
system/etc/ firmware, bluetooth and wifi (copy the entire folders, Bluetooth and WiFi are not compulsory, you can omit them)

Go back to ROM_PORT, highlight all files and folders; usually contains: 
"META-INF, 
system, 
boot.img"

Right click them and select 7zip > Add to archive then compress in .zip format.

Flash and enjoy your new ROM!!!

MORE DETAILED STEPS WITH SCREENSHOTS CAN BE FOUND BELOW FOR:

LOLLIPOP. (If the steps are too complicated for you, then just follow the steps on my initial post for Lollipop. It works just fine!)

CREDITS.... 
WapKing
Ajit Guraya (mtkroms.com)
Share:

0 Responses:

Post a Comment

Like us on facebook

Monetize your blog

Blog Archive

Recent Posts

Translate This Page