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 07-15-2010, 07:45 PM   #1
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
MobiDeDRM - which PID to use?

Hello,

i have a BlackBerry with MobiPocket Reader on it.
I bought a ebook in mobipocket.com and downloaded it to my desktop computer. I want to read it in Calibre, but get an error because of DRM.

Now i want to erase the DRM with MobiDeDRM but i don't know which PID to use.
In mobipocket.com i can read under 'Change My PIDs' four different PIDs, one of them for my Desktop PC. But if i use this in mobidrm005.py i just get:

"Error: invalid PID checksum"

I tried the others with the same result. I think i didn't understand the meaning of this PID.
What to do?

Thank you,
Cheers
franc is offline   Reply With Quote
Old 07-15-2010, 09:32 PM   #2
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,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Most likely any of the four PIDs will work. An invalid checksum is sometimes because of 1 vs I or 0 vs O. A PID is 10 characters, the last two of which are the checksum of the first 8. Another common problem is that filenames with spaces must be in quotes.

The latest mobidedrm is (at least) version 0.16. A good source for DRM related info is Apprentice Alf's Blog. Its "tools_" package provides some easy to use wrappers for command line programs like mobidedrm.
wallcraft is offline   Reply With Quote
Advert
Old 07-16-2010, 05:27 AM   #3
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
Ah, Ok, thank you. But tell me one: which of the four PID can i use then?
Does a DRM-ebook can have FOUR PIDs?
This is what i don't understand.
I thought a DRM-bookfile could have exactly ONE PID no more no less.
How is it?

Quote:
Originally Posted by wallcraft View Post
...An invalid checksum is sometimes because of 1 vs I or 0 vs O...
How could this happen with Copy And Paste?

Last edited by franc; 07-16-2010 at 05:35 AM.
franc is offline   Reply With Quote
Old 07-16-2010, 05:56 AM   #4
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
Oh, nice, with the 016 i could deDRM my Book!
It worked with one of the PIDs.
Unfortunately Calibre can't open it. It says: "Loading eBook..." for hours.
Maybe like Alf's Blog said: that not all prc-files can be load.
franc is offline   Reply With Quote
Old 07-16-2010, 06:04 AM   #5
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
a book can have a number of PIDs linked to them, for instance I have two for mine, one for my PC (mobireader) and one for my Gen3. Fictionwise, for instance, allows each user upto 4 registered PIDs - not too sure about other stores.....

Should I need to do any deDRMing I, therefore, need two PIDs removing from books.
GeoffC is offline   Reply With Quote
Advert
Old 07-16-2010, 06:29 AM   #6
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by GeoffC View Post
...Should I need to do any deDRMing I, therefore, need two PIDs removing from books.
That means i have to run mobiDeDRM two times (once with each PID)???
franc is offline   Reply With Quote
Old 07-16-2010, 06:32 AM   #7
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by franc View Post
That means i have to run mobiDeDRM two times (once with each PID)???
not necessarily, the routine should be able to cope with multiple PIDs, running just the once.....
GeoffC is offline   Reply With Quote
Old 07-16-2010, 06:52 AM   #8
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
But without any PID it is surely NOT possible to unDRM?
franc is offline   Reply With Quote
Old 07-16-2010, 09:24 AM   #9
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by franc View Post
But without any PID it is surely NOT possible to unDRM?

I'm not too sure what you are saying here....

Have you managed to delete any of the PIDs - not too sure why you should have 4 .... you, by rights should have 2 - one for the mobireader on the Blackberry and mobireader on your PC ? or have I misinterpreted your original post ....
GeoffC is offline   Reply With Quote
Old 07-16-2010, 10:36 AM   #10
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
I have 4 because: 1 Notebook, 1 PC, 1 old (stolen) BB, 1 new BB.
And because i switched in meantime the notebook now i had to delete old notebook PID and i got the notice to reset the account or something. I did it.

