Hello, or good evening. I'm Yume.
Recently, whenever I have some free time, I've been checking out the local Hard-Off, and I keep impulse buying little finds like a 4K HDMI capture box from Orico (4,950 yen), a Sony FeliCa reader (550 yen), and a small docking station from Dell (3,300 yen). I haven't found any bargain junk PCs yet, but I'll keep visiting in the hope that I'll have a good encounter someday.
Well, today's topic is about Android apps, which has nothing to do with junk PCs.
Yume's main smartphone is an iPhone, and since I often buy them at the Apple Store rather than through a carrier, I don't have to worry about carriers installing random profiles without my permission and messing up my home screen. However, many people have likely experienced the annoyance of Android devices sold by carriers coming packed with proprietary carrier apps, leaving behind persistent, undeletable notifications for apps they don't even use. I've used Android devices from docomo, Softbank, and au, and regardless of the carrier, they all come with tons of unnecessary apps.
Also, while this isn't a new issue, apps often referred to as bloatware are frequently pre-installed as if it were perfectly normal, and while MNP regulations are fine, I sometimes wish they would do something about this as well.
So, today I'm going to write an article about how to forcibly delete such apps, while also leaving it as a personal memo.
※ I have written a follow-up article.
Undeletable apps
In the case of iOS, there are basically no apps that cannot be deleted. In the past, some Apple-native apps could not be deleted, but now most of them can be. Of course, you cannot delete apps related to the system, but those don't even appear in the App Library, so it's very easy to understand.
In contrast, on Android devices, apps related to carrier services are installed as system apps and are set so that they cannot be deleted. The situation is different for Google Pixel and SIM-free devices, but it really makes you wonder: is it okay for them to not only eat up storage and battery with apps you don't use, but also make them impossible to delete?
By the way, I believe this situation is influenced by the difference in standing: Apple and Google use their overwhelming brand power to let carriers sell their devices, whereas many Android manufacturers are in a position where they have carriers sell their devices for them.
― So, what do you do?
Naturally, you delete them.
That said, the most you can do on the device itself is disable the app, and depending on the app, even that might not be permitted, so you need to find another way. That is where adb (Android Debug Bridge) comes in.
adb (Android Debug Bridge)
In short, it is a tool for developers, but there is a command to forcibly uninstall even system apps, and by using it, you can root out and delete pre-installed carrier apps.
Uninstalling system apps using adb
While including the standard disclaimer, I will now explain the uninstallation procedure. This is a task I have done many times in the past, but I always forget the steps if I don't Google them, so I decided to turn it into an article to serve as my own memo. I'm sure this is the umpteenth time someone has written about this, and there are others who explain it more clearly with images and such, so if you don't understand this article, please try Googling other articles. That said, if you don't understand the content of this article, I feel like you might be better off reconsidering the uninstallation.
Also, there are people who publish lists of package names for pre-installed apps by carrier, so I think it would be good to refer to that information as well. Yume also often uses them as a reference.
First, install adb on your PC. There are several ways to do this, but I think using winget for Windows or Homebrew for Mac is the easiest.
Some people may not have known that Windows now allows command-based package management, but I feel that Windows has become much easier to use compared to the past.
◆For Windows
winget install Google.PlatformTools
◆For Mac
brew install android-platform-tools
Next, enable Developer options on the target Android device. The menu structure varies slightly depending on the device, but for Google Pixel, open [Settings] > [About phone] and tap [Build number] repeatedly to make the Developer options menu appear in Settings.
Once Developer options are enabled, go to [Settings] > [System] > [Developer options] and turn on [USB debugging].
Once the preparation is complete, connect the PC where you installed adb to the Android device using a USB cable. Depending on the device, you may need to install drivers provided by the manufacturer, so if the following steps do not work, check whether the drivers are installed. When I tried this with a Galaxy S24, I had to obtain the drivers from the Samsung website.
adb devices
When you run adb devices from the terminal while the PC and Android device are connected, a confirmation prompt asking whether to trust the PC will appear on the Android device. Once you grant permission, the connected Android device will be displayed on the PC.
Getting the package listadb shell pm list package
Running the command above will display a long list of packages installed on the Android device. At first glance, it is hard to tell which app is which, so you would normally have to look them up one by one, but that is way too much work, so let's just ask an AI. Save the package list displayed in the terminal to a text file in advance and have the AI look it up by providing it with a prompt like the one below.
The key is to have the AI output in CSV format, as asking it to output as text can be slow and it may not output all lines.
Load the CSV into Excel or a spreadsheet, add a column for a flag to determine whether to delete, and set a filter to narrow down the list. Start by deciding line by line whether to actually delete the items, focusing on those the AI determined were safe to delete. It goes without saying that AI responses can contain errors, so do not take them at face value and always judge for yourself.
Uninstalling appsadb shell pm uninstall -k --user 0 パッケージ名
The deletion command is simple. Proceed with deletion by specifying the package names you have decided to delete one by one. If you want to delete them in bulk, it is faster to use VS Code to create a batch file and run it.
Note that even system apps will be uninstalled without question, so please be very careful when executing. Be especially careful when running as a batch, as it could lead to irreversible consequences. Since this is definitely an operation not intended by the manufacturer, if your device becomes unusable after uninstalling apps this way, you will not be covered by the warranty. This is strictly at your own risk.
What if I want to restore an uninstalled app?If you want to restore a deleted app, you can just install the package again. However, this depends on the Android version, so it may not be possible to install it this way on older Android versions.
adb shell cmd package install-existing パッケージ名
If you don't remember the package name but want to revert, or if you've gone too far and the device is acting up, the quickest way is to factory reset the device. However, don't forget to back up your data.
The trap of the Docomo Phonebook
I actually tried wiping carrier apps from a Docomo version of the Galaxy S24 using the method above, but for some reason, only the Docomo Phonebook remained uninstalled. When I looked into why, it turned out that it had the package name com.android.contacts and was mimicking the genuine Google Contacts app. I found it a bit scary, but I was able to resolve it by deleting it and installing Google Contacts from the Google Play Store. I haven't looked into it in detail, but there might be other similar apps out there.
Conclusion
I wrote this article as a personal memorandum, so I skipped some detailed explanations, but I hope it serves as a useful reference for someone. That is all for today. Bye-dew.
(I am laying to rest the rejected thumbnail image draft here)