Tuesday, June 13, 2017

[Guide] MTK6582 ROM Porting


MT6582 to MT6582 Simple ROM Porting

~Follow these steps to start porting~
----------------------------

STEP - 01
--------------------
---------------------------
Unzip/Extract all files using 7-Zip, WINRAR or Any other Zip/RAR Extractor Tool(Download link bellow)
[Note: If downloaded PORT ROM is SP flash tool flashable and not recovery flashable then extract system.img using ext2explore or dsixda's Android Kitchen]
Rename stock ROM (original rom of your phone) as STOCK and port rom (which you want to port) as PORT

STEP - 02
--------------------
---------------------------
a) Open STOCK and PORT ROMs in another Tab
b) Delete boot.img & logo.bin(if the ROM) from PORT
c) Copy boot.img & logo.bin(if the ROM) from STOCK
d) Paste boot.img & logo.bin(if the ROM) in PORT

STEP - 02
--------------------
---------------------------
a) Open "META-INF>>google>android>>updater-script" from PORT with any Text Editor App(Download link bellow) See here...like


c) Now Change the Mount Point into your STOCK Mount Point. You can use this App(Download link bellow) to Know about your Mount Point...like

c) After Editing...Save it

STEP - 02
--------------------
---------------------------
a) Open folder system/etc in PORT and delete this folder "firmware"
b) Open folder system/etc in STOCK and copy this folder "firmware"
c) Open folder system/etc in PORT and paste this folder "firmware"

STEP - 03
--------------------
---------------------------
a) Open folder system/lib in STOCK and copy following files:
libaudio.primary.default.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libMali.so
b) Open folder system/lib in PORT and paste all files

STEP - 04
--------------------
---------------------------
a) Open folder system/usr/keylayout in STOCK and copy file Generic.kl
b) Open folder system/usr/keylayout in PORT and paste file Generic.kl

STEP - 04
--------------------
---------------------------
Open build.prop in PORT and search the line ro.sf.lcd_density=
[ex: If value is 240 or  then change it on your stock value, that is your dispaly density]

STEP - 04
--------------------
---------------------------
Open build.prop in PORT and search the line ro.sf.hwrotation=
[ex: If value is 0 or 180 then change it on your stock value, Bloom have flipped screen]

STEP - 04
--------------------
---------------------------
Compress/zip "META-INF, system, boot.img & have any other file or folder" using 7-Zip or other Apps as "Any ROM.zip" and flash using any custom recovery.
First boot may take 2-3 minutes

-HD Video Tutorial-
-----------------------------------
-----------------
Here: YouTube

~File Attachment~
-------------------------
----------------------------------
All Dev Tools: Download here

[N.B: If you Find Any Bug After Porting, Comment here. I will try to Fix that...]

post signature

No comments:

Post a Comment