[Folio 100 Android Development] BeRo1985:
This is the /proc/kmsg (dmesg) "kernel panic" output directly before or better at a complete-freeze / lockup on my folio 100 (per "adb wait-for-device && adb shell cat /proc/kmsg" ) :

<1>[ 71.127595] Unable to handle kernel paging request at virtual address 0073008b
<1>[ 71.134890] pgd = d4858000
<1>[ 71.137668] [0073008b] *pgd=00000000
<0>[ 71.141254] Internal error: Oops: 5 [#1] PREEMPT SMP
<0>[ 71.146219] last sysfs file: /sys/devices/nvec/nvec_battery/power_supply/battery/technology
<4>[ 71.154567] Modules linked in: ar6000
<4>[ 71.158260] CPU: 1 Not tainted (2.6.32.9 #1)
<4>[ 71.162887] PC is at sem_handle_search+0xc/0x6c
<4>[ 71.167418] LR is at NvOsSemaphoreDestroy+0x18/0x7c
<4>[ 71.172295] pc : [<c0048704>] lr : [<c00488b8>] psr: 20000013
<4>[ 71.172302] sp : d485fe48 ip : d485fe60 fp : d485fe5c
<4>[ 71.183769] r10: 00000000 r9 : d485e000 r8 : c0033364
<4>[ 71.188990] r7 : 40044e21 r6 : 40044e21 r5 : d8f25004 r4 : 0073006f
<4>[ 71.195514] r3 : 00000000 r2 : 00000000 r1 : bed259e8 r0 : 0073006f
<4>[ 71.202038] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
<4>[ 71.209169] Control: 10c5387d Table: 1485804a DAC: 00000015
<4>[ 71.214907]
<4>[ 71.214910] PC: 0xc0048684:
<4>[ 71.219179] 8684 e5982004 e2822001 e5882004 e593a010 e35a0000 0a00000a e59ac000 e30890d0
<4>[ 71.227435] 86a4 e58d9000 e1a00006 e1a01004 e3a0200c e1a03007 e12fff3c e5bac004 e35c0000
<4>[ 71.235685] 86c4 1afffff6 e5983004 e2433001 e5883004 e5983000 e3130002 0affffdc eb0e1a7d
<4>[ 71.243938] 86e4 eaffffda c05093f0 c0537080 c0509120 c0048614 e1a0c00d e92dd830 e24cb004
<4>[ 71.252190] 8704 e590301c e1a04000 e3530000 0a00000c e3730a01 8a00000a e59f003c eb0e1f40
<4>[ 71.260444] 8724 e594501c e3550000 0a000008 e595300c e1540003 3a000000 9a000004 e1a00005
<4>[ 71.268698] 8744 e89da830 e3a05000 e1a00005 e89da830 e59f0004 eb023e1e eafffff7 c050ccdc
<4>[ 71.276951] 8764 e1a0c00d e92dd830 e24cb004 e3500a01 e1a04000 3a000011 e3500000 089da830
<4>[ 71.285206]
<4>[ 71.285209] LR: 0xc0048838:
<4>[ 71.289479] 8838 e3500000 1a000001 e1a00004 eb01d0ca e3a00001 e89da830 e0855205 e0844105
<4>[ 71.297734] 8858 e5940010 ebffffc0 e3a00001 e89da830 e0855205 e0844105 e2840028 eb023f63
<4>[ 71.305988] 8878 e3a00001 e89da830 e0855205 e5940000 e0844105 e1a0e00f e594f010 e3a00001
<4>[ 71.314239] 8898 e89da830 c053acf8 e1a0c00d e92dd830 e24cb004 e2504000 089da830 ebffff8f
<4>[ 71.322492] 88b8 e2505000 089da830 f57ff05f e2843014 e1932f9f e2422001 e1831f92 e3310000
<4>[ 71.330743] 88d8 1afffffa f57ff05f e3520000 189da830 e59f0028 eb0e1ec8 e284101c e1a00005
<4>[ 71.338997] 88f8 eb071e22 e59f0014 eb023daf e1a00005 eb03e8cd e1a00004 eb03e8cb e89da830
<4>[ 71.347252] 8918 c050ccdc e1a0c00d e92dd830 e24cb004 e1a04000 ebffff71 e3500000 089da830
<4>[ 71.355506]
<4>[ 71.355509] SP: 0xd485fdc8:
<4>[ 71.359778] fdc8 00000100 c026f53c d485e000 d485fe34 00000000 00000001 ffffffff d485fe34
<4>[ 71.368033] fde8 40044e21 40044e21 d485fe5c d485fe00 c0032cec c00324f0 0073006f bed259e8
<4>[ 71.376284] fe08 00000000 00000000 0073006f d8f25004 40044e21 40044e21 c0033364 d485e000
<4>[ 71.384536] fe28 00000000 d485fe5c d485fe60 d485fe48 c00488b8 c0048704 20000013 ffffffff
<4>[ 71.392788] fe48 0073006f d8f25004 d485fe74 d485fe60 c00488b8 c0048704 00000000 d8f25004
<4>[ 71.401039] fe68 d485fedc d485fe78 c00477c4 c00488ac d485fd88 d485ff54 d485febc d485fe90
<4>[ 71.409291] fe88 c00af010 c0571338 00000000 0000ba00 00000000 d485ff7c d485ff78 d7524c40
<4>[ 71.417545] fea8 00000004 0073006f 00000100 d7c460a0 c0047428 bed259e4 40044e21 c0033364
<4>[ 71.425828]
<4>[ 71.425832] IP: 0xd485fde0:
<4>[ 71.430104] fde0 ffffffff d485fe34 40044e21 40044e21 d485fe5c d485fe00 c0032cec c00324f0
<4>[ 71.438398] fe00 0073006f bed259e8 00000000 00000000 0073006f d8f25004 40044e21 40044e21
<4>[ 71.446702] fe20 c0033364 d485e000 00000000 d485fe5c d485fe60 d485fe48 c00488b8 c0048704
<4>[ 71.454984] fe40 20000013 ffffffff 0073006f d8f25004 d485fe74 d485fe60 c00488b8 c0048704
<4>[ 71.463264] fe60 00000000 d8f25004 d485fedc d485fe78 c00477c4 c00488ac d485fd88 d485ff54
<4>[ 71.471542] fe80 d485febc d485fe90 c00af010 c0571338 00000000 0000ba00 00000000 d485ff7c
<4>[ 71.479822] fea0 d485ff78 d7524c40 00000004 0073006f 00000100 d7c460a0 c0047428 bed259e4
<4>[ 71.488099] fec0 40044e21 c0033364 d485e000 00000000 d485ff04 d485fee0 c0157258 c0047434
<4>[ 71.496380]
<4>[ 71.496385] FP: 0xd485fddc:
<4>[ 71.500658] fddc 00000001 ffffffff d485fe34 40044e21 40044e21 d485fe5c d485fe00 c0032cec
<4>[ 71.508942] fdfc c00324f0 0073006f bed259e8 00000000 00000000 0073006f d8f25004 40044e21
<4>[ 71.517223] fe1c 40044e21 c0033364 d485e000 00000000 d485fe5c d485fe60 d485fe48 c00488b8
<4>[ 71.525504] fe3c c0048704 20000013 ffffffff 0073006f d8f25004 d485fe74 d485fe60 c00488b8
<4>[ 71.533772] fe5c c0048704 00000000 d8f25004 d485fedc d485fe78 c00477c4 c00488ac d485fd88
<4>[ 71.542054] fe7c d485ff54 d485febc d485fe90 c00af010 c0571338 00000000 0000ba00 00000000
<4>[ 71.550327] fe9c d485ff7c d485ff78 d7524c40 00000004 0073006f 00000100 d7c460a0 c0047428
<4>[ 71.558597] febc bed259e4 40044e21 c0033364 d485e000 00000000 d485ff04 d485fee0 c0157258
<4>[ 71.566879]
<4>[ 71.566884] R5: 0xd8f24f84:
<4>[ 71.571158] 4f84 ******** ******** ******** ******** ******** ******** ******** ********
<4>[ 71.579440] 4fa4 ******** ******** ******** ******** ******** ******** ******** ********
<4>[ 71.587712] 4fc4 ******** ******** ******** ******** ******** ******** ******** ********
<4>[ 71.595998] 4fe4 ******** ******** ******** ******** ******** ******** ******** 00000038
<4>[ 71.604275] 5004 00000000 00000000 00000000 d8f25010 d8f25010 0000ffff 00000000 d7957480
<4>[ 71.612569] 5024 00000000 00000000 d8f2502c d8f2502c 000003bc ffffff00 ffffffff ffffffff
<4>[ 71.620843] 5044 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
<4>[ 71.629128] 5064 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
<4>[ 71.637406]
<4>[ 71.637411] R8: 0xc00332e4:
<4>[ 71.641683] 32e4 e92d0030 e31c0c01 1a000008 e3570e17 e24fef47 3798f107 e28d1008 e3a08000
<4>[ 71.649957] 3304 e357080f e2270000 2a0010ff ea028117 e1a02007 e28d1008 e3a00000 eb00054a
<4>[ 71.658236] 3324 e28fe014 e1a07000 e28d1008 e3570e17 3891000f 3798f107 eaffffef e5ad0008
<4>[ 71.666510] 3344 e1a02007 e1a0100d e3a00001 eb00053e eaffffb6 e320f000 e320f000 c050b54c
<4>[ 71.674793] 3364 c00c6920 c00ba5bc c003394c c0149868 c0149600 c0146cc0 c0146a38 c00d3774
<4>[ 71.683061] 3384 c0146ce8 c01557a4 c015507c c003395c c01477bc c00d3774 c01554c8 c0147690
<4>[ 71.691347] 33a4 c00e6f0c c00d3774 c00d3774 c01485c8 c00c60f0 c0163e48 c00d3774 c00e6e54
<4>[ 71.699623] 33c4 c00e6b60 c00d3774 c00c19b4 c00d3774 c00d3774 c00c6afc c00d3774 c00d3774
<4>[ 71.707920]
<4>[ 71.707924] R9: 0xd485df80:
<4>[ 71.712196] df80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[ 71.720490] dfa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[ 71.728767] dfc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[ 71.737069] dfe0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[ 71.745370] e000 00000002 00000002 00000000 d7957480 c05133ac 00000001 00000017 d7957480
<4>[ 71.753663] e020 c093a420 d485e000 c059ad40 d0a9c8c0 cd5f8000 00000000 d485fbe4 d485fb38
<4>[ 71.761938] e040 c03ce7dc 00000000 00000000 00000000 00000000 00000000 01010000 00000000
<4>[ 71.770225] e060 afd4a868 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<0>[ 71.778513] Process mediaserver (pid: 956, stack limit = 0xd485e2f0)
<0>[ 71.784866] Stack: (0xd485fe48 to 0xd4860000)
<0>[ 71.789226] fe40: 0073006f d8f25004 d485fe74 d485fe60 c00488b8 c0048704
<0>[ 71.797411] fe60: 00000000 d8f25004 d485fedc d485fe78 c00477c4 c00488ac d485fd88 d485ff54
<0>[ 71.805595] fe80: d485febc d485fe90 c00af010 c0571338 00000000 0000ba00 00000000 d485ff7c
<0>[ 71.813773] fea0: d485ff78 d7524c40 00000004 0073006f 00000100 d7c460a0 c0047428 bed259e4
<0>[ 71.821951] fec0: 40044e21 c0033364 d485e000 00000000 d485ff04 d485fee0 c0157258 c0047434
<0>[ 71.830138] fee0: d485ff0c d485fef0 bed259e4 d7c460a0 40044e21 00000003 d485ff7c d485ff08
<0>[ 71.838324] ff00: c0157430 c015722c c00b0dec c00e5bec d485ff70 00000000 00000080 0000ba00
<0>[ 71.846509] ff20: 00000002 00000000 d485e000 00000000 d485ffa4 d485ff40 c00e4f30 c00e47f0
<0>[ 71.854695] ff40: 0000ba00 00000000 ffffffff d485ff58 c00cf70c d485fed4 d7c460a0 bed259e4
<0>[ 71.862880] ff60: 40044e21 00000003 c0033364 d485e000 d485ffa4 d485ff80 c01579f4 c01573cc
<0>[ 71.871063] ff80: 00000000 00000001 8040916c bed259fc bed25ab4 00000036 00000000 d485ffa8
<0>[ 71.879250] ffa0: c00331e0 c01579c0 8040916c bed259fc 00000003 40044e21 bed259e4 bed259dc
<0>[ 71.887431] ffc0: 8040916c bed259fc bed25ab4 00000036 00000000 00000000 00000000 00000000
<0>[ 71.895619] ffe0: 80409178 bed259c0 afd22efd afd0dbdc 80000010 00000003 00000000 00000000
<4>[ 71.903793] Backtrace:
<4>[ 71.906275] [<c00486f8>] (sem_handle_search+0x0/0x6c) from [<c00488b8>] (NvOsSemaphoreDestroy+0x18/0x7c)
<4>[ 71.915756] r5:d8f25004 r4:0073006f
<4>[ 71.919373] [<c00488a0>] (NvOsSemaphoreDestroy+0x0/0x7c) from [<c00477c4>] (nvos_ioctl+0x39c/0x6bc)
<4>[ 71.928418] r5:d8f25004 r4:00000000
<4>[ 71.932032] [<c0047428>] (nvos_ioctl+0x0/0x6bc) from [<c0157258>] (vfs_ioctl+0x38/0x98)
<4>[ 71.940042] [<c0157220>] (vfs_ioctl+0x0/0x98) from [<c0157430>] (do_vfs_ioctl+0x70/0x5f4)
<4>[ 71.948221] r7:00000003 r6:40044e21 r5:d7c460a0 r4:bed259e4
<4>[ 71.953945] [<c01573c0>] (do_vfs_ioctl+0x0/0x5f4) from [<c01579f4>] (sys_ioctl+0x40/0x68)
<4>[ 71.962126] r9:d485e000 r8:c0033364 r7:00000003 r6:40044e21 r5:bed259e4
<4>[ 71.968731] r4:d7c460a0
<4>[ 71.971383] [<c01579b4>] (sys_ioctl+0x0/0x68) from [<c00331e0>] (ret_fast_syscall+0x0/0x2c)
<4>[ 71.979739] r7:00000036 r6:bed25ab4 r5:bed259fc r4:8040916c
<0>[ 71.985456] Code: c0048614 e1a0c00d e92dd830 e24cb004 (e590301c)
<4>[ 72.026642] ---[ end trace b90de0c8fa44cdc0 ]---
<0>[ 72.031450] Kernel panic - not syncing: Fatal exception
<4>[ 72.036680] Backtrace:
<4>[ 72.039211] [<c0036fac>] (dump_backtrace+0x0/0x10c) from [<c03cdd94>] (dump_stack+0x18/0x1c)
<4>[ 72.047669] r7:d485e2f0 r6:c05398a8 r5:d7957480 r4:c054e240
<4>[ 72.053390] [<c03cdd7c>] (dump_stack+0x0/0x1c) from [<c03cddfc>] (panic+0x64/0x130)
<4>[ 72.061089] [<c03cdd98>] (panic+0x0/0x130) from [<c0037474>] (die+0x168/0x190)
<4>[ 72.068345] r3:00000001 r2:d485fcc8 r1:ceb06760 r0:c04899d0
<4>[ 72.074057] [<c003730c>] (die+0x0/0x190) from [<c0039cbc>] (__do_kernel_fault+0x6c/0x7c)
<4>[ 72.082171] [<c0039c50>] (__do_kernel_fault+0x0/0x7c) from [<c0039e24>] (do_page_fault+0x158/0x1f4)
<4>[ 72.091236] r7:00010000 r6:0073008b r5:d7957480 r4:d7c021a0
<4>[ 72.096983] [<c0039ccc>] (do_page_fault+0x0/0x1f4) from [<c0039fc0>] (do_translation_fault+0x74/0x7c)

I hope this output can help to fix the freeze/lockup issue. And i will do maybe more reseaching into that issue later.

Edit: After trying it more times to trigger this issue (simply per turning the folio complete off and again on, and then start some apps, until the issue is there), I'll get always similar kernel panics (only with different memory addresses, the rest is always almost fully identical) if my folio freezed up/lockup.

Edit: It would be good, that a debug version of the foliomod 1.4 (or 1.3d until the newest kernel sources aren't public yet) kernel would exist, together with kernel panic message / dmesg to touchscreen display output, because the adb shell cat /proc/kmsg is truncated at some many lines at the end, if it freezes.