Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Removing DRM protection from eBooks
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #11  
Old 07-01-2010, 11:57 PM
Stream Recorder
 
Posts: n/a
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by waleng View Post
I'm having a bit of a problem here. Is anyone of you having errors removing the DRM from your purchased books after the latest Kindle Software Update? I had no problems cracking the books that I bought before updating to 2.5.2 but had a hard time with the later ones. I think Amazon has decided to change their codes. Do you guys have a workaround for this?
Any book downloaded after 2.5.2, even those bought before and downloaded from Manage Your Kindle, will not work with Mobidedrm.

You can try to downgrade Kindle4PC and re-download your books. Alternatively you can remove DRM using Skindle.
Reply With Quote
  #12  
Old 07-31-2010, 05:12 AM
mchassy mchassy is offline
Junior Member
 
Join Date: Jul 2010
Posts: 4
mchassy is on a distinguished road
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Just hopping on to this thread. I have a Kindle 2, I use Mac, and I am trying to dedrm my kindle books. I've had my Kindle since November. I just installed Calibre on my Mac and then re downloaded all of my books from Manage Your Kindle.
I imported all of them into the Calibre library. No problem.

Now I would like to dedrm them in to normal mobi format and add those versions to my Calibre library as well. I tried to add the mobidedrm_plugin.py (in a zip) file as an addin, but Calibre did not seem to accept it.
I didn't want to spend too much time on this, and I know scripting fairly well, so I copied all my AZW files into a folder along with the mobidedrm.py file.
I wrote a .sh file with a line for each book in the following format:
Code:
python mobidedrm.py "Book.azw" "Book.mobi" 'MYPID'
I used the double quotes around the book names, because they often have spaces.

I got these messages for all of my books:
Code:
Extra Data Flags = 2
Error: no key found. maybe the PID is incorrect
I read through all of this thread:
  • One messages says to use the V.06 of the script - but that version is not published in the thread :-(
  • Then I found this on the last message on the thread.
    Quote:
    Any book downloaded after 2.5.2, even those bought before and downloaded from Manage Your Kindle, will not work with Mobidedrm.
  • What are you referring to as 2.5.2? Is the DRM version? Does that mean that this script is not working on the latest version of DRM that Amazon has put into place?
  • You mention the Skindle tool afterwards, but that is only for PC. Is there an equivalent for Mac?
Thanks for any info.

Mark
Reply With Quote
  #13  
Old 08-02-2010, 02:37 AM
Stream Recorder
 
Posts: n/a
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by mchassy View Post
What are you referring to as 2.5.2? Is the DRM version?
This is a version of Kindle Software (this was mentioned above)
Reply With Quote
  #14  
Old 08-02-2010, 02:40 AM
Stream Recorder
 
Posts: n/a
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by mchassy View Post
One messages says to use the V.06 of the script - but that version is not published in the thread :-(
You should always try the latest version first.
v.0.13 was posted above before
Code:
http://mobi.pastebin.com/k0Hxg6iY
Reply With Quote
  #15  
Old 08-02-2010, 03:26 PM
Trester Trester is offline
Junior Member
 
Join Date: Aug 2010
Posts: 1
Trester is on a distinguished road
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by Stream Recorder View Post
You should always try the latest version first.
v.0.13 was posted above before
Code:
http://mobi.pastebin.com/k0Hxg6iY
I've spent a lot of time on this, and I still can't get it to work. I've downloaded/saved v.0.13 to a py file. In the CMD window I type:

MobideDRM.py blood.prc blood2.prc XNXNNXX$XX

and get the following error message:
File "C:\Python31\MobideDRM.py", line 57
print "bad key length!"

Line 56 says: if len(key)!=16: (if fail goto 57)

The PID is from Mobipocket Reader (v 6.2 Build 608). I am also concerned that the PID contains a "$" character, which seems as though it would fail the script logic.

I have also tried using single quotation marks on the PID, with no success.

Any help would be appreciated!
Reply With Quote
  #16  
Old 08-02-2010, 03:35 PM
mchassy mchassy is offline
Junior Member
 
Join Date: Jul 2010
Posts: 4
mchassy is on a distinguished road
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


@Steam Recorder
Yes I saw you were referring to the kindle software afterward.
For the script : tried both the v.0.06 and the v.0.13 and both fail in the same way.
I think your suggestion to try using the MobiPocket Reader is the key.
I will check on that and get back to you.
Reply With Quote
  #17  
Old 08-03-2010, 12:16 AM
Stream Recorder
 
Posts: n/a
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by Trester View Post
I've spent a lot of time on this, and I still can't get it to work. I've downloaded/saved v.0.13 to a py file. In the CMD window I type:

MobideDRM.py blood.prc blood2.prc R7X46LB$DV

and get the following error message:
File "C:\Python31\MobideDRM.py", line 57
print "bad key length!"

Line 56 says: if len(key)!=16: (if fail goto 57)
Try to take the last two digits off the PID, cutting it from 10 symbols to 8.

Quote:
Originally Posted by Trester View Post
I have also tried using single quotation marks on the PID, with no success.
It is a good idea to make sure your filenames doesn't contain spaces.

Instead of
Code:
MobideDRM.py file name with spaces.prc file name with spaces2.prc PID
use
Code:
MobideDRM.py "file name with spaces.prc" "file name with spaces2.prc" PID
or rename your files and use
Code:
MobideDRM.py file_name_with_spaces.prc file_name_with_spaces2.prc PID
Reply With Quote
  #18  
Old 08-03-2010, 12:54 AM
mchassy mchassy is offline
Junior Member
 
Join Date: Jul 2010
Posts: 4
mchassy is on a distinguished road
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


@Stream Recorder
Ok, I went back and looked at the beginning of this post.
Are you saying that I have one PID *from Amazon* and another when I import my AZW file into Calibre?
In either case, is it possible to view the PID using Calibre (or some other tool) to verify that I'm using the correct one? I got mine from the website which generates it (http://kindletools.prestonlee.com/).
Reply With Quote
  #19  
Old 08-11-2010, 02:22 AM
Dan247 Dan247 is offline
Junior Member
 
Join Date: Aug 2010
Posts: 2
Dan247 is on a distinguished road
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Any idea when MobiDeDRM might be upgraded to handle the 2.5.2 Kindle software release? I too am getting the "no key found maybe the pid is incorrect" error message when I try to run it, no matter which version of MobiDeDRM I try.
Reply With Quote
  #20  
Old 08-11-2010, 06:03 AM
Stream Recorder
 
Posts: n/a
Default

Re: MobiDeDRM.py - remove DRM from Mobipocket ebooks


Quote:
Originally Posted by mchassy View Post
@Stream Recorder
Ok, I went back and looked at the beginning of this post.
Are you saying that I have one PID *from Amazon* and another when I import my AZW file into Calibre?
http://stream-recorder.com/forum/sho...67&postcount=2
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:39 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons