[T-Mobile LG G6 Questions & Answers] WindowsDOS:
My Lg-g6 h872 has a problem where trying to lock the screen occasionally screws up. It will shut off the screen, but for up to 15 seconds right afterwards, it will not respond to the fingerprint scanner. I can turn the screen back on with the power button. However, half the time typing in my pin to unlock freezes the phone for a few seconds. The rest of the time I'm able to unlock without being prompted to enter my pin, but a few seconds later, the phone jumps back to the pin entry screen. (It occurs a few times a day, however I often don't unlock my phone within 15 seconds of locking it during normal usage)

Other things that freeze: Music doesn't play for up to 15 seconds after hitting the play button sometimes. The status bar and home row do not update the color of their icons/buttons for up to 15 seconds when moving to another screen with a different background color. (I've been trying to get a screenshot of the status bar error, but I'm unable to take screenshots until after the phone updates it... another symptom I guess.)

I've run adb logcat right before locking my phone, and then repeatedly pressed my finger to the scanner to try to unlock (about 2 times a second) until it finally responded. Here's the debug info I have for that:

$ adb logcat *:W

--------- beginning of main
03-03 09:03:27.870 605 678 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
03-03 09:03:29.901 16394 16394 W sh : type=1400 audit(0.0:116879): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:29.901 16394 16394 W sh : type=1400 audit(0.0:116880): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:29.945 16394 16394 W logcat : type=1400 audit(0.0:116881): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:29.945 16394 16394 W logcat : type=1400 audit(0.0:116882): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:30.417 921 1107 E LightsService: Light requested not available on this device. 2
03-03 09:03:30.917 16396 16396 W sh : type=1400 audit(0.0:116883): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:30.921 16396 16396 W sh : type=1400 audit(0.0:116884): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:30.969 16396 16396 W logcat : type=1400 audit(0.0:116885): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:03:30.973 16396 16396 W logcat : type=1400 audit(0.0:116886): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
--------- beginning of system
03-03 09:03:31.945 23726 23818 W SearchServiceCore: Abort, client detached.
03-03 09:03:32.208 606 773 E ThermalEngine: TM Id 'LCD_ON_MONITOR' Sensor 'lcd-brightness' - alarm cleared 1 at 0.0 degC
03-03 09:03:35.330 23726 23818 W ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
03-03 09:03:35.880 575 575 E WifiHAL : Failed to register debug response; result = -95
03-03 09:03:35.882 921 1463 E WifiVendorHal: getSupportedFeatureSet(l.891) failed {.code = ERROR_UNKNOWN, .description = errno: -95 (Unknown error -95)}
03-03 09:03:35.883 575 575 E WifiHAL : Failed to register debug response; result = -95
03-03 09:03:35.902 921 1068 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
03-03 09:03:37.090 921 1097 W DreamController: Bound dream did not connect in the time allotted
03-03 09:03:43.474 622 1217 E QC-time-services: Receive Passed == base = 13, unit = 1, operation = 0, result = 0
03-03 09:03:43.479 630 646 E QC-time-services: Daemon: Time-services: Waiting to acceptconnection
03-03 09:03:43.034 921 2917 W AlarmManagerService: Unable to set rtc to 1551621823: Invalid argument
03-03 09:03:44.894 550 4014 E sound_trigger_hw: cpe_reg_sm: ERROR. pcm_is_ready failed err=cannot open device '/dev/snd/pcmC0D45c': Connection timed out
03-03 09:03:44.899 921 945 W SoundTriggerHelper: loadSoundModel call failed with -19
03-03 09:03:44.900 921 921 W zygote64: Long monitor contention with owner Binder:921_1 (945) at int com.android.server.soundtrigger.SoundTriggerHelper.startKeyphraseRecognition(int, android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel, android.hardware.soundtrigger.IRecognitionStatusCallback, android.hardware.soundtrigger.SoundTrigger$RecognitionConfig)(SoundTriggerHelper.java:171) waiters=0 in void com.android.server.soundtrigger.SoundTriggerHelper$MyCallStateListener.onCallStateChanged(int, java.lang.String) for 20.072s
03-03 09:03:44.900 23757 23757 W AlwaysOnHotwordDetector: startRecognition() failed with error code -19
03-03 09:03:44.939 921 921 W FingerprintService: client com.android.systemui is no longer authenticating
03-03 09:03:44.953 921 1053 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.auth.setup.devicesignals.LockScreenReceiver
03-03 09:03:44.954 921 1053 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.trustagent.UserPresentBroadcastReceiver
03-03 09:03:44.955 921 1053 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
03-03 09:03:44.967 605 678 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
03-03 09:03:45.014 568 3119 E NxpTml : _i2c_write() errno : 5
03-03 09:03:45.014 568 3119 E NxpTml : PN54X - Error in I2C Write.....
03-03 09:03:45.014 568 3121 E NxpHal : write error status = 0x1ff
03-03 09:03:45.014 568 568 E NxpHal : write_unlocked failed - PN54X Maybe in Standby Mode - Retry
03-03 09:03:45.393 14759 14759 W pool-1-thread-6: type=1400 audit(0.0:116887): avc: denied { read } for name="version" dev="proc" ino=4026532359 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:proc:s0 tclass=file permissive=0
03-03 09:03:45.518 921 921 W FingerprintService: client com.android.systemui is authenticating...
03-03 09:03:46.290 634 1121 E fpc_tac : fpc_tee_capture_image fpc_tee_wait_finger_lost status = 0

