Installing from macOS page out of date and broken - https://jolla.com/sailfishx-macos-instructions/

Hello all,

I decided to have a go at updating my XperiaX to 4.6.

This page is broken Installing Sailfish X using macOS - Jolla

I executed /bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)” as directed. OK

brew tap caskroom/cask is broken and the replacement ‘brew tap homebrew/cask’ indicates it is unnecessary (?). --force can be used for whatever reason.

brew cask install android-platform-tools is broken and ‘brew install android-platform-tools --cask’ to be used.

This final command fails …

==> Downloading https://dl.google.com/android/repository/platform-tools_r35.0.1-
######################################################################### 100.0%
==> Installing Cask android-platform-tools
==> Purging files for version 35.0.1 of Cask android-platform-tools
Error: Permission denied @ dir_s_mkdir - /usr/local/Caskroom/android-platform-tools/35.0.1

I really shouldn’t need to deal with this stuff. I am not a unix jockey!

(FWIW: I am on Sonoma 14.5)

1 Like

This seems like a bug in Google’s tool. Do you have access to any other computer?

Maybe some Mac users here can help with a workaround but personally I would turn to Jolla support.

There are no Mac experts at Jolla support.

@DrDweeb
Does “brew doctor” elicit any help? On Monterey I have used “brew install android-platform-tools”

iMac:~ adrian$ brew install android-platform-tools
==> Downloading https://dl.google.com/android/repository/platform-tools_r35.0.1-
Already downloaded: /Users/adrian/Library/Caches/Homebrew/downloads/7c7d3f11ae72145d30ceb21967db378d2e6ed522593652bee825709202210610--platform-tools_r35.0.1-darwin.zip
==> Installing Cask android-platform-tools
==> Linking Binary 'adb' to '/usr/local/bin/adb'
==> Linking Binary 'etc1tool' to '/usr/local/bin/etc1tool'
==> Linking Binary 'fastboot' to '/usr/local/bin/fastboot'
==> Linking Binary 'hprof-conv' to '/usr/local/bin/hprof-conv'
==> Linking Binary 'make_f2fs' to '/usr/local/bin/make_f2fs'
==> Linking Binary 'make_f2fs_casefold' to '/usr/local/bin/make_f2fs_casefold'
==> Linking Binary 'mke2fs' to '/usr/local/bin/mke2fs'
🍺  android-platform-tools was successfully installed!
iMac:~ adrian$ fastboot devices
CB512DWBGN	 fastboot
1 Like

Please update your phone using common sense and the update instructions (enable Early Access in the account settings at account.jolla.com, turn on your phone, make a backup, make sure you have ssh access, check for updates or use sfos-upgrade…) and suggest changes in the flashing instructions (easiest change is to just list the non-Sailfish-specific MacOS and Android prerequisites) separately.

2 Likes