Skip to content

Instantly share code, notes, and snippets.

@vgmoose
Last active February 10, 2023 21:08
Show Gist options
  • Save vgmoose/fcfebcfe04da30e7d2bd50f5d1a6bc7a to your computer and use it in GitHub Desktop.
Save vgmoose/fcfebcfe04da30e7d2bd50f5d1a6bc7a to your computer and use it in GitHub Desktop.
How to remove DRM from ACSM files directly on the Remarkable 2 tablet (generate PDF or EPUB files), via the command line

Unfinished tutorial: Sorry, I really wanted to get this working, but hit an issue getting the proper versions of the library to work on the remarkable itself. I ended up compiling knock on Linux and running it that way. But then, I hit other issues with the type of DRM and account limits, so it seems this is still a tortured area

This tutorial uses the following method to remove DRM from ebooks directly on the remarkable tablet (after installing toltec):

Download

If you don't want to bother self-compiling, for the armv7l remarkable 2, here is a prebuilt binary!

Usage

./knock-drm-removal [path to .acsm file]

Build Instructions

Dependencies:

opkg install git git-http

Building:

git clone https://github.com/MCTRACO/knock.git
cd knock
cd libgourou
make
cd ..
make
mv knock knock-drm-removal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment