Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 10-13-2009, 10:20 AM   #106
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by pdurrant View Post
It might be a content protected, but not PID protected eBook.
See Latest MobiDeDRM Patch.

Another possibility is a bad copy of mobidedrm.py. I think the version bundled with eBookUtility is probably good. As is the most recent version of 0.06.
wallcraft is offline   Reply With Quote
Old 10-13-2009, 04:44 PM   #107
Riptide
Member
Riptide began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2009
Location: Northern Canada
Device: Kindle
Ok, I know I was running 0.05. I'll try the link above when I get home tonight.
Riptide is offline   Reply With Quote
Advert
Old 10-25-2009, 08:54 AM   #108
galavanter
Zealot
galavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-books
 
Posts: 117
Karma: 958
Join Date: Mar 2009
Device: jetBook, iPod Touch, Kindle 3
Since I got the Kindle 1, jetBook, iPod Touch, and then sold the Kindle, I have been using mobidedrm.py without a problem. Most of the files were azw from the Kindle, but when the kindle app came out I got the Touch, and sold the Kindle. The first test book I purchased on it came through mobidedrm clean as a whistle. I had used iPhone Backup Extrtactotr and drm'd the prc file.

The night before last, I purchased the second book on the Touch, extracted it, and that's when my 36 hr nightmare began.

I use a Mac upgraded to Snow Leopard. After running mobidedrm 1,2,5, and 6 repeatedly, I went to Windows via vmWare Fusion. I installed python 2.5.

I'm not Windows savvy, but with a little research I was soon able to get the identical error in DOS as I do in the Mac terminal every time, "Error: no key found. maybe the PID is incorrect".

I performed red_dragon's hack because the OP reported success with it. Not me.

I downloaded Hextreme to see if my book might be a Tpz file. it says Mobi.

I got my UDID again from iTunes and ran kindlepid.py again. The same PID I had saved from months ago popped up.

I switched to a Dell Mini 10, on which I have installed Mac OSX 10,5.8. I ran all the mobidedrm.py files again, this time on the FIRST book I purchased on the Touch, the one I had dedrm'd successfully previously. Same "Error: no key found. maybe the PID is incorrect".

Now that's just not right. The kindle app was updated just 3 days ago. I'm not into conspiracy theories, but nothing else makes sense to me at this point.

If anyone is using mobidedrm.py successfully on a Mac with prc files, please send me some help!

Better yet, buy a book today on your iPhone or Touch, dedrm it with your Mac, let me KNOW, and I'll reimburse you for the book via paypal.

Last edited by galavanter; 10-25-2009 at 10:19 AM.
galavanter is offline   Reply With Quote
Old 10-25-2009, 11:04 AM   #109
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,015
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
It sounds to me like the book you bought doesn't have DRM. Some books in the Kindle store don't have any DRM to begin with.

Quote:
Originally Posted by galavanter View Post
Since I got the Kindle 1, jetBook, iPod Touch, and then sold the Kindle, I have been using mobidedrm.py without a problem. Most of the files were azw from the Kindle, but when the kindle app came out I got the Touch, and sold the Kindle. The first test book I purchased on it came through mobidedrm clean as a whistle. I had used iPhone Backup Extrtactotr and drm'd the prc file.

The night before last, I purchased the second book on the Touch, extracted it, and that's when my 36 hr nightmare began.

I use a Mac upgraded to Snow Leopard. After running mobidedrm 1,2,5, and 6 repeatedly, I went to Windows via vmWare Fusion. I installed python 2.5.

I'm not Windows savvy, but with a little research I was soon able to get the identical error in DOS as I do in the Mac terminal every time, "Error: no key found. maybe the PID is incorrect".

Last edited by pdurrant; 10-25-2009 at 11:05 AM. Reason: trimmed quote
pdurrant is offline   Reply With Quote
Old 10-26-2009, 04:24 AM   #110
aria110
Junior Member
aria110 began at the beginning.
 
Posts: 1
Karma: 22
Join Date: Oct 2009
Device: iphone
Quote:
Originally Posted by galavanter View Post
Since I got the Kindle 1, jetBook, iPod Touch, and then sold the Kindle, I have been using mobidedrm.py without a problem. Most of the files were azw from the Kindle, but when the kindle app came out I got the Touch, and sold the Kindle. The first test book I purchased on it came through mobidedrm clean as a whistle. I had used iPhone Backup Extrtactotr and drm'd the prc file.

The night before last, I purchased the second book on the Touch, extracted it, and that's when my 36 hr nightmare began.

I use a Mac upgraded to Snow Leopard. After running mobidedrm 1,2,5, and 6 repeatedly, I went to Windows via vmWare Fusion. I installed python 2.5.

I'm not Windows savvy, but with a little research I was soon able to get the identical error in DOS as I do in the Mac terminal every time, "Error: no key found. maybe the PID is incorrect".

I performed red_dragon's hack because the OP reported success with it. Not me.

