Skip to main content

FIXING PORTING FOR ADVANCE USERS ONLY!

For Advanced Users:

PORTING FIX:

Framework:

* decompile framework.jar

* Go to

\smali\com\mediatek

* Replace All Files from STOCK to this Folder

* Now go to

\smali\com\android\server

* Replace All Files from STOCK to this Folder

* Compile framework.jar and Push to Device!

* This Should FIX Bootloop, Mms.apk, Phone.apk, Settings.apk, Contacts.apk Force Close

* Fixing Other Problems:

Files related to Specific hardware:

* Replace if Not Working!!

* Camrea:

\system\lib\libcamalgo.so
\system\lib\libmhaldrv.so
\system\lib\libcamera_client.so
\system\lib\libcameracustom.so
\system\lib\libcameraprofile.so
\system\lib\libcameraservice.so


* GPS:

/system/xbin/libmnlp

* Bluetooth & Wifi:

/system/lib/libbluetooth_mtk.so
/system/lib/libbluetoothem_mtk.so


* Radio:


\system\lib\libaudio.a2dp.default.so
\system\lib\libaudio.primary.default.so
\system\lib\libaudiocompensationfilter.so
\system\lib\libaudiocustparam.so
\system\lib\libaudioeffect_jni.so
\system\lib\libaudioflinger.so
\system\lib\libaudiosetting.so
\system\lib\libfmar1000.so
\system\lib\libfmcust.so
\system\lib\libfmjni.so
\system\lib\libfmmt6616.so
\system\lib\libfmmt6620.so
\system\lib\libfmmt6626.so
\system\lib\libfmmt6628.so



* For Fixing Wifi & FM-Radio do this!

(NOT NEEDED IN MT6572)

fmradio.driver.chip=1

(Change it to 3 if yours is MT6628)

mediatek.wlan.chip=MT6620

(Replace mediatek.wlan.chip=MT6620 to your WLAM Chip Type Ex: mediatek.wlan.chip=MT6628 for MT6628)

mediatek.wlan.module.postfix=_mt6620

(Replace mediatek.wlan.module.postfix=_mt6620 to your WLAM Chip Type Ex: mediatek.wlan.module.postfix=_mt6628 for MT6628)

* Now open updater-script and Find this line or ADD a New one(If Not Found)!!

symlink("wlan_mt6620.ko", "/system/lib/modules/wlan.ko")

(Replace wlan_mt6620.ko to your WLAM Chip Type Ex: wlan_mt6628.ko for MT6628)

Comments

Popular posts from this blog

Operating System notes Unit test for BE CSE 4th SEM (CS 6401)

                       KCG COLLEGE OF TECHNOLOGY (CSE 4C) PLEASE DOWNLOAD OPERATING SYSTEM NOTE FOR BE CSE 4TH SEM.  THIS NOTES ONLY FOR CSE-C not for other. we will get more marks from other section. UNIT -1  UNIT-2 PPT's 1. Operating systems      - Unit 1 -  View  /  Download      - Unit 2 -  View  /  Download     - Notes -  View  /  Download all are PDF files. plz use Adobe Reader to view Document.
dolby digital plus for lava iris x1 * download here   dolby digital plus.zip *flash it from cwm recovery !!! iam not resoponsible for your mobile. take your own risk,

SOLVING BUGS ON PORTING ROM

BUG SOLVING USES HIT AND TRIAL METHOD.I mentioned one or more ways to solve,you try one by one and see which works for you.  FM NOT WORKING:-     COPY THESE FILES FROM STOCK TO PORT:- \system\lib\libaudio.a2dp.default.so \system\lib\libaudio.primary.default.so \system\lib\libaudiocompensationfilter.so \system\lib\libaudiocustparam.so \system\lib\libaudioeffect_jni.so \system\lib\libaudioflinger.so \system\lib\libaudiosetting.so \system\lib\libfmar1000.so \system\lib\libfmcust.so \system\lib\libfmjni.so \system\lib\libfmmt6616.so \system\lib\libfmmt6620.so \system\lib\libfmmt6626.so \system\lib\libfmmt6628.so OR try this system/etc/firmware/mt6620_patch_e3_hdr.bin system/etc/firmware/mt6620_patch_e6_hdr.bin-> If yours is MT6628, you'll need to patch all mt6628_fm_*_*.bin too system/etc/firmware/WMT.CFG-> This is the antenna cfg, without this, FMradio cannot receive clearly system/lib/modules/mtk_fm_drv.ko system/lib/libfmcust.so For WiFi Bluethooth:- ...