D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Kindle, DRM and Linux

 

On 01/08/13 21:19, Simon Robert -Cottage wrote:
On 1.08.2013 21:22, George Parker wrote:
Our house has 3 kindles, mine, my wife and a spare. I have 2 Amazon accounts, one from when I first had one Kindle and then an account specifically set up for books, which has 4 family members on it. It is OK to have up to 5 Kindles on an account, effectively sharing books between 5 people. Going from account to account is a pig as you have to deregister and register the Kindle to get between accounts, not an easy task. So I thought the best way to get around this book management would be to strip out the DRM.
I also manage my books using Calibre as it coverts between formats 
and the only format that plays nicely on a Kindle  is MOBI.  Any PDF 
or EPUB or text  or doc format books I have I convert to MOBI with 
Calibre and it is very easy to manage my library on all 3 of my 
Kindles.  Except for the books with DRM.
I found a plug in for Calibre that strips out the DRM for MOBI format 
as a book is imported into Calibre.  It does not work on books 
already in the Calibre library, they have to be deleted and 
re-imported.  The plug-in I used and how to use it is at 
http://apprenticealf.wordpress.com/2012/09/10/drm-removal-tools-for-ebooks/. 
I got this to work on MOBI format without much difficulty. The 
biggest problem was finding the correct download button among the 
spurious software on offer.
I also buy books from other than Amazon and a lot of these are in 
EPUB format, also with DRM.  They are perfectly readable using Adobe 
Digital Editions on a laptop or desktop but I want them on my 
Kindle.  The EPUB DRM stripping did not work using the above plug-in 
as there needs to be a file called adeptkey.der in the Calibre config 
directory.  This file apparently hold all the keys for EPUB DRM.
There are detailed instructions to generate this key file in Linux 
using python and python scripts.  It entails installing python under 
Wine and then running the scripts under Wine which use Adobe Digital 
Editions to generate the key file. Some instructions are very 
specific as to which versions of Wine, Python and Adobe Digital 
Editions to use. I coulot get the process to work without errors.  I 
struggled for 2 days with this, getting threats of divorce and 
physical violence from SWMBO, until I understood what I was trying to 
do.  The key file is not system specific, it can be generated using 
windows and then used in all Calibre, so I ran the procedure under 
windows XP in Virtual Box and generated the key file first try, no 
problem.  Pasted it into my Linux Calibre config and the DRM bit the 
dust.  I used the Python and scripts download from 
http://www.epubee.com/remove-drm-from-epub-on-adobe.html .
I now have all DRM free books in Calibre which I can load into my 
Kindles or tablet or any thing else I care to use, (until I find a 
format that doesn't work).  But what a hassle to use what you've paid 
good money for as you please.
George

yes I tried calibre and the de-drm plugins under linux and could not get them to work. For a start the kindle reader for PC is needed and I couldn't get it to run under wine (regular or crossover office). My solution is also a virtual machine, the only thing I use windows for.
With a vm you can easily copy (capture) drm'ed video, I wonder how hard it would be to create a script that would do the same for ebooks - while(next button not greyed){capture image,ocr image,append, click next button}
I have the kindle reader and calibre with plugins installed on virtual box. Calibre's library directory is a shared folder with my linux install of calibre, "home/whoever/Calibre library". So once the book is imported into calibre I shut down windows, open the linux version and there are my books.
Are you importing your books direct from the kindle? Can your file 
manager actually "see" the relevant bits of the android file system?
Of course you could turn your kindles into ordinary android tablets, 
which would give you a greater choice of readers, aldiko is good. 
There are a few solutions out there for this and it's easy to convert 
back to being a kindle again if you decide it's not for you.
S


--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq