Smart Connect for Linuxv0.2.0 GitHub

Install Smart Connect for Linux

Connect your Motorola phone (Smart Connect or Ready For) to Linux on Wayland or X11 for notifications, clipboard sync, app streaming, wireless second display, Cross Control, webcam, and file sharing.

Reading this on your phone? Open this page on your Linux PC so you can copy commands straight into the terminal.

Before you start

  • A PC running Fedora, Ubuntu, Debian, or Arch Linux (GNOME, KDE Plasma, Hyprland, sway, or niri), with sudo access.
  • Your Motorola phone with the stock Smart Connect (formerly Ready For) app. No root, USB debugging, or extra phone apps needed.
  • The PC and the phone on the same Wi-Fi network.
Your Linux distribution

The commands and the AI prompt change to match your choice.

Quickest way: let an AI agent do it

If you use Claude Code, Antigravity, or another AI coding agent that can run terminal commands, it can install Smart Connect, fix problems, or remove it for you. You only pair your phone yourself.

  1. On your Linux PC, open your AI agent in a terminal.
  2. Choose your distribution above, pick a prompt below, and copy it.
  3. Paste it into the agent and approve the commands it asks to run.
  4. After an install, go to step 5 to pair your phone.
Prompt
This prompt needs JavaScript. Use the steps below instead.

Prefer to do it yourself? Start at step 1.

1. Install prerequisites

This installs the build tools (including Rust), the GTK4 and GStreamer libraries, and the tools for network discovery, Bluetooth, and clipboard sync.

Terminal · Fedora
sudo dnf install -y \
  git gcc pkgconf-pkg-config rust cargo dbus-devel wayland-devel \
  avahi avahi-tools bluez wl-clipboard NetworkManager fuse3 \
  gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-bad-free-devel \
  gstreamer1-plugins-good gstreamer1-plugins-bad-free libnice-gstreamer1 \
  gtk4-devel libadwaita-devel
Terminal · Ubuntu / Debian
sudo apt update && sudo apt install -y \
  git build-essential pkg-config cargo rustc libdbus-1-dev libwayland-dev \
  avahi-daemon avahi-utils bluez wl-clipboard network-manager fuse3 \
  libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev \
  gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad \
  gstreamer1.0-gl gstreamer1.0-nice gstreamer1.0-libav \
  libgtk-4-dev libadwaita-1-dev
Terminal · Arch Linux
sudo pacman -S --needed \
  git base-devel pkgconf rust avahi bluez dbus wl-clipboard fuse3 \
  gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad libnice gst-libav \
  gtk4 libadwaita

Start network discovery and Bluetooth

Avahi lets your phone find this PC on Wi-Fi without typing an IP address.

Terminal
sudo systemctl enable --now avahi-daemon bluetooth

2. Install from GitHub

The installer builds everything, copies it to ~/.local/bin, adds an app launcher, and starts the background service. The first build compiles Rust code and can take a few minutes.

Terminal
git clone https://github.com/Lalitmukesh69/smartconnect-Linux.git
cd smartconnect-Linux
./packaging/install.sh --enable
What you should see
Expected output
==> Checking the desktop side (hints only)
[ok] wl-copy
[ok] avahi-publish
[ok] avahi-browse
[ok] gst-inspect-1.0
[ok] fusermount3
[ok] avahi-daemon running
==> Building the workspace (release)
    Finished `release` profile [optimized] target(s)
==> Installing binaries to /home/<user>/.local/bin
==> Installing the systemd user unit to /home/<user>/.config/systemd/user
==> Installing the GTK app launcher to /home/<user>/.local/share/applications
==> Starting the systemd user service smartconnectd
Advanced: download only the prebuilt app window

This is not a full install. smartconnect-gui is only the app window. Pairing, discovery, and streaming run in the smartconnectd service, which the installer above sets up. Use this option only if you already have the service.

Terminal · download, verify, make executable
curl -fsSL -o ~/.local/bin/smartconnect-gui \
  https://github.com/Lalitmukesh69/smartconnect-Linux/releases/download/v0.2.0/smartconnect-gui
echo "375b657b5a308ee571c4814aae9a308bc21b72c42cfc535db4fca64150278827  $HOME/.local/bin/smartconnect-gui" | sha256sum -c -
chmod +x ~/.local/bin/smartconnect-gui

The second command should print OK. If it doesn't, delete the file and download it again.

3. Open the firewall

Smart Connect uses TCP port 52020 (an encrypted TLS WebSocket) for pairing and streaming, and mDNS for discovery. Without these rules your phone can't connect. Fedora uses firewalld; Ubuntu and Debian use ufw. On Arch, use whichever you have installed.

Terminal · firewalld
sudo firewall-cmd --permanent --add-port=52020/tcp
sudo firewall-cmd --permanent --add-service=mdns
sudo firewall-cmd --reload
Terminal · ufw
sudo ufw allow 52020/tcp comment 'Smart Connect WebSocket'
sudo ufw allow 5353/udp comment 'mDNS discovery'
sudo ufw reload

firewalld applies these rules to the default zone. If your Wi-Fi uses another zone, run firewall-cmd --get-active-zones and add --zone=<name> to each command.

4. Verify and launch

