[Samsung Galaxy Note 9 (Exynos) ROMs, Kernels, Reco] oldman20:
Oh, I think as you said, just Flash BL & CP is fixing Random reboot? But how can you think Random Reboot error related to the recognition of paid applications? please let me know, thank!

I just using logcat reader to find key word "reboot", "reset" immediately phone startup after random reboot, and just found like this log:

<<< log_count = 28 >>>
[03-29 17:25:24.055 810:903 I/PackageManager]
Un-granting permission android.permission.REBOOT from package com.wubydax.romcontrol.v2 (protectionLevel=18 flags=0x38d8be47)

[03-29 17:27:11.200 14808:14808 D/PersonaManagerService]
getPersonaCacheValue is called for key knoxid.reset_on_reboot

[03-29 17:27:13.850 14808:14808 W/PackageManager]
Privileged permission android.permission.REBOOT for package com.wubydax.romcontrol.v2 - not in privapp-permissions whitelist

[03-29 17:27:13.850 14808:14808 I/PackageManager]
Un-granting permission android.permission.REBOOT from package com.wubydax.romcontrol.v2 (protectionLevel=18 flags=0x3858be47)

[03-29 17:27:18.085 14808:14808 W/PackageManager]
Privileged permission android.permission.REBOOT for package com.wubydax.romcontrol.v2 - not in privapp-permissions whitelist

[03-29 17:27:18.085 14808:14808 I/PackageManager]
Un-granting permission android.permission.REBOOT from package com.wubydax.romcontrol.v2 (protectionLevel=18 flags=0x38d8be47)

[03-29 17:27:18.121 14808:14808 D/PackageManager]
We detected some permission violations from below apps:
1) com.samsung.android.applock: android.permission.SET_PROCESS_LIMIT
2) com.wubydax.romcontrol.v2: android.permission.REBOOT
3) com.samsung.android.applock: android.permission.REAL_GET_TASKS
4) com.wubydax.romcontrol.v2: android.permission.RECOVERY
5) com.samsung.android.applock: android.permission.STATUS_BAR
Privileged apps MUST whitelist their 'signature|privileged' permissions.
Please ASSIGN this issue to above apps to whitelist.
and refer to this url: https://source.android.com/devices/tech/config/perms-whitelist

[03-29 17:27:18.164 14808:14808 D/PersonaManagerService]
getPersonaCacheValue is called for key knoxid.reset_on_reboot

[03-29 17:27:18.745 14808:14808 I/PackageManager]
Un-granting permission android.permission.REBOOT from package com.wubydax.romcontrol.v2 (protectionLevel=18 flags=0x38d8be47)

[03-29 17:27:19.236 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:21.831 15525:15873 D/GlobalSettingsRepoBase]
save : ss_403_csfb_until_reboot=true

[03-29 17:27:22.728 460:960 I/CASS_DEBUG]
The modem seems to have rebooted.
Restart the cass thread and CP monitoring thread

[03-29 17:27:23.630 16111:16111 D/snap_api::V1]
Boot reason property: reboot,userrequested

[03-29 17:27:23.671 16110:16110 D/snap_api::V1]
Boot reason property: reboot,userrequested

[03-29 17:27:25.903 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:26.144 14808:14808 D/PersonaManagerService]
getPersonaCacheValue is called for key knoxid.reset_on_reboot

[03-29 17:27:30.008 14808:14948 I/PackageManager]
Un-granting permission android.permission.REBOOT from package com.wubydax.romcontrol.v2 (protectionLevel=18 flags=0x38d8be47)

[03-29 17:27:37.491 15525:15873 D/GlobalSettingsRepoBase]
save : ss_403_csfb_until_reboot=true

