Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Eventually I used adb to uninstall a bunch of stuff, but they're still taking up storage space even if I can't see them. Absurd.

So you didn't uninstall them, you disabled them.



> So you didn't uninstall them, you disabled them.

No, I installed them.

Samsung had marked them as being non-uninstallable via the Android Settings UI, so I used `adb -d shell pm uninstall --user 0 <packagename>` to forcibly uninstall them, although (as I said) the code is still in the rom.

Simply disabling them could be done using the UI, or with `adb -d shell pm disable <packagename>`, but they'd still be cluttering the apps list - which is not what I wanted.


uninstalling should not work at all on at least some of those apps, as they will exist on the read-only system partition (that only gets touched when the phone updates).


It worked for me. I assume it removes them from the OS's database of installed apps, even though it doesnt remove the executable code.

I wrote some notes at https://andyjohnson.uk/blog/2021/07/17/cleaning-up-a-samsung...


The APK for the apps you 'uninstalled' via the 'pm uninstall' command still exist in the system/product/system_ext/etc partitions, that's why they still take up space.


Yes, I know that and said so in my original post.

The point of uninstalling them was to remove them from my experience of using the tablet.


If you really uninstalled them they would not be taking storage space, this is merely just disabling them if APK is still present.


Yes, I know that and said so in my original post.

The point of uninstalling them was to remove them from my experience of using the tablet.


You are misusing word "uninstalling" for "disabling", that was my point.


No. I uninstalled them with adb's uninstall command. If I'd wanted to disable them then i would have used adb's disable command.

"Uninstall" and "disable" have specific meanings wrt Android. If you have issues with the terminology then you should probably take it up with the Android team.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: