Skip to main content

Read reMarkable update images

Project description

remarkable_update_image on PyPI

reMarkable Update Image

Read a reMarkable update image as a block device.

Known Issues

  • Will report checksum errors for Directory inode, even though they are fine
  • Will report checksum errors for extent headers, even though they are fine

Usage

from ext4 import Volume
from remarkable_update_image import UpdateImage

image = UpdateImage("path/to/update/file.signed")

# Extract raw ext4 image
with open("image.ext4", "wb") as f:
    f.write(image.read())

# Extract specific file
volume = Volume(image)
inode = volume.inode_at("/etc/version")
with open("version", "wb") as f:
    f.write(inode.open().read())

Building

Dependencies:

  • curl
  • protoc
  • python
  • python-build
  • python-pip
  • python-pipx
  • python-venv
  • python-wheel
make # Build wheel and sdist packages in dist/
make wheel # Build wheel package in dist/
make sdist # Build sdist package in dist/
make test # Run unit tests
make install # Build wheel and install it with pipx or pip install --user

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

remarkable_update_image-1.0.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Supported by

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