tesla-android / issue-tracker

Place for reporting issues and discussion with the community
18 stars 1 forks source link

microG Services can't log in to Google servers #59

Closed rrlevy closed 2 years ago

rrlevy commented 2 years ago

When using any app that needs to login to a Google Account using Android account information, microG can't log in to Google. After completing all the steps com logging in, and authorizing the login with your MFA device, it shows an error that it can't connect to Google Servers:

image

The Google login inside Aurora Store works fine

galosre commented 2 years ago

I am getting into the same issue on my second install on the first one it was working, maybe google is blocking something now! but if you search on google there may have a solution got to try them yet! https://tinyurl.com/fjfexar2

galosre commented 2 years ago

And not sure if it is related got also Android system 'There's an internal problem with your device even on brand new install 2022-06-29_215318 e

rrlevy commented 2 years ago

I didn't get that message of "internal problem"

But the problem with microG not logging into Google is quite anoying.... It renders all Google Apps on the Android system unusable, since you can't log into your account.

For example, I can't use the Youtube app, which was one of the reasons I was installing Tesla Android for...

mikegapinski commented 2 years ago

I figured out that Google added a new verification scheme for login at some point - instead of just approving the notification on your other device you also need to pick a number on the screen. This results in a error you've shown on the screen.

The second time around a different authentication mechanism triggered and I was able to login successfully. Will see what can be done about this as this is quite bugging me as well šŸ˜…

rrlevy commented 2 years ago

For some reason I ALWAYS get the ā€œpick a numberā€ questionā€¦. Iā€™ve tried at least half a dozen timesā€¦ Iā€™ll check google settings to see if I can somehow change my two factor settings to change that

Cooker44 commented 2 years ago

At the moment I canā€™t see all Google apps in either fdroid or aurora. What am I doing wrong in the settings of these apps? Will look for google account addition, but YouTube, GMail etc not available. *edit: and will turn of 2fa first just while I install these apps

rrlevy commented 2 years ago

I figured out that Google added a new verification scheme for login at some point - instead of just approving the notification on your other device you also need to pick a number on the screen. This results in a error you've shown on the screen.

The second time around a different authentication mechanism triggered and I was able to login successfully. Will see what can be done about this as this is quite bugging me as well šŸ˜…

I just tried again, first by changing my two factor methods and later by completely disabling two factor authentication

I still couldnā€™t log in. I always get the error message after logging inā€¦.

rrlevy commented 2 years ago

Still not working on 2022.38.1

image

I do all the authentication steps perfectly (enter password, click the number on gmail app, accept terms) but at the end I always get this message.

rrlevy commented 2 years ago

Is this working for everyone else? Is it just me?

This is really bad for me since not able to login to google apps. At least the first version with Play Store I could have my account logged in on Youtube App

Cooker44 commented 2 years ago

Agreed, this is problematic. Doesn't affect CarPlay functionality of course, but limits functionality

rrlevy commented 2 years ago

Yes, I was excited about having a full Android system to use on the car, but at the end I'm limited to CarPlay.

It is AMAZING to have CarPlay, but it would be nice to make Android work correctly.

mikegapinski commented 2 years ago

There is an open issue with the gapps I used for this problem, I am just waiting for a upstream fix ;)

rrlevy commented 2 years ago

I googled a lot about this, and this worked for me:

1) DO NOT connect the device to the internet 2) Open "microG Settings"app and disable "Google device registration" 3) Exit the microG app and force close it 4) Connect Raspi to the internet via cable or LTE Modem 5) Enter microG and try to log in to Google Account 6) It works!

image

Note that you NEED to turn off device registration BEFORE trying to login the first time, or else it won't work. If you have already tried to login, you need to reinstall the system.

rrlevy commented 2 years ago

I haven't tested not doing it in this latest build. I went straight to disable device registration before logging in. I actually don't know if the bug was fixed, but this a solution

MCFFHAB commented 2 years ago

I haven't tested not doing it in this latest build. I went straight to disable device registration before logging in. I actually don't know if the bug was fixed, but this a solution

On the latest build it does not work either and the process above also did not work for me.

mikegapinski commented 2 years ago

I've updated microG services in my latest internal build (2022.44.3), if this doesn't solve the problem I'll dig deeper with the next build, since now most things are working OK I have time to spare on smaller things

mikegapinski commented 2 years ago

Fixed in version 2022.45.1 - I removed microG. Notmal google apps are back, no need to register the uncertified device like in dual board builds.