Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2023, 06:37 PM   #361
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: 10,998
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by Allen20 View Post
It seems the books in Print Replica format don't work in this method and after removing DRM, the format isn't working properly. Any idea?
If you're using Calibre, try Kindle Unpack. Some print-replicas are PDF files inside a wrapper. (Some others are KFX-only, but they wouldn't have downloaded on Android.)
ownedbycats is online now   Reply With Quote
Old 06-10-2023, 09:08 PM   #362
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by Montana Harper View Post
Even with the connection enabled and/or using the shortcut, the port still changes. Possibly it's the version of BS (5.11) I'm using? It doesn't matter if it's Nougat or Pie, though; I've tried both of them. I can't disable the various Win10 Pro VM features (Hyper-V, etc.) without breaking other necessary programs, or I'd be using BS 5.09 and BSTweaker.

Ah, well. I guess it'll just be a multi-step process for me each time. Thanks for helping me troubleshoot!
Solution to make it automatic, even with Hyper-V enabled. Simply run this batch file from the directory you want the "files" folder created. You have to verify that the BS config file is in the location indicated, BS open, and ADB option enabled before running the batch file. If installed in the C:\ drive, it should be where I set it. The instance will change. I have multiple Nougat64 machines from BS, so my personal machine is called "Nougat64_5" and not "Nougat64" as indicated in the batch file below. To find the name of the instance, look in the shortcut on desktop you can create in multi instance manager. Mine has the target: "C:\Program Files\BlueStacks_nxt\HD-Player.exe" --instance Nougat64_5. So I would need to change Nougat64 to Nougat64_5. It assumes that there is a path variable set for ADB. Either set one, or edit the batch file to add the location in front of it. Edit the red parts in the code.

Code:
@ECHO OFF
CLS
REM Extracting all books from a Bluestacks instance with unknown port
REM Edit the following SET commands with your own file location and
REM BlueStacks instance name

SET BS_config_file=C:\ProgramData\Bluestacks_nxt\bluestacks.conf
SET BS_instance=Nougat64


FOR /F "tokens=2 delims==" %%F IN ('findstr ".%BS_instance%.status.adb_port=" %BS_config_file%') DO SET ADB_PORT=%%F
adb connect localhost:%ADB_PORT%
adb -s localhost:%ADB_PORT% -a pull /sdcard/Android/data/com.amazon.kindle/files
adb disconnect localhost:%ADB_PORT%
@ECHO ON
@PAUSE

Last edited by DuckieTigger; 06-12-2023 at 10:41 PM. Reason: Fixed bug
DuckieTigger is offline   Reply With Quote
Advert
Old 06-12-2023, 08:31 AM   #363
archz2
Connoisseur
archz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura aboutarchz2 has a spectacular aura about
 
Posts: 68
Karma: 4102
Join Date: Jun 2018
Device: Kindle Paperwhite (10th gen) - 6", OnePlus 9RT - MoonReader Pro
Quote:
Originally Posted by archz2 View Post
Fantastic! This method really worked well! I found it little intimidating at first. Sharing a quick and dirty illustrated guide for using the 'backup.ab' file to make the process seem less intimidating and difficult.

The image is not showing up somehow
This is the image.


Can't see my posted pos as it has gone for approval. @admins and @moderators, I am enclosing the screenshot as an attachment in this instead of image url. Delete the one which is not working or the duplicate one.
Attached Thumbnails
Click image for larger version

Name:	guide image.png
Views:	190
Size:	186.1 KB
ID:	201977  
archz2 is offline   Reply With Quote
Old 06-12-2023, 07:28 PM   #364
Montana Harper
book geek (she/her)
Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.Montana Harper ought to be getting tired of karma fortunes by now.
 
Montana Harper's Avatar
 
Posts: 115
Karma: 2029154
Join Date: Sep 2013
Location: Pacific Northwest
Device: iPhone 16 Pro Max, Kindle Paperwhite (10th gen)
Quote:
Originally Posted by DuckieTigger View Post
Solution to make it automatic, even with Hyper-V enabled.
One tiny tweak I had to do in order to get it working: add "status" between the instance and adb_port.

I'm not sure what the difference is between Nougat64.adb_port and Nougat64.status.adb_port, but the former seems to be static and not actually an open port, and the latter is the dynamic port assigned when I start up the BS instance.

Thanks so much for writing and posting the batch file! (My .bat writing days are long behind me; it would've taken me hours of googling to refresh my memory on syntax and I probably would've given up and continued to do it manually! )
Montana Harper is offline   Reply With Quote
Old 06-12-2023, 09:14 PM   #365
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by Montana Harper View Post
One tiny tweak I had to do in order to get it working: add "status" between the instance and adb_port.

I'm not sure what the difference is between Nougat64.adb_port and Nougat64.status.adb_port, but the former seems to be static and not actually an open port, and the latter is the dynamic port assigned when I start up the BS instance.

