[Samsung Galaxy S8 & S8+ Cross Device Development] ace2nutzer:
For what if you can force whatever resolution in A2N app ?

No idea, lets try later with new pre-release kernel build. I'm fixing a few bugs.

Yeah, just forget this log, it's completely corrupted due to unclean reboot.

But nevermind, we don't need that debug_kernel anymore. I've compiled a better kernel to get better info about CPU stalls.

That should never happen, but maybe due to this debug_kernel, too much memory footprint. But zRam @ 0% is not a good idea. zRam uses RAM more efficient, thus will improve performance and battery life.

Try with zRam 50% and swappiness 160.

Report this issue with uploading "*.gz" to any moderator, by writing the used browser. (XDA app bug ?)

There is no universal "How-To-Build-Android-Kernel" since every device is different.

Depending on the device hardware, you need different toolchain and different method for unpacking and repacking ramdisk.

In general, you need always to do these steps for every device:

1. Download kernel source code - e.g. for Samsung devices

2. Download latest stock ROM to get the ramdisk from stock boot.img - e.g. from Sammobile

3. Unpack the stock ROM to get "boot.img"

4. Download latest AIK-Linux tool (check if your device is supported) - for unpack/repack ramdisk/boot.img

5. Download proper toolchain - e.g. "gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu" - for aarch64 (arm64-bit) for compilation on linux x86_64 (64-bit)

6. Unpack boot.img using AIK-Linux

7. Compile the kernel

7a. optional: compile "boot.img-dt" from sources, if you want to edit the DTS sources, using "dtbtool"

8. Replace your compiled kernel "Image" with the one from unpacked boot.img (boot.img-kernel)

9. Repack boot.img using AIK-Linux

10. Rename your "image-new.img" to "boot.img" and put it in your update_kernel.zip package. (of course different updater-script for every device)

11. Finally you can flash your self-compiled kernel to your device.

Note: further instructions about build cmd and so on, you can find it in the kernel source code package from Samsung and here: "Building Kernels" (original from Google)

That's the reason:

09-03 00:02:44.195 10898 10941 E DrmMediaResourceHelper: onRemove making Dpdrm to 0 second point
09-03 00:02:44.196 10898 10941 E DrmManagerClient: DRM_DISPLAYPORT_DISABLE failed
09-03 00:02:44.464 27442 27442 E fb4a.StateWrapperImpl: Race between StateWrapperImpl destruction and updateState
09-03 00:02:45.400 25785 25801 E SQLiteLog: (1) no such table: SmartFittingService
09-03 00:02:46.062 4173 4411 E AlarmManager: No more alarm at this time. nowELAPSED=10841660 batch.start=10855599 mNextWakeup=10897908 mNextNonWakeup=10855599 mAlarmBatches.size=115
09-03 00:02:46.062 4173 4411 E AlarmManager: Batch 1 size = 1 : 10855599, Batch 2 size = 1 : 10855599, Batch 3 size = 1 : 10897908
09-03 00:02:46.062 4173 4411 E AlarmManager: No more alarm at this time. mNextWakeup will be set as zero : 10897908
09-03 00:02:47.027 4173 4683 E Parcel : Class not found when unmarshalling: com.facebook.fbreact.fragment.params.SegmentParam
09-03 00:02:47.027 4173 4683 E Parcel : java.lang.ClassNotFoundException: com.facebook.fbreact.fragment.params.SegmentParam
09-03 00:02:47.027 4173 4683 E Parcel : at java.lang.Class.classForName(Native Method)
09-03 00:02:47.027 4173 4683 E Parcel : at java.lang.Class.forName(Class.java:453)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readParcelableCreator(Parcel.java:2827)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readParcelable(Parcel.java:2781)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readValue(Parcel.java:2684)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readListInternal(Parcel.java:3114)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readArrayList(Parcel.java:2335)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readValue(Parcel.java:2705)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Parcel.readArrayMapInternal(Parcel.java:3053)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:288)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.BaseBundle.unparcel(BaseBundle.java:232)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.BaseBundle.getString(BaseBundle.java:1155)
09-03 00:02:47.027 4173 4683 E Parcel : at android.content.Intent.getStringExtra(Intent.java:8111)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:733)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityStarter.startActivity(ActivityStarter.java:671)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityStarter.startActivityMayWait(ActivityStarter.java:1548)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityStarter.execute(ActivityStarter.java:612)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6668)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:6559)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:6550)
09-03 00:02:47.027 4173 4683 E Parcel : at android.app.IActivityManager$Stub.onTransact$startActivity$(IActivityManager.java:10834)
09-03 00:02:47.027 4173 4683 E Parcel : at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:111)
09-03 00:02:47.027 4173 4683 E Parcel : at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:4147)
09-03 00:02:47.027 4173 4683 E Parcel : at android.os.Binder.execTransact(Binder.java:739)
09-03 00:02:47.027 4173 4683 E Parcel : Caused by: java.lang.ClassNotFoundException: com.facebook.fbreact.fragment.params.SegmentParam
09-03 00:02:47.027 4173 4683 E Parcel : at java.lang.Class.classForName(Native Method)
09-03 00:02:47.027 4173 4683 E Parcel : at java.lang.BootClassLoader.findClass(ClassLoader.java:1346)
09-03 00:02:47.027 4173 4683 E Parcel : at java.lang.BootClassLoader.loadClass(ClassLoader.java:1406)
09-03 00:02:47.027 4173 4683 E Parcel : at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
09-03 00:02:47.027 4173 4683 E Parcel : ... 24 more
09-03 00:02:47.027 4173 4683 E Parcel : Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

Seems to be some issue with DEX + DRM L1 stuff. Try to lower the resolution, maybe helps.