waydroid_script icon indicating copy to clipboard operation
waydroid_script copied to clipboard

Error w/o any description

Open t-lessy opened this issue 2 years ago • 2 comments

While trying to get Device ID from readme, I got: main.py: error: argument command: invalid choice: 'google' (choose from 'certified', 'install', 'remove', 'uninstall', 'hack')

Later, using "main.py > Android 11 > Get Google Device ID to Get Certified" I got:

? Select Android version Android 11
? Please select an action Get Google Device ID to Get Certified
ERROR: 

image

There is nothing else. :_(

Using on EndeavourOS (Arch-based), while Waydroid is opened.

If I did some mistakes or gave not enough information, sorry and please, point on it. :)

t-lessy avatar Jun 25 '23 03:06 t-lessy

What happens if you get the device id manually?

  1. Run below command on waydroid shell: 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\";"
  2. Grab device id and register on this website: https://www.google.com/android/uncertified/
  3. Restart waydroid

ayasa520 avatar Jul 07 '23 11:07 ayasa520

Oh, that worked! Gave me ID. And I tried to reproduce actions, that I described in issue, now. Script gave me same ID as from your method. TY!

t-lessy avatar Aug 07 '23 09:08 t-lessy