[One (M8) Android Development] ahac85:
Using arhd 22.1 and stock kernel and phone randomly goes to bootloop.

Here is last kmsg, can somebody please help me figure what might be the cause.

key check reset work successfully

[ 1519.550429] c0 0 [KEY] gpio_keys_scan_keys: key 1-74, 0 (92) changed to 1

[ 1519.550483] c0 0 [KEY] Idx[1] GPIO_28:VOL_UP is PRESSED

[ 1519.550518] c0 0 [KEY] [VUP+PWR] start count for power key led on

[ 1519.550615] c0 0 [KEY] [PWR] start count for power key check reset

[ 1520.542969] c0 4 [KEY] [PWR] power_key_check_reset_work_func

[ 1520.543018] c0 4 [KEY] OS Mode=0

[ 1520.543055] c0 4 [KEY] HW RESET continue

[ 1520.543100] c0 4 [KEY] Idx[1] GPIO_28:VOL_UP is PRESSED

[ 1520.543135] c0 4 [KEY] [VUP+PWR] start count for power key led on

[ 1520.543221] c0 4 [KEY] [PWR] start count for power key check reset

[ 1521.542965] c0 4 [KEY] [PWR] power_key_check_reset_work_func

[ 1521.543020] c0 4 [KEY] OS Mode=0

[ 1521.543057] c0 4 [KEY] HW RESET continue

[ 1521.543103] c0 4 [KEY] Idx[1] GPIO_28:VOL_UP is PRESSED

[ 1521.543139] c0 4 [KEY] [VUP+PWR] start count for power key led on

[ 1521.543227] c0 4 [KEY] [PWR] start count for power key check reset

[ 1522.542967] c0 4 [KEY] [PWR] power_key_check_reset_work_func

[ 1522.543022] c0 4 [KEY] OS Mode=0

[ 1522.543059] c0 4 [KEY] HW RESET continue

[ 1522.543105] c0 4 [KEY] Idx[1] GPIO_28:VOL_UP is PRESSED

[ 1522.543141] c0 4 [KEY] [VUP+PWR] start count for power key led on

[ 1522.543229] c0 4 [KEY] [PWR] start count for power key check reset

[ 1522.556066] c0 4 [KEY] [PWR] power_key_led_on_work_func in (1)

[ 1522.556114] c0 4 [KEY] [PWR] change power key led on

[ 1522.556198] c0 4 unknown partition number for misc partition

[ 1522.556233] c0 4 [KEY] [PWR] Show Blocked State -- long press power key

[ 1522.556270] c0 4 task PC stack pid father

[ 1522.556311] c0 4 kworker/u:0 D c0985c64 0 6 2 0x00000000 c0 0

[ 1522.556388] c0 4 tgid: 6, group leader: kworker/u:0

[ 1522.556480] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x28/0x34c)

[ 1522.556561] c0 4 [] (schedule_timeout+0x28/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.556644] c0 4 [] (wait_for_common+0xe4/0x198) from [] (msm_mpm_work_fn+0xc/0x54)

[ 1522.556719] c0 4 [] (msm_mpm_work_fn+0xc/0x54) from [] (process_one_work+0x210/0x41c)

[ 1522.556785] c0 4 [] (process_one_work+0x210/0x41c) from [] (worker_thread+0x188/0x2a8)

[ 1522.556862] c0 4 [] (worker_thread+0x188/0x2a8) from [] (kthread+0x84/0x94)

[ 1522.556945] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.556992] c0 4 kworker/u:0H D c0985c64 0 7 2 0x00000000 c0 0

[ 1522.557069] c0 4 tgid: 7, group leader: kworker/u:0H

[ 1522.557133] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x28/0x34c)

[ 1522.557209] c0 4 [] (schedule_timeout+0x28/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.557281] c0 4 [] (wait_for_common+0xe4/0x198) from [] (msm_rpm_smd_work+0x34/0x11c)

[ 1522.557345] c0 4 [] (msm_rpm_smd_work+0x34/0x11c) from [] (process_one_work+0x210/0x41c)

[ 1522.557408] c0 4 [] (process_one_work+0x210/0x41c) from [] (worker_thread+0x188/0x2a8)

[ 1522.557476] c0 4 [] (worker_thread+0x188/0x2a8) from [] (kthread+0x84/0x94)

[ 1522.557547] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.557646] c0 4 mdss_dsi_event D c0985c64 0 127 2 0x00000000 c0 0

[ 1522.557723] c0 4 tgid: 127, group leader: mdss_dsi_event

