Apps like Link2SD and Titanium Backup are able to "freeze" other apps, that is disable them without removing them. What do these apps do to achieve this?
Answer
Titanium Backup etc just use in-built Package Manager (pm)
to freeze an app. pm
has a feature to prevent apps from running & from appearing in Launcher. To use it, Titanium Backup etc execute following command:
You can freeze apps by yourself without using a dedicated freezer app. Just use the above command in Terminal Emulator or ADB Shell
.
For example, if you want to freeze Stock Web Browser
, open Terminal Emulator
& switch to root using su
command. Then, execute # pm disable com.android.browser
.
It'll return #Package com.android.browser new state: disabled
. Done!
Restart your Launcher (some devices may require reboot) to see the app icon gone.
To defrost the app, just replace disable
with enable
in the command.
No comments:
Post a Comment