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

[com.openai.chatgpt] Something went wrong. Please make sure your device has the latest version of Google Play. #2108

Open
RusticCraftsman opened this issue Dec 5, 2023 · 44 comments

Comments

@RusticCraftsman
Copy link

Affected app
Name: chatgpt
Package id: [com.openai.chatgpt]

Describe the bug
After starting the app, the app will ask for an account, pressing any avaliable button will show up the following error on the top of the screen in a text box:

Something went wrong. Please make sure your device has the latest version of Google Play.
6947e67b-ec3d-4adf-9a92-2cdb41534e56, (-9)

To Reproduce
Steps to reproduce the behavior:

  1. Start the app
  2. Press any of the avaliable buttons in order to create or enter an existing account

Expected behavior
proceed with the login or sign up process

Screenshots
image

System
Android Version: [13]
Custom ROM: [20-20230904-microG-devon] (lineageos microg rom for moto g32)

microG
microG Core version: [0.2.27.223616]
microG Self-Check results: [All ticked]

@ale5000-git
Copy link
Member

When microG is installed the "version of Google Play" is the version of microG; so just do it: update microG :-)

@RusticCraftsman
Copy link
Author

When microG is installed the "version of Google Play" is the version of microG; so just do it: update microG :-)

Forgot to mention that this error happens regardless of the version of microg, it has been happening for months now, just updated microg to 3.0 and still happens, the behaviour and error are always the same.

@ale5000-git
Copy link
Member

The error message is generic, to discover the real issue please post a logcat (sometime it is really the version but the other times it may be a missing feature).

@RusticCraftsman
Copy link
Author

The error message is generic, to discover the real issue please post a logcat (sometime it is really the version but the other times it may be a missing feature).

https://paste.c-net.org/HandlesStranger

Timestamp 11:34:43.212 i start pushing the buttons in order, from top to bottom, in the following order: Google, Apple, Sign up, Log in.

I have no idea when com.openai.chatgpt starts, there are lines everywhere. The logcat starts just before i open the app from the app searcher and ends after pushing the buttons

@ale5000-git
Copy link
Member

I'm not completely sure but proably the problem is related to this:
12-05 11:34:43.217 1686 3781 W ActivityManager: Unable to start service Intent { act=com.google.android.play.core.integrityservice.BIND_INTEGRITY_SERVICE pkg=com.android.vending } U=0: not found

In the log there is also this issue:
12-05 10:48:18.500 1686 1834 W BroadcastQueue: Target SDK mismatch: receiver ActivityInfo{bd367b1 org.microg.gms.gcm.TriggerReceiver} targets 29 but delivery restricted to [0, 23] broadcasting Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4200010 (has extras) } from android (pid=1686, uid=1000) to com.google.android.gms/org.microg.gms.gcm.TriggerReceiver

And also some microG crashes.

@mar-v-in

@Wizit38
Copy link

Wizit38 commented Dec 20, 2023

This issue also happens with the latest version of lighthouse for huawei ie
0.3.0.233516-lh

@Piervit
Copy link

Piervit commented Jan 4, 2024

I reproduced the problem on my e/Os phone. Same error message.

From my understanding, the issue is that microG doesn't handle com.google.android.play:integrity : https://maven.google.com/web/index.html#com.google.android.play:integrity:1.3.0 .

Can someone confirm this should be integrated?

@mityax
Copy link

mityax commented Feb 25, 2024

I get the same error when trying to use my banking app on a Pixel 5.

02-25 17:48:15.151  1861  2589 W ActivityManager: Unable to start service Intent { act=com.google.android.play.core.integrityservice.BIND_INTEGRITY_SERVICE pkg=com.android.vending } U=0: not found

@BurhanBudak
Copy link

Try disabling the companion app.

@mityax
Copy link

mityax commented Mar 10, 2024

Try disabling the companion app.

Doesn't seem to make a difference :/

@BurhanBudak
Copy link

Try disabling the companion app.

Doesn't seem to make a difference :/

It was worth a try, because the companion vending app doesn't emulate Play store that well. I had to downgrade some apps to work with or without companion.

Try the oldest ChatGPT app, the API should be 3.5

@kv9898
Copy link

kv9898 commented Apr 3, 2024

Same issue here

@fairkid
Copy link

fairkid commented Apr 5, 2024

There is a way to fix this. 1. download the latest version of google play store apk 2. uninstall the google play store in your phone 3.install the downloaded the lastest google play store apk to your android phone, and waiting the play app finish the update, then should be ok. just success and verified on my huawei mate series phone. hope it helps.
(note: this way is just after all the other steps using mircog to finish the previous intall and find warning that "Something went wrong. Please make sure your device has the latest version of Google Play/ service" when you want to use chatgpt)

@fairkid
Copy link

fairkid commented Apr 5, 2024

There is a way to fix this. 1. download the latest version of google play store apk 2. uninstall the google play store in your phone 3.install the downloaded the lastest google play store apk to your android phone, and waiting the play app finish the update, then should be ok. just success and verified on my huawei mate series phone. hope it helps.有一种方法可以解决这个问题。 1.下载最新版本的google play store apk 2.卸载手机中的google play store 3.将下载的最新google play store apk安装到您的android手机上,等待play应用程序完成更新,然后就可以了。刚刚成功并在我的华为mate系列手机上验证。希望能帮助到你。 (note: this way is just after all the other steps using mircog to finish the previous intall and find warning that "Something went wrong. Please make sure your device has the latest version of Google Play/ service" when you want to use chatgpt) (注意:这种方式是在使用mircog完成之前的所有其他步骤之后,当您想使用chatgpt时,会发现警告“出现问题。请确保您的设备有最新版本的Google Play/服务”)

the link to download latest google play apk for now here: https://www.huaweicentral.com/download-latest-google-play-store-application-apk/

@Lenni-builder
Copy link

I think most microG users don't want to use the official Play Store since that would basically make microG useless in terms of privacy

@kv9898
Copy link

kv9898 commented Apr 25, 2024

There is a way to fix this. 1. download the latest version of google play store apk 2. uninstall the google play store in your phone 3.install the downloaded the lastest google play store apk to your android phone, and waiting the play app finish the update, then should be ok. just success and verified on my huawei mate series phone. hope it helps. (note: this way is just after all the other steps using mircog to finish the previous intall and find warning that "Something went wrong. Please make sure your device has the latest version of Google Play/ service" when you want to use chatgpt)

play store crashes on my device tho. Mine is a matepad 11 with microg

@BurhanBudak
Copy link

I think most microG users don't want to use the official Play Store since that would basically make microG useless in terms of privacy

True but microG Companion doesnt spoof the Play İntegrity part. There has been shell versions of Play Store for basic usage that fakestore couldnt cover.

@BurhanBudak
Copy link

BurhanBudak commented Apr 25, 2024

If people want "a Play Store", fork this repo and continue the work:

https://github.com/sn-00-x/fakestore2playstore

It worked when we had fakestore but not with Companion. But the issue here is that it emulates a very old PlayStore and does some Play Integrity stuff.

The " Play Store" targets Android 10.

@wki1
Copy link

wki1 commented May 12, 2024

if you're still facing the problem, Go to app info of Play store and stop the uninstall the updated version. It worked for and i hope it'll work for you too.

@kingwe-stack
Copy link

actually maybe your goole version is not the latest,even though you check ot.in google player.you can use apkmirro to install the latest one.i tried it.And sucessed

@Lenni-builder
Copy link

I think we should stop discussing how to install the Play Store here, since many people use microG to get rid of Play services

@GratitechHD
Copy link

I'm quite surprised how no one here has ever arrived at the conclusion that an unlocked bootloader may be the reason for this error. Because from my observations, all clues lead to an unlocked bootloader being the culprit.

