Hi pablob,
I found that I could unzip the file in linux (Debian Squeeze and Puppy 4.2.1) and view the files..
I haven't checked real carefully, but these appear similar to those described by kenjennings in April (
https://www.mobileread.com/forums/sho...d.php?t=131049).
I did this both with a USB drive and a SD drive. The only difference I found on the two drives is that the USB unzipping produces a duplicate inside a "trashes" folder.
The thread from April indicates that the serial number is contained in a table (esimeta) which is within the file library.db. The contents of esimeta can be displayed and manipulated with an sqlite command. Here is his comment and the code for the "Library fix":
-----------------------------------------------------------------------------------
PROBABLY IMPORTANT: The esimeta table appears to identify the specific edge device. This table has only one record in it that contains the system's serial number. This may be the only value that prevents a backup on one system from being restored on a different edge. Chances are, updating the value of the "devices" column here to match a different, target eDGe device, then updating the backup .esi/.zip file with the new library.db file would allow the backup file to be restored on a different edge. Pseudi-semi-educated guess at work.
Code:
sqlite> .schema esimeta
CREATE TABLE "esimeta" (
"_id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
"libraryName" TEXT,
"device" TEXT);
sqlite> select * from esimeta ;
1|My Library|F303082002AF
---------------------------------------------------------------
***Surprisingly, kenjennings doesn't mention the file inside the folder /sdcard/.edge/.esi-content/.esa/ which ALSO contains the OLD serial number in its title.
The file in this folder (on my PE) is titled ann_RF30042100A3E_epub_10_4e1e575b.esa.
When I check its properties, it is described as a gzipped archive, but when I changed the extension to .gz and extract, only an XML file is produced.
A later post to the thread stated that changing the serial number in the /fridge/.edge/.esi-data/.databases/library.db file didn't allow the restore to be performed (Method not stated, but in 7/2011, before the Allmine fix).
The "Library Fix" developed and posted by KTwombley in the Ermine+Market=Allmine thread was said to work by a few people, and I don't know of anyone who said it didn't work. This fix (details below) seems to change only the serial number in the library.db file; it doesn't apparently do anything with the file in the .esi-content folder.
Quote (KTwombley)
Library fix .
If you’ve previously applied the Allmine update and your library is broken, applying the newest Allmine update should fix it. If that doesn’t work, you can try this manually. First, find your serial number. Go into Settings, Edge Settings, Default Device Preferences, and then scroll down to Device Preferences. Write that down.
su
sqlite3 /intstorage/.edge/.esi-data/.databases/library.db "update esimeta set device='SERIAL_NUMBER_GOES_HERE'"
(if the Library was "moved" to the sd card, the command is adjusted for the different location [contributed by bobthesane]
su
sqlite3 /sdcard/.edge/.esi-data/.databases/library.db "update esimeta set device='SERIAL_NUMBER_GOES_HERE'")
End of Quote
Reflashing is not going to fix the situation where the library was archived (with .esi file generated) and the original library files are no longer present, though.
Changing the serial number in the .esi archive files to the one created by Golden Allmine and listed in the /system/serial_number file seems plausible. It seems reasonable and harmless to try the "Library Fix."
If this doesn't work in my case, I guess the next thing is to try to change the number in the file in the .esa folder.
Next to last comment (question) Do I need to have anything in the "fixed" .esa file other than the /fridge and /sdcard folders (including their subfolders and files, obviously). I don't need a "LOST.DIR" or any other files in that file or on the sdcard outside the .esa file, for a successful restore?
Final comment - I believe ES File Explorer has a setting to display hidden files but I haven't been able to find it. Appreciate reference or directions on making hidden files visible. I have z4root installed, so I think that it shouldn't be a permissions issue, unless I need to reroot or if ES File Explorer doesn't work well with z4root.
Steve