![]() |
#16 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
After playing with KSM and fmon a little bit, I can be sure that the culprit must be something between Calibre and fmon. My previous statement of the usability of KSM might due to strong luck.
As the remuneration of my water proof function, I got this conclusion: The database corruption occur if and only if any script in $mount_root/.kobo/fmon/ is executed And using calibre for file moving. |
![]() |
![]() |
![]() |
#17 |
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
|
So, you have done the isolation tests? That is, sideloading with calibre and not using fmon and sideloading without calibre and then using fmon?
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
Yes, all of them (koreader, fmon, KSM, calibre and its plugins), which takes me great among of time:P.
I've even tested on an older version of calibre on windows, the results are the same. I've also try to switch different versions of kobo plugins(and feature that do the kepub convertion), but seems that whatever plugin I'm using, the database will be corrupted. |
![]() |
![]() |
![]() |
#19 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
But for the sake of simplicity, I just comment out all lines in on_start.sh instead of making a fresh installation or manual update.
without calibre, (k)epub transfers are done without any problem. A typical process causing corruption and reverse it would be: 1. install fmon (or uncomment the on_start.sh & reboot) -> 2. connect and transfer with calibre (success or communication error, database malformed) -> 3. disconnected, content processed (or not), books and shelves disappear -> 4. comment out on_start.sh and reboot -> 5. broken items still broken, but newly transferred items shows normally. Last edited by Patricius; 08-01-2015 at 09:51 AM. |
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
I take it this is all a recent development. It makes me wonder if the Kobo software engineers would spend their valuable time thinking of ways to mess with the ability of 3rd party software to work with their firmware/software? This would be odd, though, given the original open and supportive approach that the Kobo devices started out with.
As some of you may have noticed, I have always found the database approach to file management a flaky idea to start with and the database easily corrupted. It should not matter to me as I make no use of it for my reading, thanks to KSM & Koreader. I don't think my experimental 600+ caliber generated library that is exposed to the database, has resulted in any corruption of the Kobo database, but I haven't checked it lately. Luck; Ken |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
The Koreader would be my first choice if I only read in English...
![]() However, Koreader is still lack of vertical text and ruby support, which is used by lots of Chinese and Japanese books. Also, the way Calibre handles book titles in Chinese and Japanese is a nightmare because it mixes pronunciations of two languages into one title without accents, making it hard as cross-word puzzle to guess the real title in one glance. The best analogy I can come up with is to read a English sentence cadenceless with all non-prepositions in French pronunciations.... Maybe I should look into advboot and see if it will suit my needs. ![]() Last edited by Patricius; 08-01-2015 at 10:55 AM. |
![]() |
![]() |
![]() |
#22 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
I don't think so. I've just looked at my notes. My database corruptions after installing koreader happened in November 2013.
Just for info I had similar database corruption problems after I tried one of the NightMode hacks on my H2O. That was March 2015. |
![]() |
![]() |
![]() |
#23 | |
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:
And of course, if there is a bug, if you can report it and explain what is wrong, it will probably be fixed quickly. |
|
![]() |
![]() |
![]() |
#24 | |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
Quote:
For the fmon/calibre/kobo-plugin issue, if it success after using the device plugin (treat the device as a folder), is it right to make a conclusion that it is the plugin that should be blamed? And if I test it on an older firmware with the same setup and succeed, then it shouldn't be the fmon/calibre/kobo-plugin, right? I've only read the rcS and fmon scripts (not fmon source, which I failed to find) briefly, and I don't understand the operation detail of nickel and calibre. Is it okay to throw this problem to the developers at this stage without knowing which one is the culprit? |
|
![]() |
![]() |
![]() |
#25 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
I just have managed to 'dual boot' into nickel or koreader by adding few lines to /etc/init.d/rcS.
Now if I want to boot into koreader, I only need to touch when it loops with blinking squares, for nickel, just do nothing. Mis-touches can be solved using koreader's home button. Now without fmon (and KSM, which uses fmon), both readers work like a charm. I've pasted the modified rcS here in case anyone has the same problem ![]() The modified parts are line 131, and lines 167+. p.s. the 6 sec in line 168 is a magic number. |
![]() |
![]() |
![]() |
#26 |
Linux User
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Careful with that, it could give you a malformed database.
|
![]() |
![]() |
![]() |
#27 |
Cloud Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,124
Karma: 4000066
Join Date: Aug 2010
Device: Kindle Oasis, Kindle Scribe, iPad Pro 11
|
I've had some success with hidden folders for Koreader books (it's a bit of a nuisance that you cannot point Koreader to that hidden folder, make it the default folder, and then hide all hidden files again to unclutter the folder a bit)...
I would recommend restarting the device after you leave Nickel and before you enter Nickel again. Otherwise it messes up some settings and you have to log in to some things again and re-apply some settings (like the custom "export highlights"). In addition, always check if Nickel is able to write to the database. To confirm, try deleting one of the tiles on the start screen. If it doesn’t delete and the screen refreshes, definitely restart your device. (I know this is shitty behavior and should have been fixed ages ago by Kobo and the third party app developers but, welcome to Kobo, where many things are possible if you are able to identify the script in order to stick to it ![]() |
![]() |
![]() |
![]() |
#28 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
You could do the "then hide all hidden files again to unclutter the folder a bit)..." by unchecking the Show hidden files option, but the hidden folder is the one that has a name that starts with a dot/period, it is that - and all the folders and files inside that folder, that are hidden and shown. I have my library in ~50 folders inside a hidden folder. Luck; Ken |
|
![]() |
![]() |
![]() |
#29 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
If I understand it correctly, the database will be threatened only if I boot into Koreader and then go back to nickel and do some transfer. The patch has no difference with the original version if not tapped when booting.
Great kobo mods by the way! (・∀・) |
![]() |
![]() |
![]() |
#30 | |
Member
![]() Posts: 14
Karma: 10
Join Date: Aug 2015
Device: kobo aura hd, aura h20, elipsa 2e
|
Quote:
/mnt/onboard/.adds/koreader/koreader.sh you cause a shutdown when koreader exits? |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
advboot: a new approach to launch nickel or koreader at startup | shadoooo | Kobo Developer's Corner | 127 | 03-11-2018 04:48 PM |
database disk image is malformed | fxp33 | Calibre | 10 | 09-02-2015 11:58 PM |
Aura H2O Problem with KSM and/or Koreader -> Nickel full freeze | johnnyb | Kobo Developer's Corner | 8 | 04-15-2015 02:18 AM |
help: 'malformed database' with kobo | prairiegal | Devices | 2 | 03-10-2011 09:50 PM |
Malformed Database Request | timlegge | Kobo Reader | 0 | 02-18-2011 10:44 PM |