DRM Removal Tools for eBooks

Version 6.8.0 released on 18 June, 2020

Welcome to Apprentice Alf’s blog

This blog is intended to help anyone looking for free and simple software for removing DRM from their Kindle ebooks, stripping DRM from their Adobe Digital Editions ebooks, getting rid of DRM from their Barnes and Noble ebooks, freeing their Kobo ebooks of DRM, or decrypting their Fictionwise eReader ebooks.

If you want to find out more about ebooks, DRM and why you will probably want to remove the DRM from your ebooks, see this post:  Ebook Formats, DRM and You — A Guide for the Perplexed.

If you already know that you want to strip the DRM from your ebooks, you’ve found the right place.

The Tools

To get started on removing DRM from your ebooks, just download the tools archive from the link below. Unzip the archive, and start reading.

The latest release can be found at the top of this page:
https://github.com/apprenticeharper/DeDRM_tools/releases

Getting Help with the Tools

If you have any questions about the tools, ebooks, and DRM, check the FAQs at the GitHub repository:
https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md

If you have any problems with the current tools, please ask for help in a comment on this post or open a new issue at the GitHub repository. If you are having a problem with an older version of the tools, please first update to the current version, and see if that solves your problem.

Before commenting here, please check the ReadMe file and the FAQs (see link above).

In any bug report or help request, please include:

  • which tool was used
  • which OS you are using
  • where the ebook file came from (device or application)
  • any error messages
  • a log of the DRM-removal attempt (see the FAQs on how to get a log).

Anti-Piracy Notice

Please only use these tools for gaining full access to your own ebooks for archiving/conversion/convenience. De-drmed ebooks should not be uploaded to open servers, torrents, or other methods of mass distribution. No help will be given to people doing such things. Authors, retailers and publishers all need to make a living, so that they can continue to produce books for us to read. Don’t be a parasite.

Origin of the Tools

The tools for removing DRM from ePubs were originally posted at i♥cabbages’ blog. The tools for Kindle/Mobipocket were originally posted at The Dark Reverser’s blog.

They have since been improved by many people, but mostly some_updates, DiapDealer, Apprentice Alf, and Apprentice Harper. While there are many sites that redistribute these tools, the most up-to-date versions of the tools are currently released here.

Other Sources

Anyone trying to sell you ebook DRM removal tools for Adobe Adept ePub and PDFs, Barnes & Noble ePubs, Kindle ebooks, Kobo ebooks, or eReader ebooks has probably just repackaged (an earlier) version of the tools available here.

