![]() |
#841 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Quote:
Quote:
|
||
![]() |
![]() |
#842 | |
Laura
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,531
Karma: 23597272
Join Date: Nov 2009
Device: Kobo Sage, Kobo Elipsa, Nook Glowlight 4 Plus, Kindle Oasis 2
|
Quote:
ETA: New installations of Kindle for Mac on Catalina should now work with the update to DeDRM. I'll be eager to hear if that is indeed true. Last edited by lkmiller; 06-20-2020 at 07:00 AM. |
|
![]() |
![]() |
#843 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Since the alternative KFX DRM has now been activated, it is only a matter of time before it too is cracked. If Amazon is really serious about KFX DRM they will likely be adding at least one more hidden DRM scheme in upcoming software releases in order to prepare for that eventuality. |
|
![]() |
![]() |
#844 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2018
Device: Kindle Paperwhite
|
I'm trying to import a kfx from my eink kindle into calibre (Windows 10) and the behavior is odd. I have both the kfx, Kindle Previewer app, and dedrm plugin installed.
With my device attached if I navigate within Calibre to Device and click on the book in question it gives me a locked with DRM message. If I navigate in Windows to the file in question and double click it Calibre processes it and puts it into a folder named "Unknown" on the Device (Kindle) and this file (kfx) is then able to be opened by the Calibre viewer. Within Calibre if I right click on this file though and try to send it to my Library it gives me the error that: "The following books are in KFX format. KFX is a virtual book format, and cannot be transferred from the device ............... ". So if I want to get this book into my Calibre Library in an azw3 (or epub) format how do I go about doing it, because if seems like if the Calibre viewer can open it that I should be able to add it to my Library. Thanks. |
![]() |
![]() |
#845 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
nevermind
Last edited by odamizu; 06-26-2020 at 02:37 AM. |
![]() |
![]() |
#846 |
Junior Member
![]() Posts: 3
Karma: 18
Join Date: Jan 2014
Location: Sacramento, CA
Device: Kobo Aura One
|
Awesome thread! Was able to get Method 1 from the OP working. Took a bit to find a legit copy of 1.17 that had a matching hash, but eventually found one for Windows. Was able to use DeDRM 6.8.0 with no issues on a brand new Amazon book. Been years since I'd tried this so it was nice to see it's still possible!
|
![]() |
![]() |
#847 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I am having trouble following what you are doing but I don’t think it matters. I recommend downloading books from Amazon’s website instead of trying to access them from your Kindle. See method 3 in the first post of this thread.
|
![]() |
![]() |
#848 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2
Karma: 356038
Join Date: Jun 2020
Device: none
|
So here's what's going on:
With K4PC 1.25, Amazon introduced a slight variation on the KFX DRM scheme with VoucherEnvelope versions 2 and 3, which add an additional step before the book key is decrypted. The DRM vouchers seem to randomly use either one of those, and these are what the code I pushed supports. With K4PC 1.27, they also added versions 4 all the way up to 28. Up until yesterday, books downloaded with K4PC 1.27+ still used either v2 or v3, but now they've started using v4. None of the higher versions do anything new or interesting, they're all pretty much the same thing as v2 and v3, so I'm not sure why they even exist in the first place. Also, can someone test if books that previously required 1.26+, e.g. textbooks, can still be downloaded and read on 1.26? The store pages say so at least, but there would be no point in them enabling the new DRM version if all books still work on 1.26... As a bonus, here's a way to disable KFX downloads on K4PC/Mac 1.28. Since preventing it from running the renderer test now just results in KFX being enabled (and you can't simply modify that binary since there's an integrity check), the best way I've found is to patch the Kindle binary itself to make it think the test failed: PowerShell script for Windows: Code:
$file = [IO.File]::Open([Environment]::GetEnvironmentVariable("LocalAppData") + "\Amazon\Kindle\application\Kindle.exe", [IO.FileMode]::Open); $file.Seek(0xD5325B, [IO.SeekOrigin]::Begin); $file.WriteByte(0x6A); $file.WriteByte(0x01); $file.WriteByte(0x90); $file.Close() Code:
printf '\x41\xbc\x01' | dd of=/Applications/Kindle.app/Contents/MacOS/Kindle bs=1 seek=2695614 count=3 conv=notrunc && printf '\x90\x90\x90\x90\x90\x90' | dd of=/Applications/Kindle.app/Contents/MacOS/Kindle bs=1 seek=3217385 count=6 conv=notrunc |
![]() |
![]() |
#849 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Apprentice Sakuya. Thank you for all your hard work and your above comments. Versions up to 28 sound ominous, if only for future implications. Unfortunately I don't have any of the books requiring 1.26+. so far as I'm aware, nor any easy way of locating them. Testing will indeed be interesting.
|
![]() |
![]() |
#850 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
I'd appreciate it if someone can provide a download link to a clean version of K4PC 1.26, or even a checksum of the legitimate version. I'll keep looking but my attempts so far have only yielded infected files.
|
![]() |
![]() |
#851 | ||
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Thank you! Quote:
|
||
![]() |
![]() |
#852 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2
Karma: 356038
Join Date: Jun 2020
Device: none
|
Quote:
Yes and yes. Make sure you're on 1.28, as that's the only version this specific patch will work on. |
|
![]() |
![]() |
#853 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Quote:
|
|
![]() |
![]() |
#854 |
just an egg
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,828
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
|
|
![]() |
![]() |
#855 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
Okay. I've now installed K4PC 1.26 and, as expected, it is decrypting and adding kfx books as kfx with the latest tools. If I can find an ebook that requires 1,26 and above which is free or at least doesn't cost an arm and a leg I will give it a try.
|
![]() |
![]() |
Tags |
k4pc, kindle for pc |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Handling KFX files in Calibre | HarryT | Conversion | 53 | 08-31-2018 03:21 AM |
Dealing with Kindle for PC/Mac 1.19 and KFX in calibre | BetterRed | Conversion | 0 | 02-08-2017 12:47 PM |
Dealing with Kindle ebooks in calibre | BetterRed | Devices | 0 | 02-06-2017 06:59 PM |
updated calibre with a little help for kfx format | cvkemp | Amazon Kindle | 0 | 10-06-2015 10:08 AM |
Dealing with Multiple Calibre libraries | samoanbiscuit | Calibre Companion | 4 | 08-27-2014 09:35 AM |