Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-07-2026, 04:45 PM   #1156
madelonw
Connoisseur
madelonw began at the beginning.
 
madelonw's Avatar
 
Posts: 76
Karma: 10
Join Date: May 2009
Location: FL
Device: A Couple of Kindles, an iPad, a Windows 11 PC, and a Pixel 9a phone
Of late I have seen no real updates to the KFX/KFX-ZIP situation. Every Kindle book added to Calibre (I am currently using Calibre 9.2.1, and I update every time an update is announced.) is now in KFX-ZIP format.

I use Calibre, to which I have added a number of columns, for tracking the books I read and especially those I read for review. The onboard reader allows me to open, read, and search books. I can't do any of those things if everything is in an unreadable format.

I am also noticing the new Pages feature cranks away on the KFX-ZIP books until it gives up and just puts 'error' in the column. What a waste of CPU time.

The issue is KFX-ZIP.

The issue is not counting pages, or any other function of Calibre.

I repeat—The issue is KFX-ZIP.

Not everyone who reads this thread is a programmer. I am not a programmer. I do have enough experience with computers to follow instructions on configurations and the like.

A clear explanation of the status of deDRMing KFX-ZIP is what is needed here.
madelonw is offline   Reply With Quote
Old 02-07-2026, 08:00 PM   #1157
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 50,741
Karma: 178402706
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
The current status?

DRM is not removable from the current K4MAC app.

DRM is removable from K4PC (2.7.1 and older) however a lot more hoop jumping is needed. For K4PC 2.8.0 I've never bothered to try since from what I've read, even more hoop jumping is needed


DRM is not removable from a Kindle ereader with a firmware version higher that 5.18.5 which would be the 11th generation and newer devices that have updated.

For Kindles from the 5th generation PW1 and older, you can remove DRM and get a azw3 file or mobi for those that do not support azw3/KF8. However many of the older Kindles did not have WiFi and can't be used to download books so this is pretty much limited to the 4th and 5th generation.

For Kindles from the 6th to 10th generation, you can remove DRM and get a KFX file.

For many people on MobileRead, the answer seems to be making any book purchases that are available from other vendors from those vendors.

Please note that I suspect this is close to the limit of the information you can receive on this topic at MobileRead.

Last edited by DNSB; 02-07-2026 at 08:05 PM.
DNSB is online now   Reply With Quote
Old 02-07-2026, 11:10 PM   #1158
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 845
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
What DNSB said. ^

Plus refer to the Dealing with Kindle ebooks sticky thread: https://www.mobileread.com/forums/sh...d.php?t=361503
texasnightowl is offline   Reply With Quote
Old 02-08-2026, 09:47 AM   #1159
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,265
Karma: 95018123
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by madelonw View Post
Of late I have seen no real updates to the KFX/KFX-ZIP situation. Every Kindle book added to Calibre (I am currently using Calibre 9.2.1, and I update every time an update is announced.) is now in KFX-ZIP format.
An import of a Kindle book resulting in KFX-ZIP is usually indicative of a DRM removal failure. This plugin does not perform DRM removal. Help with dealing with those failures should be requested at the site where you obtained the DRM removal plugin.

Quote:
Originally Posted by madelonw View Post
I am also noticing the new Pages feature cranks away on the KFX-ZIP books until it gives up and just puts 'error' in the column. What a waste of CPU time.
I doubt the cost is very high, but if you are concerned you should raise the issue with the developer of calibre.

Quote:
Originally Posted by madelonw View Post
Not everyone who reads this thread is a programmer. I am not a programmer. I do have enough experience with computers to follow instructions on configurations and the like.

A clear explanation of the status of deDRMing KFX-ZIP is what is needed here.
Unfortunately DRM removal has potential legal ramifications, especially for US residents due to the DMCA. Because of this MobileRead's policy is to not allow detailed instructions or assistance with DRM removal. The sites hosting DRM removal plugins are the places for that.


Some general comments:

DRM removal is a moving target, especially for Kindle books. Amazon is aggressive in updating their DRM in order to block its removal. Over time the process has become more constrained and complex.

