[How-To] Change Owner Name - Nook Color General

I misspelled my first name when I registered my NC. So when I went to Settings -> Device Info -> About Your NOOKcolor, my name in the Owner field was misspelled. I was able to correct it online via BN.com but the NC wouldn't correct itself. It's a minor annoyance but wanted it corrected.
What you need:
Rooted NC with Superuser access
Root Explorer or equivalent
SQLite Editor or equivalent
What to do:
Use Root Explorer and navigate to /data/system to find the accounts.db file
Copy the file to the root of your SDCard (I was unable to make edits to the accounts.db file while it was located in /data/system)
Locate the copied file and open it using SQLite Editor
Open the "extras" table
CLICK AND HOLD the name field you want to edit. In my case it was the firstname field
Select "Edit Record"
Correct your name in the Value field
Click Save
You should receive a confirmation that the update was successful
Use the back button (soft key button on the bottom menu) to get back to Root Explorer
Copy the newly edited accounts.db file
Navigate back to /data/system
BEFORE YOU PASTE, rename the existing accounts.db file to accounts.db.old (just a precaution in case you don't want to lose the original file)
PASTE the newly edited accounts.db file into /data/system
NOTE: the r/w permissions are different between the original accounts.db.old file and the newly edited file Update the permissions of the newly edited file to match that of old file
Reboot
Once it's up, you should see your corrected name. I was able to successfully download a book using the NC Shop so all should be well.
** DISCLAIMER: Do at your own risk. I assume no responsibility if this doesn't work for you or causes issues with your NC. I can't imagine it will as it's a very minor database modification. ***

Yikes I goofed up my accounts.db file by editing it with the text editor (just didn't read the instructions carefully. Moving too fast.). Also didn't back up the file before editing (I know I'm an idiot ). Any idea how I can restore this file? Thanks.

Ok, I just managed to restore the file and all is ok, and my name is corrected. Next time I will read instructions better!

Phew! Glad to hear it worked out for you.
Sent from my rooted Nook Color using XDA App

I have a rooted NT, and i start to notice the owner/account name becomes "unavailable". I went to the location specified above, but couldn't find the entry. Would anybody happen to know how i can change it?
Thanks.

rvr350 said:
I have a rooted NT, and i start to notice the owner/account name becomes "unavailable". I went to the location specified above, but couldn't find the entry. Would anybody happen to know how i can change it?
Thanks.
Click to expand...
Click to collapse
This is the NC forum. You have a NT. Hop over to the NT forum and post question there.

Related

Swype on Gtablet

First of all, make a backup!! I am not responsible for the terrible things that can happen to an android device when things go awry lol....
Secondly, I have only tried this using Vegan rom (beta 4, and beta 5.1)... I am assuming it will work with any alternate rom but NO PROMISES!!
TO OBTAIN THE NEEDED FILES:
1) Do a google search for "swype on gtablet (kinda)"
2) Somewhere the search results (it was the very first one when I did the search), you should see a post on the tegratab.com forum entitled "swype on gtablet (kinda)" (posted by rothnic)
3) Download the package on that forum, and extract it. There should be three files located in this package: swype.apk, libswypecore.so, and build.prop.
**Keep the page open as we are also going to use the top of the build.prop file that rothnic posted there!! THANK YOU ROTHNIC!!!!!
INSTALL METHOD USING ROOT EXPLORER
I would complete these steps entirely from your gtab, as it does away with the need to transfer files from a pc, etc!
1) Using root explorer, copy first the swype.apk file, and paste it to \\system\app. Once it is copied, long press on it and click "permissions". The permissions should be set as follows:
Read: Check all three boxes down (for user, group, and others).
Write: Check the first box (for user)
Execute: Check the first box (for user)
2) Now again using root explorer, copy the libSwypeCore.so file, and paste it to \\system\lib. Make sure you mount the \\system\lib folder as "read/write" before copying. Once it is copied, set the permissions exactly as you did for the swype.apk file. Make sure you mount the \\system\lib folder as "read only" again before you exit.
3) Now its time to edit the build.prop file, only we are going to make it easy. Instead of going through and editing it, copy the top of the file that rothnic posted on the tegratab site, and replace the top of your build.prop file with what he has there. Don't edit it or anything, just copy it word for word. I did this in root explorer by doing the following:
Using Root Explorer, browse to \\system. Once in this folder, mark it as "read/write".
Locate the build.prop file, and long press on it.
Select "open in text editor".
Copy the text that rothnic had in the post on tegratab, and use it to replace the text that already exists there at the top of the file. It will fit exactly as the original one that you are replacing did. DO NOT CHANGE THE BOTTOM OF THE FILE AT ALL!!!
When you have copied the text, press the "settings" button, and press "save and exit".
(FYI, I am using Vegantab beta 5.1, and replacing the top of the build.prop file did not do any damage to the tablet at all)
Now restart the tablet.
When the tablet restarts, long press on any text entry field and press "input method".
Swype should be an option. Select it, and start swyping!!
If swype isn't listed, click settings, language and keyboard. Check the box next to swype.
(this will also be a good time to click on swype settings and DISABLE audio feedback, as it will drive you and everyone around you NUTS!!)
Now follow the steps above to set swype as your input method and enjoy!!
INSTALL METHOD USING TERMINAL (Courtesy of Terrypchan)
This can be done without root explorer, BUT you have to be willing to type commands in a terminal emulator. I did it without root explorer by using the terminal emulator app with the VEGAn b5 rom (which is already rooted). The only tricky command you need to do is:
1. su
2. cd /
3. mount -w -o remount /dev/block/mtdblock3 /system
Step 3 is how you mount /system as read-write. That allows you to copy the apk to /system/app and to copy the lib to /system/lib. You can also copy build.prop to /system here. I also did the chmod commands here as well, i.e.
chmod 644 /system/lib/libSwypeCore.so
chmod 644 /system/app/Swype.apk
I had already edited the build.prop on another machine where I could use a real text editor.
This is the command to remount /system as read-only:
mount -r -o remount /dev/block/blockmtd3 /system
reboot and I'm Swype-ing away.
any chance you could paste the build prop edit in here? For some reason my browser is cutting off part of it.
Thanx,
I bet the mod deletes this within the hour!
Hmm, wonder how long this post will last
Agreed... I respect the effort tho and his directions are perfect!
Thanks brotha...
Sent from my SGH-T959
Instructions worked perfectly for me with the small substitution of adb push/pull to edit the build.prop (root explorer force closed after I had edited the file and before saving so I said screw it ). Thanks!
Combine this with the rainex fix for screen smoothness and it makes for a pretty good time lol
Sent from my Droid using XDA App
You don't have to adb it, that's why he recommended root explorer. If you edit it there it automatically makes a backup for you. I've done this with three ROMs, vegan4, zpad3, and vegan5... Never had to use adb
Sent from my Zpad flavored Gtab...
Need help with editing build.prop....swype rar had build.prop in it. Do I copy that same file in full and paste it at the top of build.prop in /system/build.prop...I am confused as to hoe many lines of build.prop I need to edit or change?
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
worked for me just fine.
Followed instructions, and used a little common sence along the way. Now it's all up and running.
Thanks a lot for the write up..
Using swpe to type this...
Thanks so much man!
New2Android said:
Need help with editing build.prop....swype rar had build.prop in it. Do I copy that same file in full and paste it at the top of build.prop in /system/build.prop...I am confused as to hoe many lines of build.prop I need to edit or change?
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
Click to expand...
Click to collapse
No ignore the build file in the rar file....
You need to follow the directions exactly and copy the text from the forum post. Remember only the top portion
Swype Keyboard
Confirmed Working on the G tab following above steps. Stock TnT Firmware 3389. Working flawless. Sound and swype.
I am able to get the swype keyboard to come up and type on it but am not able to swype. Dont know what i am doing wrong.
Edited build.prop as shown in the forum still cant swype but just use swype keyboard as a regular keyboard.
Any help will be appreciated
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
Any downside to editing the build file in this manner?
Can you change it back after it is installed?
Do you have to redo this every time you go to update your rom?
TaterTot24 said:
Any downside to editing the build file in this manner?
Can you change it back after it is installed?
Do you have to redo this every time you go to update your rom?
Click to expand...
Click to collapse
Thats the nice thing about root explorer, it automatically makes a backup when you have modified it
Yes this would need to be redone for each rom.
Sent from my VegaN 'flavored' GTab...
New2Android said:
I am able to get the swype keyboard to come up and type on it but am not able to swype. Dont know what i am doing wrong.
Edited build.prop as shown in the forum still cant swype but just use swype keyboard as a regular keyboard.
Any help will be appreciated
Sent from my VEGAn-TAB-v1.0.0B5.1 using Tapatalk
Click to expand...
Click to collapse
I initially had the same issue, there's something incorrect in the build.prop. PM me and I'll get a copy of mine to you as i'm using VegaN5 as well.
Sent from my VegaN 'flavored' GTab...
Wow. I can't believe this is still here! Anyway, on to my question...
Is it possible/advised to edit the build.prop on a PC using a standard text editor like notepad? I ask because the browsers on my GTab don't show the whole of the text we're supposed to copy from tegratab.
Thanks in advance.
Editing on a pc is probably fine, however you have to make sure the formatting stays correct, otherwise it all goes south lol.
I printed out a copy of the top of the build.prop that rothnic posted on the tegratab site and used that for reference when editing on my tab....made it easier to see where I was in the text editor
Sent from my Droid using XDA App
TaterTot24 said:
Any downside to editing the build file in this manner?
Not that I have seen so far, and I've used this through two roms now
Can you change it back after it is installed?
as i2steve said, root explorer is awesome and makes a copy of the original file for you
Do you have to redo this every time you go to update your rom?
Click to expand...
Click to collapse
Unfortunatley, yes, so I would keep the files saved somewhere on your tab lol
Sent from my Droid using XDA App

Block OTA (Beginners guide?)

adb shell, sqllite, build prop...Any other non-tech major people around here a little lost?
I'm rooted. I don't want the new update. I can follow directions but would be more comfortable if some basic instruction were written. Treat me like I'm 10.
It looks like the best way to do this is as follows:
"From this thread:
http://forum.xda-developers.com/showthread.php?t=874871
Attached is a working sqlite3 binary.
Copy it to /system/bin
(I transfered it to my SD, then used rootexplorer (mount R/W) to copy into /system/bin))
you will now be able to edit sqlite databases on the nook itself.
--------------------------------------------------------------------------------
Attached Files sqlite3.7z (11.9 KB, 56 views)
--------------------------------------------------------------------------------
In your terminal:
$ adb pull /data/data/com.bn.devicemanager/databases/devicemanager.db devicemanager.db
$ sqlite3 devicemanager.db
sqlite> update registry set value='manual' where name='com.bn.device.fota.mode';
sqlite> .q
$ adb push devicemanager.db /data/data/com.bn.devicemanager/databases/devicemanager.db
$ adb reboot
"
Do I unzip the attached binary and paste that into the location or the .zip as a whole? What do I use as a terminal?
I've been flashing my DROID since day one but the NC development circle has been far from entry level user-friendly. Any help would be appreciated.
you can do it on windows too.
1) pull/get/copy the.db file from your phone to your pc
2) update the database file using sqlitebrowser. I.e run the sql command "update ......". Close sqlitebrowser.
3)push/put/copy the updated .db file to the same location overwriting the original.
britoso said:
you can do it on windows too.
1) pull/get/copy the.db file from your phone to your pc
2) update the database file using sqlitebrowser. I.e run the sql command "update ......". Close sqlitebrowser.
3)push/put/copy the updated .db file to the same location overwriting the original.
Click to expand...
Click to collapse
Progress. However...
I got SQLite on my PC. I found the devicemanager file on my NC, pasted it to my SD card for transfer over to my PC for editing. I trasnferred the file over to my PC for editing. I open SQLite but have no idea how to use it.
I just did this today using sqlite editor only!!! Its a GUI so it real simple to use.
1.Install the apk
2.reboot
3.go to extras and launch sqlite editor
4.allow it, give it the permision it needs
5.look for DeviceManagerService
6.click on devicemanager.db
7.click on registry
8.look for _id 7, name>>>> "com.bn.device.fota.mode"
9.scroll to the right and click and hold value field "auto", until a little pop up shows and select edit field
10. Change the value from auto to manual
11. Save
Done!!!
If you need the apk here is a link I just made
?d=LTSQDZ65 for megaupload (sure u guys can piece it together!)
Let me know if it helped anyone!
Yes, we totally need another thread on this. I must note that pushing the build.prop in my thread and my two Nook Colors have not updated. Dunno about this method or others. Caveat emptor!
This is exactly what I was looking for. Thank you. Very simple.
Sent from my NC using XDA App
Thanks for breaking it down for us, nookme.
Do we need to do this if we are operating from an SD bootable Froyo or CM7 ROM?
tablo said:
Thanks for breaking it down for us, nookme.
Do we need to do this if we are operating from an SD bootable Froyo or CM7 ROM?
Click to expand...
Click to collapse
In theory it should work for both, whether its a soft root mod or simply a bootable sd card that emulates froyo... It's a matter of just having root access and changing a registry setting on the device itself. Hope this shines some light! happy rooting ppl
Not noobie enough for me, sigh
So, if I have followed these directions from an earlier post have I messed something up? Not blocked updates at all? I don't understand the directions in this thread. What happens if I don't block the update? There must be a lot of people like me who had the technical skills to manage the root process but don't understand all of your coded instructions. I read in another thread that I should do a Titanium backup. How does that help after an update? Will market aps that have already been downloaded still work? Will everything revert to stock? Could someone explain what we should expect? Thanks!
To disable OTA (over the air) updates:
Change the name of this file: otacerts.zip to anything else
To do this, get root explorer ($3) from the market
Run root explorer
Go to etc/security/otacerts.zip
Hit the little mount button near the top to change r/w to r/o
Rename the file otacerts.zip to otacerts.zip_DISABLED_OTA_UPDATES
Hit the little mount button again to change r/o back to r/w
Droiddict said:
So, if I have followed these directions from an earlier post have I messed something up? Not blocked updates at all? I don't understand the directions in this thread. What happens if I don't block the update? There must be a lot of people like me who had the technical skills to manage the root process but don't understand all of your coded instructions. I read in another thread that I should do a Titanium backup. How does that help after an update? Will market aps that have already been downloaded still work? Will everything revert to stock? Could someone explain what we should expect? Thanks!
To disable OTA (over the air) updates:
Change the name of this file: otacerts.zip to anything else
To do this, get root explorer ($3) from the market
Run root explorer
Go to etc/security/otacerts.zip
Hit the little mount button near the top to change r/w to r/o
Rename the file otacerts.zip to otacerts.zip_DISABLED_OTA_UPDATES
Hit the little mount button again to change r/o back to r/w
Click to expand...
Click to collapse
If you read this >> http://forum.xda-developers.com/showthread.php?t=1007551
you will see that the sqlite method is used by many and is the simplest way too, again this is a GUI, so no shell command line... How can this be difficult??
Just follow my steps... it works
I have had nothing but problems with my rooted NOOK Color due to B&N auto updates. I followed your instructions and now I hope my problems are resolved and my NOOK Color will never update again.
Thank you

Root Explorer App.

Hello All,
In another section of this message board, I posted a question about using the root explorer app., I had mentioned the only reason I installed it on my gtab was I read that it had within the application a 'text editor', so if I needed to edit a text file I could..namely the build.prop file contained in the system file. I DID in fact click on the white button and enable the mount R/W function..but still don't see an option like the message states in another area:
Root explorer is pretty straight forward but can be confusing for some people who have never used it before. I have made this list based on the most commonly questions I have read about how to use Rood Explorer. I hope this answers your questions but if it doesn't, post the question and I'm sure I or someone will help you out.
When it won't let you manipulate a file ("this file system is read only") just touch the white button on the top that says "mount r/w"
When you long press files and folders for the sub menu, you can
Extract all
Delete
Rename
Copy
Move
Change Permissions
Properties
Add Bookmark
Send
View as text
Open in text editor
Zip a file
Create Tar
Change owner
You can also press menu for
New folder
Preferences
Bookmarks
Search
Muli-select
more gives you
Home
Refresh
New file
About
Exit
This program pretty much explains itself so just give it a little time and mess with it for a bit.
Can anyone help me ??
Thanks,
David

Razr I XT890 bloat apps safe to remove from JB?

Hi,
Just wondering if anyone has tried and tested the removal of bloatware apps from their Razr I XT890 running 4.12?
I'd be interested in cleaning the phone up a bit just to make it less crowded, I like to use real calc instead of stock calculator, go sms instead of stock messaging, zeam launcher instead of stock launcher etc etc.
I'm quite a novice when it comes to the technical side of things so would be too afraid to start deleting system apps incase they messed something up.
If anyone has seen a list compiled and could share, that would be great. Also, would it be Razr I specific, or would a general 4.12 safe removal list be safe to follow?
Any feedback appreciated
Here you can find answers.: http://forum.xda-developers.com/showthread.php?t=2223482
Read the forum.
Sent from my XT890.
Thanks a lot, have you any idea what to do with them zip files and how can I keep some of the google apps in the list? I'm not sure where to put the #?
cormie said:
Thanks a lot, have you any idea what to do with them zip files and how can I keep some of the google apps in the list? I'm not sure where to put the #?
Click to expand...
Click to collapse
I think that for you would be easier use Titanium Backup or SystemAppRemover (need root acces) to remove apps.
If you want use the zip file you have to unlock bootloader and flash CWM. In CWM you can install zip files. # you must put in front of the line where is written desired app. Updater-script you can fing in the zip file /META-INF/com/google/android/
Thanks again, I actually have my phone rooted and was able to apply the debloater, however I don't want to remove everything so will restore the backup I took before trying it, I tried install the zip file with the edited script (with the # in front of the ones I wanted to keep) but it failed to install via recovery so I must be doing it wrong
I extracted the script file, opened with wordpad, edited, closed and saved, put it uncompressed back into the zip and tried it.
that failed, so I tried open directly from the zip, edit, close and save and flash that too but that failed too the original unedited one doesn't fail.
The error I get is something referring to error in zip file.
cormie said:
I extracted the script file, opened with wordpad, edited
Click to expand...
Click to collapse
Do not use WordPad. Edify scripts require line endings to be linux style (LF only). Wordpad converts them to windows style (CR LF). Use another editor; I recommend notepad2-mod (set syntax highlighting, F12, to shell script)
See I edited and saved in wordpad and wasn't prompted to save in any other format, do you think it still saved in CR LF?
In the same script and another edit, I think I pasted something from somewhere else and went to save, but then it prompted me to save in the wordpad format itself (rtf I think it was) which I didn't, when I simply added a # or two, it just prompted to save without asking for format so it appeared to save as it was and not change anything? So you reckon it still changed it to the non-readable CRLF?
Would basic windows notepad be ok to edit it instead of having to download notepad 2?
Thanks for tyour help so far!
Maybe I'd be better just doing this via root explorer, of which I have some experience of. Is it just a case of locating each of the files listed in the script and deleting them or is there other hidden crap elsewhere that the script gets rid of which a simple root explorer delete won't?
cormie said:
See I edited and saved in wordpad and wasn't prompted to save in any other format, do you think it still saved in CR LF?
In the same script and another edit, I think I pasted something from somewhere else and went to save, but then it prompted me to save in the wordpad format itself (rtf I think it was) which I didn't, when I simply added a # or two, it just prompted to save without asking for format so it appeared to save as it was and not change anything? So you reckon it still changed it to the non-readable CRLF?
Would basic windows notepad be ok to edit it instead of having to download notepad 2?
Thanks for tyour help so far!
Click to expand...
Click to collapse
Try notepad++

