Skip to content

About

On-camera installer for the Sony a6000 (ILCE-6000, firmware 3.21) Mods menu: ISP Looks (LogC3, S-Log2, Black & White, Classic Chrome) and a PerfFix test row. Runs on the camera, RAM only.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

a6000 Mods

A camera app for the Sony a6000 (ILCE-6000, firmware 3.21) that installs, checks and removes a Mods menu from the camera itself.

a6000 Mods in the camera's application list Home screen Installing the mods

Features

Mod What it does
Look Off / LogC3 / S-Log2 / Black & White / Classic Chrome, applied in the ISP
PerfFix Test row
  • Runs on the camera. A computer is needed once, to install the app.
  • Needs no OpenMemories-Tweak, telnet or Wi-Fi, and requests no Android permissions.
  • Writes RAM only. Nothing is written to flash, and a power cycle restores the stock state.

Status

Tested on a real ILCE-6000 with firmware 3.21, and on an emulated one for the failure paths that cannot be provoked safely on hardware. Results and known gaps are in docs/TESTING.md. This is unofficial software that modifies a running camera; use it at your own risk.

Installation

Installing takes about five minutes and is done once. The app is copied to the camera over USB with Sony-PMCA-RE, a free tool for Sony cameras that support PlayMemories Camera Apps.

What you need

  • A Sony a6000 (ILCE-6000) on firmware 3.21. Check it under MENU > Setup > Version. The installer checks the camera's original code before it changes anything and stops if it does not match, so other firmware versions are refused rather than damaged.
  • A micro-USB cable that carries data. Many cables supplied with chargers only carry power.
  • A computer running Windows, macOS or Linux.
  • a6000-mods.apk, from this repository's Releases page or built from source (Building).

1. Connect the camera

  1. On the camera, set MENU > Setup > USB Connection to Mass Storage.
  2. Connect the camera to the computer and switch it on.
  3. Close any program that may open the camera, such as a photo importer or a cloud sync client.

2. Copy the app to the camera

Download Sony-PMCA-RE from its latest release, put it in the same folder as a6000-mods.apk, and run the command for your system from that folder.

Windows

Download pmca-console-<version>-win.exe. Open the folder in File Explorer, type cmd in the address bar and press Enter, then run:

pmca-console-<version>-win.exe install -f a6000-mods.apk

No extra driver is needed.

macOS

Download pmca-console-<version>-osx and install Sony's Camera Driver, which Sony-PMCA-RE needs for Mass Storage mode. Open Terminal in the download folder and run:

chmod +x pmca-console-<version>-osx
sudo ./pmca-console-<version>-osx install -f a6000-mods.apk

If macOS refuses to open the file, allow it under System Settings > Privacy & Security.

Linux

Sony-PMCA-RE runs from source with Python 3:

git clone https://github.com/ma1co/Sony-PMCA-RE.git
cd Sony-PMCA-RE
pip install -r requirements.txt
sudo ./pmca-console.py install -f /path/to/a6000-mods.apk

Replace <version> with the version in the file name you downloaded. On Windows and macOS the graphical pmca-gui from the same release page can install an APK file as well.

3. Check that it worked

The tool reports when the installation has finished. Disconnect the camera and open MENU > Application > Application List: a6000 Mods is now in the list.

Troubleshooting

  • The camera is not found. Try another cable, confirm USB Connection is set to Mass Storage, and close programs that access the camera. On macOS, check that Sony's Camera Driver is installed.
  • The app is not in the list. Run the install command again and wait for it to finish before unplugging.
  • Removing the app. Use Application Management in the camera's Application List.

Usage

The mods live in RAM, so install them after each power-on:

  1. MENU > Application > Application List > a6000 Mods > Install mods. Up/down moves and the shutter selects.
  2. Quit with MENU, then half-press the shutter. The camera returns from an app in Playback mode, and that mode's menu does not show the new rows.
  3. MENU > Setup (toolbox) > page 6 now has PerfFix and Look.

To remove the mods, set Look to Off and choose Remove mods, or switch the camera off.

The centre button is not used, because on a camera it also reaches the camera's own UI.

How it works

  • Privileged execution. A small JNI bridge, adapted from OpenMemories-Platform's api/shell.c, asks the camera's privileged shell to run the bundled installer over Sony IPC. The installer's output and exit code come back through a file the app owns.
  • Installer. native/a6kmods.c is a C port of the Python installers. It finds im.elf and this boot's library addresses in /proc/<pid>/maps, checks every region against its expected original bytes, writes through /proc/<pid>/mem, reads each write back, and rolls everything back on any failure.
  • Payloads. On a computer the payloads are relinked for every boot. Here tools/gen_payloads.py links each payload once per library with that library's base moved and records every word, and every Thumb-2 MOVW/MOVT pair, that moves with it. The installer relocates the payloads on the camera. tools/check_relocs.py checks that the relocated blobs equal direct links at several base sets.

Building

Requirements: Android NDK r16b, Android build-tools, a platform android.jar, LLVM (clang, ld.lld, llvm-objdump) and a JDK. The toolchain is looked up under ~/Documents/a6k-gba/toolchain; set TC, or ANDROID_NDK, BUILD_TOOLS and PLATFORM_JAR individually, to use another location.

./build.sh        # payloads -> relocation tables -> native installer -> a6000-mods.apk

The native build rejects any NEON instruction. On this camera an Advanced SIMD instruction in user space raises an illegal-instruction fault, and Sony's exception monitor then halts the system.

Testing

Test coverage, results and known gaps are in docs/TESTING.md. The instrumentation test that drives the app's own install path is in tests/standalone/.

Credits

  • a6000 ports and this app: Kagander. The Mods menu rows were ported to the ILCE-6000 3.21 for this project; the ports are also upstream in bionz-x-research mods/a6000/.
  • bionz-x-research by ivica00 (MIT): the BIONZ X research this builds on and the original mods for other bodies, including the Classic Chrome recipe and the Mods menu.
  • a6000 ISP look kit by voxivoid: the LogC3, S-Log2 and Black & White looks and the ISP addresses they use.
  • OpenMemories-Platform and OpenMemories-Tweak by ma1co (MIT): the Sony IPC shell API. The JNI bridge is adapted from api/shell.c.
  • Sony-PMCA-RE by ma1co: installs the app.

License

MIT, see LICENSE. Third-party notices are in NOTICE.md.

This project is not affiliated with or endorsed by Sony. It contains no Sony firmware, binaries or device dumps.

About

On-camera installer for the Sony a6000 (ILCE-6000, firmware 3.21) Mods menu: ISP Looks (LogC3, S-Log2, Black & White, Classic Chrome) and a PerfFix test row. Runs on the camera, RAM only.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages