LSPosed / MagiskOnWSALocal

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
GNU Affero General Public License v3.0
9.49k stars 22.97k forks source link

Unable to login to play store on WSA build 2207.40000.8.0 #55

Closed dugi0 closed 2 years ago

dugi0 commented 2 years ago

There's a new wsa build out :2207.40000.8.0. I'm unable to login to the store, sign in button has no effect image

Howard20181 commented 2 years ago

com.google.android.gms crash Now OpenGApps does not officially support Android12, further investigation is needed.

Howard20181 commented 2 years ago

Waiting for https://github.com/opengapps/opengapps/pull/959 to be merged or you can try MindTheGApps

Howard20181 commented 2 years ago

It looks like the error was caused by a WebView crash, waiting for Microsoft to fix it.

miaulightouch commented 2 years ago

had build opengapps using a12 branch, but still crash.

msh2050 commented 2 years ago

Waiting for opengapps/opengapps#959 to be merged or you can try MindTheGApps

how to install MindTheGApps

Howard20181 commented 2 years ago

how to install MindTheGApps

~https://github.com/LSPosed/MagiskOnWSALocal/blob/tutorial-Mindthegapps/README.md~


Edit: Tutorial added to README.md.

Worven commented 2 years ago

how to install MindTheGApps

~https://github.com/LSPosed/MagiskOnWSALocal/blob/tutorial-Mindthegapps/README.md~

Edit: Tutorial added to README.md.

Isn't MindtheGapps have only the arm architecture? So how it can replace the GApps?

Howard20181 commented 2 years ago

@Worven Build it yourself

s1204IT commented 2 years ago

https://github.com/s1204IT/MindTheGappsBuilder I made it building with Actions. available by forking.

Howard20181 commented 2 years ago

https://github.com/someone5678/MagiskOnWSALocal/releases/tag/12L-20220903 https://github.com/Howard20181/MindTheGapps-prebuild

msh2050 commented 2 years ago

I used build from the link above, same result, can not sing in even after update.

s1204IT commented 2 years ago

https://github.com/s1204IT/MindTheGappsBuilder I made it building with Actions. available by forking.

https://github.com/someone5678/MagiskOnWSALocal/releases/tag/12L-20220903 https://github.com/Howard20181/MindTheGapps-prebuild

MindTheGapps did not work in my environment. Can other people work (login from Play Store)?

Howard20181 commented 2 years ago

Version 2207.40000.8 has a bug causing the WebView to crash which causes the Play service to crash, try version 2206. @msh2050 @s1204IT

s1204IT commented 2 years ago

Version 2207.40000.8 has a bug causing the WebView to crash which causes the Play service to crash, try version 2206. @msh2050 @s1204IT

It certainly worked with the Retail version.

damnkiwi6120 commented 2 years ago

I think I've bypassed this problem by installing a newer version of WebView from Play Store, and upgrade WSA from 2206 to 2207. At least Play Store work fine after upgrade on my end. image

navinavj commented 2 years ago

@damnkiwi6120 how did you change the default webview to the new one?? can you list the steps

damnkiwi6120 commented 2 years ago

@damnkiwi6120 how did you change the default webview to the new one?? can you list the steps

Installation of newer WebView is straightforward. Search "Android System WebView" in Play Store and install the one with exactly the same name you search for. To change it, go to wsa://com.android.settings, which would open Settings. Go to "System" > "Developer options" > "WebView implementation" and the page shown in my screenshot(lower right one) will open up to let you change the webview. Upgrading is the last step.

s1204IT commented 2 years ago

I think I've bypassed this problem by installing a newer version of WebView from Play Store, and upgrade WSA from 2206 to 2207. At least Play Store work fine after upgrade on my end. image

If you sign in to your Google account with 2206, The Play Store can be used on the 2207 as well. Also changing the default WebView does not solve the problem.

product.img I verified rewriting the webview(MS ver) directly to WebViewGoogle (same version), but it didn't help.

navinavj commented 2 years ago

@s1204IT didn't work for me as well :(

msh2050 commented 2 years ago

I installed 2206 (with open gapps) then login to play store and installed Android System WebView as in the instructions from @damnkiwi6120 ... After the update to 2207 (with mindthegapps) the play store already logged in and working...

muddssar79 commented 2 years ago

I think I've bypassed this problem by installing a newer version of WebView from Play Store, and upgrade WSA from 2206 to 2207. At least Play Store work fine after upgrade on my end. image

If you sign in to your Google account with 2206, The Play Store can be used on the 2207 as well. Also changing the default WebView does not solve the problem.

product.img I verified rewriting the webview(MS ver) directly to WebViewGoogle (same version), but it didn't help.

Yes this method is fully working for me also. image

Therieth commented 2 years ago

Sure you're able to install the Play Store, but the moment you're requested to login by any app you'll not get the login/choosing gmail screen

vb-03 commented 2 years ago

Crashing in 2208.40000.4.0 as well

Howard20181 commented 2 years ago

Now it is not known whether Microsoft is deliberately blocking the use of Google Apps.

JohsttinC commented 2 years ago

Version 2207.40000.8 has a bug causing the WebView to crash which causes the Play service to crash, try version 2206. @msh2050 @s1204IT

Hi there, sorry to bother I am new with code, how can I install version 2206?

JohsttinC commented 2 years ago

Crashing in 2208.40000.4.0 as well

the same for me

s1204IT commented 2 years ago

Version 2207.40000.8 has a bug causing the WebView to crash which causes the Play service to crash, try version 2206. @msh2050 @s1204IT

Hi there, sorry to bother I am new with code, how can I install version 2206?

I have the MindTheGapps_x64 version. Download here

* Download link may be delete without notice.

someone5678 commented 2 years ago

@Howard20181

image

With Selinux Permissive I can add google account in 2208.40000.4.0 Seems like one of the sepolicy label has been deprecated or corrupted

09-16 16:30:45.887 281 361 E NativeTombstoneManager: Tombstone has invalid selinux label (u:r:gmscore_app:s0:c512,c768��), ignoring

Edit: Module that I used for testing: https://github.com/evdenis/selinux_permissive/releases

Howard20181 commented 2 years ago

Thank you, will check it

Howard20181 commented 2 years ago

Finally the problem is fixed, thanks @someone5678

someone5678 commented 2 years ago

XD

Ircama commented 1 year ago

To temporarily set SELinux to permissive, type in the following commands from a cmd prompt:

adb connect 127.0.0.1:58526
adb shell su -c getenforce

this should generally return Enforcing.

adb shell su -c setenforce 0
adb shell su -c getenforce

which should return Permissive.

Then you should be able to login.