Skip to content

Google Photos ReVanced does not restore the active GmsCore account on startup #373

Description

@Epikaigle

Describe the bug

ReVanced patched Google Photos does not automatically restore the already-added GmsCore account when the app starts.

The Google account is still present in ReVanced GmsCore and is not actually signed out. However, every time Google Photos ReVanced is opened, it starts in local mode with no active account/profile picture shown.

When I tap the profile icon in the top-right corner, my existing GmsCore account is already listed. Selecting it immediately restores the account and the app works normally. No password, browser login, 2FA, or new authentication is required.

After closing or force-stopping Google Photos ReVanced and opening it again, the same issue happens again: the account is available in the list but is not automatically selected/restored.

This looks like an issue with restoring the active/default account at app startup, rather than a real logout.

To Reproduce

  1. Install ReVanced GmsCore.
  2. Add a Google account to ReVanced GmsCore.
  3. Patch Google Photos using ReVanced Manager with GmsCore support enabled.
  4. Open Google Photos ReVanced.
  5. Notice that it opens in local mode without an active Google account.
  6. Tap the profile icon in the top-right corner.
  7. Select the already-added GmsCore account.
  8. Google Photos starts working normally with the account.
  9. Close or force-stop Google Photos ReVanced.
  10. Open it again.
  11. The app opens in local mode again and requires manually selecting the same existing account.

Expected behavior

Google Photos ReVanced should automatically open with the previously selected GmsCore account already active, without requiring manual account selection after every app restart.

Actual behavior

Google Photos ReVanced opens in local mode with no active account shown.

The account is still available in GmsCore and can be selected manually, but it is not restored automatically when the app launches.

System

  • Device: Google Pixel 7 Pro
  • Android version: Android 17
  • ROM: Stock ROM
  • Root: No / non-root
  • Patched package name: app.revanced.android.photos

Additional information

YouTube ReVanced works correctly with the exact same ReVanced GmsCore installation and automatically opens with the account already active.

The issue appears specific to Google Photos ReVanced.

The account is not actually removed or logged out from GmsCore. It remains visible in the account list and can be reused immediately by selecting it manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions