[OnePlus 3 Questions & Answers] armsel:
I am trying to troubleshoot freezing issues I started having after OOS 5.0.5 - from 5.0.6 (I am currently on 5.0.8 hotfix).

My phone freezes randomly (mostly when on standby).

The phone is completely stock, never been unlocked.

I enabled logs, but after freezing and rebooting (holding the power button 10+ sec.), the error logs I get, all start from the time of the last restart and are useless to me... How can I find out what caused the freeze...?!

Actually - very strange, the oldest part of the log is 31 July (2018 I assume), 3AM and then jumps to the time of the most recent restart, for example I am pasting a portion of the event log and it same for the kernel, etc.:

Starts here:

07-31 03:06:39.316 460 460 I auditd : type=2000 audit(0.0:1): initialized

07-31 03:06:40.959 460 460 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295

07-31 03:06:40.959 460 460 I auditd : type=1404 audit(0.0:3): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295

07-31 03:06:43.579 451 451 I auditd : type=1400 audit(0.0:4): avc: granted { read } for comm="init" name="param" dev="tmpfs" ino=16448 scontext=u:r:init:s0 tcontext=u:object_r:oem_device:s0 tclass=chr_file

07-31 03:06:43.579 451 451 I auditd : type=1400 audit(0.0:5): avc: granted { read open } for comm="init" path="/dev/param" dev="tmpfs" ino=16448 scontext=u:r:init:s0 tcontext=u:object_r:oem_device:s0 tclass=chr_file

07-31 03:06:43.721 0 463 I auditd : SELinux: Loaded service_contexts from:

07-31 03:06:43.722 0 463 I auditd : /vndservice_contexts

07-31 03:06:43.725 461 461 I auditd : SELinux: Loaded service_contexts from:

07-31 03:06:43.726 461 461 I auditd : /plat_service_contexts

07-31 03:06:43.726 461 461 I auditd : /nonplat_service_contexts

07-31 03:06:44.419 548 548 I auditd : type=1400 audit(0.0:6): avc: denied { write } for comm="health@1.0-serv" name="kmsg" dev="tmpfs" ino=7812 scontext=u:r:hal_health_default:s0 tcontext=u:object_r:kmsg_device:s0 tclass=chr_file permissive=0

07-31 03:06:44.429 579 579 I auditd : type=1400 audit(0.0:7): avc: denied { write } for comm="rmt_storage" name="rmts" dev="debugfs" ino=11 scontext=u:r:rmt_storage:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0

07-31 03:06:44.439 610 610 I auditd : type=1400 audit(0.0:8): avc: denied { write } for comm="mkdir" name="sensors" dev="sda2" ino=12 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:sensors_persist_file:s0 tclass=dir permissive=0

07-31 03:06:44.489 560 560 I auditd : type=1400 audit(0.0:9): avc: denied { write } for comm="vendor.qti.hard" name="property_service" dev="tmpfs" ino=7927 scontext=u:r:hal_perf_default:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

07-31 03:06:44.489 560 560 I auditd : type=1400 audit(0.0:10): avc: denied { write } for comm="vendor.qti.hard" name="property_service" dev="tmpfs" ino=7927 scontext=u:r:hal_perf_default:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

07-31 03:06:44.489 560 560 I auditd : type=1400 audit(0.0:11): avc: denied { write } for comm="vendor.qti.hard" name="lib_name" dev="sysfs" ino=21849 scontext=u:r:hal_perf_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

07-31 03:06:44.489 560 560 I chatty : uid=0(root) perf@1.0-servic identical 1 line

07-31 03:06:44.489 560 560 I auditd : type=1400 audit(0.0:13): avc: denied { write } for comm="vendor.qti.hard" name="lib_name" dev="sysfs" ino=21849 scontext=u:r:hal_perf_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0

07-31 03:06:44.809 547 547 I auditd : type=1400 audit(0.0:14): avc: denied { read write } for comm="android.hardwar" name="diag" dev="tmpfs" ino=16429 scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0

07-31 03:06:47.479 889 889 I auditd : type=1400 audit(0.0:15): avc: denied { read write } for comm="imsqmidaemon" name="diag" dev="tmpfs" ino=16429 scontext=u:r:ims:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0

07-31 03:06:47.489 537 537 I auditd : type=1400 audit(0.0:16): avc: denied { read write } for comm="audio@2.0-servi" name="diag" dev="tmpfs" ino=16429 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0

07-31 03:06:47.679 881 881 I auditd : type=1400 audit(0.0:17): avc: denied { read write } for comm="cnd" name="diag" dev="tmpfs" ino=16429 scontext=u:r:cnd:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0

