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

Gmail - How to login? #2320

Open
anonimo82 opened this issue Apr 14, 2024 · 11 comments
Open

Gmail - How to login? #2320

anonimo82 opened this issue Apr 14, 2024 · 11 comments

Comments

@anonimo82
Copy link

anonimo82 commented Apr 14, 2024

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?

@anonimo82
Copy link
Author

anonimo82 commented Apr 15, 2024

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.

@ale5000-git
Copy link
Member

ale5000-git commented Apr 15, 2024

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

@ale5000-git
Copy link
Member

ale5000-git commented Apr 15, 2024

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.

@anonimo82
Copy link
Author

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.

@ale5000-git
Copy link
Member

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).

@anonimo82
Copy link
Author

anonimo82 commented Apr 15, 2024

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.

@anonimo82
Copy link
Author

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

@ale5000-git
Copy link
Member

ale5000-git commented Apr 15, 2024

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.

@anonimo82
Copy link
Author

anonimo82 commented Apr 16, 2024

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

@lucasmz-dev
Copy link
Contributor

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.

@ale5000-git
Copy link
Member

ale5000-git commented Apr 17, 2024

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.

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

No branches or pull requests

3 participants