I think I have already asked this, but I don't think I got a definitive answer/solution.
I have bought some mobipocket books and, as you probably know, they have often deficient/faulty/missing metadata and/or covers (not to talk about the text formatting). Fixing that would be easy with MobiPerl's mobi2mobi or with Calibre's ebook-meta, but sometimes the books are in the generic PRC format (not MOBI) that does not allow adding covers or whatever. When possible, I've been using mobi2html to extract the html and then recreate the book as a proper mobi file, with the correct metadata and covers, but this does not always work, just today I found a book that loses all images in this way (the resulting HTML code has only <img alt="whatever">, but no src and no image files are created).
So, I'd like a working way to extract the contents of a mobi file or to convert from PRC to MOBI. Calibre, as far as I can tell, is no good, because it processes and does all kind of modifications on the HTML/CSS code (or can this be disabled?). MobiPerl's "mobi2html --rawhtml" would be good, I guess, but it does never extract images (and links are given as "filepos", which is not quite convenient).
Is there really no better way to add covers and metadata to a PRC book?