marbli26 Jun 4th, 2011 763 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. For the Linux version, click here.
  3. DRM is used by publishers to restrict what you can do with your ebooks. DRM controls which devices you can use to read your ebook, and stops you converting your ebooks from one format to another. There are several different DRM schemes. Amazon's MOBI format uses a certain DRM scheme that differs from the one used by Barnes & Noble for their EPUBs, which is still different from the DRM that other retailers (or Overdrive) might use if they offer EPUBs or PDFs in Adobe Digital Editions.
  5. Ebooks with one DRM scheme can’t be read on a device that uses a different DRM scheme. Some DRM schemes limit ebooks to one device only, or block the ability to convert the ebook to another format, or even limit how (or how long) you can open the ebook on your device.
  7. So to be able to read your ebooks on all the devices you have now, and to be sure that you will still be able to read your ebooks in the future, you will want to remove the DRM.
  9. How To De-DRM EPUB, MOBI, and PDF books in Windows/Mac with Calibre:
  10. If you have ebooks bought at the Apple iBooks store, it is not currently possible to remove the DRM.
  11. If you have Microsoft LIT ebooks, there is no Calibre plugin that can remove the DRM.
  13. 1) Get your tools ready. Depending on the format of your ebook and/or where you got it from, you might need some different bits. The main three applications most often used for downloaded ebooks are listed below.
  15.     Adobe Digital Editions [ADE]: handles EPUBs/PDFs from Overdrive, Google Books, other retailers. Installer available here.
  17.     ADE saves downloaded ebooks to:
  18.     "~My Documents/My Digital Editions" [Win]
  19.     "~Documents/Digital Editions" [Mac]
  22.     Barnes & Noble Nook application: handles EPUBs from B&N. Installers available here [Win], or here [Mac].
  24.     B&N Nook saves downloaded ebooks to:
  25.     "~My Documents/My Barnes & Noble eBooks" [Win]
  26.     "~Documents/My Barnes & Noble eBooks" [Mac]
  29.     Kindle4PC/Mac application: handles MOBIs/PRCs for the Amazon Kindle. Installers available here [Win], or here [Mac].
  31.     Kindle4PC/Mac saves downloaded ebooks to:
  32.     "~My Documents/My Kindle Content" [Win]
  33.     "~Documents/My Kindle Content" [Mac]
  36. Regardless of which above application you are using, you will also need:
  38.     Calibre: ebook manager, which will perform the actual deDRM'ing. Installers available here.
  41.     Calibre deDRM plugins: included in Apprentice Alf's pack of deDRM'ing utilities (we only need the Calibre plugins), available here.
  43.     Since we only need the Calibre plugins, they are also available (freeleech) through Bibliotik here.
  46. 2) Install Calibre, as well as the application specific to your format/retailer (ADE, Nook, Kindle, etc.), accepting defaults and filling in the info necessary to register/authorize it.
  48. 3) Extract the Calibre plugins folder to a location of your choosing (somewhere you can easily access through your file manager).
  50. 4) Install the plugins in Calibre:
  52. • Run Calibre, and click Preferences -> Plug-ins.
  53. • Click on the large “Add a new plugin” button.
  54. • Navigate to the folder where you extracted the Calibre plugins (step 3).
  55. • Select one of the zip files within the "Calibre Plugins" folder.
  56. • Click on "Open" (or "Add").
  57. • Click on the "Yes" button in the warning dialog that appears. A confirmation dialog will state that the plugin has been installed.
  58. • Repeat this step for each of the five zip files within the "Calibre Plugins" folder.
  60. Even if you currently don't need certain plugins, adding them now will cover you in the future, if you need to deDRM in those formats.)
  62. 5) Configure the plugins in Calibre.
  64. Which plugins need configuring, and the information you will need to enter, will depend on the ebook formats you have from certain retailers. If your ebooks don't match the description of any one of the following items, ignore and move on to the next.
  66.     To configure a plugin, you must find it in Calibre's list of plugins. All the DRM removal plugins (installed in step 4) are in the "File type plugins" drop-down section of Preferences -> Plugins. Click on the plugin in the list to select it, and then click on "Customize plugin". In the dialog that then pops up, enter the required information, detailed below.
  68.     K4MobiDeDRM
  69.     • If you have Mobipocket ebooks, where you either entered a PID on the retailer's web site (such as [][/url] or []Overdrive[/url]), or you must read them in Mobipocket Reader, you must enter the PID you entered on the retailer’s web site, or the PID of your installation of Mobipocket Reader into the customization field of the K4MobiDeDRM plugin. The PID will be ten numbers and letters, with * or $ as the eighth character. If you have more than one PID, enter them separated only by commas (no spaces).
  71.     • If you have Amazon Kindle ebooks that were downloaded to your actual Kindle device, you must enter your Kindle’s serial number into the customization field of the K4MobiDeDRM plugin. If you have already entered a PID there, add the Kindle serial number as well, separating it from the PID with a comma (no spaces). Please note: all PIDs and Kindle Serial Numbers are **case-sensitive**.
  73.     • If you have Amazon Kindle ebooks that were downloaded to your computer installation of Kindle for PC / Mac, you do not need to add anything extra into the customization fields.
  75.     Inept Epub DeDRM
  76.     • If you have ePub ebooks that can be read in Adobe Digital Editions, you do not need to add anything extra into the customization fields.
  78.     Inept PDF DeDRM
  79.     • If you have PDF ebooks that can be read in Adobe Digital Editions, you do not need to add anything extra into the customization fields.
  81.     Ignoble Epub DeDRM
  82.     • If you have ePub ebooks from Barnes & Noble (for the Nook), you must enter your first and last name, and full credit card number, into the customization field of the Ignoble Epub DeDRM plugin. The name and credit card number should be the ones set as the "Unlock Code" on the "My NOOK Library" page within your B&N account. Separate the name (with a space between first and last name) from the number with a comma, with NO spaces in the card number or around the comma.
  84.     eReader PDB 2 PML
  85.     • If you have eReader ebooks (PDB format) from Barnes and Noble or Fictionwise, your must enter your name and the last 8 digits of your credit card number into the customization field of the eReader PDB 2 PML plugin. Again, like with the Ignoble plugin, enter the name and credit card number that appears on your account with that retailer, as the DRM key/Unlock code.
  89. 7) Finally, click on the "Apply" button, and close Preferences.
  91. After you've completed step 7, you're ready to remove the DRM from your ebooks. Just import them into Calibre (the default folders/filepaths where different programs store DRM'ed ebooks are listed in step 1). This will automatically remove the DRM, leaving you with a clean copy of the ebook now saved within your Calibre library.
  95. Regarding Personally Identifiable Information
  97.     Hybr11, ishkacheckuvleky, skrtsqrl and others have all spent extensive time researching the possibility of any information within deDRM'ed ebooks that might identify who purchased/borrowed the original DRM'ed ebook:
  99.     • Hybr11 conducted a test comparing EPUBs of the same book purchased by different people. He concluded "epubs from Sony and Kobo are currently not unique to each purchaser."
  101.     • Ishkacheckuvleky and skrtsqrl's investigation, comparing the same books, in EPUB format, borrowed from different Overdrive libraries with different accounts, also found no difference in the Adept/uuid data. Ishkacheckuvleky also compared two copies of a Barnes & Noble EPUB (one that was uploaded here as retail and one that he personally downloaded from B&N), and found their data to be identical.
  103.     This would suggest that there is no perceptible information that would lead back to whoever deDRM'ed the original copy in most, if not all, EPUBs. Much less investigation has been done on Amazon's Kindle MOBI files, which also carry identifiers ("atv:kin"). Until additional research is done, Hybr11's Kindle Obfuscator is available to strip atv:kin values (see below).
  105.     For anyone who still is uncertain or uncomfortable regarding potentially identifiable information, Hybr11 created "obfuscators" that can be used to strip the uuid data from EPUBs or (Kindle) MOBI files. Hybr11 noted that it doesn't cause any harm to use the obfuscators, but he (and others) have decided that the stripped data is not dangerous. The obfuscators can still be downloaded and used, available here; discussion on the topic can be found here.
RAW Paste Data