Or Continue to Thread: mY Signature post[do not reply…
Find Your Device:
17th May 2014, 12:09 PM
digyvijaykumar123's Avatar
OP Senior Member
Flag Koderma
Thanks Meter: 1,327
 
320 posts
Join Date:Joined: Nov 2013
Donate to Me
More
Lightbulb [Guide]1-Minute Porting
1-minute Porting Guide(mediatek)

I will explain below the 1-min porting technique.If you understand whole thing then you can port a Rom in 1-mins=60sec....
But You need to setup few things which are quiet easy.

Four Things Needed:-
1)7zip (usually everyone of you have it)
2) Notepad ++( usually everyone of you have it)
3)unpack Scripts- Get From Here and click Here For Thread Link
4)Install latest Pearl From Here.

Now learn Using Unpack Script and setting Up ONE-TIME things:-
1)install Cygwin(linux terminal) (for setting up cygwin see my full guide to port rom here)
2)exrtact the Downloaded script under Home/Your_username/script directory of Cygwin.Here you have to make manually "script" folder then extract.
3)Now open your stock rom and get boot.img and put into unpack scripts folder under cygwin directory.
4)open cygwin and type" cd script " abd hit Enter.Now use this command to extract boot.img:-
Code:
./unpack-MT65xx.pl boot.img
5)Now Copy boot.img-kernel.img and boot.img-ramdisk to a separate folder for future use.And delete boot.img ,boot.img-kernel.img and boot.img-ramdisk to make folder clean for next use.


Start 1-min Porting:-
1)Open the Rom you wanna port with 7zip.(1sec)
2)Now drag and drop boot.img to scripts folder.Use this code to unpack-(6sec)
Code:
./unpack-MT65xx.pl boot.img
3)Now copy and replace boot.img-kernel.img by stock one which you extracted earlier and saved in seperate folder.(10sec)
4)now repack it by this command-(1sec)
Code:
./repack-MT65xx.pl -boot boot.img-kernel.img boot.img-ramdisk new-boot.img
5)Now yoy will get a new-boot.img file under scripts folder.Copy it somewhere else and rename it to only boot.img.Then drag drop boot.img to PORT Rom zip.(18sec)
6)Keep 7Zip opened and drag drop system/etc/firmware and replace from stock rom.(25sec)
7)Drag drop and replace whole System/lib/hw and system/lib/modules from stock rom.(32sec)
8)Now drag drop and replace full system/vendor folder and system/usr/keylayout/gereric.kl file from stock. (1sec)
9)Drag and drop build.prop to anywhere in PC and add below line-(38sec)
Code:
ro.sf.lcd_density=xxx
10)Put value of your screen dpi in place of xxx..(40sec)
11)Drag and put back build.prop in Port Rom zip.Flash it and check it.(45sec)


For Futher details of Porting and Rom development Go HERE
Last edited by digyvijaykumar123; 17th May 2014 at 12:11 PM.
The Following 9 Users Say Thank You to digyvijaykumar123 For This Useful Post: [ View ]