Saturday, July 13, 2013

EPUB and DeDRM: Why Google Play Store is the best eBookStore for iBooks fans. (Bonus: Fixing Adobe Digital Edition crash.)

KSM was waterboarded 183 times [1]. His case was unusual, but it explains why American prisons are widely admired by the wrong sort of people.

Why do I mention this? Because, under the DMCA, circumventing encryption can win an extended visit to a US prison [2]. Even describing encryption circumvention is illegal for Americans; so posts on the topic are either naive or a minor form of civil disobedience. [8]

So, if you are an American, you should read no further. We can read Apple Store EPUB [5] files on iBooks.app, but not on a Mac [3] or a Win desktop. 

If, however, you are a Mac user and a citizen of a civilized country, you can fix this. You can take advantage of Adobe's relatively weak ADEPT DRM [4], which means you can buy ePub formatted books from Google Play, Nook Store (for now, anyway), and Kobo, strip out the DRM, and use them with iBooks.app, BookReader for OS X, Adobe Digital Editions for Mac/Windows [6], and other eBook readers.

There may be other ways to strip DRM, but most of the appnetizens I know use Apprentice Alf's DeDRM plugin for Calibre, or his related DeDRM Application. Alas, I couldn't prove that DeDRM worked on my two purchased Google Play books -- they are both DRM free! I was able to download them [7] and display them in BookReader, iBooks.app, and Adobe Digital Edition. BookReader had character set issues with one of the ePubs, but both rendered correctly in Adobe Digital Edition and iBooks.app.

(Update 8/7/13: See Using Calibre and DeDRM Plug-In to remove Adobe DRM from Google Play .ascm ePUB files)

The next time I buy a DRMd book though, I'll get it from Google Play and test out DeDRM. With DeDRM and Google Play I'll have my EPUB books on iBooks.app and BookReader -- and I'll also be able to view them using Google's web interface to EPUB books. Not to mention Play Books.app!

PS. I keep my EPUB books in iTunes, so the simplest way to get at them from the Finder was to save a Spotlight search in iTunes Books folder for ".epub". From that view I can right click on a file to open in Adobe Digital Edition (when it doesn't crash, see below) or BookReader (preferred, though it has character set bugs).

 --

[1] But stayed sane, and was thereby made immune to prosecution and execution. So bit of a trade-off.

[2] One of the ways in which most Americans (or Brits) can be legally imprisoned at any time should the state choose to do so.

[3] Many of us have wondered why Amazon put an eBook reader on the Mac but Apple didn't. I don't know, but my best guess is publishers wouldn't give Apple permission. Maybe they felt DRM bypass would be easier on a Mac than on an iPhone, which is probably true. On the other hand thesesame publishers traded their future to Amazon for a bucket of glass beads and published on the broken Adobe Digital Editions platform. I think they're simply dumb as rocks. Jobs must have despised them, which may explain some of the trouble he got Apple into. iBook is supposed to come to Mavericks, but it hasn't shown up in the beta releases so far. Note BookReader will display ePub fairly well, but not FairPlay DRMd ePub.

[4] Why is it weak? I suspect because many of the devices that use it can't be updated. So fixing the DRM would make all of these devices useless, and cut off new sales. Apple can fix FairPlay because its software gets updated. Nobody remembers that Apple couldn't update DRM on the Motorola ROKR, so those phones lost the ability to play new music.

[5] Technically it's all caps EPUB, but I'll go with ePub.

[6] Now Flash free! In my testing BookReader had character set issues with one of the Google Play books, but Adobe Digital Edition and iBooks for iPhone did fine.

[7] Go to Google Play, then to book page, then "How to Read' then eReaders and other devices - click Download EPUB.

[8] I loathe the DMCA, but, I admire the genius of FairPlay for movies and apps on iOS and OS X. If we didn't have DRM we wouldn't have a vibrant app market, and we wouldn't be able to sync movies around our devices. If iBooks were available for Mac and Windows I'd probably tolerate it for books as well -- but it still feels like the wrong model. Books last a lot longer than most apps. The revised DRM model for music, whereby buyer identification is embedded in an otherwise standard file, might be the right balance for books.

See also:

Update 7/13/13: I dragged about a dozen ePub files onto Adobe Digital Edition and it crashed. On launch. Forever.. Deleting its preference file didn't help, but I found a Digital Editions folder in my Documents folder. Emptying that fixed the crashes. Adobe stupid.

Update 8/31/2013: Just go Kindle and forget iBook

I wrote a subsequent post on Using Calibre and DeDRM Plug-In to remove Adobe DRM from Google Play .ascm ePUB files. I was able to get the process to work, but at the end of the day I realized I'd gone a long way down a dead end road.

Apple (and/or Apple's publisher partners) blew it when they failed to get "iBook" (FairPlay ePUB) support out for OS X and Windows -- not to mention Android. That was a game changing failure in more ways than most of us realized at the time.

Amazon has won this war. They own the eBook world. I should have bought a Kindle.

No comments: