DRM Removal Tools for eBooks

Version 6.6.1 released on 2 June, 2018

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.

Advertisements

5,247 thoughts on “DRM Removal Tools for eBooks

  1. Hello, I’ve been using the drag and drop De-DRM for windows successfully since 2017. Suddenly it has stopped working. I’ve downloaded the latest tools but the new version isn’t working either. I haven’t changed anything. I’ve downloaded the latest version of the tools and the latest version of Python but it hasn’t helped. The bat file won’t open at all. Can you please suggest some help?

          • Hi, Thank you. I’ve opened an account on GitHub and asked for help there. Unfortunately the issues others have had don’t seem to be the same one I’m having and the computer language used in the answers (and even the questions) are things I’m completely unfamiliar with. I’ll see how I go.

            In the meantime, if anyone here has any ideas, I’d love to hear them.

            I’ve uninstalled previous versions of Python and Pycrypto and downloaded the latest versions and installed them. I have the latest tools. So far nothing is working.

            • Actually, on reading the ReadMe files, I can see I needed to have Python 2.7 and Pycrypto 2.6 so I have uninstalled everything and reinstalled Python 2.7 and Pycrypto from the locations recommended on the read me file. I have followed all the instructions but when I drag a book to the bat file, there is a brief pycrypto icon flashing up on the status/app bar at the foot of my desktop screen and then nothing. If I click on “open” on the bat file, nothing happens. I’m really lost now as to what to do. I’m hoping someone can help?

              • I tried that and there has been some progress! It’s actually doing something now at least. I tried to strip the DRM from 2 epub books but I received this message:

                Using Library AlfCrypto DLL/DYLIB/SO
                No nook Study log files have been found.
                Using Library AlfCrypto DLL/DYLIB/SO

                I’m not sure of the meaning of the reference to Nook however because I don’t have a B&N account and I have never downloaded from there. I don’t have a Nook.

                Then I tried to strip the DRM from some kindle books and the app worked fine. So definite progress! thank you for the suggestion.

                Any tips on the Nook thing?

                • I’d guess that the stand-alone is looking for any program it can retrieve keys from. If you have both Kindle for PC and ADE, then Nookstudy would be the one it’s not finding.

                  • I have a current Adept key for Adobe DE. I extracted a new one just in case but no dice. How do I get a nookstudy? (I don’t have a B&N account as I’m in Australia and they don’t sell to me here). I don’t have a Nook device but I do have a Kobo if that helps?

                    • If you don’t have Nook books, then there’s no point in bothering with Nookstudy. Not finding Nookstudy shouldn’t actually stop the app from working with other books.

                    • I just downloaded a further copy of a DRM book from my Kobo account and the same error message appears:
                      Using Library AlfCrypto DLL/DYLIB/SO
                      No nook Study log files have been found.
                      Using Library AlfCrypto DLL/DYLIB/SO

                    • This was still from ADE? Not downloaded with the Kobo Desktop app or directly from a Kobo device? Because those require the Obok plugin.

                    • I don’t know why the log isn’t giving more info about why it can’t unlock the Adobe book…especially since we know the app works with your Kindle books.

                    • I’ve tried a few things, none of them have worked but the last time I did get a longer error message:
                      Using Library AlfCrypto DLL/DYLIB/SO
                      No nook Study log files have been found.
                      Using Library AlfCrypto DLL/DYLIB/SO
                      Exception in Tkinter callback
                      Traceback (most recent call last):
                      File “C:\Python27\lib\lib-tk\Tkinter.py”, line 1541, in call
                      return self.func(*args)
                      File “D:\Users\User\Documents\DeDRM_App\DeDRM_lib\DeDRM_App.pyw”, line 434, in doit
                      self.master.cd.doit(self.prefs_array,filenames)
                      File “D:\Users\User\Documents\DeDRM_App\DeDRM_lib\DeDRM_App.pyw”, line 490, in doit
                      self.processBooks()
                      File “D:\Users\User\Documents\DeDRM_App\DeDRM_lib\DeDRM_App.pyw”, line 515, in processBooks
                      self.logfile.write(“DeDRM v{0}: {1}\n”.format(version,msg))
                      ValueError: I/O operation on closed file

                      I’m not sure if that sheds any light?

    • I am havibg exactly the same problem have read everything I can find but I HAVE made a Calibre d-bug log, and then the error message I get when attempting to open the book.. Been using the same tools for 6-7 years. No problems til now
      here are the log files …
      calibre, version 3.38.1
      ERROR: Could not open e-book: Failed to read book, C:\Users\Bobby Main\Calibre Library\Unknown\WILD WEST Boxed Set_ 150_ Western Cl (17)\metadata.opf click “Show Details” for more information

      Traceback (most recent call last):
      File “site-packages\calibre\utils\ipc\simple_worker.py”, line 289, in main
      File “site-packages\calibre\ebooks\oeb\iterator\book.py”, line 65, in extract_book
      File “site-packages\calibre\customize\conversion.py”, line 244, in call
      File “site-packages\calibre\ebooks\conversion\plugins\html_input.py”, line 90, in convert
      File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1311, in create_oebbook
      File “site-packages\calibre\ebooks\oeb\reader.py”, line 73, in call
      File “site-packages\calibre\ebooks\oeb\reader.py”, line 705, in _all_from_opf
      File “site-packages\calibre\ebooks\oeb\reader.py”, line 350, in _spine_from_opf
      OEBError: Spine is empty

  2. I appreciate you making this terrific tool! It’s worked for me in the past (over a year ago), but I seem to be having trouble now that I’ve downloaded a newer version. Thanks in advance for any advice you can offer.

    I downloaded the book from Amazon’s “Manage content and devices” page.

    calibre Debug log
    calibre 3.37 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 0)
    calibre 3.37 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 2.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 80.3426688633 x 79.5130434783
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.05] splash screen shown
    [0.05] Initializing db…
    [0.08] db initialized
    [0.08] Constructing main UI…
    [0.83] main UI initialized…
    [0.83] Hiding splash screen
    [5.50] splash screen hidden
    [5.50] Started up in 5.50 seconds with 520 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x18\xe6\x1e!\xf8H\x9a4J\xa92\xe3Y\xe1\xacd&\xcc\xea\xec\xeb\x9a\nF\\xc8\xa4\x95\x80VI9’, “C:\Users\Drake\Downloads\Lord Foul’s Bane (THE CHRONICLES OF THOMAS COVENANT THE UNBELIEVER Book 1) (1).azw3”]
    DeDRM v6.6.0: Trying to decrypt Lord Foul’s Bane (THE CHRONICLES OF THOMAS COVENANT THE UNBELIEVER Book 1) (1).azw3
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Lord Foul’s Bane (THE CHRONICLES OF THOMAS COVENANT THE UNBELIEVER Book 1)
    Got DSN key from database default_key
    Found 4 keys to try after 0.0 seconds
    Crypto Type is: 2
    DeDRM v6.6.0: Failed to decrypt with error: No key found in 4 keys tried.
    DeDRM v6.6.0: Looking for new default Kindle Key after 0.0 seconds
    searching for kinfoFiles in C:\Users\Drake\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\Drake\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘2426439641’ and UserName ‘4472616b65’
    DeDRM v6.6.0: Found 1 new key
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Lord Foul’s Bane (THE CHRONICLES OF THOMAS COVENANT THE UNBELIEVER Book 1)
    Got DSN key from database default_key_1
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.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 620, in run
    File “calibre_plugins.dedrm.init“, line 570, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.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 Lord Foul’s Bane (THE CHRONICLES OF THOMAS COVENANT THE UNBELIEVER Book 1) to db in: 0.1
    Added 1 books in 0.6 seconds
    Worker Launch took: 0.0840001106262

    • I recommend using the current version 6.6.1 of DeDRM. When downloading from the website, you need to choose an E-ink Kindle (not a Fire) and enter its serial number into the plugin customization.

  3. I have been using DeDRM 6.6.1 but now it doesn’t work with the latest Kindle downloaded books in Calibre. I get an error saying the book has DRM and can’t be converted. Isn’t the DeDRM supposed to take care of that?

  4. Hallo!

    I’ve been unable to remove the DRM from an Adobe Digital Editions Epub file using the Calibre DeDRM plugin 6.6.1 and Calibre version 3.38.1 on a Mac running OS 10.12.6.

    Below is the log in Debug mode from Calibre. Any suggestions?

    calibre Debug log
    calibre 3.38.1 embedded-python: True is64bit: True
    Darwin-16.7.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘16.7.0’, ‘Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.12.6’, (”, ”, ”), ‘x86_64′)
    Interface language: en_GB
    Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 5, 0) && DeDRM (6, 6, 1) && Package KFX File Type (from KFX Input) (1, 5, 0) && Find Duplicates (1, 6, 3) && Set KFX metadata (from KFX Output) (1, 20, 0) && KFX Output (1, 20, 0) && Kindle Collections (1, 7, 17) && KFX metadata reader (from KFX Input) (1, 5, 0) && KFX Input (1, 5, 0)
    calibre 3.38.1 embedded-python: True is64bit: True
    Darwin-16.7.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘16.7.0’, ‘Darwin Kernel Version 16.7.0: Thu Jun 21 20:07:39 PDT 2018; root:xnu-3789.73.14~1/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.12.6’, (”, ”, ”), ‘x86_64’)
    Interface language: en_GB
    Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 5, 0) && DeDRM (6, 6, 1) && Package KFX File Type (from KFX Input) (1, 5, 0) && Find Duplicates (1, 6, 3) && Set KFX metadata (from KFX Output) (1, 20, 0) && KFX Output (1, 20, 0) && Kindle Collections (1, 7, 17) && KFX metadata reader (from KFX Input) (1, 5, 0) && KFX Input (1, 5, 0)
    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.22] splash screen shown
    [0.22] Initializing db…
    [0.35] db initialized
    [0.35] Constructing main UI…
    [1.51] main UI initialized…
    [1.51] Hiding splash screen
    [1.52] splash screen hidden
    [1.52] Started up in 1.52 seconds with 2888 books
    DeDRM v6.6.1: Trying to decrypt The Lesser Evil.epub
    DeDRM v6.6.1: Verifying zip archive integrity
    DeDRM v6.6.1: “The Lesser Evil.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 172, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 632, in run
    File “calibre_plugins.dedrm.init“, line 408, in ePubDecrypt
    DeDRMError: DeDRM v6.6.1: Couldn’t decrypt after 0.1 seconds. DRM free perhaps?
    Added The Lesser Evil to db in: 0.0
    Added 1 books in 0.6 seconds
    2019-01-21 13:56:09.305 calibre-debug[5832:834866] IMKClient Stall detected, *please Report* your user scenario attaching a spindump (or sysdiagnose) that captures the problem – (imkxpc_attributesForCharacterIndex:reply:) block performed very slowly (1.57 secs).

    • The log says this book “is neither an Adobe Adept nor a Barnes & Noble encrypted ePub.” So there’s some part of the DRM missing from it. How did you download it? Adobe DRM books should be downloaded through Adobe Digital Editions 2.0.1 authorized with your Adobe ID.

  5. with 6.6.1 kindle azw file filed conversion.

    calibre Debug log
    calibre 3.38.1 [64bit] embedded-python: True is64bit: True
    Windows-7-6.1.7601-SP1 Windows (’64bit’, ‘WindowsPE’)
    (‘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, 12, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 12, 1) && Set KFX metadata (from KFX Output) (1, 26, 0) && KFX Output (1, 26, 0) && ACE (1, 0, 0) && KindleUnpack – The Plugin (0, 81, 5) && KFX metadata reader (from KFX Input) (1, 12, 1) && KFX Input (1, 12, 1) && Kindle Collections (1, 7, 23)
    calibre 3.38.1 [64bit] embedded-python: True is64bit: True
    Windows-7-6.1.7601-SP1 Windows (’64bit’, ‘WindowsPE’)
    (‘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, 12, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 12, 1) && Set KFX metadata (from KFX Output) (1, 26, 0) && KFX Output (1, 26, 0) && ACE (1, 0, 0) && KindleUnpack – The Plugin (0, 81, 5) && KFX metadata reader (from KFX Input) (1, 12, 1) && KFX Input (1, 12, 1) && Kindle Collections (1, 7, 23)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 120.0 x 120.0
    physicalDpi: 72.035450517 x 72.0
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.02] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.84] main UI initialized…
    [1.84] Hiding splash screen
    [22.70] splash screen hidden
    [22.70] Started up in 22.70 seconds with 0 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x9e\xd8\x05\x97\xc3f\x01p\x011\x01\xc54\x85\xe6\x85T\xb00\xdd\xec\xcaJ\x18\xb5\xd1\xcf\x0fu<\x89\xba’, ‘C:\Users\robo\Documents\My Kindle Content\B003ODIZL6_EBOK\B003ODIZL6_EBOK.azw’]
    Gather KFX-ZIP (from KFX Input) 1.12.1: Importing C:\Users\robo\Documents\My Kindle Content\B003ODIZL6_EBOK\B003ODIZL6_EBOK.azw
    Gather KFX-ZIP (from KFX Input): File is not KFX format
    DeDRM v6.6.1: Trying to decrypt B003ODIZL6_EBOK.azw
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Mobipocket 7 ebook: The New Oxford American Dictionary
    Got DSN key from database default_key
    Found 6 keys to try after 0.2 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 6 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.2 seconds
    searching for kinfoFiles in C:\Users\robo\AppData\Local
    No K4PC kindle.info/kinf/kinf2011 files have been found.
    DeDRM v6.6.1: 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 621, in run
    File “calibre_plugins.dedrm.init“, line 571, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.6.1: 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 The New Oxford American Dictionary to db in: 0.3
    Added 1 books in 1.6 seconds
    Worker Launch took: 0.302999973297

      • Yes. I actually uninstalled the latest Kindle for PC, then searched for the 1.17 version and installed it. Just make sure to go to Kindle Options and uncheck the automatic update feature.
        The 1.17 version of Kindle for PC works perfectly with the latest Calibre and DeDRM 6.6.1 version.
        Hope this helps.

  6. DRM Stripping has stopped working in Calibre. I’ve re-entered sieral numbers of kindles and I;m using 6.6.1
    I don’t know what’s changed, any ideas?

      • calibre Debug log
        calibre 3.38.1 [64bit] embedded-python: True is64bit: True
        Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
        (‘Windows’, ’10’, ‘10.0.17134’)
        Python 2.7.15+
        Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: None
        Successfully initialized third party plugins: DeDRM (6, 5, 5)
        calibre 3.38.1 [64bit] embedded-python: True is64bit: True
        Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
        (‘Windows’, ’10’, ‘10.0.17134’)
        Python 2.7.15+
        Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: None
        Successfully initialized third party plugins: DeDRM (6, 5, 5)
        Turning on automatic hidpi scaling
        devicePixelRatio: 1.0
        logicalDpi: 96.0 x 96.0
        physicalDpi: 108.917922948 x 108.857142857
        Using calibre Qt style: True
        [0.00] Starting up…
        [0.00] Showing splash screen…
        [0.06] splash screen shown
        [0.06] Initializing db…
        [0.22] db initialized
        [0.22] Constructing main UI…
        [1.84] main UI initialized…
        [1.84] Hiding splash screen
        [48.80] splash screen hidden
        [48.80] Started up in 48.80 seconds with 4944 books
        stdout+stderr from file dialog helper: [”, ”]
        piped data from file dialog helper: [‘z\x9d\xe6\xf9\xef\xd6\xa5\xf5\xf9\xaab\x98\xaeH\x85nC k\xda\x8dA\x94\x05\xb1N\x1f-\xa0q3’, ‘G:\Dropbox\sheryl\B071JMJF4G_EBOK.azw’]
        DeDRM v6.5.5: Trying to decrypt B071JMJF4G_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: Summoned
        Got DSN key from database default_key
        Found 8 keys to try after 0.0 seconds
        Crypto Type is: 2
        DeDRM v6.5.5: Failed to decrypt with error: No key found in 8 keys tried.
        DeDRM v6.5.5: Looking for new default Kindle Key after 0.0 seconds
        searching for kinfoFiles in C:\Users\Steve\AppData\Local
        Found K4PC 1.9+ kinf2011 file: C:\Users\Steve\AppData\Local\Amazon\Kindle\storage.kinf2011
        Decrypted key file using IDString ‘1480847585’ and UserName ‘5374657665’
        DeDRM v6.5.5: Found 1 new key
        MobiDeDrm v0.42.
        Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
        Decrypting Kindle Format 8 ebook:
        Got DSN key from database default_key_1
        Found 4 keys to try after 0.1 seconds
        Crypto Type is: 2
        DeDRM v6.5.5: 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 618, in run
        File “calibre_plugins.dedrm.init“, line 568, in KindleMobiDecrypt
        DeDRMError: DeDRM v6.5.5: 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 Summoned
        Added 1 books in 4.5 seconds
        Worker Launch took: 0.135999917984

        • Looks like this was already answered in a later comment, but just in case…

          A book from Kindle for PC needs to be from the installation of Kindle for PC on the same machine and user as calibre with DeDRM. And update to the latest version of DeDRM.

  7. part 1
    calibre Debug log
    calibre 3.38.1 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.15+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 5, 5)
    calibre 3.38.1 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.15+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 5, 5)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 108.917922948 x 108.857142857
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.06] splash screen shown
    [0.06] Initializing db…
    [0.22] db initialized
    [0.22] Constructing main UI…
    [1.84] main UI initialized…
    [1.84] Hiding splash screen
    [48.80] splash screen hidden
    [48.80] Started up in 48.80 seconds with 4944 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘z\x9d\xe6\xf9\xef\xd6\xa5\xf5\xf9\xaab\x98\xaeH\x85nC k\xda\x8dA\x94\x05\xb1N\x1f-\xa0q*3’, ‘G:\Dropbox\sheryl\B071JMJF4G_EBOK.azw’]
    DeDRM v6.5.5: Trying to decrypt B071JMJF4G_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: Summoned
    Got DSN key from database default_key
    Found 8 keys to try after 0.0 seconds
    Crypto Type is: 2
    DeDRM v6.5.5: Failed to decrypt with error: No key found in 8 keys tried.
    DeDRM v6.5.5: Looking for new default Kindle Key after 0.0 seconds

    • Doesn’t look like this book is from the installation of Kindle for PC on the same machine and user as calibre with DeDRM. Each Kindle app and device has its own key, even for the same account. Book and key need to be from the same. For Kindle for PC, DeDRM can’t find the right key if the app the book was downloaded with isn’t accessible. And you definitely want to use the current 6.6.1 plugin.

        • Downloaded installed calibre & 6.6.1 on wife’s computer with kindle for pc and it worked.
          Thanks for your help
          I use to just copy the kindle file to my computer and convert but I guess things have change.
          Again thanks for your help

          • For Kindle for PC, it’s always been that way. Not going to work on different machine/user unless you import the key from the other machine’s calibre/DeDRM. If the file is from an E-ink Kindle (or downloaded from the website for an E-ink Kindle), then you just need the serial number in DeDRM — no need to have Kindle for PC on the computer at all.

  8. part 2

    searching for kinfoFiles in C:\Users\Steve\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\Steve\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘1480847585’ and UserName ‘5374657665’
    DeDRM v6.5.5: Found 1 new key
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Summoned
    Got DSN key from database default_key_1
    Found 4 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.5.5: 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 618, in run
    File “calibre_plugins.dedrm.init“, line 568, in KindleMobiDecrypt
    DeDRMError: DeDRM v6.5.5: 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 Summoned to db in: 0.3
    Added 1 books in 4.5 seconds
    Worker Launch took: 0.135999917984
    Job: 1 Convert book 1 of 1 (Summoned ) finished
    Convert book 1 of 1 (Summoned)
    Conversion options changed from defaults:
    verbose: 2
    cover: u’C:\Users\Steve\AppData\Local\Temp\calibre_fj0auf\g1hb5j.jpeg’
    read_metadata_from_opf: u’C:\Users\Steve\AppData\Local\Temp\calibre_fj0auf\dsyje2.opf’
    output_profile: ‘kindle’
    Resolved conversion options
    calibre version: 3.38.1
    {‘asciiize’: False,
    ‘author_sort’: None,
    ‘authors’: None,
    ‘base_font_size’: 0.0,
    ‘book_producer’: None,
    ‘change_justification’: u’original’,
    ‘chapter’: u”//*[((name()=’h1′ or name()=’h2′) and re:test(., ‘\s*((chapter|book|section|part)\s+)|((prolog|prologue|epilogue)(\s+|$))’, ‘i’)) or @class = ‘chapter’]”,
    ‘chapter_mark’: u’pagebreak’,
    ‘comments’: None,
    ‘cover’: u’C:\Users\Steve\AppData\Local\Temp\calibre_fj0auf\g1hb5j.jpeg’,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘dont_compress’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: None,
    ‘extract_to’: None,
    ‘filter_css’: u”,
    ‘fix_indents’: True,
    ‘font_size_mapping’: None,
    ‘format_scene_breaks’: True,
    ‘html_unwrap_factor’: 0.4,
    ‘input_encoding’: None,
    ‘input_profile’: <calibre.customize.profiles.InputProfile object at 0x00000000035C5BE0>,
    ‘insert_blank_line’: False,
    ‘insert_blank_line_size’: 0.5,
    ‘insert_metadata’: False,
    ‘isbn’: None,
    ‘italicize_common_cases’: True,
    ‘keep_ligatures’: False,
    ‘language’: None,
    ‘level1_toc’: None,
    ‘level2_toc’: None,
    ‘level3_toc’: None,

  9. part 3

     'line_height': 0.0,
     'linearize_tables': False,
     'margin_bottom': 5.0,
     'margin_left': 5.0,
     'margin_right': 5.0,
     'margin_top': 5.0,
     'markup_chapter_headings': True,
     'max_toc_links': 50,
     'minimum_line_height': 120.0,
     'mobi_file_type': u'old',
     'mobi_ignore_margins': False,
     'mobi_keep_original_images': False,
     'mobi_toc_at_start': False,
     'no_chapters_in_toc': False,
     'no_inline_navbars': True,
     'no_inline_toc': False,
     'output_profile': <calibre.customize.profiles.KindleOutput object at 0x00000000035D0208>,
     'page_breaks_before': u"//*[name()='h1' or name()='h2']",
     'personal_doc': u'[PDOC]',
     'prefer_author_sort': False,
     'prefer_metadata_cover': False,
     'pretty_print': False,
     'pubdate': None,
     'publisher': None,
     'rating': None,
     'read_metadata_from_opf': u'C:\\Users\\Steve\\AppData\\Local\\Temp\\calibre_fj0auf\\dsyje2.opf',
     'remove_fake_margins': True,
     'remove_first_image': False,
     'remove_paragraph_spacing': False,
     'remove_paragraph_spacing_indent_size': 1.5,
     'renumber_headings': True,
     'replace_scene_breaks': u'',
     'search_replace': '[]',
     'series': None,
     'series_index': None,
     'share_not_sync': False,
     'smarten_punctuation': False,
     'sr1_replace': None,
     'sr1_search': None,
     'sr2_replace': None,
     'sr2_search': None,
     'sr3_replace': None,
     'sr3_search': None,
     'start_reading_at': None,
     'subset_embedded_fonts': False,
     'tags': None,
     'timestamp': None,
     'title': None,
     'title_sort': None,
     'toc_filter': None,
     'toc_threshold': 6,
     'toc_title': None,
     'transform_css_rules': '[]',
     'unsmarten_punctuation': False,
     'unwrap_lines': True,
     'use_auto_toc': False,
     'verbose': 2}
    InputFormatPlugin: MOBI Input running
    on C:\Users\Steve\AppData\Local\Temp\calibre_fj0auf\i4e5nz.azw
    
  10. part 4
    Found KF8 MOBI of type ‘standalone’
    Python function terminated unexpectedly
    Summoned (Error Code: 1)
    Traceback (most recent call last):
    File “site.py”, line 101, in main
    File “site.py”, line 78, in run_entry_point
    File “site-packages\calibre\utils\ipc\worker.py”, line 199, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 42, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 27, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1106, in run
    File “site-packages\calibre\customize\conversion.py”, line 244, in call
    File “site-packages\calibre\ebooks\conversion\plugins\mobi_input.py”, line 45, 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 157, in check_for_drm
    calibre.ebooks.DRMError: Summoned

  11. calibre Debug log
    calibre 3.38.1 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: Fri Nov 2 20:43:16 PDT 2018; root:xnu-4570.71.17~1/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.13.6’, (”, ”, ”), ‘x86_64′)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 12, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 12, 1) && Obok DeDRM (6, 5, 4) && KFX metadata reader (from KFX Input) (1, 12, 1) && KFX Input (1, 12, 1)
    calibre 3.38.1 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: Fri Nov 2 20:43:16 PDT 2018; root:xnu-4570.71.17~1/RELEASE_X86_64’)
    Python 2.7.15
    OSX: (‘10.13.6’, (”, ”, ”), ‘x86_64’)
    Interface language: None
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 12, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 12, 1) && Obok DeDRM (6, 5, 4) && KFX metadata reader (from KFX Input) (1, 12, 1) && KFX Input (1, 12, 1)
    devicePixelRatio: 1.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 126.000001892 x 127.000001907
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.03] Showing splash screen…
    [0.27] splash screen shown
    [0.27] Initializing db…
    [0.30] db initialized
    [0.30] 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.89] main UI initialized…
    [1.89] Hiding splash screen
    [1.92] splash screen hidden
    [1.93] Started up in 1.93 seconds with 0 books
    objc[39972]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff90a59cd0) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x117673cd8). One of the two will be used. Which one is undefined.
    2019-01-23 16:25:35.447 calibre-debug[39972:4673972] Bad cursor rect event, flags = 0
    Gather KFX-ZIP (from KFX Input) 1.12.1: Importing /Users/maitripamo/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/My Kindle Content/B000XUBFE2_EBOK/B000XUBFE2_EBOK.azw
    Gather KFX-ZIP (from KFX Input): Gathered 5 file(s) as /var/folders/kk/83chtmrn33xdjdk4p8lm51j40000gn/C/calibre_3.38.1_tmp_RuKyGK/PCuQhL.kfx-zip
    DeDRM v6.6.1: Trying to decrypt PCuQhL.kfx-zip
    Using Library AlfCrypto DLL/DYLIB/SO
    Decrypting KFX-ZIP ebook: PCuQhL
    Found 0 keys to try after 0.1 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.317e9e17-7c6d-4f96-b071-3d318b70bd86.voucher
    DeDRM v6.6.1: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    Found k4Mac kinf2011 file: /Users/maitripamo/Library/Application Support/Kindle/storage/.kinf2011
    Couldn’t decrypt file.
    DeDRM v6.6.1: Ultimately failed to decrypt after 6.9 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 6.9 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    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 22, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 35, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 77, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 150, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 261, in get_container
    KFXDRMError: Book container B000XUBFE2_EBOK.azw has DRM and cannot be converted
    Package KFX (from KFX Input) 1.12.1: Packaging /var/folders/kk/83chtmrn33xdjdk4p8lm51j40000gn/C/calibre_3.38.1_tmp_RuKyGK/PCuQhL.kfx-zip
    Processing container: B000XUBFE2_EBOK.azw
    KFX metadata reader (from KFX Input) activated for /var/folders/kk/83chtmrn33xdjdk4p8lm51j40000gn/C/calibre_3.38.1_tmp_RuKyGK/b3fb5G_add_books/0/B000XUBFE2_EBOK.kfx-zip

    • Are you using the Kindle App from the App store? If so, use the one downloaded directly from Amazon.
      Otherwise, if you’re using version 1.25, the tools don’t work with that, you’ll need to find version 1.24 or earlier and install that.

  12. Hi, me again. I tried something else today and got a different log file which I thought might help?

    I went into the De DRM app itself and tried the ineptepub files (there were two but they gave me the same result).
    This is the log file:

    Could not decrypt Resurrection Bay.epub because of an exception:
    Traceback (most recent call last):
    File “D:\Users\User\Documents\DeDRM_App\DeDRM_lib\lib\ineptepub.py”, line 420, in decryptBook
    bookkey = rsa.decrypt(bookkey.decode(‘base64’))
    File “D:\Users\User\Documents\DeDRM_App\DeDRM_lib\lib\ineptepub.py”, line 329, in decrypt
    return self._rsa.decrypt(data)
    File “C:\Python27\lib\site-packages\Crypto\PublicKey\RSA.py”, line 375, in decrypt
    raise NotImplementedError(“Use module Crypto.Cipher.PKCS1_OAEP instead”)
    NotImplementedError: Use module Crypto.Cipher.PKCS1_OAEP instead

    When I use the drag and drop with the same book however, I still get this:
    Using Library AlfCrypto DLL/DYLIB/SO
    No nook Study log files have been found.
    Using Library AlfCrypto DLL/DYLIB/SO

    (It’s not a nook book however, it’s an Adobe DE book)

    I confirm Kindle files are converting fine. It’s just AdobeDE files I’m having trouble with.

  13. I just bought a Kindle book. When I opened it on my Kindle for Mac, Kindle upgraded to the 64 bit version (which will be required with the next version of OSX). When I loaded it on Calibre, I saw that it is a KFX-Zip file. Calibre sees its cover but won’t read it because it is DRM protected. I updated all of my plug-ins. I have been buying from Amazon because it was easier than other sources to remove DRM. Does this mean I won’t be able to buy from Amazon anymore? Where do I look for help?

      • Paul, the problem is that MacOS 10.14 a.k.a “Mojave” is the last version that will run 32-bit apps. Will there ever be a 64-bit version of DeDRM Tools?

        • I don’t think the problem is the DeDRM app. Opening it in a recent Script Editor and saving as a 64-bit app is easy.

          I think that the problem is that the key generation or the KFX encryption has changed in the 64-bit version of Kindle for Mac, and until someone reverse engineers the change, the tools won’t work with Kindle for Mac (64-bit).

          • Ah, so there are no plans to upgrade the tools to work with a 64-bit version of Kindle for Mac? Looks like I’ll be SOL on ebooks then as I’ll have to go back to reading the crappy Mobi format.

            • There are no plans here. If some individual is interested and skilled enough to come up with a solution and posts it online then it will likely be incorporated into the tools.

                • I doubt it. There are major loopholes in Amazon’s DRM that have remained for years. You can run older Kindle apps and firmware and Amazon will happily deliver books to them. If you own a Kindle device, and you can pick up a used older model very cheaply, then Amazon will allow you to download book files directly from their website.

                  If those options are eventually eliminated then that will only strengthen the incentive to come up with new solutions.

                    • Yeah, we have our Amazon accounts set to share books purchased. My wife’s account is Amazon Prime, which makes delivery free for me as well. I am in the U.S., and had to find those sharing settings. When I buy an .epub book elsewhere and create a .mobi on Calibre, I can run “Send to Kindle” to copy it to my devices, but then I have to run it again on my wife’s computer to copy it to her devices.

                    • Linking Family members together is also available in Germany, so my guess is it will be available elsewhere – probably everywhere?!
                      Never bothered as it is still restricted, only one person can read a book at the same time as far as I understood the rules.

                      Maybe wrong though, can someone chime in wether that is a working alternative for reading in a small group without stripping DRM?

                    • You can only have 2 adult accounts linked. (Plus some child and teen accounts, but I don’t know how those work.) Each of you can set it to share all of your books or just specific ones. You can both read the same book at the same time with your own progress saved to your own account. Presumably you’d be restricted to six copies in use simultaneously (or whatever limit is specified for a book) between both of your devices/apps. It also allows you to share payment methods so needs to be someone you really trust.

                  • Exactly. DRM removal for KFX format wasn’t figured out until that format started becoming harder to avoid (when Kindle for PC/Mac began using it).

                  • True, BUT the problem is that going forward it doesn’t look like DeDRM is being updated to handle the problems caused by the KFX DRM in Kindle app version 1.25 and newer. Witness the comments when someone asks if anything is being done, they’re told to volunteer to do it themselves. Unfortunately, probably the vast majority of DeDRM Tools users (like myself) here are NOT programmers/coders thus the users are dependent on those who have been doing the programming/coding.

                    Eventually without DeDRM updates to offset Amazon’s DRM shenanigans, users will be forced to go to pricey commercial software.

                    • This issue is only came up about a month ago. So far solutions have been available here before the commercial versions had them.

                    • No one forces you to strip DRM, nor to pay for it. Given that as far as I know a lot of commercial solutions (if not all) are based on DeDRM you will not find anything. Also I consider all I saw overpriced (a lot more than 10 Us$) and that for me is a rippoff.
                      It is the same where you pay some place for Open Office (yes I saw that, places there you pay for a fast download, lol). You could just burn money or give it away to some homeless person on the street.

            • As always around here, it all depends on when someone figures it out and decides to share. The latest version of Kindle for PC is also not working with DeDRM because the key file has changed.

      • The next full version of OSX won’t run 32-bit programs. I renamed the new version of Kindle to Kindle-64 and restored the old version using Time Machine. I then deleted the book from the “My Kindle” library, opened the old Kindle and it downloaded the book. I added it to Calibre, which now has a .KFX file which I converted to .epub and text, as well as the .KFX-ZIP version I loaded yesterday. That works for now, but won’t work when Mojave is replaced. (I have lots of 32 bit programs, some which are being converted, some which I will lose).

        Oh, I also tried running DeDRM, which I haven’t run in a long time – it wouldn’t run.

        So when I go to OSX 10.15, I will need to wait to buy books until I learn which vendors have versions I can break.

        • I know it’s a pain in the neck, but what I do is install Ubuntu Linux
          in a VM (on a Centos-linux host) where I can mostly follow the instructions
          in the DeDrm README on how to set up Kindlefor PC and Calibre in Wine.

          Perhaps you couldinstall the last 32-bit version of OSXin a VM so you
          can do similarly, then use that VM only for that specific purpose.

          I know almost nothing about OSX, so I have no clue what is required
          to do that or if it is even possible.

          Good luck!

          Fred

        • Well, I have a mid-2011 MacBook Air that won’t go past High Sierra but it has Kindle for Mac 1.17 on it so I could use it to dl, deDRM, and convert Kindle books to ePub. If you don’t have something similar then perhaps you could install VMWare Fusion or Parallels and run Mojave or older as a virtual machine so Kindle for Mac 1.17, DeDRM, and Calibre can still work.

        • I have to log on to my wife’s Amazon account in order to download the book. That’s because her Amazon account is the one that has her old Kindle. My account only sees my Mac, my iPad, and my iPhone, which aren’t eligible for the “download and load via USB” option.

          • Howard, have you tried to see if you can pick up the cheapest E-Ink Kindle from eBay and see if Amazon allows users of Kindle for Mac to register it? Or are K4M users barred by Amazon from using a physical E-Ink Kindle on their Amazon account?

              • But while “stealing” 😉 your wife’s identity works for you, I’m wondering if I could use an E-Ink Kindle with my Amazon account which has Kindle for Mac on both an iMac and a MacBook Air, along with Kindle for iOS apps on a couple of iPads or would Amazon not allow it.

                • You can have as many apps and devices registered to your account as you want. I have about a dozen. Some books have a limit on the number of devices that they can be present on simultaneously. If you hit that limit for a book the you must remove it from one device before you can add it to another.

                  • Interesting. I do have Kindle books in Kindle for Mac on my iMac, in Kindle for Mac on my MacBook Air, and in Kindle for iOS on my iPad Mini 3; IIRC, the book copies are only on the iPad and either the iMac or MBA but not on all 3. Of course there are copies in Calibre, but those aren’t linked to my Amazon account.

                    • Most Amazon DRMed books can be used on six Kindle ‘devices’ simultaneously, but you can have more than six devices registered to your account. You can register any non-blacklisted eInk Kindle to your account at any time.

                    • So is each installation of the Kindle for Mac and Kindle for iOS considered a “device” or just the actual hardware? I have Kindle for Mac installed on my MacBook Air, my 2011 iMac’s internal drive, on two external clone hard drives connected to the iMac, on two iPad Minis, and, IIRC on my iMac G5. I primarily use the 2011 iMac K4M to download the Kindle books.

                    • Yesterday, after I bought a different book, opened it with my 64-bit Kindle for Mac, I loaded it on Calibre and found it was DRM protected as a KFX-ZIP file.

                      So I logged onto my wife’s account downloaded it to use USB to load it onto her Kindle, and got a .azw3 file. I loaded it on Calibre as a KFX file, and converted it to .epub and .txt.

                      Today I tried the same thing with “Knife Children”. But when I loaded it on Calibre, it produced a KFX-ZIP file, which is DRM protected.

                      I don’t know what changed between yesterday and today.

                    • An AZW3 file downloaded “for transfer via USB” would still be AZW3 when first imported into calibre (and should have any DRM removed if you have the E-ink Kindle serial number in the plugin). If you download a book available in KFX format with an earlier version of Kindle for Mac (1.19-1.23), it will have the AZW extension before DRM removal and KFX after. If you download with 1.25 or later, it will go from AZW to kfx-zip on import, but will still have DRM.

                    • Do not download onto your wife’s Kindle, but download from her amazon account ‘For transfer via usb’ with her Kindle as the intended destination. That will give you an .azw file that will load into calibre and the DRM will get stripped.

                    • I did download it to transfer to her Kindle. But unlike two days ago, yesterday’s .azw3 converted to KFZ-ZIP and was copy protected when I loaded it on Calibre. I did restore an old version of my Mac’s Kindle app, which downloaded an .azw, but that option will go away with the next version of OSX.

                    • Howard, it appears to me the easiest solution would be to not go past MacOS 10.14.x, a.k.a. Mojave. The second easiest would be to install Parallels Desktop on the Mac that ends up with MacOS 10.15, then install Mojave on a virtual machine in Parallels.

                    • No other good source. Most of the books I buy are NEVER on iBooks. I tried B&N Nook but getting the DRM off of them was a bear. The tools here did not work so I was forced to use a commercial software package that worked perfectly. However, I decided to run, not walk away from B&N ebooks.

                    • Doesn’t Kobo use Adobe DRM? Adobe is another company I tend to stay away from but mainly due to their trashy Flash software.

                    • Yeah, I have the following note from last time I bought a Kobo book: “I downloaded the KOBO book I bought (hit … on the web page), and have URLLink.acsm in my download library. I opened it with Adobe Digital Editions or with Reader. Then I searched my Mac and found the book in my Documents/My Books/Reader, and in Documents/Digital Editions”.

                      I also have Adobe Digital Editions 4.5 on my Mac. I open .epub books there and they are supposed to all show up on Adobe digital editions on my iPad and iPhone, but they don’t.

                    • As far as I know, you have to transfer ADE books from one device/app to another. They don’t automactically download. But I know nothing about the iOS apps. And, of course, I never leave the DRM on them anyway.

                    • Yes, you can download them with ADE and use DeDRM. Or download them with Kobo Desktop and use Obok. I also like their ereaders better than Kindles. Their selection works for me, but Amazon has more of course.

                    • You’ve found a change that must have happened in the past day or two, or you’ve made a mistake with the file downloaded, and mixed it up with a different one, either on your computer or in calibre. I’d bet on the latter.

                      Make sure you’ve deleted all versions of the book from calibre, and try again with a fresh download from the amazon web site for ‘transfer via usb’.

                  • That is also a sure way to tell wether a Kindle ebooks has DRM: without DRM it cannot be restricted to a certain number of devices.

                    • Howard:

                      Just to make sure we’re all being clear, I don’t remember if you posted earlier the versions of Calibre, and DeDrm you’re using, and whether or not you have the KFX plugin installed. Also, KFX plugin has gone through several versions in the recent past, so you may want to go to the plugins page in Calibre and click update plugins. (I’m still using 1.17, so I haven’t yet been forced to actually deal with KFX books yet even though I have the plugin installed. I don’t plan to upgrade until Amazon forces me to, ’cause what I have works. “If it ain’t broke, don’t fix it”.)

                      Also, having never done a “download for transfer via USB” I don’t know how that works, does it just do a download via “normal” browser download functions, or is there something else?

                      If you’re using the Kindle for PC/MAC, you may need to pay attention to the version (you probably have, but I don’t recall seeing it in this thread) since the latest one allegedly doesn’t work with KFX books. If you have to downgrade the version, be sure to disable the automatic updates, if you haven’t already.

                • You’ve found a change that must have happened in the past day or two, or you’ve made a mistake with the file downloaded, and mixed it up with a different one, either on your computer or in calibre. I’d bet on the latter.

                  Make sure you’ve deleted all versions of the book from calibre, and try again with a fresh download from the amazon web site for ‘transfer via usb’.

                  • Paul, this (and your previous reply) should be made to Howard. My wife doesn’t use electronic devices like Macs, iPads, Kindles, etc. (she considers them “instruments of the devil”); fortunately her electronics aversion doesn’t extend to the microwave, modern oven, and range. 🙂

                • “yesterday’s .azw3 converted to KFZ-ZIP and was copy protected when I loaded it on Calibre”

                  That cannot happen. AZW3 file are never handled as KFX. You are probably not importing the correct file.

  14. Hi, I need some help with a e-book Amazon DeDRM. I have two error messages that I have seen from Calibre with converting this book. Appreciate whatever help I can get in getting this to work. Thanks.

    calibre Debug log
    calibre 3.38.1 embedded-python: True is64bit: False
    Windows-10-10.0.17763-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17763’)
    Python 2.7.15+
    Windows: (’10’, ‘10.0.17763’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1) && KindleUnpack – The Plugin (0, 81, 5)
    calibre 3.38.1 embedded-python: True is64bit: False
    Windows-10-10.0.17763-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17763’)
    Python 2.7.15+
    Windows: (’10’, ‘10.0.17763’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1) && KindleUnpack – The Plugin (0, 81, 5)
    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.12] splash screen shown
    [0.12] Initializing db…
    [0.14] db initialized
    [0.14] Constructing main UI…
    [2.86] main UI initialized…
    [2.86] Hiding splash screen
    [197.64] splash screen hidden
    [197.64] Started up in 197.64 seconds with 1 books
    DeDRM v6.6.1: Trying to decrypt B01N1S3J03_EBOK.azw4
    Using Library AlfCrypto DLL/DYLIB/SO
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Mobipocket 4 ebook: PSYCH 5, Introductory Psychology, 5th Edition (New, Engaging Titles from 4LTR Press)
    Found 0 keys to try after 0.4 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: Cannot decode library or rented ebooks.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.4 seconds
    searching for kinfoFiles in C:\Users\User\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\User\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘1381345767’ and UserName ‘4861727368’
    DeDRM v6.6.1: Found 1 new key
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Mobipocket 4 ebook: PSYCH 5, Introductory Psychology, 5th Edition (New, Engaging Titles from 4LTR Press)
    Got DSN key from database default_key_1
    Found 4 keys to try after 0.9 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Ultimately failed to decrypt after 0.9 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.9 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added PSYCH 5, Introductory Psychology, 5th Edition (New, Engaging Titles from 4LTR Press) to db in: 2.0
    Added 1 books in 4.5 seconds
    Worker Launch took: 0.368999958038

          • OK, first, thank you for telling me how to find the error log! I appreciate that immensely!

            First a little back story. I rearranged my computer on a new desk. Normally, my ‘receive’ Kindle (Kindle keyboard, gen 3) is ALWAYS plugged in – just easier to have one for no purpose other than to download my books. I have a subscription service, so get books daily. When I reconnected everything, for some reason, while the Kindle was receiving POWER, the computer never ‘saw’ it. I tried 3 different cables and 4 USB ports. Nothing. Sigh. I had the new books resent to my ‘reading’ Kindle (also generation 3 Keyboard) and hooked it to the computer. I change Kindles so rarely that I don’t remember the necessary steps for getting one all set up in Calibre. I finally saw where I needed to post the serial number – and did so. I have most likely missed some steps – I honestly do NOT remember the entire process, it has been too long since I have gone through that.

            ANY help is appreciated. I’m an old woman, and my memory is not the best for some things.

            Thank you!

            Anyway. I did as you suggested, restarted Calibre in debug mode and imported the books (2 of them). Here is the generated error log in 2 replies, as I get a ‘too long’ error when I try to post:

            calibre Debug log
            calibre 3.21 [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: None
            Successfully initialized third party plugins: DeDRM (6, 6, 1)
            calibre 3.21 [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: None
            Successfully initialized third party plugins: DeDRM (6, 6, 1)
            Turning on automatic hidpi scaling
            devicePixelRatio: 1.0
            logicalDpi: 120.0 x 120.0
            physicalDpi: 72.035450517 x 72.0
            Using calibre Qt style: True
            [0.00] Starting up…
            [0.00] Showing splash screen…
            [0.06] splash screen shown
            [0.06] Initializing db…
            [0.16] db initialized
            [0.16] Constructing main UI…
            [2.18] main UI initialized…
            [2.18] Hiding splash screen
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Connect to device failed, retrying in 5 seconds…
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Device connect failed again, giving up
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Connect to device failed, retrying in 5 seconds…
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Device connect failed again, giving up
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Connect to device failed, retrying in 5 seconds…
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Device connect failed again, giving up
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Connect to device failed, retrying in 5 seconds…
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Device connect failed again, giving up
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Connect to device failed, retrying in 5 seconds…
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Device connect failed again, giving up
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Connect to device failed, retrying in 5 seconds…
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            Device connect failed again, giving up
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Storage number map:
            {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)]}
            Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=3372)
            {u’drive_letters’: [],
            u’pnp_id_map’: {},
            u’readonly_drives’: set([]),
            u’sort_map’: {}}
            Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x00000000039FE7B8>
            Traceback (most recent call last):
            File “site-packages\calibre\gui2\device.py”, line 198, in do_connect
            File “site-packages\calibre\devices\usbms\device.py”, line 834, in open
            File “site-packages\calibre\devices\usbms\device.py”, line 274, in open_windows
            DeviceError: Unable to detect any disk drives for the device: Amazon Kindle. Try rebooting

            • Balance of error log:

              stdout+stderr from file dialog helper: [”, ”]
              piped data from file dialog helper: [‘\xe0\xf2\x83\x02\x14\tm+”\xb7\x9b\x03\xe1\x89G\xae5\xc5\xb7\xdc\xfbt|\xa6\x9c\xc7\r)f\xce(\n’, ‘E:\documents\The Savage Clock A tale from the-asin_B07D66HRJR-type_EBOK-v_0.azw3’, ‘E:\documents\The Father Unbound-asin_B07BZ5MJG1-type_EBOK-v_0.azw3’]
              DeDRM v6.6.1: Trying to decrypt The Savage Clock A tale from the-asin_B07D66HRJR-type_EBOK-v_0.azw3
              Using Library AlfCrypto Python
              DeDRM v6.6.1: Trying to decrypt The Father Unbound-asin_B07BZ5MJG1-type_EBOK-v_0.azw3
              MobiDeDrm v0.42.
              Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
              Using Library AlfCrypto Python
              Decrypting Kindle Format 8 ebook: The Savage Clock: A tale from the most recent Earth
              Got DSN key from database default_key
              Got DSN key from database b008 a0a0 1036 0588
              Found 8 keys to try after 0.1 seconds
              Crypto Type is: 2
              DeDRM v6.6.1: Failed to decrypt with error: No key found in 8 keys tried.
              DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
              searching for kinfoFiles in C:\Users\Debra\AppData\Local
              Found K4PC 1.9+ kinf2011 file: C:\Users\Debra\AppData\Local\Amazon\Kindle\storage.kinf2011
              MobiDeDrm v0.42.
              Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
              Decrypting Kindle Format 8 ebook: The Father Unbound
              Got DSN key from database default_key
              Got DSN key from database b008 a0a0 1036 0588
              Decrypted key file using IDString ‘308191925’ and UserName ‘4465627261’
              Found 8 keys to try after 0.2 seconds
              Crypto Type is: 2
              DeDRM v6.6.1: 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 171, 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.2 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
              DeDRM v6.6.1: Failed to decrypt with error: No key found in 8 keys tried.
              DeDRM v6.6.1: Looking for new default Kindle Key after 0.2 seconds
              searching for kinfoFiles in C:\Users\Debra\AppData\Local
              Found K4PC 1.9+ kinf2011 file: C:\Users\Debra\AppData\Local\Amazon\Kindle\storage.kinf2011
              Decrypted key file using IDString ‘308191925’ and UserName ‘4465627261’
              DeDRM v6.6.1: 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 171, 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.3 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
              Storage number map:
              {(7L, 0L): [(2L, ‘C’)], (7L, 1L): [(1L, ‘F’)], (7L, 2L): [(1L, ‘E’)]}
              Storage number for USBSTOR\DISK&VEN_KINDLE&PROD_INTERNAL_STORAGE&REV_0100\B008A0A010360588&0: StorageDeviceNumber(type=7L, number=2L, partition_number=0L)
              Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=4044)
              {u’drive_letters’: [‘E’],
              u’pnp_id_map’: {‘E’: u’\\?\usbstor#disk&ven_kindle&prod_internal_storage&rev_0100#b008a0a010360588&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}’},
              u’readonly_drives’: set([]),
              u’sort_map’: {‘E’: (2L, 1L)}}
              Added The Savage Clock: A tale from the most recent Earth to db in: 2.8
              Added The Father Unbound to db in: 2.5

              • Here it is. Yes, it looks like you should try re-entering your Kindle serial number. Be sure to click OK or Apply out of the dialog boxes and restart calibre before adding a book.

            • This part of the log is only showing your Kindle failing to connect to calibre. The second part of the log hasn’t appeared yet. It probably got caught in the comment filters. Hopefully, Alf will release it from moderation soon.

              In the meantime, make sure you have the serial number for the Kindle in the plugin correctly. They can be really hard to read from the Kindle itself. Try going to https://www.amazon.com/mycd and copy & paste the serial number from there (remove any spaces). Then restart calibre before trying to add the book again.

  15. Hello,
    I have the latest version of caliber (3.38.1) and DeDRM v6.6.1 and Kindle for PC 1.17.0 and KFX plugin 1.12.1.
    if i download a book from amazon and import it to caliber, i get the message “unable to convert this book. the book is protected by drm.” what am I doing wrong?

    calibre Fehlerdiagnoseprotokoll
    calibre 3.38.1 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.15+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: de
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 12, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 12, 1) && KFX metadata reader (from KFX Input) (1, 12, 1) && KFX Input (1, 12, 1)
    calibre 3.38.1 [64bit] embedded-python: True is64bit: True
    Windows-10-10.0.17134-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.15+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: de
    Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 12, 1) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 12, 1) && KFX metadata reader (from KFX Input) (1, 12, 1) && KFX Input (1, 12, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 93.6046065259 x 93.6245733788
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.09] splash screen shown
    [0.11] Initializing db…
    [0.12] db initialized
    [0.12] Constructing main UI…
    [1.67] main UI initialized…
    [1.67] Hiding splash screen
    [5.97] splash screen hidden
    [5.97] Started up in 5.97 seconds with 258 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x98\x1b\xb8B:\xc0X}\x01\xbb@0-\x13\xaa\xd2\x99\xea\xe9hd\xc1\xcb}Z\x1cM\xd5\xeb\xf7\xe9?’, ‘C:\Users\Mootje\Documents\My Kindle Content\B06XCYDN4G_EBOK\B06XCYDN4G_EBOK.azw’]
    Gather KFX-ZIP (from KFX Input) 1.12.1: Importing C:\Users\Mootje\Documents\My Kindle Content\B06XCYDN4G_EBOK\B06XCYDN4G_EBOK.azw
    Gather KFX-ZIP (from KFX Input): Gathered 4 file(s) as C:\Users\Mootje\AppData\Local\Temp\calibre_2xpa_t\rsfrnj.kfx-zip
    DeDRM v6.6.1: Trying to decrypt rsfrnj.kfx-zip
    Using Library AlfCrypto DLL/DYLIB/SO
    Decrypting KFX-ZIP ebook: rsfrnj
    Found 0 keys to try after 0.0 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.9e733e7d-e962-4828-aa9b-9771815935ba.voucher
    DeDRM v6.6.1: Failed to decrypt with error: Failed to decrypt KFX DRM voucher with any key
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.0 seconds
    searching for kinfoFiles in C:\Users\Mootje\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\Mootje\AppData\Local\Amazon\Kindle\storage.kinf2011
    Couldn’t decrypt file.
    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
    Package KFX (from KFX Input) 1.12.1: Packaging C:\Users\Mootje\AppData\Local\Temp\calibre_2xpa_t\rsfrnj.kfx-zip
    Processing container: B06XCYDN4G_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 22, in run
    File “calibre_plugins.kfx_input.package_filetype”, line 35, in run_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 77, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 150, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 261, in get_container
    KFXDRMError: Book container B06XCYDN4G_EBOK.azw has DRM and cannot be converted
    KFX metadata reader (from KFX Input) activated for C:\Users\Mootje\AppData\Local\Temp\calibre_2xpa_t\40qnah_add_books\0\B06XCYDN4G_EBOK.kfx-zip
    Import symbol table YJ_symbols version 10 max_id 770 exceeds known table size 768
    C:\Program Files\Calibre2\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Added Die Legende von Enyador (Enyador-Saga 1/4) (German Edition) to db in: 0.2
    Added 1 books in 0.9 seconds
    Worker Launch took: 0.171999931335

    • This book is not from Kindle for PC version 1.17 because it is in the KFX format. If you downgraded from a later version of Kindle for PC, you need to redownload your book with your current installation of Kindle for PC.

      • THANK YOU!!!
        I first had a newer version of Kindle for PC and when that did not work, I installed the old version but somehow the bookfiles were probably still the ones of the new version. I deleted the book everywhere and downloaded it again – and it works!

        • Yes, if you ever need to uninstall and reinstall Kindle for PC, it’s a good idea to just delete the whole “My Kindle Content” folder. That way you know all books are from the new installation.

          • I got out my wife’s old Kindle Fire, and after charging it, I opened a brand new book that I just bought and told Amazon to download to her Kindle. OK, it’s there. Then I connected it to my Mac, and ran “Android File Transfer”. I expected to see the book in the “Books” directory, but the most recent book I saw in that directory was from 2017.

                • I picked up an old Kindle Touch from Woot a while back for about $30, I think. They put up various models for sale there fairly often. Woot is owned by Amazon, and you use your Amazon sign in.

                  • I’m not familiar with Woot. I logged in using my Amazon login, but didn’t see how to search for products. I infer that its business model is for people to check every day for daily specials. If I get a Kindle for DRM removal, do I want any Kindle that says “paper-white”?

                    • Any of the E-ink Kindles (greyscale screen), not Fires. I chose a Kindle Touch because its old enough that it doesn’t support KFX files, but new enough that it supports AZW3 (KF8) files — not just MOBI files like 1st and 2nd generation Kindles. The earliest model like that is the Kindle Keyboard and the last one is the 1st gen Paperwhite (which Amazon calls 6th gen). But more recent E-ink Kindles will also allow you to download AZW3 files from the website for transfer via USB. And you can DeDRM them by adding the Kindle’s serial number to the plugin customization.

                    • I bought a cheap, older model paper-white Kindle only because people said I could use it to get non-DRM copies of books I buy. I opened the book I was having troubles with. It is a .kfx book. I opened it in Calibre, and it created a KFX-ZIP version which Calibre could not open nor convert. Wasted my money.

                    • You need to enter its serial number into the plugin. To get a non-kfx file, you need to download from the website for “transfer via usb” and choose that Kindle as the device.

                    • I found the serial number on my Paperwhite Kindle, and then opened Calibre and found the plugin “KFX input (1.12.1) by jhowell”, and selected “Customize plugin”. It replied that it does not need customization.

                      I suspect that “/Volumes/Kindle/documents/Knife Children (The Sharing Knife series)_B07N4854NX.kfx/Knife Children (The Sharing Knife series)_B07N4854NX.kfx” may be the same file that I would the 64 bit version of Kindle for Mac downloads.

                      At any rate, loading it into Calibre doesn’t remove the DRM.

                    • Serial number goes in the DeDRM plugin. Customize plugin > eInk Kindle ebooks > click the green plus sign. Easiest way to get it in there correctly is to copy and paste it from https://www.amazon.com/mycd (removing any spaces). If your Paperwhite is running firmware 5.10.2 or newer, then you will not be able to use the books from the device itself. Get them from the My Content and Devices page for “Download & transfer via USB” and choose this Kindle for the device.

                    • “I opened the book I was having troubles with.

                      It is a .kfx book. I opened it in Calibre, and it created a KFX-ZIP version which Calibre could not open nor convert. Wasted my money.”
                      Depends on what you did.
                      In Calibre the serial number of your Kindle must be configured by entering it into the Plugin DeDRM. If you just installed the Plugin or just entered the serial number of the Kindle, be sure to restart Calibre just to be on the safe site the change is functioning.

                      Most importantly you should download the ebook new, before trying to strip DRM. The Paperwhite must be linked to your account. If it is a first Generation Paperwhite you can copy the file from the Kindle and try to strip DRM. This first Generation does not load KFX. If it is a second Generation or later Paperwhite, it will get KFX Files most of the time, then you need to do the following:
                      Use your computer and with a browser go to http://amazon.com/myk Manage Your Content and Devices (within your account, login required).
                      There you see a list of your bought books and can download each book by clicking on the Button with (…) and chose “Download & transfer via USB”, you get a popup with a drop-down-list of possible devices linked to your account.
                      Be sure to chose the Kindle Paperwhite as a Device.

                      As of now you get an older format (not KFX), and can strip DRM if the ebook has DRM.
                      You should get a file like Booktitle.AZW3 If you get a file with a cryptic name and no ending or something like “download.file”, rename it to Booktitle.AZW . Import it in Calibre.
                      With Amazon DRM is for a device, so the serial number from the Kindle only serves as a key to ebooks downloaded for this Kindle. Also you can only DeDRM ebooks bought for your account, not other ones and not lent ebooks (Kindle Unlimited, Amazon Prime, Library).

                      If you followed all these steps and it still fails, a log is needed, to look into it what may be wrong.

                    • That looks better, I downloaded an .azw3 to my Mac to be transferred to my paperwhite Kindle. I can load it to my Calibre, but it is still DRM protected. I found the plug-in which mentions AZW3, which is “Catalog_EPUB_MOBI (1.0.0) by Greg Riker AZW3/EPUB/MOBI catalog generator”. I clicked on “Customize plugin”, but it did not need customization. I found the serial number on my PaperWhite, but don’t see what to do with it.

                    • You do not need any other plugin besides DeDRM for the non-KFX Amazon formats. This is the plugin you need to put your serial number into. In case you missed my other reply: Customize plugin > eInk Kindle ebooks > click the green plus sign. Easiest way to get it in there correctly is to copy and paste it from https://www.amazon.com/mycd (removing any spaces).

                    • The Plugins you mentioned are not for DeDRM, you have to download DeDRM from this Webpage, unzip the main file (and only the main file) and load the DeDRM Plugin. The Path from the unzipped main file look like this on my Computer:
                      DeDRM_tools_6.5.3 -> DeDRM_calibre_plugin -> DeDRM_plugin.zip
                      And beware the DeDRM_plugin.zip still has to be zipped for installation from within Calibre. After that you should restart Calibre (quit and start it again), then configure the DeDRM plugin and to be on the save side again restart Calibre (quit and start it again).

                      Then on adding the book to Calibre DeDRM should work. An already added book should be removed and added again, as DeDRM with Calibre only happens on import. Currently KFX ebooks from Amazon will most probably not work (again), stay away from them.

                      If all this fails, a log is needed with a description of your system setup (be it Windows or Mac) and your steps.
                      My advise if you are up to it, to configure a new user, install the needed programs and plugins new, login to Amazon and start with a fresh setup. This may seem like a hazzle of work, but it ensures that you get a clear sense of what to do and what may go wrong.

                      Also, a good test before using Calibre: you must be able to open the DRMed ebook in Kindle for Windows (or Mac) if it is from Amazon. Same goes for Kobo or Barnes & Nobles, that ensures that downloading works and you are logged into the right account with the right credentials.

                      If that does not work, if you cannot open the ebook on your computer with the program by the provider, there is nothing that DeDRM can do about it, the problem most probably lies elsewhere.

                    • My advice was to get a 3rd – 6th generation E-ink Kindle (Kindle Keyboard through first generation Paperwhite) in order to avoid KFX files all together. But you can still remove DRM from the older formats downloaded from the website. Post a log if you’re still having trouble after entering the Kindle’s serial number into the plugin and restarting calibre.

                  • You need to put the Kindle serial number into the configuration of the thing that is going to remove the DRM, the DeDRM plugin.

                    • Thanks. I found configurations for “elnk Kindle ebooks”, “Kindle for Android ebooks” “Kindle for Mac/PC ebooks”, and others that don’t mention Kindle. It was the first. Restarted Calibre and tested. It worked!

  16. Okay, I’m not sure if comments will be published later or if my comment was not published because it was too long due to the error log. So here’s just my question:

    I have the latest version of caliber (3.38.1) and DeDRM v6.6.1 and Kindle for PC 1.17.0 and KFX plugin 1.12.1.
    if i download a book from amazon and import it to caliber, i get the message “unable to convert this book is protected by drm.” what am I doing wrong?

    • Won’t be able to tell without the log. It’s probably caught in spam if there are two or more links. Cut out the links and try again or wait to see if gets recued from spam soon.

    • I’m having the exact same problem. I have no idea why there is apparently a NEW version of DRM, but my Calibre worked yesterday with no problem. Not so today. Frustrating.

  17. Well looks like B&N is at it again. They forced a password update when I tried to log in today and of course that broke Nook for PC. I get a error 1016. Ironically Nook study still work, but I didn’t have to log out/back in of that one. But my problem is Nook Study doesn’t show magazines, and I have a few subscriptions with B&N (they were cheaper combo deals than with Amazon). Which has been fine up till now.

    Is there another downloader out there?

    • Same thing happened to me yesterday. The Windows 8/10 Nook app worked, but I did need to sign out and sign back in to see my latest books. They still unlocked with the same key that worked for Nook for PC and Nookstudy. I think the Nook app does download magazines, but you still might have trouble DeDRMing them. The ebooks are in a hidden folder.

      • Well I have a old hardware nook I guess I will have to try get going it. It stopped working when they “upgraded” SSL last summer. While there is a update for the device I will have to reroot it after doing the update and I haven’t bothered since Nook for PC still worked (and I don’t want to change my tablet when I have it all set up like I want). Looks like that is out the window though now. 😦

  18. In re: DeDRM_tools_6.6.1.zip – apparently, there is an even newer version of DRM and this DeDRM_tools_6.6.1.zip doesn’t work on it. I’ve removed the plugin, reinstalled it. Rebooted Calibre, rebooted my laptop – still says no go.

  19. Just to say it again, Amazon changed something in the latest firmware for newer Kindles, KFX files copied from the Kindlesare currently showing up as KFX-ZIP when imported to Calibre and cannot be DeDRMed then.
    Kobo and Barnes&Nobles are also changing things, with Kobo sending out mails that they stop supporting Sony eReaders, I did not get a mail yet, although I my bought ebooks where moved from the Sony (US) shop to Kobo and I can still access them, but I am not sure I ever used my old Sony T1 to login to Kobo.
    So, DRM is a moving target, just so you are aware of that, that even without changes you see or made yourself, things may stop working. So far EPub with Adobe and older Kindle files are the most save bet.

  20. We have just upgraded our PC and I have to reinstall everything. I’m trying to download Python 2.7 from ActiveState but the Windows download page keeps timing out. Anyone know of an alternate safe location to download Python 2.7?

  21. No joy here trying to DeDRM some Nook books. In fact I can’t even get past the customization process. I input the required data into the form, then receive this error message: “Could not retrieve key. Check username, password and internet connectivity and try again.” Username, password, internet connection are fine. I can navigate to the B&N site and login manually just fine. At a loss for what to try next, no log file is created or at least I can’t find it if it is created.

    Ideas?

  22. I’ve got the same problem with the new B&N DRM. I can’t get the reader to work in Linux with Wine, though that may still be doable. But the other problem I have is that when I removed the DRM from library a while ago, I used an older version of the tool that tied a credit card number to the DRM. My hard disk crashed a few months ago and unfortunately, I didn’t have a recent backup that covered when I unlocked most of it.

    Does anyone know which versions of the DeDRM tool used a credit card key? I thought it was 6.2, but I tried that and 6.1 and both still use the newer email key… which doesn’t work at all.

  23. Well I thought I had got nook for PC going again. I posted a bit ago how they forced me to update my password, and they have new rules regarding what is a “allowed” password. As a result I couldn’t log into Nook for PC (at least I think that is the reason). Keeps giving me an error. People that hadn’t logged out of it yet reported still being able to sync their libraries and download books. That got me thinking perhaps I had a backup of the Nook For PC when I was logged in. Sure enough I did. I grabbed the ClientAPI.db from C:\Users\YOURusername\AppData\Roaming\Barnes & Noble\BNDesktopReader on a backup and it appeared to work. That is until I synced. No error but new magazine issues didn’t appear. :/

    Does anyone know if it stores the login information in two places? Perhaps the database of books in ClientAPI and the actual login info somewhere else?

    • As far as I can see, that is the only place Nook for PC stores its info.

      I was also forced to change my password, and Nook for PC is entirely cut off for me. On my Windows 8 machine, I logged out and cannot login again at all. On a Windows 7 laptop, I was still logged in with the old password, and I can’t sync or download anything.

      Nookstudy works fine on both machines. On one, I logged out and was able to login with the new password. On the other, I stayed logged in with the old password.

      With the Windows 8 Nook app, I had to log out and log back in with the new password before it would sync.

      Books from both Nookstudy and the Nook app can be DeDRMed with the same key I’ve had since they switched from credit card based keys back at the end of 2014.

  24. Hello, I’ve recently upgraded my PC to Windows 10. I’ve made sure that the DeDRM tool is installed in plugins, but somehow I still can’t convert a newly downloaded amazon book into a different format. The DeDRM tool is also up to date, and I am just puzzled… I try to convert the book and it just says “This book has DRM.” And failes to be viewed or converted into a different format.

    • If you’re using the latest version of Kindle for PC, that’s the issue. Go back to 1.24 or earlier and be sure to uncheck auto-updates even before uninstalling your current version.

  25. I fixed the problem everyone is having. I had deDRmed many with this plugin from Amazon & Play Store.
    I had downloaded the .acsm file in browser from my Play store (3 … dots menu: download epub)
    Then with android Bluefire app, loaded .acsm which downloaded DRMed epub (bluefire folder in root of android)
    Bluefire asks you to login or register Adobe Digital Editions authorization
    So i just registered within bluefire and created an Adobe ID (your id is the email you register & password what you set)

    On windows I just could not deDRM epub i had downloaded to my android, on my new Windows laptop (Dell XPS 13 i7), read many messages here.

    FIX:
    So i installed Adobe Digital Edtiions on Windows
    Logged in with same email & password i setup on Bluefire
    imported the DRMed epub, opened it in Adobe Digital Editions to read
    imported the .acsm file, imported it too again fine to read in Adobe Digi Edition
    imported the same DRMed epub was giving me trouble into Calibre AND IT WORKED, opened it in viewer to read.
    Exported as deDRM version to new epub with alf’s deDRM plugin

    NOTE YOU DO NOT REALLY NEED TO USE ANDROID OR BLUEFIRE
    Just install Adobe Digital Editions for Windows (has mac too)
    Register ana ccount with any old or new email, email is you rlogin id
    Log into your play or amazon and download .acsm or .epub or .mobi
    log into Adobe Digital Editions, and Drag and drop .acsm or .epub or .mobi into it opens it fine to read
    Then install alf’s deDRM plugin for calibre (i tried both current and previous, both work)
    Darg and drop your epub or mobi into Calibre & double click and it opens it fine, now convert as new deDRMed epub

    I do not know if importing the .acsm file into Adobe Digital Editions for windows was necessary.
    I think just importing epub or mobi into it might do the trick.

    So just install Adobe Digital Editions for windows and create an account to use it and import ebook into it and then exit and try with calibre, should work.

    I never had this trouble before on my older laptop converting many ebooks I bought on amazon or Play stores.

    Good luck.

  26. Dear all, I installed DeDRM_tools_6.6.1.zip from https://github.com/apprenticeharper/DeDRM_tools/releases. This is the latest version.

    I then followed the 9 steps listed in https://apprenticealf.wordpress.com/2012/09/10/calibre-plugins-the-simplest-option-for-removing-most-ebook-drm/ to install ApprenticeAlf’s DeDRM plugin inside my Calibre.

    Because I’m on Linux (Linux Mint 19.1, Cinnamon), I need to do additional things, as found in http://will.tip.dhappy.org/lib/calibre/dedrm/DeDRM_Kindle%20for%20Mac%20and%20PC%20Key_Help.htm . The relevant section says:

    [QUOTE]Linux Users: WINEPREFIX

    Under the list of keys, Linux users will see a text field labeled “WINEPREFIX”. If you are use Kindle for PC under Wine, and your wine installation containing Kindle for PC isn’t the default Wine installation, you may enter the full path to the correct Wine installation here. Leave blank if you are unsure.
    [/QUOTE]

    I need to tell the DeDRM plugin the path to Wine installation. Because I used playonlinux to run/install KindleForPC, the location of my KindleForPC program is different. The main Kindle folder on my Linux is at
    /home/droopy/PlayOnLinux’s virtual drives/KindleForPC/drive_c/Program Files (x86)/Amazon/Kindle .

    Based on this location, what exactly should I type into the blank?

  27. I’ve got the latest version of the DeDRM plug-in installed in the latest version of Calibre but suddenly I can’t DeDRM books from the Amazon Kindle app for MacOS. I ran the terminal command (chmod -x /Applications/Kindle.app/Contents/MacOS/renderer-test) prior to downloading titles as specified (https://www.mobileread.com/forums/showthread.php?t=283371) but that doesn’t seem to be working. Has anyone else been having issues lately?

  28. Help! I’ve been using these fabulous tools for a few years with Calibre with no problems. Suddenly it doesn’t work and the DRM stays on the file. I redownloaded the deDrm files, and then noticed a little note on the readme.txt that the newer version of ADE has a new DRM method — and I had recently installed the updated ADE (big mistake!!). I have since uninstalled and I’m back to ADE 2.0 (although 3.0 was working fine before). And I reinstalled the plugin to Calibre just to be sure, and still it doesn’t work. It seems as though the ADE4.0 is haunting my computer somewhere. Is there somewhere else I should be looking to find some hidden ADE files?

  29. I did all this, and yet the problem continues. I’ve cleaned out everything in ADE, and cleaned out the registry, and I’ve deleted any books that might have been downloaded while this was going on, and yet still no luck. I’m cursing (quite loudly and enthusiastically) the fact that I was ever lured into updating ADE!!!! Until I did that, everything was fine.

  30. I was having a lot of trouble with the authorizing — but now — hallelujah! — don’t know what I did exactly. I reinstalled the plugin (third time today), and didn’t do anything more to ADE, but suddenly it’s working!! Just don’t want to touch anything else now, of course. This (the dedrm) is the best thing I ever found for the computer, so I’m just thrilled that it’s back to normal. Thanks for your help Laura!!

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.