Wednesday, December 29, 2010

How to crack DRM protection and convert your Ebook format

So a while ago I bought an Amazon Kindle. To be short, it is a very useful device. I have stopped getting regular books and have started buying eBooks from the Amazon website. Each eBook is usually around $6 - $12 dollars, and I usually read a book and a half each week. So as you can imagine it gets kind of expensive for a college student. About three and a half weeks ago I received my birthday present from my aunt, who lives in Alabama. My birthday is in September, and while my aunt is usually late sending gifts, this took the cake. It was not her fault, I talked to her today and she said that gift was sent a long time ago. I suspect it got lost somewhere. Anyways it was $40 dollars in borders gift cards, so I was very happy with my gift. Once I finished the current book I was reading I surfed over to borders, and purchased a book. It took me less than five minutes to realize that borders only allowed you to download eBooks in two formats; one is for the Borders Nook, and the other is in the very popular .epub format.
.epub, short for electronic publication, is a free and open file extension format created by the International Digital Publishing Forum (IDPF). It is one of the most common ebook formats, due to its flexibility with reflowable content, which means that the text can be optimized to fit any type of display device. Unfortunately the kindle won’t read .epub files. This is weird because it is one of the most popular file formats for ebooks out there. So while trying to figure out what rational thinking person would leave .epub out of their “compatible” list, I stumbled across a fix. There is a file format program out there that can convert .epub files into another format. No, it is not Mobi. This program is called Calibre, and just like Mobi, but Mobi cannot convert .epub files. My favorite format to convert my files to is the .mobi format which is readable by my Amazon Kindle. Easy enough right? Well, sometimes it’s not so simple. Many .epub formatted ebooks that you purchase from a website such as Borders have DRM protection on the ebooks. DRM stands for Digital Rights Management, which is the management system used to control access to digital content. This is what is supposed to keep you from illegally copying files and content and distributing them over the internet. However DRM’s can be very annoying while trying to access or convert certain files. Therefore in order to use my eBook that I just purchased (and is non-refundable by the way) with my Amazon Kindle, I need to break the DRM protection. So here is how I broke the DRM protection and converted the file into a readable format for my Kindle.
Disclaimer: Breaking DRM protection is usually against the Terms Of Service for any given digital content product, but it is not illegal. Please use the information below responsibly.
You will need to download the latest Python library, Pycrypto, Calibre and the latest adobe Digital Editions. You also need the other two files which are called ineptkey.pyw, and aineptepub.pyw.
1. Install the Python Library, Pycrypto, Calibre and the latest Adobe Digital Editions.
2. Open the link that puts your Ebook into Adobe Digital Editions (the download link)
3. Run ineptkey.pyw you should get a message saying “Key successfully retrieved to adeptkey.der” this has created a new file called adeptkey.der in your current directory, you do not need to run this file.
4. Run aineptepub.pyw. Chose the directory of the Adobe Digital Editions, and then the output directory which is where the cracked copy of your ebook will go.
5. Launch Calibre, and drag the cracked copy into the Calibre window. Or you can use “add ebook”.
6. Click the convert book button, you might need to hover your mouse over the buttons to find the right one. Select the type of file you want your ebook to be converted to.
7. Click “ok” and the window will close. At the bottom right of the Calibre window it will show you how many jobs you have working and if it is done or not.
8. Once that is done open the file location and find the newly converted ebook in your chosen format. Copy that to your favorite reading device and enjoy!

IF you guys have trouble with this or want a more indepth how-to, please dont hesitate to tell me that in your comments, and I will attempt to make a better guide!

No comments:

Post a Comment