Android development
Raiting:
5

How to remove "non-removable" applications from a smartphone


To increase the attractiveness of smartphones, manufacturers put as many different programs on them as possible. This is clear. Just take and delete the unnecessary ... Stop.

It turns out that some programs cannot be removed. For example, on selected Samsung models unable to delete Facebook (there is only the 'disable' option). They say that the Samsung S9 also comes with Microsoft's "non-removable" apps preinstalled.

These smartphones are for example. The same problem with other models. Many have non-removable programs from the manufacturer itself.


All this must be cleaned up.
There are very few examples of models that do not have extra programs. For example, when the first iPhone came out, Apple firmly fixed the package of installed applications, so AT&T was unable to add its usual garbage there.

There is also an example of smartphones from Google starting with the Google Phone G1 in 2008, then the Nexus line and up to the current Pixel (Pixel 1, 2 and 3). On them, too nearly no garbage, except for too many Google applications, which are also supposedly systemic and are not completely removed. Well, and a small number of third-party non-removable applications. For example, the Nexus5 has HP Cloud Print hardwired. But more on that later.

In principle, according to this logic, numerous applications from Apple on the iPhone can be considered unnecessary garbage. To be precise, there are 42 preinstalled apps on iPhone, not all of which easy to remove : App Store, Calculator, Calendar, Camera, Clock, Compass, Contacts, FaceTime, Files, Find My Friends, Find My iPhone, Game Center, Health, Home, iBooks, iCloud Drive, iMovie, iTunes Store, iTunes U, Keynote, Mail, Maps, Messages, Music, News, Notes, Numbers, Pages, Passbook, Phone, Photos, Podcasts, Reminders, Safari, Settings, Stocks, Tips, TV, Videos, Voice Memos, Wallet, Watch, Weather.

There are 29 preinstalled applications on Android, and some of them also cannot be removed by standard tools: Android Pay, Calculator, Calendar, Camera, Chrome, Clock, Contacts, Docs, Downloads, Drive, Duo, Gmail, Google, Google+, Keep, Maps, Messages , News & Weather, Phone, Photos, Play Books, Play Games, Play Movies & TV, Play Music, Play Store, Settings, Sheets, Slides, YouTube.

Note: The method described below allows you to uninstall any of these applications.

However, we are talking primarily not about garbage in the default operating system, but about other situations when a third-party manufacturer like Samsung fills its smartphone with a huge bunch of non-removable programs, from its own proprietary applications to Facebook and Microsoft programs. Other manufacturers do the same.

Why are they doing that? Well, obviously because of the money. Under partnership agreements, it costs only money to install partner programs. And install the same programs in the form unremovable - already completely different money. This is just a guess.

It's just amazing though. We pay hundreds of dollars for a Samsung phone! And they also want to snatch a couple of bucks on partnership agreements!

image
There is no option to uninstall the application

Facebook has always stated that "disabling" an application is the same as deleting it. Although it (the application) then takes up a little space in memory, it should not show any activity or collect data. But lately, people have lost their trust in Facebook so much that they don't even believe that. Like, why is it not completely removed from the system?

Facebook and Microsoft have been making agreements with phone makers and carriers around the world for years. Financial terms were not disclosed. Facebook also refuses to say what specific partners it has deals with for non-removable apps.

However, they are "non-removable" only theoretically. In practice it is enough to open ADB (Android Debug Bridge) and run a couple of commands.

The phone must have USB debugging enabled and the USB device driver must be installed on the computer.

You can download ADB for different operating systems using the following links:


Windows

macOS

Linux

We extract the contents of the zip archive to any convenient place, and already there we launch the console window.

Now let's get started.

pm list packages | grep '<OEM/Carrier/App Name>'
lists installed packages.

pm list packages | grep 'oneplus'
package:com.oneplus.calculator
package:net.oneplus.weather
package:com.oneplus.skin
package:com.oneplus.soundrecorder
package:com.oneplus.opsocialnetworkhub
package:cn.oneplus.photos
package:com.oneplus.screenshot
package:com.oneplus.deskclock
package:com.oneplus.setupwizard
package:com.oneplus.sdcardservice
package:com.oneplus.security
package:cn.oneplus.nvbackup
package:com.oneplus.wifiapsettings

Alternatively, you can install a free program on your phone Application inspector ... It will show detailed information about all installed applications, their permissions. In addition, it can extract (download) APK files for any installed application.

To remove a specific package, run the following command:

pm uninstall -k --user 0 <name of package>
It works without rooting.

For the "non-removable" programs mentioned at the beginning of the article, it looks like this:

Facebook
pm uninstall -k –user 0 com.facebook.katana
Facebook App Installer
pm uninstall -k –user 0 com.facebook.appmanager
Microsoft OneDrive
pm uninstall -k –user 0 com.microsoft.skydrive
Microsoft PowerPoint
pm uninstall -k –user 0 com.microsoft.office.powerpoint
Microsoft OneNote
pm uninstall -k –user 0 com.microsoft.office.onenote
… etc.

By the way, it's really better to remove Facebook apps because they collect and send to the company a huge amount of personal data about all aspects of your business. To get an idea of the amount of data collected, take a look at this chart. It compares what data different messengers collect about you: Signal, iMessage, WhatsApp and Facebook Messenger.

image
A source: 9to5Mac

Facebook Messenger literally sucks everything it can. Signal, on the other hand, is much more respectful of users. This is understandable: this is a privacy-focused crypto messenger.

It is clear why Android cannot remove system applications using standard tools. But the list of "system" applications is also ambiguous. For example, the listed packages can hardly be called system packages. But it is also impossible to remove them using standard means, just disable (disable):


Google Play Music

Google Play Movies

Google Play Books

Chrome

YouTube

etc.

However, the above method allows you to completely remove them too.

For instance:

Google Play Music
pm uninstall -k –user 0 com.google.android.music
Google Play Movies
pm uninstall -k –user 0 com.google.android.videos
etc.

Moreover, the method is generally suitable for any system component.

For instance:

pm uninstall -k –user 0 net.oneplus.launcher
... and we get rid of the built-in launcher forever.

Note with xda-developers forum ... As for system applications, they will appear again after a factory reset. This means that they are still not really deleted from the device, but are simply deleted for the current user (user 0). That is why the adb command does not work without 'user 0', and this part of the command just specifies to delete only for the current user, but the cache / data of the system application will still remain in the system. And that's a good thing, because even after removing the system app, the phone can still receive official OTA updates.

ICQ (for messaging);
Papay 26 february 2021, 11:10
Vote for this post
Bring it to the Main Page
 

Comments

Leave a Reply

B
I
U
S
Help
Avaible tags
  • <b>...</b>highlighting important text on the page in bold
  • <i>..</i>highlighting important text on the page in italic
  • <u>...</u>allocated with tag <u> text shownas underlined
  • <s>...</s>allocated with tag <s> text shown as strikethrough
  • <sup>...</sup>, <sub>...</sub>text in the tag <sup> appears as a superscript, <sub> - subscript
  • <blockquote>...</blockquote>For  highlight citation, use the tag <blockquote>
  • <code lang="lang">...</code>highlighting the program code (supported by bash, cpp, cs, css, xml, html, java, javascript, lisp, lua, php, perl, python, ruby, sql, scala, text)
  • <a href="http://...">...</a>link, specify the desired Internet address in the href attribute
  • <img src="http://..." alt="text" />specify the full path of image in the src attribute