Why I know this:

  • I own several various Android phones, of different "states".
  • My OnePlus 7 Pro running a custom A13 ROM, gives this error
  • My Pixel 4 running stock, but fully rooted and unlocked, gives this error
  • my LG G7, unrooted but unlocked, gives this error
  • my LG G8, unrooted and locked, does NOT give this error.

Therefore, I can only conclude that an unlocked bootloader may very likely be the reason, and that Google play integrity logcat snippet might just be connected to all this.

@D3SOX
Copy link
Contributor

D3SOX commented Jun 10, 2024

@xNeonHD I'm using a Pixel 8 Pro with CalyxOS and I also can't use the app so only an unlocked bootloader can't be the culprit

@Lenni-builder
Copy link

@xNeonHD @D3SOX I think the reason might be )lay Integrity (or SafetyNet?)

@GratitechHD
Copy link

@xNeonHD @D3SOX I think the reason might be )lay Integrity (or SafetyNet?)

That's exactly what I'm thinking. It's the same measures deployed by banking apps.

@D3SOX
Copy link
Contributor

D3SOX commented Jun 10, 2024

Yes, I don't get any Play Integrity or SafetyNet validation as of now. I don't think that's possible with a custom ROM without Rooting and using Magisk modules. (I don't have problems with any banking apps I use though lol)

@kaduvert
Copy link

kaduvert commented Jun 10, 2024

I'm quite surprised how no one here has ever arrived at the conclusion that an unlocked bootloader may be the reason for this error. Because from my observations, all clues lead to an unlocked bootloader being the culprit.

Why I know this:

  • I own several various Android phones, of different "states".
  • My OnePlus 7 Pro running a custom A13 ROM, gives this error
  • My Pixel 4 running stock, but fully rooted and unlocked, gives this error
  • my LG G7, unrooted but unlocked, gives this error
  • my LG G8, unrooted and locked, does NOT give this error.

Therefore, I can only conclude that an unlocked bootloader may very likely be the reason, and that Google play integrity logcat snippet might just be connected to all this.

you're right.

Play Intergrity (previously SafetyNet) is a service by google built into the play store, which allows apps to attestate your device.
because of some cryptographic signature android verified boot stuff, your bootloader has to be locked AND you have to use the stock rom in order for play integrity to return a MEETS_STRONG_INTEGRITY verdict.
this verdict is probably what the chatgpt app wants.

microg hasn't implemented play integrity (and probably never will, because it can't spoof MEETS_STRONG_INTEGRITY because of cryptographic signatures) and thus it doesn't give back any verdict at all.
in fact the service handling these request is simply missing, that's why the app reports that it failed to bind to service.

so what's the solution?

  • don't bother with the chatgpt app (smart)
  • get stock rom and relock (discouraged)
  • implement play integrity in microg and break it's cryptography to spoof verdicts (very smart, encouraged)

@D3SOX
Copy link
Contributor

D3SOX commented Jun 10, 2024

@kaduvert I don't think MEETS_STRONG_INTEGRITY is required for a lot of apps. I know Magisk modules that can bypass it so it should somehow be possible with microG too

@kaduvert
Copy link

kaduvert commented Jun 10, 2024

@kaduvert I don't think MEETS_STRONG_INTEGRITY is required for a lot of apps. I know Magisk modules that can bypass it so it should somehow be possible with microG too

