BUG FIXING[MTK]
Let's Begin.
If any lib missing in Base leave that - DONT WORRY
NOTE:- CHANGE LIB FILES FROM BOTH lib & lib64 folders
If you face "This rom is for GIonee P5l and your device is "Sympony H675 or any other device"
To remove this delete the assertlines in Updater-script
ALWAYS CHANGE DPI IN BUILD.PROP ACCORDING TO YOUR STOCK ROM
Bootloop when porting
RadioFM
Sensors
FIX Offline charging:-
Bluetooth\Wifi not turning On\Off(old)
Wifi
Hotspot:-
*follow Wifi fix also*
Camera
Other cam files if any
*try one by one*
CamCoder/HwDecoder
SD card/Memory
WhatsApp Media Fix:-
GPS
Touch Screen(Haptic)
NFC ( experimental)
Sim1/2 (RIL)
((Trustbin.bin flash it accordingly to LP or MM etc of stock rom))
EXPERIMENTAL FIX for ril:-
Audio/Sound:-
Sometimes if Sound isn't working fully :::::
Bluetooth:-
Ads
=====>>ADVANCE BUG FIXING:-
Volte Fixing
( Will only work if your Base Rom , Port Rom and Kernel supports VOLTE )
==THIS SHOULD NORMALLY FIX but if it doesn't try :- ==
FingerPrint:-
[Try one by one][If any file missing leave it]
Usual way to fix :-
Advanced ( if usual doesn't work ):-
IF ROM DOESNT BOOT TAKE LOG ( From ADB)
adb shell logcat > log.txt
and check what is causing issue
Let's Begin.
If any lib missing in Base leave that - DONT WORRY
NOTE:- CHANGE LIB FILES FROM BOTH lib & lib64 folders
If you face "This rom is for GIonee P5l and your device is "Sympony H675 or any other device"
To remove this delete the assertlines in Updater-script
ALWAYS CHANGE DPI IN BUILD.PROP ACCORDING TO YOUR STOCK ROM
Bootloop when porting
Code:
*libandroid_runtime.so *libandroid_servers.so *libmedia_jni.so *Repack boot.image (properly)
Code:
\system\bin\fmradio \system\etc\firmware\mt6620_patch_e3_hdr.bin \system\etc\firmware\mt6620_patch_e6_hdr.bin \system\etc\firmware\WMT.CFG \system\lib(/64)\libfmcust.so /system/lib(/64)/libfmjni.so
Code:
/system/bin/akmd* /system/lib/libsensors.so /system/lib/libms3c_yamaha.so ( acc. To device) /system/etc/firmware (folder) /system/bin/servicemanager /system/bin/sensorservice System/bin/msensord system/etc/permissions/:- android.hardware.sensor.xxxxx.xml
FIX Offline charging:-
Code:
In Boot.img -> sbin/healthd System/Lib(/64):- Showlogo System/bin:- Kpoc_charger
Bluetooth\Wifi not turning On\Off(old)
Code:
\system\lib\module\mtk_stp_wmt
Code:
/system/etc/wifi (folder) /system/bin/netcfg /system/bin/dhcpcd /system/bin/ifconfig /system/bin/hostap /system/bin/hostapd /system/bin/hostapd_bin /system/bin/pcscd /system/bin/wlan* /system/bin/wpa* /system/lib(/64)/libhardwarelegacy.so
Hotspot:-
Code:
/system/bin/netd
Camera
Code:
firstly try one by one: \system\lib(/64)\libcameracustom.so \system\lib(/64)\libcameraservice.so System/lib(/64)/camalgo /system/etc/media_profiles.xml /system/lib(/64)/libcamera.so /system/lib(/64)/liboemcamera.so \system\lib(/64)\hw\camera.default.so \system\lib(/64)\libcamera_client.so \system\lib(/64)\libcamer aprofile.so \system\lib(/64)\libmhal.so \system\lib(/64)\libmhalcontent.s o \system\lib(/64)\libmhaldrv.so \system\lib(/64)\libmhalmdp.so \system\lib(/64)\libmhalpipe.so \system\lib(/64)\libmhalscenario.so \system\lib(/64)\libmhalutility.so \system\etc\permission\android.hardware.camera.front.xml
*try one by one*
CamCoder/HwDecoder
Code:
\system\lib\libOmx*.so
system/etc/media_codecs
Green/pink Camera / video lagging
system/lib(/64)/libdpframework.so
SD card/Memory
Code:
mt67**.fstab in boot.img /system/bin/vold /System/bin/pq System/bin/sdcard
Code:
from System/bin/ replace these files:- Media mediaserver netd service servicemanager surfaceflinger
GPS
Code:
\system\xbin\libmnlp /system/etc/gps.conf
Code:
/system/usr /system/usr\keylayout\Generic.kl ->fix HomeKey
Code:
System/etc/: Nfc files System/etc/permissions/ nfc files System/lib/libnfc****** ( all starting from nfc )
((Trustbin.bin flash it accordingly to LP or MM etc of stock rom))
Code:
\system\etc\firmware\modem.img \system\etc\permission (RIL) Try these aswell if ( you may suffer Bootloop ) /System/bin/mtkrild /System/bin/mtkrildm1 /system/bin/stmd
Code:
System/ Lib(/64)/ :- Nvram Nvram_sec Nvram_platform Nvrammagentclient System/bin:- Gsm*** System/etc/trustzone Lib(/64):- Libril Libc2k*** Librilmtk
Audio/Sound:-
Code:
\system\lib\libaudio* .so system/lib(/64)/libaudiocustomparam system/lib(/64)/libaudiopolicymanager system/lib(/64)/libaudiopolicyservice system/etc/audio_effects system/etc/audio_policy System/lib(/64)/soundfx
Code:
System/lib(/64)/hw/audioxxxxxxxxx (audio files)
Code:
system/etc/bluetooth System/etc/permissions/android.hardware.bluetooth.xml /system/bin/uim* /system/bin/bluetooth* /system/lib(/64)/libbluetooth_mtk.so /system/lib(/64)/libbluetoothem_mtk.so
Ads
Code:
/system/etc/hosts ->replace with new files or use tweak.
=====>>ADVANCE BUG FIXING:-
Volte Fixing
( Will only work if your Base Rom , Port Rom and Kernel supports VOLTE )
Code:
Boot.img:- Zimage ( kernel - volte supported ) init.volte.rc
Code:
System Folder:- bin/volte_stack bin/volte_imcb bin/volte_ua lib(/64)/volte_imsm build.prop(Not always required):- ro.mtk_volte_support=1 persist.mtk.volte.enable=1
[Try one by one][If any file missing leave it]
Usual way to fix :-
Code:
System/etc/permissions/android.hardware.fingerprint.xml System/lib(/64)/libgatekeeper.so System/lib(/64)/hw/gatekeeper.mt6735.so System/(/64)/libmcgatekeeper.so System/lib(/64)/hw/fingerprint.default.so ( can break FP in some devices)
Code:
System/bin/:- fingerprintd Gx_fpd tee_deamon Lib64/lib:- ( if any missing leave that) Fpclient Fpalgorithm Fphal FPservice
IF ROM DOESNT BOOT TAKE LOG ( From ADB)
adb shell logcat > log.txt
and check what is causing issue
No comments:
Post a Comment