Blue Archive on Linux with Waydroid

Before you read on, please be wary though that 2 of these patches are mprotect related. Use it at your own risk. No one is responsible for bans.

Through painful times, finally we have Blue Archive running under Waydroid. And it runs surprisingly well too! And is also easy to get it running.

Before doing all of this, you need to have Waydroid with libhoudini installed. No, libndk does not work.

Guide

Installing Waydroid

I’ll just copypaste this from another blog of mine.
Here you go;

1) Install Waydroid
-Arch:
https://wiki.archlinux.org/title/Waydroid

-Nix:
https://nixos.wiki/wiki/WayDroid

-Fedora:

sudo dnf install waydroid

-Ubuntu/Debian/anything based on it:

sudo apt install curl ca-certificates -y
curl https://repo.waydro.id | sudo bash
sudo apt install waydroid -y

-Anything else:
https://docs.waydro.id/usage/install-on-desktops

1.1) Run waydroid for the first time
Then open the GUI app, and paste the links for OTAs
System OTA: https://ota.waydro.id/system
Vendor OTA: https://ota.waydro.id/vendor
Pick variant as GAPPS, install. Then run waydroid show-full-ui once its complete.

2) Setup play store 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\";"

Paste the ID into:
https://www.google.com/android/uncertified
Then wait for a few minutes and restart waydroid

3) Disable GUI keyboard
Waydroid by default shows the Android virtual keyboard when selecting an input field. To disable that, and only use the physical keyboard, turn off the following setting: Settings > System > Languages & input > Physical keyboard > Use on-screen keyboard

Installing translation layer

1) Prepare script to install the translation layer

git clone https://github.com/casualsnek/waydroid_script
cd waydroid_script
python3 -m venv venv
venv/bin/pip install -r requirements.txt

2) Get libhoudini(Intel):

sudo venv/bin/python3 main.py install libhoudini

2.1) Get libndk(AMD):
Not supported for this game. Do NOT use libndk. Performance should be usable on libhoudini since its a simple game.
UPDATE:IT’S SUPPORTED NOW! Install libndk:

sudo venv/bin/python3 main.py install libndk

Installing the libhoudini patch for Blue Archive

Download this file:
https://github.com/user-attachments/files/15800844/scripton.txt

Then, run the commands below.

mv /path/to/file/scripton.txt /path/to/file/scripton.sh
chmod +x /path/to/file/scripton.sh
sudo ./path/to/file/scripton.sh
waydroid session stop

Then, just install Blue Archive from Play Store and start up the game. It should work just fine. Screenshots:

Or, here is a video in action instead.

Libndk users

Refer to using this script instead of the libhoudini one.

Thanks to;

Waydroid, for android container
waydroid_script, for libhoudini
qwerty12356-wart, for the script


Comments

17 responses to “Blue Archive on Linux with Waydroid”

  1. are you toilet sigma infinite or lucitik gaming
    —EDITED BY ios7jbpro—
    ^
    nah wtf man are you on crack

  2. herzblutnord Avatar
    herzblutnord

    hey, libndk also got a script now, you can update this 😀
    its in the same github issue

    1. realized, thanks. updating now.

  3. Hey, i need an help. So after i download scripton_ndk.txt and use mv /path command it is not working for me. Or is there manual way to put that script somehow?

    1. What exactly are you stuck at? Like, give me more details.

      1. Nah, its okay now. After switching to Nobara Linux now its working. Thanks for amazing guide.

        1. Oh great. Welcome!

  4. ベルテロス Avatar
    ベルテロス

    how i can fix this
    mv: missing destination file operand after ‘/path/to/file/scripton.txt’

    I really confused about this because im new to this…

    1. Replace path to file part with where did you download the script.

    2. In my case i just to rename “scripton.txt to “scripton.sh” (without quote), then open your terminal in folder by right click then type “./scripton.sh”. Then, voila!

  5. LinuxTourist Avatar
    LinuxTourist

    Thanks for this guide, everything worked up until command:
    “sudo ./path/to/file/scripton.sh” , getting command not found.

    path is typed correct, as scripton-file has been changed from .txt to .sh
    I’m new to Linux so not familiar with commands.

    1. Okay, that’s weird. Can I get Discord or some else contact way to help?

  6. i can’t get past the title screen, only shows a black screen at startup. I tested it on arch and fedora with the same results…

    1. Sorry for the late reply. Logs?

  7. Thank you very much for this tutorial! Everything seems to work great!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.