by ignoramous · 5y ago · 0 comments
There's a reason. It is Google and its Compatibility Definition Document: https://source.android.com/compatibility/ So no: OEMs that want to market their phones as running "Android" cannot break things as they please.
Every device branded as running "Android" must pass Google's Compatibility Test Suite (CTS) [0]. One look at the tests suggest that many of the adb commands Universal Android Debloater (UAD) [1] relies on are infact part of CTS:
- pm uninstall: https://cs.android.com/android/platform/superproject/+/maste...
- pm clear: https://cs.android.com/android/platform/superproject/+/maste...
- am force-stop: https://cs.android.com/android/platform/superproject/+/maste...
and so on...
[0] https://source.android.com/compatibility/cts
[1] adb commands used by UAD: https://github.com/0x192/universal-android-debloater/blob/28...
The command should generally work, sure, but that doesn't appear to require the command should work for all stock package names.
>Q: How is it possible to delete a system package without root permission?
>A: It's actually not possible. [more details on what can be done and what cannot]