Disable third-party app without uninstall:


Why do this?:
This is so I don't lose my saved user data for that app, but prevent it from running in the background.
In this example I will use Tiktok, since I would rather not lose my profile, but it loves to phone home very often even though I uses it very occasionally.
--------------------------------------------------------------------------------------------------
*Need a PC with adb installed to do this:

adb devices
adb shell
To disable:

pm disable-user com.zhiliaoapp.musically
pm disable-user nodomain.freeyourgadget.gadgetbridge
*Also press force stop in system settings on phone to fully affect it.

To re-enable:
pm enable com.zhiliaoapp.musically
*Also enabling it in google play works as well.



Source | Date: March 1st 2023





Back

© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.