How to disable OTA on Android 11? - Android Q&A, Help & Troubleshooting

My Sony Xperia running Android 11 is asking me to upgrade to Android 12, which I have no intention to do.
As the Software Update App can no longer be disabled in Android 11 and it's notifications can no longer be hidden, I am looking for alternative way to disable these Software Update notifications.
What could be the ways to do that?
Any `adb shell pm` command?
Blacklisted Software Update domains via custom DNS? If so, what are the DNS for these updates to blacklist?
Thanks
P.S. I am not considering to root it ATM.

Solution looks to be
Code:
adb shell pm disable-user --user 0 com.sonyericsson.updatecenter

Related

New Android update, cannot use ADB to remove bloatware anymore?

I have a Huawei watch which comes bundled with some bloatware. Before, I was able to use the ADB command to hide and disable some of the unwanted system software without having to root the watch (so as to not void warranty). It's detailed here on how to use the "adb pm shell hide" command:
https://www.reddit.com/r/Android/comments/3eav7t/get_rid_of_unwanted_system_apps_adb_shell_pm_hide/
However, recently I had to do a factory reset and the bloatware has re-appeared. I tried to do the "adb pm shell hide" command to disable the apps and got a "error: java.lang.security exception: permission denial" in the command prompt window. After some Googling, it seems this is as a result of a recent Android update which may have tightened this up as you can no longer use this command on any Android device to kill bloatware.
So does anyone have any ideas for anything else to try? Or will I have to root my watch and forcefully remove the bloatware?
Thanks!

[MOTO G8+] "You cannot install this app because another user..."

Hi,
I want to reinstall a Motorola firmware app.
I uninstalled the firmware a year ago on my Moto G8+ with adb using the following command:
"pm uninstall -k --user 0 com.motorola.faceunlock"
Now when I want to install the app from the Play Store I can't. I get the following error message:
"You cannot install this app because another user has already installed an incompatible version on this device."
Click to expand...
Click to collapse
I already tried a few things I found in other threads and forums but nothing really worked. I'm a single user, however the guest function allows me to find the Moto face unlock App as an installed app. In settings I can't find any option that allows me to "uninstall the app for all users" or to "reinstall" or "restore" it. Factory Reset is not an option for me.
I was thinking about maybe reinstalling the package via adb for the main user again, if that's possible? I only have little knowledge about adb.
Has somebody an idea or command I could try out?
Thanks in advance
@sokrvtxs
The ADB command you used removed the the mentioned system-app ( leaving its data untouched ) only for user 0, that's the current user, what means that the deleted app still remains available for other users of the Android device - it didn't get removed from device's storage space at all. That's basically a good thing because you can easily restore an app if you uninstall it by mistake or need it later.
This brings the system-app back:
Code:
adb devices
adb shell "cmd package install-existing com.motorola.faceunlock"
adb reboot
If your Android is rooted then you can update the system-app in question
Code:
adb devices
adb push <PATH_TO_UPDATE_APK> /data/local/temp
adb shell "pm install -r /data/local/tmp/<UPDATE_APK>"
adb shell "rm /data/local/tmp/<UPDATE_APK>"
adb reboot
Thank you so much, my phone is not rooted. The first code worked and my issue is solved completely. This helped me a lot.

Disabling unwanted apps through ADB

Hi guys,
Just purchased a Moto G8 Power and want to disable som Google preinstalled apps that I won't use.
I've already done this on a Huawei P30 Pro so I know how to do it.
Here are my questions.
If I disable the unwanted apps through ADB will this prevent future OTA updates?
Also, will future OTA updates reactivate the apps that I disabled through ADB?
Thanks!
Assuming you are rooted. Why disable when you can completely remove apps you consider to be bloatware?
The uninstall command to using in ADB is:
Code:
adb shell pm uninstall -k --user 0 PASTE_PACKAGE_NAME_HERE
Use the command below to get a list of the installed package apps on your phone. You want to use the part that starts with: com.some_package_name when using the command above to uninstall an app from your phone using ADB.
Code:
adb shell pm list packages
This version of the same command should help you find the list of packages associated with the facebook app so you can nuke it from orbit.
Code:
adb shell pm list packages facebook
This worked on my 2020 Moto G Power phone and I hope it works for you. And yes I know most of this can be found by doing a search online.

Question ADB to change button order of Navigation bar

Hi,
I've tried all the ADB commands for previous android version but it is not working on the Pixel 6 android 12.
I've tried
adb shell settings put secure sysui_nav_bar 'space,recent;home;back,space'
adb shell
settings put secure sysui_nav_bar "space,contextual;home;back,space"
Anyone know if android 12 they changed something to make it not work?
bump. why did they remove this

Question ADB command to stop update app

Hi all,
Two things.
I am trying to find the file the phone downloaded to upgrade to A12 but I cant find it. I didn't upgrade but I am sure the file was downloaded. I have tried to find it connecting the phone to the laptop, I have not root (not sure if a I need it)
The thing is that I dont want to upgrade the system to A12 but the phone has already downloaded the file. I would like to delete it. Please note that I have just taken the mobile from the box and I had updated via OTA to the last A11 firmware.
Another question, I also have a oneplus nord 1 and could stop the update app using this adb commands:
cmd
adb shell
adb shell pm disable-user --user 0 com.oneplus.opbackup
But they dont work in the oneplus nord 2. I get the message "inaccessible or not found". Is there any other command for oneplus nord 2?
Thanks!
superpascu said:
Hi all,
Two things.
I am trying to find the file the phone downloaded to upgrade to A12 but I cant find it. I didn't upgrade but I am sure the file was downloaded. I have tried to find it connecting the phone to the laptop, I have not root (not sure if a I need it)
The thing is that I dont want to upgrade the system to A12 but the phone has already downloaded the file. I would like to delete it. Please note that I have just taken the mobile from the box and I had updated via OTA to the last A11 firmware.
Another question, I also have a oneplus nord 1 and could stop the update app using this adb commands:
cmd
adb shell
adb shell pm disable-user --user 0 com.oneplus.opbackup
But they dont work in the oneplus nord 2. I get the message "inaccessible or not found". Is there any other command for oneplus nord 2?
Thanks!
Click to expand...
Click to collapse
The OTA file is located on a partition that you cannot access.
Thanks to the ADB AppControl, it is easier to find services/applications responsible for downloading and notifying about updates.
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
ze7zez said:
The OTA file is located on a partition that you cannot access.
Thanks to the ADB AppControl, it is easier to find services/applications responsible for downloading and notifying about updates.
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com
Click to expand...
Click to collapse
Sure. Like Google play services. There is a thread here about what to disable. Cheers.

Categories

Resources