Skip to content

Instantly share code, notes, and snippets.

@prvn-pa
Created August 1, 2020 14:52
Show Gist options
  • Select an option

  • Save prvn-pa/bdc59862a8d520ecb1a5953e60af4253 to your computer and use it in GitHub Desktop.

Select an option

Save prvn-pa/bdc59862a8d520ecb1a5953e60af4253 to your computer and use it in GitHub Desktop.
Steps to disable system apps particularly in MIUI devices

How to disable unwanted system apps in MIUI

1. Enable developer options in mobile

  • Open Settings > About Phone
  • Tap 7 times MIUI Build to become Developer
  • Go to Advanced Options > Devloper Options
  • Enable USB Debugging
  • Now connect the mobile to the system
  • Open mobile and Accept Enable USB Debugging Mode

2. Install adb tools

  • In Arch install adb-tools by the following commands:
$ sudo pacman -Syu
$ sudo pacman -S android-tools
  • In Ubuntu,
$ sudo apt update && sudo apt upgrade
$ sudo apt install android-tools-adb
  • For windows,
  1. Download the adb files and extract it to C:\ like C:\adb
  2. Open the command prompt in the ADB binary's directory
  • For mac OS,
  1. Download the adb files and extract it to desired folder
  2. Open terminal and cd to the extracted ADB folder
  3. It is better to connect USB mode in mobile as "File Transfer (MTP)" in mac OS

3. Uninstall apps

  1. Make sure mobile is connected and USB debigging enabled
  2. In Linux Systems type the following command and go to step 3
$ sudo adb start-server
  1. In mac and windows, in the ADB binary folder, execute the following command:
adb devices (This will list the attached device.)
adb shell (It will show like $pine:/)
  1. Now open the phone and go to Settings > Apps
  2. Click the app you want to uninstall (Say for example MI Browser) and go to Manage apps click the three dots on the right side (or options, depending upon your model) and note the APK name. It should be like com.miui.mibrowser
  3. Now in computer, type the following commands in terminal
pm uninstall --user 0 app.package.name

for Mi Browser

pm uninstall --ser 0 com.miui.mibrowser

Once executed it should show Success message. And you can now see the app is disappered in your phone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment