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

4,573 thoughts on “DRM Removal Tools for eBooks

  1. Hi there,
    While trying to convert a kindle to a pdf file in calibre, I get this error:

    calibre, version 3.26.1 (win32, embedded-python: True)
    Erreur lors de la conversion: Échoué: Conversion du livre 1 sur 1 (Pschyrembel Klinisches Wörterbuch (German Edition))

    Conversion du livre 1 sur 1 (Pschyrembel Klinisches Wörterbuch (German Edition))
    C:\Program Files (x86)\Calibre2\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode – interpreting them as being unequal
    Conversion options changed from defaults:
    output_profile: ‘generic_eink’
    cover: u’C:\Users\GUILLA~1\AppData\Local\Temp\calibre_doxqao\ls7zgq.jpeg’
    verbose: 2
    read_metadata_from_opf: u’C:\Users\GUILLA~1\AppData\Local\Temp\calibre_doxqao\psbre9.opf’
    Resolved conversion options
    calibre version: 3.26.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\GUILLA~1\AppData\Local\Temp\calibre_doxqao\ls7zgq.jpeg’,
    ‘custom_size’: None,
    ‘debug_pipeline’: None,
    ‘dehyphenate’: True,
    ‘delete_blank_paragraphs’: True,
    ‘disable_font_rescaling’: False,
    ‘duplicate_links_in_toc’: False,
    ’embed_all_fonts’: False,
    ’embed_font_family’: None,
    ‘enable_heuristics’: False,
    ‘expand_css’: False,
    ‘extra_css’: 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 0x07254BF0>,
    ‘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,
    ‘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,
    ‘no_chapters_in_toc’: False,
    ‘no_inline_navbars’: False,
    ‘output_profile’: <calibre.customize.profiles.GenericEink object at 0x07254DF0>,
    ‘page_breaks_before’: u”//*[name()=’h1′ or name()=’h2′]”,
    ‘paper_size’: u’letter’,
    ‘pdf_add_toc’: False,
    ‘pdf_default_font_size’: 20,
    ‘pdf_footer_template’: None,
    ‘pdf_header_template’: None,
    ‘pdf_hyphenate’: False,
    ‘pdf_mark_links’: False,
    ‘pdf_mono_family’: u’Liberation Mono’,
    ‘pdf_mono_font_size’: 16,
    ‘pdf_page_margin_bottom’: 72.0,
    ‘pdf_page_margin_left’: 72.0,
    ‘pdf_page_margin_right’: 72.0,
    ‘pdf_page_margin_top’: 72.0,
    ‘pdf_page_numbers’: False,
    ‘pdf_sans_family’: u’Liberation Sans’,
    ‘pdf_serif_family’: u’Liberation Serif’,
    ‘pdf_standard_font’: u’serif’,
    ‘pdf_use_document_margins’: False,
    ‘prefer_metadata_cover’: False,
    ‘preserve_cover_aspect_ratio’: False,
    ‘pretty_print’: False,
    ‘pubdate’: None,
    ‘publisher’: None,
    ‘rating’: None,
    ‘read_metadata_from_opf’: u’C:\Users\GUILLA~1\AppData\Local\Temp\calibre_doxqao\psbre9.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,
    ‘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’: ‘[]’,
    ‘uncompressed_pdf’: False,
    ‘unit’: u’inch’,
    ‘unsmarten_punctuation’: False,
    ‘unwrap_lines’: True,
    ‘use_auto_toc’: False,
    ‘use_profile_size’: False,
    ‘verbose’: 2}
    Python function terminated unexpectedly
    No embedded PDF found in AZW4 file (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 195, in main
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 33, in gui_convert_override
    File “site-packages\calibre\gui2\convert\gui_conversion.py”, line 26, in gui_convert
    File “site-packages\calibre\ebooks\conversion\plumber.py”, line 1073, in run
    File “site-packages\calibre\ebooks\azw4\reader.py”, line 24, in unwrap
    ValueError: No embedded PDF found in AZW4 file

    What’s the problem here?

    Thank you very much for any help!

    • DRM removal happens on adding the book to calibre, not during conversion. We’d need to see a log of adding the book to find out whether that’s the issue here. This conversion log doesn’t say the problem is DRM, but it could be. Can you open it in the calibre viewer? If so, try using the Kindle Unpack plugin to extract the PDF. If not, post an import log:

      https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md#i-cannot-solve-my-problem-with-the-dedrm-plugin-and-now-i-need-to-post-a-log-how-do-i-do-that

      • Hi!
        Thank you for your help.
        Actually, I tried several things to convert this book, including using Kindle for PC version 1.17. With this version I get the book in azw4 format, if I use the current version Kindle for PC, I get the azw format. In both cases, the book gets imported very quick although it contains a lot of pages and I can open the book only in Kindle for PC.

        Here is the import log:

        calibre Journal de débogage
        calibre 3.26.1 embedded-python: True is64bit: False
        Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
        32bit process running on 64bit windows
        (‘Windows’, ’10’, ‘10.0.17134’)
        Python 2.7.12+
        Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: fr
        Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 4, 0) && DeDRM (6, 6, 1) && Package KFX File Type (from KFX Input) (1, 4, 0) && KFX metadata reader (from KFX Input) (1, 4, 0) && KFX Input (1, 4, 0) && KindleUnpack – The Plugin (0, 81, 5)
        calibre 3.26.1 embedded-python: True is64bit: False
        Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
        32bit process running on 64bit windows
        (‘Windows’, ’10’, ‘10.0.17134’)
        Python 2.7.12+
        Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
        Interface language: fr
        Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 4, 0) && DeDRM (6, 6, 1) && Package KFX File Type (from KFX Input) (1, 4, 0) && KFX metadata reader (from KFX Input) (1, 4, 0) && KFX Input (1, 4, 0) && KindleUnpack – The Plugin (0, 81, 5)
        Turning on automatic hidpi scaling
        devicePixelRatio: 1.0
        logicalDpi: 96.0 x 96.0
        physicalDpi: 81.5518394649 x 81.6428571429
        Using calibre Qt style: True
        [0.00] Starting up…
        [0.00] Showing splash screen…
        [0.09] splash screen shown
        [0.09] Initializing db…
        [0.11] db initialized
        [0.11] Constructing main UI…
        [1.81] main UI initialized…
        [1.81] Hiding splash screen
        [12.56] splash screen hidden
        [12.56] Started up in 12.56 seconds with 6 books
        stdout+stderr from file dialog helper: [”, ”]
        piped data from file dialog helper: [“\xf1\xdb\xbc\xc8\x9a\xcfPx\xeb2J\x0bBj}\xe9\x8a[\x07_Xag\x86,’;\xaa\x97u, “, ‘D:\Data\My Kindle Content\B075F91JDK_EBOK.azw4’]
        DeDRM v6.6.1: Trying to decrypt B075F91JDK_EBOK.azw4
        Using Library AlfCrypto Python
        MobiDeDrm v0.42.
        Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
        Decrypting Mobipocket 4 ebook: Pschyrembel Klinisches Wörterbuch (German Edition)
        Got DSN key from database default_key
        Found 4 keys to try after 0.4 seconds
        Crypto Type is: 2
        DeDRM v6.6.1: Failed to decrypt with error: No key found in 4 keys tried.
        DeDRM v6.6.1: Looking for new default Kindle Key after 0.4 seconds
        searching for kinfoFiles in C:\Users\Guilla\AppData\Local
        Found K4PC 1.9+ kinf2011 file: C:\Users\Guilla\AppData\Local\Amazon\Kindle\storage.kinf2011
        Decrypted key file using IDString ‘4262412010’ and UserName ‘4775696c6c61756d65’
        DeDRM v6.6.1: Found 1 new key
        MobiDeDrm v0.42.
        Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
        DeDRM v6.6.1: Ultimately failed to decrypt after 0.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        Running file type plugin DeDRM failed with traceback:
        Traceback (most recent call last):
        File “site-packages\calibre\customize\ui.py”, line 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.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
        C:\Program Files (x86)\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 Pschyrembel Klinisches Wörterbuch (German Edition) to db in: 3.5
        Added 1 books in 4.6 seconds

        Thanks again.

  2. Hi. I went through every step and get the same problem:

    calibre Journal de débogage
    calibre 3.26.1 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: fr
    Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 4, 0) && DeDRM (6, 6, 1) && Package KFX File Type (from KFX Input) (1, 4, 0) && KFX metadata reader (from KFX Input) (1, 4, 0) && KFX Input (1, 4, 0) && KindleUnpack – The Plugin (0, 81, 5)
    calibre 3.26.1 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘Windows’, ’10’, ‘10.0.17134’)
    Python 2.7.12+
    Windows: (’10’, ‘10.0.17134’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: fr
    Successfully initialized third party plugins: Gather KFX-ZIP File Type (from KFX Input) (1, 4, 0) && DeDRM (6, 6, 1) && Package KFX File Type (from KFX Input) (1, 4, 0) && KFX metadata reader (from KFX Input) (1, 4, 0) && KFX Input (1, 4, 0) && KindleUnpack – The Plugin (0, 81, 5)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 81.5518394649 x 81.6428571429
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.98] main UI initialized…
    [1.98] Hiding splash screen
    [6.02] splash screen hidden
    [6.02] Started up in 6.02 seconds with 6 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘@\xef\xbb\x88-\xdb\xa0p\xf8\x03u\x04\x90\xa1\xc6\x9f\xbd\xb4\xaa\xb8J\xef\x85\xdb\xa1W\x15\xc1\xd5L}s’, ‘D:\Data\My Kindle Content\B075F91JDK_EBOK.azw4’]
    DeDRM v6.6.1: Trying to decrypt B075F91JDK_EBOK.azw4
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Mobipocket 4 ebook: Pschyrembel Klinisches Wörterbuch (German Edition)
    Got DSN key from database default_key
    Found 4 keys to try after 0.4 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 4 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.4 seconds
    searching for kinfoFiles in C:\Users\Guilla\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\Guilla\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘4262412010’ and UserName ‘4775696c6c61756d65’
    DeDRM v6.6.1: Found 1 new key
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    DeDRM v6.6.1: Ultimately failed to decrypt after 0.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Running file type plugin DeDRM failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 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.5 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    C:\Program Files (x86)\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 Pschyrembel Klinisches Wörterbuch (German Edition) to db in: 1.8
    Added 1 books in 2.8 seconds

  3. If you’re retrieving your books from the Android NOOK app, the decryption key can be retrieved from “/data/data/bn.ereader/databases/cchashdata.db” on a rooted Android device.

    To get the file using adb, connect your device and type “adb root” in your Windows/Linux/whatever command prompt. Then type “adb pull /data/data/bn.ereader/databases/cchashdata.db”. Once you have the file, use the sqlite3 command line tool to retrieve the key. Type “sqlite3 cchashdata.db”. At the database prompt, enter “select hash from cc_hash_data;”. Don’t forget the semicolon.

    • Is the key different from the one retrieved by URL (the way Nook for PC and the tools get it)? Or the one found in the Nookstudy log? Of course, those ways of finding the key will probably break soon.

  4. Hi trying to remove DRM no luck…

    calibre Debug log
    calibre 3.26.1 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘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, 1) && KFX Input (1, 0, 1)
    calibre 3.26.1 embedded-python: True is64bit: False
    Windows-10-10.0.17134-SP0 Windows (’32bit’, ‘WindowsPE’)
    32bit process running on 64bit windows
    (‘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, 1) && KFX Input (1, 0, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 93.9653179191 x 94.0740740741
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.02] Showing splash screen…
    [0.06] splash screen shown
    [0.06] Initializing db…
    [0.08] db initialized
    [0.08] Constructing main UI…
    [1.44] main UI initialized…
    [1.44] Hiding splash screen
    [8.28] splash screen hidden
    [8.28] Started up in 8.28 seconds with 0 books
    DeDRM v6.6.1: Trying to decrypt Understanding AC Circuits.pdf
    DeDRM v6.6.1: Understanding AC Circuits.pdf is a PDF ebook
    DeDRM v6.6.1: Looking for new default Adobe Digital Editions Keys after 0.0 seconds
    Found 1 keys
    DeDRM v6.6.1: Trying a new default key
    DeDRM v6.6.1: Exception when decrypting after 0.1 seconds
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.init“, line 475, in PDFDecrypt
    File “calibre_plugins.dedrm.ineptpdf”, line 2193, in decryptBook
    File “calibre_plugins.dedrm.ineptpdf”, line 1999, in init
    File “calibre_plugins.dedrm.ineptpdf”, line 1484, in initialize
    File “calibre_plugins.dedrm.ineptpdf”, line 1616, in initialize_ebx
    ADEPTError: error decrypting book session key
    DeDRM v6.6.1: Failed to decrypt with new default key after 0.1 seconds
    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 171, in _run_filetype_plugins
    File “calibre_plugins.dedrm.init“, line 628, in run
    File “calibre_plugins.dedrm.init“, line 503, in PDFDecrypt
    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
    Syntax Error: Couldn’t find the ‘EBX_HANDLER’ security handler
    pdfinfo errored out with return code: 1
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 427, in get_file_type_metadata
    File “site-packages\calibre\customize\builtins.py”, line 342, in get_metadata
    File “site-packages\calibre\ebooks\metadata\pdf.py”, line 115, in get_metadata
    ValueError: Could not read info dict from PDF
    Added Understanding AC Circuits to db in: 0.2
    Added 1 books in 1.0 seconds
    Exception TypeError: “‘NoneType’ object is not callable” in <bound method NativeFunction.__del__ of > ignored
    Exception TypeError: “‘NoneType’ object is not callable” in <bound method NativeFunction.__del__ of > ignored

  5. I’m using the DeDRM Windows Aplication, but it’s not working. I’ve followed all the step and I’m positive all the setups I downloaded for it to work are correct. When I drag the epub file that I got from Adobe ADE onto the drag-and-drop bat file, shows a cmd windows that appears and disappears in less then a second. I have a feeling that it didn’t work. I have no idea where the output file is supposed to be either.

    When I try to double click on the bat file, it runs and closes right after as well. I’ve tried running as admin and everything. Anyone know what I’m doing wrong?

  6. Wow. Someone is charging for a ripped off copy of Epubor, which is itself just a GUI wrapper around these tools and calibre.

  7. Hi, thanks for the great work. I did have some failures importing some of my older B&N library, but others made it through readable. The book in the log was added and deleted three times, and the final result is as follows:

    C:\Users\Dirk>calibre-debug -g
    calibre 3.26.1 [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
    DeDRM v6.1.0: In init
    DeDRM v6.1.0: In load_resources
    DeDRM v6.1.0: verdir C:\Users\Dirk\AppData\Roaming\calibre\plugins\DeDRM\6.1.0
    DeDRM v6.1.0: In initialize
    Successfully initialized third party plugins: DeDRM (6, 1, 0) && Barnes & Noble (1, 2, 15)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 81.5518394649 x 81.6428571429
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.11] splash screen shown
    [0.11] Initializing db…
    [1.06] db initialized
    [1.06] Constructing main UI…
    [5.02] main UI initialized…
    [5.02] Hiding splash screen
    [5.73] splash screen hidden
    [5.73] Started up in 5.73 seconds with 14909 books
    stdout+stderr from file dialog helper: [”, ”]
    piped data from file dialog helper: [‘\x12\x06\x8d\x80R\x9c\xa6D\xcd]lV\xb9Q\xf73\xb6\xab\xdc\x86\x06\xe2\x0b@_\xd2 \xfe\x90a\xdc\x10’, ‘C:\Users\Dirk\Documents\My Barnes & Noble eBooks\dirk@yachtpros.com\212elliehatcherserie_9780061986147.epub’]
    DeDRM v6.1.0: In init
    DeDRM v6.1.0: In load_resources
    DeDRM v6.1.0: verdir C:\Users\Dirk\AppData\Roaming\calibre\plugins\DeDRM\6.1.0
    DeDRM v6.1.0: In initialize
    DeDRM v6.1.0: Trying to decrypt 212elliehatcherserie_9780061986147.epub
    DeDRM v6.1.0: Verifying zip archive integrity
    DeDRM v6.1.0: “212elliehatcherserie_9780061986147.epub” is a secure Barnes & Noble ePub
    DeDRM v6.1.0: Trying Encryption key Nook
    Could not decrypt mkme9y.epub because of an exception:
    Traceback (most recent call last):
    File “calibre_plugins.dedrm.ignobleepub”, line 278, in decryptBook
    File “calibre_plugins.dedrm.ignobleepub”, line 209, in init
    File “calibre_plugins.dedrm.ignobleepub”, line 180, in init
    File “site-packages\Crypto\Cipher\AES.py”, line 95, in new
    File “site-packages\Crypto\Cipher\AES.py”, line 59, in init
    File “site-packages\Crypto\Cipher\blockalgo.py”, line 141, in init
    ValueError: Key cannot be the null string

    DeDRM v6.1.0: Failed to decrypt with key Nook after 0.1 seconds
    DeDRM v6.1.0: Ultimately failed to decrypt after 0.1 seconds.
    Read the FAQs at Alf’s blog: https://apprenticealf.wordpress.com/
    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 503, in run
    File “calibre_plugins.dedrm.init“, line 201, in ePubDecrypt
    DeDRMError: DeDRM v6.1.0: Ultimately failed to decrypt “212elliehatcherserie_9780061986147.epub” after 0.1 seconds.
    Read the FAQs at Alf’s blog: https://apprenticealf.wordpress.com/
    Added 212 with Bonus Material to db in: 1.7
    Added 1 books in 2.6 seconds
    Worker Launch took: 0.144999980927

    Now I’ll go read the FAQ;s it refers to at the bottom of the log 🙂

  8. I think I’m missing something. I installed the Calibre plug-in from the 6.6.1 release, but I see in the FAQ’s that after 6.2 there is a capability to use the B&N log in for later purchases (2014>) authentication, but it isn’t real clear how the email and password are best filled into the fields of the Key box, since the CC field accepts only numbers. Also a little confusing is the version number cited for the later account authentication, as the plug-in version is 6.1, although taken from the 6.6.1 distro. I suppose I’m expecting defined email and password fields in the plug-in.
    I read the bit about Calibre and/or the Plug-in not liking single book conversions, so that may be an issue, although the original issue I found was a batch of 13, initially, that was reduced by maybe half by de-selecting duplicates, and finding maybe half not successfully DeDRM’ed. Among the successful ones was one nook book acquired in 2015, and all 12 others from 2012. That raises two questions, for me, one being how to best fill the Key fields for email/password, and at what point in the que is the DeDrm plug-n susceptible to the low numbers glitch?

    • Yeah, that’s definitely not the current version of DeDRM. Left over from a previous install? I suggest removing that, restarting calibre, loading the current plugin, and restarting calibre again before trying to configure it.

  9. I have a kindle book that I have downloaded from amazon by choosing the “for transfer via USB” option. I am using Calibre with DeDRM 6.6.1. but it is not removing the DRM. Here is the log file:

    calibre Debug log
    calibre 3.27.1 [64bit] embedded-python: True is64bit: True
    Windows-8.1-6.3.9600-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ‘8.1’, ‘6.3.9600’)
    Python 2.7.12+
    Windows: (‘8.1’, ‘6.3.9600’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    calibre 3.27.1 [64bit] embedded-python: True is64bit: True
    Windows-8.1-6.3.9600-SP0 Windows (’64bit’, ‘WindowsPE’)
    (‘Windows’, ‘8.1’, ‘6.3.9600’)
    Python 2.7.12+
    Windows: (‘8.1’, ‘6.3.9600’, ‘SP0′, u’Multiprocessor Free’)
    Interface language: None
    Successfully initialized third party plugins: DeDRM (6, 6, 1)
    Turning on automatic hidpi scaling
    devicePixelRatio: 2.0
    logicalDpi: 72.0 x 72.0
    physicalDpi: 108.0 x 108.213017751
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.98] main UI initialized…
    [1.98] Hiding splash screen
    [31.83] splash screen hidden
    [31.83] Started up in 31.83 seconds with 1 books
    DeDRM v6.6.1: Trying to decrypt Hidden Empire_ The Saga of Seven Suns – Book 1.azw3
    Using Library AlfCrypto Python
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Hidden Empire: The Saga of Seven Suns – Book 1
    Found 0 keys to try after 0.1 seconds
    Crypto Type is: 2
    DeDRM v6.6.1: Failed to decrypt with error: No key found in 0 keys tried.
    DeDRM v6.6.1: Looking for new default Kindle Key after 0.1 seconds
    searching for kinfoFiles in C:\Users\robertgh\AppData\Local
    Found K4PC 1.9+ kinf2011 file: C:\Users\robertgh\AppData\Local\Amazon\Kindle\storage.kinf2011
    Decrypted key file using IDString ‘2729037672’ and UserName ‘726f626572746768’
    DeDRM v6.6.1: Found 1 new key
    MobiDeDrm v0.42.
    Copyright © 2008-2017 The Dark Reverser, Apprentice Harper et al.
    Decrypting Kindle Format 8 ebook: Hidden Empire: The Saga of Seven Suns – 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.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 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.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Added Hidden Empire: The Saga of Seven Suns – Book 1 to db in: 0.3
    Added 1 books in 1.3 seconds

    Please let me know what can be done to fix the problem.
    Thank you!

      • Can you walk me through how to enter the serial number into the plugin’s preferences? I am not sure if I did it right. This is what I did:

        In Calibre I chose Preferences>Plugins>File type plugins>DeDRM (6.6.1) I double clicked on this which opened the configuration menu. The only option that allowed me to enter a serial number was eInk Kindle Books. I entered the serial number in and saved everything. I then imported the book but DRM was not removed.

        When I looked at the help file under eInk Kindle Books it said that Fire HD does not use the serial number for DRM. My device is a Fire HD 6.

        • You need to have an E-ink Kindle (ie Paperwhite, Oasis…, not a Fire) to DeDRM books downloaded from the website. Otherwise, you can use Kindle for PC.

  10. Hi, On the high Sierra, it doesnt open the latest version.
    And the preview version 5.3.1, when I enter the Serial Numer for a Kindle, it says is wrong, it must be 16 digit and starting with B.
    Mine is 16 digit, but its not starting with B, and this is the serial from my kindle

    how do I manage?

  11. Please help! I’m trying to get the drm off of a newer amazon file, and the plugin just won’t install. I’m so annoyed. I want to share the book with my husband, but amazon won’t allow me to lend it. I don’t want his phone logged into my amazon account to access the book, because, honestly, who really wants to do that? Please help! — here’s the log from calibre:

    calibre, version 3.27.1
    ERROR: Unhandled exception: InvalidPlugin:The plugin in u’C:\Users\Tiffany Wright\Downloads\DeDRM_tools_6.6.1.zip’ is invalid. It does not contain a top-level init.py file

    calibre 3.27.1 [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: Gather KFX-ZIP File Type (from KFX Input) (1, 5, 0) && Package KFX File Type (from KFX Input) (1, 5, 0) && KindleUnpack – The Plugin (0, 81, 5) && KFX metadata reader (from KFX Input) (1, 5, 0) && KFX Input (1, 5, 0) && Kindle Collections (1, 7, 18) && Goodreads Sync (1, 12, 0)
    Traceback (most recent call last):
    File “site-packages\calibre\gui2\preferences\plugins.py”, line 317, in add_plugin
    File “site-packages\calibre\customize\ui.py”, line 471, in add_plugin
    File “site-packages\calibre\customize\ui.py”, line 60, in load_plugin
    File “site-packages\calibre\customize\zipplugin.py”, line 192, in load
    File “site-packages\calibre\customize\zipplugin.py”, line 290, in _locate_code
    InvalidPlugin: The plugin in u’C:\Users\Tiffany Wright\Downloads\DeDRM_tools_6.6.1.zip’ is invalid. It does not contain a top-level init.py file

  12. Hey Apprentice Alf!

    THANKYOU!THANKYOU!!THANKYOU!!!THANKYOU!!!! I was able to get ALL of my Kobo books (over 4,400) into Calibre and “convert” them and read them on my tablet in my favorite reading app!!!!!! I have been trying for a couple of YEARS to do this, so YOU ARE THE BESTEST OF THE BEST!!!!!!!

    Thank you again!!!!!!!

  13. Nook: DRM no longer converted with the July nook app update?

    B&N stopped PC & Mac Nook app support last week (July 7) : I used the NOX android emulator in root moot en copied my new bought book from /data/data/bn.ereader/files/books out of it: Calibre recognizes the title and the book yet when converting or opening it (installed 6,6.1) it still gives a drm error

    I replaced the key file tin the calibre plugin, eg deleted and re-entered my B&N user and pwd in 6.6.1 to no avail ;

    I tried to load older versions of the Android Nook app on Not yet EITHER they were not able to log in (like the PC/Mac apps) or the book file provided the same issue.

    Like most of you, I just want to read my books over multiple devices and e-reader / reader apps and have them in one library

    Please advice

    Lance

  14. Hello: I use the standalone DeDRM tool and had not upgraded for a while. I am now on mac sierra osx and first time upgrading alfs tool. I tried to upgrade DeDRM stand alone tool but it didnt work. No error message received. I installed it exactly like I have always done. Someone said it may be sierra gatekeeper stopping the new applications. I checked security and have it set to allow applications from unknown developers. Stil did not work. I read the FAQ on installing the standalone DEDRM tool and no mention for anything special for sierra osx. I put the old version back and it works no issue. So its an install issue with the new mac sierra osx i am thinking. Ideas? thankyou

  15. Using the mac standard alone dedrm tool 5.5.3. Is it possible to change the filename of the dedrm kindle file to include both ASIN and filename. In the older days the filename was ASIN. Then about a year ago I think, this changed to be filename. I would like it to include both if at all possible. Thankyou for yor help.

  16. Thanks for the tools! They’ve been invaluable for removing DRM from my Amazon purchases. You guys are the best.

    Is there a way to remove PDB DRM? I have quite a few older books I had on iSilo that I’d like to get into Calibre. If it can’t be done from within DeDRM, any suggestions?

    I know that DeDRM doesn’t work on Apple Fairplay. My current understanding is that I can use Requiem (need a much older version of iTunes) and some tweaking to make it work. Or ‘iBook Copy’ from iTunesKit…which gets VERY diverse reviews, so I am hesitant to pay for. Is there any hope that you guys will support the removal of Apple Fairplay in the future? Apparently, the code is out there to do it…would it be difficult to include in the ‘Tools?’ Or is there another reason?

    • There is a section in the DeDRM customization for eReader ebooks which were PDB files from Fictionwise (maybe other past stores too?). But you need to know the correct name and credit card number to unlock those. No idea about iSolo PDBs.

      I don’t think you can get the required version of iTunes working anymore…if you can even find an unmessed with copy of Requiem. That project was always completely separate from these tools and development on it ceased long ago.

      I’m sure Apprentice Harper (who maintains these tools) would include iBooks support if someone shared a tool for it. But he has limited time for even maintaining the tools.

      So as far as I know, the only option for DRMed iBooks are paid programs. No idea about them myself. But others who follow this blog might know.

  17. @Laura, “Doesn’t matter what file names you want to use.”
    Sorry I seem to have not explained what I am trying to do. I cannot get the current tool (upgraded) to generate the dedrm file with filename = ASIN_name of title. I can get the tool to generate the filename = ASIN OR filename = title of book. If you click the configuration option to save in same file then the dedrm standalone tool saves dedrm file with filename = ASIN. If you click teh configuration option to save the dedrm in your own desired direction, then the dedrm standalone tool saves the dedrm file with filename = title. I want both e.g. filename = ASIN_name of title. How do I do that?

  18. It seems that something go wrong? I can’t open the standalone app as it showed “The application “DeDRM” can’t be opened.” and period.
    What should I do?

  19. Okay, today I’m trying to import a book from my mom’s Kindle Fire. I added her device serial number to the plugin under eInk Kindle ebooks. Then I imported her book into Calibre and tried to convert the file type, but it stopped me because of the DRM on it.

    Since I’m trying to use a different device than usual (my mom’s Kindle)… is there anything else I’m supposed to do to get the plugin going? That’s the only thing different today than my usual setup.

  20. Hello,

    It seems my file met some problems in ‘Container’. Kindle for PC 1.21.0. Calibre 3.27.1. [64bit].

    calibre Debug log
    calibre 3.27.1 [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: 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) && KFX metadata reader (from KFX Input) (1, 5, 0) && KFX Input (1, 5, 0)
    calibre 3.27.1 [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: 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) && KFX metadata reader (from KFX Input) (1, 5, 0) && KFX Input (1, 5, 0)
    Turning on automatic hidpi scaling
    devicePixelRatio: 1.0
    logicalDpi: 96.0 x 96.0
    physicalDpi: 102.238993711 x 102.358208955
    Using calibre Qt style: True
    [0.00] Starting up…
    [0.00] Showing splash screen…
    [0.08] splash screen shown
    [0.08] Initializing db…
    [0.09] db initialized
    [0.09] Constructing main UI…
    [1.42] main UI initialized…
    [1.42] Hiding splash screen
    [70.61] splash screen hidden
    [70.61] Started up in 70.61 seconds with 18 books
    Gather KFX-ZIP File Type (from KFX Input) 1.5.0: Importing C:/Users/Gustav/Documents/My Kindle Content/B0189PTX1O_EBOK/B0189PTX1O_EBOK.azw
    Gather KFX-ZIP File Type (from KFX Input): Gathered 7 file(s) as C:\Users\Gustav\AppData\Local\Temp\calibre_84x6z5_tkbfs.kfx-zip
    DeDRM v6.6.1: Trying to decrypt _tkbfs.kfx-zip
    Using Library AlfCrypto Python
    Decrypting KFX-ZIP ebook: _tkbfs
    Got DSN key from database default_key
    Found 1 keys to try after 0.1 seconds
    Decrypting KFX DRM voucher: amzn1.drm-voucher.v1.c94dc0cb-ca85-47ca-9491-dbfcd34c9bfc.voucher
    KFX DRM voucher successfully decrypted
    Decrypting KFX DRMION: B0189PTX1O_EBOK.azw
    Decryption succeeded after 1.4 seconds
    DeDRM v6.6.1: Finished after 1.9 seconds
    Package KFX File Type (from KFX Input) 1.5.0: Packaging C:\Users\Gustav\AppData\Local\Temp\calibre_84x6z5\u1sumq.kfx-zip
    Processing container: B0189PTX1O_EBOK.azw
    Processing container: CR!64A70X82QD25F0CFTBTBGY1212NX.azw.res
    Processing container: CR!K7BW96HCT532DD4N4AC4VVHH4V68.azw.md
    Processing container: CR!ST8ANBP7TH21ZBD86RB9PJE854HB.azw.res
    Running file type plugin Package KFX File Type (from KFX Input) failed with traceback:
    Traceback (most recent call last):
    File “site-packages\calibre\customize\ui.py”, line 171, 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 53, in convert_to_single_kfx
    File “calibre_plugins.kfx_input.kfxlib.yj_book”, line 122, in decode_book
    File “calibre_plugins.kfx_input.kfxlib.kfx_container”, line 147, in deserialize
    Exception: Container (2454025 bytes) is not large enough for entity end (offset 2990793)
    KFX metadata reader (from KFX Input) activated for C:\Users\Gustav\AppData\Local\Temp\calibre_84x6z5\hqkgm0_add_books\0\B0189PTX1O_EBOK.kfx-zip
    Added The German Army in the Spring Offensives 1917: Arras, Aisne, & Champagne to db in: 0.5
    Added 1 books in 5.5 seconds

    Thanks once again.

    • It appears that one of the files that makes up the book is truncated, most likely due to a failed download. Try removing that book from Kindle for PC and then downloading it again.

  21. Unable to remove DRM from Kindle e-books on Calibre v3.27.1 with plugin installed.

    Tool: Not sure what this means. Installed DeDRM v6.6.1 plugin by Apprentice Alf.
    OS: Mac 10.13.6
    Ebook origin: Kindle for Mac v1.23.3
    ERROR: Could not open ebook: Unknown book type: ‘\x02\xa2\x81\xc4\xde\x02\x9d\x8c’

    Traceback (most recent call last):
    File “site-packages/calibre/gui2/viewer/main.py”, line 38, in run
    File “lib/python2.7/threading.py”, line 763, in run
    File “site-packages/calibre/ebooks/oeb/iterator/book.py”, line 99, in enter
    File “site-packages/calibre/customize/conversion.py”, line 241, in call
    File “site-packages/calibre/ebooks/conversion/plugins/mobi_input.py”, line 33, in convert
    File “site-packages/calibre/ebooks/mobi/reader/mobi6.py”, line 78, in init
    MobiError: Unknown book type: ‘\x02\xa2\x81\xc4\xde\x02\x9d\x8c’

    Traceback (most recent call last):
    File “site-packages/calibre/gui2/viewer/main.py”, line 38, in run
    File “lib/python2.7/threading.py”, line 763, in run
    File “site-packages/calibre/ebooks/oeb/iterator/book.py”, line 99, in enter
    File “site-packages/calibre/customize/conversion.py”, line 241, in call
    File “site-packages/calibre/ebooks/conversion/plugins/mobi_input.py”, line 33, in convert
    File “site-packages/calibre/ebooks/mobi/reader/mobi6.py”, line 78, in init
    MobiError: Unknown book type: ‘\x02\xa2\x81\xc4\xde\x02\x9d\x8c’

    ———Log:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    calibre Debug log
    calibre 2.22 isfrozen: True is64bit: True
    Darwin-17.7.0-x86_64-i386-64bit Darwin (’64bit’, ”)
    (‘Darwin’, ‘17.7.0’, ‘Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64’)
    Python 2.7.9
    OSX: (‘10.13.6’, (”, ”, ”), ‘x86_64’)
    Successfully initialized third party plugins: DeDRM && Obok DeDRM && Annotations && Reading List
    Starting up…
    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.5 obok::action_err.py – loading translations
    DEBUG: 0.0 Annotations::reader_app_support.py – loading translations
    DEBUG: 0.0 Annotations::common_utils.py – loading translations
    DEBUG: 0.0 Annotations::appearance.py – loading translations
    DEBUG: 0.0 Annotations::config.py – loading translations
    DEBUG: 0.0 Annotations::annotated_books.py – loading translations
    DEBUG: 0.2 Annotations::action.py – loading translations
    objc[4620]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fff92022c90) and /System/Library/PrivateFrameworks/FileProvider.framework/OverrideBundles/FinderSyncCollaborationFileProviderOverride.bundle/Contents/MacOS/FinderSyncCollaborationFileProviderOverride (0x115ba2cd8). One of the two will be used. Which one is undefined.
    DeDRM v6.6.1: Trying to decrypt B01KG5GQCY_EBOK.azw
    Using Library AlfCrypto DLL/DYLIB/SO
    DeDRM v6.6.1: Failed to decrypt with error: The .kfx DRMION file cannot be decrypted by itself. A .kfx-zip archive containing a DRM voucher is required.
    DeDRM v6.6.1: Looking for new default Kindle Key after 1.0 seconds
    Found k4Mac kinf2011 file: /Users/jojo/Library/Containers/com.amazon.Kindle/Data/Library/Application Support/Kindle/storage/.kinf2011
    Decrypted key file using IDString ‘6d8fb18d830c’ and UserName ‘jojo’
    DeDRM v6.6.1: Found 1 new key
    DeDRM v6.6.1: Ultimately failed to decrypt after 4.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 155, 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 4.1 seconds. Read the FAQs at Harper’s repository: https://github.com/apprenticeharper/DeDRM_tools/blob/master/FAQs.md
    Traceback (most recent call last):
    File “site-packages/calibre/customize/ui.py”, line 349, in get_file_type_metadata
    File “site-packages/calibre/customize/builtins.py”, line 273, in get_metadata
    File “site-packages/calibre/ebooks/metadata/mobi.py”, line 488, in get_metadata
    File “site-packages/calibre/ebooks/mobi/reader/headers.py”, line 273, in init
    File “site-packages/calibre/ebooks/mobi/reader/headers.py”, line 301, in identity
    MobiError: Unknown book type: Ńfiúå”
    Started up in 40.96 seconds with 5 books
    Added B01KG5GQCY EBOK to db in: 1.9
    Added 1 books in 22.9 seconds

Leave a Reply to alansplace Cancel 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 )

w

Connecting to %s