停止 Android 操作系统自动更新

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3515410/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 10:34:41  来源:igfitidea点击:

Stop Android OS auto-update

androidauto-updateandroid-2.2-froyo

提问by DougW

We have a variety of devices for testing purposes, and now that Froyo is being pushed (to the Nexus One so far at least), we have to constantly dismiss upgrade requests. There is no apparent "stop asking me" button.

我们有各种各样的设备用于测试目的,现在 Froyo 正在被推送(至少到目前为止是 Nexus One),我们必须不断地拒绝升级请求。没有明显的“停止询问我”按钮。

So, is there any way I can disable OTA OS updates? We want a number of these phones to stay on old OS versions.

那么,有什么方法可以禁用 OTA 操作系统更新吗?我们希望其中一些手机保留在旧的操作系统版本上。

采纳答案by QRohlf

Remove SystemUpdater.apk from /system/app. From terminal (with ADB)

从 /system/app 中删除 SystemUpdater.apk。从终端(与亚行)

adb pull /system/app/SystemUpdater.apk C:/Path/to/your/desktop //Backup the file (just in case)  
adb remount                                       //Remount the system partition to read-write  
adb shell rm /system/app/SystemUpdater.apk              //Remove the apk

Warning - this will permanently disable system updates, until you push SystemUpdater back to /system/app

警告 - 这将永久禁用系统更新,直到您将 SystemUpdater 推回 /system/app

回答by thekindofme

For XOOM running android 3 honeycomb. You have to remove Upgrader.apk(not SystemUpdater).

对于运行 android 3 蜂窝的 XOOM。您必须删除Upgrader.apk(不是 SystemUpdater)。

adb pull /system/app/Upgrader.apk C:/Path/to/your/desktop //Backup the file (just in case)  
adb remount                                       //Remount the system partition to read-write  
adb shell rm /system/app/Upgrader.apk              //Remove the apk

回答by e-info128

From ADB with root access:

来自具有 root 访问权限的 ADB:

adb shell pm disable com.google.android.systemupdater

Not need delete apk.

不需要删除apk。

回答by Whome

I have a very old Lenovo Yoga 2 1050F tablet, Android 5.0.1(Lollipop). Today year 2020 it made an unexpected OTA firmware download. After downloading a file reboot gives a signature error which may relate to my root and half broken recovery boot app. This is how I disabled a system update adb devices | adb shell | su | pm disable com.lenovo.ota

我有一台非常旧的联想 Yoga 2 1050F 平板电脑,Android 5.0.1(棒棒糖)。今天 2020 年它进行了意外的 OTA 固件下载。下载文件后重新启动会出现签名错误,这可能与我的根和半损坏的恢复启动应用程序有关。这就是我禁用系统更新的方式 adb devices | adb shell | su | pm disable com.lenovo.ota