Producing DRM removal techniques takes work. The developers of DRM removal software who make it freely available are under no obligation to put in the extra time and effort needed to make the process as simple as possible. Those who want this capability have to meet them part way and make the effort to learn how to do it. Ask for help at the hosting site if you do not understand something.

As an alternative some sites sell DRM removal software. Those are often repackaged versions of free software with a nicer user interface. Because they are commercial products there is often more emphasis on making them easy to use for beginners.
jhowell is offline   Reply With Quote
Old 02-21-2026, 12:16 PM   #1160
mascalwer
Junior Member
mascalwer began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2025
Device: none
Hi,
I have a problem with a book I purchased on Amazon.
I was able to import it to Calibre (kfx), so my understanding is it was DeDRMed without issues.
But now when i try to view it after import, or convert it to any other format, I'm getting:

calibre, version 9.3.1
ERROR: Loading book failed: Failed to open the book at \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx. Click "Show details" for more info.

Failed to convert book: \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx with error:
KFX metadata reader (from KFX Input) activated for \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx
DeDRM v10.0.9: Trying to decrypt Connecting the Data_ Data Integ - Angelo Bobak.kfx
Unknown booktype kfx. Passing back to calibre unchanged
InputFormatPlugin: KFX Input running
on \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx
Software versions: KFX Input 2.29.0, calibre 9.3.1, Windows-11-10.0.26100-SP0
KFX Input plugin help is available at https://www.mobileread.com/forums/sh...d.php?t=291290
Converting \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx
Processing container: \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx
Features: CanonicalFormat-2, kfxgen.pidMapWithOffset-1, kfxgen.positionMaps-2, kfxgen.textBlock-1, reflow-style-3, yj_jpegxr_sd-1, yj_table-6, yj_table_viewer-1
Metadata: ASIN=B00NES7TMM, asset_id=CR!SNCK7807SH0T5511QNJ0ERDW4KBK, author="Bobak, Angelo", book_id=i9Z9z5j-TUmBZryJLT4MeQ0, cde_content_type=EBOK, content_id=B00NES7TMM, cover_image=1166x1458, creator_version=2.15.0, description=..., file_creator=YJConversionTools, is_sample=False, issue_date=2014-09-07, kfxgen=20.12.238.0, language=en, max_id=786, min_kindle_version=5.9.4, override_kindle_font=True, pages=251, publisher="Technics Publications", reading_orders=1, selection=enabled, title="Connecting the Data: Data Integration Techniques for Building an Operational Data Store (ODS)"
Converting book to EPUB 3
first: b'<span>INDE</span>'
last: b'<span>A</span>'
ERROR: section cDU7, $269 15273, story lDUB, $269 15276 style event first and last have different parents: offset 0 len 6: b'<div><span style="-kfx-style-name: sE18; font-family: Arial; font-weight: bold"><img src="image_rsrcE7J.jpg" alt="" id="page_243" style="-kfx-render: inline; -kfx-style-name: sDUG; box-sizing: content-box; height: 3.25875em; width: 3.35491em"/><span>INDE</span></span><span style="-kfx-style-name: sE19; font-family: Arial; font-weight: bold; letter-spacing: -15em">X</span><span>A</span><span>I. See Artificial Intelligence</span></div>'
Failed to run pipe worker with command: from calibre.srv.render_book import viewer_main; viewer_main()
Traceback (most recent call last):
File "calibre_plugins.kfx_input.__init__", line 113, in convert
Exception: section cDU7, $269 15273, story lDUB, $269 15276 style event first and last have different parents: offset 0 len 6: b'<div><span style="-kfx-style-name: sE18; font-family: Arial; font-weight: bold"><img src="image_rsrcE7J.jpg" alt="" id="page_243" style="-kfx-render: inline; -kfx-style-name: sDUG; box-sizing: content-box; height: 3.25875em; width: 3.35491em"/><span>INDE</span></span><span style="-kfx-style-name: sE19; font-family: Arial; font-weight: bold; letter-spacing: -15em">X</span><span>A</span><span>I. See Artificial Intelligence</span></div>'

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 83, in <module>
File "site.py", line 78, in main
File "site.py", line 50, in run_entry_point
File "calibre\utils\ipc\worker.py", line 194, in main
File "<string>", line 1, in <module>
File "calibre\srv\render_book.py", line 828, in viewer_main
File "calibre\srv\render_book.py", line 819, in render_for_viewer
File "calibre\srv\render_book.py", line 796, in render
File "calibre\ebooks\oeb\iterator\book.py", line 64, in extract_book
File "calibre\customize\conversion.py", line 241, in __call__
File "calibre_plugins.kfx_input.__init__", line 119, in convert
calibre.ebooks.conversion.ConversionUserFeedBack: {"msg": "<b>Cannot convert ?</b><br/><br/>Exception('section cDU7, $269 15273, story lDUB, $269 15276 style event first and last have different parents: offset 0 len 6: b\\'&lt;div&gt;&lt;span style=\"-kfx-style-name: sE18; font-family: Arial; font-weight: bold\"&gt;&lt;img src=\"image_rsrcE7J.jpg\" alt=\"\" id=\"page_243\" style=\"-kfx-render: inline; -kfx-style-name: sDUG; box-sizing: content-box; height: 3.25875em; width: 3.35491em\"/&gt;&lt;span&gt;INDE&lt;/span&gt;&lt;/span&gt;&lt;span style=\"-kfx-style-name: sE19; font-family: Arial; font-weight: bold; letter-spacing: -15em\"&gt;X&lt;/span&gt;&lt;span&gt;A&lt;/span&gt;&lt;span&gt;I. See Artificial Intelligence&lt;/span&gt;&lt;/div&gt;\\'')", "level": "error", "det_msg": "", "title": "KFX conversion failed"}

