There are multiple ways to identify a unique device or its user:
Keep a file in some (non-default) directory: You already said this; apps can often write to the internal storage of a device. This method is easy, works offline and is not the easiest to spot (place the file in some system-like directory and nobody will bother deleting it).
Keep track of a ...
I found how pm disable works:
If you run cat /system/bin/pm, it gives:
# Script to start "pm" on the device, which has a very rudimentary
exec app_process $base/bin com.android.commands.pm.Pm "$@"
So apparently it is the same as the PackageManager we use from Java, it is calling it - just in ...
pm list packages -d 2>/dev/null
will list up all disabled packages, one per line, preceded with the keyword package: – so output looks like
So if you take that output and "grep" it for the package name in question, the package is enabled if the output is "empty" and disabled otherwise. ...
Provided that you've adb setup and functioning, use this command in a console:
adb shell pm block PACKAGE # for Android Kitkat
adb shell pm hide PACKAGE # for Android Lollipop
adb shell pm uninstall --user 0 PACKAGE # for Android Marshmallow and Nougat. This is bit tricky. Some reports its result positive, while others, negative. ...
Your Android need not to have root access for truly disabling an app, if you've version 4.4.x or above. All you need is adb setup in PC and USB debugging enabled in a non-rooted device, or a terminal emulator app for a rooted device (you can use adb too).
If you check Package Manger's (pm) usage, you would see
pm block [--user USER_ID] ...
On some Android versions you can use adb to disable apps that you would otherwise not be able to deactivate via the UI. The Debloater app linked to above automates and simplifies this process. This answer will explain how to perform the same process manually.
WARNING: Disabling the wrong app or using the wrong commands can leave your device soft-bricked. ...
I know you can freeze and thaw an app using Titanium Backup Pro, which I have. But that would require manually going in to TiBu and doing the freeze/thaw commands each time.
You're wrong about that part. Try this:
look for a free place on your homescreen
select to add a widget
scroll to Titanium Backup
select the item to (un)freeze an app
Most apps on android are safe to disable, however some can have some pretty bad side effects. This however depends on what your needs are. You can disable the camera for example but it will also disable the gallery (at least as of kitkat and I believe Lollipop is the same way).
Android does have some core applications that are essential to the function of ...
Disabling system apps won't free up your space, since they are disabled, not deleted. They are still stored in your system (since you can re-enable them), and besides, they are in /system partiton, whereas the apps you download are on the /data partition, therefore, even if you did free-up the space, you wouldn't be able to use it since it's located on the /...
Requires root (at least on 6.0.1). System permissions (uid<=1000) is required but adb runs as userid 2000.
The Package Manager (pm) will do exactly what you want.
In either adb or Terminal Emulator (both require root), run the pm command and you can see its capabilities.
We look at 2 of them:
pm list packages
pm disable <package>
pm list ...
You can change the behavior of holding home button even as non-root user (at least on my LG G Flex 2 with Android version 6.0.1):
Settings - Apps - Configure apps - Default Apps (in Advanced section) - Assist & voice input - here touch the text "Assist app Google app" not the icon on the right edge - here select None.
There is no way to disable an app for some users of a device but not others; it's possible to freeze an app using a third party program (ie, disable it by changing it's permissions so it can't run) but that will disable it for all users. Android apps and services don't distinguish between physical users of a device - they all run using a single logical ...
Sorry, but you have to root in order to do this. There is no other way.
(optional) Install Titanium Backup and backup your phone. If you mess something up you can restore your phone using this
Now use an app called System App Remover to select the app you want to delete. You will have to grant superuser permission for it to work
Is it safe to disable com.android.systemui? from Stack overflow :
If you completely remove SystemUI.apk from the system, your device will hang on start-up and never fully boot again. Tried it before. ;) Framework-res and the system have some dependencies on SystemUI.
Please also read the comments where OP did what you proposed and is warned that it could ...
If you have root, you move the app to /system/priv-app; privileged system apps can't be disabled through normal user methods.
Otherwise, it's up to the application to support Device Administration. Apps like Norton App Lock should be implementing this if they don't already, since this kind of thing is exactly what it's designed for. Registered and ...
This is mostly speculation, but mediaserver is probably what is used to play all and any sound on android. Some app was probably using mediaserver inappropriately, causing it to show as using excessive battery.
logcat2 is probably the process used for logging output, and is where many debug and error messages are sent to.
Outright deleting them probably ...
See Determine the package name of your app to get the package name of the concerned app and use adb shell to execute these commands:
pm disable PACKAGE # disables the app and hides it in Settings -> Applications
pm hide PACKAGE # alternative; for Android Lollipop and above
cmd package suspend PACKAGE # ...
WARNING Uninstalling system applications can be dangerous so please know what you’re getting rid of before you complete these steps. Failing to do so could result in your phone becoming unusable until you perform a factory reset. Of course, by removing any given system ...
If you run adb shell pm you would find many options and parameters for pm. One of the parameter is -u to show uninstalled packages. (Hidden packages are treated as uninstalled packages.)
On an unrooted device, make a list of all the packages and then all the packages plus the hidden ones. Compare them and the uncommon entries in the second list would be the ...
Have you tried resetting the Play Store?
It is possible (although very unlikely) that the Play Store has failed to detect that the apps have been disabled.
Go to Settings → Apps → Play Store → Storage → Tap the Clear data button.
Note: This will reset all your Play Store settings (update settings, notification settings etc.) to default. You might have to ...
Yes, they achieve the same thing. Not only the app would not be available in the app drawer but the app cannot be launched using am start too. The only difference is that default mechanism allows you to disable specific pre-installed apps while Titanium Backup would allow you to disable any app.
For Android version like 4.2.1, when you disable a pre-...
Like you said, there is no way to update via Google Play if an app is frozen/disabled.
The only way to get the update from Google Play would be to unfreeze/enable it, but this isn't what you want.
The only other way to update an app would be to find out if the developer provides a spare APK to download - if they do then you can sideload this APK.
The "disable" buttons will essentially "freeze" a system application.
System applications are the applications that come pre-installed on your phone - unremovable apps such as the browser, the gallery, the people app, and so on. Disabling one of these apps will stop the app from doing anything. It'll be removed from the app menu, other apps will no longer ...
Yes, there is another way :)
You are lucky because you have Android Kitkat version. Just use tool Debloater by Gatesjunior from XDA: http://forum.xda-developers.com/android/software/debloater-remove-carrier-bloat-t2998294
The program requires that your manufacturer USB drivers are installed for your specific device as well as the following:
Disabling the Google App (com.google.android.googlequicksearchbox) may cause the Voice Input button on some standard keyboards (including the AOSP keyboard) to not appear or not work.
Some alternate keyboards, such as TouchPal, will allow downloading a separate speech-to-text package from Google. Other keyboards, such as Swype, do not require any Google ...
In order to uninstall apps on touch-wiz, go to the apps folder then tap the left soft button. Now tap uninstall and touch the minus button for the app you want to remove. Finally, tap yes when it says "(App you chose) will be uninstalled". Here is a video showing how to do it: https://www.youtube.com/watch?v=TYL6nYapr7I
Also, while I realize this might ...
It is not connected to storage, but to the cloud. That is how it remembers even though you deleted your data. In order to switch this off, go to your device's settings app, tap accounts google under personal (tap account you want if you have multiple accounts), then switch off the apps you don't want to auto-sync.