You can use your speakers while using your distro to get all that excellent music from Spotify (or anything) while you code. We use Pulse Audio to get that sound out of the PRoot container to your phone'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-

  • Close the distro if you have it opened with running exit inside Termux. Ignore this step if you haven't had your distro running in the first place.
  • Run the following command in Termux (Not inside Linux)
 pkg install wget && wget && chmod +x && ./