NST: books disappear from library - Nook Touch General

A strange problem of my (rooted) NST: open a book, close it, insteading of going to the first place in the Library ( sorted from most recent ), it disappears completely. The book is still there, as the total number of books remains the same, it is still searchable.
Adding a new book doesn't making it appear in the library either, though searchable too. So it seems the adding book module is wrong.
Possible cause: unplugged the battery while NST is on ( it was off, but during middle of opening the back, somehow the power button was touched, too lazy to turn it off again )
Tried to restore from backup using NM, doesn't solve the issue?
Any suggestions of how to fix it? Thx in advance for any help.

smjohn1 said:
A strange problem of my (rooted) NST: open a book, close it, insteading of going to the first place in the Library ( sorted from most recent ), it disappears completely. The book is still there, as the total number of books remains the same, it is still searchable.
Adding a new book doesn't making it appear in the library either, though searchable too. So it seems the adding book module is wrong.
Possible cause: unplugged the battery while NST is on ( it was off, but during middle of opening the back, somehow the power button was touched, too lazy to turn it off again )
Tried to restore from backup using NM, doesn't solve the issue?
Any suggestions of how to fix it? Thx in advance for any help.
Click to expand...
Click to collapse
Seems a few reboots fixed the problem. Must be temp file system issue. The OS is still robust.

Related

Disable music tab rebuild

Once I have done a fresh rebuild of the "AudioManager_Eng.vol" everything works fine. But if i connect to my PC via "disk drive" mode, once disconnected I have to rebuild the library again, same applies after a soft reset.
Is there a solution to this? i.e disable rebuild.
Can anyone help? as I would like to use this, instead of another application.
So, I would like to build the library once then be able to disable it from rebuilding upon reset etc.
Many thanks
muzens said:
Once I have done a fresh rebuild of the "AudioManager_Eng.vol" everything works fine. But if i connect to my PC via "disk drive" mode, once disconnected I have to rebuild the library again, same applies after a soft reset.
Is there a solution to this? i.e disable rebuild.
Can anyone help? as I would like to use this, instead of another application.
Many thanks
Click to expand...
Click to collapse
Yeah, that would be nice! I played with some registry settings, did some tricks with the vol file but I didn't find a solution (yet). Anyone?
I have been searching high a low throughout the forum today, but nothing, let's hope someone here can help.
I have the same issue - O2 v1.43 - occasionally the library will rebuild after about 30 seconds, but often it doesn't. Sometimes I am also unable to delete the audiomanager_eng.vol file as it is in use. Restarting HTC Sense doesn't unlock the file. Doing a soft reset and trying to get to the file in File Explorer as quickly as possible in order to delete it also doesn't always work, as the file becomes locked before I can get to it. A bit annoying :-(
+1 here too
Does anyone know how to solve this?
interested too because the rebuild is often done during music playing and it's really boring
I have found a little workaround. It helped me to overcome my problems with the library load-time, maybe it will work for you guys too.
http://forum.xda-developers.com/showthread.php?t=638938
In short the workaround initiates a library rebuild at startup, so that when you eventualy tap the musictab, the library is already build. For me, this totaly fixed my problem.
appelflap said:
I have found a little workaround. It helped me to overcome my problems with the library load-time, maybe it will work for you guys too.
http://forum.xda-developers.com/showthread.php?t=638938
In short the workaround initiates a library rebuild at startup, so that when you eventualy tap the musictab, the library is already build. For me, this totaly fixed my problem.
Click to expand...
Click to collapse
= 5 smile fix for me!
Thank you very much appelflap for this little work around. . This does help, lets hope in the future this is a more permanent fix for toggling, on and off, the rebuilding of the library.
Much appreciated! Thanks!

[WARNING] NookColor Tools can cause forced factory reset

