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.53k stars 147 forks source link

cant get vendor id #68

Open theswordsgame opened 1 year ago

theswordsgame commented 1 year ago

when i type in sudo python3 main.py -i i get this result Screenshot from 2023-02-11 22-05-27

ddxv commented 1 year ago

I'm also having the same issue on a new install of Waydroid and Waydroid Scipt. I can see waydroid script downloads the files to /tmp and then copies them to /var/lib/waydroid/overlay/system/priv-app/ but the var/lib/waydroid/data/ directory is completely empty after starting waydroid multiple times.

I think waydroid is supposed to be processing the files in priv-app but currently, mine is not. Is priv-app the correct directory?

ayasa520 commented 1 year ago

This is expected, see https://github.com/waydroid/waydroid/commit/c49dfd272d994b1cdaa14107fee66be84b80c06b#diff-8a3789238e597e35cfe60253425734c0f1bafcee4e03d2eaea38f179637d3804L148-L168

Run commands on waydroid shell instead:

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\";"