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)
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
Post a Comment