[03-29 17:27:44.356 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:44.360 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:45.607 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:45.642 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:46.122 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:48.537 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:48.542 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:52.665 19865:19925 I/ControllerEventHandler]
[#CMH#] onSystemRebooted

[03-29 17:27:52.995 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

[03-29 17:27:53.176 15219:15219 D/KeyguardUpdateMonitor]
Cannot get SecurityLevel. Unlocking never happened after reboot!

<<< log_count = 64 >>>
[03-29 17:23:00.436 810:849 I/WindowManager]
Cancelling animation restarting=true, leash=Surface(name=Surface(name=75f4cb8 com.android.systemui.ImageWallpaper)/@0xa179132 - animation-leash)/@0x8f23e83

[03-29 17:23:01.767 810:1706 W/ActivityManager]
Scheduling restart of crashed service com.samsung.ipservice/.IPService in 1000ms

[03-29 17:23:01.785 810:11600 W/ActivityManager]
Scheduling restart of crashed service com.samsung.storyservice/.StoryService in 10982ms

[03-29 17:23:52.874 810:1877 W/ActivityManager]
Scheduling restart of crashed service com.tencent.mm/.service.ProcessService$SandBoxProcessService in 1000ms

[03-29 17:25:34.123 810:3161 W/ActivityManager]
Scheduling restart of crashed service com.samsung.mlp/.platform.LPService in 1000ms

[03-29 17:25:34.146 810:1885 W/ActivityManager]
Scheduling restart of crashed service com.samsung.faceservice/.FaceService in 10977ms

[03-29 17:25:34.167 810:1885 W/ActivityManager]
Scheduling restart of crashed service com.samsung.ipservice/.IPService in 20956ms

[03-29 17:25:34.183 810:1877 W/ActivityManager]
Scheduling restart of crashed service com.tencent.mm/.service.ProcessService$SandBoxProcessService in 30940ms

[03-29 17:25:34.195 810:3161 W/ActivityManager]
Scheduling restart of crashed service com.samsung.storyservice/.StoryService in 40928ms

[03-29 17:25:40.768 810:849 I/WindowManager]
Cancelling animation restarting=true, leash=Surface(name=Surface(name=AppWindowToken{d1ccb56 token=Token{ca1d171 ActivityRecord{c3b0318 u0 com.topjohnwu.magisk/.core.SplashActivity t84}}})/@0x96b906f - animation-leash)/@0xda8817c

[03-29 17:25:40.782 810:849 I/WindowManager]
Cancelling animation restarting=true, leash=Surface(name=Surface(name=AppWindowToken{1751e2d token=Token{6e4dd44 ActivityRecord{1a9bbd6 u0 com.sec.android.app.launcher/.activities.LauncherActivity t32}}})/@0xb9ba286 - animation-leash)/@0x3b4874e

[03-29 17:26:31.121 1587:1587 D/OtherActivityInputConsumer]
notifyGestureStarted

[03-29 17:26:31.122 1587:1587 D/WindowTransformSwipeHandler]
onGestureStarted

[03-29 17:26:31.140 1587:1587 D/WindowTransformSwipeHandler]
onLauncherPresentAndGestureStarted

[03-29 17:27:08.186 608:654 W/statsd]
Reset statsd upon system server restarts.

[03-29 17:27:10.335 14808:14808 I/SystemServer]
InitBeforeStartServices

[03-29 17:27:10.662 14808:14808 D/SystemServerTiming]
InitBeforeStartServices took to complete: 326ms

[03-29 17:27:10.662 14808:14808 D/SystemServerTiming]
!@Boot_SystemServer: 326ms : InitBeforeStartServices

[03-29 17:27:10.662 14808:14808 I/SystemServerTiming]
!@Boot_EBS: Took 326ms by 'InitBeforeStartServices'

[03-29 17:27:19.163 15219:15352 D/legacyImsManager[0]]
Register Receiver for Restart

[03-29 17:27:19.170 15219:15352 D/legacyImsManager[1]]
Register Receiver for Restart

[03-29 17:27:19.519 623:701 W/Gnss@1.0]
setCommonCallback called more than once. System is likely restarted or from vts

[03-29 17:27:19.621 14808:15108 I/GnssLocationProvider]
restartRequests

[03-29 17:27:19.621 14808:15108 D/GnssLocationProvider]
restartLocationRequest

[03-29 17:27:19.697 14808:15108 I/GnssLocationProvider]
restartRequests

[03-29 17:27:19.697 14808:15108 D/GnssLocationProvider]
restartLocationRequest

[03-29 17:27:20.526 14808:14808 D/semImsManager[0]]
Register Receiver for Restart

[03-29 17:27:20.527 14808:14808 D/semImsManager[1]]
Register Receiver for Restart

[03-29 17:27:21.725 15574:15574 D/legacyImsManager[0]]
Register Receiver for Restart

[03-29 17:27:21.743 15574:15574 D/legacyImsManager[1]]
Register Receiver for Restart

[03-29 17:27:22.197 15219:15219 V/NavBarStoreImpl]
--[Band]MISC_PACK_REFRESH_RESTART_BUTTON

[03-29 17:27:22.197 15219:15219 V/NavBarStoreImpl]
----apply(UPDATE_RESTART_BUTTON)

[03-29 17:27:22.636 15201:15201 D/semImsManager[0]]
Register Receiver for Restart

[03-29 17:27:22.638 15201:15201 D/semImsManager[1]]
Register Receiver for Restart

[03-29 17:27:22.728 460:960 I/CASS_DEBUG]
The modem seems to have rebooted.
Restart the cass thread and CP monitoring thread

[03-29 17:27:23.280 14808:14808 D/semImsManager[0]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:23.281 15574:15574 D/legacyImsManager[0]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:23.284 15574:15574 D/legacyImsManager[1]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:23.285 14808:14808 D/semImsManager[1]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:23.443 14808:14905 D/UsbDeviceManager]
setEnabledFunctions: usbFunctions=mtp,conn_gadget,adb forceRestart=false usbDataUnlocked=true mCurrentFunctions=mtp,conn_gadget,adb

[03-29 17:27:23.450 14808:14905 D/UsbDeviceManager]
trySetEnabledFunctions: usbFunctions=mtp,conn_gadget,adb forceRestart=true

[03-29 17:27:23.956 15219:15219 D/legacyImsManager[0]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:23.963 15219:15219 D/legacyImsManager[1]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:24.161 15201:15201 D/legacyImsManager[0]]
Register Receiver for Restart

[03-29 17:27:24.198 15201:16250 D/legacyImsManager[0]]
Register Receiver for Restart

[03-29 17:27:24.199 15201:15201 D/legacyImsManager[1]]
Register Receiver for Restart

[03-29 17:27:24.221 15201:16259 D/legacyImsManager[1]]
Register Receiver for Restart

[03-29 17:27:24.450 15201:15201 D/semImsManager[0]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:24.459 15201:15201 D/semImsManager[1]]
onReceive com.sec.ims.imsmanager.RESTART

[03-29 17:27:24.684 15887:15887 D/semImsManager[0]]
Register Receiver for Restart

[03-29 17:27:24.687 15887:15887 D/semImsManager[1]]
Register Receiver for Restart

[03-29 17:27:28.356 17331:17721 D/legacyImsManager[0]]
Register Receiver for Restart

[03-29 17:27:28.449 17331:17721 D/legacyImsManager[1]]
Register Receiver for Restart

[03-29 17:27:35.184 15757:15847 I/GCoreUlr]
WorldUpdater received intent Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) } with receiverAction com.google.android.location.internal.server.ACTION_RESTARTED

