Skip to main content

[GUIDE] [PORT] [ROM] All About Mediatek ROM Porting

*** ##TUTORIAL ...

HOW to Port ROMs...

For Begineers & Advanced Users

Almost Any Device to Any Device!


ONLY FOR MEDIATEK SoCs

In This Guide You'll Learn..

How to Port ROMs From the Same CPU

And Also..

HOW TO PORT ROM FROM A DIFFERENT SoC!!!!!


Works for-

MT6589 to MT6577

MT6582 to MT6572

MT6577 to MT6575


Only ICS to ICS & JB to JB

May also work with 4.1 to 4.2

No Need of Source Code

No Need of Kernel Source

No Need of **ANDROID KITCHEN

No Need of LINUX... 


Requirements:

* A Brain
* Patience
* Windows XP/7/8
* 7-Zip
* Notepad++
* Bootimg Unpack/Repack Tools for Windows!
* Stock ROM
* And a Little Respect!!


So now Lets Begin...

PORTING For Same SoCs ( Ex: MT6572 to MT6572)

* Replace these from your Stock ROM to the ROM u want to PORT!! Lets Call it "PORT"

FILE LIST FOR REPLACING:

*system/vendor
*system/usr
*system/lib/modules
*system/lib/hw
*system/lib/libncurses.so
*system/etc/firmware
*system/etc/vold.fstab
*system/etc/vold.fstab.nand
*system/etc/bluetooth


For Fixing Problems...

*system/etc/permissions
*system/etc/security
*system/etc/audio
*system/etc/wifi
*system/lib/drm
*system/lib/egl
*system/lib/soundfx


* Now Replace the Stock Boot.img to Port ROM!

* Now Open The Port ROM folder and go to META-INF/google/android and open updater-script in Notepad++

* Do the same for the Stock ROM

* Now In the Port ROM's Updater Script, find a line that starts with this...

format(".......

and only replace the mmcblk0p.. with the stock one!

* Do the same for this line...

mount("...
Example:

This is the PORT one!!!

format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");


This is the Stock one!!

format("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");


Now just Replace the "mmcblk0p3" from STOCK to PORT!!

It should look like this:

format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");


DO NOT REPLACE THE WHOLE LINE!

* Now go back to the Folder of Port ROM and You'll see 2 folders & 1 file named

-META-INF
-system
-boot.img


* Now Select these three and Click Right Mouse Button and Click on 7-Zip ->> Add to Archive

* Now a dialouge box should appear!

* Configure the Format like This:

Archive format: ZIP

Compression Level : Normal

Compression Method: Deflate

Dictoioany Size: 32k

Word Size 32


* Now Start Zipping and Push the ZIP to your Memory Card

* Go to Recovery >> Install ZIP & Wipe Data

Finished!!

Now was that so hard?? Its a Really Easy thing to d0!!

Comments

Popular posts from this blog

Operating System notes Unit test for BE CSE 4th SEM (CS 6401)

                       KCG COLLEGE OF TECHNOLOGY (CSE 4C) PLEASE DOWNLOAD OPERATING SYSTEM NOTE FOR BE CSE 4TH SEM.  THIS NOTES ONLY FOR CSE-C not for other. we will get more marks from other section. UNIT -1  UNIT-2 PPT's 1. Operating systems      - Unit 1 -  View  /  Download      - Unit 2 -  View  /  Download     - Notes -  View  /  Download all are PDF files. plz use Adobe Reader to view Document.

SOLVING BUGS ON PORTING ROM

BUG SOLVING USES HIT AND TRIAL METHOD.I mentioned one or more ways to solve,you try one by one and see which works for you.  FM NOT WORKING:-     COPY THESE FILES FROM STOCK TO PORT:- \system\lib\libaudio.a2dp.default.so \system\lib\libaudio.primary.default.so \system\lib\libaudiocompensationfilter.so \system\lib\libaudiocustparam.so \system\lib\libaudioeffect_jni.so \system\lib\libaudioflinger.so \system\lib\libaudiosetting.so \system\lib\libfmar1000.so \system\lib\libfmcust.so \system\lib\libfmjni.so \system\lib\libfmmt6616.so \system\lib\libfmmt6620.so \system\lib\libfmmt6626.so \system\lib\libfmmt6628.so OR try this system/etc/firmware/mt6620_patch_e3_hdr.bin system/etc/firmware/mt6620_patch_e6_hdr.bin-> If yours is MT6628, you'll need to patch all mt6628_fm_*_*.bin too system/etc/firmware/WMT.CFG-> This is the antenna cfg, without this, FMradio cannot receive clearly system/lib/modules/mtk_fm_drv.ko system/lib/libfmcust.so For WiFi Bluethooth:- ...
dolby digital plus for lava iris x1 * download here   dolby digital plus.zip *flash it from cwm recovery !!! iam not resoponsible for your mobile. take your own risk,