Can you provide a test account (with data) so that we can reproduce the problem? Otherwise, we would at least need logs…
By the way, do you really use 17k contacts on your mobile phone? May I ask what the use case is? Is the Contacts app even usable with such amounts of contacts?
Output from sudo libinput list-devices | grep Device ...
libinput error: event17 - Network Tablet: libinput bug: missing tablet capabilities: resolution.Ignoring this device.
I tried starting the driver and device in a different order, in case resolution isn't set until the device first connects, but the error remains.
Is there any additional info I can provide to help debug this?