![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 14642
Join Date: May 2016
Device: Kobo H2O N250
|
![]()
Hi all, been a lurker for years, great forum here. I've searched a lot but haven't been able to find an answer for my issue.
I had a Kobo H2O running 3.19.5613 with Metazoa's patch. This device was working great with my sideloaded books until it developed a hardware problem. I used the Kindle Utilities calibre plugin to backup the DB and reading positions, as well as copying the entire contents of the device's storage to a folder on my computer. Then I got a warranty refund. Kobo sent me a new H2O, and although I haven't been able to find an exact procedure for restoring the database (davidfor references it in this thread https://www.mobileread.com/forums/sho...d.php?t=254512 but doesn't actually describe what to do) and several things I tried (replacing the koboreader.sqlite, replacing the kobo folder, setting up the device with my kobo login again and replacing the entire storage contents with my backup copy) gave me a version of the following error message: "Critical Error: any highlights, notes, or reading progress since your last sync on 3/17/16 will be lost." There was a mandatory button to sign out of the device, which would then reset. Note that at this point I was having a brainfart and hadn't patched the firmware on the new device. Not sure if that was a problem. In any event, I was able to solve this by telling the reset device I had no wifi, connecting to my computer, and copying the entire storage backup to the kobo. This worked, and I had a functioning device. I continued to back up my reading progress along with the database using Kobo Utilities. That brings us to now, when I tried to sync the kobo using the main page button. Bad idea. That updated the firmware, but also brought the return of the Critical Error, dumping me back to the Set up Kobo screen and deleting all my reading progress. (However, my books are still present.) Despite the error message claiming I will have reading progress/annotations to 3/17/16, even that is gone. Help? I've tried copying over the .kobo folder from my 'old' backup, the koboreader.sqlite file from that backup, and the .kobo folder from my most recent backup in the Calibre library's Kobo Backups folder (each of these done after a Critical Error forced sign out). I'm getting critical errors on each - most recently, using the Calibre backup, the slightly different "Critical Error: Your eReader hasn't synchronized with the server yet. Any highlights, notes, or reading progress you've made on the device will be lost." Any help is appreciated. I just want my reading positions back, I'll probably never update my firmware again based on how much trouble this has caused. Thanks for reading my wall of text. Last edited by youngmax; 05-28-2016 at 11:20 PM. Reason: corrected wording |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
It sounds like you are doing all the right things, but, it is not guaranteed to work. And is definitely not supported by Kobo. There is at least one entry in the database that is generated based on the device. Because of this, moving the database from one device to another, might not work. Some people have done this with no problems, for others it doesn't work. And something was changed in the last firmware version or two that made it less likely to work.
What might work is to setup the new device and then extract the data in the users table out of the database. Then replace the database with the backup and replace the entries in the users table with the extracted data. I haven't had the need try this, so don't know if it will work or not. Whether you have patched the firmware or not won't affect this. I don't remember any patches that affect the login process. As to there not being a automatic method to restore the backup that the Kobo Utilities plugin produces, that's because it is really just a file copy to replace the database on the device with the backup. But, it isn't intended for a circumstance like this. It is intended to be used to replace a corrupt database on the device it came from. The closer the match of the backup database with what is on the device, the more likely it is that it will work. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
The old deviice was still on 3.19.5613 for some reason, but I assume the new device would be on the latest version 3.19.5761?
If so then you might try downgrading to 3.19.5613, restoring the backup from the old device, and then allowing the device to upgrade to 3.19.5761. I've never done a restore from backup myself though, and if it wasn't for others reporting that they had done it successfully I wouldn't have guessed it was possible to restore a backup to a different device. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,507
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Was your device registered with Kobo or had you bypassed it by inserting data into the database?
|
![]() |
![]() |
![]() |
#5 | ||
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 14642
Join Date: May 2016
Device: Kobo H2O N250
|
Thanks for the help, here are some more answers.
Quote:
Unless there is a way to transfer reading positions to a new database (I'd survive losing my annotations), it sounds like a firmware downgrade and reattempting the DB copy is my best approach. Does this require cracking open the case? Quote:
I'll also download an sqlite tool and start poking around the DB. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 14642
Join Date: May 2016
Device: Kobo H2O N250
|
Okay, I must have been confused about what firmware version I was using. There hasn't been a firmware update since January? Why did I just receive a notification about the new firmware version this week - is it because I updated Calibre to 2.57.1 this week, but had been using 2.55.0 since April?
I wonder if this is the source of the problem. I guess I'm not sure what versions of the firmware I was using at all, I was basing all those numbers on the presumption that the firmware update was this week, and until then I had the most recent firmware. Apparently not true? Is there a way to pull that information from the backed up DB's? I wonder if something crazy happened like I was using an old firmware version on the original device (not sure how, since it displayed a successful wifi sync in february) and that DB was copied to a device that was new in box with a different version, possibly the latest, but tried to upgrade itself incorrectly because the device firmware and DB were not in agreement? There's probably a good reason David suggested to copy the user info from a new DB to the old backup DB, but with this much confusion I wonder if it might not be better to start a new DB and copy the reading positions over. Of course, if something mysterious in the firmware is rejecting data from other devices, this might not work either... |
![]() |
![]() |
![]() |
#7 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
Is it possible the new device was runing 3.19.5761 but you applied a patch for 3.19.5613? I don't know what would happen in that case, usually the device wouldn't boot, but if it did there would certainly be problems at some point. Quote:
|
||
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
You can find the firmware version in the file .kobo/version on the device, if you backed up this file with the rest of the data then you can check it to see which version the old device was running.
|
![]() |
![]() |
![]() |
#9 | ||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
Quote:
Quote:
If the point of all this is to get the reading statuses back on the device, then there is a way to do it. Use the Kobo Utilities plugin "Store/Restore reading status" function (can't remember exactly what I used for the menu). The quick and dirty steps are:
If all goes right, then you will have the reading status set for all the books on the device. But, you won't have the reading stats or the bookmarks. If you use calibre to manage the collections, they should be back. |
||||
![]() |
![]() |
![]() |
#10 | ||
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 14642
Join Date: May 2016
Device: Kobo H2O N250
|
Quote:
Quote:
Possibly of note, while setting up the new device I first tried logging into my kobo account and got to the home screen. Would that have been enough to trigger a check for available firmware updates? If so, there seems to have been no reason for the device to download an update, which I saw it doing. If a bare initial login without hitting the sync tile even once isn't enough to trigger an update check, it sounds like I was running a database from the most recent firmware on a 'new' device with older firmware. Here's the contents of the version file from my backups of the original device: Code:
N250553006736,2.6.35.3,3.19.5761,2.6.35.3,2.6.35.3,00000000-0000-0000-0000-000000000370 Code:
N2505B3901229,2.6.35.3,3.19.5761,2.6.35.3,2.6.35.3,00000000-0000-0000-0000-000000000370 Code:
N2505B3901229,2.6.35.3,3.16.17,2.6.35.3,2.6.35.3,00000000-0000-0000-0000-000000000370 -Restore reading positions, RIP bookmarks -Attempt a downgrade to 3.16.17? Not frequently done, might brick the kobo. -Reset device, export user table from fresh DB to a CSV file, then load a backed-up DB and replace the user table from CSV. sqlitebrowser doesn't seem to have the ability to open two databases at once, which I suppose makes sense with the embedded focus of sqlite, so this is the best I could come up with. ![]() |
||
![]() |
![]() |
![]() |
#11 | ||||||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
You can get different results from the utilities plugin. It can use the affiliate from the device, or an "early adopters" affiliate.The latter should be one of the affiliates that get the update first. Quote:
Quote:
Quote:
You can now connect to the PC and manually install any desired firmware version. You can also do that before ejecting the device above, but seeing the factory firmware is probably a useful data point. Quote:
|
||||||
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 14642
Join Date: May 2016
Device: Kobo H2O N250
|
This was a huge help! Constructing a hybrid database by moving the user table values worked great, my annotations are back. There's a little bit of glitchiness but nothing that interferes with my reading so far: a couple dozen 'new books' appeared with the name index by unknown author, composed of chunks from books I've read before. I suspect they're related to old annotations.
Deleting the table and using a CSV to hold the values ended up messing with the table settings (I don't think sqlitebrowser really understand the BIT field) but since there are less than a dozen values I ended up just editing the table with copy/paste. 100% fixed, I'm going to stay away from firmware updates in the future unless there's some stupendous new feature I can't live without. Thanks again. |
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1
Karma: 14642
Join Date: Jun 2016
Device: Kobo Aura H2O
|
For future reference in case someone has issues with this in the future, I couldn't get it to work, the way I read the above, what did work however was this:
Using SQLiteBrowser: 1. Export user table from working database (what the device has after you click the Critical error away and log in). 2. Delete entry from user table (Should only be one) from your backup database. 3. Import the entry from the working database. This restored all progress, bookmarks, font settings and all such things for me. |
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13
Karma: 14642
Join Date: Sep 2016
Location: Third Rock from the Sun
Device: Nook HD/HD+/Glowlight/460, Samsung GS9+, Kobo Aura H2O, iPad Pro/mini
|
I had a similar problem. I was able to solve it by making a copy of the KoboReader.sqlite file on both my old and my new readers. I copied the device ID and pasted it into a copy of the old sqlite file using DBBrowser for SQLite (free Mac program) then saved the new sqlite file onto my new reader. No other changes. I got my old reading stats and bookmarks back without issue.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD To restore or not to restore after updates? | omnimodis78 | Kobo Reader | 3 | 02-26-2014 07:08 PM |
Flightcrew says Errors, but Sigil says no Errors… | Barcelona | Sigil | 4 | 02-09-2012 07:13 AM |
Kindle - Critical Questions | Achiever | Amazon Kindle | 46 | 08-13-2010 05:13 AM |