I want to inspect inside HTTPS-encrypted packets that an app is sending. It is not my app, I don't have its source code.
My device is rooted, so I can modify
/system/etc/security/cacert if needed, for instance to do man-in-the-middle proxying.
Up to Android 8, one could just install a self-made certificate, but it does not work anymore. I have Android 9, but I can upgrade if needed.