Sound 🎵

Let's rock with the music! 🎸

You can use your speakers while using your distro to get all that nice music from Spotify (or anything) while you code. We use Pulse Audio to get that sound out of the PRoot container to your Android's speakers.

Modded OS have sound output through phone's speakers enabled out of the box.

Just follow these steps correctly in order to have sound output enabled-

  • Just close the distro if you have it opened with running exit inside Termux. Ignore this step if you haven't have your distro working.

exit
  • Run the following command in Termux (Not inside Linux)

pkg install wget && wget https://andronixos.sfo2.cdn.digitaloceanspaces.com/OS-Files/setup-audio.sh && chmod +x setup-audio.sh && ./setup-audio.sh
  • This should enable you to have sound inside the distro.

Check the volume level before filing any bug report.

If you are still not able to get the audio output or the audio stops after a certain time then open a new Termux session and type:

pulseaudio --start

If you started the VNC and have not played any audio within 15minutes of time span then audio server kills itself to prevent excessive battery drain.