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

MicroG Login Loop: "Account Already Exists" #1403

Closed
jmessy919 opened this issue Feb 23, 2021 · 23 comments
Closed

MicroG Login Loop: "Account Already Exists" #1403

jmessy919 opened this issue Feb 23, 2021 · 23 comments

Comments

@jmessy919
Copy link

Running latest Lineage OS for MicroG on my rooted OnePlus 6T. I cannot get past the add account screen even after properly authenticating. It acts as if I never added an account to MicroG. When I try again, I get the "this account already exists on your device."

I have searched through previous issues, even so far back as 2018 with no answers. Any assistance is appreciated. Thanks.

@jmessy919
Copy link
Author

jmessy919 commented Feb 23, 2021

On top of this, now when I switch back and forth between apps and return to YouTube Vanced, it displays the "Add Account" popup every time So definitely worse off than before I tried adding an account to MicroG.

@JohnRTitor
Copy link

Looks like the same problem as the one mentioned in #1373 . Please we need a fix. We can't even switch to another account from Google apps.

@jmessy919
Copy link
Author

@AinzTheSupremeOne I would say it might be related, but this is across the board, in the MicroG core settings also. It's not specifically a Vanced issue.

@ghost
Copy link

ghost commented Feb 23, 2021

@AinzTheSupremeOne I would say it might be related, but this is across the board, in the MicroG core settings also. It's not specifically a Vanced issue.

The bug report #1373 describes a behavioir of stock apps, not of Vanced.

@jmessy919
Copy link
Author

jmessy919 commented Feb 23, 2021

The bug report #1373 describes a behavioir of stock apps, not of Vanced.

Sure, but if you look at the issue you and @AinzTheSupremeOne referenced, it does not describe the bug which I expressed above. My YouTube loads, but I cannot login. MicroG acts like there is no account, even when I definitely entered one. It then tells me that my account already exists without actually logging in.

@ghost
Copy link

ghost commented Feb 23, 2021

The bug report #1373 describes a behavioir of stock apps, not of Vanced.

Sure, but if you look at the issue you and @AinzTheSupremeOne referenced, it does not describe the bug which I expressed above. My YouTube loads, but I cannot login. MicroG acts like there is no account, even when I definitely entered one. It then tells me that my account already exists without actually logging in.

In truth this bug prevents the login on every newer app (starting from January update).

So yeah, is a general bug (what I meant).

@jmessy919
Copy link
Author

In truth this bug prevents the login on every newer app (starting from January update).

So yeah, is a general bug (what I would mean).

Fair enough, thanks for the clarification. I do hope this gets resolved soon!

@MijoHuer
Copy link

MijoHuer commented Apr 4, 2021

Ir happens the same with me. Even microg can't reconize that there is an account in my device, but the google ads works perfectly

@ghost
Copy link

ghost commented Jun 12, 2021

Is there something planned to try to fix the bug? because its since January. Is known how the bug can appear?

@ShubhamPatilsd
Copy link

Hey everyone so I think I might have fixed this issue. I simply uninstalled the GMSCore and GMSProxy apps and reinstalled them and now it works like a charm!

@ale5000-git
Copy link
Member

Everything should already be fixed on the latest version of microG GmsCore so I close it for now.
Open a new issue if needed.

@ghost
Copy link

ghost commented Jan 26, 2022

Which version is the fix?

@ale5000-git
Copy link
Member

ale5000-git commented Jan 26, 2022

microG GmsCore 0.2.24.214816
It is possible that it was fixed before, but you can be sure with this version.

@sayz
Copy link

sayz commented Feb 2, 2022

Same problem here. I have the latest versions microg and YouTube vanced.

@ale5000-git
Copy link
Member

ale5000-git commented Feb 2, 2022

The problem of "Account Already Exists" happens because the account really exist but it isn't usable, specially on non clean systems (so you won't see it inside Android accounts).

The solution is delete these files (if they exist):

/data/system/users/0/accounts.db
/data/system_de/0/accounts_de.db
/data/system_ce/0/accounts_ce.db

IMPORTANT: This will remove all accounts on the device (even non Google ones).

After this you can add the account normally.

@Connorgilbert1
Copy link

I am experiencing this same issue, with the latest version of micro g.
Couldn't find those files in my device

@ale5000-git
Copy link
Member

ale5000-git commented Jul 15, 2022

@Connorgilbert1

Here is the full list of files to delete (some devices have some files, while some other devices have other files):

/data/system_de/0/accounts_de.db
/data/system_de/0/accounts_de.db-journal

/data/system_ce/0/accounts_ce.db
/data/system_ce/0/accounts_ce.db-journal

/data/system/users/0/accounts.db
/data/system/users/0/accounts.db-journal

/data/system/accounts.db
/data/system/accounts.db-journal

/data/system/sync/stats.bin
/data/system/sync/pending.xml
/data/system/sync/accounts.xml
/data/system/sync/status.bin

@riekusr
Copy link

riekusr commented Oct 10, 2022

I am on android 13 and can't seem to find any of those files. I have micro G on the work profile and logged in with work gmail. Everytime I am geeting the loop "account already exists" when it asks to login.

@ale5000-git
Copy link
Member

ale5000-git commented Oct 10, 2022

The list is for various versions of Android so it is normal that you haven't all of them but you must have some.
You need root to see them and if you are in the recovery you must also mount /data to see them.

PS: If the problem happens only in work profile then it is probably a different issue.

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Dec 12, 2022

This continues for me. Latest version of CalyxOS, installed today. I'm slightly confused – is the proposed solution to delete the aforementioned files? That's no solution, surely.

(Specifically, this occurs with com.google.android.apps.recorder)

@ale5000-git
Copy link
Member

@RokeJulianLockhart
Please open a new issue, and specify if the account doesn't appear at all in Android settings or if it appears and are just some apps that doesn't see it.

@lkasahi
Copy link

lkasahi commented Jan 22, 2023

Today I ran into the same issue after I logged out every devices for my Google account. Always getting "Account Already Exists" in MicroG. I tried cleaning data for the MicroG, reinstalling it, even using my cell phone number to log in. All failed.
Luckily for me I realized MicroG account was registered in Android Settings. I removed the account in the Android Settings and everything is fine now.
Not a custom Android though. I am running Android 1p on Galaxy Note 9.

@microg microg locked and limited conversation to collaborators Jan 22, 2023
@ale5000-git
Copy link
Member

@tom282f3
If you still have issues, please open a new ticket.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants