microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.52k stars 1.71k forks source link

Huawei signin fail #1189

Closed FaneNego closed 2 years ago

FaneNego commented 4 years ago

Adding a account on Huawei p 40 lite is impossible

EloYGomeZ commented 4 years ago

If for a few days you can not connect. the case that the people of vanced have managed to login... And they should implement it here.

qtekfun commented 4 years ago

Same here on P40 Pro. as @EloYGomeZ says, vanced is able to connect without problems. I have reviewed some code of gsmcore but I don't find any solution.

FaneNego commented 4 years ago

I was told that microg vanced and microg gms core are different things, but I hope there will be a fix soon. I also installed vanced without a problem

EloYGomeZ commented 4 years ago

Of course they are different things, but the call to the server for what little I could see in the code makes it the same... The same thing I am wrong and I am skipping a step.

FaneNego commented 4 years ago

Ok then. Keep us notified if there's a update

EloYGomeZ commented 4 years ago

The one who has to inform us is MicroG :) ... Let's see if they give us a solution soon.

EloYGomeZ commented 4 years ago

It would have to be done like Aurora Store does. Change the device for another one during the connection to the server and then return to the original once connected.

FaneNego commented 4 years ago

Vanced team did it and works, now waiting for microg to do it

FaneNego commented 4 years ago

I believe this issue addresses a lot of people now that the lzplay method doesn't work for 2 weeks now

EloYGomeZ commented 4 years ago

I am trying to make an adaptation for the huawei devices to be connected but I doubt they will approve it because it focuses only on connecting those devices.

EloYGomeZ commented 4 years ago

If you look at my repository I am already working on it.

FaneNego commented 4 years ago

I am very happy that someone is trying to fix this

Nanolx commented 4 years ago

It's this commit in Vanced:

You may ask @mar-v-in to have a look or come up with something different to solve the login issue for Huawei users.

Credits go to POTUS' trade war, which forced Google to ban Huawei from using Play Services.

FaneNego commented 4 years ago

I'm kinda new to ghithub how can I contact him or I just @mar-v-in

EloYGomeZ commented 4 years ago

Don't worry, in the next few days I'll publish something that I've already managed to connect. But I have to do some tests.

All changes are being published on my profile.

FaneNego commented 4 years ago

Thank you for your effort

FaneNego commented 4 years ago

Is there anything I can test?

EloYGomeZ commented 4 years ago

If that is my video and in my repository are the updates of the app for the connection with HUAWEI

FaneNego commented 4 years ago

I need to downgrade the sistem for the installation but I can't find how

FaneNego commented 4 years ago

How can I do that on my Huawei p 40 lite

FaneNego commented 4 years ago

Lzplay doesn't work

Happyfeet01 commented 4 years ago

work it with microg and downgrade is recommend?

FaneNego commented 4 years ago

Anyway lzplay method can't work and the Huawei p40 lite can't be downgraded

FaneNego commented 4 years ago

I am trying to do that for the last 7 hours

Happyfeet01 commented 4 years ago

Work the play services from MicroG with that fix? Maybe we dont need lzplay

FaneNego commented 4 years ago

I've tried it and the apps recognise the Google account but then a terror message pops up "Can't signin, try again later" (Google classroom)

Happyfeet01 commented 4 years ago

I've tried it and the apps recognise the Google account but then a terror message pops up "Can't signin, try again later" (Google classroom)

With downgrade and lzplay?

FaneNego commented 4 years ago

I tried the patched version of EloYgomeZ and the rest of the official microg apk's In my case I can't find anywhere the firmware for my phone

EloYGomeZ commented 4 years ago

I tried the patched version of EloYgomeZ and the rest of the official microg apk's In my case I can't find anywhere the firmware for my phone

the firmware can be found in google ... By asking in the appropriate forum of XDA.... But it is search a little usually all on the Internet.

FaneNego commented 4 years ago

Can you give me a link for hisuite proxi for my phone because I have been searching since yesterday Model Huawei p40 lite Jny-l21

EloYGomeZ commented 4 years ago

I don't feel it.

Try doing it directly with hisuite without proxy...

FaneNego commented 4 years ago

On hisuite there's no option to downgrade

bubobih commented 4 years ago

@EloYGomeZ Your version work (sing in) but notifications doesent. As i understand (septembar google sing in break) are actualy huawei blacklisting, and u solve it by spoofing, but firebase still detect phone as huawei and notifications doesent arrive. This problem is on all things including aurora store where u need to enable spoof and change device model id.

I assume that notifications use another id and detect phone as huawei blacklisted one. i hope u can maybe fix that too becuz i dont need play store or gms i need notifications for skype, steam,discord and many more. Im currently use orginal microg whitout sing in and notifications work.

Happyfeet01 commented 4 years ago

