Last edited:
./unpack-MT65xx.pl boot.img
./unpack-MT65xx.pl boot.img
./repack-MT65xx.pl -boot boot.img-kernel.img boot.img-ramdisk new-boot.img
ro.sf.lcd_density=xxx
1-minute Porting Guide(mediatek)
Code:./repack-MT65xx.pl -boot boot.img-kernel.img boot.img-ramdisk new-boot.img
Ow nice guy, but this is for rom or for app or for rom and apps?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:-
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.Code:./unpack-MT65xx.pl boot.img
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)
3)Now copy and replace boot.img-kernel.img by stock one which you extracted earlier and saved in seperate folder.(10sec)Code:./unpack-MT65xx.pl boot.img
4)now repack it by this command-(1sec)
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)Code:./repack-MT65xx.pl -boot boot.img-kernel.img boot.img-ramdisk new-boot.img
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)
10)Put value of your screen dpi in place of xxx..(40sec)Code:ro.sf.lcd_density=xxx
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
./unpack-MT65xx.pl boot.img
./unpack-MT65xx.pl boot.img
./repack-MT65xx.pl -boot boot.img-kernel.img boot.img-ramdisk new-boot.img
ro.sf.lcd_density=xxx