This tutorial uses the [following method](https://superuser.com/a/1664172) to remove DRM from ebooks directly on the remarkable tablet (after installing [toltec](https://toltec-dev.org)): ## Download If you don't want to bother self-compiling, for the armv7l remarkable 2, here is a prebuilt binary! - [Download knock-drm-removal]() (armv7l) ## Usage ``` ./knock-drm-removal [path to .acsm file] ``` ## Build Instructions It relies on some software that is available on the internet archive, as well as using [NixOS](https://nixos.org) to build, which should have a platform independent installation. It also uses QEMU instead of cross compiling. Dependencies (Ubuntu): ``` sudo apt-get update -q -y && sudo apt-get install -q -y qemu-system-aarch64 qemu-efi binfmt-support qemu-user-static ``` NixOS installation: ``` sh <(curl -L https://nixos.org/nix/install) --no-daemon ``` If you get an error, try re-running as a non-root user. You may have to create the /nix directory as root however: `mkdir -m 0755 /nix && chown user /nix` After it finishes, log in again or run the command that it gives you to source new variables. For me, this command was: `. /home/user/.nix-profile/etc/profile.d/nix.sh` ``` wget "https://web.archive.org/web/20221010074002if_/https://codeload.github.com/BentonEdmondson/knock/zip/refs/heads/main" unzip main cd knock-main ``` Once in this folder, edit the `flake.nix` file, and replace: `[ "x86_64-linux" "aarch64-linux" ]` with `[ "armv7l-linux" ]`, to target the Remarkable's CPU type. Then continue: ``` nix build --extra-experimental-features nix-command --extra-experimental-features flakes . --option system armv7l-linux --extra-platforms armv7l-linux ```