uninstall pre-installed apps without Rooting

uninstall pre-installed apps without Rooting

what is Rooting ?

  • Rooting an Android device gives users full control over their device. They can install custom ROM's, which are modified versions of the Android operating system. Rooting can also be used to improve the performance of a device or to remove bloatware, which is unwanted software that is pre-installed on many devices.

  • Problem is Rooting an Android device voids the warranty because it gives users access to system files and settings that are normally hidden from them. This allows users to make changes that could potentially damage the device or make it unusable. Manufacturers can detect rooting and use it as a reason to deny warranty claims.

uninstalling apps without Rooting

  • we'll be using adb (Android Debug Bridge)
  • Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps. adb provides access to a Unix shell that you can use to run a variety of commands on a device

ADB in windows

  • As most people use windows this blog will be for windows enable USB debugging on you'r Android device
  • set user permission Set-ExecutionPolicy RemoteSigned -scope CurrentUser
  • Installing scoop
    iwr -useb get.scoop.sh | iex
    
  • Installing abd
    scoop install adb
    
  • Allow USB debugging

    adb devices
    

    usbdebugging

  • Enter adb shell

    adb shell
    
  • In phone this app helps to find name of app package

appinspector

  • Unistall pre-installed app, for instance if i want to delete camera app i'll enter com.android.camera at the place of NameofPackage
    pm uninstall -k --user 0 NameOfPackage