I'm trying to dedrm a book to install it on a jailbroken kindle, using a macbook air with M3 chip and Calibre.
ApplicationPaletteChange event ignored
Using calibre Qt style: True
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
calibre Log di debug
calibre 7.19 embedded-python: True
macOS-26.5.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '25.5.0', 'Darwin Kernel Version 25.5.0: Mon Apr 27 20:40:51 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T8112')
Python 3.11.5
OSX: ('26.5.1', ('', '', ''), 'arm64')
Interface language: it
EXE path: /Applications/calibre.app/Contents/MacOS/calibre-debug
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 33, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 33, 0) && KFX metadata reader (from KFX Input) (2, 33, 0) && From KFX (2, 33, 0) && KFX Input (2, 33, 0)
calibre 7.19 embedded-python: True
macOS-26.5.1-arm64-arm-64bit Darwin ('64bit', '')
('Darwin', '25.5.0', 'Darwin Kernel Version 25.5.0: Mon Apr 27 20:40:51 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T8112')
Python 3.11.5
OSX: ('26.5.1', ('', '', ''), 'arm64')
Interface language: it
EXE path: /Applications/calibre.app/Contents/MacOS/calibre-debug
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (2, 33, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 33, 0) && KFX metadata reader (from KFX Input) (2, 33, 0) && From KFX (2, 33, 0) && KFX Input (2, 33, 0)
QPA platform: cocoa
devicePixelRatio: 2.0
logicalDpi: 72.0 x 72.0
physicalDpi: 128.5000019298764 x 128.5000019298764
[0.00] Starting up...
[0.14] Showing splash screen...
[1.31] splash screen shown
[1.31] Initializing db...
[1.32] db initialized
[1.32] Constructing main UI...
Loaded cached store plugin for: Amazon ES Kindle at version: 16
Loaded cached store plugin for: Amazon FR Kindle at version: 17
Loaded cached store plugin for: Amazon IT Kindle at version: 17
Loaded cached store plugin for: Baen Ebooks at version: 3
Loaded cached store plugin for: Beam EBooks DE at version: 5
Loaded cached store plugin for: Библио.бг at version: 3
Loaded cached store plugin for: Barnes and Noble at version: 5
Loaded cached store plugin for: Bubok Portugal at version: 3
Loaded cached store plugin for: Bubok Spain at version: 3
Loaded cached store plugin for: Моята библиотека at version: 3
Loaded cached store plugin for: eBook.nl at version: 3
Loaded cached store plugin for: Ebookpoint at version: 10
Loaded cached store plugin for: eBooks.com at version: 6
Loaded cached store plugin for: Empik at version: 11
Loaded cached store plugin for: Project Gutenberg at version: 10
Loaded cached store plugin for: Kobo at version: 16
Loaded cached store plugin for: Legimi at version: 13
Loaded cached store plugin for: ebook.de at version: 9
Loaded cached store plugin for: Publio at version: 10
Loaded cached store plugin for: RW2010 at version: 2
Loaded cached store plugin for: Smashwords at version: 7
Loaded cached store plugin for: Virtualo at version: 13
Loaded cached store plugin for: Weightless Books at version: 2
Loaded cached store plugin for: Woblink at version: 16
Loaded cached store plugin for: Wolne Lektury at version: 6
[1.93] GUI main window shown
[1.96] main UI initialized...
[1.96] Hiding splash screen
[1.98] splash screen hidden
[1.98] Started up in 1.98 seconds with 13 books
Gather KFX-ZIP (from KFX Input) 2.33.0: Importing /Users/massimotore/Desktop/Il cervello dell'adolescente_ Com'è e come cambia la mente dei nostri ragazzi_B0BBW9FLX6.kfx
Gather KFX-ZIP (from KFX Input): Cannot locate some files needed for the book. KFX files must remain in their original folder structure for successful import.
Gather KFX-ZIP (from KFX Input): Gathered 1 file(s) as /var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/n4v1svge.kfx-zip
DeDRM v10.0.9: Trying to decrypt n4v1svge.kfx-zip
Decrypting KFX-ZIP ebook: n4v1svge
Found 1 keys to try after 0.3 seconds
DeDRM v10.0.9: Failed to decrypt with error: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Looking for new default Kindle Key after 0.3 seconds
No k4Mac kindle-info/rainier/kinf2011 files have been found.
DeDRM v10.0.9: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/k4mobidedrm.py", line 203, in GetDecryptedBook
mb.processBook(totalpids)
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/kfxdedrm.py", line 67, in processBook
self.decrypt_voucher(totalpids)
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/kfxdedrm.py", line 88, in decrypt_voucher
raise Exception("The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher")
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1030, in run
decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.dedrm.__init__", line 981, in KindleMobiDecrypt
raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.9: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Package KFX (from KFX Input) 2.33.0: Packaging /var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/n4v1svge.kfx-zip
Processing container: Il cervello dell'adolescente_ Com'è e come cambia la mente dei nostri ragazzi_B0BBW9FLX6.kfx
Running file type plugin Package KFX (from KFX Input) failed with traceback:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.kfx_input.package_filetype", line 23, in run
return self.package_kfx(path_to_ebook)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.kfx_input.package_filetype", line 34, in package_kfx
kfx_data = YJ_Book(path_to_ebook).convert_to_single_kfx()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 79, in convert_to_single_kfx
self.decode_book()
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 215, in decode_book
container = self.get_container(datafile)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 339, in get_container
raise KFXDRMError("Book container %s has DRM and cannot be converted" % datafile.name)
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container Il cervello dell'adolescente_ Com'è e come cambia la mente dei nostri ragazzi_B0BBW9FLX6.kfx has DRM and cannot be converted
KFX metadata reader (from KFX Input) activated for /var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/quwnabfo_add_books/0/Il cervello dell'adolescente_ Com'è e come cambia la mente dei nostri ragazzi_B0BBW9FLX6.kfx-zip
Traceback (most recent call last):
File "calibre/customize/ui.py", line 481, in get_file_type_metadata
File "calibre_plugins.kfx_input.metadata_reader", line 28, in get_metadata
md = YJ_Book(stream).get_metadata()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 152, in get_metadata
raise Exception("Failed to locate a KFX container with metadata")
Exception: Failed to locate a KFX container with metadata
Added Il cervello dell'adolescente Com'è e come cambia la mente dei nostri ragazzi B0BBW9FLX6 to db in: 0.0
Added 1 books in 0.8 seconds
QDesktopServices::openUrl() failed for url: PyQt6.QtCore.QUrl("file:///Users/massimotore/Biblioteca di calibre/Sconosciuto/Il cervello dell'adolescente Com'e e come cambia la mente dei nostri ragazzi B0BBW9FLX6 (18)/Il cervello dell'adolescente Com'e e come - Sconosciuto.kfx-zip")
Failed to request permission for showing notification: The operation couldn’t be completed. (UNErrorDomain error 1.)
Unable to open device <calibre.devices.kindle.driver.KINDLE2 object at 0x113edc7d0>
Traceback (most recent call last):
File "calibre/devices/usbms/device.py", line 728, in open
File "calibre/devices/usbms/device.py", line 393, in open_osx
File "calibre/devices/usbms/device.py", line 382, in osx_bsd_names
File "calibre/devices/usbms/device.py", line 341, in _osx_bsd_names
calibre.devices.errors.DeviceError: Could not detect BSD names for Kindle 2/3/4/Touch/PaperWhite/Voyage Device Interface. Try rebooting.
Output from osx_get_usb_drives():
[]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/gui2/device.py", line 251, in do_connect
File "calibre/devices/usbms/device.py", line 731, in open
File "calibre/devices/usbms/device.py", line 393, in open_osx
File "calibre/devices/usbms/device.py", line 382, in osx_bsd_names
File "calibre/devices/usbms/device.py", line 341, in _osx_bsd_names
calibre.devices.errors.DeviceError: Could not detect BSD names for Kindle 2/3/4/Touch/PaperWhite/Voyage Device Interface. Try rebooting.
Output from osx_get_usb_drives():
[]
Connect to device failed, retrying in 5 seconds...
Worker Launch took: 0.02 seconds
Job: 0 Converti libro 1 di 1 (Il cervello dell'adolescente Com'è e come cambia la mente dei nostri ragazzi B0BBW9FLX6) finished
Converti libro 1 di 1 (Il cervello dell'adolescente Com'è e come cambia la mente dei nostri ragazzi B0BBW9FLX6)
DeDRM v10.0.9: Trying to decrypt o5_t_n4x.kfx-zip
Decrypting KFX-ZIP ebook: o5_t_n4x
Found 1 keys to try after 0.3 seconds
DeDRM v10.0.9: Failed to decrypt with error: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Looking for new default Kindle Key after 0.3 seconds
No k4Mac kindle-info/rainier/kinf2011 files have been found.
DeDRM v10.0.9: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/k4mobidedrm.py", line 203, in GetDecryptedBook
mb.processBook(totalpids)
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/kfxdedrm.py", line 67, in processBook
self.decrypt_voucher(totalpids)
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/kfxdedrm.py", line 88, in decrypt_voucher
raise Exception("The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher")
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1030, in run
decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.dedrm.__init__", line 981, in KindleMobiDecrypt
raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.9: Ultimately failed to decrypt after 0.3 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Conversion options changed from defaults:
read_metadata_from_opf: '/var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/06xzxa3v.opf'
verbose: 2
output_profile: 'kindle_pw3'
Resolved conversion options
calibre version: 7.19.0
{'add_alt_text_to_img': False,
'allow_conversion_with_errors': False,
'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
"'i')) or @class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': None,
'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': '',
'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 0x11265e150>,
'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,
'mobi_toc_at_start': False,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.KindlePaperWhite3Output object at 0x1126692d0>,
'page_breaks_before': '/',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': '/var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/06xzxa3v.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': '',
'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': '[]',
'transform_html_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
DeDRM v10.0.9: Trying to decrypt o5_t_n4x.kfx-zip
Decrypting KFX-ZIP ebook: o5_t_n4x
Found 1 keys to try after 0.0 seconds
DeDRM v10.0.9: Failed to decrypt with error: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
DeDRM v10.0.9: Looking for new default Kindle Key after 0.0 seconds
No k4Mac kindle-info/rainier/kinf2011 files have been found.
DeDRM v10.0.9: Ultimately failed to decrypt after 0.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
Running file type plugin DeDRM failed with traceback:
Traceback (most recent call last):
File "calibre_plugins.dedrm.__init__", line 931, in KindleMobiDecrypt
book = k4mobidedrm.GetDecryptedBook(path_to_ebook,kindleDatabases,androidFiles,serials,pids,self.starttime)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/k4mobidedrm.py", line 203, in GetDecryptedBook
mb.processBook(totalpids)
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/kfxdedrm.py", line 67, in processBook
self.decrypt_voucher(totalpids)
File "/Users/massimotore/Library/Preferences/calibre/plugins/DeDRM.zip/kfxdedrm.py", line 88, in decrypt_voucher
raise Exception("The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher")
Exception: The .kfx-zip archive contains an encrypted DRMION file without a DRM voucher
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre/customize/ui.py", line 199, in _run_filetype_plugins
File "calibre_plugins.dedrm.__init__", line 1030, in run
decrypted_ebook = self.KindleMobiDecrypt(path_to_ebook)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.dedrm.__init__", line 981, in KindleMobiDecrypt
raise DeDRMError("{0} v{1}: Ultimately failed to decrypt after {2:.1f} seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md".format(PLUGIN_NAME, PLUGIN_VERSION,time.time()-self.starttime))
calibre_plugins.dedrm.DeDRMError: DeDRM v10.0.9: Ultimately failed to decrypt after 0.0 seconds. Read the FAQs at noDRM's repository: https://github.com/noDRM/DeDRM_tools/blob/master/FAQs.md
InputFormatPlugin: KFX Input running
on /var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/o5_t_n4x.kfx-zip
Software versions: KFX Input 2.33.0, calibre 7.19, macOS-26.5.1-arm64-arm-64bit
KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290
Converting /var/folders/cy/wpn5j8fj7x19y1wgm5hrv_k00000gn/C/calibre_7.19.0_tmp_txygw39d/o5_t_n4x.kfx-zip
Processing container: Il cervello dell'adolescente_ Com'è e come cambia la mente dei nostri ragazzi_B0BBW9FLX6.kfx
Traceback (most recent call last):
File "calibre_plugins.kfx_input.__init__", line 96, in convert
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 215, in decode_book
File "calibre_plugins.kfx_input.kfxlib.yj_book", line 339, in get_container
calibre_plugins.kfx_input.kfxlib.utilities.KFXDRMError: Book container Il cervello dell'adolescente_ Com'è e come cambia la mente dei nostri ragazzi_B0BBW9FLX6.kfx has DRM and cannot be converted
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "runpy.py", line 198, in _run_module_as_main
File "runpy.py", line 88, in _run_code
File "site.py", line 42, in <module>
File "site.py", line 38, in main
File "calibre/utils/ipc/worker.py", line 215, in main
File "calibre/gui2/convert/gui_conversion.py", line 38, in gui_convert_override
File "calibre/gui2/convert/gui_conversion.py", line 25, in gui_convert
File "calibre/ebooks/conversion/plumber.py", line 1129, in run
File "calibre/customize/conversion.py", line 245, in __call__
File "calibre_plugins.kfx_input.__init__", line 117, in convert
calibre.ebooks.DRMError: This book has DRM!
Question / bug report
I'm trying to dedrm a book to install it on a jailbroken kindle, using a macbook air with M3 chip and Calibre.
Which version of Calibre are you running?
7.19.0
Which version of the DeDRM plugin are you running?
v10.0.9
If applicable, which version of the Kindle software are you running?
kindle 11 paperwhite
Log output