[ 1522.557798] c0 4 [] (__schedule+0x454/0x5c4) from [] (dsi_event_thread+0xd0/0x254)

[ 1522.557874] c0 4 [] (dsi_event_thread+0xd0/0x254) from [] (kthread+0x84/0x94)

[ 1522.557946] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.558027] c0 4 dbs_sync/0 D c0985c64 0 184 2 0x00000000 c0 0

[ 1522.558103] c0 4 tgid: 184, group leader: dbs_sync/0

[ 1522.558179] c0 4 [] (__schedule+0x454/0x5c4) from [] (dbs_sync_thread+0x9c/0x1e4)

[ 1522.558255] c0 4 [] (dbs_sync_thread+0x9c/0x1e4) from [] (kthread+0x84/0x94)

[ 1522.558327] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.558372] c0 4 kdbs_up/1 D c0985c64 0 185 2 0x00000000 c0 0

[ 1522.558448] c0 4 tgid: 185, group leader: kdbs_up/1

[ 1522.558510] c0 4 [] (__schedule+0x454/0x5c4) from [] (kthread+0x6c/0x94)

[ 1522.558580] c0 4 [] (kthread+0x6c/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.558624] c0 4 dbs_sync/1 D c0985c64 0 186 2 0x00000000 c0 0

[ 1522.558698] c0 4 tgid: 186, group leader: dbs_sync/1

[ 1522.558762] c0 4 [] (__schedule+0x454/0x5c4) from [] (dbs_sync_thread+0x9c/0x1e4)

[ 1522.558833] c0 4 [] (dbs_sync_thread+0x9c/0x1e4) from [] (kthread+0x84/0x94)

[ 1522.558904] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.558949] c0 4 kdbs_up/2 D c0985c64 0 187 2 0x00000000 c0 0

[ 1522.559024] c0 4 tgid: 187, group leader: kdbs_up/2

[ 1522.559085] c0 4 [] (__schedule+0x454/0x5c4) from [] (kthread+0x6c/0x94)

[ 1522.559156] c0 4 [] (kthread+0x6c/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.559200] c0 4 dbs_sync/2 D c0985c64 0 188 2 0x00000000 c0 0

[ 1522.559274] c0 4 tgid: 188, group leader: dbs_sync/2

[ 1522.559338] c0 4 [] (__schedule+0x454/0x5c4) from [] (dbs_sync_thread+0x9c/0x1e4)

[ 1522.559410] c0 4 [] (dbs_sync_thread+0x9c/0x1e4) from [] (kthread+0x84/0x94)

[ 1522.559481] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.559526] c0 4 kdbs_up/3 D c0985c64 0 189 2 0x00000000 c0 0

[ 1522.559601] c0 4 tgid: 189, group leader: kdbs_up/3

[ 1522.559663] c0 4 [] (__schedule+0x454/0x5c4) from [] (kthread+0x6c/0x94)

[ 1522.559733] c0 4 [] (kthread+0x6c/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.559778] c0 4 dbs_sync/3 D c0985c64 0 190 2 0x00000000 c0 0

[ 1522.559853] c0 4 tgid: 190, group leader: dbs_sync/3

[ 1522.559916] c0 4 [] (__schedule+0x454/0x5c4) from [] (dbs_sync_thread+0x9c/0x1e4)

[ 1522.559988] c0 4 [] (dbs_sync_thread+0x9c/0x1e4) from [] (kthread+0x84/0x94)

[ 1522.560059] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.560139] c0 4 ngd_rx_thread1 D c0985c64 0 231 2 0x00000000 c0 0

[ 1522.560215] c0 4 tgid: 231, group leader: ngd_rx_thread1

[ 1522.560284] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x28/0x34c)

[ 1522.560359] c0 4 [] (schedule_timeout+0x28/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.560449] c0 4 [] (wait_for_common+0xe4/0x198) from [] (ngd_slim_rx_msgq_thread+0x44/0x12c)

[ 1522.560529] c0 4 [] (ngd_slim_rx_msgq_thread+0x44/0x12c) from [] (kthread+0x84/0x94)

[ 1522.560604] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.560649] c0 4 ngd_notify_sl1 D c0985c64 0 232 2 0x00000000 c0 0

[ 1522.560723] c0 4 tgid: 232, group leader: ngd_notify_sl1

[ 1522.560790] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x294/0x34c)

[ 1522.560865] c0 4 [] (schedule_timeout+0x294/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.560943] c0 4 [] (wait_for_common+0xe4/0x198) from [] (ngd_notify_slaves+0x3c/0x154)

