Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wkbd006

Pages: [1]
1
Cosmo Communicator - Android / HDMI audio output
« on: May 31, 2021, 02:04:18 pm »
Today I was testing the HDMI output on Android on my Cosmo and I noticed that my TV is not playing any sound when connected by HDMI. At first I got no sound at all but when I disconnected the HDMI cable from the USB-C to HDMI adapter, the sound switched to internal speakers. Then, after reconnecting the cable, the sound was still coming from internal speakers while video was mirrored on the TV.

Can something be done to have the HDMI audio working? Is it a cable or TV compatibility issue? Other devices do play the sound through the TV.

2
I did not use my Cosmo much afterwards unfortunately, so there was no further development. I think the issue which was blocking for me was that my desktop environment (MATE) did not play well Cosmo's screen size. Either font sizes had to be very small or Firefox left only half of the screen height for a page content.

3
The bootstrap script creates one unprivileged user who can run sudo. The user name and the password need to be set in the configuration before starting the installation.

4
This is another method of installing a Linux distribution on Android. I have found it a little bit easier and the final result more functional than the Devuan installation posted on February. The steps are based on this article https://www.makeuseof.com/tag/how-to-linux-on-android. It is assumed that Android allows root user access.

Here are the steps (the option names may be different depending on the language):
  • Prepare a microSD card: create at least one ext4 partition which is going to be used as a root partition for the newly installed system. You can also create a FAT32 partition to share data as well as other Linux partitions. After partitioning insert it into Cosmo.
  • Install following apps from Play Store: Linux deploy, XServer XSDL. The original article also recommends installing Busybox, but it seems to be not necessary.
  • Start Linux Deploy and choose the configuration button in upper right corner, set the following configuration options:
    Bootstrap
    - distribution: Debian
    - architecture: arm64
    - distribution package: buster
    - type of installation: partition
    - installation path: for example /dev/block/mmcblk1p2
    - filesystem: ext4
    - username: set a suitable value
    - password: set a suitable value
    - locale: set a suitable value, for example en_GB.UTF-8
    Mounts
    - custom mount points: yes
    - mount point list: add here entries for other partitions such as /home
    SSH
    - SSH: yes
    PulseAudio
    - enable: yes
    GUI
    - GUI: yes
    - graphical subsystem: X11
    - graphical environment: choose your favourite
  • Next, open the three dots menu o the right and select install, this may take some time.
  • After installation you should be able to start the system by selecting "▶ Launch"
  • Now you should be able to log in by ssh from other system in the local network or from Termux. Start XServer XSDL and enter this in the terminal to start Mate:
    export PULSE_SERVER=tcp:127.0.0.1:4713
    export DISPLAY=:0
    mate-session
Overall this gives access to a desktop-style Linux environment with its services, user interface and package manager while your Android apps continue running in the background. Compared to Gemian, at the moment of writing the battery seems to get drained less, although the GUI is a little less reactive.

Pages: [1]