I lock my phone sometime around 03-03 09:03:29.***

It responds to my fingerprint basically right when the log file ends at 03-03 09:03:46.***

With regards to the error with the icons in the status bar not updating, here's the info I have. I start adb logcat and open an app with a different colored background right at the same time

$ adb logcat *:W

--------- beginning of main
03-03 09:17:21.861 606 773 E ThermalEngine: TM Id 'LCD_ON_MONITOR' Sensor 'lcd-brightness' - alarm raised 1 at 164.0 degC
03-03 09:17:22.189 605 678 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
03-03 09:17:23.904 921 1107 E LightsService: Light requested not available on this device. 2
03-03 09:17:24.333 16621 16621 W sh : type=1400 audit(0.0:116898): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:24.349 16621 16621 W sh : type=1400 audit(0.0:116899): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:24.401 16621 16621 W logcat : type=1400 audit(0.0:116900): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:24.405 16621 16621 W logcat : type=1400 audit(0.0:116901): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:26.153 16623 16623 W sh : type=1400 audit(0.0:116902): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:26.165 16623 16623 W sh : type=1400 audit(0.0:116903): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:26.241 16623 16623 W logcat : type=1400 audit(0.0:116904): avc: denied { getattr } for path="/system/vendor/lib/hw/camera.msm8996.so" dev="sda16" ino=74203 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:26.241 16623 16623 W logcat : type=1400 audit(0.0:116905): avc: denied { getattr } for path="/system/vendor/lib/libmmcamera_ppeiscore.so" dev="sda16" ino=74800 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
03-03 09:17:26.314 605 678 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
03-03 09:17:26.319 921 1402 E LightsService: Light requested not available on this device. 2
--------- beginning of system
03-03 09:17:26.409 550 2724 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
03-03 09:17:26.436 550 2724 E voice : voice_is_in_call_rec_stream: input stream is NULL
03-03 09:17:26.436 550 2724 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 42 App Type Cfg
03-03 09:17:26.436 550 2724 E voice : voice_is_in_call_rec_stream: input stream is NULL
03-03 09:17:26.436 550 2724 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
03-03 09:17:26.455 550 2724 E voice : voice_is_in_call_rec_stream: input stream is NULL
03-03 09:17:26.455 550 2724 E ACDB-LOADER: Error: ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE Returned = -19
03-03 09:17:26.455 550 2724 E ACDB-LOADER: Error: ACDB audproc returned = -19
03-03 09:17:26.455 550 2724 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
03-03 09:17:26.456 550 2724 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19
03-03 09:17:26.456 550 2724 E ACDB-LOADER: Error: ACDB AFE returned = -19
03-03 09:17:26.456 550 2724 E msm8974_platform: platform_get_snd_device_backend_index: BE DAI Name Table is not present
03-03 09:17:26.456 550 2724 E audio_hw_utils: send_app_type_cfg_for_device: Couldn't get the backend index for snd device speaker-protected ret=-14
03-03 09:17:26.456 550 2724 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
03-03 09:17:26.575 23726 23818 W SearchServiceCore: Abort, client detached.
03-03 09:17:26.592 14074 14074 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
03-03 09:17:26.622 14074 14074 W StaticLayout: maxLineHeight should not be -1. maxLines:1 lineCount:1
03-03 09:17:26.628 575 575 E WifiHAL : Failed to register debug response; result = -95
03-03 09:17:26.629 921 1463 E WifiVendorHal: getSupportedFeatureSet(l.891) failed {.code = ERROR_UNKNOWN, .description = errno: -95 (Unknown error -95)}
03-03 09:17:26.629 575 575 E WifiHAL : Failed to register debug response; result = -95
03-03 09:17:26.651 1760 1821 W ResourceType: ResTable_typeSpec entry count inconsistent: given 20, previously 27
03-03 09:17:26.652 921 1068 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
03-03 09:17:27.059 14074 14082 W oad : Uh oh! An open ClosingFuture has leaked and will close: {0}
03-03 09:17:27.062 14074 14082 W oad : Uh oh! An open ClosingFuture has leaked and will close: {0}
03-03 09:17:27.341 23726 23818 W ThreadPoolDumper: Queue length for executor EventBus is now 11. Perhaps some tasks are too long, or the pool is too small.
03-03 09:17:28.600 921 1053 W BroadcastQueue: Timeout of broadcast BroadcastRecord{58ce2b7 u-1 android.intent.action.TIME_TICK} - receiver=android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@b13e2bf, started 10002ms ago
03-03 09:17:28.601 921 1053 W BroadcastQueue: Receiver during timeout of BroadcastRecord{58ce2b7 u-1 android.intent.action.TIME_TICK} : BroadcastFilter{48fcd5 u0 ReceiverList{547ed8c 921 system/1000/u0 local:b13e2bf}}
03-03 09:17:34.843 921 1107 E LightsService: Light requested not available on this device. 2

