Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide non-updated system apps from install screen #654

Open
t-m-w opened this issue May 2, 2024 · 4 comments
Open

Hide non-updated system apps from install screen #654

t-m-w opened this issue May 2, 2024 · 4 comments
Assignees
Milestone

Comments

@t-m-w
Copy link
Collaborator

t-m-w commented May 2, 2024

The Restore process shows many system apps which "failed" to be installed, but there is no actual problem; they simply should not be shown.

Affected system apps in CalyxOS, all showing "Tap to install":

  • System package manager
  • User Dictionary
  • Settings
  • Android Keyboard (AOSP)
  • Quickstep
  • Nfc Service
  • System Tracing
  • com.android.health.connect.backuprestore
  • Files
  • Work Setup
  • Blocked Numbers Storage
  • System package manager (hmm, listed twice maybe?)
  • RemoteProvisioner
  • com.android.wallpaperbackup
  • CalyxOS App Installer
  • Camera
  • com.android.providers.partnerbookmarks
  • Call Log Backup/Restore
  • System UI
  • Settings Storage
  • com.android.cellbroadcastreceiver
  • microG Services
  • Wireless emergency alerts
  • com.android.ondevicepersonalization.services.OnDevicePersonalizationApplication
  • Android System
@grote grote added this to the 3.x milestone May 6, 2024
@grote
Copy link
Collaborator

grote commented Jul 31, 2024

@t-m-w do you remember if this is resolved now with the latest changes (e.g. #670)?

@t-m-w
Copy link
Collaborator Author

t-m-w commented Aug 1, 2024

Sorry, I don't recall (and didn't yesterday either, just forgot to say so then).

@grote
Copy link
Collaborator

grote commented Aug 15, 2024

I think this should be solved. Please re-open if not.

@grote grote closed this as completed Aug 15, 2024
@grote grote self-assigned this Aug 15, 2024
@t-m-w
Copy link
Collaborator Author

t-m-w commented Aug 15, 2024

Reopening for now, but if you think this is representative of a different issue, I can move this to another one / new one.

I tried a restore with the latest changes, and now, there are only five system app failures:

  • Call Log Backup/Restore
  • Blocked Numbers Storage
  • User Dictionary
  • System UI
  • System Tracing

That's obviously a lot fewer than before. There is also no "Some apps not installed" popup either; just this:

Here's the error for one of them. The others' errors are the same.

Logcat snippet
08-15 16:47:06.675 10172  4675  4690 I RestoreCoordinator: Next restore package!
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator: Error finding restore data for com.android.providers.userdictionary.
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator: java.io.IOException: No data found for com.android.providers.userdictionary. Skipping.
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at com.stevesoltys.seedvault.transport.restore.RestoreCoordinator.nextRestorePackage(RestoreCoordinator.kt:252)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at com.stevesoltys.seedvault.transport.ConfigurableBackupTransport$nextRestorePackage$1.invokeSuspend(ConfigurableBackupTransport.kt:231)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at com.stevesoltys.seedvault.transport.ConfigurableBackupTransport.nextRestorePackage(ConfigurableBackupTransport.kt:230)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at android.app.backup.BackupTransport$TransportImpl.nextRestorePackage(BackupTransport.java:834)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at com.android.internal.backup.IBackupTransport$Stub.onTransact(IBackupTransport.java:718)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at android.os.Binder.execTransactInternal(Binder.java:1505)
08-15 16:47:06.734 10172  4675  4690 E RestoreCoordinator:      at android.os.Binder.execTransact(Binder.java:1444)

Note that the restore set may not have had the very latest Seedvault changes at the time of creation, but the latest the CalyxOS had available as of within the last month or two.

@t-m-w t-m-w reopened this Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants