- Create a VM and install faivorite linux on it (Optional). Debian in my case
- Install Wayland based desktop enviroment (KDE/Gnome). Full DE is not really nessary as Waydroid need is Wayland compositor.
- Install Waydroid. On time of writing Dec 2023 steps are:
sudo apt install curl ca-certificates -y
curl https://repo.waydro.id | sudo bash
Do not do it outside throughaway VM.. If you need to download script and than check content and unsestand what is it doing. All it really do it is adding new repo to the system.sudo apt install waydroid -y
- Install Android with Goole Services
sudo waydroid init -s GAPPS
- Start Waydroid
waydroid
- Certify you install for Google Play Protect”. You need it to use PlayStore
- Run
sudo waydroid shell
- Inside the shell run
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\";"
- Use the string of numbers printed by the command to register the device on your Google Account at (https://www.google.com/android/uncertified)[https://www.google.com/android/uncertified]
- Run
- Fake enviroment to allow Intune checks to pass as described in Github issue #1060
- Edit /var/lib/waydroid/waydroid.cfg and add following to [properties]
# fix root liapp ro.product.brand=google ro.product.manufacturer=Google ro.system.build.product=redfin ro.product.name=redfin ro.product.device=redfin ro.product.model=Pixel 5 ro.system.build.flavor=redfin-user ro.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.system.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.bootimage.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.display.id=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.build.tags=release-keys ro.build.description=redfin-user 11 RQ3A.211001.001 eng.electr.20230318.111310 release-keys ro.vendor.build.fingerprint=google/redfin/redfin:11/RQ3A.211001.001/eng.electr.20230318.111310:user/release-keys ro.vendor.build.id=RQ3A.211001.001 ro.vendor.build.tags=release-keys ro.vendor.build.type=user ro.odm.build.tags=release-keys
- regenerate /var/lib/waydroid/waydroid_base.prop
waydroid upgrade --offline
- Edit /var/lib/waydroid/waydroid.cfg and add following to [properties]
- Start waydroid, launch PlayStore, login to your Gmail account (probaly create new one to stop Intune stealing all data from you real one), install M$ Teams. Intune checks should pass succesfully.