Investigating this. Learned on the nookdevs chat that the reg info is stored in a sqlite DB called "theDB.db" which is in /data/data/com.bravo.home/theDB.db
There's also a backup version of the file in that same directory called theDB.db.bak but the timestamps always seem to be identical to the main file so I'm not sure what the use of that is.
I found that when my registration was gone this db was empty. When I re-registered it's fully populated (with all kinds of info about my B&N account (bookmarks/shelves/products/sync schedules....) registration info is stored in the bn_client_device table and interestingly enough passwords are stored in plain text.
Permissions look ok on the file (644) (though the backup file is only 600) with system.system ownership....
So the big question is what is clearing this file and why...I have a theory it may be related to renaming '/system/app/FirmwareUpdateService.apk' to prevent updates. Need to put it to the test though. Will update when I see if it worked or not.
|