Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2020, 08:41 AM   #1
kennedn
Junior Member
kennedn began at the beginning.
 
kennedn's Avatar
 
Posts: 2
Karma: 12
Join Date: Nov 2020
Device: Kindle Keyboard
kindlepass: Retrieve Audible activations for older devices

As you may be aware, Audible devices/apps require that a license file be present to allow the playback of audible content.

As it stands, the Audible/Amazon login flow has changed so much that older Kindle models (1, 2, DX & 3), can no longer log in and retrieve this license by themselves.

Additionally with Amazon's apparent shelfing of AudibleManager. There is now no real way for these old devices to retrieve their activation and play .aax and .aa content.

Introducing kindlepass, a tool for streamlining the retrieval of licenses for these devices. Written in python and working on both Windows and Linux.


Features
  • Windows / Linux Support
  • Auto-detection of plugged-in Kindles on Linux
  • Full CLI wizard
  • Install licenses directly to device
  • Generate activation bytes, allowing native playback and drm removal.

Link to Github Project
kennedn is offline   Reply With Quote
Old 03-17-2021, 01:58 AM   #2
Badcatalex
I draw.
Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.
 
Badcatalex's Avatar
 
Posts: 128
Karma: 4278578
Join Date: Mar 2021
Location: Midwestern US
Device: K1, K4B, KPW3, KOA3, KF7 (2019)
Unhappy Seems broken.

On Linux here, keeps choking up and failing.
Code:
Traceback (most recent call last):
  File "/home/badcatalex/.local/bin/kindlepass", line 8, in <module>
    sys.exit(main())
  File "/home/badcatalex/.local/lib/python3.8/site-packages/kindlepass/kindlepass.py", line 352, in main
    kindle.activate(login())
  File "/home/badcatalex/.local/lib/python3.8/site-packages/kindlepass/kindlepass.py", line 201, in login
    return audible.LoginAuthenticator(user, password, locale=locale, captcha_callback=custom_captcha_callback)
  File "/home/badcatalex/.local/lib/python3.8/site-packages/audible_kennedn/auth.py", line 396, in __init__
    resp = login(
  File "/home/badcatalex/.local/lib/python3.8/site-packages/audible_kennedn/login.py", line 175, in login
    guess = captcha_callback(captcha_url)
  File "/home/badcatalex/.local/lib/python3.8/site-packages/kindlepass/kindlepass.py", line 158, in custom_captcha_callback
    if (platform == "linux" or platform == "linux2") and shell.check_output(["which", "eog"]):
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['which', 'eog']' returned non-zero exit status 1.
Trying to activate a Kindle Touch. In addition, usernames aren't used currently anymore (emails instead are used). But it keeps failing- not even Wine is helping here.
Badcatalex is offline   Reply With Quote
Old 03-17-2021, 09:13 AM   #3
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
Quote:
Originally Posted by Badcatalex View Post
On Linux here, keeps choking up and failing. Trying to activate a Kindle Touch. In addition, usernames aren't used currently anymore (emails instead are used). But it keeps failing- not even Wine is helping here.
Looks like eog is missing from your system, you should be able to install it using APT or the equivalent package manager for your distro.
katadelos is offline   Reply With Quote
Old 03-17-2021, 12:14 PM   #4
Badcatalex
I draw.
Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.
 
Badcatalex's Avatar
 
Posts: 128
Karma: 4278578
Join Date: Mar 2021
Location: Midwestern US
Device: K1, K4B, KPW3, KOA3, KF7 (2019)
Quote:
Originally Posted by katadelos View Post
Looks like eog is missing from your system, you should be able to install it using APT or the equivalent package manager for your distro.
Oh it worked! Thank you so much! Tho the fact that it still asks for a username can throw people off but eh.
Badcatalex is offline   Reply With Quote
Old 03-17-2021, 01:37 PM   #5
Badcatalex
I draw.
Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.Badcatalex ought to be getting tired of karma fortunes by now.
 
Badcatalex's Avatar
 
Posts: 128
Karma: 4278578
Join Date: Mar 2021
Location: Midwestern US
Device: K1, K4B, KPW3, KOA3, KF7 (2019)
Wait, how would.I download audio books to a K1? I don't think Amazon directly integrated Audible on it,.especially because I can't go on Manage My Devices and force Amazon to deliver the books...
Badcatalex is offline   Reply With Quote
Old 04-07-2021, 09:47 PM   #6
kennedn
Junior Member
kennedn began at the beginning.
 
kennedn's Avatar
 
Posts: 2
Karma: 12
Join Date: Nov 2020
Device: Kindle Keyboard
Thanks

Sorry I never realised that anyone had responded against this thread.

You've actually found a bug with the eog problems you were facing. The script should have been falling back to loading the captcha in the web browser if eog wasn't present. That's fixed now so thanks for highlighting it.

I've additionally added a section on how to actually transfer audible books to old kindles as its surprisingly hard to find any information on it on the internet nowadays:

https://github.com/kennedn/kindlepas...ing-Audiobooks

I hope that helps.
kennedn is offline   Reply With Quote
Reply

Tags
audible, audibleactivation.sys, kindlepass, manager


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update to firmware V3.0 for older devices zhivchik Onyx Boox 134 01-02-2021 04:06 AM
Used/Older Kobo Devices Lleaff Kobo Reader 23 05-30-2019 09:22 AM
Overdrive supported on older devices (sort of) bgalbrecht Kobo Reader 20 10-08-2018 10:34 AM
Transferring Books to Older Devices MarjaE Library Management 12 08-09-2016 02:44 PM
ADE too many activations baronrus Kobo Reader 6 01-17-2011 12:18 AM


All times are GMT -4. The time now is 04:09 AM.


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