That's correct aurora store didn't work. Also the German covid 19 App. But that is an another story.

bubobih commented 4 years ago

That's correct aurora store didn't work. Also the German covid 19 App. But that is an another story.

U can bypass in Aurora,

  1. Sing in as anonimous,
  2. Go to menu find spoof
  3. Choose device (i use nexus 6)
  4. Singout
  5. Login with real google account
Happyfeet01 commented 4 years ago

Thanks. But I don't need this store, the Google play store works fine.

Happyfeet01 commented 4 years ago

Okay, but have you disabled the Framework with icebox and using the Aurora Store for updates?

Happyfeet01 commented 4 years ago

Okay thanks

jcchikikomori commented 3 years ago

Hello. Please try my fork with patches from @YTVanced & @EloYGomeZ https://github.com/jcchikikomori/GmsCoreHuawei/pull/2

chortya commented 3 years ago

Could you please build the APKs for this fork?

jcchikikomori commented 3 years ago

Could you please build the APKs for this fork?

Let me prepare a release with signed APKs provided

chortya commented 3 years ago

Ok, I cloned your repository and was able to build signed APK. Login is possible but the apps are not able to pick up registered Google account. Is anything else needed? Or is signature spoofing required for the account manager?

jcchikikomori commented 3 years ago

Ok, I cloned your repository and was able to build signed APK. Login is possible but the apps are not able to pick up registered Google account. Is anything else needed? Or is signature spoofing required for the account manager?

I guess so. I cannot test it since i don't have any rooted devices. I'll try on a VM though

Btw here is the release: https://github.com/jcchikikomori/GmsCoreHuawei/releases/tag/v0.2.13.203915-HUAWEI

ghost commented 3 years ago

Of course they are different things, but the call to the server for what little I could see in the code makes it the same... The same thing I am wrong and I am skipping a step.

There not different things really, Vanced uses this microG as base and only changed a few things and remove a bunch of extra stuff they didn't need.

chortya commented 3 years ago

Any plans to implement any improvements for specifically for GMS-less Huawei phones? I would wish more robust notification support with extended logging capabilities. Or how can I debug the notification routines? It seems some of the apps are still having issues and pushing notifications only sporadically. On the rest of the functionality (sing-in, logged in account list, usage of Google apps like Gmail, Photo etc) I assume it's not really possible without signature spoofing?

jcchikikomori commented 3 years ago

Any plans to implement any improvements for specifically for GMS-less Huawei phones? I would wish more robust notification support with extended logging capabilities. Or how can I debug the notification routines? It seems some of the apps are still having issues and pushing notifications only sporadically. On the rest of the functionality (sing-in, logged in account list, usage of Google apps like Gmail, Photo etc) I assume it's not really possible without signature spoofing?

I've been thinking about different directions like @YTVanced did on Youtube Vanced I think the only way is to modify Google apps and support microG

qtekfun commented 3 years ago

I thought the same but it's lots of work

El vie., 20 nov. 2020 10:38, John Cyrill Corsanes notifications@github.com escribió:

Any plans to implement any improvements for specifically for GMS-less Huawei phones? I would wish more robust notification support with extended logging capabilities. Or how can I debug the notification routines? It seems some of the apps are still having issues and pushing notifications only sporadically. On the rest of the functionality (sing-in, logged in account list, usage of Google apps like Gmail, Photo etc) I assume it's not really possible without signature spoofing?

I've been thinking about different directions like @YTVanced https://github.com/YTVanced did on Youtube Vanced I think the only way is to modify Google apps and support microG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/microg/GmsCore/issues/1189#issuecomment-731058481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2UJJVXYTYC2KHWWFU6IBTSQY2IJANCNFSM4RWZIUUA .

chris42 commented 3 years ago

Any plans to implement any improvements for specifically for GMS-less Huawei phones? I would wish more robust notification support with extended logging capabilities. Or how can I debug the notification routines? It seems some of the apps are still having issues and pushing notifications only sporadically.

Normally you can see every incoming and outgoing message in the android log, that should help to debug. In my experience unreliable notifications are more a sign of a fallback being used, e.g. in whatsapp. With GCM it was always either working or not. If you want to jump into the code, I guess running microg on an emulator should help. Of course with each app itself you would need to contact the app developers.

BTW: would love the sing-in feature... Smashing Bohemian Rapsody to unlock your phone! ;-D

michael1900 commented 3 years ago

any good news for us huawei consumer?

chortya commented 3 years ago

any good news for us huawei consumer?

I don't think this is really a MicroG issue, probably a ban on Google server side for specific Huawei devices. So the only way is to fully spoof device signature towards Google (not only during the sign-in process), no idea if this can even be done. See patched version from jcchikikomori but it does not really help with anything.