waydroid_script icon indicating copy to clipboard operation
waydroid_script copied to clipboard

Cant get android device ID

Open tarithj opened this issue 2 years ago • 8 comments

I followed the README but I cant get the device id

image

tarithj avatar Feb 06 '22 09:02 tarithj

After installing gapps have you ran waydroid and tried to open play store ? If you have not done that, open play store at least once and try running the script again !

casualsnek avatar Feb 06 '22 09:02 casualsnek

Nope, tried it still didnt work

tarithj avatar Feb 06 '22 10:02 tarithj

I'm seeing this same issue. I've tried opening waydroid and running the play store, tried restarting the container, no luck. I'm running on Fedora 35, using the versions from here: https://copr.fedorainfracloud.org/coprs/aleasto/waydroid/

KevinBowen0 avatar Mar 15 '22 00:03 KevinBowen0

i have to same issue image

SonyaCore avatar Apr 21 '22 09:04 SonyaCore

yeah also has this issue can just the waydroid devs do it like anbox which already has a play store licence

kibo1no1shirei-kan avatar Aug 30 '22 13:08 kibo1no1shirei-kan

it also seems that the home directory is empty

kibo1no1shirei-kan avatar Aug 31 '22 01:08 kibo1no1shirei-kan

it looks like after a reebot the id becomes visible

kibo1no1shirei-kan avatar Aug 31 '22 01:08 kibo1no1shirei-kan

I am having similar issue. I have started playstore more than once while waydroid was running and ran the script again but it didn't show me the id. I have also tried rebooting but no success with getting the id. Could it possibly be related to this command sudo python3 waydroid_extras.py [-i/-g/-n/-h] because when I ran that during the installation process it says no matches found.

mudiagauwojeya avatar Oct 10 '22 19:10 mudiagauwojeya

same issue

AbdullahAlhariri avatar Nov 06 '22 15:11 AbdullahAlhariri

Seems waydroid now writes data to:

~/.local/share/waydroid/data/data/com.google.android.gsf/databases/gservices.db

and not to where waydroid_script expects:

/var/lib/waydroid//data/data/com.google.android.gsf/databases/gservices.db

sduensin avatar Apr 14 '23 00:04 sduensin

Another thing to check for those of you having problems... Be sure networking is functioning inside waydroid. If the browser can't reach Google, neither can Play. Networking has to function to get a device ID.

sduensin avatar Apr 14 '23 01:04 sduensin

correct .Edit some codes. cd stuffs/ vi android_id.py replace "/var/lib/waydroid//data/data/com.google.android.gsf/databases/gservices.db" by "/home/tonmoy/.local/share/waydroid/data/data/com.google.android.gsf/databases/gservices.db" In my case the user name is Tonmoy.There it will be your user name. Screenshot_20230430_171602

100% working Screenshot_20230430_172112 Thank you @sduensin

tonmoy998 avatar Apr 30 '23 11:04 tonmoy998

Here is the proof : )

Screenshot_20230430_172433

tonmoy998 avatar Apr 30 '23 11:04 tonmoy998

Fixed for me too thanks!

tarithj avatar Apr 30 '23 19:04 tarithj