I had previously installed jonasjuffinger's TimeLapse app on a Sony a7Rii via ma1co's Sony-PMCA-RE GUI some years ago. When I went to install it on a second a7Rii in August 2022, I found that the GUI no longer worked. This document outlines the steps needed to be able to install the app on the second camera.
- use the console version of
Sony-PMCA-RE
on MacBook; - make
Sony-PMCA-RE
executable writeable; - run
Sony-PMCA-RE
viasudo
; - ensure the camera's
USB Connection
setting is set toMTP
; - use a dedicated phone/camera micro USB cable instead of a charging cable (especially avoid multiple-headed charging cables!).
- I downloaded the latest (v0.18) Mac GUI version of
Sony-PMCA-RE
from here. To open it, I had to command-click it and choose open to be able to confirm that I wanted to open an untrusted app. However, the app ran with a black window. - Searching the
Sony-PMCA-RE
issue list turned up someone else reporting the same "black window" issue. A workaround suggested there was to use the console version of the app. - I downloaded the latest (v0.18) Mac console version of
Sony-PMCA-RE
from here and tried running it from the terminal (zsh shell). I ended up with a permission error. - I realised that I probably needed to make the console app executable, so I ran
chmod 755 pmca-console-v0.18-osx
and tried running it again. macOS gave me a security warning and wouldn't let me run the app. - I opened
System Preferences
and went toSecurity & Privacy
. On theGeneral
tab under theAllow apps downloaded from:
section, it hadpmca-console-v0.18-osx
listed with a button toAllow
the app. I clicked the button, went back to the terminal, and ran the app via./pmca-console-v0.18-osx
again. - The app ran and after a few seconds, showed me a usage message. I re-ran it with the
info
command (./pmca-console-v0.18-osx info
), and after a few seconds it showed me aNo devices found. Ensure your camera is connected.
message. - I connected the camera to the MacBook with a 3-headed charging cable (firewire/USB-C/micro USB), switched the camera on, and re-ran the
info
command, getting the same result. Various combinations of USB settings on the camera failed to make any difference. - I realised that the charging cable probably didn't have data transmission pins/cables, meaning that it wouldn't allow the camera to communicate with the MacBook.
- I swapped the 3-headed charging cable for a single micro USB phone cable, reconnected the camera to the MacBook, and switched it on again. The camera showed a
Connecting... USB
message for the first tiem 🙌 I ran the./pmca-console-v0.18-osx info
command again and received aQuerying MTP device. No devices found. Ensure your camera is connected.
message. - The
Querying MTP device
message suggested to me that the cameraUSB Connection
setting needed to be changed toMTP
, so I made the change and reconnected the camera. It showed thePlayMemories
screen this time, and re-running the./pmca-console-v0.18-osx info
command gave an error message and call stack about"libusb.py", line 85, in write
. - Searching the
Sony-PMCA-RE
repo for thelibusb.py
error turned up an issue with a recent comment suggesting that running the command undersudo
resolves the issue. - I re-ran the command under
sudo
(sudo ./pmca-console-v0.18-osx info
) and finally received successful output showing the camera model number, product code, serial number, firmware version, and lens 🎉 - It looked like I was finally in a position to be able to use
Sony-PMCA-RE
to install theTimeLapse
app, so I downloaded thev1.4.0
APK from here and ran theSony-PMCA-RE
install
command in interactive mode (to be able to choose the app I wanted to install):sudo ./pmca-console-v0.18-osx install -i
. Sony-PMCA-RE
showed me a list of apps available to install. I found the TimeLapse app in the list (com.jonasjuffinger.timelapse
), entered its number from the list, and pressed Enter.- The app installed successfully! 🚀
Just tried this again and realised the above doesn't make finding the actual steps needed very easy 🤦 So:
Sony-PCMA-RE
(Mac OS/OSX version) from here and make it executable (chmod 755 pmca-console-<version>-osx
);USB Connection
toMTP
;sudo ./pmca-console-v0.18-osx install -i
and selectcom.jonasjuffinger.timelapse
from the list of available apps.