Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-20-2020, 03:24 AM   #841
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
Quote:
Originally Posted by pdurrant View Post
Does the disabling KFX download still work on 1.28?

(I haven't updated from 1.17 yet, but I was considering a move to Mac OS 10.15 which would require 1.25 or later.)
No. Changing the name of renderer-test seems to do nothing on 1.28. According to the first post in this thread:

Quote:
Note: This will not work with recent versions of Kindle for PC. The last PC version in which KFX can be disabled can be downloaded directly from Amazon using this link: Kindle for PC 1.24.3 (51068).
Additional steps, linked to below, are required to make this method work with recent versions of Kindle for Mac.
1.24.3 will also work with the latest tools to decrypt kfx, so you can have things both ways by changing the name of renderer-test according to your preferences.
darryl is offline  
Old 06-20-2020, 04:53 AM   #842
lkmiller
Laura
lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.lkmiller ought to be getting tired of karma fortunes by now.
 
lkmiller's Avatar
 
Posts: 1,532
Karma: 23597272
Join Date: Nov 2009
Device: Kobo Sage, Kobo Elipsa, Nook Glowlight 4 Plus, Kindle Oasis 2
Quote:
Originally Posted by pdurrant View Post
Does the disabling KFX download still work on 1.28?

(I haven't updated from 1.17 yet, but I was considering a move to Mac OS 10.15 which would require 1.25 or later.)
No, for PC. Yes, for Mac. There's a link under Method 2 to another post by odamizu with further instructions for later versions of K4Mac.

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.
lkmiller is offline  
Old 06-20-2020, 09:02 AM   #843
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,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by darryl View Post
Barring a sneaky update to 1.28 it appears that an alternate DRM scheme was included in that version and possibly some of the preceding versions after 1.24.3. It may be as simple as another key hidden in the software, an alternate decryption algorithm or both. As jhowell said, on the fly changes to DRM.
Amazon seems to be relying more and more on remotely triggered features. There is the dark mode icon slowly rolling out on Kindle devices, the missing cover thumbnails for sideloaded books, and now the enabling of new KFX DRM.

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.
jhowell is online now  
Old 06-20-2020, 12:19 PM   #844
Dogbert
Junior Member
Dogbert began at the beginning.
 
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.
Dogbert is offline  
Old 06-20-2020, 01:07 PM   #845
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,830
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
nevermind

Last edited by odamizu; 06-26-2020 at 02:37 AM.
odamizu is offline  
Old 06-20-2020, 01:23 PM   #846
ben_r_
Junior Member
ben_r_ began at the beginning.
 
ben_r_'s Avatar
 
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!
ben_r_ is offline  
Old 06-20-2020, 05:11 PM   #847
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,078
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Dogbert View Post
I'm trying to import a kfx from my eink kindle into calibre (Windows 10) and the behavior is odd.
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.
jhowell is online now  
Old 06-20-2020, 06:34 PM   #848
apprenticesakuya
Junior Member
apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.
 
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()
Bash script for Mac:
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
Note that these patches require the renderer-test binary to run normally, so make sure it's untouched.
apprenticesakuya is offline  
Old 06-20-2020, 08:26 PM   #849
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
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.
darryl is offline  
Old 06-20-2020, 11:25 PM   #850
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
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.
darryl is offline  
Old 06-20-2020, 11:30 PM   #851
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,830
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by apprenticesakuya View Post
Bash script for Mac:
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
Intriguing. For those of us who don't know what we're doing, is this as simple as opening a Terminal window, copying and pasting the above script, then hitting return? And does this only need to be done once?

Thank you!

Quote:
... Also, can someone test if books that previously required 1.26+, e.g. textbooks, can still be downloaded and read on 1.26? ...
Wish I could help test, but I don't have any textbooks or fancy books that require 1.26+, either.
odamizu is offline  
Old 06-20-2020, 11:42 PM   #852
apprenticesakuya
Junior Member
apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.apprenticesakuya ought to be getting tired of karma fortunes by now.
 
Posts: 2
Karma: 356038
Join Date: Jun 2020
Device: none
Quote:
Originally Posted by darryl View Post
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.
https://s3.amazonaws.com/kindleforpc...1.26.55076.exe

Quote:
Originally Posted by odamizu View Post
Intriguing. For those of us who don't know what we're doing, is this as simple as opening a Terminal window, copying and pasting the above script, then hitting return? And does this only need to be done once?
Yes and yes. Make sure you're on 1.28, as that's the only version this specific patch will work on.
apprenticesakuya is offline  
Old 06-20-2020, 11:52 PM   #853
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
Quote:
Originally Posted by apprenticesakuya View Post
Thanks!
darryl is offline  
Old 06-20-2020, 11:54 PM   #854
odamizu
just an egg
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 1,830
Karma: 7943430
Join Date: Mar 2015
Device: Kindle, iOS
Quote:
Originally Posted by apprenticesakuya View Post
Yes and yes. Make sure you're on 1.28, as that's the only version this specific patch will work on.
odamizu is offline  
Old 06-21-2020, 12:10 AM   #855
darryl
Wizard
darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.darryl ought to be getting tired of karma fortunes by now.
 
darryl's Avatar
 
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.
darryl is offline  
Closed Thread

Tags
k4pc, kindle for pc


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:25 AM.


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