PlayIntegrityFix by chiteroman, which is what i think you're referring to, can get your bootloader-unlocked device the MEETS_BASIC_INTEGRITY verdict.
from what the people are describing here, it seems as though this isn't enough and even if it would be, you can't get MEETS_BASIC_INTEGRITY on microG devices.
you could at best get the SafetyNet equivalent (which this app doesn't care about)

but even if your device could get a MEETS_STRONG_INTEGRITY with some Magisk module, it still wouldn't be possible because microG has not implemented the Play Integrity API. (you know, the part that actually does the Integrity Checking)

my solutions outlined before are really the only ones there are.
maybe you can find an alternative front-end app for ChatGPT, like gptAssist which does not check Integrity, but that's about it

@D3SOX
Copy link
Contributor

D3SOX commented Jun 10, 2024

I don't need such an app, I can use the website. But the official app has more features and runs smoother.

@dragnev-dev
Copy link

Not getting the "Advanced voice mode" is actually disappointing. Is there a way to use that through the web interface?

@AwakeMidway485
Copy link

As an alternative, I can tell you that Claude works very well on a phone with microG

@Sapiosenses
Copy link

Sapiosenses commented Jul 19, 2024

I don't think that's possible with a custom ROM without Rooting and using Magisk modules.

Some custom ROMs include some mitigation measures in the ROM's native code, and the result is you can pass Play Integrity without having to root the device or install any modules. But passing Play Integrity still relies on the official Play Store to be installed.

One such ROM I know of that can do this is crDroid. Tested on latest 10.6. (I don't run crDroid personally, this report is from other maintainers and users of crDroid)

Re: official Play Store - to mitigate some of its bad behaviour on the one device I have that I run it on, I freeze/disable it with App Manager when it's not actively being used. (Some paid apps want to periodically do Play Store license checks, for those you may need to enable it before opening such apps)

@Lenni-builder
Copy link

This is kind of off-topic, but regarding license checks: MicroG itself can do this now.

@leozhang007
Copy link

Guys, is there a solution to this problem now?

@xomarnd
Copy link

xomarnd commented Aug 21, 2024

On v0.3.2.240913 Latest does not work

@sneakyx
Copy link

sneakyx commented Aug 22, 2024

Same here.
It works with lineageos with gapps, but not on eos with microg.

@GratitechHD
Copy link

It works with lineageos with gapps

What? How is that possible?

Update 1: Okay, I actually do have LOS 21 running on a phone and you're right, it does work.

Update 2: Wait, I'm now using the app on a phone that previously didn't work, and now it works. Wow what a miracle.

@mnikpro
Copy link

mnikpro commented Aug 24, 2024

Has anybody found a solution to this?

@sneakyx
Copy link

sneakyx commented Aug 31, 2024

I thought I had a solution....
I installed lineageos with gapps. There, ChatGPT seems to run smootly.
Then i made a seedvault backup (including chatgpt login settings). When I restored the seedvault-backup in eos, the app starts finally. I was happy, because I can see all the chats that I made, but I can't start a new chat.
Someone has an idea?

@benjaminlza
Copy link

benjaminlza commented Nov 6, 2024

I solved the problem by downloading the Google Play Store from APKPure. After that, the Google Play Store automatically updated and I deleted the Chatgpt. I went to the store and redownloaded it. Then everything went right. I used Vivo with a VPN located in U.S. Hope it will work for you.

@ale5000-git
Copy link
Member

There is already a PR related to this: #2599

@norbert-yip
Copy link

norbert-yip commented Nov 7, 2024

That's work at my phone(Xiaomi 13).

Solution

My Solution is:

  1. I tried to update my Google paly stroe by my Google Play App, but when it clicked check for update, it reminded me that it's the latest version.
  2. But I didn't believe that one bit.. 🤪
  3. I went to apkpure.com and then installed ApkPure in my phone.
  4. When i opened ApkPure and went to App Management, it show me that I have a new version for Google Play Store. I clicked update of coures.
  5. When It finished update Google Play Store, I uninstalled ChatGPT first(In order to avoid unnecessary anomalies), and then opened Google Play to install ChatGPT.
  6. When I opened ChantGPT, Everything work!!! I can log in by Google or by my openai account.

screenshots

I encountered the same problem before I tried:
WechatIMG79

I tryed to update Google Play Store:
WechatIMG78

! After I reinstall ChatGPT on the new Google Play Store:
WechatIMG80

@Black-death-2024
Copy link

you must use the same account in chat gpt and google play this will solve the problem

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