_ _ (_) ___ | |_ ____ | |/ _ \| __|_ / | | (_) | |_ / / _/ |\___/ \__/___| |__/
Developer options need to be enabled on the phone. I don't remember the exact process, but it begins with something like...
Settings -> About Phone -> Build number [tap "Build number" seven times and follow instructions]
Once developer options are enabled, you will be able to enable USB debugging on the phone.
Settings -> System -> Advanced -> Developer options -> USB debugging [click switch to enable USB debugging]
If desired, the processes currently running on the phone can be viewed as follows:
Settings -> System -> Advanced -> Developer options -> Running services
sudo apt install adb
If the phone is successfully detected, something like this should be displayed:
List of devices attached 421b4dc80705 device
To open an adb shell to configure the phone:
Then, within the adb shell, to remove the undesired package:
pm uninstall -k --user 0 com.huaqin.diaglogger pm disable-user com.huaqin.diaglogger
Some example packages that one might consider removing are listed here: