[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Desmanto:
It seems to be universal problem, so maybe not approriate to discuss here, since it is not related to RR then (even though I am using RR latest build right now). The wakelock has been there since last year, just wonder why i got it after flashing RR. MIUI probably has some method to supress it, while keeping the notification realtime. See here : https://xdaforums.com/showpost.php?p=77155829&postcount=13

BTW, I don't get the sensor wakelock from Whatsapp anymore in the latest build 20180723. I even purposely leave the chat open, still no wakelock. Play service wakelock suddenly disappear too (even though it is not relevant as my link above). Battery life is somewhat better so far. Try to update to latest build. If you wanna try, I just found out we have the option to block the sensor (even though I've ever seen it before). Settings > Configuration > Inteface > Misc > Sensor block per-package > enable. Don't know exactly what are blocked, but worth a try.

I edit only 3 things, C2A, VoLTE and ro.build for cts. Basic integrity is still true. I have asked other users in other forum before proceeding and found out still true. Even if you do it in MIUI stock ROM, it still stays true, I also don't understand why.

[HIDE=edited line]

#manual add Desmanto
#enable camera2 api
persist.camera.HAL3.enabled=1

#enable volte
# Debug Options
persist.dbg.ims_volte_enable=1
persist.dbg.volte_avail_ovr=1
persist.dbg.vt_avail_ovr=1
persist.dbg.wfc_avail_ovr=1

# Data Options
# Commented this line out as it was reported to break WiFi calling on some carriers. Not even sure if it's required to begin with.
#persist.data.iwlan.enable=true

# Radio Options
persist.radio.rat_on=combine
persist.radio.data_ltd_sys_ind=1
persist.radio.data_con_rprt=1
persist.radio.calls.on.ims=1

ro.build.fingerprint=xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V9.5.16.0.OEIMIFA:user/release-keys

[/HIDE]

For ro.build.fingerprint, replace the exiting one with mine. It will make the ROM cts true. Have tried to open safety net apps, it open without nagging root detected.

I just check DT2W in new build. After disabling, reboot, it is still off. I need to enable it back again.

Front cam is working for me in Whatsapp. It is working too in previous 20180717 build.

BTW, i am still using firmware 8.7.5 as suggested.

Do you mean expanded desktop? Settings > Configurations > Interface > Expanded Desktop.

==================

So far, after updated to 20181723 build, whatsapp and play service wakelock suddenly disappear. Don't know what is going on, but i am still monitoring it. Battery life seems a bit better now, compared to previous 2 builds

Call recording now prompt for permission and some extra warning. But when we tap it, still show toast Failed to record call. So no working yet.

BTW, I know I should provide logcat, but which method of logging should I use? I mean logcat extreme or any similar will give too many output, that most of them are not relating to the error. How can I provide the shortest and most direct log that point the error to the bug I found? I can filter per app, but sometimes the error happens not in that app, but somewhere else.