Skip to content

Instantly share code, notes, and snippets.

@umjammer
Last active April 3, 2023 00:04
Show Gist options
  • Save umjammer/ae784356b9bab1ccab6968d3902be507 to your computer and use it in GitHub Desktop.
Save umjammer/ae784356b9bab1ccab6968d3902be507 to your computer and use it in GitHub Desktop.
[Kindle] DeDRM on MacOS Monterey

DeDRM on MacOS Monterey

we need the old Android Kindle apk.

Old Android Kindle apk

  • Kindle version 4.16.0.75 for Android
    • install the apk into the device (emulator android 11 is fine also)
    • execute Kindle.app
    • download contents
    • let the emulator developer mode (in my case click 7 times on build number in settings)
    • connect the adb to the device
    • backup like below
    $ adb backup com.amazon.kindle
    • get a file backup.ab

Calibre on Mac

  • set kindle key for android by following steps
  • when u got an error when loading backup.ab
    • get abe.jar from here
    $ java -jar abe.jar unpack backup.ab backup.tar
    0%...100% 
    $ tar xvf backup.tar 
     : 
    x apps/com.amazon.kindle/ef/B0BVM5ZCBR/B0BVM5ZCBR_EBOK.prc: Truncated tar archive
    tar: Error exit delayed from previous errors.
    ^C                                                                       # force to stop
    $ tar cvf backup2.tar apps
    a apps
    a apps/com.amazon.kindle
      :
    $ java -jar ~/Downloads/abe.jar pack backup2.tar backup2.ab 
    ... bytes written to backup2.ab.
    • use backup2.ab instead of backup.ab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment