Malior-Droid for the Android fun with Scrypy Container and Redroid for ARM

sudo nala install docker docker.io adb -y
sudo mkdir /dev/binderfs
sudo mount -t binder binder /dev/binderfs
wget -O - https://github.com/ChisBread/malior/raw/main/install.sh > /tmp/malior-install.sh && bash /tmp/malior-install.sh  && rm /tmp/malior-install.sh 
malior update
malior install malior-droid
malior-droid update

Install scrpy version 2.0 that is needed for audio forwarding from the android docker container

sudo nala install ffmpeg libsdl2-2.0-0 adb wget gcc git pkg-config meson ninja-build libsdl2-dev libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev libswresample-dev libusb-1.0-0 libusb-1.0-0-dev -y
git clone https://github.com/Genymobile/scrcpy
cd scrcpy
./install_release.sh

Start the Android Emulator on Terminal:

#malior-droid start / stop / restart
malior-droid start
adb connect localhost:5555
scrcpy -s localhost:5555
malior-droid resize 720x1280

#malior-droid resize 1920x1080

Change it to english this way. Just drag and drop your .apk file into the android window it will auto install it .

App to map the gamepad controller sudo nala install antimicro

To become certified with access to the play store you have to:
1 - Install a device ID apk to get this Device ID and register it on your google account.
2 - Register it here: https://www.google.com/android/uncertified/
3 - Give it a day till google approval happens. (Hours minutes or maybe 1 day not in our control).

This script provided by chisbed and with cooperation with monkablyat.
From this: https://github.com/ChisBread/malior/

This model only works on linux arm64 systems. Which makes android to run really really smooth.
I had posted and shared before on telegram and discord however I just wanna share it here with Fyde so yous the PRO’s have a deep look into this and maybe study how this could be implemented to fyde android subsystem or maybe open an kernel exception so maybe we can have this as a plan B option to install it ourselves and have another way to get into the android subsystem and enjoy it more smoothly.

This was tested on Rock 5B more info here: https://forum.radxa.com/t/guide-best-option-for-armbian-afterburner-image-by-monkablyat/14552/1

1 Like