| 4 | |
| 5 | |
| 6 | class AndroidId: |
| 7 | def get_id(self): |
| 8 | if container.is_running(): |
| 9 | try: |
| 10 | queryout = shell( |
| 11 | arg="sqlite3 /data/data/com.google.android.gsf/databases/gservices.db \"select * from main where name = 'android_id';\"", |
| 12 | env="ANDROID_RUNTIME_ROOT=/apex/com.android.runtime ANDROID_DATA=/data ANDROID_TZDATA_ROOT=/apex/com.android.tzdata ANDROID_I18N_ROOT=/apex/com.android.i18n" |
| 13 | ) |
| 14 | except: |
| 15 | return |
| 16 | else: |
| 17 | Logger.error("Please make sure Waydroid is running and Gapps has been installed!") |
| 18 | return |
| 19 | print(queryout.replace("android_id|", "").strip()) |
| 20 | print(" ^----- Open https://google.com/android/uncertified/?pli=1") |
| 21 | print(" Login with your google id then submit the form with id shown above") |
no outgoing calls
no test coverage detected