[Guide] Fix All Bugs When Porting Custom ROM

karl Post time 2015-11-14 11:31:05 | Show all posts [Copy link]
16 53519

Welcome to login zopo forum!

You have to Login for download or view attachment(s). No Account? Register

x
Edited by karl at 2015-11-6 14:52

This guide is to fix all the problems that you may face in your device after porting a new ROM. Using this guide you will able to fix bluetooth, camera, sdcard, radio, No Signal and many more issues in any Custom ROM for MT65xx device. This is universal guide and will work on all MT65xx devices.
Replace From Stock To Port :

To fix Radio and No Signal :
- \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
To fix Bluetooth :
- \system\lib\libbluetooth_mtk.so
- \system\lib\libbluetoothem_mtk.so

To fix Wifi :
- \system\lib\modules\mtk_stp_wmt.ko
- \system\lib\modules\mtk_wmt_wifi.ko

To fix Storage :
For 4.2.2
- \system\etc\vold.fstab
- \system\etc\vold.fstab.nand

For 4.4.x and 5.1.1
-  /system/bin/vold
- /system/bin/pq
- decompile framework-res.apk of both stock and port and replace storage_list.xml and recompile

To Fix Camera :
- \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.front.xml
- \system\etc\permission\android.hardware.camera.xml

To Fix Bootloop :
- libandroid_runtime.so
- libandroid_servers.so
- libmedia_jni.so
- Repack boot.image

Fix Sensors :

- /system/bin/akmd*
- /system/lib/libsensors- so
- /system/lib/libms3c_yamaha- so
- /system/etc/firmware (folder)
- /system/bin/servicemanager

To Fix GPS :

- /system/xbin/ibmnlp
- /system/etc/gps.conf

Fix Touchscreen :

- /system/usr
- /system/usr\keylayout\Generic.kl ->fix HomeKey


Fix Sound/Audio :
First Replace :
- \system\lib\libaudio.primary.default.so
If it doesn't work then replace all :
- \system\lib\libaudio* .so
So, this is it. I hope you were able to fix issues and bugs in your Custom ROM for MTK. If you have any more bug fixes then please comment them below.
Credits :
- Ajit Guraya
- jawaad_s
- Scrack

Reply

Use magic Report

karl Post time 2015-11-6 14:55:26 | Show all posts
Edited by karl at 2015-11-6 14:56

Fix Camera And Bluetooth in MTK 64 Bit

This guide is to fix Bluetooth and Camera in MTK 64 Bit device running Android Lollipop. If you have ported a ROM For MTK 64 Bit device then you might face Camera and Bluetooth not working but I have got you covered. Also this fix can also work in a few Custom ROMs in MT65xx devices.

Replace :

- libbcc.so
- libbluetooth_jni.so
- libbluetooth_mtk.so
- libbluetooth_relayer.so
- libbluetoothdrv.so
- libbluetoothem_mtk.so
- libcam.camadapter.so
- libcamshot.so
- libcam.client.so
- libcam.exif.so
- libcam.iopipe.so
- libcam.paramsmgr.so
- libcam.utils.so
- libcamalgo.so
- libcamdrv.so
- libcamera_client.so
- libcamera_metadata.so
- libcameracustom.so
- libcameraservice.so

So, this is it guys. Hope you were able to fix your Camera and Bluetooth.
Credits :
Ajit Guraya
Rohan Taneja


Reply Support Not support

Use magic Report

Sakura Post time 2015-11-13 15:22:00 | Show all posts
Reply Support Not support

Use magic Report

Sade Post time 2015-11-13 15:23:44 | Show all posts
Reply Support Not support

Use magic Report

Snow Post time 2015-11-14 11:10:38 | Show all posts
Reply Support Not support

Use magic Report

Anemone Post time 2015-11-14 11:26:08 | Show all posts
Yes, I like this
Reply Support Not support

Use magic Report

Gabrielle Post time 2015-11-14 11:27:29 | Show all posts
thanks
Reply Support Not support

Use magic Report

Blanche Post time 2015-11-14 11:28:08 | Show all posts
Looking forward to upgrade
Reply Support Not support

Use magic Report

Felicia Post time 2015-11-14 11:29:50 | Show all posts
thanks
Reply Support Not support

Use magic Report

Louise Post time 2015-11-14 11:31:05 | Show all posts
thank you!
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Register now

Points Rules

Register now

Register

Already have an account?

ZOPO Mobile Forum - ZOPO Official

Copyright@ ZOPO 2017 lnc. All rights reserved

To Top Return to the list