07-31 03:06:47.761 892 892 I boot_progress_start: 9223

01-09 16:32:18.027 892 892 I sysui_histogram: [boot_zygote_init,10019]

01-09 16:32:18.031 892 892 I sysui_multi_action: [757,804,799,boot_zygote_init,801,10019,802,1]

01-09 16:32:18.035 892 892 I boot_progress_preload_start: 10028

01-09 16:32:18.040 893 893 I sysui_histogram: [boot_zygote_init,10032]

01-09 16:32:18.048 893 893 I sysui_multi_action: [757,804,799,boot_zygote_init,801,10032,802,1]

01-09 16:32:18.669 461 461 I auditd : avc: denied { find } for service=storaged pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:storaged_service:s0 tclass=service_manager

01-09 16:32:18.686 461 461 I auditd : avc: denied { find } for service=media.metrics pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:mediametrics_service:s0 tclass=service_manager

01-09 16:32:18.699 461 461 I auditd : avc: denied { find } for service=media.extractor pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:mediaextractor_service:s0 tclass=service_manager

01-09 16:32:18.700 461 461 I auditd : avc: denied { find } for service=drm.drmManager pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:drmserver_service:s0 tclass=service_manager

01-09 16:32:18.703 461 461 I auditd : avc: denied { find } for service=wificond pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:wificond_service:s0 tclass=service_manager

01-09 16:32:18.719 461 461 I auditd : avc: denied { find } for service=android.service.gatekeeper.IGateKeeperService pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:gatekeeper_service:s0 tclass=service_manager

01-09 16:32:18.720 461 461 I auditd : avc: denied { find } for service=android.samsung.IRemosaicDaemon pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:remosaic_service:s0 tclass=service_manager

01-09 16:32:18.749 461 461 I auditd : avc: denied { find } for service=ifaadaemon pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:ifaadaemon_service:s0 tclass=service_manager

01-09 16:32:18.749 461 461 I auditd : avc: denied { find } for service=installd pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:installd_service:s0 tclass=service_manager

01-09 16:32:18.750 461 461 I auditd : avc: denied { find } for service=media.cas pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:mediacasserver_service:s0 tclass=service_manager

01-09 16:32:18.750 461 461 I auditd : avc: denied { find } for service=media.drm pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:mediadrmserver_service:s0 tclass=service_manager

01-09 16:32:18.751 461 461 I auditd : avc: denied { find } for service=android.security.keystore pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:keystore_service:s0 tclass=service_manager

01-09 16:32:18.751 461 461 I auditd : avc: denied { find } for service=batteryproperties pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:batteryproperties_service:s0 tclass=service_manager

01-09 16:32:18.751 461 461 I auditd : avc: denied { find } for service=gpu pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:gpu_service:s0 tclass=service_manager

01-09 16:32:18.753 461 461 I auditd : avc: denied { find } for service=faceulnative pid=1069 uid=0 scontext=u:r:izanami:s0 tcontext=u:object_r:faceulnative_service:s0 tclass=service_manager

01-09 16:32:18.739 1117 1117 I auditd : type=1400 audit(0.0:19): avc: denied { read write } for comm="imsdatadaemon" name="diag" dev="tmpfs" ino=16429 scontext=u:r:ims:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0

01-09 16:32:18.739 462 462 I auditd : type=1400 audit(0.0:20): avc: denied { search } for comm="hwservicemanage" name="1069" dev="proc" ino=18855 scontext=u:r:hwservicemanager:s0 tcontext=u:r:izanami:s0 tclass=dir permissive=0

01-09 16:32:19.069 1044 1044 I auditd : type=1400 audit(0.0:21): avc: denied { dac_override } for comm="dpmd" capability=1 scontext=u:r:dpmd:s0 tcontext=u:r:dpmd:s0 tclass=capability permissive=0

01-09 16:32:19.079 1044 1044 I auditd : type=1400 audit(0.0:22): avc: denied { dac_read_search } for comm="dpmd" capability=2 scontext=u:r:dpmd:s0 tcontext=u:r:dpmd:s0 tclass=capability permissive=0

01-09 16:32:19.139 1044 1044 I auditd : type=1400 audit(0.0:23): avc: denied { dac_override } for comm="dpmd" capability=1 scontext=u:r:dpmd:s0 tcontext=u:r:dpmd:s0 tclass=capability permissive=0

01-09 16:32:19.139 1044 1044 I auditd : type=1400 audit(0.0:24): avc: denied { dac_read_search } for comm="dpmd" capability=2 scontext=u:r:dpmd:s0 tcontext=u:r:dpmd:s0 tclass=capability permissive=0

Please help! :confused: