Removing uninstall protected bloatware from Samsung
I came across an interesting issue while trying to automate deep-links on Android. For some reason, when I was running tests on Samsung device. Instead of opening the links on Chrome browser the links were launched in Samsung’s own browser.
Sadly when I tried uninstalling the browser, it was uninstall protected and the uninstall button was disabled. If you are on Android Pie you might not face this issue, this issue is only on oreo and below.
However there is a workaround. You can uninstall the such apps with a simple adb command.
1 |
|
You can also uninstall some other preloaded apps(e.g. Facebook, spotify, LinkedIn) for which you don’t see uninstall option.
Few package are listed here https://github.com/pr4bh4sh/vaccinate-samsung-phone
1 |
|
Just replace the package name with the app you want to uninstall.