Subscribe For Free Updates!

We'll not spam mate! We promise.

Monday 25 May 2015

How To Port Rom For Mediatek devices [JELLY BEAN]

SO LETS PORTING ROMs  [JELLY BEAN]
                                      
Requirements
1.Windows based operating system
2.Kitchen [For Boot.img unpacking Repacking]
3.Notepad++
4.Stock and Port Roms

Overview 
Please Choose port rom which is of same chip-set like mt6572 to Mt6572 and same android version.. :)

Procedure:-
1.Replace these from your Stock ROM to the ROM u want to PORT!! Lets Call it "PORT"
*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

2.For Fixing Problems...
 *system/etc/permissions
 *system/etc/security
 *system/etc/audio
 *system/etc/wifi
 *system/lib/drm
 *system/lisystem/lib/soundfx
3.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("...
For Example 

This Is Port one
format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");

This Is 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!! 
4.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

Credits
XDA DEVELOPER | LINK TO HIS THREAD |
Ace Aggarwal :P 

Thanks For Reading This

Help Us By Promoting
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments:

Post a Comment