[ 1522.561019] c0 4 [] (ngd_notify_slaves+0x3c/0x154) from [] (kthread+0x84/0x94)

[ 1522.561091] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.561136] c0 4 msm_thermal:hot D c0985c64 0 234 2 0x00000000 c0 0

[ 1522.561212] c0 4 tgid: 234, group leader: msm_thermal:hot

[ 1522.561279] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x28/0x34c)

[ 1522.561353] c0 4 [] (schedule_timeout+0x28/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.561440] c0 4 [] (wait_for_common+0xe4/0x198) from [] (do_hotplug+0x2c/0x130)

[ 1522.561516] c0 4 [] (do_hotplug+0x2c/0x130) from [] (kthread+0x84/0x94)

[ 1522.561587] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.561631] c0 4 msm_thermal:fre D c0985c64 0 235 2 0x00000000 c0 0

[ 1522.561706] c0 4 tgid: 235, group leader: msm_thermal:fre

[ 1522.561772] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x28/0x34c)

[ 1522.561848] c0 4 [] (schedule_timeout+0x28/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.561926] c0 4 [] (wait_for_common+0xe4/0x198) from [] (do_freq_mitigation+0x18/0x124)

[ 1522.562001] c0 4 [] (do_freq_mitigation+0x18/0x124) from [] (kthread+0x84/0x94)

[ 1522.562074] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.562118] c0 4 msm_thermal:the D c0985c64 0 236 2 0x00000000 c0 0

[ 1522.562193] c0 4 tgid: 236, group leader: msm_thermal:the

[ 1522.562259] c0 4 [] (__schedule+0x454/0x5c4) from [] (schedule_timeout+0x28/0x34c)

[ 1522.562335] c0 4 [] (schedule_timeout+0x28/0x34c) from [] (wait_for_common+0xe4/0x198)

[ 1522.562412] c0 4 [] (wait_for_common+0xe4/0x198) from [] (do_thermal_monitor+0x1c/0x8c)

[ 1522.562486] c0 4 [] (do_thermal_monitor+0x1c/0x8c) from [] (kthread+0x84/0x94)

[ 1522.571358] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1522.571535] c0 4 mdss_fb0 D c0985c64 0 629 2 0x00000000 c0 0

[ 1522.571613] c0 4 tgid: 629, group leader: mdss_fb0

[ 1522.571693] c0 4 [] (__schedule+0x454/0x5c4) from [] (__mdss_fb_display_thread+0xc8/0x31c)

[ 1522.571771] c0 4 [] (__mdss_fb_display_thread+0xc8/0x31c) from [] (kthread+0x84/0x94)

[ 1522.571844] c0 4 [] (kthread+0x84/0x94) from [] (kernel_thread_exit+0x0/0x8)

[ 1523.223068] c0 4 [K][PM] hTC PM Statistic start (12-06 20:15:45)

[ 1523.223166] c0 4 19: 1545arch_timer

[ 1523.223279] c0 4 33: 2cpubw_hwmon

[ 1523.223370] c0 4 40: 1341arch_timer

[ 1523.223480] c0 4 57: 3smd_dev

[ 1523.223720] c0 4 128: 917qup_err_intr

[ 1523.223795] c0 4 129: 333qup_err_intr

[ 1523.223926] c0 4 155: 36mmc0

[ 1523.224103] c0 4 200: 139smd_dev

[ 1523.224224] c0 4 222: 3fc4cf000.qcom,spmi

[ 1523.224336] c0 4 240: 61msmgpio

[ 1523.224521] c0 4 291: 3qpnp_kpdpwr_status

[ 1523.224720] c0 4 345: 503xxx

[ 1523.224797] c0 4 347: 3cwmcu

[ 1523.225507] c0 4 640: 6gpio_keys

[ 1523.225582] c0 4 641: 2gpio_keys

[ 1523.225741] c0 4 [K] cpu_idcpu_stateidle_countidle_time

[ 1523.225780] c0 4 [K]0C021071638ms

[ 1523.225816] c0 4 [K]0C12914354ms

[ 1523.225850] c0 4 [K]0C215853885945ms

[ 1523.225995] c0 4 msm_rpm_dump_stat: 1160, 104000ms, 0, 0ms

[ 1523.226084] c0 4 [K] sleep_info_m.0 - 1227 (0), 123000ms

[ 1523.226173] c0 4 [K] sleep_info_m.1 - 1276 (1), 1187000ms

Sent from my HTC One_M8