I downloaded Hextreme to see if my book might be a Tpz file. it says Mobi.

I got my UDID again from iTunes and ran kindlepid.py again. The same PID I had saved from months ago popped up.

I switched to a Dell Mini 10, on which I have installed Mac OSX 10,5.8. I ran all the mobidedrm.py files again, this time on the FIRST book I purchased on the Touch, the one I had dedrm'd successfully previously. Same "Error: no key found. maybe the PID is incorrect".

Now that's just not right. The kindle app was updated just 3 days ago. I'm not into conspiracy theories, but nothing else makes sense to me at this point.

If anyone is using mobidedrm.py successfully on a Mac with prc files, please send me some help!

Better yet, buy a book today on your iPhone or Touch, dedrm it with your Mac, let me KNOW, and I'll reimburse you for the book via paypal.
I had this problem today, when I was testing out dedrm'ing on Kindle files from my iPhone (on Snow Leopard). I downloaded and used kindlepid.py to get an ID that looked like this: #######*## (with the #s as alphanumeric characters). I tried every version of mobidederm.py I could find, and every variant of single quotes, double quotes, using all 10 digits, dropping the last two, etc, but nothing worked. It alternated between "Error: no key found. maybe the PID is incorrect" and "Error: invalid PID checksum."

After lots of googling, I found someone who suggested downloading the latest version of kindlepid.py -- which can be found by googling azw-0.2.zip. The version of kindlepid.py in that zip, when fed my iphone device ID, gave me a different PID -- without an asterisk. That PID worked to decrypt all my kindle files just fine (with v0.05 of mobidedrm, though I'm not sure if it matters).

This may apply to anyone who uses the Kindle for iPhone application *only,* instead of in conjunction with a Kindle device. Worth trying at least!
aria110 is offline   Reply With Quote
Advert
Old 10-26-2009, 10:35 AM   #111
galavanter
Zealot
galavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-booksgalavanter has learned how to read e-books
 
Posts: 117
Karma: 958
Join Date: Mar 2009
Device: jetBook, iPod Touch, Kindle 3
What can I say but thanks a million! It worked! Just like you, I got a different PID, without an asterisk. I used 0.06 of mobidedrm.

Thank you.
galavanter is offline   Reply With Quote
Old 11-15-2009, 02:59 PM   #112
Coops
Zealot
Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.Coops will give the Devil his due.
 
Posts: 129
Karma: 77756
Join Date: May 2009
Device: Kindle Oasis, Sony T3 backup
Just another thankyou to all here....

Just switched to a Mac - downloaded a mobi from fictionwise for my PRS-505, and was having the wrong pid checksum issue - but worked fine when i put the PId in single quotes..... Marvellous.

Already converted to ePub......

Coops
Coops is offline   Reply With Quote
Old 12-02-2009, 05:48 PM   #113
Sydney's Mom
Wizard
Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.Sydney's Mom ought to be getting tired of karma fortunes by now.
 
Sydney's Mom's Avatar
 
Posts: 2,899
Karma: 6995721
Join Date: Dec 2008
Location: Idaho, on the side of a mountain
Device: Kindle Oasis, Fire 3d Gen and 5th Gen and Samsung Tab S
For once, I thouht maybe I could provide a little help. I was getting this error message today (Kindle for PC doesn't show any of my books - I have to remove DRM first. I put the books on my kindle, want to read it on my
PC, and I have to remove DRM!). First, I tried different PIDs. When I had tried everything, I tried quotation marks. Nothing. It was a 5-word title, so I changed the first instance to one word. Nothing. Then I changed the 2d instance to one word - done.
Sydney's Mom is offline   Reply With Quote
Old 12-12-2009, 06:33 PM   #114
Katelyn
Addict
Katelyn has a complete set of Star Wars action figures.Katelyn has a complete set of Star Wars action figures.Katelyn has a complete set of Star Wars action figures.Katelyn has a complete set of Star Wars action figures.
 
Katelyn's Avatar
 
Posts: 225
Karma: 342
Join Date: Jul 2006
Location: Indiana
Device: Pocketbook 360, Iphone 3g, Sony 505, REB1200, GEB1150
FINALLY! After spending days trying to figure out why I could not get past the "Error: no key found. maybe the PID is incorrect" and "Error: invalid PID checksum" error when using my PID from my IPhone, I found the post about downloading azw-0.2.zip and using that version of kindlepid.py and it worked! I can now grab some of my books from my phone and move them to my 360 reader.
Katelyn is offline   Reply With Quote
Old 12-14-2009, 05:25 PM   #115
kelosh
Junior Member
kelosh began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2009
Device: HTC Eris
Sorry if I am bringing up something that was answered. I looked through the posts and I believe that my mobipocket books that I bought must be content-encrypted and not necessarily tied to a particular device since I can view them on any device/computer as long as I view it with Mobireader. The problem is that I now have an Android phone and I want to be able to read it with that. It appears that Amazon has no intention of creating Mobireader for Android. Since I paid for the books I have no qualms with decrypting them. I have tried the mobidedrm and it keeps giving me the Invalid PID checksum error but I'm wondering if I need to actually use mobidedrm005 since my books aren't associated with a PID. Is there some other way to decrypt these? Thank you so much for any help!
kelosh is offline   Reply With Quote
Old 12-14-2009, 06:10 PM   #116
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by kelosh View Post
I looked through the posts and I believe that my mobipocket books that I bought must be content-encrypted and not necessarily tied to a particular device since I can view them on any device/computer as long as I view it with Mobireader.

Is there some other way to decrypt these?
See Mobipocket Decoder Tool #176.
wallcraft is offline   Reply With Quote
Old 12-16-2009, 12:55 PM   #117
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,015
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by wallcraft View Post
As is the most recent version of 0.06.
I see on a certain shadowy gentleman's blog that there's now a 0.07 version of mobidedrm available.
pdurrant is offline   Reply With Quote
Old 01-28-2010, 10:15 PM   #118
andersz
Junior Member
andersz began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2010
Device: none
Quote:
Originally Posted by Originally Posted by Dowland
Here comes a lengthy post to summarize the problem and give an actual solution. Please don't hesitate to reproduce this elsewhere. And also, please don't bury this post in the thread, because then nobody will ever find it ... :-)
*

