[Android Q&A, Help & Troubleshooting] XEON76:
Hi All, Just a regular IT Network guy in Android territory looking for a fix for two separate problem with Custom & Offical Rom.

-----------------------------------------------------------------------------------------------------------------------

Rom : lineage-18.1-20220715-UNOFFICIAL-arm64_bgS-vndklite

Model : Infinix S4 X626B

Manufacturer : Infinix

Board : Infinix-X626B

Hardware : mt6765

Build Fingerprint : Infinix/H623/Infinix-X626B:9/PPR1.180610.011/JKN-210127V323:user/release-keys

-----------------------------------------------------------------------------------------------------------------------

System

-----------------------------------------------------------------------------------------------------------------------

Android Version : 11

Version Name : R

Released Date : September 11, 2020

Code Name : Android 11

API Level : 30

Security Patch Level : 2022-07-05

Bootloader : unknown

Build Number : X626B-H623JKN-P-210127V323

Baseband : MOLY.LR12A.R3.MP.V66.11.P35,MOLY.LR12A.R3.MP.V66.11.P35

Java VM : 2.1.0

Kernel : 4.9.117+

-----------------------------------------------------------------------------------------------------------------------

CPU

-----------------------------------------------------------------------------------------------------------------------

SoC : phhgsi_arm64_ab (no)

no

Processor : AArch64 Processor rev 4 (aarch64)

CPU Architecture : 4 x 1.50 GHz

4 x 2.00 GHz

Supported ABIs : arm64-v8a, armeabi-v7a, armeabi

CPU Hardware : MT6762V/WB

CPU Type : 64 Bit

CPU Governor : Unknown

Cores : 8

CPU Frequency : 400 MHz - 2001 MHz

GPU Renderer : PowerVR Rogue GE8320

GPU Vendor : Imagination Technologies

GPU Version : OpenGL ES 3.2 build 1.10@5130912

Language : English (en_US)

OpenGL ES : 3.2

Root Management Apps : Magisk

SELinux : Unable to determine

Google Play Services : 23.08.15 (150406-512743456)

Vulkan : Supported (1.1)

Treble : Supported

Seamless Updates : Not Supported

-----------------------------------------------------------------------------------------------------------------------

The first problems appeared with the Official ROM (X626B-H623JKN-P-210127V323):

1) Echo when receiving and making calls (GSM / APPS / VOIP) till now I'm not sure if it's a software or hardware problem.

2) Phone Lagging and freezing even when IDLE.

Hardware seems OK after a visual inspection, so i decided to try with CUSTOM ROM to see if the problem's gonna be solved.

Well it didn't goes a planned phone bricked and revived after several attempts, and managed to flash Lineage OS 18.1 and the result was:

1) Echo problem still present

2) Phone became more responsive and quicker.

3) New problem with the Auto-brightness / Night Light feature.

After digging through several forums, I ended up with the following approach to solve the problem:

1) Some forums suggest to try another Official ROM with a different KERNEL to see if it's gonna solve the echo problem, since the CUSTOM ROM uses the Official KERNEL.

2) On other forum they suggest to port the proprietary VENDOR and some file in the KERNEL from the Official ROM to the CUSTOM ROM, sounds like a good plan to try porting a different KERNEL to solve both ECHO and auto-brightness feature.

Like this Repository: https://github.com/AndroidBlobs/vendor_infinix_Infinix-X610

3) DeFluence App -[Root] Potential Echo Fix.

(Light Senor & proximity sensor are working fine and sending correct Lux Values, Velis Auto Brightness APP solved the problem but it's not working very well with Night light --> (constant backlight dimming)

I'm not very familiar with building CUSTOMS ROM but i can manage to follow some wiki tutorials, but what approach should I take first ? and a tutorial will be more than welcome!

Many thanks.