But with my question i meant a totally different thing: if i get a eBook from somewhere else and i don't know the PID of this ebook, then it is not possible to deDRM it?
franc is offline   Reply With Quote
Old 07-16-2010, 11:17 AM   #11
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
In order to deDRM a file, you need the PID it was encoded with/for (if the file is valid for several PID, I guess any single one of the PIDs is enough, but I don't know).

Some mobi files are encoded with no PID (demo and free books), those can be deDRMed without a PID. But if the file was created for an unknown PID, you can't decode it, as far as I know (unless you use brute-force guessing).
Jellby is offline   Reply With Quote
Old 07-16-2010, 11:52 AM   #12
GeoffC
Chocolate Grasshopper ...
GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.GeoffC ought to be getting tired of karma fortunes by now.
 
GeoffC's Avatar
 
Posts: 27,600
Karma: 20821184
Join Date: Mar 2008
Location: Scotland
Device: Muse HD , Cybook Gen3 , Pocketbook 302 (Black) , Nexus 10: wife has PW
Quote:
Originally Posted by Jellby View Post
In order to deDRM a file, you need the PID it was encoded with/for (if the file is valid for several PID, I guess any single one of the PIDs is enough, but I don't know).

Some mobi files are encoded with no PID (demo and free books), those can be deDRMed without a PID. But if the file was created for an unknown PID, you can't decode it, as far as I know (unless you use brute-force guessing).

what's the chance of that !!!

Quote:
if i get a eBook from somewhere else and i don't know the PID of this ebook, then it is not possible to deDRM it?
As Jellby points out, no - If you don't know the PID - then ..... (one of the reasons/drawbacks of DRM - even if you own the book !).

Is it possible to go back to the store you bought it from and download it again, with the new PID....
GeoffC is offline   Reply With Quote
Old 07-16-2010, 12:31 PM   #13
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by GeoffC View Post
what's the chance of that !!!
The chance of using brute-force or the chance of succeeding?

Let's see... 8 independent characters... what are the allowed characters in the PID, digits and uppercase letters only? Then that's 36^8 possibilities, or almost 3 billion (3 trillion for Americans). If you can try one per second, in 45000 years you'll have tried half of them, and you might have been lucky already
Jellby is offline   Reply With Quote
Old 07-22-2010, 03:18 AM   #14
boothy
Member
boothy began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2010
Location: North West UK
Device: Kindle Touch 3G, Kindle Keyboard 3G, Galaxy S3 Kindle app
Hi Franc

I am no expert with mobidedrm but I found that the plugin did not work with just one of my current PIDs (On most ebook stores I have 3) - when I input all 3 PIDs separated by commas it worked fine.As stated in previous post - if you can it would be better to go back to ebook store website and delete redundant PIDs and re download books if possible using the remaining PIDs inserted into plugin customisation.

Boothy
boothy is offline   Reply With Quote
Old 08-27-2010, 06:55 AM   #15
franc
Connoisseur
franc began at the beginning.
 
Posts: 68
Karma: 10
Join Date: Feb 2010
Device: none
Now i just tried again to deDRM a prc-File with only one PID, i used mobidedrm016.py, but even the script told me that the file is deDRM now:

Quote:
c:\Python27>python mobidedrm016.py mybook_with_drm.prc mybook_without_drm.prc ABCDEFGHIJK
MobiDeDrm v0.16. Copyright 2008-2010 The Dark Reverser.
MOBI header version = 6, length = 232
Extra Data Flags = 2
Decrypting. Please wait . . . . done
... but calibre 0.7.15 tells me, that it is still encrypted.
What is wrong there?
franc is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"invalid PID checksum" when using mobidedrm, even though it IS valid. Haidon Kindle Formats 141 11-05-2010 12:02 PM
iPhone Found a way to get IPhone PID to work with mobidedrm Katelyn Apple Devices 6 01-10-2010 01:42 PM
Kindle PID from Mobi PID - can anyone do it? delphidb96 Workshop 2 04-27-2009 04:42 PM
MobiDeDRM jabberwock_11 Kindle Formats 13 12-17-2008 05:33 PM
How to use Mobidedrm larlissm Sony Reader 15 10-05-2008 05:15 PM


All times are GMT -4. The time now is 07:25 PM.


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