View Single Post
Old 02-17-2023, 09:29 PM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,749
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
DRM workaround: Kindle for Android

Note: Please don't PM me with questions! Better to ask in this thread (we'll redirect you to the NoDRM Github if needed).

If you are affected by the changes to Kindle downloads and yet don't have a Kindle device, there's now another solution: Kindle for Android.

You don't need an Android device, thanks to Bluestacks.

As I do not have a Prime account, I've only tested this for purchased books and samples.

Note that reading a book via KU loan pays the author per page, which cannot be tracked if the book is read outside Kindle.

A brief set of instructions. If you need something more step-by-step, this post will help more.

1. Acquire SDK Platform Tools to get adb.exe (Android Debug Bridge) and an APK for an older version of Kindle for Android, 4.17 and below.. I used 4.16.0.75.

If OldVersion.com isn't working, I don't know of the legitimacy of other websites. An APK of version 4.16.0.75 should have an MD5 hash of 1ebe31041db4824c9f83a43d04d74668 (not case-sensitive). If you have nothing to check, this website will do it.

Note that there are reports that the apk won't work for Android 11, and that at least on Android 10 the app may attempt to force the user to upgrade to download books. 32-bit Nougat on Bluestacks is confirmed to work.

If you don't have an Android device and Bluestacks is not available for your system (Linux or M1 Macs), one user reports success using 4.16.0.75 in Android Emulator (part of Android Studio), albeit with severe performance penalties.

2. Follow these instructions to extract your Kindle key and import to DeDRM.

If your adb file is very small (0-1 kb), the backup most likely failed. Try running through the instructions again. One possible error is using newer version of Kindle for Android, which doesn't support backup.

One user reports that using adb backup -all also works, but expect a large file!

(Note that if using Bluestacks, you need to enable the option in its advanced settings, check the port number—most times its 5555—and use adb connect localhost:{portnumber} or 127.0.0.1:{portnumber})

3. After downloading your book, look in /Android/data/com.amazon.kindle/files/ for PRC files inside ASIN-labelled subfolders. Copy it out and DeDRM it.

(Bluestacks has a preinstalled "Media Manager" app that allows you to export the file to the OS.)

Notes:

- There was no attempts from the app to update itself. Still, I would suggest keeping the APK for backup.

- I suspect Amazon may be monitoring MobileRead. If this method gets blocked, I'll know for sure.

- There's been several reports of this method failing on physical devices and the app demanding an upgrade to download. It continues to work on Bluestacks for now, so try that.

- For high-resolution images:

Quote:
Originally Posted by DuckieTigger View Post
Workaround to get high resolution image downloads. This is an anomaly with Bluestacks that refuses KFX downloads, for now at least. So I suggest you keep a Bluestacks version that has the old 4.16 app which does not support KFX. To get high res do this:
  1. Create a new Nougat VM with the Bluestacks multi-instance manager. (alternatively you can clone your working Kindle 4.16 VM, then skip #2)
  2. Follow the instructions in first post to install, login, and backup the Kindle for Android version 4.16.
  3. Download Kindle for Android version 8.51.1.0 (oldversion doesn't have it, I used apkpure Kindle for Android version 8.51.1.0 - the arm64-v8a will only work for 64bit Bluestacks and the armeabi-v7a will work for 32bit and 64bit Bluestacks)
  4. Install the downloaded APK - if using adb, you need to use "adb install -r XYZ.apk" to update existing app, the builtin APK installer in Bluestacks does that automatically.
  5. download and install the AZW6 Image Merge into calibre
  6. delete and redownload books that have previously been downloaded with the Kindle 4.16 version, e.g. if you cloned your instance
  7. for each book extract the .prc and .ast file (the quick and dirty way is to use "adb pull /sdcard/Android/data/com.amazon.kindle/files" - then traverse the files folder and drag and drop the .prc files into calibre)

This will NOT work on Android Emulator or on a Nexus7 tablet, it probably won't work anywhere else than Bluestacks.

Last edited by ownedbycats; 05-11-2023 at 08:45 PM.
ownedbycats is offline   Reply With Quote