Getting Android ID doesn't work #123

Open
opened 2023-09-10 10:53:08 -04:00 by Nanto235 · 8 comments
Nanto235 commented 2023-09-10 10:53:08 -04:00 (Migrated from github.com)

sudo venv/bin/python3 main.py certified
Returns
ERROR:
Please help

`sudo venv/bin/python3 main.py certified` Returns `ERROR:` Please help
Duality4Y commented 2023-09-18 06:24:09 -04:00 (Migrated from github.com)

I have the same exact problem.

I have the same exact problem.
JordanViknar commented 2023-09-19 05:41:09 -04:00 (Migrated from github.com)

I am also facing this issue. The lack of an actual error message is slightly concerning.

I am also facing this issue. The lack of an actual error message is slightly concerning.
LiterallyEarth commented 2023-10-23 17:05:13 -04:00 (Migrated from github.com)

I also get the error. This is an official guide on how to get Waydroid certified, we can use it while it gets fixed: https://docs.waydro.id/faq/google-play-certification
Edit: It seems to also work with this script, but only if you didn't select to install Gapps, and used the ones included in the Gapps flavor of Waydroid.

I also get the ` ` error. This is an official guide on how to get Waydroid certified, we can use it while it gets fixed: https://docs.waydro.id/faq/google-play-certification Edit: It seems to also work with this script, but only if you didn't select to install Gapps, and used the ones included in the Gapps flavor of Waydroid.
laichiaheng commented 2024-04-24 23:44:42 -04:00 (Migrated from github.com)

I also get the error. This is an official guide on how to get Waydroid certified, we can use it while it gets fixed: https://docs.waydro.id/faq/google-play-certification Edit: It seems to also work with this script, but only if you didn't select to install Gapps, and used the ones included in the Gapps flavor of Waydroid.

I wonder what's the difference between Gapps in this script and the one from Waydroid.

> I also get the ` ` error. This is an official guide on how to get Waydroid certified, we can use it while it gets fixed: https://docs.waydro.id/faq/google-play-certification Edit: It seems to also work with this script, but only if you didn't select to install Gapps, and used the ones included in the Gapps flavor of Waydroid. I wonder what's the difference between Gapps in this script and the one from Waydroid.
boognish-rising commented 2024-07-03 02:22:32 -04:00 (Migrated from github.com)

If you're still facing issues despite following the official guide (as helpful and amazing as it is, adb loves to shit the bed or at any rate, is a finnicky/fickle program if ever there was one, which was the issue in my case), the following alternative to the official procedure worked for me and a number of others** in the same boat:

(run from host)

echo 'ANDROID_RUNTIME_ROOT=/apex/com.android.runtime sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"' | sudo waydroid shell

** I haven't verified whether it works with this script yet, as I landed here in the process of troubleshooting other issues which this script might help alleviate 🤞

If you're still facing issues despite following the official guide (as helpful and amazing as it is, adb loves to shit the bed or at any rate, is a finnicky/fickle program if ever there was one, which was the issue in my case), the following alternative to the official procedure worked for me and a number of others** in the same boat: (run from host) `echo 'ANDROID_RUNTIME_ROOT=/apex/com.android.runtime sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"' | sudo waydroid shell` ** I haven't verified whether it works with this script yet, as I landed here in the process of troubleshooting other issues which this script might help alleviate :crossed_fingers:
allisonmeow commented 2024-07-28 19:58:55 -04:00 (Migrated from github.com)

none of these methods worked in latest waydroid so heres what i did if anyone still has this

sudo cat ~/.local/share/waydroid/data/data/com.google.android.gms/shared_prefs/checkin.xml
(previously Checkin.xml)

look for androidId
(previously android_id)

none of these methods worked in latest waydroid so heres what i did if anyone still has this `sudo cat ~/.local/share/waydroid/data/data/com.google.android.gms/shared_prefs/checkin.xml` (previously `Checkin.xml`) look for `androidId` (previously `android_id`)
GitResetHard commented 2025-06-23 13:15:14 -04:00 (Migrated from github.com)

none of these methods worked in latest waydroid so heres what i did if anyone still has this

sudo cat ~/.local/share/waydroid/data/data/com.google.android.gms/shared_prefs/checkin.xml (previously Checkin.xml)

look for androidId (previously android_id)

What do you mean ? look for androidId
(previously android_id) ?

> none of these methods worked in latest waydroid so heres what i did if anyone still has this > > `sudo cat ~/.local/share/waydroid/data/data/com.google.android.gms/shared_prefs/checkin.xml` (previously `Checkin.xml`) > > look for `androidId` (previously `android_id`) What do you mean ? look for androidId (previously android_id) ?
alanmcg commented 2025-08-28 10:23:50 -04:00 (Migrated from github.com)

for me this retrieved the id:

cat ~/.local/share/waydroid/data/data/com.google.android.gms/shared_prefs/Checkin.xml | grep android_id

for me this retrieved the id: cat ~/.local/share/waydroid/data/data/com.google.android.gms/shared_prefs/Checkin.xml | grep android_id
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wbruno/waydroid_script#123