waydroid icon indicating copy to clipboard operation
waydroid copied to clipboard

How to fix "This device isn't play protect certificated" error.

Open ghost opened this issue 2 years ago • 11 comments

image I tried this guide but it doesn't work when i search android id of waydroid. (https://docs.waydro.id/faq/google-play-certification) image What should i do?

ghost avatar Aug 27 '23 05:08 ghost

I am using fedora/linux

ghost avatar Aug 27 '23 06:08 ghost

In that guide adb root is not mentioned, maybe try using the commands provided :thinking: eg.

  1. sudo waydroid shell followed by:
  2. ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"

TriMoon avatar Aug 27 '23 06:08 TriMoon

Thanks, it worked

ghost avatar Aug 27 '23 07:08 ghost

this issue should be closed

Quackdoc avatar Aug 29 '23 19:08 Quackdoc

In that guide adb root is not mentioned, maybe try using the commands provided 🤔 eg.

1. `sudo waydroid shell` followed by:

2. `ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"`

I got error by @TriMoon following:

Error: unable to open database "/data/data/com.google.android.gsf/databases/gservices.db": unable to open database file

Waydroid seem not to generate gservices.db on kubuntu 22.04.

lutuantai95 avatar Aug 30 '23 16:08 lutuantai95

had the same issue on both Linux mint and Zorin OS

Nathan22211 avatar Sep 01 '23 09:09 Nathan22211

@lutuantai95 @Nathan22211 i guess you both didn't use the GAPS images :wink: Also IIRC, reading the instructions, it needs to be performed while Waydroid is running... Anyhow, it worked for me and others, im on Kubuntu 23.04...

TriMoon avatar Sep 03 '23 19:09 TriMoon

@TriMoon it turns out using the android install part of waydroid script borks google apps completely

Nathan22211 avatar Sep 04 '23 21:09 Nathan22211

@TriMoon, Thanks so much!

I reinstalled with GAPPS image as here and registered certification as here.

Finally, it worked!

But in game app, Waydroid can't zoom out/in. Have you caught this issue ? :smiley:

lutuantai95 avatar Sep 05 '23 07:09 lutuantai95

This issue should be closed as completed, and pinned for future reference.

Thesola10 avatar Oct 03 '23 18:10 Thesola10

I get this output when I use the command @lutuantai95 gave.

lxc-attach: waydroid: ../src/lxc/attach.c: lxc_attach_run_command: 1841 No such file or directory - Failed to exec "ANDROID_RUNTIME_ROOT=/apex/com.android.runtime"

nololler avatar Mar 08 '24 18:03 nololler

The warning may not be gone, but after restarting my Arch PC I was able to use Google Play Services after following this link. Finally I'm able to access Google in my emulator.

rayhan354 avatar Mar 12 '25 16:03 rayhan354

this certifying site is somewhat broken at the moment when submitting it gives a backend js error (while inspecting)

TomatoLeague00 avatar Nov 26 '25 09:11 TomatoLeague00

I am also having issues with the google certifying site, the "register" button seems to not do anything except raise a JS Error.

Najo-z avatar Nov 26 '25 17:11 Najo-z