DroidKlipp: Automated Android KlipperScreen

DroidKlipp: Seamlessly Connect Android to Klipper

DroidKlipp transforms your Android device into a powerful interface for KlipperScreen, allowing easy connection via ADB and Xserver XSDL. Switch between printers effortlessly with this portable and versatile solution!


Overview

What is DroidKlipp?

DroidKlipp allows you to integrate your Android device with any Klipper setup, enabling seamless interaction with KlipperScreen. By leveraging ADB’s TCP forwarding, you can bridge your device and enjoy a fully functional 3D printing interface on the go.


Getting Started

Prerequisites

Before proceeding, ensure the following packages are installed on your Klipper machine:

sudo apt install adb
sudo apt install tmux

Android Setup

  1. Install Required App
    Download and install Xserver XSDL on your Android device.

  2. Enable USB Debugging

    • Go to your phone’s Developer Options and enable USB Debugging.
  3. ADB TCP Forwarding

    • Use ADB to forward the required ports between your Android device and the Klipper machine.
  4. Launch Xserver XSDL

    • Open Xserver XSDL before plugging in your Android device to ensure the Xserver port is created correctly.

Installing KlipperScreen with KIAUH

To use DroidKlipp, you need to install KlipperScreen via KIAUH.

  1. Clone the KIAUH repository:

    cd ~ && git clone https://github.com/dw-0/kiauh.git
    
  2. Run the KIAUH script:

    ./kiauh/kiauh.sh
    
  3. Follow the prompts to install KlipperScreen.

  4. Please note that installing the network add-on during the KlipperScreen setup will prevent you from connecting to Wi-Fi afterward.


Installing DroidKlipp

  1. Clone the DroidKlipp repository:

    cd ~ && git clone https://github.com/CodeMasterCody3D/DroidKlipp.git
    
  2. Navigate to the DroidKlipp folder:

    cd DroidKlipp
    
  3. Make the script executable:

    sudo chmod +x droidklipp.sh
    
  4. Run the DroidKlipp setup script:

    ./droidklipp.sh
    
  5. Reboot your system:

    sudo reboot
    

Android Configuration

  1. Enable USB Debugging

    • Ensure your phone is set to allow debugging.
  2. ADB TCP Forwarding

    • Use adb forward to connect the Klipper machine to your Android device.
  3. Plug & Play

    • Plug in your phone and allow any permission prompts that appear.

Important Notes

Xserver XSDL Configuration

  • Stop Screen Blanking in Xserver-XSDL
    Even after enabling the “Stay Awake” option in the Developer/USB Debugging options of your Android device, the Xserver-XSDL may still go to a black screen but keep the backlight of your device on. To keep the screen always active, upon start up of Xserver-XSDL app, select the Change Device Configuration at the top of the splash screen and then select the Command line parameters, one argument per line option. Append the following argument (must be on seperate lines):

    -s
    0
    

Xserver XSDL Download

Xserver XSDL is no longer available on the Google Play Store. Download it directly from SourceForge:
Download Xserver XSDL


Features

  • ADB TCP Forwarding: Effortlessly bridge your Android device to Klipper.
  • Seamless KlipperScreen Integration: Display KlipperScreen on your Android device via Xserver XSDL.
  • Portable & Flexible: Perfect for makers seeking a mobile 3D printing interface.

Links and Resources


Now you’re ready to load your DroidKlipps and start printing! :rocket:

3 Likes