casualsnek / waydroid_script

Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !
GNU General Public License v3.0
1.5k stars 144 forks source link

Error w/o any description #99

Open t-lessy opened 1 year ago

t-lessy commented 1 year ago

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. :)

ayasa520 commented 1 year ago

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
t-lessy commented 11 months ago

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!