Skip to content

Instantly share code, notes, and snippets.

@correabuscar
Created September 4, 2024 07:19
Show Gist options
  • Save correabuscar/5564a2b207e81b8d0e781cb998c347a5 to your computer and use it in GitHub Desktop.
Save correabuscar/5564a2b207e81b8d0e781cb998c347a5 to your computer and use it in GitHub Desktop.
xiaomi poco com.android.updater app draining battery due to infinite loop
any ideas on how to avoid this infinite loop?
2024-09-04 09:12:44.513 31906-31906 DailyCheckJobService com.android.updater E onStartJob: DailyCheckJobService 101
2024-09-04 09:12:44.517 1261-5439 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.UpdateService
2024-09-04 09:12:44.519 1261-5439 vendor.qti....2-service [email protected] I unbindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.519 1261-5439 vendor.qti....2-service [email protected] I size of service connections for service: com.android.updater/.DailyCheckJobServiceafter removal is 0
2024-09-04 09:12:44.519 1261-5439 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.525 31906-31906 Ka com.android.updater I UpdateDownloader: init HandlerThread
2024-09-04 09:12:44.528 31906-31906 h com.android.updater I ApexDownloader: init HandlerThread
2024-09-04 09:12:44.530 31906-31906 i com.android.updater E cancelNotificationById: 1
2024-09-04 09:12:44.531 31906-31906 i com.android.updater E cancelNotificationById: 9
2024-09-04 09:12:44.531 31906-31906 i com.android.updater E cancelNotificationById: 2
2024-09-04 09:12:44.532 31906-31906 i com.android.updater E cancelNotificationById: 12
2024-09-04 09:12:44.532 31906-31906 i com.android.updater E cancelNotificationById: 11
2024-09-04 09:12:44.532 31906-31906 i com.android.updater E cancelNotificationById: 3
2024-09-04 09:12:44.534 31906-31906 Xa com.android.updater E hasRebooted: 1722788912935installedboottime: 0
2024-09-04 09:12:44.534 31906-31906 Xa com.android.updater I Updater2: ReadBigVersionData lastInstalledStr : true
2024-09-04 09:12:44.534 31906-31906 Xa com.android.updater I readBigVersionData: big_version_update_json
2024-09-04 09:12:44.534 31906-31906 Xa com.android.updater I setCurrentState: change from 0 to0
2024-09-04 09:12:44.535 31906-31906 UpdateService com.android.updater I onStartCommand: 1
2024-09-04 09:12:44.535 31906-31906 Xa com.android.updater I checkNewVersion by 2 ob: null
2024-09-04 09:12:44.543 1261-5439 vendor.qti....2-service [email protected] I bindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.543 1261-5439 vendor.qti....2-service [email protected] I total connections for service : com.android.updater/.DailyCheckJobServiceare :1
2024-09-04 09:12:44.545 26753-32700 htmlviewercloudcontrol com.android.htmlviewer I param = updater uriMatch = 1
2024-09-04 09:12:44.548 1261-5439 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.553 1261-5439 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.UpdateService
2024-09-04 09:12:44.562 31906-31906 UpdateService com.android.updater I onDestroy
2024-09-04 09:12:44.562 31906-31906 Xa com.android.updater E release:
2024-09-04 09:12:44.564 31906-31906 DailyCheckJobService com.android.updater E onStartJob: DailyCheckJobService 101
2024-09-04 09:12:44.568 1261-5439 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.UpdateService
2024-09-04 09:12:44.569 1261-5439 vendor.qti....2-service [email protected] I unbindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.569 1261-5439 vendor.qti....2-service [email protected] I size of service connections for service: com.android.updater/.DailyCheckJobServiceafter removal is 0
2024-09-04 09:12:44.569 1261-5439 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.576 31906-31906 Ka com.android.updater I UpdateDownloader: init HandlerThread
2024-09-04 09:12:44.579 31906-31906 h com.android.updater I ApexDownloader: init HandlerThread
2024-09-04 09:12:44.581 31906-31906 i com.android.updater E cancelNotificationById: 1
2024-09-04 09:12:44.582 31906-31906 i com.android.updater E cancelNotificationById: 9
2024-09-04 09:12:44.582 31906-31906 i com.android.updater E cancelNotificationById: 2
2024-09-04 09:12:44.583 31906-31906 i com.android.updater E cancelNotificationById: 12
2024-09-04 09:12:44.583 31906-31906 i com.android.updater E cancelNotificationById: 11
2024-09-04 09:12:44.583 31906-31906 i com.android.updater E cancelNotificationById: 3
2024-09-04 09:12:44.585 31906-31906 Xa com.android.updater E hasRebooted: 1722788912935installedboottime: 0
2024-09-04 09:12:44.585 31906-31906 Xa com.android.updater I Updater2: ReadBigVersionData lastInstalledStr : true
2024-09-04 09:12:44.585 31906-31906 Xa com.android.updater I readBigVersionData: big_version_update_json
2024-09-04 09:12:44.585 31906-31906 Xa com.android.updater I setCurrentState: change from 0 to0
2024-09-04 09:12:44.586 31906-31906 UpdateService com.android.updater I onStartCommand: 1
2024-09-04 09:12:44.586 31906-31906 Xa com.android.updater I checkNewVersion by 2 ob: null
2024-09-04 09:12:44.593 26753-32700 htmlviewercloudcontrol com.android.htmlviewer I param = updater uriMatch = 1
2024-09-04 09:12:44.594 1261-22020 vendor.qti....2-service [email protected] I bindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.594 1261-22020 vendor.qti....2-service [email protected] I total connections for service : com.android.updater/.DailyCheckJobServiceare :1
2024-09-04 09:12:44.595 1261-22020 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.599 1261-22020 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.UpdateService
2024-09-04 09:12:44.608 31906-31906 UpdateService com.android.updater I onDestroy
2024-09-04 09:12:44.608 31906-31906 Xa com.android.updater E release:
2024-09-04 09:12:44.610 31906-31906 DailyCheckJobService com.android.updater E onStartJob: DailyCheckJobService 101
2024-09-04 09:12:44.613 1261-22020 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.UpdateService
2024-09-04 09:12:44.615 1261-22020 vendor.qti....2-service [email protected] I unbindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.615 1261-22020 vendor.qti....2-service [email protected] I size of service connections for service: com.android.updater/.DailyCheckJobServiceafter removal is 0
2024-09-04 09:12:44.615 1261-22020 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.620 31906-31906 Ka com.android.updater I UpdateDownloader: init HandlerThread
2024-09-04 09:12:44.623 31906-31906 h com.android.updater I ApexDownloader: init HandlerThread
2024-09-04 09:12:44.625 31906-31906 i com.android.updater E cancelNotificationById: 1
2024-09-04 09:12:44.626 31906-31906 i com.android.updater E cancelNotificationById: 9
2024-09-04 09:12:44.626 31906-31906 i com.android.updater E cancelNotificationById: 2
2024-09-04 09:12:44.627 31906-31906 i com.android.updater E cancelNotificationById: 12
2024-09-04 09:12:44.627 31906-31906 i com.android.updater E cancelNotificationById: 11
2024-09-04 09:12:44.628 31906-31906 i com.android.updater E cancelNotificationById: 3
2024-09-04 09:12:44.630 31906-31906 Xa com.android.updater E hasRebooted: 1722788912935installedboottime: 0
2024-09-04 09:12:44.630 31906-31906 Xa com.android.updater I Updater2: ReadBigVersionData lastInstalledStr : true
2024-09-04 09:12:44.630 31906-31906 Xa com.android.updater I readBigVersionData: big_version_update_json
2024-09-04 09:12:44.630 31906-31906 Xa com.android.updater I setCurrentState: change from 0 to0
2024-09-04 09:12:44.630 31906-31906 UpdateService com.android.updater I onStartCommand: 1
2024-09-04 09:12:44.631 31906-31906 Xa com.android.updater I checkNewVersion by 2 ob: null
2024-09-04 09:12:44.633 26753-32700 htmlviewercloudcontrol com.android.htmlviewer I param = updater uriMatch = 1
2024-09-04 09:12:44.638 1261-22020 vendor.qti....2-service [email protected] I bindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.638 1261-22020 vendor.qti....2-service [email protected] I total connections for service : com.android.updater/.DailyCheckJobServiceare :1
2024-09-04 09:12:44.640 1261-22020 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.643 1261-22020 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.UpdateService
2024-09-04 09:12:44.652 31906-31906 UpdateService com.android.updater I onDestroy
2024-09-04 09:12:44.653 31906-31906 Xa com.android.updater E release:
2024-09-04 09:12:44.655 31906-31906 DailyCheckJobService com.android.updater E onStartJob: DailyCheckJobService 101
2024-09-04 09:12:44.659 1261-22020 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.UpdateService
2024-09-04 09:12:44.660 1261-22020 vendor.qti....2-service [email protected] I unbindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.660 1261-22020 vendor.qti....2-service [email protected] I size of service connections for service: com.android.updater/.DailyCheckJobServiceafter removal is 0
2024-09-04 09:12:44.660 1261-22020 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.665 31906-31906 Ka com.android.updater I UpdateDownloader: init HandlerThread
2024-09-04 09:12:44.669 31906-31906 h com.android.updater I ApexDownloader: init HandlerThread
2024-09-04 09:12:44.671 31906-31906 i com.android.updater E cancelNotificationById: 1
2024-09-04 09:12:44.672 31906-31906 i com.android.updater E cancelNotificationById: 9
2024-09-04 09:12:44.673 31906-31906 i com.android.updater E cancelNotificationById: 2
2024-09-04 09:12:44.673 31906-31906 i com.android.updater E cancelNotificationById: 12
2024-09-04 09:12:44.674 31906-31906 i com.android.updater E cancelNotificationById: 11
2024-09-04 09:12:44.674 31906-31906 i com.android.updater E cancelNotificationById: 3
2024-09-04 09:12:44.676 31906-31906 Xa com.android.updater E hasRebooted: 1722788912935installedboottime: 0
2024-09-04 09:12:44.676 31906-31906 Xa com.android.updater I Updater2: ReadBigVersionData lastInstalledStr : true
2024-09-04 09:12:44.677 31906-31906 Xa com.android.updater I readBigVersionData: big_version_update_json
2024-09-04 09:12:44.677 31906-31906 Xa com.android.updater I setCurrentState: change from 0 to0
2024-09-04 09:12:44.677 31906-31906 UpdateService com.android.updater I onStartCommand: 1
2024-09-04 09:12:44.677 31906-31906 Xa com.android.updater I checkNewVersion by 2 ob: null
2024-09-04 09:12:44.684 1261-22020 vendor.qti....2-service [email protected] I bindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.684 26753-32700 htmlviewercloudcontrol com.android.htmlviewer I param = updater uriMatch = 1
2024-09-04 09:12:44.684 1261-22020 vendor.qti....2-service [email protected] I total connections for service : com.android.updater/.DailyCheckJobServiceare :1
2024-09-04 09:12:44.688 1261-22020 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.690 1261-22020 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.UpdateService
2024-09-04 09:12:44.699 31906-31906 UpdateService com.android.updater I onDestroy
2024-09-04 09:12:44.699 31906-31906 Xa com.android.updater E release:
2024-09-04 09:12:44.701 31906-31906 DailyCheckJobService com.android.updater E onStartJob: DailyCheckJobService 101
2024-09-04 09:12:44.704 1261-22020 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.UpdateService
2024-09-04 09:12:44.706 1261-22020 vendor.qti....2-service [email protected] I unbindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.706 1261-22020 vendor.qti....2-service [email protected] I size of service connections for service: com.android.updater/.DailyCheckJobServiceafter removal is 0
2024-09-04 09:12:44.706 1261-22020 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.711 31906-31906 Ka com.android.updater I UpdateDownloader: init HandlerThread
2024-09-04 09:12:44.714 31906-31906 h com.android.updater I ApexDownloader: init HandlerThread
2024-09-04 09:12:44.716 31906-31906 i com.android.updater E cancelNotificationById: 1
2024-09-04 09:12:44.717 31906-31906 i com.android.updater E cancelNotificationById: 9
2024-09-04 09:12:44.717 31906-31906 i com.android.updater E cancelNotificationById: 2
2024-09-04 09:12:44.718 31906-31906 i com.android.updater E cancelNotificationById: 12
2024-09-04 09:12:44.718 31906-31906 i com.android.updater E cancelNotificationById: 11
2024-09-04 09:12:44.718 31906-31906 i com.android.updater E cancelNotificationById: 3
2024-09-04 09:12:44.720 31906-31906 Xa com.android.updater E hasRebooted: 1722788912935installedboottime: 0
2024-09-04 09:12:44.720 31906-31906 Xa com.android.updater I Updater2: ReadBigVersionData lastInstalledStr : true
2024-09-04 09:12:44.720 31906-31906 Xa com.android.updater I readBigVersionData: big_version_update_json
2024-09-04 09:12:44.720 31906-31906 Xa com.android.updater I setCurrentState: change from 0 to0
2024-09-04 09:12:44.721 31906-31906 UpdateService com.android.updater I onStartCommand: 1
2024-09-04 09:12:44.721 31906-31906 Xa com.android.updater I checkNewVersion by 2 ob: null
2024-09-04 09:12:44.728 1261-5439 vendor.qti....2-service [email protected] I bindService is called for service : com.android.updater/.DailyCheckJobService and for client system
2024-09-04 09:12:44.728 1261-5439 vendor.qti....2-service [email protected] I total connections for service : com.android.updater/.DailyCheckJobServiceare :1
2024-09-04 09:12:44.728 26753-32700 htmlviewercloudcontrol com.android.htmlviewer I param = updater uriMatch = 1
2024-09-04 09:12:44.732 1261-5439 vendor.qti....2-service [email protected] I startService() is called for servicecom.android.updater/.DailyCheckJobService
2024-09-04 09:12:44.734 1261-5439 vendor.qti....2-service [email protected] I destroyService is called for service : com.android.updater/.UpdateService
2024-09-04 09:12:44.742 31906-31906 UpdateService com.android.updater I onDestroy
2024-09-04 09:12:44.742 31906-31906 Xa com.android.updater E release:
2024-09-04 09:12:44.745 31906-31906 DailyCheckJobService com.android.updater E onStartJob: DailyCheckJobService 101
@correabuscar
Copy link
Author

correabuscar commented Sep 4, 2024

It's not disable-able by normal means, and by abnormal ones it seems it shouldn't be disabled(to avoid boot loop, or failing to boot): https://xdaforums.com/t/do-not-disable-com-android-updater.4084635/

Even in MIUI 14 it seems to be a battery drainer:
https://xiaomi.eu/community/threads/miui-14-stable-release.67685/post-694269
followups:
https://xiaomi.eu/community/threads/miui-14-stable-release.67685/post-694277
https://xiaomi.eu/community/threads/miui-14-stable-release.67685/post-694347

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment