microg/GmsCore

Gmail - How to login?

Opened this issue · 11 comments

Hello everyone.
I'm trying to log in to GMail with Aurora Store, I successfully log on to microG with my account, but I get requested to insert my credentials back in the Gmail app.
Why?
Can't I just keep my microG account?

And by the way, I get this error: https://pasteboard.co/xyDkxaeaDsQ1.jpg

Thanks for any help.

Regards, have a great day.

Edit: P. S. : How am I supposed to install Apps with microG?

Nevermind, after having a better look at the documentation, it turned up I need help with installation.

I have a Huawei P 40, how can I correctly install microG?
Do I need root?
Please, give me advice.

P.S.: I'd stick with stock ROM because I need the PC-like experience when connected to mouse, keyboard and display, but I also need Google Play

Bye, have a nice day.

There are some points that must be cleared:

  1. microG account doesn't exist, microG only allow to add a Google account that will then be seen by other apps (the account can be added by microG itself, by another app like GMail or by Android settings);
  2. You can't login to GMail with Aurora Store as it doesn't make sense since GMail is an app and Aurora Store is another app (also the account logged in Aurora Store is specific to that app and can't be shared).

microG doesn't require root but it generally require a ROM with signature spoofing support.
There is an exception for many Huawei phones: there are hw and lh versions of microG that have an alternative way to get signature spoofing, you can find them here: https://microg.org/download.html

To have microG working you have to install both microG Services (com.google.android.gms) and microG Companion (com.android.vending), in that order.
Other apps must be installed only after microG is already installed.

Yes, excuse me, I elaborated it badly.
What I meant is:
I need to use my Google account with Google Apps such as GMail, and I have a Huawei P40 with EMui 12.
What will I need to succeed in this?
I tried various ways but I got no sync in my Google accounts.

Thanks, regards.

Usually the problem isn't that the account isn't seen by other apps but simply that the apps will reject microG due to the different signature.

So you need to open microG settings => self check and you need to ensure all the things are ok (especially the points about signature).

Ok, that's not.
I have blank "System fakes signature", "Play Services has right signature", "Phonesky has right signature", "Services framework (GSF) installed", "Approx. position", "Exact position", "Access position in background", "Read card contents", "Edit or delete SD contents", "Detect account on device", "Read ID and status", "Read SMS", "Draw on other Apps" and "Ignore battery optimizations"

Everything else is checked.

Please, help a noob. How can I fix all?

There isn't a magic way to get signature spoofing, so if the phone isn't rooted the only possibilities are the hw and lh version.
First uninstall both microG Services and microG Companion and install their hw versions and check if you get the correct signature.
If you haven't the correct signature then retry wih the lh versions.
If you still haven't the correct signature then it isn't possibile without rooting and modifying the ROM.

Note: the most important thing is have these 2 checked: "Play Services has right signature", "Phonesky has right signature"; the others can be fixed easily.

Ok, they're blank.
I consider rooting, as long as there's a guide somewhere.

Edit: What I mean is, call me stupid, but I found no suitable guide on Google, so, please, can you link me one? Thanks in advance

Omw to give bad advice;

I haven't rooted stock ROMs but hm

You'll first need to unlock your bootloader (if you even can), then you'd have to find a custom recovery (like TWRP) built for your device, then you can flash Magisk. (Literally via the apk file, just rename it to .zip)

Thing is a lot of things can go wrong, devices vary a lot and I have no idea how Huawei devices behave. Do they have A/B partitions? How will magisk behave with updates in a stock ROM? No idea.

Sorry to give bad news but if I remember correctly Huawei no longer allow to unlock bootloader from a lot of time.

There are unofficial unlocker tools over the internet but I won't suggest them to a user that isn't advanced since you have the risk of making the phone unusable; in addition some tools may just be virus.

PS: Obviously in most cases you can no longer update the ROM when it is modified.

PS2: The is still the hope that Huawei officially update your ROM (with new EMUI version), then the HW version of microG will work.