Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

2 votes
0 answers
3642 views
Why can't I uninstall/disable all bloatware through ADB without root?
I recently tried to disable bloatware in my cheap Vivo and Oppo smartphones. These apps named Themes, Game Center, Hot Games, etc. keep giving me notifications that can't be disabled through the UI. The notification settings are on by default and greyed out (can't be changed). And obviously the appl...
I recently tried to disable bloatware in my cheap Vivo and Oppo smartphones. These apps named Themes, Game Center, Hot Games, etc. keep giving me notifications that can't be disabled through the UI. The notification settings are on by default and greyed out (can't be changed). And obviously the application can't be disabled/hidden with the menu either. *(To at least suppress the notifications, see **Edit** at the bottom.)* Using ADB, I tried the usually recommended commands such as pm disable-user --user 0 com.bbk.theme and got hit with: Exception occurred while executing 'disable-user': java.lang.SecurityException: Cannot disable com.bbk.theme no root permission I was confused, and googled the issue. Based on XDA and Reddit threads I read, the claim that ADB being able to disable/uninstall everything without root is basically a myth. Some people also experienced different errors such as Failure [DELETE_FAILED_OWNER_BLOCKED] or Failure [DELETE_FAILED_USER_RESTRICTED] For certain apps, manufacturers have disabled this method and several other workarounds. Like the workarounds mentioned in https://stackoverflow.com/questions/72006988/pm-uninstall-k-user-0-failure-delete-failed-user-restricted . None of them works anymore, even the freezing/ignore RUN_IN_BACKGROUND one. The often-suggested Canta and Shizuku on online threads also didn't work. So I wonder, why can't I uninstall/disable all bloatware through ADB without root, even though most people online keep insisting that this works? Some of my guesses for the reason: 1. The method still works with popular brands like Samsung. I haven't tried doing this with Samsung though. 2. Only the cheaper models have this issue. Because these bloatwares offset a lot of the manufacturing costs. 3. Regional difference. Perhaps some laws like EU's DMA prevent this issue. 4. The method still works on *some* bloatware. So people just assume it works for everything. 5. The internet commenters have older phones. Perhaps the manufacturers didn't disable this method back then. Perhaps someone more knowledgeable knows the actual answer. ----- ***Edit**: Digital Wellbeing's Focus Mode and Dashboard (0 allowed minute) can mostly suppress these bloatwares' notifications with some weird effects, because these bloatwares are considered as the "default applications" for things you do with the phone. For example, opening play store links by default opens these manufacturers' own app marketplace. Even though Google's Play Store is installed. Another example, trying to interact with files and images will trigger these manufacturers' built-in file managers and gallery, even though alternatives are installed. Of course these attempts failed, because the 0 minute restriction from Digital Wellbeing. Making you unable to do what you meant to do. Btw disabling their ability to open the relevant links under Default Applications doesn't work. Simply awful.* ***Edit 2**: That didn't last long. Now, Oppo's App Market kept giving me app recommendation notifications despite Digital Wellbeing. Same with Oppo's Weather Service. Both notifications can't be turned off. Really nasty stuff. Asking local forums just get me the usual "Just use ADB!" or virus accusations. At least Oppo's sketchy loan app Fineasy can be manually uninstalled on my phone. I heard some people weren't so lucky. I also read the news about Thailand Government banning that Oppo's shady app. Good for them.*
dictum (31 rep)
Apr 13, 2024, 09:05 AM • Last activity: Jun 15, 2025, 03:28 PM
1 votes
1 answers
2088 views
Silence or disable Lenovo user experience spyware notifications without root
I am trying to disable "Lenovo User Experience" notification that pops up every ~4h. I linked some info below on the specific issue which is also probably illegal in the EU, but obviously the tech giants squish all the ants that speak up about it. The apps with package names in question (not sure wh...
I am trying to disable "Lenovo User Experience" notification that pops up every ~4h. I linked some info below on the specific issue which is also probably illegal in the EU, but obviously the tech giants squish all the ants that speak up about it. The apps with package names in question (not sure which one causes it): - com.lenovo.tab_p11 (most likely) - com.lenovo.lfs (maybe) named authentication - com.tblenovo.whatsnewclient - com.lenovo.productivity.service **What I have tried so far:** The tablet system is made in such a way that forces the user to use Lenovo services, no matter how many times the message is declined it comes up again. As the app is a system app I cannot use the interface disable button (grayed out), this is not unusual and I had lots of success with adb on non-root devices like this. However it does not work. (I do not want to adb shell pm uninstall --user 0 as that cannot be reverted without reset in case something breaks) adb shell pm disable --user 0 com.lenovo.tab_p11 Exception occurred while executing 'disable': java.lang.SecurityException: Shell cannot change component state for com.lenovo.tab_p11/null to 2 at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21360) at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:21161) at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:2164) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:233) at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98) at android.os.ShellCommand.exec(ShellCommand.java:44) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21982) at android.os.Binder.shellCommand(Binder.java:929) at android.os.Binder.onTransact(Binder.java:813) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4621) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4459) at android.os.Binder.execTransactInternal(Binder.java:1159) at android.os.Binder.execTransact(Binder.java:1123) The notification settings are also blocked from the user for the spyware apps in question, so it is not even a matter of "shut up and take my data in the background". I am sort of an android enthusiast when it comes to de-bloating android, fun adb automation and rooting, but in this case my hands are tied and my knowledge is not enough unfortunately. **The exact answers I would be looking for are:** (tablet under warranty so no root!) - Is there a way to force notifications off, I could not find an adb command for that. - Other ways to try and disable the app Here are some resources on the exact details of the issue:
Gerge (11 rep)
Mar 13, 2022, 11:35 AM • Last activity: Sep 23, 2023, 02:15 PM
1 votes
1 answers
2044 views
How to uninstall default Samsung Dialer + Contacts + Call apps
I am Samsung One UI 3.1, Android 11 (no custom ROM/GSI, no root). I removed default Google apps and I also want to uninstall default Samsung Dialer + Phone + Call + Contacts apps via ADB after replacing them with FOSS ones. Samsung Phone apps: 1. com.android.phone 2. com.android.server.telecom 3. co...
I am Samsung One UI 3.1, Android 11 (no custom ROM/GSI, no root). I removed default Google apps and I also want to uninstall default Samsung Dialer + Phone + Call + Contacts apps via ADB after replacing them with FOSS ones. Samsung Phone apps: 1. com.android.phone 2. com.android.server.telecom 3. com.samsung.android.dialer 4. com.samsung.crane Samsung Call apps: 1. com.samsung.android.app.telephonyui 2. com.samsung.android.incallui Samsung Contacts app: com.samsung.android.app.contacts + there is WiFi calling, Spam ID, Call log backup, Blacklist number storage .. apps. I could not find clear info about which of these can be uninstalled without breaking any phone/call in the future. Which ones should not be uninstalled?
Halilb1978 (161 rep)
Jan 9, 2022, 08:33 PM • Last activity: Aug 26, 2023, 10:17 AM
0 votes
0 answers
577 views
Disable default SMS app on OnePlus
I'm trying to debranch my phone from OnePlus and Google as much as possible. In the last few days, I removed some packages and replaced them with FOSS & trusted companies' apps. I'm stuck though... I cannot find the default SMS packages and I don't know how to fix or make the new apps default apps....
I'm trying to debranch my phone from OnePlus and Google as much as possible. In the last few days, I removed some packages and replaced them with FOSS & trusted companies' apps. I'm stuck though... I cannot find the default SMS packages and I don't know how to fix or make the new apps default apps. I mean, lock them in the system as the OEM/provider does. All I can find now from OnePlus are:
~: adb shell pm list packages | grep sms
package:com.simplemobiletools.smsmessenger
package:con.android.smspush
~: adb shell pm list packages | grep oneplus
package:com.oneplus.calculator
package:com.oneplus.opscout
package:com.oneplus.opshelf
package:com.oneplus.account
package:com.oneplus.wallpaper
package:com.oneplus.wallpaperresources
package:com.oneplus.brickmode
package:com.oneplus.deskclock
package:com.oneplus.setupwizard
package:com.oneplus.camera.service
package:com.oneplus.push
package:com.oneplus.faceunlock
package:com.oplus.framework.rro.oneplus
package:com.oneplus.canvasresources
package:com.oneplus.opwlb
package:android.autoinstalls.config.oneplus
package:net.oneplus.launcher
Screenshot of terminal output
Triggered (11 rep)
Jul 6, 2023, 06:41 PM • Last activity: Jul 7, 2023, 12:29 PM
2 votes
0 answers
2472 views
How to disable app background data usage via adb without root
I'm trying to disable unnecessary apps and their background data usage on an Android 10 device, using the following commands: adb shell appops set package_name RUN_IN_BACKGROUND ignore adb shell appops set package_name RUN_ANY_IN_BACKGROUND ignore adb shell appops write-settings adb shell pm disable...
I'm trying to disable unnecessary apps and their background data usage on an Android 10 device, using the following commands: adb shell appops set package_name RUN_IN_BACKGROUND ignore adb shell appops set package_name RUN_ANY_IN_BACKGROUND ignore adb shell appops write-settings adb shell pm disable-user package_name **Question:** How to disable background data usage for the package with ADB without root access?
M. A. (840 rep)
Oct 30, 2022, 10:11 AM • Last activity: Oct 30, 2022, 01:58 PM
0 votes
0 answers
54 views
backend components for SMS on Oxygen
I took off all google apps and oxygen telemetry using root, but apparently I also took off something important. I'm now receiving all SMS about half an hour late and I can't send any. This problem persists even if I manually open the app. I changed the default SMS app to Signal, so I tried to revert...
I took off all google apps and oxygen telemetry using root, but apparently I also took off something important. I'm now receiving all SMS about half an hour late and I can't send any. This problem persists even if I manually open the app. I changed the default SMS app to Signal, so I tried to revert to the original 'messages' app by google, but that crashes on launch. I'm at a loss finding out what essential component I must have removed. Can anyone help out?
iHnR (191 rep)
Oct 7, 2022, 07:37 PM
5 votes
1 answers
4279 views
Can I delete old trichrome library under /data/app?
I have around 50 trichrome library folders in `/data/app` using around 3 gb. What varies is the alphanumeric string after the package name denoting version: `com.google.android.trichromelibrary_410408383-VgzblS0EY8swXcjTqN6reQ==` Can I delete all but most recent to clean my system and regain some sp...
I have around 50 trichrome library folders in /data/app using around 3 gb. What varies is the alphanumeric string after the package name denoting version: com.google.android.trichromelibrary_410408383-VgzblS0EY8swXcjTqN6reQ== Can I delete all but most recent to clean my system and regain some space? Or is it like WinSxS folder in Windows where all revisions of the same dll are stored for different programs to use? ###UPDATE AUGUST 2022### Latest Trichrome updates (I'm now on 511.209.733) seem to take care of old versions disinstalling them and leaving only the latest, no more need to manually delete in /data/app and /data/data
Ju Tutt (524 rep)
Nov 14, 2021, 05:57 AM • Last activity: Aug 23, 2022, 02:03 PM
Showing page 1 of 7 total questions