I couldn't see anything about this on the forum so far so I thought I ought to post a warning myself....
NookColor Tools is a great app, but don't be tempted to experiment with the menu entries further down the "All Settings" menu, as some of them (for example the multiple "Settings" entries) will force your NST/N2G to factory reset. Basically a B&N dialog appears and says something about a security or permissions breach detected, then forces a reboot and factory reset.
You have been warned!
The following [useful] menu entries are known to be safe:
About Your NOOK
Battery use
Development
Device Info
Diagnostics and Logging
Locale
Manage applications
Quick settings
Running services
Screen
SD Card
(Tested using N2G running 1.2.0 firmware, rooted using GlowNooter 1-12-25)
I can confirm this - just happened to me.
And me
Sent from my Nexus 4 using xda app-developers app
Yup! This happened to me too last week when I first rooted my Nook. I wish I had seen this earlier. It would have saved me from having to root again.
This has happen to me too yesterday. +1
I have made CWM backup just one day before it, but I should mention that it doesn't backup My Files folder from internal storage partition actually, because the 'media' partition just wasn't mount by CWM at all (at least it worked that way in my particular case). So be careful and backup your books and etc from internal storage partition manually if you need them.
I would recommend to have whole ROM (internal storage flash memory) backup to everybody (nookmanager or nogie will help to do it if you don't know how to use dd in adb shell). It obviously rules. I'm glad I had it.
Why isn't this thread stickied? This seems like Need to Know Information.
Oh crap. Does this mean that secret Barnes & Noble stuff is breached? Or does it just mean that the system finds out that it is rooted? Either way, that isn't good. This did get me thinking, if those settings exist, are they included, but blocked by the stock ROM? We already know about the secret factory menu, so is it possible that there are more menus like that? Possibly some that allow acces to that part of settings without causing a security breach?
Sent from my NookColor using xda app-developers app
More likely the settings entry is doing exactly what it is supposed to, and the way it's triggered stock just happens to show it as an entry. I just did this myself on accident, I think I'll leave it in reader only mode for a while, I rarely use the "tablet mode" features.
==EDIT== I do miss the screensaver banner editing (had it as an "if found, contact" notice) and the persistent battery bar I had though. I guess it's less likely to die quickly in reader only mode so the bar isn't really needed any more
I can confirm this. A few NookColor Tools settings don't work (they throw me back to main NCT menu), and at least one of them shown me the security breach message and then restarted my Nook Simple Touch.
After restart, Nook started to boot, but never finished doing that. Eventually i pushed at the top part of the screen - and that brought up the Quick Settings dialog (where you can enable/disable WIFI). After that, the top Android bar appeared, but the screen remained black.
My guess is that since i disabled B&N tools with NookManager, Nook had no home to run, or something like that.
Eventually i had to restore pre-rooting backup i've had.
Goggles2114 said:
Why isn't this thread stickied? This seems like Need to Know Information.
Click to expand...
Click to collapse
+1 for making this thread Sticky!!
Just reporting:
Device Registrator can force factory-reset as well. If you register with it and then tap "unregister user."
I was running rooted 1.0.1 rooted with nookmanager.
Mineturtle33,
I'm thinking it's interesting, because the "security breach" problem may be related or the same of you first try to port CM7.
You agree?
Maybe better understanding of that can also solve some of the problems of the port!
Yes, and no. When it recently factory reset on me it was related. When I first tried to port SnowMod (not CM7 btw, but a NST optimized CM7-like ROM) It factory reset when I tried to open an app in the android launcher. This may or may not be related.
Sent from my NookColor using xda app-developers app
This is an old thread but I found this error myself much to my chagrin. I decided to test every selection. Every menu is okay to go through except the second settings down on the list and the registration menu. Some of them cause weird behavior (one of the timezone selections killed button savior after opening the registration menu) but are harmless from what I can tell. I wish there was some way to remove the second "settings" selection since it is on the bottom of the first page and someone could accidentally click on it instead of going to the next page. I tried backing up, letting it reset itself. and restoring, but it seems to be a flag that is on the system. Perhaps there is a way to turn it off but that is beyond me.
Agree
t_0_0_l said:
This is an old thread but I found this error myself much to my chagrin. I decided to test every selection. Every menu is okay to go through except the second settings down on the list and the registration menu. Some of them cause weird behavior (one of the timezone selections killed button savior after opening the registration menu) but are harmless from what I can tell. I wish there was some way to remove the second "settings" selection since it is on the bottom of the first page and someone could accidentally click on it instead of going to the next page. I tried backing up, letting it reset itself. and restoring, but it seems to be a flag that is on the system. Perhaps there is a way to turn it off but that is beyond me.
Click to expand...
Click to collapse
This happened to me too! I was looking for a way to change the time, as the UK has just changed to DST, and hit upon a "settings" that caused a bricking! I agree that this should be a "sticky" warning for noobs (such as me) to read first

[Q] Last read confusion

I'm using the stock nook reader and renate's Library.apk. How can you make sure the last read icon on the top bar corresponds to the last read file in the library?
I am not sure where this icon gets its link. It doesn't seem to always open the last read file.
I've been thinking about asking this question (although I am using the stock reader AND library apps). My "reading now" button is getting really cranky of late. It often just goes to the first page (cover) or sometimes it goes to the first page AND displays a two-option message about the different current reading positions in two Nook readers (!) and which one do I want (generally neither is correct). Right now the only sure way to get to the correct page is to go to the Library screen and select the book from there. So the Nook does remember, but the Reading Now button is not functioning properly.
For a time I had a number of B&N apps disabled (renamed ".bak") and gradually discovered the imponderable connections that seemed to render little things inoperable. I've had to restore quite a few of the apps to running to keep everything functioning except Nook Community (because the constant "nagifications" drove me crazy) but this button behavior has me baffled (as does the reference to two Nook readers!)
I wonder, are you using any sort of "cleaning" app? I am using Clean Master and find it helpful in freeing up memory but I'm beginning to think that some of the data it is throwing out might just contain the info that the button needs to function properly. It certainly messes with Tasker.
The "Last Read" icon on the status bar sends out the intent com.bn.nook.launch.LAST_BOOK
This would normally be handled by Home.apk
If you deleted Home.apk and are using my Library.apk it has its own receiver for that.
Depending on which version Nook software you have it will query
content://com.bn.nook.reader.providers.lastreadingpointprovider/
content://com.bn.nook.reader.common.providers.lastreadingpointprovider/
The LRP database is maintained by the Reader(RMSDK).apk.
Checking for the latest modification gives you the last book read.
My Library.apk sends an intent out to open that book.
Currently Library.apk does not update the order of books displayed in "Last read" unless the refresh button is hit.
Two things to look for if you are having problems:
If you let the battery die and the WiFi is always off the clock time will be wrong.
If you crash or shutdown improperly Reader(RMSDK).apk will not get a chance to update the LRP.
P.S. I just noticed a possible anomaly if you read PDF's in the reader too.
Oh! It just occurred to me one thing.
I remember opening a book that you have been reading already and it opens at page 1.
This was tied to opening the book in different ways.
There are different ways to open a book:
Through the "Last Read" icon and stock Home.apk
Through the stock Library.apk
Through my Library.apk
Through a file manager application
The LRP database is /data/data/com.bn.nook.reader.activities/databases/lastreadingpoint.db
Code:
CREATE TABLE lastreadingpoint
(_id integer primary key autoincrement,
ean text, // file URI
luid text,
offsetrmsdk text, // subfile path fragment
lastupdated long, // Unix milliseconds last read
bookdna int, // always 1?
sync_status int // always 1?
);
ean (which normally might stand for European Article Number, i.e. "UPC") is a URI, not a path.
Code:
sqlite> select ean from lastreadingpoint;
file:///sdcard/Books/aboveall.epub
...
There may be cases where a single book gets different ean's.
If you could look at LRP and see if this is so?
I actually managed to locate that db file on my own (!) and what seemed to be a companion with related information (readerlocal.db). They seemed to be full of junk info (books that had since been removed, etc.) although there were no duplicate entries, which is what I had suspected.
Anyway, I got a little "brave" (i.e., foolhardy) and decided to clean up both files in a parallel way. Then I pushed them back, reset the permissions and rebooted.
Yikes. My Nook is set to go to the B&N Home screen only on reboot. That screen flickered and flashed, never filling in any of the images. I could still use the "N" button to access other parts of the system and they were working fine, but any return to the Home screen via the Back button showed it was still in distress.
So....restore from backup...again.
It seems OK for now. I have noticed that the little "refresh" button in the Library does sometimes seem to go on and on and on without any accomplishment. I have suspected the issue was how I accessed the book-in-progress as you described. Since I sometimes read more than one book at a time, I'm all over the place with how I do things (including a Library icon in my App home screen). I'm going to try being more disciplined for a while and see how it behaves.
nmyshkin said:
I actually managed to locate that db file on my own (!) and what seemed to be a companion with related information (readerlocal.db). They seemed to be full of junk info (books that had since been removed, etc.) although there were no duplicate entries, which is what I had suspected.
Anyway, I got a little "brave" (i.e., foolhardy) and decided to clean up both files in a parallel way. Then I pushed them back, reset the permissions and rebooted.
Yikes. My Nook is set to go to the B&N Home screen only on reboot. That screen flickered and flashed, never filling in any of the images. I could still use the "N" button to access other parts of the system and they were working fine, but any return to the Home screen via the Back button showed it was still in distress.
So....restore from backup...again.
It seems OK for now. I have noticed that the little "refresh" button in the Library does sometimes seem to go on and on and on without any accomplishment. I have suspected the issue was how I accessed the book-in-progress as you described. Since I sometimes read more than one book at a time, I'm all over the place with how I do things (including a Library icon in my App home screen). I'm going to try being more disciplined for a while and see how it behaves.
Click to expand...
Click to collapse
Would it be possible to write an app that simulates opening the last read book from only one of the Library apps and then map that to the last read icon to simplify this whole system?
mergen3107 said:
Guys, if you are concerned about why sometimes the last read option goes to the 1st page, then it was already fixed by our forum users somewhere here. (I could hardly remember and trace where it all started but finally it was successfully solved)
Just install a file this package (internal.db deep in the 'data' folder. You could delete 'system' folder - this is hyphenations dictionary for Russian) through cwm or replace it manually (the zip contains detailed path) and here you go.
Click to expand...
Click to collapse
Now that was an interesting trip! Once I had Google do some translating there were a number of really interesting posts that were (mostly) intelligible. I'd want to compare that modified internal.db file with what's already on my Nook before I did any replacing. A lot of the work from that site is "russified" (not surprisingly) and there may be other changes there not really needed/wanted, but it's a good start.
I noticed in another posting there that someone said there is a related issue with in what state the Nook is connected via USB. Apparently the hypothesis is that if you don't connect while in the Library you stand a good chance of scrambling the "reading now" database entry. I've certainly been hooking up with my Nook in all kinds of states, so if that's correct, no wonder my database file was so messed up!
Installation of the internal.db file from the Russian source will not work. I've tried a side-by-side comparison of the file with the one from my Nook (FW 1.21) and there are differences (beyond the region identifier, which is easily changed). It's not at all clear what changes have been made or from what firmware the modified file came. In any case, it causes havoc when exchanged for the native internal.db
The Russian discussion points to this thread on XDA which approaches (and apparently solves) the problem another way. I'm going to give it a try.
nmyshkin said:
Installation of the internal.db file from the Russian source will not work. I've tried a side-by-side comparison of the file with the one from my Nook (FW 1.21) and there are differences (beyond the region identifier, which is easily changed). It's not at all clear what changes have been made or from what firmware the modified file came. In any case, it causes havoc when exchanged for the native internal.db
The Russian discussion points to this thread on XDA which approaches (and apparently solves) the problem another way. I'm going to give it a try.
Click to expand...
Click to collapse
Do I read this correctly, http://bit.ly/Q7MytN from that thread there should be no problem if renates Library.apk is used exclusively and the stock Library.apk has the bug?

Carmode problem- need help please!!

STABILITY ISSUES & CAR MODE FAULT --HELP PLEASE!!
Guys I need some help please.
The phone is great but over the past 2 months I have noticed occasional stability issues like programs suddenly opening up when you turn on screen that haven't been selected etc.etc
There is a list of 9 common faults published including some where, for eg OK google was working fine but suddenly doesnt etc.
This week in CAR MODE I noticed this unexpected error that restarting, clearing app cache, clearing app data etc will NOT fix.
Everything was working OK and I changed nothing that could have caused this.
when selecting Nav from carmode home screen it asks you "where do u want to go?", as per normal.
When I open the search text box to enter the address where I want to go, instead of verbally telling it, it accepts text characters for about 3-4 sec then suddenly just goes straight back to the carmode home screen before you finish typing the info and then hitting search!! Every time.
This is extremely annoying as it is the only accurate way to give it an address as it often miss hears the verbal names.
I cannot find anywhere a way of downloading and reinstalling carmode version 1.2.44.16607 so it can reload whatever blasted line of code is suddenly corrupted and causing the problem. if it was a separate app I could just uninstall and reinstall it but it is part of the OS and even in Galaxy apps I cannot find the specific Samsung app.
I DO NOT want to do a factory reset and wipe my phone!!, that is a BS solution just as it is on a PC for trying to fix a minor windows error.
DOES ANYONE HAVE ANY POSSIBLE SUGGESTIONS PLEASE???

[SOLVED?] The mysteries of the "now reading" button

I must have a unique way of using my devices because I've never seen this issue reported on the forum.
Firstly, I just want to say that lastreadingpoint.db seems to be something of a garbage bin. I'm working with one of my older devices right now (formerly my principal reader) and the db is filled with books that were deleted long ago. Now, perhaps, cleanup of this file is supposed to happen when books are removed via UMS since that's the only provision B&N made for removing side-loaded content, but I doubt it. Since I just use a file manager, I may be frustrating some grand design that would keep the db file tidy. NOT.
But I digress. My real beef is the unpredictability of the button. When I select a new book from the library and move along a few pages to the first chapter, I often return to the home page to deal with some other things and then set the device aside until I'm ready to start my new book. But when I do return and tap that button, I generally get the last book I just finished (at the last page....). If I have deleted that book already then I'll get some other book, maybe an anthology I frequent, wherever I left off.
Inspection of lastreadingpoint.db shows no indication that I ever selected a new book.
I have struggled with this for a long time and realize that without knowing exactly when and under what circumstances the db would actually be updated, this is really difficult to run down. I just tried another experiment and put the device to sleep manually after starting a new book (book still displayed). Then I woke it up and returned to the home screen (i.e., my launcher, not the B&N Home). The "now reading" button worked correctly! And repeatedly.
BUT...A look at lastreadingpoint.db still did not show that the new book had been opened! This helps explain why my overtures with sqlite were not having much effect.
It's a mystery, wrapped in an enigma, enclosed in a B&N box.
I just want the #$%&*% button to do what you would expect it to do without a lot of nonsense. It's easier to get it to consistently open a current Kindle book then to open an epub in the stock reader.
Why?
Edit: The next day: I accessed the book one more time this morning without any problem and copied out the database again. This time it finally showed an entry for the book with the correct access time.
Edit: 9-12-22 Nothing seems to work consistently except for one change. I have installed on my devices a little app called "NookReader". It's buried deep in the old posts of the forum and its purpose is to allow epubs to be opened via a file manager (which I never do). In effect it creates a "listener" which the stock system lacks.
Well, it seems the stock system doesn't like eavesdropping. When I uninstalled the app from the device I had been experimenting with the effect was immediate and I was able to move from selection to selection, each time returning to the most recent book correctly using the "now reading" button. Another device required an uninstall as well as a reboot in order to start behaving properly.
Moral: if you're not using it, get rid of it!
nmyshkin said:
I have struggled with this for a long time and realize that without knowing exactly when and under what circumstances the db would actually be updated, this is really difficult to run down. I just tried another experiment and put the device to sleep manually after starting a new book (book still displayed). Then I woke it up and returned to the home screen (i.e., my launcher, not the B&N Home). The "now reading" button worked correctly! And repeatedly.
BUT...A look at lastreadingpoint.db still did not show that the new book had been opened! This helps explain why my overtures with sqlite were not having much effect.
It's a mystery, wrapped in an enigma, enclosed in a B&N box.
Click to expand...
Click to collapse
@nmyshkin ... even i've struggled with something like this ... inconsistencies of the last reading point actions ...
nmyshkin said:
Edit: 9-12-22 Nothing seems to work consistently except for one change. I have installed on my devices a little app called "NookReader". It's buried deep in the old posts of the forum and its purpose is to allow epubs to be opened via a file manager (which I never do). In effect it creates a "listener" which the stock system lacks.
Click to expand...
Click to collapse
are you referring to the app that goes by 'dev.nookreader.apk' ? ... for now i've just renamed it to 'dev.nookreader.apk.bkp' so its as good as removed ...
some database problems i think i can report, one that i've annoyingly encountered, in this I've sometimes found the order of the books in the default library aren't displayed as they should have ... Iam referring to the 'Most Recent' sorting option where the last opened/accessed book should ideally show up at the top most ... BUT SADLY IT DOESN'T !!! ...
Most annoying is when i search a book open and read it and expect it to show up on the top or at least in the first few pages of the library ... but they don't ... search is the only option to reopen such a book ...
Aren't the books that are opened using the 'Search' option of the library not supposed to show high up the library ?
I WOULD REALLY LIKE TO GET THIS ANNOYANCE RID OF ... i would love to find all the last accessed books in the topmost sorting order as its supposed to work ...
I don't even know what database records the last accessed book information ... any and all help appreciated to identify and fix this annoyance.
PS : Are "New"' books(Lend Me) installed from the B&N store supposed to show up at the topmost ?
Update : strangely the searched book shows up in the B&N Home under 'READING Now' section but its not showing in the Library as the topmost book in it ... another inconsistent DB recording ???
aiamuzz said:
Update : strangely the searched book shows up in the B&N Home under 'READING Now' section but its not showing in the Library as the topmost book in it ... another inconsistent DB recording ???
Click to expand...
Click to collapse
OK, well, I can't say that I know a lot more now than when I started this thread.
What I can say is that the device seems to work with a copy of the database in RAM or else keeps variables in RAM that are not written to the database until much, much later (like during or after a nap).
I began to think about how I use the device vs. how B&N intended it to be used so I made a few tests going from the B&N Home to the Library, to a book. Then, there is really only one way to get out of the book and that is through the QuickNav buttons. I thought that maybe the trigger to the database update was somewhere in there, but I saw the same inconsistent results and delayed updating of the file as with my own sequence.
This is why I eventually abandoned the database as a source of info for my SetCover app and started relying (at least partly) on my own data. All I can say for "sure" at this point is that a good nap on the open book seems to aid in the correct information making its way into the database. Not very technical, I know.
If you are getting really spurious behavior from your lastreadingpoint.db or you find that it is full of deadwood, you can clean out the entire thing as here. Of course you will lose absolutely everything in the database if you do that, so it's a "last gasp" scenario.
For me, things seem to have calmed down if I just leave an epub open in the stock reader for awhile. And after all, what's the rush to get back to the home screen? (in general). That's not how the reader was probably meant to be used.
aiamuzz said:
Update : strangely the searched book shows up in the B&N Home under 'READING Now' section but its not showing in the Library as the topmost book in it ... another inconsistent DB recording ???
Click to expand...
Click to collapse
Can you run this test ?
1. Open stock library.
2. Search for some book that is buried in the last pages of the Library.
3. Open that book from the search results.
4. Flip a few pages to emulate that you've read that book.
Ideally that book should be the Last Read (Reading Now) ... WHICH INDEED DOES WORK SO !!!
Having been a recent book that one has read ...
The Library app should also show that book on the very first page as its the most recent one ... BUT IT DOES NOT SHOW SO IN THE LIBRARY !!!
I would really like the searched and opened books to move to the front pages of the Library App and stay there and get moved down as and when other books are opened ... at worst it should be easily locatable in the first few pages of the Library App ... the 'recent' book sorting option in the Library and the place where this info is stored may have to be trouble shot ...
aiamuzz said:
Can you run this test ?
1. Open stock library.
2. Search for some book that is buried in the last pages of the Library.
3. Open that book from the search results.
4. Flip a few pages to emulate that you've read that book.
Ideally that book should be the Last Read (Reading Now) ... WHICH INDEED DOES WORK SO !!!
Click to expand...
Click to collapse
Well, there you are. I've never used the "search" function on the NST for anything! But I did, just to humor you, and I see that it actually turns up a "hit".
I use the Library almost exclusively in shelf format. What I personally would like is for the @%W$#% Library to remember that. Of course, it will not, because then I would not see all the nifty new books I just purchased (NOT) from B&N as they are delivered.
Any "adjustments" to the Library behavior are beyond my pay grade and you won't get you-know-who interested in that either, as she has her own Library app. I've looked at a lot of Library alternatives. There were many promising looking ones in the early days but all seem to have been abandoned at some incomplete point by their developers (except for the one mentioned above).
I just live with it. I don't have hundreds of books on my device. When I finish a book I actually delete it (gasp!) [except for something like the Bible].
But it would be nice to understand the rules or thinking behind the "reading now" business. However, since the database doesn't seem to accept input (although you can read from it), it doesn't matter much I guess.

Categories

Resources