I already know that I can uninstall an android system app using adb
pm uninstall -k --user 0 com.package.name, which is quite useful but not enough.
There are some system apps that I have to continuously uninstall and reinstall for several reasons, and connecting my smartphone to the pc every time is something I would gladly avoid.
Is there any method (possibly apart from rooting my device) to prevent a disabled/uninstalled system app from being reinstalled?
Thanks in advance
EDIT: As suggested by @Robert:
- Model name: Xiaomi Mi 9T Pro
- Android version: 10 (Q)
- MIUI version: 12.0.4
- Package name: com.google.android.youtube (mainly)