6,440 thoughts on “DRM Removal Tools for eBooks

  1. Calibre Windows
    A problem I accured was that I never found “DeDRM_plugin.zip”. The file I found was called “alfcrypto_src.zip”

    calibre Felsökningslogg
    calibre 4.19 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.18362-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: sv
    calibre 4.19 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.18362-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: sv
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.569275362 x 100.55257732
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.81] splash screen shown
    [0.81] Initializing db…
    [0.83] db initialized
    [0.83] Constructing main UI…
    [3.41] main UI initialized…
    [3.41] Hiding splash screen
    [25.11] splash screen hidden
    [25.11] Started up in 25.11 seconds with 2 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [“\x95\x1d;J^6#\xe8’`vW\xba\x17\xc7\xcc\x89{\x8d\xc8m\x07=mD\xde\n-\x95\xa3\x85t”, ‘C:\Users\Johan\Desktop\Gullivers Resor.epub’]
    C:\Program Files\Calibre2\app\pylib.zip\dateutil\parser_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Added Gullivers Resor to db in: 3.5
    Added 1 books in 4.9 seconds

    • You’ve unzipped one step too far. There’s the Tools zip file. Unzip that and you’ll find the DeDRM_plugin zip file. The alfcrypto_src.zip file is inside that.

    • Or you may have downloaded the wrong file. You want the first link under Assets on the release page. It should be DeDRM_tools_6.8.0.zip with an underscore after “tools”, not a hyphen. Then as Paul said, unzip that to find DeDRM_Plugin.zip. Leave that zipped.

  2. Calibre 4.19, Kindle for PC 1.17.1 DeDRM 6.8.0

    Previously working with importing my Kindle books. Now getting an error and failing to convert. Apparently imports but on trying to open get:

    calibre, version 4.19.0
    ERROR: Loading book failed: Failed to open the book at /home/xxxxx/Calibre_Library/Chris Cage/How to Hike the Appalachian Trail_ A Comprehensive Guide to Plan and Prepare for a Successful T (281)/How to Hike the Appalachian Trail_ A Compr – Chris Cage.azw. Click “Show details” for more info.

    Traceback (most recent call last):
    File “site-packages/calibre/gui2/viewer/ui.py”, line 468, in load_ebook_worker
    File “site-packages/calibre/gui2/viewer/convert_book.py”, line 234, in prepare_book
    File “site-packages/calibre/gui2/viewer/convert_book.py”, line 191, in do_convert
    ConversionFailure: Failed to convert book: /home/xxxxxx/Calibre_Library/Chris Cage/How to Hike the Appalachian Trail
    A Comprehensive Guide to Plan and Prepare for a Successful T (281)/How to Hike the Appalachian Trail_ A Compr – Chris Cage.azw with error:
    InputFormatPlugin: MOBI Input running
    on /home/xxxxxxx/Calibre_Library/Chris Cage/How to Hike the Appalachian Trail_ A Comprehensive Guide to Plan and Prepare for a Successful T (281)/How to Hike the Appalachian Trail_ A Compr – Chris Cage.azw
    Found KF8 MOBI of type u’standalone’
    Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
    Traceback (most recent call last):
    File “site.py”, line 77, in main
    File “site-packages/calibre/utils/ipc/worker.py”, line 189, in main
    File “”, line 1, in
    File “site-packages/calibre/srv/render_book.py”, line 862, in viewer_main
    File “site-packages/calibre/srv/render_book.py”, line 855, in render_for_viewer
    File “site-packages/calibre/srv/render_book.py”, line 830, in render
    File “site-packages/calibre/ebooks/oeb/iterator/book.py”, line 64, in extract_book
    File “site-packages/calibre/customize/conversion.py”, line 246, in call
    File “site-packages/calibre/ebooks/conversion/plugins/mobi_input.py”, line 47, in convert
    File “site-packages/calibre/ebooks/mobi/reader/mobi8.py”, line 86, in call
    File “site-packages/calibre/ebooks/mobi/reader/mobi6.py”, line 158, in check_for_drm
    DRMError: How to Hike the Appalachian Trail: A Comprehensive Guide to Plan and Prepare for a Successful Thru-Hike

  3. Can we bypass copy print restriction from ADE 4.5 PDF ‘EBX_HANDLER security’ with OllyDbg.

    CPU Disasm
    Address Hex dump Command Comments

    77ADCB88 EE OUT DX,AL ; I/O command
    77ADCB89 66:1000 ADC BYTE PTR DS:[EAX],AL ; Superfluous operand size prefix
    77ADCB8C 1067 10 ADC BYTE PTR DS:[EDI+10],AH
    77ADCB8F 002467 ADD BYTE PTR DS:[EDI],AH
    77ADCB92 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCB94 3867 10 CMP BYTE PTR DS:[EDI+10],AH
    77ADCB97 0048 67 ADD BYTE PTR DS:[EAX+67],CL
    77ADCB9A 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCB9C 60 PUSHAD
    77ADCB9D 67:1000 ADC BYTE PTR DS:[BX+SI],AL
    77ADCBA0 71 67 JNO SHORT 77ADCC09
    77ADCBA2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBA4 8667 10 XCHG BYTE PTR DS:[EDI+10],AH
    77ADCBA7 0097 671000AB ADD BYTE PTR DS:[EDI+AB001067],DL
    77ADCBAD 67:1000 ADC BYTE PTR DS:[BX+SI],AL
    77ADCBB0 B7 67 MOV BH,67
    77ADCBB2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBB4 D367 10 SHL DWORD PTR DS:[EDI+10],CL
    77ADCBB7 00F0 ADD AL,DH
    77ADCBB9 67:1000 ADC BYTE PTR DS:[BX+SI],AL
    77ADCBBC 0E PUSH CS
    77ADCBBD 68 10002A68 PUSH 682A0010
    77ADCBC2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBC4 45 INC EBP
    77ADCBC5 68 10005F68 PUSH 685F0010
    77ADCBCA 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBCC 7B 68 JPO SHORT 77ADCC36
    77ADCBCE 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBD0 99 CDQ
    77ADCBD1 68 1000B868 PUSH 68B80010
    77ADCBD6 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBD8 D968 10 FLDCW WORD PTR DS:[EAX+10]
    77ADCBDB 00F7 ADD BH,DH
    77ADCBDD 68 10001469 PUSH 69140010
    77ADCBE2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCBE4 35 69100050 XOR EAX,50001069
    77ADCBE9 6910 006E6910 IMUL EDX,DWORD PTR DS:[EAX],10696E00
    77ADCBEF 0088 691000A4 ADD BYTE PTR DS:[EAX+A4001069],CL
    77ADCBF5 6910 00BC6910 IMUL EDX,DWORD PTR DS:[EAX],1069BC00
    77ADCBFB 00DD ADD CH,BL
    77ADCBFD 6910 00FC6910 IMUL EDX,DWORD PTR DS:[EAX],1069FC00
    77ADCC03 0005 6A100013 ADD BYTE PTR DS:[1300106A],AL
    77ADCC09 6A 10 PUSH 10
    77ADCC0B 0027 ADD BYTE PTR DS:[EDI],AH
    77ADCC0D 6A 10 PUSH 10
    77ADCC0F 0039 ADD BYTE PTR DS:[ECX],BH
    77ADCC11 6A 10 PUSH 10
    77ADCC13 004D 6A ADD BYTE PTR SS:[EBP+6A],CL
    77ADCC16 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC18 70 6A JO SHORT 77ADCC84
    77ADCC1A 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC1C 886A 10 MOV BYTE PTR DS:[EDX+10],CH
    77ADCC1F 009B 6A1000C2 ADD BYTE PTR DS:[EBX+C200106A],BL
    77ADCC25 6A 10 PUSH 10
    77ADCC27 00D8 ADD AL,BL
    77ADCC29 6A 10 PUSH 10
    77ADCC2B 00EC ADD AH,CH
    77ADCC2D 6A 10 PUSH 10
    77ADCC2F 00FB ADD BL,BH
    77ADCC31 6A 10 PUSH 10
    77ADCC33 00146B ADD BYTE PTR DS:[EBP2+EBX],DL
    77ADCC36 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC38 326B 10 XOR CH,BYTE PTR DS:[EBX+10]
    77ADCC3B 003D 6B100054 ADD BYTE PTR DS:[5400106B],BH
    77ADCC41 6B10 00 IMUL EDX,DWORD PTR DS:[EAX],0
    77ADCC44 68 6B100083 PUSH 8300106B
    77ADCC49 6B10 00 IMUL EDX,DWORD PTR DS:[EAX],0
    77ADCC4C 9D POPFD
    77ADCC4D 6B10 00 IMUL EDX,DWORD PTR DS:[EAX],0
    77ADCC50 B7 6B MOV BH,6B
    77ADCC52 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC54 CB RETF ; Far jump or call
    77ADCC55 6B10 00 IMUL EDX,DWORD PTR DS:[EAX],0
    77ADCC58 DF6B 10 FILD QWORD PTR DS:[EBX+10]
    77ADCC5B 00F6 ADD DH,DH
    77ADCC5D 6B10 00 IMUL EDX,DWORD PTR DS:[EAX],0
    77ADCC60 0E PUSH CS
    77ADCC61 6C INS BYTE PTR ES:[EDI],DX ; I/O command
    77ADCC62 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC64 286C10 00 SUB BYTE PTR DS:[EDX+EAX],CH
    77ADCC68 3D 6C100052 CMP EAX,5200106C
    77ADCC6D 6C INS BYTE PTR ES:[EDI],DX ; I/O command
    77ADCC6E 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC70 696C10 00 826C1 IMUL EBP,DWORD PTR DS:[EDX+EAX],106C82
    77ADCC78 97 XCHG EAX,EDI
    77ADCC79 6C INS BYTE PTR ES:[EDI],DX ; I/O command
    77ADCC7A 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC7C B5 6C MOV CH,6C
    77ADCC7E 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC80 D06C10 00 SHR BYTE PTR DS:[EDX+EAX],1
    77ADCC84 FF2C10 JMP FAR FWORD PTR DS:[EDX+EAX] ; Far jump or call
    77ADCC87 90 NOP
    77ADCC88 1A6D 10 SBB CH,BYTE PTR SS:[EBP+10]
    77ADCC8B 000E ADD BYTE PTR DS:[ESI],CL
    77ADCC8D ED IN EAX,DX ; I/O command
    77ADCC8E 0F001F LTR WORD PTR DS:[EDI] ; Privileged instruction
    77ADCC91 ED IN EAX,DX ; I/O command
    77ADCC92 0F0049 6D STR WORD PTR DS:[ECX+6D]
    77ADCC96 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC98 2C 6D SUB AL,6D
    77ADCC9A 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCC9C 65:6D INS DWORD PTR ES:[EDI],DX ; Superfluous segment override prefix
    77ADCC9E 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCA0 806D 10 00 SUB BYTE PTR SS:[EBP+10],0
    77ADCCA4 9D POPFD
    77ADCCA5 6D INS DWORD PTR ES:[EDI],DX ; I/O command
    77ADCCA6 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCA8 C06D 10 00 SHR BYTE PTR SS:[EBP+10],0 ; Shift out of range
    77ADCCAC DA6D 10 FISUBR DWORD PTR SS:[EBP+10]
    77ADCCAF 00F4 ADD AH,DH
    77ADCCB1 6D INS DWORD PTR ES:[EDI],DX ; I/O command
    77ADCCB2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCB4 106E 10 ADC BYTE PTR DS:[ESI+10],CH
    77ADCCB7 0026 ADD BYTE PTR DS:[ESI],AH
    77ADCCB9 6E OUTS DX,BYTE PTR DS:[ESI] ; I/O command
    77ADCCBA 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCBC 3D 6E100057 CMP EAX,5700106E
    77ADCCC1 6E OUTS DX,BYTE PTR DS:[ESI] ; I/O command
    77ADCCC2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCC4 68 6E10007A PUSH 7A00106E
    77ADCCC9 6E OUTS DX,BYTE PTR DS:[ESI] ; I/O command
    77ADCCCA 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCCC 856E 10 TEST DWORD PTR DS:[ESI+10],EBP
    77ADCCCF 009D 6E1000B4 ADD BYTE PTR SS:[EBP+B400106E],BL
    77ADCCD5 6E OUTS DX,BYTE PTR DS:[ESI] ; I/O command
    77ADCCD6 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCD8 C2 6E10 RETN 106E
    77ADCCDB 00E0 ADD AL,AH
    77ADCCDD 6E OUTS DX,BYTE PTR DS:[ESI] ; I/O command
    77ADCCDE 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCE0 FC CLD
    77ADCCE1 6E OUTS DX,BYTE PTR DS:[ESI] ; I/O command
    77ADCCE2 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCE4 106F 10 ADC BYTE PTR DS:[EDI+10],CH
    77ADCCE7 0027 ADD BYTE PTR DS:[EDI],AH
    77ADCCE9 6F OUTS DX,DWORD PTR DS:[ESI] ; I/O command
    77ADCCEA 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCEC 56 PUSH ESI
    77ADCCED 6F OUTS DX,DWORD PTR DS:[ESI] ; I/O command
    77ADCCEE 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCF0 8A6F 10 MOV CH,BYTE PTR DS:[EDI+10]
    77ADCCF3 00B3 6F1000BD ADD BYTE PTR DS:[EBX+BD00106F],DH
    77ADCCF9 6F OUTS DX,DWORD PTR DS:[ESI] ; I/O command
    77ADCCFA 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCCFC D26F 10 SHR BYTE PTR DS:[EDI+10],CL
    77ADCCFF 00E9 ADD CL,CH
    77ADCD01 6F OUTS DX,DWORD PTR DS:[ESI] ; I/O command
    77ADCD02 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCD04 0C 70 OR AL,70
    77ADCD06 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCD08 35 70100057 XOR EAX,57001070
    77ADCD0D 70 10 JO SHORT 77ADCD1F
    77ADCD0F 0073 70 ADD BYTE PTR DS:[EBX+70],DH
    77ADCD12 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCD14 90 NOP
    77ADCD15 70 10 JO SHORT 77ADCD27
    77ADCD17 00A7 701000C6 ADD BYTE PTR DS:[EDI+C6001070],AH
    77ADCD1D 70 10 JO SHORT 77ADCD2F
    77ADCD1F 00DD ADD CH,BL
    77ADCD21 70 10 JO SHORT 77ADCD33
    77ADCD23 00EC ADD AH,CH
    77ADCD25 70 10 JO SHORT 77ADCD37
    77ADCD27 00F9 ADD CL,BH
    77ADCD29 70 10 JO SHORT 77ADCD3B
    77ADCD2B 0008 ADD BYTE PTR DS:[EAX],CL
    77ADCD2D 71 10 JNO SHORT 77ADCD3F
    77ADCD2F 0034ED 0F001B71 ADD BYTE PTR DS:[EBP
    8+711B000F],DH
    77ADCD36 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCD38 27 DAA
    77ADCD39 71 10 JNO SHORT 77ADCD4B
    77ADCD3B 0041 71 ADD BYTE PTR DS:[ECX+71],AL
    77ADCD3E 1000 ADC BYTE PTR DS:[EAX],AL
    77ADCD40 64:71 10 JNO SHORT 77ADCD53 ; Superfluous segment override prefix

  4. Hello: I downloaded v6.8.0 today and cannot find the Alf DEDRM standalone app. Is it no longer available. I do not like calibre so have been using the standalone app for years on OSX.

    • The stand-alone tools were dropped in 6.7, IIRC.

      You could probably just open your existing application (Show Package Contents) and replace the .py files in there with the .py files from the plugin’s unzipped contents.

      Or just get calibre. How on earth do you keep track of your ebooks without calibre?

      • Thankyou Paul. I am old fashion (I know), so “which books I have” is easy for me, as they reside on my lovely physical bookshelves. I use the dedrm ebooks to either read while travelling or more often, markup the PDF version or listen to them as I cook or walk etc.. but for reading I still really really prefer the physical books. I have physical and digital of all the books.

        I am using Catalina 10.15.5 and have the DEDRM standalone tool v 6.6.3 successfully dedrm for pubs and PDFs. But no Kindle files are working (azw file previously dl and dedrm (like a year ago on my old high Sierra MacBook) are not working).

        I have not swapped out any .py files yet.

        dedrm.log is showing a python module fail. “ImportError: No module named Crypto.Cipher”
        So wanted to check before swapping out .py files as you suggest. I have the DEDRM standalone version from my old MacBook 6.4.3 that did work. 6.4.3 does not work on Catalina as it is 32bit.

        Are the .py files I swap out, these 3?
        k4mobidedrm.py
        kfxdedrm.py
        ion.py

        snippet of log

        Users/author/Desktop/’ > ‘/Users/author/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log’
        shellresult: Using Library AlfCrypto DLL/DYLIB/SO
        Traceback (most recent call last):
        File “/Applications/DeDRM.app/Contents/Resources/k4mobidedrm.py”, line 94, in
        import kfxdedrm
        File “/Applications/DeDRM.app/Contents/Resources/kfxdedrm.py”, line 20, in
        import ion
        File “/Applications/DeDRM.app/Contents/Resources/ion.py”, line 20, in
        from Crypto.Cipher import AES
        ImportError: No module named Crypto.Cipher
        shellcommand: /usr/bin/python ‘/Applications/DeDRM.app/Contents/Resources/kindlekey.py’ ‘/Users/author/Library/Preferences/com.apprenticealf.dedrm/newKeys/’ > ‘/Users/author/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log’
        shellresult: kindlekey.py v2.6
        Copyright © 2010-2016 by some_updates, Apprentice Alf and Apprentice Harper
        Found k4Mac kinf2011 file: /Users/XXXX/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2011
        Couldn’t decrypt file.
        Could not retrieve Kindle for Mac/PC key.

        • I recommend that you just download and install calibre and the plugin. Use calibre to remove the DRM (by importing the book), and then you can just use the file from the calibre library as you like. You don’t have to use calibre any more than that, and it’ll be a lot easier than trying to get a working version of the DeDRM AppleScript application working on Catalina. (Which might be possible, but I’m not certain that it is.)

          • many thanks Paul, Zola and ingo. I will try as Zola done. I really like the simplicity of the standalone DEDRM app. Doesn’t create any libraries etc… self-manages. Very clean for me.

            if that fails, I was thinking could use parallel app to run an early version of kindle for PC. I will likely buy ePUB and not my preferred kindles before willing to install Calibre on my Mac. I am going to try and boot off my old Mac HD as an external if I can find a cable as adapters are preventing it.

            • This was my process, yours may vary.

              Open Terminal window:

              sudo python -m pip install pycrypto
              if error: “No module named pip”
              type: sudo easy_install pip
              try again: sudo python -m pip install pycrypto
              if installation fails because “C compiler cannot create executables” and pop-up window appears offering to install command line developer tools, choose Install
              try again: sudo python -m pip install pycrypto
              if after installing pycrypto decryption fails with error pylzma error
              type: sudo python -m pip install pylzma

              Good luck!

    • It is my guess, that the standalone for a few reasons was not working anymore. Depending on which version of Mac OS you are working, it might gradually fail.
      For instance: I am still on mojave (might skip Catalina), and I use standalone DeDRM 6.6.3 which might still be on Github. It works for Kindle eInk (serial number as key, no KFX-ebooks) and the old Adobe DRM on EPub (2.0?).
      It does not work any longer ebooks from Kindle for Mac, even the modified non-KFX-version I use.
      These have to be imported with Calibre to be stripped of DRM, I know no other solution.

      • FWIW, I have successfully modified 6.6.3 by replacing kindlekey.py inside 6.6.3 with kindlekey.py from 6.8.0. Standalone app now works with K4Mac 1.28.0 on Catalina and High Sierra.

      • Seem to remember this question popped up here before, and it does not look like it is Adobe. Also the webpage with ebooks offers a reading app for iOS and Google (Android store).
        The ebooks covers look like manga.
        @ Ruppi If there is a free or cheap one, you could get it and test it, but my guess is, you will not be able to remove DRM.
        EPUB for Manga is sometimes pictures with a html TOC and some html so you can page through.
        The pictures are probably encoded, and also they most probably use some homebrewed DRM, as said not Adobe (and I am not even sure, DeDRM would decode the pictures if it where Adobe DRM).

    • @Ruppi
      Are you certain the ebook you puchased from booklive.jp is in fact an EPUB? Booklive also sells ebooks in proprietary XMDF and “.book” formats which are used only in Japan and are completely unrelated to EPUB (more than just DRM-wise). I’m guessing they (or rather most of their publishers) have switched to EPUB by now for their newer titles, but many older ebooks may still be available olny in these other formats that were common before EPUB got widely adopted among Japanese publishers.

      I’m just saying this because people often tend to use EPUB and ebook as synonyms and I don’t know if you’re a technical enough person to be sure you actually got an EPUB format book from them.

  5. which tool was used Calibre MAC
    which OS you are using 10.15.05
    where the ebook file came from (device or application) Kindle paper white
    any error messages
    a log of the DRM-removal attempt (see the FAQs on how to get a log).

    calibre Debug log
    calibre 4.20 embedded-python: True is64bit: True
    Darwin-19.5.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘19.5.0’, ‘Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64’)
    Python 2.7.16
    OSX: (‘10.15.5’, (”, ”, ”), ‘x86_64′)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && KindleUnpack – The Plugin (0, 82, 1)
    calibre 4.20 embedded-python: True is64bit: True
    Darwin-19.5.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘19.5.0’, ‘Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64’)
    Python 2.7.16
    OSX: (‘10.15.5’, (”, ”, ”), ‘x86_64’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && KindleUnpack – The Plugin (0, 82, 1)
    devicePixelRatio: 2.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 113.500001705 x 113.500001705
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.02] Showing splash screen…
    [0.31] splash screen shown
    [0.31] Initializing db…
    [0.32] db initialized
    [0.32] Constructing main UI…
    [1.37] main UI initialized…
    [1.37] Hiding splash screen
    2020-07-03 19:54:07.111 calibre-parallel[71688:1516071] -[NSNull length]: unrecognized selector sent to instance 0x7fff8d9cbea0
    2020-07-03 19:54:07.112 calibre-parallel[71688:1516071] Exception calling directoryDidChange: on delegate exception=-[NSNull length]: unrecognized selector sent to instance 0x7fff8d9cbea0
    2020-07-03 19:54:07.118 calibre-parallel[71688:1516071] -[NSNull length]: unrecognized selector sent to instance 0x7fff8d9cbea0
    2020-07-03 19:54:07.118 calibre-parallel[71688:1516071] Exception calling directoryDidChange: on delegate exception=-[NSNull length]: unrecognized selector sent to instance 0x7fff8d9cbea0
    2020-07-03 19:54:07.251 calibre-parallel[71688:1516071] -[NSNull length]: unrecognized selector sent to instance 0x7fff8d9cbea0
    2020-07-03 19:54:07.251 calibre-parallel[71688:1516071] Exception calling directoryDidChange: on delegate exception=-[NSNull length]: unrecognized selector sent to instance 0x7fff8d9cbea0
    Disk /Volumes/Kindle/ ejected

  6. calibre Registre de depuració
    calibre 4.20 embedded-python: True is64bit: True
    Darwin-19.5.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘19.5.0’, ‘Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64’)
    Python 2.7.16
    OSX: (‘10.15.5’, (”, ”, ”), ‘x86_64′)
    Interface language: ca
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && Obok DeDRM (6, 7, 0)
    calibre 4.20 embedded-python: True is64bit: True
    Darwin-19.5.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘19.5.0’, ‘Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64’)
    Python 2.7.16
    OSX: (‘10.15.5’, (”, ”, ”), ‘x86_64’)
    Interface language: ca
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && Obok DeDRM (6, 7, 0)
    devicePixelRatio: 2.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 128.000001922 x 127.500001915
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.04] Showing splash screen…
    [0.24] splash screen shown
    [0.24] Initializing db…
    [0.24] db initialized
    [0.24] Constructing main UI…
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.0 obok::action_err.py – loading translations
    [0.99] main UI initialized…
    [0.99] Hiding splash screen
    DeDRM v6.8.0: Trying to decrypt La inteligencia del corazón.epub
    DeDRM v6.8.0: Verifying zip archive integrity
    DeDRM v6.8.0: La inteligencia del corazón.epub is a secure Adobe Adept ePub
    DeDRM v6.8.0: Looking for new default Adobe Digital Editions Keys after 0.0 seconds
    DeDRM v6.8.0: Trying a new default key
    Could not decrypt hGu6Nv.epub because of an exception:
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.ineptepub”, line 423, in decryptBook
    File “calibre_plugins.dedrm.ineptepub”, line 184, in decrypt
    ADEPTError: RSA decryption failed

    DeDRM v6.8.0: Failed to decrypt with new default key after 0.1 seconds
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 636, in run
    File “calibre_plugins.dedrm.init“, line 407, in ePubDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    [2.48] splash screen hidden
    [2.49] Started up in 2.49 seconds with 0 books
    Added La inteligencia del corazón to db in: 0.0
    Added 1 books in 0.7 seconds

    MODEL: MacbookPro
    Epub obtained from: https://www.casadellibro.com

    • Is Adobe Digital Editions authorized with your Adobe ID and on the same machine and user as calibre with DeDRM?

      If this ebookstore is using the hardened Adobe DRM, DeDRM won’t work. If you have access to a machine which can run 32-bit programs (Windows or earlier Mac OS), you could see if you can download the book with ADE version 2.0.1 authorized with the same Adobe ID.

  7. Hi, it looks like DeDrm can’t find the encryption key. I have a Kindle 4 registered with Amazon and couldn’t download the book to my Kindle as it’s not compatible. So I tried downloading it to Kindle for PC and from there into Calibre. When trying to configure DeDRM by selecting Kindle for PC, I get a message that it can’t find the default key.

    which tool was used: Calibre 4.20 for pc
    which OS you are using: Windows 10
    where the ebook file came from (device or application): Kindle for PC 1.26. Book is in KFX format
    any error messages: None, but can’t open it with Calibre
    a log of the DRM-removal attempt (see the FAQs on how to get a log).

    calibre Debug log
    calibre 4.20 embedded-python: True is64bit: False
    Windows-10-10.0.16299-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.16299’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.16299’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 6, 2) && Package KFX (from KFX Input) (1, 33, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && Quality Check (1, 9, 11) && Library Splitter (1, 0, 2) && Goodreads Sync (1, 14, 3) && Obok DeDRM (6, 5, 4) && BigOven Recipe Reader (1, 0, 1) && Clean Metadata (0, 0, 6) && Consolidate All Library Metadata (2, 0, 36) && Count Pages (1, 10, 0) && Goodreads (1, 4, 0) && Overdrive Link (2, 39, 0) && Reading List (1, 6, 7)
    calibre 4.20 embedded-python: True is64bit: False
    Windows-10-10.0.16299-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.16299’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.16299’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 6, 2) && Package KFX (from KFX Input) (1, 33, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && Quality Check (1, 9, 11) && Library Splitter (1, 0, 2) && Goodreads Sync (1, 14, 3) && Obok DeDRM (6, 5, 4) && BigOven Recipe Reader (1, 0, 1) && Clean Metadata (0, 0, 6) && Consolidate All Library Metadata (2, 0, 36) && Count Pages (1, 10, 0) && Goodreads (1, 4, 0) && Overdrive Link (2, 39, 0) && Reading List (1, 6, 7)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.861627907 x 100.55257732
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.72] splash screen shown
    [0.72] Initializing db…
    [1.52] db initialized
    [1.52] Constructing main UI…
    DEBUG: 0.0 Goodreads Sync::dialogs.py – loading translations
    DEBUG: 0.0 GoodreadsSync::action.py – loading translations
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.0 obok::action_err.py – loading translations
    DEBUG: 2.5 HttpHelper::init: proxy=None
    CALM: initialization_complete…………
    [4.38] main UI initialized…
    [4.38] Hiding splash screen
    [20.05] splash screen hidden
    [20.05] Started up in 20.05 seconds with 16332 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\xb3=\xd5y\x9b\xc5\xd8~\x17\x1b[F\x8a\xc5\xf6~{\x1e\x98\x9a\xb8\x82k\xb0\x9f\xd1D\xcd\x10\x96\xb6 ‘, ‘C:\Users\20016427\Documents\My Kindle Content\B07T9HZJK4_EBOK\B07T9HZJK4_EBOK.azw’]
    Gather KFX-ZIP (from KFX Input) 1.33.0: Importing C:\Users\20016427\Documents\My Kindle Content\B07T9HZJK4_EBOK\B07T9HZJK4_EBOK.azw
    Gather KFX-ZIP (from KFX Input): Gathered 7 file(s) as C:\Users\20016427\AppData\Local\Temp\calibre_qrcycp\ouqbsm.kfx-zip
    DeDRM v6.6.2: Trying to decrypt ouqbsm.kfx-zip
    Using Library AlfCrypto DLL/DYLIB/SO
    Decrypting KFX-ZIP ebook: ouqbsm
    Found 1 keys to try after 0.1 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1c181f23-d2e4-4d35-986e-c161f094280a.voucher
    DeDRM v6.6.2: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
    DeDRM v6.6.2: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\20016427\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.2: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 622, in run
    File “calibre_plugins.dedrm.init“, line 572, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.2: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Package KFX (from KFX Input) 1.33.0: Packaging C:\Users\20016427\AppData\Local\Temp\calibre_qrcycp\ouqbsm.kfx-zip
    Processing container: B07T9HZJK4_EBOK.azw
    Running file type plugin Package KFX (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.kfx_input.package_filetype”, line 21, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 33, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 87, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 184, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 291, in get_container
    KFXDRMError: Book container B07T9HZJK4_EBOK.azw has DRM and cannot be converted
    KFX metadata reader (from KFX Input) activated for C:\Users\20016427\AppData\Local\Temp\calibre_qrcycp\qlyga2_add_books\0\B07T9HZJK4_EBOK.kfx-zip
    Added Project Risk Quantification: A Practitioner’s Guide to Realistic Cost and Schedule Risk Management to db in: 3.7
    Added 1 books in 5.2 seconds

      • Hi Laura,

        I made the upgrade and it picked up the default key. It does, however, look like there is something wrong with the KFX Input plugin’s processing as I can’t open, or convert, the book with Calibre. It does open in Kindle for PC.

        calibre Debug log
        calibre 4.20 embedded-python: True is64bit: False
        Windows-10-10.0.16299-SP0 Windows (’32bit’, ‘WindowsPE’)
        32bit process running on 64bit windows
        (‘Windows’, ’10’, ‘10.0.16299’)
        Python 2.7.16+
        Windows: (’10’, ‘10.0.16299’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: None
        Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && Goodreads Sync (1, 14, 3) && Overdrive Link (2, 39, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && Obok DeDRM (6, 5, 4) && Consolidate All Library Metadata (2, 0, 36) && Library Splitter (1, 0, 2) && Quality Check (1, 9, 11) && Goodreads (1, 4, 0) && Clean Metadata (0, 0, 6) && BigOven Recipe Reader (1, 0, 1) && Reading List (1, 6, 7) && Count Pages (1, 10, 0)
        calibre 4.20 embedded-python: True is64bit: False
        Windows-10-10.0.16299-SP0 Windows (’32bit’, ‘WindowsPE’)
        32bit process running on 64bit windows
        (‘Windows’, ’10’, ‘10.0.16299’)
        Python 2.7.16+
        Windows: (’10’, ‘10.0.16299’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: None
        Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && Goodreads Sync (1, 14, 3) && Overdrive Link (2, 39, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && Obok DeDRM (6, 5, 4) && Consolidate All Library Metadata (2, 0, 36) && Library Splitter (1, 0, 2) && Quality Check (1, 9, 11) && Goodreads (1, 4, 0) && Clean Metadata (0, 0, 6) && BigOven Recipe Reader (1, 0, 1) && Reading List (1, 6, 7) && Count Pages (1, 10, 0)
        Turning on automatic hidpi scaling
        devicePixelRatio: 1.0
        logicalDpi: 96.0 x 96.0
        physicalDpi: 100.861627907 x 100.55257732
        Using calibre Qt style: True
        [0.00] Starting up…
        [0.00] Showing splash screen…
        [0.88] splash screen shown
        [0.88] Initializing db…
        [4.83] db initialized
        [4.83] Constructing main UI…
        DEBUG: 0.0 Goodreads Sync::dialogs.py – loading translations
        DEBUG: 0.0 GoodreadsSync::action.py – loading translations
        DEBUG: 0.0 obok::utilities.py – loading translations
        DEBUG: 0.0 obok::dialogs.py – loading translations
        DEBUG: 0.0 obok::config.py – loading translations
        DEBUG: 0.0 obok::action_err.py – loading translations
        DEBUG: 3.3 HttpHelper::init: proxy=None
        CALM: initialization_complete…………
        [8.33] main UI initialized…
        [8.33] Hiding splash screen
        [27.09] splash screen hidden
        [27.09] Started up in 27.09 seconds with 16349 books
        stdout+stderr from file dialog helper: [”, ”]
        piped data from file dialog helper: [‘\xc6\xdc\x1f\xc2\x0bl2\xff\xb5\x168_EvriU\x9e\xd4\x9b\xe6{\xb3T\x12\xa5\xff\xe3\xad\x95*\x97’, ‘C:\Users\20016427\Documents\My Kindle Content\B07T9HZJK4_EBOK\B07T9HZJK4_EBOK.azw’]
        Gather KFX-ZIP (from KFX Input) 1.33.0: Importing C:\Users\20016427\Documents\My Kindle Content\B07T9HZJK4_EBOK\B07T9HZJK4_EBOK.azw
        Gather KFX-ZIP (from KFX Input): Gathered 7 file(s) as C:\Users\20016427\AppData\Local\Temp\calibre_rvbsvf\s8a1tx.kfx-zip
        DeDRM v6.8.0: Trying to decrypt s8a1tx.kfx-zip
        Using Library AlfCrypto DLL/DYLIB/SO
        Decrypting KFX-ZIP ebook: s8a1tx
        Got DSN key from database default_key
        Found 2 keys to try after 0.1 seconds
        Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.1c181f23-d2e4-4d35-986e-c161f094280a.voucher
        KFX DRM voucher successfully decrypted
        Decrypting KFX DRMION: B07T9HZJK4_EBOK.azw
        Decrypting KFX DRMION: CR!0EX1W701F94ZBF5W10DYSXHN7WRT.azw.res
        Decrypting KFX DRMION: CR!646Y2SAE8H1F74V1777948HSHKKN.azw.res
        Decrypting KFX DRMION: CR!CXE9B4S0DS09K0MR4A9SVK5R8RQS.azw.res
        Decrypting KFX DRMION: CR!Y9PPYWS4AD1Z1CS1QBBC2KWGX5N9.azw.res
        Decryption succeeded after 1.0 seconds
        DeDRM v6.8.0: Finished after 1.1 seconds
        Package KFX (from KFX Input) 1.33.0: Packaging C:\Users\20016427\AppData\Local\Temp\calibre_rvbsvf\atf7gx.kfx-zip
        Processing container: B07T9HZJK4_EBOK.azw
        Processing container: CR!0EX1W701F94ZBF5W10DYSXHN7WRT.azw.res
        Processing container: CR!646Y2SAE8H1F74V1777948HSHKKN.azw.res
        Processing container: CR!CXE9B4S0DS09K0MR4A9SVK5R8RQS.azw.res
        Processing container: CR!F1WQQAM37N0V33VGMF2RM6ER7TWQ.azw.md
        Processing container: CR!Y9PPYWS4AD1Z1CS1QBBC2KWGX5N9.azw.res
        kfxgen version: 7.213.1.0
        Features: CanonicalFormat-2, kfxgen.positionMaps-2, max_id-783, yj_custom_word_iterator-1, yj_fixed_layout-1, yj_graphical_highlights-1, yj_pdf_support-1, yj_textbook-1
        Metadata: ASIN=B07T9HZJK4, asset_id=CR!QZ6KTRAPDD33QBMC0X6P26G0RW9D, author=”Hollmann, John”, book_id=LP9hXxSj2t26P_WrYzA2D51, book_orientation_lock=none, cde_content_type=EBOK, content_id=B07T9HZJK4, cover_image=1200×1920, creator_version=1.24.33.0, file_creator=KC, graphical_highlights=1, is_sample=False, issue_date=2019-06-20, language=en, multipage_selection=disabled, pages=416, publisher=”Probabilistic Publishing”, reading_orders=1, selection=enabled, title=”Project Risk Quantification: A Practitioner’s Guide to Realistic Cost and Schedule Risk Management”, user_visible_labeling=page_exclusive, yj_fixed_layout=1, yj_textbook=1
        KFX container created may be too large for some devices (17301120 bytes)
        Package KFX (from KFX Input): Imported as C:\Users\20016427\AppData\Local\Temp\calibre_rvbsvf\ucc1sh.kfx
        KFX metadata reader (from KFX Input) activated for C:\Users\20016427\AppData\Local\Temp\calibre_rvbsvf\zv2wsa_add_books\0\B07T9HZJK4_EBOK.kfx
        Added Project Risk Quantification: A Practitioner’s Guide to Realistic Cost and Schedule Risk Management to db in: 6.0
        Added 1 books in 88.1 seconds

  8. Hi, I’m not sure what I’m doing wrong. I have kindle for PC v. 1.24.3. i’m pretty sure I’ve installed the plugins correctly into Calibre. The debug log says that it was successful, but it also says that the book was successfully added to Calibre; however, it won’t open and says that it’s in “htmlz” format. Here’s the debug log. All help appreciated, thank you!

    calibre Debug log
    calibre 4.20 embedded-python: True is64bit: False
    Windows-10-10.0.18362-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && Obok DeDRM (6, 7, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0)
    calibre 4.20 embedded-python: True is64bit: False
    Windows-10-10.0.18362-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && Obok DeDRM (6, 7, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.861627907 x 101.07357513
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [17.98] splash screen shown
    [17.98] Initializing db…
    [18.12] db initialized
    [18.12] Constructing main UI…
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.2 obok::action_err.py – loading translations
    [26.39] main UI initialized…
    [26.39] Hiding splash screen
    [79.58] splash screen hidden
    [79.58] Started up in 79.58 seconds with 1 books
    Gather KFX-ZIP (from KFX Input) 1.33.0: Importing C:/Users/halya/OneDrive/Documents/My Kindle Content/B004DI75MQ_EBOK/B004DI75MQ_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B004DI75MQ_EBOK.azw
    Using Library AlfCrypto DLL/DYLIB/SO
    Decrypting Topaz ebook: The Anabaptist Story: An Introduction to Sixteenth-Century Anabaptism
    Got DSN key from database default_key
    Got DSN key from database fire
    Got DSN key from database default_key_2
    Found 7 keys to try after 0.6 seconds
    Trying: m+t7veXZ
    Trying: ERriaSTc
    Trying: YTNJ2FCT
    Trying: JCUPBGB*
    Trying: VGw015HA
    Book Key Found! (e39d95257cbf2358)
    Processing Section: color
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Processing Section: img
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Processing Section: metadata
    . . . .
    Processing Section: page
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Processing Section: dict
    . . . .
    Processing Section: glyphs
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Processing Section: other
    . . . .
    Successfully Extracted Topaz contents
    Updating to color images if available
    Creating cover.jpg
    Processing Dictionary
    Processing Meta Data and creating OPF
    Processing StyleSheet
    Using font size: 120
    Using page height: 13296
    Using page width: 8390
    Processing Glyphs
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Processing Pages
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Extracting Table of Contents from Amazon OCR
    Preface to the Third Edition|0009
    Preface to the Second Edition|0016
    Introduction|0020
    I. The Birth of Anabaptism|0031
    II. Meteors against the Night|0064
    III. A Superlative Witness|0107
    IV. Truth Is Immortal|0139
    V. From Zollikon to Augsburg|0187
    VI. Of Moravia and the Community of Goods|0225
    VII. Menno Simons and Dutch Anabaptism|0263
    VIII. Anabaptism and Reformation Theology|0304
    IX. Baptism and Discipleship|0347
    X Church and State|0409
    XL Across the Seas and through the Years|0461
    Bibliography|0528
    Index|0542
    Building svg images of each book page
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    Processing Complete
    Book Successfully generated
    Decryption succeeded after 165.0 seconds
    DeDRM v6.8.0: Finished after 176.8 seconds
    Added B004DI75MQ EBOK to db in: 6.6
    Added 1 books in 200.8 seconds

  9. Has something changed with Amazon and activating old versions of the Kindle software. I have a Mojave VM with Kindle 1.17 installed and last used it a couple of weeks ago. I tried today and the app had spontaneously deauthorised itself, and will no longer accept my (valid) credentials. It just says, “enter a valid email or phone number”. I can still log into my Amazon account so I know the credentials are valid. Are they blocking older clients now?

    • I didn’t have a problem on Monday, 6 Jul 20 but let me test it.
      (testing)
      OK, I just purchased a Kindle book on Amazon.com and downloaded it to Kindle for Mac 1.17 on my iMac running MacOS 10.13.6 (High Sierra) without a problem. I then imported it into Calibre 3.48.

        • Hmm, good to know it might just be me. It has been working fine for a while, so maybe I will reinstall the app. Thanks for the information

          • OK. I think I know what happened. I moved the VM to my new Mac and something in the environment changed so that Kindle got confused. Removing it and purging anything kindle related from /Library and ~/Library eventually let me install it again and reregister. Ironically the book I purchased had no DRM anyway, so I am not certain everything is working with DeDRM/Calibre but at least I have the Kindle behaving.

    • Did you find a solution for this? I’m on a PC and have literally tried everything. I accidentally updated to 1.26 then I de-installed it and re-installed 1.17, but then it kept telling me to enter a valid email or phone number. Installing, de-installing, re-installing… deregistering the app over on Amazon, but it still keeps telling me that I need to enter a valid email or phone number, but I’m 100% sure that the credentials are valid. I’ve removed the My Kindle content and the file in the C:Users\app\local but nothing. It keeps telling me that I need to enter a valid email or phone number. I’m literally crying tears of frustration because I just don’t get why it doesn’t work anymore, so any wisdom anyone can offer is appreciated. Thanks in advance!

  10. hi, I have no idea what does zip fil, unzipped etc. means, I tried my hardest and reached till here…can anyone please explain me what do I need to do to convert my ebooks to pdf.

    • I’m not sure where to begin if you aren’t aware of what unzipping a zip file means. I think you’ll need to have someone walk you through the instructions in person.

  11. Hello I am unable to download the Plug-In for DRM Removal from your Site. The link seems broken. Please can you help. Thanks.

  12. Hello, I have followed the steps to deDRM an epub on calibre.
    It seem to have worked but I’m not sure. Here is the log :

    [14.52] Started up in 14.52 seconds with 1 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘5l\xdaGIm\xe2z\xa9\xee(\xcc\xd5\xf6u@\xf8\xa7\xf9\x1bz\xe1\x12\xf6\xd1″k\xb5\xbe\xecIm’, ‘D:\BC\Documents\My Digital Editions\Les dangers cach\xc3\xa9s de l\xe2\x80\x99alimentation saine.epub’]
    DeDRM v6.8.0: Trying to decrypt Les dangers cachés de l’alimentation saine.epub
    DeDRM v6.8.0: Verifying zip archive integrity
    DeDRM v6.8.0: Les dangers cachés de l’alimentation saine.epub is a secure Adobe Adept ePub
    DeDRM v6.8.0: Looking for new default Adobe Digital Editions Keys after 0.3 seconds
    Found 1 keys
    DeDRM v6.8.0: Trying a new default key
    DeDRM v6.8.0: Saving a new default key
    DeDRM v6.8.0: Saved a new default key after 0.5 seconds
    DeDRM v6.8.0: Decrypted with new default key after 0.5 seconds
    DeDRM v6.8.0: Finished after 0.5 seconds
    C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser_parser.py:1177: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Added Les dangers cachés de l’alimentation saine to db in: 1.5
    Added 1 books in 2.8 seconds
    Exception TypeError: “‘NoneType’ object is not callable” in <bound method NativeFunction.__del__ of > ignored
    Worker Launch took: 0.131000041962

    Did it work ? Anyway It was added to calibre.
    Now I want to but the book on my kobo but I have no idea how to do.
    Could you help please ?

    • Yes, it worked:

      DeDRM v6.8.0: Decrypted with new default key after 0.5 seconds

      With calibre open, attach your Kobo to your computer with a USB cord. On your Kobo, tap ok to connect to computer. In calibre, select the book(s) you want and click the Send to Device button. When you’re done, eject the device before disconnecting the USB cable.

  13. I have a recent (2019) Kindle Paperwhite. I downloaded the deDRM folder and unzipped it to a separate file. I then opened my Calibre file and clicked down to the plugins page. There was no option to install from “Load plugin from file”, so I have no way to install the deDRM plugin. I imagine others have had a similar problem and would be interested in how to work around this issue.
    Thanks for any help.

    Jojo

    • @jojo
      I just launched Calibre and went to Calibre>Preferences>Plugins. At the bottom of the Plugins window are 6 buttons in two rows and the right hand button of the bottom row is labeled “Load plugin from file” with the “L” underlined. This is in MacOS, but I’d expect it to be the same in Windows.

  14. calibre, version 4.21.0
    ERROR: Unhandled exception: IOError:[Errno 2] No such file or directory: u’C:/Users/xxx/AppData/Local/Kobo/Kobo Desktop Edition\kepub\fa6872db-e57f-4257-9cc1-afc80ce247a4′

    calibre 4.21 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.18362-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Obok DeDRM (6, 7, 0)
    Traceback (most recent call last):
    File “calibre_plugins.obok_dedrm.dialogs”, line 272, in do_book_action
    File “calibre_plugins.obok_dedrm.action”, line 219, in get_decrypted_kobo_books
    File “calibre_plugins.obok_dedrm.action”, line 373, in decryptBook
    File “zipfile.py”, line 779, in init
    IOError: [Errno 2] No such file or directory: u’C:/Users/xxx/AppData/Local/Kobo/Kobo Desktop Edition\kepub\fa6872db-e57f-4257-9cc1-afc80ce247a4′

  15. First, THANK you so much for this tool! I have successfully used the plugin with Calibre to remove DRM from an EPUB originally purchased from Sony for use with the Pocket eReader (one of many). But this is only one step toward my goal, which is still unsuccessful:

    I am very much hoping to upload ALL of my formerly-Sony eBooks to my Google Play library, so that I can get to them “in the cloud” with my Android device. I just attempted to do so with the above DeDRM’d EPUB (from the Calibre directory), but sadly Google is still giving me a “Processing Failed” message.

    Do you know of anyone else who has successfully done this? Do you know of anything more I can do to get Google Play to cooperate? Solving this would be SO awesome…

  16. I recently purchased “Ghost in the Wires” for my Kindle PaperWhite. I made the purchase from my Amazon account on the web, using Chrome. Am running Windows 7, on a Dell Laptop (Latitude E6530). I enjoyed reading the book, but when I imported it into Calibre with DE_DRM properly installed and updated, it couldn’t remove the copy protection. What follows is the contents of the log. Thanks very much for what you do! All the best, Alan

    calibre Debug log
    calibre 3.39.1 embedded-python: True is64bit: False
    Windows-7-6.1.7601-SP1 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ‘7’, ‘6.1.7601’)
    Python 2.7.15+
    Windows: (‘7’, ‘6.1.7601’, ‘SP1′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 33, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0)
    calibre 3.39.1 embedded-python: True is64bit: False
    Windows-7-6.1.7601-SP1 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ‘7’, ‘6.1.7601’)
    Python 2.7.15+
    Windows: (‘7’, ‘6.1.7601’, ‘SP1′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 33, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 71.9842323651 x 71.9822878229
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.81] main UI initialized…
    [1.81] Hiding splash screen
    [43.67] splash screen hidden
    [43.67] Started up in 43.67 seconds with 10 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x9aX?Z\xec\xd7\x15\xda\x08\xdd\xcc\xcb\x10\xe7!9M\xd6S\x9b5\x04\xc9A\x91\xbc4\xe1/d\xad>’, ‘D:\tmp\Ghost in the Wires.azw3’]
    DeDRM v6.6.1: Trying to decrypt Ghost in the Wires.azw3
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Ghost in the Wires
    Found 2 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 2 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\Lakshman\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.1: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Ghost in the Wires to db in: 0.1
    Added 1 books in 0.7 seconds

  17. Hello: I hope someone can help sort this unusual situation. I migrated to a new computer and my dedrm solution stopped working. I can dedrm epubs and previously downloaded kindle from my account. However if I download the same book I purchased 2 years back and try to dedrm, I encounter problems. As a test, I found this old file from 2 years back, in one of my back up drives, and tested dedrm, and it worked perfectly (dedrm standalone tool 6.4.3, kindle for mac 1.12). But that very same file dl this week, failed dedrm, still using the same environment (dedrm standalone tool 6.4.3, kindle for mac 1.12).

    The DEDRM log is showing a key was generated but still a problem. Log below. Dedrm log from using standalone tool 6.6.3.

    I looked in the com.apprenticealf.dedrm directory and there was no sub folder “newKeys”. I created one and retested. Same result. In fact alfs tool deleted my newly created. directory. Why are the keys not being saved in .k4i?

    Workaround
    1. looked further in the com.apprenticealf.dedrm directory and saw a bunch of files not ending in .k4i (kindle key) but DER (which is normally an adobe key I had understoodb, but it was named kindlekey24.der.
    2. changed the extension from .der to .k4i e.g. kindlekey24.k4i
    3. manually loaded the “new key”, called kindlekey24.k4i into the old OSX DEDRM standalone app (6.4.3). DEDRM worked. Which is fabulous as finally my book is dedrmd.

    Now how to get it back to automatically do this.?

    Environment is High Sierra using a very old Kindle for Mac (1.12?).
    The dedrm log is generated from using DEDRM standalone tool 6.6.3
    The kindle was dedrm using the DEDRM standalone tool 6.4.3

    There was an error with 1 ebook:
    TESTTEST.EBOK.azw couldn’t be decrypted.

    ources/kindlekey.py’ ‘/Users/XXXXXX/Library/Preferences/com.apprenticealf.dedrm/newKeys/’ > ‘/Users/XXXXX/Library/Preferences/com.apprenticealf.dedrm/DeDRM_temp.log’
    shellresult: kindlekey.py v2.6
    Copyright © 2010-2016 by some_updates, Apprentice Alf and Apprentice Harper
    Found k4Mac kinf2011 file: /Users/XXXXXX/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2011
    Decrypted key file using IDString ‘ABCABCABC’ and UserName ‘XXXXXX’
    Saved a key to /Users/XXXXXX/Library/Preferences/com.apprenticealf.dedrm/newKeys/kindlekey1.k4i

    There was an error with 1 ebook:
    TESTTEST.azw couldn’t be decrypted.

    ==
    NOTE: although log file says it saved key as kindlekey1.k4i. It in fact did not. but kindlekey1.DER

    • The standalone DeDRM apps are no longer being updated so it may be tough to get things working on a new computer with new downloads. I’m surprised K4Mac 1.12 is still working. I don’t know what is happening with the key saving – except keys don’t automatically get saved unless they unlock a book.

  18. Update: Amazon has made changes to the KFX encryption since this release which affect Kindle for PC/Mac versions 1.27 and later. This release should work on all books downloaded with Kindle for PC/Mac version 1.26 or earlier. Books which require the later versions of Kindle for PC/Mac will not be able to be decrypted at this time.

    How can we tell which version of the kindle for pc the books require? Every book i have tried says it is DRM locked even though I have the DeDRM tools installed and I have tried previous versions of Kindle and it is still locked.

  19. Which tool was used: Calibre
    Which OS you are using: Mac OS High Sierra Version 10.13.6
    Where the ebook file came from (device or application): KortexReadr
    Any error messages: calibre, version 3.48.0 (darwin, embedded-python: True)
    Conversion error: Failed: Convert book 1 of 1 (Social Research Methods)
    A log of the DRM-removal attempt:
    calibre Debug log
    calibre 3.48 embedded-python: True is64bit: True
    Darwin-17.7.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘17.7.0’, ‘Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.13.6’, (”, ”, ”), ‘x86_64′)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 5) && Inept Epub DeDRM (0, 1, 7) && Ignoble Epub DeDRM (0, 1, 6) && KindleUnpack – The Plugin (0, 82, 1) && Inept PDF DeDRM (0, 1, 4) && eReader PDB 2 PML (0, 0, 5) && Obok DeDRM (6, 7, 0)
    calibre 3.48 embedded-python: True is64bit: True
    Darwin-17.7.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘17.7.0’, ‘Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.13.6’, (”, ”, ”), ‘x86_64’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 5) && Inept Epub DeDRM (0, 1, 7) && Ignoble Epub DeDRM (0, 1, 6) && KindleUnpack – The Plugin (0, 82, 1) && Inept PDF DeDRM (0, 1, 4) && eReader PDB 2 PML (0, 0, 5) && Obok DeDRM (6, 7, 0)
    devicePixelRatio: 1.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 128.000001922 x 128.000001922
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.03] Showing splash screen…
    [0.19] splash screen shown
    [0.19] Initializing db…
    [0.23] db initialized
    [0.23] Constructing main UI…
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.0 obok::action_err.py – loading translations
    Loaded cached store plugin for: Virtualo at version: 10
    Loaded cached store plugin for: Woblink at version: 15
    Loaded cached store plugin for: LitRes at version: 2
    Loaded cached store plugin for: Empik at version: 9
    Loaded cached store plugin for: Świat Ebooków at version: 2
    Loaded cached store plugin for: ManyBooks at version: 2
    Loaded cached store plugin for: Legimi at version: 10
    Loaded cached store plugin for: Project Gutenberg at version: 6
    Loaded cached store plugin for: XinXii at version: 2
    [1.97] main UI initialized…
    [1.97] Hiding splash screen
    [2.01] splash screen hidden
    [2.02] Started up in 2.02 seconds with 2 books
    DeDRM v6.8.0: Trying to decrypt Social Research Methods.pdf
    DeDRM v6.8.0: Social Research Methods.pdf is a PDF ebook
    DeDRM v6.8.0: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
    DeDRM v6.8.0: Trying a new default key
    DeDRM v6.8.0: Exception when decrypting after 0.3 seconds
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.init“, line 479, in PDFDecrypt
    File “calibre_plugins.dedrm.ineptpdf”, line 2183, in decryptBook
    File “calibre_plugins.dedrm.ineptpdf”, line 1989, in init
    File “calibre_plugins.dedrm.ineptpdf”, line 1474, in initialize
    File “calibre_plugins.dedrm.ineptpdf”, line 1604, in initialize_ebx
    File “calibre_plugins.dedrm.ineptpdf”, line 206, in decrypt
    ADEPTError: RSA decryption failed
    DeDRM v6.8.0: Failed to decrypt with new default key after 0.3 seconds
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 632, in run
    File “calibre_plugins.dedrm.init“, line 507, in PDFDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin Inept PDF DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.ineptpdf.init“, line 2223, in run
    ADEPTError: IneptPDF – Ultimately failed to decrypt
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 428, in get_file_type_metadata
    File “site-packages/calibre/customize/builtins.py”, line 343, in get_metadata
    File “site-packages/calibre/ebooks/metadata/pdf.py”, line 128, in get_metadata
    ValueError: Could not read info dict from PDF
    IneptPDF: Calibre configuration directory = /Users/sarahshirazi/Library/Preferences/calibre
    IneptPDF: Keyfile calibre-adeptkey.der found in config folder.
    Ready to start decrypting.
    Error serializing pdf. Probably wrong key.
    IneptPDF: Encryption key invalid… trying others.
    Syntax Error: Couldn’t find the ‘EBX_HANDLER’ security handler

    Debugging DND event
    text/uri-list 68 ‘file:///Users/sarahshirazi/Desktop/Social%20Research%20Methods.pdf\r\n’

    Firefox rurl: None None
    URLS: [u’file:///Users/sarahshirazi/Desktop/Social%20Research%20Methods.pdf’]
    Paths: [u’/Users/sarahshirazi/Desktop/Social Research Methods.pdf’]
    Extensions: frozenset([u’pdf’])
    Added Social Research Methods to db in: 0.1
    Added 1 books in 1.6 seconds

  20. I installed the latest version of Linux Mint. Installed Calibre and the plugins, as well as python (installed in system32) and pycrypto, and I still can’t get the plugins to work:

    DeDRM v6.8.0: Trying to decrypt B07J3F86R2_EBOK.azw
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Austen Playbook (London Celebrities)
    Found 0 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.1 seconds
    DeDRM v6.8.0: Running kindlekey.py under Wine
    DeDRM v6.8.0: Command line: ‘wine python.exe “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/kindlekey.py” “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir”‘
    004a:err:module:wine_process_init L”C:\windows\system32\python.exe” not found
    DeDRM v6.8.0: Found and decrypted 0 key files
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.__init
    “, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.4 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md

    • For some reason it’s not finding Python under wine. You could try running kindlekey.py manually. Or temporary install Windows calibre with DeDRM. Then after you’ve decrypted a book, save the key and import it into the DeDRM plugin in Linux calibre.

      • I installed caliber along with DeDRM under Wine, but I keep getting error messages when I try to add books:

        Failed to start worker process
        Traceback (most recent call last):
        File “site-packages\calibre\utils\ipc\pool.py”, line 202, in start_worker
        File “site-packages\calibre\utils\ipc\pool.py”, line 191, in create_worker
        IOError: [Errno 9] Bad file descript

        I managed install 1 book and I assumed the DeDRM worked (I discovered later that it didn’t, and I haven’t been able to add any other books) when I saw a key. I saved and imported it to my Linux calibre, and got this when I added a few books:

        Decrypting Kindle Format 8 ebook: The Austen Playbook (London Celebrities)
        Found 4 keys to try after 1.6 seconds
        Crypto Type is: 2
        DeDRM v6.8.0: Failed to decrypt with error: No key found in 4 keys tried.
        DeDRM v6.8.0: Looking for new default Kindle Key after 1.6 seconds
        DeDRM v6.8.0: Running kindlekey.py under Wine
        DeDRM v6.8.0: Command line: ‘wine python.exe “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/kindlekey.py” “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir”‘
        MobiDeDrm v0.42.
        Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
        Decrypting Kindle Format 8 ebook: The Right Swipe
        Found 4 keys to try after 0.4 seconds
        Crypto Type is: 2
        DeDRM v6.8.0: Failed to decrypt with error: No key found in 4 keys tried.
        DeDRM v6.8.0: Looking for new default Kindle Key after 0.4 seconds
        DeDRM v6.8.0: Running kindlekey.py under Wine
        DeDRM v6.8.0: Command line: ‘wine python.exe “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/kindlekey.py” “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir”‘
        0009:err:module:wine_process_init L”C:\windows\system32\python.exe” not found
        DeDRM v6.8.0: Found and decrypted 0 key files
        DeDRM v6.8.0: Ultimately failed to decrypt after 2.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
        File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
        File “calibre_plugins.dedrm.__init
        “, line 625, in run
        File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
        DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 2.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        0021:err:module:wine_process_init L”C:\windows\system32\python.exe” not found
        DeDRM v6.8.0: Found and decrypted 0 key files
        DeDRM v6.8.0: Ultimately failed to decrypt after 1.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
        File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
        File “calibre_plugins.dedrm.__init
        “, line 625, in run
        File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
        DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 1.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        001f:err:module:wine_process_init L”C:\windows\system32\python.exe” not found
        DeDRM v6.8.0: Found and decrypted 0 key files
        DeDRM v6.8.0: Ultimately failed to decrypt after 3.0 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
        File “site-packages/calibre/customize/ui.py”, line 172, in _run_filetype_plugins
        File “calibre_plugins.dedrm.__init
        “, line 625, in run
        File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
        DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 3.0 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md

        Could you point me to where I can learn how to run kindeykey.py manually? A search for the windows calibre issue yielded several mentions of anti-virus software being the issue, which doesn’t apply to my system, so that’s a dead end.

        Thank you for your help.

        • I mean from the command line. You can see what DeDRM tries to do in the log:

          Command line: ‘wine python.exe “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/kindlekey.py” “/home/sherwood/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir”‘

          So something like that. Then import the key into DeDRM.

  21. DeDRM 6.8.0 & Calibre 4.21
    Windows 10
    eBooks purchased from Amazon & downloaded from Amazon (not the kindle app!)

    My issue is that the plugin isn’t removing the DRM on ANY ebook at all! 😦
    I do appreciate your help!

    Calibre Log

    calibre Debug log
    calibre 4.21 embedded-python: True is64bit: False
    Windows-10-10.0.18362-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && EpubSplit (2, 9, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && Obok DeDRM (6, 7, 0)
    calibre 4.21 embedded-python: True is64bit: False
    Windows-10-10.0.18362-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 33, 0) && EpubSplit (2, 9, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0) && Obok DeDRM (6, 7, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.861627907 x 101.07357513
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [1.03] splash screen shown
    [1.03] Initializing db…
    [1.20] db initialized
    [1.20] Constructing main UI…
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.1 obok::action_err.py – loading translations
    [6.45] main UI initialized…
    [6.45] Hiding splash screen
    Job: 0 Get device information started
    DeviceJob: 0 Get device information done, calling callback
    DeviceJob: 0 Get device information callback returned
    Job: 1 Set library information started
    DeviceJob: 1 Set library information done, calling callback
    DeviceJob: 1 Set library information callback returned
    Job: 2 Get list of books on device started
    MTP: Loading filesystem metadata…
    Job: 0 Get device information finished
    No details available.
    Job: 1 Set library information finished
    No details available.
    MTP: Ignored object: Music
    MTP: Ignored object: Ringtones
    MTP: Ignored object: Alarms
    MTP: Ignored object: Notifications
    MTP: Ignored object: Pictures
    MTP: Ignored object: Movies
    MTP: Ignored object: DCIM
    MTP: Ignored object: Android/obb
    MTP: Ignored object: Android/media
    MTP: Ignored object: Android/data/com.amazon.device.backup
    MTP: Ignored object: Android/data/com.amazon.venezia
    MTP: Ignored object: Android/data/com.amazon.mp3
    MTP: Ignored object: Android/data/com.amazon.avod
    MTP: Ignored object: Android/data/com.amazon.windowshop
    MTP: Ignored object: Android/data/com.amazon.photos
    MTP: Ignored object: Android/data/com.amazon.device.software.ota
    MTP: Ignored object: Android/data/com.amazon.securitysyncclient
    MTP: Ignored object: Android/data/com.amazon.ags.app
    MTP: Ignored object: Android/data/com.amazon.zico
    MTP: Ignored object: Android/data/com.amazon.firelauncher
    MTP: Ignored object: Android/data/com.amazon.h2settingsfortablet
    MTP: Ignored object: Android/data/com.facebook.orca
    MTP: Ignored object: Android/data/com.facebook.katana
    MTP: Ignored object: Android/data/com.here.odnp.service
    MTP: Ignored object: Android/data/com.amazon.dee.app
    MTP: Ignored object: Android/data/com.amazon.cloud9
    MTP: Ignored object: Android/data/com.apkpure.aegon
    MTP: Ignored object: Android/data/com.amazon.kindle.otter.oobe
    MTP: Ignored object: Android/data/com.skype.raider
    MTP: Ignored object: Android/data/com.kingsoft.office.amz
    [28.27] splash screen hidden
    [28.27] Started up in 28.27 seconds with 860 books
    MTP: Filesystem metadata loaded in 19.773 seconds (1049 objects)
    DeviceJob: 2 Get list of books on device done, calling callback
    DeviceJob: metadata_downloaded: Starting set_books_in_library
    DeviceJob: set_books_in_library: books to process= 0
    DeviceJob: set_books_in_library finished: time= 0.00100016593933
    DeviceJob: metadata_downloaded: updating views
    DeviceJob: metadata_downloaded: syncing
    DeviceJob: metadata_downloaded: refreshing ondevice
    DeviceJob: metadata_downloaded: sending metadata_available signal
    DeviceJob: 2 Get list of books on device callback returned
    Job: 2 Get list of books on device finished
    No details available.
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘3w/\x08\x9f\xd2\xe4\xf0\x89\x998s\x06\xd7\xa9\x91\xef\x9c\x84\xf5l\xba\xca\xe2\x95\xdd\xc2\x04\x17\xee\x89\xe6’, ‘C:\Users\frenc\Downloads\Perfect Mate (Project Rebellion Book 1).azw3’, ‘C:\Users\frenc\Downloads\Alice in Zombieland (The White Rabbit Chronicles Book 1).azw3’, ‘C:\Users\frenc\Downloads\Through the Zombie Glass (The White Rabbit Chronicles).azw3’, ‘C:\Users\frenc\Downloads\The Unwelcome Child.azw3’, ‘C:\Users\frenc\Downloads\Freak of Nature (IFICS Book 1).azw3’]
    DeDRM v6.8.0: Trying to decrypt Perfect Mate (Project Rebellion Book 1).azw3
    DeDRM v6.8.0: Trying to decrypt Alice in Zombieland (The White Rabbit Chronicles Book 1).azw3
    Using Library AlfCrypto DLL/DYLIB/SO
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Perfect Mate (Project Rebellion Book 1)
    Found 0 keys to try after 0.6 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.6 seconds
    searching for kinfoFiles in C:\Users\frenc\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.7 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.7 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Alice in Zombieland (The White Rabbit Chronicles Book 1)
    Found 0 keys to try after 0.9 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.9 seconds
    searching for kinfoFiles in C:\Users\frenc\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.8.0: Ultimately failed to decrypt after 1.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 1.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Perfect Mate (Project Rebellion Book 1) to db in: 1.1
    Added Alice in Zombieland (The White Rabbit Chronicles Book 1) to db in: 1.4
    DeDRM v6.8.0: Trying to decrypt Freak of Nature (IFICS Book 1).azw3
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Freak of Nature (IFICS Book 1)
    Found 0 keys to try after 0.3 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.3 seconds
    searching for kinfoFiles in C:\Users\frenc\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    DeDRM v6.8.0: Trying to decrypt The Unwelcome Child.azw3
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Unwelcome Child
    Found 0 keys to try after 0.2 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.2 seconds
    searching for kinfoFiles in C:\Users\frenc\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Freak of Nature (IFICS Book 1) to db in: 1.0
    Added The Unwelcome Child to db in: 1.1
    DeDRM v6.8.0: Trying to decrypt Through the Zombie Glass (The White Rabbit Chronicles).azw3
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Through the Zombie Glass (The White Rabbit Chronicles)
    Found 0 keys to try after 0.2 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.2 seconds
    searching for kinfoFiles in C:\Users\frenc\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Through the Zombie Glass (The White Rabbit Chronicles) to db in: 0.4
    Added 5 books in 17.8 seconds
    Worker Launch took: 0.858999967575

  22. Someone, anyone, remind me please -should the older version of the obok plugin be removed before installing the new one in Calibre?
    Thanks.

  23. Hello, for some reason, the pluggin wasn’t able to remove the DRM from some azw4 files from Kindle. Herein you will find the results in the output file:

    calibre Registro de depuración
    calibre 3.29 [64bit] embedded-python: True is64bit: True
    Windows-7-6.1.7601-SP1 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ‘7’, ‘6.1.7601’)
    Python 2.7.12+
    Windows: (‘7’, ‘6.1.7601’, ‘SP1′, u’Multiprocessor Free’)
    Interface language: es
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 11, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 11, 0) && KFX metadata reader (from KFX Input) (1, 11, 0) && KFX Input (1, 11, 0)
    calibre 3.29 [64bit] embedded-python: True is64bit: True
    Windows-7-6.1.7601-SP1 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ‘7’, ‘6.1.7601’)
    Python 2.7.12+
    Windows: (‘7’, ‘6.1.7601’, ‘SP1′, u’Multiprocessor Free’)
    Interface language: es
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 11, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 11, 0) && KFX metadata reader (from KFX Input) (1, 11, 0) && KFX Input (1, 11, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 71.9842323651 x 71.9822878229
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.11] splash screen shown
    [0.11] Initializing db…
    [0.16] db initialized
    [0.16] Constructing main UI…
    [2.67] main UI initialized…
    [2.67] Hiding splash screen
    [11.76] splash screen hidden
    [11.76] Started up in 11.76 seconds with 216 books
    DeDRM v6.8.0: Trying to decrypt B01N37FVQ0_EBOK.azw4
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Mobipocket 4 ebook: MAQUINITA, INFLETA Y DEVALUTA: ENSAYOS DE ECONOMÍA MONETARIA PARA EL CASO ARGENTINO (Spanish Edition)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 2
    File is encoded with PID yDQmZ4W6AS.
    Decrypting. Please wait . . . . . . . . . . . . . . . . . . . . . done
    Decryption succeeded after 79.5 seconds
    DeDRM v6.8.0: Finished after 79.6 seconds
    Added MAQUINITA, INFLETA Y DEVALUTA: ENSAYOS DE ECONOMÍA MONETARIA PARA EL CASO ARGENTINO (Spanish Edition) to db in: 0.2
    Added 1 books in 80.5 seconds
    DeDRM v6.8.0: Trying to decrypt MAQUINITA, INFLETA Y DEVALUTA_ – JAVIER G. MILEI.epub
    DeDRM v6.8.0: Verifying zip archive integrity
    DeDRM v6.8.0: “MAQUINITA, INFLETA Y DEVALUTA_ – JAVIER G. MILEI.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 636, in run
    File “calibre_plugins.dedrm.init“, line 412, in ePubDecrypt
    DeDRMError: DeDRM v6.8.0: Couldn’t decrypt after 7.2 seconds. DRM free perhaps?
    Added MAQUINITA, INFLETA Y DEVALUTA to db in: 0.4
    Added 1 books in 18.8 seconds
    Worker Launch took: 0.292999982834
    DeDRM v6.8.0: Trying to decrypt El retorno al sendero de la dec – Javier Milei.epub
    DeDRM v6.8.0: Verifying zip archive integrity
    DeDRM v6.8.0: “El retorno al sendero de la dec – Javier Milei.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 636, in run
    File “calibre_plugins.dedrm.init“, line 412, in ePubDecrypt
    DeDRMError: DeDRM v6.8.0: Couldn’t decrypt after 0.4 seconds. DRM free perhaps?
    Added El retorno al sendero de la dec to db in: 0.3
    Added 1 books in 1.7 seconds
    Worker Launch took: 0.34299993515
    DeDRM v6.8.0: Trying to decrypt POLÍTICA ECONÓMICA CONTRA RELOJ
    Síntomas, diagnóstico y medidas para salir del cepo y volver a crecer (Spanish Edition)trial.epub
    DeDRM v6.8.0: Verifying zip archive integrity
    DeDRM v6.8.0: “POLÍTICA ECONÓMICA CONTRA RELOJ
    Síntomas, diagnóstico y medidas para salir del cepo y volver a crecer (Spanish Edition)_trial.epub” is neither an Adobe Adept nor a Barnes & Noble encrypted ePub
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 636, in run
    File “calibre_plugins.dedrm.init“, line 412, in ePubDecrypt
    DeDRMError: DeDRM v6.8.0: Couldn’t decrypt after 0.2 seconds. DRM free perhaps?
    Added POLÍTICA ECONÓMICA CONTRA RELOJ Síntomas, diagnóstico y medidas para salir del cepo y volver a crecer (Spanish Edition) trial to db in: 0.1
    Added 1 books in 1.2 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B01I42V96E_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B01I42V96E_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Bones of Valhalla (Purge of Babylon, Book 9)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Bones of Valhalla (Purge of Babylon, Book 9) to db in: 0.2
    Added 1 books in 1.5 seconds
    Worker Launch took: 0.330999851227
    Added B01A3GCKLW EBOK to db in: 0.1
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B01A3GCKLW_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B01A3GCKLW_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Horns of Avalon (Purge of Babylon, Book 8)
    Got DSN key from database default_key
    Found 4 keys to try after 0.2 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.2 seconds
    DeDRM v6.8.0: Finished after 0.2 seconds
    Added The Horns of Avalon (Purge of Babylon, Book 8) to db in: 0.1
    Added 2 books in 59.2 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B011X3PWG4_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B011X3PWG4_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Spears of Laconia (Purge of Babylon, Book 7)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Spears of Laconia (Purge of Babylon, Book 7) to db in: 0.2
    Added 1 books in 1.2 seconds
    Worker Launch took: 0.384999990463

    Debugging DND event
    application/x-qt-windows-mime;value=”Shell IDList Array” 2284 ‘\x01\x00\x00\x00\x0c\x00\x00\x00n\x04\x00\x00\x14\x00\x1fB%H\x1e\x03\x94{\xc3M\xb11\xe9F\xb4L\x8d\xd5t\x00\x00\x00\x1a\x00\xee\xbb\xfe#\x00\x00\x10\x00}\xb1\r{\xd2\x9c\x93J\x973F\xcc\x89\x02.|\x00\x00\x00\x00\x00\x00\x00\xef\xbe\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00 \x00\x00\x00\x00\x19\x00\xef\xbe~G\xb3\xfb\xe4\xc9;K\xa2\xba\xd3\xf5\xd3\xcdF\xf9\x82\x07\xba\x82z[iE\xb5\xd7\xec\x83\x08_\x08\xcc \x00\xd8\x03\x00\x00\xa8\x03\x81\x19\x14\x10~\x03 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x8f\x00\x00\x001SPS0\xf1%\xb7\xefG\x1a\x10\xa5\xf1\x02\x8c\x9e\xeb\xac5\x00\x00\x00\n\x00\x00\x00\x00\x1f\x00\x00\x00\x12\x00\x00\x00M\x00y\x00 \x00K\x00i\x00n\x00d\x00l\x00e\x00 \x00C\x00o\x00n\x00t\x00e\x00n\x00t\x00\x00\x00)\x00\x00\x00\x04\x00\x00\x00\x00\x08\x00\x00\x00\x18\x00\x00\x00F\x00i\x00l\x00e\x00 \x00f\x00′

    application/x-qt-windows-mime;value=”UsingDefaultDragImage” 4 ‘\x01\x00\x00\x00’

    application/x-qt-windows-mime;value=”DragImageBits” 36896 “\x00\x00\x00\x00\x00\x000\x00\x00\x00Y\x00\x00\x00o’\x05\xd9\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00″

    application/x-qt-windows-mime;value=”DragContext” 16 ‘\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’

    application/x-qt-windows-mime;value=”DragSourceHelperFlags” 4 ‘\x01\x00\x00\x00’

    application/x-qt-windows-mime;value=”InShellDragLoop” 4 ‘\x01\x00\x00\x00’

    text/uri-list 73 ‘file:///C:/Users/JM/Documents/My%20Kindle%20Content/B00V8SIOII_EBOK.azw\r\n’

    application/x-qt-windows-mime;value=”FileName” 43 ‘C:\Users\JM\DOCUME~1\MYKIND~1\B00V8S~1.AZW\x00’

    application/x-qt-windows-mime;value=”FileNameW” 120 ‘C\x00:\x00\\x00U\x00s\x00e\x00r\x00s\x00\\x00J\x00M\x00\\x00D\x00o\x00c\x00u\x00m\x00e\x00n\x00t\x00s\x00\\x00M\x00y\x00 \x00K\x00i\x00n\x00d\x00l\x00e\x00 \x00C\x00o\x00n\x00t\x00e\x00n\x00t\x00\\x00B\x000\x000\x00V\x008\x00S\x00I\x00O\x00I\x00I\x00_\x00E\x00B\x00O\x00K\x00.\x00a\x00z\x00w\x00\x00\x00’

    Firefox rurl: None None
    URLS: [‘file:///C:/Users/JM/Documents/My%20Kindle%20Content/B00V8SIOII_EBOK.azw’]
    Paths: [u’C:/Users/JM/Documents/My Kindle Content/B00V8SIOII_EBOK.azw’]
    Extensions: frozenset([u’azw’])
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B00V8SIOII_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B00V8SIOII_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Isles of Elysium (Purge of Babylon, Book 6)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Isles of Elysium (Purge of Babylon, Book 6) to db in: 0.2
    Added 1 books in 1.2 seconds
    Worker Launch took: 0.375
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B00U4WQE2W_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B00U4WQE2W_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Ashes of Pompeii (Purge of Babylon, Book 5)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Ashes of Pompeii (Purge of Babylon, Book 5) to db in: 0.1
    Added 1 books in 1.2 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B00N9HVP8C_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B00N9HVP8C_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Fires of Atlantis (Purge of Babylon, Book 4)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Fires of Atlantis (Purge of Babylon, Book 4) to db in: 0.6
    Added 1 books in 1.6 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B00JNUNNXE_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B00JNUNNXE_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Stones of Angkor (Purge of Babylon, Book 3)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Stones of Angkor (Purge of Babylon, Book 3) to db in: 0.2
    Added 1 books in 1.2 seconds

    Debugging DND event
    application/x-qt-windows-mime;value=”Shell IDList Array” 2284 ‘\x01\x00\x00\x00\x0c\x00\x00\x00n\x04\x00\x00\x14\x00\x1fB%H\x1e\x03\x94{\xc3M\xb11\xe9F\xb4L\x8d\xd5t\x00\x00\x00\x1a\x00\xee\xbb\xfe#\x00\x00\x10\x00}\xb1\r{\xd2\x9c\x93J\x973F\xcc\x89\x02.|\x00\x00\x00\x00\x00\x00\x00\xef\xbe\x00\x00\x00 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00 \x00\x00\x00\x00\x19\x00\xef\xbe~G\xb3\xfb\xe4\xc9;K\xa2\xba\xd3\xf5\xd3\xcdF\xf9\x82\x07\xba\x82z[iE\xb5\xd7\xec\x83\x08_\x08\xcc \x00\xd8\x03\x00\x00\xa8\x03\x81\x19\x14\x10~\x03 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x8f\x00\x00\x001SPS0\xf1%\xb7\xefG\x1a\x10\xa5\xf1\x02\x8c\x9e\xeb\xac5\x00\x00\x00\n\x00\x00\x00\x00\x1f\x00\x00\x00\x12\x00\x00\x00M\x00y\x00 \x00K\x00i\x00n\x00d\x00l\x00e\x00 \x00C\x00o\x00n\x00t\x00e\x00n\x00t\x00\x00\x00)\x00\x00\x00\x04\x00\x00\x00\x00\x08\x00\x00\x00\x18\x00\x00\x00F\x00i\x00l\x00e\x00 \x00f\x00′

    application/x-qt-windows-mime;value=”UsingDefaultDragImage” 4 ‘\x01\x00\x00\x00’

    application/x-qt-windows-mime;value=”DragImageBits” 36896 ‘\x00\x00\x00\x00\x00\x000\x00\x00\x00Y\x00\x00\x00\xfc!\x05\x8c\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00′

    application/x-qt-windows-mime;value=”DragContext” 16 ‘\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00’

    application/x-qt-windows-mime;value=”DragSourceHelperFlags” 4 ‘\x01\x00\x00\x00’

    application/x-qt-windows-mime;value=”InShellDragLoop” 4 ‘\x01\x00\x00\x00’

    text/uri-list 73 ‘file:///C:/Users/JM/Documents/My%20Kindle%20Content/B00I6TH8WA_EBOK.azw\r\n’

    application/x-qt-windows-mime;value=”FileName” 43 ‘C:\Users\JM\DOCUME~1\MYKIND~1\B00I6T~1.AZW\x00’

    application/x-qt-windows-mime;value=”FileNameW” 120 ‘C\x00:\x00\\x00U\x00s\x00e\x00r\x00s\x00\\x00J\x00M\x00\\x00D\x00o\x00c\x00u\x00m\x00e\x00n\x00t\x00s\x00\\x00M\x00y\x00 \x00K\x00i\x00n\x00d\x00l\x00e\x00 \x00C\x00o\x00n\x00t\x00e\x00n\x00t\x00\\x00B\x000\x000\x00I\x006\x00T\x00H\x008\x00W\x00A\x00_\x00E\x00B\x00O\x00K\x00.\x00a\x00z\x00w\x00\x00\x00’

    Firefox rurl: None None
    URLS: [‘file:///C:/Users/JM/Documents/My%20Kindle%20Content/B00I6TH8WA_EBOK.azw’]
    Paths: [u’C:/Users/JM/Documents/My Kindle Content/B00I6TH8WA_EBOK.azw’]
    Extensions: frozenset([u’azw’])
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B00I6TH8WA_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B00I6TH8WA_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Gates of Byzantium (Purge of Babylon, Book 2)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Gates of Byzantium (Purge of Babylon, Book 2) to db in: 0.2
    Added 1 books in 1.3 seconds
    Worker Launch took: 0.366999864578
    Added B00H9OT6K0 EBOK to db in: 0.1
    Added 1 books in 0.6 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B00H9OT6K0_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B00H9OT6K0_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Purge of Babylon: A Novel of Survival (Purge of Babylon, Book 1)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Purge of Babylon: A Novel of Survival (Purge of Babylon, Book 1) to db in: 0.3
    Added 1 books in 1.3 seconds
    Worker Launch took: 0.319999933243
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07Z6P8L4Q_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B07Z6P8L4Q_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Ranch (Road to Babylon, Book 9)
    Got DSN key from database default_key
    Found 4 keys to try after 0.2 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.2 seconds
    DeDRM v6.8.0: Finished after 0.2 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07WS2ZHRQ_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B0793KFPLN_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B07WS2ZHRQ_EBOK.azw
    Using Library AlfCrypto Python
    DeDRM v6.8.0: Trying to decrypt B0793KFPLN_EBOK.azw
    Added The Ranch (Road to Babylon, Book 9) to db in: 0.3
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Devil’s Haircut (Road To Babylon, Book 4)
    Got DSN key from database default_key
    Found 4 keys to try after 0.0 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.0 seconds
    DeDRM v6.8.0: Finished after 0.0 seconds
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Daybreak (Road to Babylon, Book 8)
    Got DSN key from database default_key
    Found 4 keys to try after 0.2 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.2 seconds
    DeDRM v6.8.0: Finished after 0.2 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07KKQ3HDW_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07BVJ37RR_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07FLBPQHN_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B07BVJ37RR_EBOK.azw
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Black (Road To Babylon, Book 5)
    Got DSN key from database default_key
    Found 4 keys to try after 0.0 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.0 seconds
    DeDRM v6.8.0: Finished after 0.0 seconds
    DeDRM v6.8.0: Trying to decrypt B07KKQ3HDW_EBOK.azw
    Added Devil’s Haircut (Road To Babylon, Book 4) to db in: 0.4
    Using Library AlfCrypto Python
    DeDRM v6.8.0: Trying to decrypt B07FLBPQHN_EBOK.azw
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Distance (Road To Babylon, Book 6)
    Got DSN key from database default_key
    Found 4 keys to try after 0.0 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.0 seconds
    DeDRM v6.8.0: Finished after 0.0 seconds
    Added Daybreak (Road to Babylon, Book 8) to db in: 0.2
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Hollow (Road To Babylon, Book 7)
    Got DSN key from database default_key
    Found 4 keys to try after 0.4 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.4 seconds
    DeDRM v6.8.0: Finished after 0.4 seconds
    Added Black (Road To Babylon, Book 5) to db in: 0.3
    Added The Distance (Road To Babylon, Book 6) to db in: 0.1
    Added Hollow (Road To Babylon, Book 7) to db in: 0.4
    Added 6 books in 3.5 seconds
    Worker Launch took: 0.282999992371
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07Z43PRW1_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B07Z43PRW1_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Hunt (The Creed Book 1)
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Hunt (The Creed Book 1) to db in: 0.2
    Added 1 books in 1.2 seconds
    Gather KFX-ZIP (from KFX Input) 1.11.0: Importing C:/Users/JM/Documents/My Kindle Content/B07Y1BP1K9_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.8.0: Trying to decrypt B07Y1BP1K9_EBOK.azw
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: The Creed
    Got DSN key from database default_key
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 0
    This book is not encrypted.
    Decryption succeeded after 0.1 seconds
    DeDRM v6.8.0: Finished after 0.1 seconds
    Added The Creed to db in: 0.2
    Added 1 books in 1.3 seconds

    Regards

    • All the Kindle books I see are either successfully decrypted or unencrypted. There are also some epubs which either don’t have DRM or don’t appear to have have a type of DRM that these tools recognize. I may well have missed something in all that. Please provide a log of adding just ONE book that you’re having trouble with.

      • Hello, thank you for your answer.

        In the end none of the books that appear in that log could be opened in Calibre. When i Tried to open the “converted” files through Calibre, Kindle showed up instead. In the end I had to convert those files to PDF format since another converter couldn’t do it properly to epub. Herein you can find the log for one of the “problem books”. It was supposedly converted, however it never opened in Caliber like the rest. All the problem books are in azw4 format. Regards

        calibre Registro de depuración
        calibre 3.29 [64bit] embedded-python: True is64bit: True
        Windows-7-6.1.7601-SP1 Windows (’64bit’, ‘WindowsPE’)
        (‘Windows’, ‘7’, ‘6.1.7601’)
        Python 2.7.12+
        Windows: (‘7’, ‘6.1.7601’, ‘SP1′, u’Multiprocessor Free’)
        Interface language: es
        Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 11, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 11, 0) && KFX metadata reader (from KFX Input) (1, 11, 0) && KFX Input (1, 11, 0)
        calibre 3.29 [64bit] embedded-python: True is64bit: True
        Windows-7-6.1.7601-SP1 Windows (’64bit’, ‘WindowsPE’)
        (‘Windows’, ‘7’, ‘6.1.7601’)
        Python 2.7.12+
        Windows: (‘7’, ‘6.1.7601’, ‘SP1′, u’Multiprocessor Free’)
        Interface language: es
        Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 11, 0) && DeDRM (6, 8, 0) && Package KFX (from KFX Input) (1, 11, 0) && KFX metadata reader (from KFX Input) (1, 11, 0) && KFX Input (1, 11, 0)
        Turning on automatic hidpi scaling
        devicePixelRatio: 1.0
        logicalDpi: 96.0 x 96.0
        physicalDpi: 71.9842323651 x 71.9822878229
        Using calibre Qt style: True
        [0.00] Starting up…
        [0.00] Showing splash screen…
        [0.11] splash screen shown
        [0.11] Initializing db…
        [0.14] db initialized
        [0.14] Constructing main UI…
        [2.70] main UI initialized…
        [2.70] Hiding splash screen
        [13.98] splash screen hidden
        [13.98] Started up in 13.98 seconds with 233 books
        DeDRM v6.8.0: Trying to decrypt MAQUINITA, INFLETA Y DEVALUTA_ – JAVIER G. MILEI.azw4
        Using Library AlfCrypto Python
        MobiDeDrm v0.42.
        Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
        Decrypting Mobipocket 4 ebook: MAQUINITA, INFLETA Y DEVALUTA: ENSAYOS DE ECONOMÍA MONETARIA PARA EL CASO ARGENTINO (Spanish Edition)
        Got DSN key from database default_key
        Found 4 keys to try after 0.1 seconds
        Crypto Type is: 0
        This book is not encrypted.
        Decryption succeeded after 0.1 seconds
        DeDRM v6.8.0: Finished after 0.1 seconds
        Added MAQUINITA, INFLETA Y DEVALUTA: ENSAYOS DE ECONOMÍA MONETARIA PARA EL CASO ARGENTINO (Spanish Edition) to db in: 0.2
        Added 1 books in 1.1 seconds

  24. The file is not getting debugged
    Calibre version 4.22

    calibre Debug log
    calibre 4.22 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.18362-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && Goodreads (1, 4, 0)
    calibre 4.22 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.18362-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && Goodreads (1, 4, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 2.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.530526316 x 100.530526316
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [1.64] splash screen shown
    [1.64] Initializing db…
    [1.64] db initialized
    [1.64] Constructing main UI…
    [3.19] main UI initialized…
    [3.19] Hiding splash screen
    [7.44] splash screen hidden
    [7.44] Started up in 7.44 seconds with 0 books
    DeDRM v6.8.0: Trying to decrypt Boots Belts Berets by Tanushree Podder [Podder, Tanushree] (z-lib.org).azw3
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Boots Belts Berets
    Found 0 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.8.0: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.8.0: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\Ganesh Beniwal\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.8.0: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 625, in run
    File “calibre_plugins.dedrm.init“, line 575, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.8.0: Ultimately failed to decrypt after 0.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Boots Belts Berets to db in: 0.3
    Added 1 books in 1.8 seconds
    Worker Launch took: 0.243999958038

    • If that was downloaded from the website for an E-ink Kindle (not a Fire), then add the Kindle’s serial number to DeDRM’s customization.

  25. Hi there,
    My question may be felt as repeated or not useful, but still I am requesting members to help me in this. There are books available only for specific devices and cannot be downloaded to Windows, PC etc. I am getting “PCMAC_126_Delivery_Error_OpenGL”. Same book can be downloaded to the Kindle for Android. My question is it possible to remove DRM from those books, like copying them to PC on un rooted phone. If that is possible then how can it be achieved. Any steps will be helpful. Thanks in advance.

  26. calibre Debug log
    calibre 4.22 embedded-python: True is64bit: False
    Windows-10-10.0.18362-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 32, 0) && Package KFX (from KFX Input) (1, 32, 0) && KFX metadata reader (from KFX Input) (1, 32, 0) && KFX Input (1, 32, 0)
    calibre 4.22 embedded-python: True is64bit: False
    Windows-10-10.0.18362-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.18362’)
    Python 2.7.16+
    Windows: (’10’, ‘10.0.18362’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 32, 0) && Package KFX (from KFX Input) (1, 32, 0) && KFX metadata reader (from KFX Input) (1, 32, 0) && KFX Input (1, 32, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 100.861627907 x 101.07357513
    Using calibre Qt style: True
    [0.00] Starting up…
    Failed to read metadata from font file: c:\windows\fonts\bmtime.ttf tuple index out of range
    [0.00] Showing splash screen…
    [0.92] splash screen shown
    [0.92] Initializing db…
    [0.94] db initialized
    [0.95] Constructing main UI…
    [3.09] main UI initialized…
    [3.09] Hiding splash screen
    [11.56] splash screen hidden
    [11.56] Started up in 11.56 seconds with 2 books
    stdout+stderr from file dialog helper: [”, ”]
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\xa3\xc6\xb4\xe0f\x87lC\x85T\xc2\x8d\xbf\xdb\xfa{\tl/\x84r\xa6\xac%Y\xad\xf0\xf3_\xc3\x7f\xa5’, ‘C:\Users\HP\Desktop\New folder (2)\Literature as Exploration.azw’]
    Gather KFX-ZIP (from KFX Input) 1.32.0: Importing C:\Users\HP\Desktop\New folder (2)\Literature as Exploration.azw
    Gather KFX-ZIP (from KFX Input): Cannot locate some files needed for the book. KFX files must remain in their original folder structure for successful import.
    Gather KFX-ZIP (from KFX Input): Gathered 1 file(s) as C:\Users\HP\AppData\Local\Temp\calibre_lnb5ev\hd5uoj.kfx-zip
    Package KFX (from KFX Input) 1.32.0: Packaging C:\Users\HP\AppData\Local\Temp\calibre_lnb5ev\hd5uoj.kfx-zip
    Processing container: Literature as Exploration.azw
    Running file type plugin Package KFX (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 172, in _run_filetype_plugins
    File “calibre_plugins.kfx_input.package_filetype”, line 21, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 33, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 87, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 182, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 289, in get_container
    KFXDRMError: Book container Literature as Exploration.azw has DRM and cannot be converted
    KFX metadata reader (from KFX Input) activated for C:\Users\HP\AppData\Local\Temp\calibre_lnb5ev\k8sdc8_add_books\0\Literature as Exploration.kfx-zip
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 428, in get_file_type_metadata
    File “calibre_plugins.kfx_input.metadata_reader”, line 28, in get_metadata
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 132, in get_metadata
    Exception: Failed to locate a KFX container with metadata
    Added Literature as Exploration to db in: 1.6
    Added 1 books in 2.3 seconds

    • Install the DeDRM plugin.

      Also from the log:

      Cannot locate some files needed for the book. KFX files must remain in their original folder structure for successful import.

  27. Could not remove:
    I have a MacBook Air, OS Cathaline

    calibre Debug log
    calibre 3.42 embedded-python: True is64bit: True
    Darwin-19.6.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘19.6.0’, ‘Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.15.6’, (”, ”, ”), ‘x86_64′)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && Obok DeDRM (6, 7, 0)
    calibre 3.42 embedded-python: True is64bit: True
    Darwin-19.6.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘19.6.0’, ‘Darwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.15.6’, (”, ”, ”), ‘x86_64’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 8, 0) && Obok DeDRM (6, 7, 0)
    devicePixelRatio: 1.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 133.000001997 x 139.000002088
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.03] Showing splash screen…
    [0.42] splash screen shown
    [0.42] Initializing db…
    [0.43] db initialized
    [0.43] Constructing main UI…
    DEBUG: 0.0 obok::utilities.py – loading translations
    DEBUG: 0.0 obok::dialogs.py – loading translations
    DEBUG: 0.0 obok::config.py – loading translations
    DEBUG: 0.0 obok::action_err.py – loading translations
    [1.49] main UI initialized…
    [1.49] Hiding splash screen
    [1.52] splash screen hidden
    [1.52] Started up in 1.52 seconds with 3 books
    DeDRM v6.8.0: Trying to decrypt The Hero.epub
    DeDRM v6.8.0: Verifying zip archive integrity
    DeDRM v6.8.0: The Hero.epub is a secure Adobe Adept ePub
    DeDRM v6.8.0: Looking for new default Adobe Digital Editions Keys after 0.1 seconds
    DeDRM v6.8.0: Trying a new default key
    DeDRM v6.8.0: Saving a new default key
    DeDRM v6.8.0: Saved a new default key after 0.7 seconds
    DeDRM v6.8.0: Decrypted with new default key after 0.7 seconds
    DeDRM v6.8.0: Finished after 0.7 seconds

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.