생활 IT Tip

[Android] 루팅없이 Android 시스템 앱을 비활성화 하는 방법 | How To Disable Android System Application Without Root | Easy Method

AC 2021. 5. 27. 00:01


 

휴대폰을 구매를 하면 제일 먼저 볼 수 있는 앱들이 시스템에 기본적으로 설치된 앱들이다.

사실 사용하지도 않는 앱들은 용량만 차지하지 불편하기 짝이 없다. 이 때, 보통은 루팅을 해서 시스템 앱을 삭제할 수 있지만 그렇게 하지 않고도 시스템 앱을 삭제 할 수 있는 방법이 있다.

실제로 이 방법을 사용하면 시스템 앱을 비활성화 할 수 있다. 그리고 나중에 마음이 바뀌면 다시 활성화를 할 수 있어서 제거하는 것보다 훨씬 더 나은 전략이 될 수 있다.

 

이 방법을 사용하기 위해서는 전제 조건이 필요하다. PC가 필요하며, USB 디버깅이 활성화가 되어있어야 한다. 그리고 Android ADB를 설치한 다음, ADB를 통해 Android 장치를 컴퓨터에 연결해야 한다. 

 

1. USB 디버깅을 활성화 한다. (개발자 모드가 활성화 되어야 한다.)

2. Android ADB를 설치한다.

3. USB로 PC와 연결한다.

 

ADB가 저장되어 있는 경로에서 adb를 실행한다.

루트없이 시스템 앱 비활성화하는 방법을 이제 알아보겠습니다.

다행히 Android는 기본적으로 시스템 앱 비활성화를 지원합니다. 

그러나 OEM은 일부 앱에 대해 이 기능을 비활성화합니다. 즉 차단한다는 것이죠.

예를 들어 Xiaomi는 보안 및 설정 앱을 포함하되 이에 국한되지 않는 핵심 앱에 대해 이 기능을 비활성화합니다.

ADB를 사용하면 Android에서 기본적으로 비활성화 할 수없는 경우에도 시스템 앱을 비활성화 할 수 있습니다. 더 재미 있는 것은 이 방법은 루트, 즉 수퍼 유저 액세스없이 작동합니다.  루팅을 안해도 된다는 것이지요.

먼저, 이 트릭을 사용하여 비활성화 하려는 앱의 앱 패키지 이름  확인해야합니다 .

모르는 경우 App Inspector 와 같은 앱을 사용할 수 있습니다. 앱에 대한 정보를 얻으려면 또는 다음 사진과 같이 Play 스토어에서 앱의 링크 (웹 주소)  찾을 수 있습니다.

 

 

분명히 알 수 있듯이 Google 크롬의 패키지 이름은 "com.android.chrome"입니다. 패키지 이름을 알고 나면 콘솔에서 다음 명령을 실행하십시오 .

adb shell pm disable-user --user 0 <package_name>

예를 들어 다음은 Google 크롬을 비활성화하는 명령입니다.

adb shell pm disable-user --user 0 com.android.chrome

 

 

이게 전부입니다. 이 방법을 사용하면 휴대폰의 모든 시스템 앱을 비활성화 하여 사용하지 않는 앱들을 비활성화하고, 더 많은 용량을 확보할 수 있습니다.

 

루트없이 시스템 앱 다시 활성화 하는 방법

기기에서 다시 사용설정을 해야할 앱의 패키지이름을 알고 있어야 합니다.

그렇지 않은 경우 단계를 수행하기 전에 이름을 확인해야 합니다. 이를 확인하는 명령어는 다음과 같습니다.

adb shell pm list packages -d

위의 명령은 비활성화된 패키지를 표시하므로 패키지 이름을 빠르게 가져올 수 있습니다. 앱의 패키지 이름을 알고 나면 다음 명령을 실행합니다.

adb shell pm enable <package_name>

예를 들어 다음은 Google 크롬을 활성화하는 명령입니다.

adb shell pm enable com.android.chrome

 

 


Although the smartphone manufacturers — say Samsung and Xiaomi — have decreased the amount of bloatware in their devices, Android devices aren’t free of bloatware yet! If you want full control of your device, these apps become obstacles in your way. So, it brings us to the question: what’s the solution?

If you don’t know about bloatware, they’re the unnecessary pre-installed apps , which you don’t or hardly use regularly. For example, you may not use Google Chrome(maybe you prefer Mozilla Firefox), but it’s still installed in your new smartphone, isn’t it? Fortunately, there’s a trick to remove all bloatware.

Actually, the trick allows you to disable bloatware. And, it’s a better strategy than removing bloatware since you can re-enable them if you later change your mind. That said, let’s check the solution; but first, here’s a prerequisite.

Prerequisite: You must install Android’s ADB on your system, then connect your Android device to your computer through ADB. Here’s a quick tutorial 4.

image706×521 67.9 KB

Disable a System App without Root

Fortunately, Android supports disabling system apps natively; however, OEMs disable this feature for some apps.

For example, Xiaomi disables this feature for its core apps including but not limited to its security and settings apps.

Using ADB, you can disable a system app — even if you can’t disable it natively in Android. What’s more interesting? This trick works without root, i.e., superuser access. Alright then, let’s check the no-root trick to disable system apps.

First of all, you must check the app’s package name for the app you’re looking forward to disabling using this trick.

If you don’t know, you can use an app like App Inspector 3 to get such information about an app. Alternatively, you can look for the app’s link (web address) in the Play Store, as shown in this photo:

image1200×920 189 KB

As it’s evident, the package name for Google Chrome is “com.android.chrome”. Once you know the package name, run this command in the console :

adb shell pm disable-user --user 0 <package_name>

For example, here’s the command to disable Google Chrome:

adb shell pm disable-user --user 0 com.android.chrome

image706×378 104 KB

That’s all; this trick will enable you to disable any bloatware on your smartphone, allowing you to disable unused apps and gain more power and speed !

Re-enable a System App without Root

If you already know the app’s package (like “com.android.chrome”) that you need to re-enable in your device, it’s good.

If not, you must check the app’s package name before following the steps. Here’s the command for checking them:

adb shell pm list packages -d

image706×378 92.5 KB

The above command shows the disabled packages, so you can get the package name quickly . Once you know the app’s package name, run this command:

adb shell pm enable <package_name>

For instance, here’s the command to enable Google Chrome:

adb shell pm enable com.android.chrome

image706×378 99.8 KB

Congrats; the disabled app will get re-enabled in your device. You can use the re-enabled app just like any other application on your smartphone.

If you can’t re-enable an app, restart the device , then try to run the above command.

Tips and Tricks for Avoiding Problems

Let’s check some basic tips and tricks to help you avoid common problems.

1. You must know the app before disabling it.

Please don’t try this trick to disable a crucial app on your device. For example, MIUI System Launcher (“com.miui.home”) is a crucial app (especially if you don’t have any other app launcher installed on your smartphone).

If you disable this app, your device may give continuous errors or stop responding at all.

2. If you disable, re-enable the app immediately.3. An app is getting re-enabled again. How come?

Smartphone manufacturers are smart enough to add security measures for discouraging people from hacking into their devices. If you disable an app, you may see it again — re-enabled!

There may be another app from the manufacturer that may re-enable a disabled system app. In this case, you must find the other app and disable it too. But, don’t forget the tips #1 and #2 from above.

That’s all about disabling system apps in Android using ADB (Android Debug Bridge). (Source: hongkiat)

Enjoy!

LIST