# Icons still haven't updated at this point

03-03 09:17:37.060 14074 14108 E TraceManagerImpl: Trace Intenting into HomeActivity timed out after 3167036 ms. Complete trace: # nkp@d4629b25
03-03 09:17:37.060 14074 14111 E TraceManagerImpl: Trace SyncFirebaseRootTrace timed out after 3164221 ms. Complete trace: # nkp@c10fa63a
03-03 09:17:37.389 550 4011 E sound_trigger_hw: cpe_reg_sm: ERROR. pcm_is_ready failed err=cannot open device '/dev/snd/pcmC0D45c': Connection timed out
03-03 09:17:37.393 921 946 W SoundTriggerHelper: loadSoundModel call failed with -19
03-03 09:17:37.395 23757 23757 W AlwaysOnHotwordDetector: startRecognition() failed with error code -19
03-03 09:17:37.396 921 921 W zygote64: Long monitor contention with owner Binder:921_2 (946) at int com.android.server.soundtrigger.SoundTriggerHelper.startKeyphraseRecognition(int, android.hardware.soundtrigger.SoundTrigger$KeyphraseSoundModel, android.hardware.soundtrigger.IRecognitionStatusCallback, android.hardware.soundtrigger.SoundTrigger$RecognitionConfig)(SoundTriggerHelper.java:171) waiters=0 in void com.android.server.soundtrigger.SoundTriggerHelper$MyCallStateListener.onCallStateChanged(int, java.lang.String) for 20.062s
03-03 09:17:37.483 921 1053 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.auth.setup.devicesignals.LockScreenReceiver
03-03 09:17:37.502 921 1053 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.trustagent.UserPresentBroadcastReceiver
03-03 09:17:37.503 921 1053 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.USER_PRESENT flg=0x24200010 } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver

# Icons have updated to be the proper color.

Please note, I put comments in there starting with '#' to show when things update properly.

It seems to me that the line

03-03 09:17:37.389 550 4011 E sound_trigger_hw: cpe_reg_sm: ERROR. pcm_is_ready failed err=cannot open device '/dev/snd/pcmC0D45c': Connection timed out

is common between both errors.

A few notes about my phone:

Lg-g6 h872

LineageOS 15.1 (android version 8.1.0)

Rooted via this guide (Meaning it has the laf partition from the H918 10p KDZ)

I still have all these problems when I switch to the stock rom from here so lineageOS doesn't seem to be the problem

My original motherboard was bricked in a failed rooting attempt. I bought a smashed up phone off ebay to pull the MoBo from, and that's what I'm using. I've inspected the PCB for physical damage, but I found nothing.

Let me know if there's any additional information I can provide. Thanks in advance for any help you can give.