I am able though to force conversion by checking "Allow conversion to proceed even if errors are detected" in KFX Input - thank you for this option. So it's not end of the world for me, but it would be nice for this plugin to be able to convert this book 'cleanly'.
mascalwer is offline   Reply With Quote
Old 02-21-2026, 01:49 PM   #1161
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 82,304
Karma: 151278869
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
delete post

Last edited by JSWolf; 02-21-2026 at 02:59 PM.
JSWolf is offline   Reply With Quote
Old 02-21-2026, 02:12 PM   #1162
mascalwer
Junior Member
mascalwer began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2025
Device: none
JSWolf I would gladly do what you suggest, but the book being in KFX format is not editable in Calibre editor - it can only edit AZW3 or EPUB or KEPUB formats (or am i missing something??

I can edit the epub version I created by selecting 'Allow conversion to proceed even if errors are detected' option while converting from KFX.
So I can fix errors there and thus get the properly formatted epub - which is a valid way for me to get properly formatted epub, thanks.

Still, It would be nice if the pluging could handle this formatting without any additonal actions.
mascalwer is offline   Reply With Quote
Old 02-21-2026, 04:35 PM   #1163
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,265
Karma: 95018123
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by mascalwer View Post
I have a problem with a book I purchased on Amazon.
I was able to import it to Calibre (kfx), so my understanding is it was DeDRMed without issues.
But now when i try to view it after import, or convert it to any other format, I'm getting:

calibre, version 9.3.1
ERROR: Loading book failed: Failed to open the book at \Calibre Library\Angelo Bobak\Connecting the Data_ Data Integrati (1280)\Connecting the Data_ Data Integ - Angelo Bobak.kfx. Click "Show details" for more info.
Thank you for the error report.

That error crops up occasionally in books that use a small image as part of the chapter headings, in this case the heading of the Index at the end of the book. In the end it does not affect the result of conversion in any meaningful way.

Quote:
Originally Posted by mascalwer View Post
I am able though to force conversion by checking "Allow conversion to proceed even if errors are detected" in KFX Input - thank you for this option. So it's not end of the world for me, but it would be nice for this plugin to be able to convert this book 'cleanly'.
That is the best thing to do for now. I will change the plugin to not generate an error in this situation. But the result produced will be the same as what you get now by just ignoring the error.
jhowell is offline   Reply With Quote
Old 02-21-2026, 08:19 PM   #1164
mascalwer
Junior Member
mascalwer began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2025
Device: none
Absolutely correct. Thanks for your quick response.
mascalwer is offline   Reply With Quote
Old 02-27-2026, 04:48 PM   #1165
ozonepot
Junior Member
ozonepot began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2026
Device: kindle
Ok, I got a book DeDRMed and saved in KFX-Zip Format using the command line DeDRM tools method.
Imported successfully to Calibre, it shows as KFX and I can view it on the internal Viewer.
BUT BUT BUT, the book is now all rasterized to images? What was a nice text-searchable and selectable Kindle e-book, is now a book of images that would need text recognition?
And of course a conversion to any format in Calibre will result in a EPUB or PDF file which is still a bunch of images.
Am I missing something? And if I did, which part of the process and how to fix it?
Thanks
ozonepot is offline   Reply With Quote
Old 02-27-2026, 07:54 PM   #1166
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,265
Karma: 95018123
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by ozonepot View Post
Ok, I got a book DeDRMed and saved in KFX-Zip Format using the command line DeDRM tools method.
Imported successfully to Calibre, it shows as KFX and I can view it on the internal Viewer.
BUT BUT BUT, the book is now all rasterized to images? What was a nice text-searchable and selectable Kindle e-book, is now a book of images that would need text recognition?
And of course a conversion to any format in Calibre will result in a EPUB or PDF file which is still a bunch of images.
Am I missing something? And if I did, which part of the process and how to fix it?
Thanks
It sounds like your book is probably a Print Replica. You should be able to tell from the Amazon web page for the book. Look for “Format ‏: ‎Print Replica” in the Product Details section.

If so then the best results can be obtained by using the “From KFX” toolbar action to convert it to PDF. See the first post of this thread for more information.
jhowell is offline   Reply With Quote
Old 02-28-2026, 12:10 PM   #1167
ozonepot
Junior Member
ozonepot began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2026
Device: kindle
Quote:
Originally Posted by jhowell View Post
It sounds like your book is probably a Print Replica. You should be able to tell from the Amazon web page for the book. Look for “Format ‏: ‎Print Replica” in the Product Details section.

If so then the best results can be obtained by using the “From KFX” toolbar action to convert it to PDF. See the first post of this thread for more information.
Indeed, thanks! I am going to look into that.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-02-28 alle 18.09.03.png
Views:	24
Size:	20.4 KB
ID:	221488  
ozonepot is offline   Reply With Quote
Old 02-28-2026, 01:11 PM   #1168
ozonepot
Junior Member
ozonepot began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2026
Device: kindle
Well this worked like magic! PDF is now back to text selectable, and I must say one of the best conversion I've seen on calibre, the book looks identical to the amazon version. Thanks!
One question though: why is the EPUB still made of images? The pagination is the same, I thought if PDF can be done this way why not EPUB? And would a conversion from the converted text-selectable PDF to EPUB work to maintain it?
ozonepot is offline   Reply With Quote
Old 02-28-2026, 07:33 PM   #1169
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,265
Karma: 95018123
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by ozonepot View Post
Well this worked like magic! PDF is now back to text selectable, and I must say one of the best conversion I've seen on calibre, the book looks identical to the amazon version. Thanks!
Print replica books are actually PDF wrapped inside Kindle formats. This plugin is just extracting that content.

Quote:
Originally Posted by ozonepot View Post
One question though: why is the EPUB still made of images? The pagination is the same, I thought if PDF can be done this way why not EPUB? And would a conversion from the converted text-selectable PDF to EPUB work to maintain it?
To make an EPUB from a fixed layout book the plugin extracts the pages from the PDF as images. It adds any text present as an invisible overlay on top of each image but that part ends up being ignored by most reading software.

The extraction of PDF is a far better option. You can explore other methods to convert that to a more readable EPUB. That is beyond the scope of this plugin.
jhowell is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KFX conversion, transfer back to library issue. shoelesshunter Conversion 12 09-22-2025 09:49 AM
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 77 03-08-2025 04:04 AM
[Conversion Input] LaTeX Formulas Input Conversion Plugin sevyls Plugins 0 03-23-2015 05:52 AM
[Input Plugin] DOCX Input SauliusP. Plugins 42 06-05-2013 04:01 AM
Looking For MHT Input Conversion Plugin FlooseMan Dave Plugins 4 03-30-2010 05:52 PM


All times are GMT -4. The time now is 05:10 PM.


MobileRead.com is a privately owned, operated and funded community.