I got a samsung galaxy folder 2: https://www.samsung.com/hk_en/smartphones/galaxy-folder2-g165/
It runs Android 6.0.1
Anyways I am not new to ABD and have used it to uninstall system apps on my other phone (Samsung S10) with no problems. So when I got the folder 2 and started removing system apps using pm unistall -k --user 0 as I did with my other phone. Then I decided to remove the contacts app (com.android.contacts) because I installed google contacts.
Well apparently, in doing so that contacts app actually housed the phone app as well. So now I have no phone app on my phone. That's kind of a big deal.
How do I re enable the contacts app using ADB?
My device is not rooted and I don't want to root it. Also I know factory resetting should fix this, but I'd prefer not to do that either. Thanks.
systempartition is mounted read-only and nothing can be added/removed without rooting phone.
pm uninstall --user 0 <packageName>to get rid of bloatware for the main user – so OP indeed meant that (the
--user 0is a good indicator).
.apkfile remains on the device (and the app available to other users, if there are any established). You can check that with
dumpsys package. Hence the
install-existing, basically telling the system to look for the