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

Device not certified for google play services #769

Closed
Xandor19 opened this issue Feb 21, 2023 · 10 comments
Closed

Device not certified for google play services #769

Xandor19 opened this issue Feb 21, 2023 · 10 comments

Comments

@Xandor19
Copy link

Xandor19 commented Feb 21, 2023

Describe the bug
When I run Waydroid and open de Google Play Store (GAPPS image), after a while of "Checking Information" I get a message that my device is not certified to run Google Play Services and the only aviable choice is "Got It" which returns to the Play Store login screen.

General information (please complete the following information):

  • Waydroid 1.4.0
  • Waydroid GAPPS with vendor_datetime 1676719330

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 x64
  • GPU: NVIDIA Geforce GTX1050M 4GB
  • Kernel version: 5.15
  • Desktop: Gnome 42

Smartphone (please complete the following information):

  • Device: WayDroid x86_64 Device (this is shown as Device Name and Device Model in the Android Configuration)
  • OS: LineageOS 18.1

Additional context
Just installed Waydroid and launched the app after rebooting and starting the session with Ubuntu on Wayland
Already checked Issue #753 but the 3rd command of the 1st step in the 1st comment outputs:

/system/bin/sh: /data/data/com.google.android.gsf/databases/gservices.db: can't execute: Permission denied

Note that I enabled Rooting Debbuging in the developer settings as indicated

@PhilDevProg
Copy link

That means that you have to register your device at Google. You can use this script: https://github.com/casualsnek/waydroid_script

@alevesely
Copy link

I have a similar problem on a Pinephone pro. I run waydroid_script and can download soma apps, for example telegram. However, some apps are not showed, and when I force their selection, I get this:

    Waydroid Pine64 PinePhone (1.2)
    This item is not compatible with your device

Isn't it possible to pretend to be Android?

@PhilDevProg
Copy link

You can use the Aurora Store (alternative frontend for Play Store) which shows them too for me.

@Xandor19 Xandor19 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2023
@alevesely
Copy link

Once I did. I downloaded bper-banca.apk on the PC and transferred it to the phone. But it doesn't install.

How can I trace what happens?

@PhilDevProg
Copy link

What do you mean by 'it doesn't install'? How did you try to install it? Was there an error?

@alevesely
Copy link

I run waydroid app install bper-banca.apk. It runs for a short time and exits without giving any notice. The app is not installed. In the journal I find these lines, possibly related:

Feb 22 08:59:42 alesmart kernel: binder: 675571 RLIMIT_NICE not set
Feb 22 08:59:44 alesmart kernel: binder: undelivered death notification, 0000000000000001

If I run it as root, then I get a line of output:

[ale@alesmart ~]$ sudo waydroid app install bper-banca.apk 
[09:06:29] WayDroid session is stopped

And the log says:

Feb 22 09:06:27 alesmart sudo[676822]: pam_systemd_home(sudo:account): Not a user managed by systemd-homed: No home for user ale known
Feb 22 09:06:27 alesmart sudo[676822]:      ale : TTY=pts/0 ; PWD=/home/ale ; USER=root ; COMMAND=/usr/bin/waydroid app install bper-banca.apk
Feb 22 09:06:27 alesmart sudo[676822]: pam_unix(sudo:session): session opened for user root(uid=0) by ale(uid=1002)
Feb 22 09:06:29 alesmart sudo[676822]: pam_unix(sudo:session): session closed for user root
Feb 22 09:06:46 alesmart kernel: binder: 676886 RLIMIT_NICE not set
Feb 22 09:06:47 alesmart kernel: binder: undelivered death notification, 0000000000000001

I'd need something like gdb for Python, methinks.

@MoathDawahreh
Copy link

Any updates on this matter folks? I am having the same issue!

@baptx
Copy link

baptx commented Dec 26, 2023

I got the issue and fixed it by following the instructions on https://docs.waydro.id/faq/google-play-certification.

@alevesely
Copy link

alevesely commented Jan 5, 2024 via email

@baptx
Copy link

baptx commented Jan 5, 2024

@alevesely Maybe editing /var/lib/waydroid/waydroid_base.prop to spoof the device can help you:
#935 (comment) (#1060 (comment))
I wanted to install Snapchat from Google Play Store but it said the app is not compatible with my device, even after editing waydroid_base.prop and restarting Waydroid.
There are related issues here:
#1127
#968
Now I installed libhoudini with the script https://github.com/casualsnek/waydroid_script while Waydroid was stopped and then I was able to install Snapchat from Google Play Store.
Some apps like Snapchat work better by changing the resolution (like people did with Anbox: anbox/anbox#800 (comment)), for example with this command:
weston --width=600 --height=1040

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

5 participants