HTC Notes App

Hi, I’m having a problem with the HTC Notes App on my Rogers HTC One. I have backed up a copy of the folder ".data\HtcNotes" on the SD card, thinking that this folder contains all my notes files. I then wiped my phone and started setup as a new phone. I tried restoring my backed up notes by replacing the folder ".data\HtcNotes" with the one I had backed up earlier but the Notes App does not recognize the restored files. the Notes App works fine, i.e I can create new notes without any problems.
Also, when I try to open the "contentE.html" stored for each note inside subfolders of ".data\HtcNotes", I get unreadable characters. This happens for my new and properly functioning notes as well. Does the Notes App store content in a non-standard html format?. It used to be that the Notes app stored the content in a file called "content.html" which was a normally readable html format, but now it stores in the non-readable " "contentE.html" file.
Please advise how to recover the content of my notes...is there a way I can open the "contentE.html" files in a readable format?. My notes are not synched to the clouds and are stored only locally on the phone.
Thanks
any suggestions?
dabasdabas said:
any suggestions?
Click to expand...
Click to collapse
you may have to reset the permissions of the files
you do this with ES File Explorer and highlight a file go to properties and set the permissions ... usually to rw-r-r but notes files may be different check one you just created and make the old ones the same
thanks for the suggestion, I am able to open the "contentE.html" of my old notes using an html editor or browser, but the file contains unreadable characters, as if I'm opening a binary file inside a text editor. The same thing happens for any new notes I create.
I remember in earlier versions of Android, the Notes app used to store the content in a file called "content.html" which was a normally readable html format, but now it stores it in a "contentE.html" file which is not readable by html editors...
attached is an example of the "contentE.html" file from a new note I've just created, it's supposed to be titled "w1" and contain only the word hello...if you try to open it you'll understand what I'm trying to describe...can you guys please check the "contentE.html" on your phone and let me know if you're able to open the file properly outside the Notes app...thanks...
guys need your help...can anyone please check the "contentE.html" located in numeric subfolders under ".data\HtcNotes" on the SD card and let me know if you're able to open the file properly outside the Notes app...thanks...
bump
i use colornote app, its free in playstore, you can sync with gmail,.. if you use another android phone just install same app, and your note will there to
BUMP!!
Having the same problem, did a factory reset of my phone and the files arer physically still intact, but I can't open them with Evernote app or HTC Notes app. Alle notes are stored in a folder with a .PNG and a .HTML file, the HTML file contains unreadable text. There's very important info in for me, which I need within a week. Can someone please help? I'm willing to do almost anything to be able to read my files...
Still unsolved (bump)
mpc007 said:
Still unsolved (bump)
Click to expand...
Click to collapse
^^
mpc007 said:
^^
Click to expand...
Click to collapse
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
mpc007 said:
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
Click to expand...
Click to collapse
Try this, create a new note in the HTC Notes app and save it (If it doesn't save, just write random words and exit, it should save then), then go to your .data/HtcNotes folder, find the folder that contains the note you just created. There should be an existing "ContentE.html" file. Delete it and replace it with the file you want to restore.
mpc007 said:
This disappoints me. If you consider yourselves even moderately skilled, this little problem of my should be peanuts.
Please, help me how to restore my notes from the ContentE.html file!!
Click to expand...
Click to collapse
I think you're wasting your time, just having the ContentIE.hml file won't be enough, the actual database is stored in /data/data/com.htc.notes (i think), and without that, the app can't link to the contents of the sdcard.
nkk71 said:
I think you're wasting your time, just having the ContentIE.hml file won't be enough, the actual database is stored in /data/data/com.htc.notes (i think), and without that, the app can't link to the contents of the sdcard.
Click to expand...
Click to collapse
My data folder is indeed empty. However, can't it just be enough to have the raw files from the .data/htcnotes/ folder? I have those, every note exists of a folder with a PNG and a HTML file. They're just not recognised by the Notes App.
mpc007 said:
My data folder is indeed empty. However, can't it just be enough to have the raw files from the .data/htcnotes/ folder? I have those, every note exists of a folder with a PNG and a HTML file. They're just not recognised by the Notes App.
Click to expand...
Click to collapse
Yes, but unless i'm mistaken, the Notes app will rely on the database file, which in turn would link to the contents on the sdcard... so even if the contents weren't on the sdcard they would still show up in the notes app, but not vice versa.
And I don't know of any way to reconstruct the database file.... maybe try searching for that.
nkk71 said:
Yes, but unless i'm mistaken, the Notes app will rely on the database file, which in turn would link to the contents on the sdcard... so even if the contents weren't on the sdcard they would still show up in the notes app, but not vice versa.
And I don't know of any way to reconstruct the database file.... maybe try searching for that.
Click to expand...
Click to collapse
Nobody found a way yet? right?
If you have a backup of your data (or data partition), you need to restore the contents of /data/data/com.htc.provider.notes (as well as com.htc.notes, i think) and set the file permissions by ES file explorer or sth. This is tested and works (I got this answer off google somewhere else, but since this xda thread is the first result that comes up for searches like "recover htc notes", I (necro-)posted the solution here).
Now comes the hard part: If you don't have backup of com.htc.provider.notes, here's how I suggest you hack it BUT I haven't tested: try adding a new note in an empty instance of the notes app. The file /data/data/com.htc.provider.notes/databases/notes.db will be an SQLite file. Open it with any SQLite editor on your computer and you see IDs and file names in its tables match with the created note in your /sdcard/.data/HtcNotes folder. See if you can modify the notes.db database by adding new rows in all related tables to make the app recognize your old HtcNotes files. Don't forget to change file permissions of notes.db after restoring it to your device (I gave rwx-rwx-rwx to everything I copied). If you're lucky and knowledgeable enough you might be able to fix it.
Lesson to learn: Sync, or use plain-text file next time for writing notes.
Chromatix said:
Now comes the hard part: If you don't have backup of com.htc.provider.notes, here's how I suggest you hack it BUT I haven't tested: try adding a new note in an empty instance of the notes app. The file /data/data/com.htc.provider.notes/databases/notes.db will be an SQLite file. Open it with any SQLite editor on your computer and you see IDs and file names in its tables match with the created note in your /sdcard/.data/HtcNotes folder. See if you can modify the notes.db database by adding new rows in all related tables to make the app recognize your old HtcNotes files. Don't forget to change file permissions of notes.db after restoring it to your device (I gave rwx-rwx-rwx to everything I copied). If you're lucky and knowledgeable enough you might be able to fix it.
Click to expand...
Click to collapse
I have a HTC Sensation and I used the HTC Notes app often and so does my girlfriend on her Sensation. I recently changed ROMS on both our phones and have been trying to figure out how the hell to restore our notes. You indeed need to edit that notes.db as you mentioned. I know you didn't test it, but I just tried your suggestion and it did work on my first try. :victory: Here's what I did:
1) I opened the HTC Notes app and created a new note and named it Blah and saved it.
2) I used ES File Explorer to navigate to /data/data/com.htc.provider.notes. Then I copied the notes.db file to my microsd card.
3) I used DB Browser for SQLite to open the notes.db files that I copied to the card. Then clicked on the tab that says Browse Data, then in the drop down menu where it lets you pick a table, I choose notes. There you can see what notes the HTC Notes app will recognize.
4) The note I created earlier called Blah was on row 2, so I clicked on New Record and carefully made a new entry in row 3 with the same format as row 2. Just VERY carefully edit the columns that say: notebook_id, name, data, saved_time, last_modified_time, saving_time, ap_extra_info, thumdnail_path, widget_screenshot_path, and HTC_CREATED.
5) Verify the info you entered is correct fore ach column, then write changes to the database (File menu, Write Changes.)
6) I copied my now modified notes.db from my sdcard back to /data/data/com.htc.provider.notes ES File Explorer, changed the permissions of the file to match notes.db-journal,
7) And finally, I restarted the HTC Notes app, and the new note I added to the database was recognized.
I can think of a shorter way of doing this, but I''ll have to test it first. :fingers-crossed: Why did HTC have to complicate this? Why can't the app just read the files that are in the same folder or provide a refresh option to read any new files that may have been added to .data\HtcNotes at the very least?

Categories

Resources