QualityCheck Plugin Hack (Stop Amazon deleting your books)

taken from a rentry.co page on mobileraeds, for archival purposes

Reports suggest that some Kindles delete all books sideloaded to a device after a certain period of time of having airplane mode has elapsed. Other reports suggest that changing an internal label on these books (EBOK to PDOC) may circumvent this problem.

Calibre still tags sideloaded books as EBOK, and it still doesn't offer a way to change it for AZW3 books, you have to tag them as PDOC manually.

If you're using KFX or MOBI, you might want to skip to the FAQ.


  1. Download and install the QualityCheck plugin from Calibre
  2. Go to your calibre plugins folder ()
  3. Unzip the qualitycheck.zip plugin as a folder
  4. Search for a file named check_fix.py
  5. Modify the following lines:

  mu.update(asin, b'EBOK')
    
to...

  mu.update(asin, b'PDOC')
    
  1. Save changes, select all the files inside the folder and zip them back in. Do not just zip the folder, that will just make a zip with a singular folder inside and it will not be detected as a plugin on Calibre
  2. Replace the old QualityCheck.zip
  3. In calibre, convert any book to AZW3
  4. Open the QualityCheck plugin > Fix > Fix ASIN for Kindle Fire.
  5. Your AZW3 book is now a PDOC.

You can use a metadata viewer to see if the book is actually a PDOC.

FAQ

But I use MOBI/KFX. What do I do?

MOBI files by default are set to PDOC, I am not sure about this, but you can check this on Calibre Preferences > Output Options > MOBI.

For KFX books (you can convert books as KFX by installing KFX Output plugin), you can tell Calibre to always tag converted books as PDOC. (Calibre Preferences > Output Options > KFX Output > "Create personal document").

Is this method safe? Will something happen to my Kindle?

Yes it is safe, nothing bad will happen to your Kindle. There haven't been reports of PDOC tagged books being nuked so far, here is one report claiming their PDOC tags weren’t nuked.

But why not just use Send To Kindle? isn't that easier?

Maybe.

Last update: 2025 / 02 / 03