Skip to main content

Automated update managment for the ReMarkable tablet

Project description

Codexctl

A utility program that helps to manage the remarkable device version utilizing ddvks update server

Installation & Use

You can find pre-compiled binaries on the releases page. This includes a build for the reMarkable itself, as well as well as builds for linux, macOS, and Windows. It currently only has support for command line interfaces but a graphical interface is soon to come.

Running from source

Codexctl can be run from source on both the reMarkable, as well as on a remote device.

Running on reMarkable

git clone https://github.com/Jayy001/codexctl.git
cd codexctl
pip install -r requirements.txt
python codexctl.py --help

Running on a remote device

This requires python 3.11 or newer.

git clone https://github.com/Jayy001/codexctl.git
cd codexctl
pip install wheel
pip install -r requirements.remote.txt
python codexctl.py --help

Building executables from source

This requires python 3.11 or newer, python-venv, pip. Linux also requires libfuse-dev.

make executable

Usage

The script is designed to have as little interactivity as possible, meaning arguments are directly taken from the command to run the script.

❯ codexctl --help
usage: Codexctl app [-h] [--debug] [--rm1] [--auth AUTH] [--verbose] {install,download,backup,extract,mount,status,restore,list} ...

positional arguments:
  {install,download,backup,extract,mount,status,restore,list}
    install             Install the specified version (will download if not available on the device)
    download            Download the specified version firmware file
    backup              Download remote files to local directory
    extract             Extract the specified version update file
    mount               Mount the specified version firmware filesystem
    status              Get the current version of the device and other information
    restore             Restores to previous version installed on device
    list                List all versions available for use

options:
  -h, --help            show this help message and exit
  --debug               Print debug info
  --rm1                 Use rm1
  --auth AUTH           Specify password or SSH key for SSH
  --verbose             Enable verbose logging

Examples

codexctl install latest # Downloads and installs latest version
codexctl download toltec # Downloads latest version that has full support for toltec
codexctl download 3.0.4.1305 --rm1 # Downloads 3.0.4.1305 firmware file for remarkable 1
codexctl status # Prints current & previous version (can only be used when running on device itself)
codexctl list # Lists all available versions 
codexctl restore # Restores previous version
codexctl --verbose # Enables logging
codexctl --backup # Exports all files to local directory
codexctl --backup -l root -r FM --no-recursion --no-overwrite # Exports all files from FM directory to root folder on localhost
codexctl extract 3.8.0.1944_reMarkable2-7eGpAv7sYB.signed # Extracts contents to filesystem named "extracted"
codexctl mount extracted /opt/remarkable # Mounts extracted filesystem to /opt/remarkable
codexctl ls 3.8.0.1944_reMarkable2-7eGpAv7sYB.signed / # Lists the root directory of the update image
codexctl cat 3.8.0.1944_reMarkable2-7eGpAv7sYB.signed /etc/version # Outputs the contents of /etc/version from the update image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codexctl-0.3.0.tar.gz (30.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codexctl-0.3.0-py3-none-any.whl (33.6 kB view details)

Uploaded Python 3

File details

Details for the file codexctl-0.3.0.tar.gz.

File metadata

  • Download URL: codexctl-0.3.0.tar.gz
  • Upload date:
  • Size: 30.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11

File hashes

Hashes for codexctl-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d59b64cbf88d2af5ec7530206053d085b34275599ee0f875333851e4f80cb446
MD5 2a27a3f6ab687395c26a3b318f97f38e
BLAKE2b-256 2a241ac472c1bcba11fcc9270a1480cc1e22af3a7f1820be5aa93df2611de248

See more details on using hashes here.

File details

Details for the file codexctl-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: codexctl-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11

File hashes

Hashes for codexctl-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 710183ba7811a7426e612c1320a030275b964849e37e737b9d3f3c856297d74e
MD5 d475ddd5f7acdca872689743f1aab806
BLAKE2b-256 ac91a62ec3d6acc0bd1c67b046fbaa8bca097d4227ac7ae8fcba8560eafb688c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page