Skip to content

Instantly share code, notes, and snippets.

@NoaHimesaka1873
Last active March 17, 2024 06:41
Show Gist options
  • Save NoaHimesaka1873/8ef2396d5296765c37170e54c4ab1745 to your computer and use it in GitHub Desktop.
Save NoaHimesaka1873/8ef2396d5296765c37170e54c4ab1745 to your computer and use it in GitHub Desktop.
How to install and run TIDAL Connect on your Gustard R/A26

For A26 users

This guide should work for your A26 too. just sed "s/R26/A26/g" and it's perfect!

Requirements:

  • Will to practice witchcraft
  • Patience (R26's CPU is really slow)
  • Linux knowledge
  • Windows 10/11 with WSL 2 (updated to latest Windows Store version) or Linux

Update to latest R26 firmware

  1. Go to Gustard official site and download latest firmware.
  2. Do update but don't disconnect USB-C after flashing and continue to next step.

Inserting SSH key to R26

  1. If you're going to Windows WSL route, follow this to mount Gustard R26 to your WSL. Otherwise, just mount your R26 using mount on Linux.
  2. Generate SSH key with ssh-keygen -t ed25519 if you don't have one.
  3. Run cat ~/.ssh/id_ed25519.pub > authorized_keys && mkdir (your R26 mount path)/root/.ssh && cp authorized_keys (your R26 mount path)/root/.ssh but replace (your R26 mount path) to actually mounted directory. If you have other type of SSH key, replace id_ed25519.pub with appropriate file.
  4. Unmount and power cycle (not standby) your R26.

SSHing into your R26 and expanding storage

  1. SSH into your R26 with ssh root@(your R26's IP) but replace (your R26's IP) with your R26's IP address.
  2. Change mirrorlist to use mirror that is close to you.
  3. Install fdisk with apt install fdisk
  4. Run fdisk /dev/mmcblk0 and type d<Enter>n<Enter><Enter><Enter><Enter><Enter>n<Enter>w<Enter> exactly.
  5. Run partx /dev/mmcblk0 && resize2fs /dev/mmcblk0p1
  6. Run apt update && apt upgrade to fully upgrade the system.

Installing TIDAL Connect

  1. Run echo "deb https://deb.debian.org/debian stretch main" >> /etc/apt/sources.list && echo "deb https://security.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
  2. Run apt update && apt install -y multiarch-support libavformat57 libidn11 git libportaudio2* libflac++6v5* libavahi-common3 libavahi-client3 alsa-utils
  3. Run these lines:
curl -O http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
dpkg -i ./libssl1.0.0_1.0.1t-1+deb8u12_armhf.deb
curl -O http://security.debian.org/debian-security/pool/updates/main/c/curl/libcurl3_7.38.0-4+deb8u16_armhf.deb
apt remove -y curl libcurl4
dpkg -i ./libcurl3_7.38.0-4+deb8u16_armhf.deb
apt install libidn11
  1. Finally, run these lines:
mkdir /usr/ifi
cd /usr/ifi
git clone https://github.com/shawaj/ifi-tidal-release
chmod +x /usr/ifi/ifi-tidal-release/play
chmod +x /usr/ifi/ifi-tidal-release/bin/tidal_connect_application
chmod +x /usr/ifi/ifi-tidal-release/pa_devs/run.sh
./ifi-tidal-release/file-deploy.sh 
sed -i 's/passthrough false/passthrough true/g' /lib/systemd/system/ifi-streamer-tidal-connect.service
sed -i 's/mqa false/mqa true/g' /lib/systemd/system/ifi-streamer-tidal-connect.service
sed -i 's/HiTide RasPi Streamer/Gustard R26/g' /lib/systemd/system/ifi-streamer-tidal-connect.service
systemctl daemon-reload
systemctl start ifi-streamer-tidal-connect.service 
systemctl status ifi-streamer-tidal-connect.service
  1. All done!
@stegis
Copy link

stegis commented Nov 23, 2023

Flac is working but Iam pretty sure not the 24bit.

I believe this one is only 24bit and no MQA version.
https://tidal.com/browse/track/314104753

I have asked Gustard service but no answer yet.

@cdm312
Copy link

cdm312 commented Feb 19, 2024

FYI Tidal Connect now officially supported with firmware 1.43 http://www.gustard.cn/?page_id=8956
I installed the below firmware and use Tidal on a Mac, works for me.
https://www.dropbox.com/scl/fi/ww2wnq35tmp0tnztjm3w3/Tidal-connect-to-A26.jpg?rlkey=r7t8d1bcodyaeanh78003fmiy&dl=0

For overseas
Version: 1.43
Model: R26

@goodsignal18
Copy link

FYI Tidal Connect now officially supported with firmware 1.43 http://www.gustard.cn/?page_id=8956

I installed the 1.43 firmware, but Tidal connect still does not work.

@zaurux
Copy link

zaurux commented Mar 8, 2024

On my A26, it works even if it's abnormal to be forced to have an old android version of Tidal.
On PC, no problem.
My A26 is on sale, so I won't be following developments, but it's a shame Gustard doesn't have software support and an application like EverSolo has.

https://nsm09.casimages.com/img/2024/02/29//24022910300615136318364952.png

@Bosse12
Copy link

Bosse12 commented Mar 16, 2024

Ived updated to 1.43 from the officiell Gustard site. It works fine with the mconnect app connected to Tidal on Ipad but when I am trying to listen to 96 och 192Khz it Will just lag and buffer so im not able to listen to the songs. 44khz will work just fine.Has anyone eller experienced the same? Solutions?

@cdm312
Copy link

cdm312 commented Mar 16, 2024 via email

@Bosse12
Copy link

Bosse12 commented Mar 17, 2024

Oki, thanks. Its the same high res buffer problem with Qobuz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment