Install and setup Waydroid in Ubuntu - Use Android on your Linux tablet!

Поделиться
HTML-код
  • Опубликовано: 2 апр 2023
  • You can run Android on Linux using Waydroid. I'll explain how to install Waydroid on Ubuntu (all the terminal commands are provided down below), turning my Linux tablet (Microsoft Surface Go 2) into an Android tablet (sort of). In addition, you can find out how to set up Waydroid, how to troubleshoot a few issues and how to create custom launchers to use Waydroid more conveniently.
    Video chapters:
    00:34: Prerequisites and installation
    00:50: Initialisation
    01:14: Getting rid of network issues
    01:32: Windowed mode
    02:34: Custom launcher for fullscreen Waydroid
    04:16: Custom launcher to stop Waydroid session and container
    08:20: Google Play certification for your virtual device
    *Installation
    sudo apt install curl ca-certificates -y
    curl repo.waydro.id | sudo bash
    sudo apt install waydroid -y
    *Addressing network issues - setting up the firewall
    sudo ufw allow 53
    sudo ufw allow 67
    sudo ufw default allow FORWARD
    *Windowed mode: enter the command while a Waydroid session is running
    waydroid prop set persist.waydroid.multi_windows true
    *Restart the container for the change to take effect
    sudo systemctl restart waydroid-container
    *Creating a Waydroid fullscreen launcher
    waydroid show-full-ui
    *Stop all Waydroid related sessions and containers (shell script)
    *In Inkscape: load the .svg icon, Ctrl +A, Filters, Colour, Greyscale, Ctrl +S
    *Create a script (for example stopway.sh) with the following content:
    #!/bin/bash
    waydroid session stop
    sleep 1
    sudo waydroid container stop
    *Save the file, make sure it's executable.
    *Google Play certification
    sudo 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\";"
    Enter the numbers provided at: www.google.com/android/uncert...
    Links:
    docs.waydro.id/usage/install-...
    docs.waydro.id/usage/waydroid...
    docs.waydro.id/debugging/netw...
    docs.waydro.id/faq/google-pla...

Комментарии • 13

  • @SirBearingtonSupporter
    @SirBearingtonSupporter 7 дней назад

    RUclips deleting my comments.
    Anyway - this was a great tutorial. Not exactly what I was looking for but it took my 7 minutes to realize that.
    Trying to get scrcpy to work way waydroid.
    I'll try adding the other comment for improvements for this as it contains code that goes against the better safety practices of the internet.

  • @dashinggamerz9236
    @dashinggamerz9236 2 месяца назад +1

    my commander guides me through this network troubleshooting journey and I will follow you!!.
    plz

  • @zora_tech
    @zora_tech 6 месяцев назад +1

    Nice video just curious if you have been able to figure out away that if you turn the tablet in portrait mode, waydroid will resize/scale to portrait mode. I have been trying to do this with some online instruction but cant seem to get to work.

  • @lgbclassix498
    @lgbclassix498 6 месяцев назад

    i used waydroid on pc with linux mint xfce. probelm is that xfce uses xorg as display protocol and you need wayland to run waydroid so u have to install another desktop enviroment before, gnome for ex.. after that you note that the apps not run quite well or crahss cause its an emulation on x86 architecture.
    but install it on on a tablet you have all the advantage of the smartfone system: an arm-architecture where all the apps run without any problems and the wayland protocol. am i right so far ?

  • @mariofanl1ve
    @mariofanl1ve 11 месяцев назад

    The certification script isn't working for me. It is saying "unable to open database file". Im using fedora if that changes anything.

  • @mistaxyz2869
    @mistaxyz2869 11 месяцев назад

    Name of your theme and font

    • @frickelfieber4074
      @frickelfieber4074  10 месяцев назад

      In Waydroid? That's standard lineage os design.

    • @mistaxyz2869
      @mistaxyz2869 10 месяцев назад

      @frickelfieber4074
      No in Linux

  • @durschfalltv7505
    @durschfalltv7505 Год назад

    Welcher Synchronsprecher ist das denn? Hat ein Britte der von der Insel geflüchtet ist Arbeit gesucht?
    Ich bin flabbergasted.

    • @frickelfieber4074
      @frickelfieber4074  Год назад +1

      I spiek zie Inglisch razer vell. It's part of mai jop ;-)

    • @bts_ff415
      @bts_ff415 11 месяцев назад

      ​@@frickelfieber4074how to change vanilla to gapps

  • @durschfalltv7505
    @durschfalltv7505 Год назад +1

    Seit wann denn Englisch?