I have a Samsung Galaxy on7, running on Android 6.0.1.

It has a lot of pre installed apps that I consider bloatware. I want to remove them completely from the phone.

Recently, I tried removing these apps as per this video:

Video 1

But soon I found that it does not delete the system files, because that is not possible without root.

I also found that I can root my phone using adb. The procedure (on a different phone, though) is here:

Video 2

After rooting and installing magisk, I want to delete the system files from adb using the following command (say, to remove google photos):

adb shell rm -f /system/app/Photos/Photos.apk


adb shell rm -f /data/user/0/com.Google.android.apps.photos

Two questions on this:

  1. Is this possible to be done on my device? Any precautions?

  2. Is there any way to backup the system files before deleting it?

  • 1
    Get Titanium Backup. You can backup and delete anything then as long as you have root.
    – user202027
    Aug 28, 2018 at 15:01
  • 4
    Be aware that in modern devices it is often better to disable the apps than to remove them. Removing system apps will not gain you any storage space and could cause a huge issue if you ever attempt to take an OTA update in the future.
    – acejavelin
    Aug 28, 2018 at 15:07
  • 2
    Firelord recently wrote how to uninstall apps for a specific user (see here and the command with --user). Maybe that's a road to investigate. But as @acejavelin wrote: try disabling the app first and watch out for side-effects. Always easier to re-enable than to re-install ;)
    – Izzy
    Aug 28, 2018 at 20:57
  • 1
    Possible duplicate of How can I uninstall applications that are locked by phone vendor?
    – Firelord
    Aug 29, 2018 at 16:08


You must log in to answer this question.

Browse other questions tagged .