Background info. A MobiPocket PID is 10 characters: 8 characters are the actual key, and 2 characters are the checksum.

Now, before doing its deed, MobileDRM looks at the PID you gave: it controls whether the checksum and the key actually correspond. If they dont, then it gives the error message we all know ("Error: invalid PID checksum"). If they do, then it cuts away the last 2 characters of the PID, and keeps only the key for the remainder of its operation.

Problem. The issue, at least in mobiledrm005.py, is that it accidentally repeats this operation twice (probably whoever wrote this did an unwitting double copy-paste). So scenario 1: your PID is incorrect, and it gets rejected on the first check. And scenario 2: your PID is correct, it passes the first check, gets shortened to its key component, and then flunks the second check.

Solution. Remove the first block from the initialization the code (as this is Python code, you have to be very careful with the indentation), i.e. change:
Code:
def __init__(self, data_file, pid):

if checksumPid(pid[0:-2
) != pid:
raise DrmException("invalid PID checksum")
pid = pid[0:-2]

if checksumPid(pid[0:-2]) != pid:
raise DrmException("invalid PID checksum")
pid = pid[0:-2]
to:
Code:
def __init__(self, data_file, pid):

if checksumPid(pid[0:-2]) != pid:
raise DrmException("invalid PID checksum")
pid = pid[0:-2]
That line that appears twice "pid = pid[0:-2]", is what shortens the PID (it means "take all but the last two characters of this string and replace the original").

Outro. It may very well be that your PID is actually incorrect, and you should browse this thread for ways to find out.

Also: opening the book after buying it unnecessary (except if your vendor does some non-standard thing I've never heard about). If this seems like it works, than a possible explanation is that opening the book actually removes the DRM (and then running MobileDRM on it gives the appearance that it actually worked ...).

Finally: no, I've never seen (valid) MobiPocket PIDs with anything but uppercase alphanumerical characters...

THANK YOU!

This is what made it working for me! I never thought it would work.

I signed up just to be able to thank you!

Thank you and everybody at this great community!
andersz is offline   Reply With Quote
Old 01-30-2010, 01:12 AM   #119
Zorz
Zealot
Zorz began at the beginning.
 
Posts: 134
Karma: 36
Join Date: Nov 2009
Device: Kindle 2i
hello everybody, I had similar problems, mainly fixed with the fix above. I also found a invalid PID because my PID had a ? in it. I found putting the pid in 'PID'. single quotes fixed this problem. Here is a updated and fixed script

http://paste2.org/p/640624
Zorz is offline   Reply With Quote
Old 02-02-2010, 01:22 PM   #120
kevindorsey
Evangelist
kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.kevindorsey has a complete set of Star Wars action figures.
 
Posts: 488
Karma: 258
Join Date: Mar 2009
Device: kindle
I had to run the fix for one of the 7 units that our family owns, and yes it was fixed quickly. Last solution works well.
kevindorsey is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"dx" is not a valid search keyword sushovande Feedback 6 08-15-2010 09:20 PM
PRS-600 "Internal content invalid. Formatting" 600 crash (is it dead ?) zelda_pinwheel Sony Reader 93 02-18-2010 05:27 PM
Classic "Invalid Update" shrktank Barnes & Noble NOOK 4 02-14-2010 06:58 PM
Error help: "Invalid input object: NoneType" MichaelGray ePub 1 02-14-2010 09:16 AM
Error message : "Invalid Format" " Do you want to format your internal memory" narbeauchamp Sony Reader 11 07-22-2009 12:39 PM


All times are GMT -4. The time now is 06:10 PM.


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