是否可以禁用 Android 固件更新通知?

发布于 2024-10-27 16:22:04 字数 228 浏览 5 评论 0原文

我有一个在手机上运行的应用程序,该应用程序不应以任何方式进行触摸或交互。我希望我的应用程序能够 24/7/365 正确运行。

我遇到的唯一问题是,每隔几周左右,就会弹出一条有关更新设备固件的通知。它不会立即中断应用程序的运行,但几天后没有人接受/拒绝固件下载,应用程序就会崩溃。

有没有什么方法(以编程方式或通过更改手机设置)来禁用这些固件更新弹出窗口,或禁用一般的自动固件更新?

非常感谢!!

I have an application running on phones that aren't meant to be touched or interacted with in any way. I want my application to run correctly 24/7/365.

The only issue I'm having is that every few weeks or so, a notification pops up about updating the firmware on the device. It doesn't immediately interrupt the app running but after a few days of no one accepting/declining the firmware download, the app crashes.

Is there any way (either programatically or by changing phone settings) to disable these firmware update popups, or to disable automated firmware updating in general?

Thank you very much!!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

带刺的爱情 2024-11-03 16:22:04

3 个简单步骤:
1.安装免费的系统调谐器
2. 前往初创公司
3.选择Google服务框架
4. 取消选中 SystemUpdateInstallDialog 和 SystemUpdateInstallDownloadDialog

重要提示:您需要 root 设备才能运行此应用程序!

停止系统更新通知的简单方法...

来源:http://forums.androidcentral.com/google-nexus-7-tablet-2012/234006-how-do-i-remove-system-update-notification。 html

3 easy steps:
1. Install free System Tuner
2. Go to Startups
3. Select Google Services Framework
4. Uncheck SystemUpdateInstallDialog and SystemUpdateInstallDownloadDialog

IMPORTANT: You need a rooted device to run this app!

Simple and easy way to stop the system update notification...

Source: http://forums.androidcentral.com/google-nexus-7-tablet-2012/234006-how-do-i-remove-system-update-notification.html

如此安好 2024-11-03 16:22:04

是的,可以


设置

  1. 转到“设置”,
  2. 在设置中找到“关于手机”或“系统”条目
  3. ,查找“软件更新”或“系统更新”选项
  4. 应该有一个三点菜单“设置”,或自动下载并安装更新的直接链接。

将其关闭。


第 3 方

您还可以考虑(这是我个人所做的)安装第 3 方软件,例如 NetGuard(例如)并禁用与检查更新的系统进程的互联网连接。如果该软件/应用程序没有互联网连接,它不会向您发送通知。


关闭通知

进入负责更新的应用程序的设置。并关闭所有与通知相关的权限。
您不会被这些通知所困扰。

Yes, it is possible


Settings

  1. Goto "settings"
  2. find the "about phone" or "system" entry in settings
  3. look ofr the "software update" or "system update" option
  4. There should be a 3dotted menu with "settings", or a direct link to Download and install updates automatically.

turn it off.


3rd party

You may also consider (this is what I personally do) installing 3rd party software like NetGuard (for example) and disable internet connection to the system process that checks for updates. If there is no internet connection for the software/app it will not badger you with notifications.


Turn off notifications

Got to the settings of the app responsible for updates. And turn off all permissions related to notifications.
You won't be badgered with the notifications.

夜灵血窟げ 2024-11-03 16:22:04

为了避免与原始问题混淆,我将首先重复 Alex 的赏金问题:

有谁知道我们可以在 Pi-Hole 中阻止的 google 网址是什么,以使通知消失?

所有基于 HTTP 的消息(包括推送通知)均通过 Google 的 Firebase Cloud Messaging (FCM) 后端通过服务器端端点 https://fcm.googleapis.com/fcm/send,如下所示Firebase Cloud Messaging HTTP 协议的参考中进行了描述。客户端端点似乎没有公开记录,但是人们可以认为阻止 https://fcm.googleapis.com 应该可以完成这项工作。

类似地,所有基于 XMPP 的消息都会通过端点 fcm-xmpp.googleapis.com,如 Firebase 云消息传递 XMPP 协议

编辑: Alex 发现了另一个有趣的网址,即 notifications-pa.googleapis.com (请参阅下面他的评论)。

To avoid confusion with the original question I'll repeat the Bounty-Question by Alex first:

Does anyone know what is the URL of google that we can block in Pi-Hole to make the notification go away?

All HTTP-based messages -- including push notifications -- via Google's Firebase Cloud Messaging (FCM) backend go through the server-side endpoint https://fcm.googleapis.com/fcm/send, as described in the reference on the Firebase Cloud Messaging HTTP protocol. The client-side endpoint doesn't seem to be publicly documented, however one can suppose that blocking https://fcm.googleapis.com should do the job.

Analogously all XMPP-based messages go through the endpoint fcm-xmpp.googleapis.com, as documented in the reference on the Firebase Cloud Messaging XMPP protocol.

Edit: Alex found another interesting URL, namely notifications-pa.googleapis.com (see his comment below).

时光是把杀猪刀 2024-11-03 16:22:04

在 Android 上,您可以在通知栏中长按通知。应该会出现一个信息按钮。当您单击此按钮时,您将获得系统应用程序,该应用程序会创建通知。然后在此应用程序的设置中,您可以阻止每个通知。只是阻止所有。也许你会错过其他重要的通知,我不知道。

on android in the notification bar you can press the notification long time. than an info button should appear. when you click this button you get the system app, which creates the notification. then in the settings of this app you can block every notification. just block all. maybe you will miss other important notifications, i don't know.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文