Thanks so much for writing and posting the batch file! (My .bat writing days are long behind me; it would've taken me hours of googling to refresh my memory on syntax and I probably would've given up and continued to do it manually! )
Thanks, I will update it on my post. I didn't have an actual dynamic port, but used it on my static one, which has the same port number on both. I suppose one is the requested port, the other is the actual port.
DuckieTigger is offline   Reply With Quote
Advert
Old 06-17-2023, 12:20 AM   #366
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
I have an AQT80 tablet with Kindle 4.16.0.75. I have it working with Calibre 6.21 on Windows 10 x64.

I downloaded 12 books with the old Kindle app and was able to bring them into Calibre, save to disk then update the covers, metadata etc. then save them to my backup folder where they're safe from ever being remotely mismanaged.

The problem is I've bought a few more books, downloaded and opened them with Old Kindle but it's not putting them in
Internal Storage\Android\com.amazon.kindle\files\<individua l folder per book>

The initial 12 books are in there and those are the only ones Calibre can see on it. Having USB Debugging on or off changes nothing.

Where is this old version of Kindle hiding the book downloads?
bizzybody is offline   Reply With Quote
Old 06-17-2023, 07:35 AM   #367
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by bizzybody View Post
I have an AQT80 tablet with Kindle 4.16.0.75. I have it working with Calibre 6.21 on Windows 10 x64.

I downloaded 12 books with the old Kindle app and was able to bring them into Calibre, save to disk then update the covers, metadata etc. then save them to my backup folder where they're safe from ever being remotely mismanaged.

The problem is I've bought a few more books, downloaded and opened them with Old Kindle but it's not putting them in
Internal Storage\Android\com.amazon.kindle\files\<individua l folder per book>

The initial 12 books are in there and those are the only ones Calibre can see on it. Having USB Debugging on or off changes nothing.

Where is this old version of Kindle hiding the book downloads?
Some books are downloaded into the /sdcard/Android/data/com.amazon.kindle/files/kindle folder. But that I have only seen for personal documents and they also have the .prc extension. The files folder is the only one where it can store anything. It may have created another folder besides files, which is very unlikely. To see if that is the case, try to get a fresh copy of the whole com.amazon.kindle folder with:
Code:
adb pull -a /sdcard/Android/data/com.amazon.kindle
If you still cannot find it, maybe post a link to one of the books from the store.
DuckieTigger is offline   Reply With Quote
Old 06-18-2023, 05:40 AM   #368
bizzybody
Addict
bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.bizzybody ought to be getting tired of karma fortunes by now.
 
Posts: 294
Karma: 7742186
Join Date: Apr 2007
Location: Idaho, USA
Device: Various PalmOS PDAs, Android Phones, Sharper Image Literati
I pulled a full backup of the kindle app. Then to extract the backup file I found Android Backup Extractor, abe.jar https://github.com/nelenkov/android-...063121-8fdfc5e

After banging my head against that rock for a while I found that abe.jar needed at least Java 11 yet for some reason Oracle has not released a JRE for Windows later than version 8.x while the JDK is at 20.something.

So I uninstalled JRE 8.x and installed JDK 20.x then I had to do some manual editing of environment / path to grab Windows by its nose and rub its digital face in the location of where Java.exe is now - since Oracle couldn't be bothered to have its installer do it properly. (Is oracle trying to completely kill off Java by having such terrible support for the largest software platform?)

FINALLY I could run
java -jar abe.jar unpack backup.ab backup.tar

in the directory where backup.ab was then use WinRAR to unpack backup.tar

And there, buried in a subfolder, were all the books, both the visible ones in Android/data/com.amazon.kindle/files and the others it has squirreled away somewhere else.

Calibre can work with those. I'd previously pulled a Kindle backup from it to get the serial of it for DeDRM.

If someone wants to use any of this to add to how to work around Kindle PC DRMing everything (even books the author requested to not have any DRM) have at it.
bizzybody is offline   Reply With Quote
Old 06-18-2023, 09:49 PM   #369
DuckieTigger
Wizard
DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.DuckieTigger ought to be getting tired of karma fortunes by now.
 
DuckieTigger's Avatar
 
Posts: 4,763
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
Quote:
Originally Posted by bizzybody View Post
And there, buried in a subfolder, were all the books, both the visible ones in Android/data/com.amazon.kindle/files and the others it has squirreled away somewhere else.
It would help if you would say where it squirreled away the files. Bluestacks is very forthcoming in allowing root access. There is no need to do a backup and then unpacking it.

