Thanks to Waydroid, qwerty12356-wart and the open-source community in general, you can now play Blue Archive on Fedora Atomic. This guide will show you how to install Waydroid, install and patch libhoudini, and install Blue Archive.
# Installing Waydroid
1. Install Waydroid
```bash
sudo rpm-ostree install waydroid
```
2. Reboot the system
```bash
systemctl reboot
```
3. Start Waydroid
```bash
sudo systemctl enable --now waydroid-container
```
4. Launch Waydroid via the application launcher, and then input the following values:
- **System OTA**: https://ota.waydro.id/system
- **Vendor OTA**: https://ota.waydro.id/vendor
5. Ensure to select Gapps and then click on the "Install" button
# Google Play Certification
1. Launch Waydroid shell
```bash
sudo waydroid shell
```
2. Get the Android ID, and then copy it
```bash
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\";"
```
3. Open the following link, and then paste the Android ID:
https://www.google.com/android/uncertified/
4. Wait a few minutes, and then restart Waydroid
```bash
sudo systemctl restart waydroid-container
```
# Installing Libhoudini
1. Clone the repository
```bash
git clone https://github.com/casualsnek/waydroid_script
```
2. Change directory to the cloned repository
```bash
cd waydroid_script
```
3. Create a virtual environment
```bash
python3 -m venv venv
```
4. Install the required packages
```bash
venv/bin/pip install -r requirements.txt
```
5. Install libhoudini
```bash
sudo venv/bin/python3 main.py install libhoudini
```
# Patching libhodini
1. Install `vim-common` (`xxd` is required by the script)
```bash
sudo rpm-ostree install vim-common
```
2. Reboot the system
```bash
systemctl reboot
```
3. Download qwerty12356-wart script
```bash
curl -L https://github.com/user-attachments/files/15800844/scripton.txt -o scripton.sh
```
**Warning:** Be cautious when downloading and executing scripts from the internet. Ensure you trust the source and understand the script's functionality to avoid security risks.
4. Give the script permission to execute
```bash
sudo chmod +x scripton.sh
```
5. Run the script as root
```bash
sudo ./scripton.sh
```
**Warning:** Running scripts with root privileges can be dangerous if the script's content is malicious or if it has not been thoroughly reviewed. Proceed with caution.
# Installing Blue Archive
If you cannot install Blue Archive from the [Google Play Store](https://play.google.com/store/apps/details?id=com.nexon.bluearchive), you can download the APK from [APKPure](https://apkpure.com/blue-archive/com.nexon.bluearchive). Make sure to use the `Browser` application that comes with Waydroid to download the APK. Once the APK is downloaded, you can install it by clicking on the APK file in the `Downloads` folder.
# Conclusion
You should now be able to launch and play Blue Archive on Fedora Atomic using Waydroid. If you encounter any issues, please let me know.
# Sources
- [Waydroid](https://waydro.id/)
- [Waydroid Documentation: Install on Desktops](https://docs.waydro.id/usage/install-on-desktops#fedora)
- [Waydroid Documentation: Google Play Certification](https://docs.waydro.id/faq/google-play-certification)
- [Github: waydroid_script](https://github.com/casualsnek/waydroid_script)
- [Github: qwerty12356-wart script](https://github.com/waydroid/waydroid/issues/788#issuecomment-2162386712)
Its popular with the kids. You don’t have to play it.