Check that the background service is running. Look for Active: active (running), then press q to leave the status screen.

Terminal
systemctl --user status smartconnectd

Then open Smart Connect from your app launcher, or start it from the terminal:

Terminal
smartconnect-gui &

Not running, or the command isn't found? See Troubleshooting.

5. Pair your phone

Make sure the PC and phone are on the same Wi-Fi network, then:

  1. On the PC, click Pair new phone…. A QR code appears.
  2. On the phone, open the stock Smart Connect app, tap + (or Add device), choose Scan QR code, and point the camera at the PC screen.
  3. Wait a moment. The dialog closes and the main window shows your phone's name, battery level, signal, and Wi-Fi status.

What you can do

Screen mirroring and app streaming
Mirror your full Motorola phone screen or launch individual Android apps in separate Linux desktop windows over WebRTC.
Wireless second display
Extend or duplicate your Linux desktop onto your phone or tablet on GNOME, KDE Plasma, Hyprland, sway, or niri (vkms), with touch and on-screen keyboard support.
Shared mouse and keyboard (Cross Control)
Move your Linux pointer smoothly past a screen edge onto your phone screen and type there.
Phone camera as a Linux webcam
Expose your front or rear phone camera as a PipeWire camera node (out of the box on Wayland/niri for OBS, Firefox, and Chromium) or as a v4l2loopback video device for Zoom, Meet, Teams, and Slack.
Files and storage sharing
Mount phone storage at ~/Phone in your file manager over FUSE, or share a local PC folder back to your phone.
Notifications and quick reply
Receive phone notifications on your desktop with inline replies and action buttons, plus per-app mute.
Clipboard sync
Two-way plain-text sync over Wayland (wl-clipboard) or GNOME Xwayland, skipping password-manager secrets.
Command palette and in-app updates
Press Ctrl + K to jump between views, launch phone apps, or check for GitHub updates inside the GTK4 desktop app or Noctalia Shell plugin.

Troubleshooting

Does this work with Motorola Ready For without root or USB debugging?

Yes. Smart Connect for Linux implements Motorola's companion protocol in Rust and pairs directly with the unmodified Smart Connect (formerly Ready For) phone app over Wi-Fi and Bluetooth LE.

Which Linux desktops and Wayland compositors are supported?

The GTK4 desktop app, daemon, and media helpers run on GNOME, KDE Plasma, Hyprland, sway, and niri across Fedora, Ubuntu, Debian, and Arch Linux, alongside an optional Noctalia Shell panel plugin.

My phone can't find the PC

Confirm both devices are on the same Wi-Fi network. Guest networks and some routers block devices from seeing each other (often called client or AP isolation), so use the main network. Then restart discovery and reload the firewall:

Terminal
sudo systemctl restart avahi-daemon
sudo firewall-cmd --reload

On Ubuntu or Debian, run sudo ufw reload instead of the second command.

Port 52020 is already in use

Restart the service instead of starting smartconnectd yourself.

Terminal
systemctl --user restart smartconnectd
The service isn't running

Read the service log to see why it stopped.

Terminal
journalctl --user -u smartconnectd -e
The build fails with a Rust version error

Your distribution's Rust may be too old. Install the current toolchain with rustup, open a new terminal, and run the installer again.

smartconnect-gui: command not found

Add ~/.local/bin to your PATH, then open a new terminal.

Terminal
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc

Using zsh? Replace ~/.bashrc with ~/.zshrc.

The app icon is missing from the launcher
Terminal
update-desktop-database ~/.local/share/applications
Clipboard sync isn't working

Check that wl-clipboard is installed. If the command isn't found, install the package from step 1.

Terminal
wl-copy --version
Phone webcam isn't showing in Zoom, Slack, or browsers

Start the webcam before opening your app. Without v4l2loopback, Smart Connect falls back to a PipeWire camera node (works in OBS, Firefox with media.webrtc.camera.allow-pipewire, and Chromium/Brave with #enable-webrtc-pipewire-camera). For every app, install and load v4l2loopback (on Fedora with Secure Boot, enroll an akmods MOK key first):

Terminal
sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="Phone Camera" exclusive_caps=1

Uninstall or start fresh

Run this from the repository folder you cloned in step 2:

Terminal
./packaging/uninstall.sh
Remove it manually

This stops the service and deletes the program files and launchers.

Terminal
systemctl --user stop smartconnectd.service 2>/dev/null || true
systemctl --user disable smartconnectd.service 2>/dev/null || true
killall -9 smartconnectd smartconnect-gui 2>/dev/null || true
rm -f ~/.local/bin/smartconnect*
rm -f ~/.local/share/applications/dev.smartconnect.Linux.desktop
rm -f ~/.local/share/applications/dev.smartconnect.Display.desktop
rm -f ~/.config/systemd/user/smartconnectd.service
systemctl --user daemon-reload
update-desktop-database -q ~/.local/share/applications 2>/dev/null || true

Optional: forget this PC's pairing. This deletes the saved pairing keys, settings, and cache, so you'll need to pair again. Also remove the PC in the phone app under Settings > Connected Computers.

Terminal
rm -rf ~/.local/share/smartconnect-linux ~/.config/smartconnect-linux ~/.cache/smartconnect