Very clever of Amazon to not store all books on the visible internal storage (/sdcard/Android/data/com.amazon.kindle/). Only the files folder is linked there. The rest of it, including the key, is in /data/data/com.amazon.kindle/ which requires root access. Easy enough to get root access on a ADB shell, or even easier to simply use ADB pull, which automatically gets root privileges (unlike other devices).
DuckieTigger is offline   Reply With Quote
Old 06-20-2023, 06:27 PM   #370
Cheryl
Member
Cheryl began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
I need a little help

Quote:
Originally Posted by ownedbycats View Post
2. Follow these instructions to extract your Kindle key and import to DeDRM.
:
Hi..I hope you or some of you can help me. I have followed all the points you described. I have a windows 10 pc; I installed Bluestacks; I installed and connected ADB to Bluestacks. I think the connection succeeded because when I go to the Media Menager folder I find the downloaded ebook folders and I can then transfer them to windows. Only the files with DRM protection I can't open them, all the others can. The problem is that I couldn't extract the Kindle key. I installed Calibre, then the 7.2.1 plugin. In the plugins window I opened to the popup window and selected "Kindle for Android Ebooks," then clicked on the green + button and select "Choose backup file." Here I selected the file backup.ab. When I got to this point, however, nothing happens; it doesn't see anything. The backup.ab file is placed on a folder on the desktop where the adb-setup file is located. Yet in /data/data/com.amazon.kindle/ I found the key with "adbkey" and downloaded it to the pc. I tried to select "adbkey" directly from Calibre but it does not see it. Do you have any suggestions? Where could I have gone wrong?
Thanks
Cheryl is offline   Reply With Quote
Old 06-20-2023, 06:56 PM   #371
Cheryl
Member
Cheryl began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
Quote:
Originally Posted by Cheryl View Post
The backup.ab file is placed on a folder on the desktop where the adb-setup file is located.
I forgot to mention that The file backup.ab scores 0 KB.
Cheryl is offline   Reply With Quote
Old 06-20-2023, 07:10 PM   #372
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,502
Karma: 240000001
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by Cheryl View Post
I forgot to mention that The file backup.ab scores 0 KB.
That means the backup has failed.
Sirtel is online now   Reply With Quote
Old 06-20-2023, 07:39 PM   #373
Cheryl
Member
Cheryl began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
Quote:
Originally Posted by Sirtel View Post
That means the backup has failed.
Thank you! but how do I get it to work? I was watching this youtube video (https://www.youtube.com/watch?v=icb-yWQ_peU) explaining the process and I think I got a glitch at minute 1.51. On the video you can see that it writes something (but I can't figure out what: "clea..?") and right after that the string "C:\Users\TechSolutionZ\Downloads>" appears.
Here I didn't bring up the string that said downloads; "adb backup com.amazon.kindle" I wrote it where he in the video starts writing "clea..". In another explanation found on the net it said, in relation to the video, that next to downloads> I should have written "adb backup com.amazon.kindle." What is the exact command to make "C:\Users\TechSolutionZ\Downloads>" come out.
thank you
Cheryl is offline   Reply With Quote
Old 06-20-2023, 08:23 PM   #374
Ma'am-I-Am
Preferred pronouns: We/Us
Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.
 
Ma'am-I-Am's Avatar
 
Posts: 210
Karma: 533346
Join Date: Jun 2014
Location: <--- Over There, USA
Device: Kindle PW 2
Can I do this?
Here's a link which packages everything you need. Read the edited PDF and see the Addendum. https://mega.nz/file/8NhUSSJT#baQsCJ...EMnNOEPnDu1b7E
I only edited the PDF and added the Addendum. The original PDF and the rest is all from the extremely kind folks here.
Ma'am-I-Am is offline   Reply With Quote
Old 06-20-2023, 08:42 PM   #375
Cheryl
Member
Cheryl began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2023
Location: Italy
Device: none
Quote:
Originally Posted by Ma'am-I-Am View Post
Can I do this?
Here's a link which packages everything you need. Read the edited PDF and see the Addendum. https://mega.nz/file/8NhUSSJT#baQsCJ...EMnNOEPnDu1b7E
I only edited the PDF and added the Addendum. The original PDF and the rest is all from the extremely kind folks here.
Thank you! i will try to figure out where i went wrong
Cheryl is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Android] CC Dropbox broken connection *WORKAROUND* chaley Calibre Companion 32 11-17-2023 02:15 AM
Hacks Is There a Workaround for a Deregistered Kindle 3 Frothy Amazon Kindle 6 12-30-2012 11:20 AM
Calibre problems with Kindle Paperwhite Articles and HOW TO use a workaround!! linnx88 Devices 12 11-04-2012 08:30 PM
[Kindle Touch] A workaround to have lanscape mode for PDFs thomass Amazon Kindle 0 12-29-2011 03:39 PM
Amazon/Kindle location workaround Bölverkur Amazon Kindle 7 10-15-2010 05:03 PM


All times are GMT -4. The time now is 04:08 PM.


MobileRead.com is a privately owned, operated and funded community.