[03-29 17:27:35.186 15757:15847 I/GCoreUlr]
WorldUpdater:com.google.android.location.internal.server.ACTION_RESTARTED: Ensuring that reporting is stopped because of reasons: (no Google accounts)

[03-29 17:27:44.265 15574:15912 D/legacyImsManager[0]]
Register Receiver for Restart

[03-29 17:27:45.368 15757:18320 W/ctxmgr]
[FencePendingIntentCache]Sending CONTEXT_MANAGER_RESTARTED broadcast to com.google.android.apps.wellbeing [CONTEXT service_id=47 ]

[03-29 17:27:46.119 14808:14905 D/UsbDeviceManager]
setEnabledFunctions: usbFunctions=mtp,conn_gadget,adb forceRestart=false usbDataUnlocked=true mCurrentFunctions=mtp,conn_gadget,adb

[03-29 17:27:46.120 14808:14905 D/UsbDeviceManager]
trySetEnabledFunctions: usbFunctions=mtp,conn_gadget,adb forceRestart=false

[03-29 17:27:47.141 14808:14808 I/SemWifiApSmartBleScanner]
Screen is ON, restarting scanning

[03-29 17:27:48.006 14808:14808 W/SemWifiApSmartBleScanner]
Screen is OFF, restarting scanning

[03-29 17:27:55.440 14808:17961 W/ActivityManager]
Scheduling restart of crashed service com.tencent.mm/.ipcinvoker.wx_extension.service.Appbrand0IPCService in 1000ms

[03-29 17:27:55.699 14808:17260 I/WindowManager]
Cancelling animation restarting=false, leash=Surface(name=Surface(name=AppWindowToken{5cfae61 token=Token{e937dc8 ActivityRecord{6a6de6b u0 com.dp.logcatapp/.activities.SplashActivity t87}}})/@0x54e15d - animation-leash)/@0xbbc7ad2

[03-29 17:27:55.709 14808:17367 W/ActivityManager]
Scheduling restart of crashed service com.tencent.mm/.ipcinvoker.wx_extension.service.Appbrand1IPCService in 10731ms

I have not installed Magisk modules else or others similar modified system. Just flash rom, then open update magisk, reboot then apply essential fix then reboot again. that's all

Seem Q9 fine with me!

btw, thought Installed BL & CP newest at that time BL_N960FXXS8FUB1_CL19869079_QB37919100_REV00_user_low_ship.tar.md5

CP_N960FXXS8FUB1_CP18094062_CL19869079_QB37919100_REV00_user_low_ship.tar.md5

but random reboot is still there, since from my post