Now I will described you about ROM porting
method for MTK phone (same SoC )
See details below :-
You need to have custom recovery for flash your new
created rom.
Note
:- Stock Rom is :- Current Rom of your handset.
(Flashable zip)
Port Rom is :- Which Rom you want to port.
(Flashable Zip)
Stock Rom & Port Rom need to be same version of
android. That means if your "Port Rom" is JB Rom,
You need to choice JB Rom as Stock.
1) First you choice a flashable zip rom for port
which is same processor as your stock rom.
2) Extract your Stock rom in a folder & rename the
folder to "Stock rom"
3) Extract your Port rom in a folder & rename the
folder to "Port Rom"
4) Now open the "Port Rom" folder & "Stock Rom"
folder side by side.
5) Now copy & replace "boot.img" from "Stock Rom/"
to "Port Rom/" folder.
6) Go to "system/etc/firmware/" folder & copy &
replace all file from Stock Rom to Port Rom.
7) Now go to "system/lib/module" folder & copy &
replace all file from Stock Rom to Port Rom.
8.) Now go to "system/usr/keylayout" folder & copy
& replace all files from Stock Rom to Port Rom.
9) Copy & replace "META-INF" folder from "Stock
Rom/" to "Port Rom/" folder. (Optional)
10) Now create zip of "Port Rom" folder, flash it via
CWM.
If your new ported rom not booted or stuck in boot
animation, Try again with replace "system/vendor"
folder from "Stock Rom" to "Port Rom".
That's it
--------: Tips for patch:--------
.
Copy "Stock Rom" to "Port Rom" (if not worked)
:-
\system\etc\firmware\modem.img - SIM1/ 2 not
working
\system\lib\module\mtk_stp_wmt - Wi-Fi/
Bluetooth can't switch on
\system\usr\keylayout\Generic.kl - Home key
doesn't work
For CAMERA - "can't connect to Camera or force
closed":-
Just copy below listed file from "Stock ROM" to "Port
ROM" :-
This tips only worked with android version 4.0
(ICS) & 4.1 (JB).
\system\lib\hw\camera.default.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so
\system\lib\libcameraprofile.so
\system\lib\libcameraservice.so
\system\lib\libmhal.so
\system\lib\libmhalcontent.so
\system\lib\libmhaldrv.so
\system\lib\libmhalmdp.so
\system\lib\libmhalpipe.so
\system\lib\libmhalscenario.so
\system\lib\libmhalutility.so
\system\etc\permission
\android.hardware.camera.fro nt.xml
\system\etc\permission
\android.hardware.camera.xml
For FM Radio :- "FM Radio not working.":-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\etc\firmware\mt6620_patch_e3_hdr.bin
\system\etc\firmware\mt6620_patch_e6_hdr.bin
\system\etc\firmware\WMT.CFG
\system\lib\modules\mtk_fm_drv.ko
\system\lib\libfmcust.so
For Sdcard not mounted correctly :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\etc\vold.fstab
\system\etc\vold.fstab.nand
For WiFi not working correctly :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\lib\modules\mtk_stp_wmt.ko
\system\lib\modules\mtk_wmt_wifi.ko
For Bluetooth not working :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\lib\libbluetooth_mtk.so
\system\lib\libbluetoothem_mtk.so
For GPS not working :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\xbin\libmnlp
.
Attention:- Your ported rom may not booted,
Because all Rom Should not work on all device. But
you can try another one.
If you face any problem with your ported rom
comments on bellow. I will help you to fix it.
.
NB- The Thread Is Copied I don't know who is the writter...
A big thanks to him!
.
method for MTK phone (same SoC )
See details below :-
You need to have custom recovery for flash your new
created rom.
Note
:- Stock Rom is :- Current Rom of your handset.
(Flashable zip)
Port Rom is :- Which Rom you want to port.
(Flashable Zip)
Stock Rom & Port Rom need to be same version of
android. That means if your "Port Rom" is JB Rom,
You need to choice JB Rom as Stock.
1) First you choice a flashable zip rom for port
which is same processor as your stock rom.
2) Extract your Stock rom in a folder & rename the
folder to "Stock rom"
3) Extract your Port rom in a folder & rename the
folder to "Port Rom"
4) Now open the "Port Rom" folder & "Stock Rom"
folder side by side.
5) Now copy & replace "boot.img" from "Stock Rom/"
to "Port Rom/" folder.
6) Go to "system/etc/firmware/" folder & copy &
replace all file from Stock Rom to Port Rom.
7) Now go to "system/lib/module" folder & copy &
replace all file from Stock Rom to Port Rom.
8.) Now go to "system/usr/keylayout" folder & copy
& replace all files from Stock Rom to Port Rom.
9) Copy & replace "META-INF" folder from "Stock
Rom/" to "Port Rom/" folder. (Optional)
10) Now create zip of "Port Rom" folder, flash it via
CWM.
If your new ported rom not booted or stuck in boot
animation, Try again with replace "system/vendor"
folder from "Stock Rom" to "Port Rom".
That's it
--------: Tips for patch:--------
.
Copy "Stock Rom" to "Port Rom" (if not worked)
:-
\system\etc\firmware\modem.img - SIM1/ 2 not
working
\system\lib\module\mtk_stp_wmt - Wi-Fi/
Bluetooth can't switch on
\system\usr\keylayout\Generic.kl - Home key
doesn't work
For CAMERA - "can't connect to Camera or force
closed":-
Just copy below listed file from "Stock ROM" to "Port
ROM" :-
This tips only worked with android version 4.0
(ICS) & 4.1 (JB).
\system\lib\hw\camera.default.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so
\system\lib\libcameraprofile.so
\system\lib\libcameraservice.so
\system\lib\libmhal.so
\system\lib\libmhalcontent.so
\system\lib\libmhaldrv.so
\system\lib\libmhalmdp.so
\system\lib\libmhalpipe.so
\system\lib\libmhalscenario.so
\system\lib\libmhalutility.so
\system\etc\permission
\android.hardware.camera.fro nt.xml
\system\etc\permission
\android.hardware.camera.xml
For FM Radio :- "FM Radio not working.":-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\etc\firmware\mt6620_patch_e3_hdr.bin
\system\etc\firmware\mt6620_patch_e6_hdr.bin
\system\etc\firmware\WMT.CFG
\system\lib\modules\mtk_fm_drv.ko
\system\lib\libfmcust.so
For Sdcard not mounted correctly :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\etc\vold.fstab
\system\etc\vold.fstab.nand
For WiFi not working correctly :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\lib\modules\mtk_stp_wmt.ko
\system\lib\modules\mtk_wmt_wifi.ko
For Bluetooth not working :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\lib\libbluetooth_mtk.so
\system\lib\libbluetoothem_mtk.so
For GPS not working :-
Just copy below listed file "Stock Rom" to "Port
Rom" :-
\system\xbin\libmnlp
.
Attention:- Your ported rom may not booted,
Because all Rom Should not work on all device. But
you can try another one.
If you face any problem with your ported rom
comments on bellow. I will help you to fix it.
.
NB- The Thread Is Copied I don't know who is the writter...
A big thanks to him!
.