Obsidian git on Android 14 (Samsung) 2024

Obsidian has paid official syncing system, but with it’s open and vibrant community, there are various ways to sync your notes between multiple devices. This post demonstrates how I set up the obsidian-git plugin on my Samsung S23 Ultra phone with One UI 6.x (Android 14).

This guide:

Install Termux to get shell and git on your Android phone

  1. Download F-Droid
  2. From F-Droid, download Termux
  3. Open Termux, run termux-change-repo. Press the ↓ button and press spacebar to tick all repositories, then press enter to move to the next screen
  4. Press ↓, then spacebar to tick the Mirrors hosted by Albatross, press enter
  5. Run pkg install git -y
  6. Run termux-setup-am
    1. See GitHub - termux/TermuxAm: Android Oreo-compatible am command reimplementation for details
  7. Run termux-setup-storage
    1. See Termux-setup-storage - Termux Wiki for details

Clone the Git repo from GitHub

  1. Run cd storage/shared (If you get permissions issues, refer to this page)
  2. Run git clone <your repository> and enter your login when prompted. You may need to create a personal access token if you’re using GitHub.
    1. You need to add the following permissions to the access token
      1. Repository: Your Notes/Obsidian repository
      2. Repository permission: Metadata: Read access
      3. Repository permission: Code and commit statuses: Read and write access

Setup Obsidian and obsidian-git plugin

  1. Install and open Obsidian
  2. Click “Open folder as vault”, click on your phone name at the top to navigate to the top directory, and click on your git repository name. Then click “use this folder”
  3. Install and enable the obsidian-git plugin
  4. Enter your GitHub username and personal access token in the obsidian-git plugin settings

I purchased the catalyst license to get the early access version and support Obsidian team’s great work.

I followed these guides to get things setup originally:

Limitations

Due to the git implementation used by Obsidian-git plugin, you might encounter Performance issues on mobile. I did not notice any issue yet with my S23 Ultra and small knowledge base.

Additional syncing methods