Android
Installing BassBoom to Android!
Last updated
Installing BassBoom to Android!
Last updated
The tricky part is getting BassBoom to run on Android phones and tablets, especially those that run the latest version of Android. The trickier part is getting PulseAudio to work.
To install BassBoom on your phone or tablet, install the following dependencies:
PulseAudio on your Termux environment
Ensure that your Android version is compatible with Termux. You need at least 8 GB of free storage and Android 7.0 or higher.
Once you're done, follow the steps:
Install Termux
Install proot-distro
using the following command:
pkg install proot-distro
Install the Ubuntu proot and PulseAudio
proot-distro install ubuntu
pkg install pulseaudio
Append the following text at the end of the $PREFIX/etc/pulse/default.pa
like this:
echo "load-module module-simple-protocol-tcp source=OpenSL_ES_sink.monitor port=12345 record=true" >> $PREFIX/etc/pulse/default.pa
Start PulseAudio. Note that you'll have to repeat this each time you exit and re-open Termux.
pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
If you get no audio input and you're using a Samsung device with One UI 6.1 or higher, kill PulseAudio with pkill pulseaudio
, then append LD_PRELOAD=/system/lib64/libskcodec.so
before the above command like this:
LD_PRELOAD=/system/lib64/libskcodec.so pulseaudio --start --load="module-native-protocol-tcp auth-ip-acl=127.0.0.1 auth-anonymous=1" --exit-idle-time=-1
Log in to the Ubuntu proot and set the PulseAudio server environment variable
proot-distro login ubuntu
export PULSE_SERVER=127.0.0.1
Ensure that you've updated the package cache
apt update
apt dist-upgrade
Install the .NET 8.0 runtime
apt install dotnet-runtime-8.0
Install wget
to download the latest release from .
apt install wget
wget https://github.com/Aptivi/BassBoom/releases/download/vx.x.x/x.x.x-bin.zip
Install unzip
to extract the files
apt install unzip
unzip x.x.x-bin.zip
Execute dotnet BassBoom.Cli.dll
Once you specify the music path, press Space and music should be playing from your phone or your tablet.
Bleeding-edge builds usually come from building the development branch of the kernel, and they usually contain bugs and other untested features.
If you're a tester to such software, please follow the steps on your Windows machine. Please be sure that you're signed in to your GitHub account.
Select the most recent build
Scroll down to Artifacts and click on the nks-build
button to download the ZIP file.
Repeat steps 1-7 in the Installation
section
Copy the nks-build.zip
file from ~/storage/downloads/nks-build.zip
to your home directory
cp ~/storage/downloads/nks-build.zip ~/
Still in the home directory, install unzip to extract the files
apt install unzip
unzip nks-build.zip
Execute dotnet Nitrocid.dll
Here are important notes to consider when trying to run Nitrocid KS on Android:
Trying to run or build Nitrocid KS on an ARM64 Android device (e.g. Android devices with Qualcomm Snapdragon 8 Gen 2 as SoC) with Termux emits two error messages. The first one is:
and the second one is:
In order to fix the first message, append the below environment variable before each dotnet build
command like this:
Open the
Now, use the termux-setup-storage
command. Follow the instructions .
However, to fix the second message, download the fixed version of proot
using () and run these commands outside the Ubuntu proot-distro
environment: