Page 1 of 1

App Freezer

Posted: 26 Jul 2013 16:15
by ahmadmll
Is there a way that freeze a special app by automagic?
I can create flow that rename .apk to .apk.bak but by this way we can disable app not freeze and it need to reboot device after rename.
have you an other way???

Re: App Freezer

Posted: 27 Jul 2013 12:25
by Martin
Hi,

You can disable/enable an app using Execute Root Command: pm disable <package name> and enable again using Execute Root Command: pm enable <package name>.

Following post lists some more actions that might be interesting:
http://automagic4android.com/forum/view ... f=5&t=1825

Execute Root Command: pm lists all available options of the pm command in the log of Automagic.

Regards,
Martin

Re: App Freezer

Posted: 27 Jul 2013 18:54
by ahmadmll
Martin,this action can kill app process, i want an action to freeze app (hide app icon from app menu,disable it)
I searched on internet and i understand that we can freeze app by rename app apk file to apk.bak,this way need to restart after renaming.
Can you suggest an other way to useful?????

Re: App Freezer

Posted: 28 Jul 2013 11:37
by Martin
Hi,

Execute Root Command: pm disable <package name> works for me. I assume it also kills the running processes of the app.
For example to disable Twitter:
Execute Root Command: pm disable com.twitter.android

This removes the Twitter app from the app drawer (on stock Android 4.2).

Regards,
Martin