Help. I deleted my content directory - Touch Diamond, MDA Compact IV General

I deleted a folder on my internal storage called "content" and now I cant get my diamond to find any music.Can anyone post a copy of theirs in a zip file or something so I dont have to reset my device.
Failing that can someone tell me what was in there (folder names etc).
Thanks in advance.

http://forum.xda-developers.com/showthread.php?t=398265
see point 9 for a link.

check this out
http://www.megaupload.com/de/?d=AYDCOAMP

Thanks for that.

does all content need to be in CONTENT? or just music?

Related

Delete files from windows folder?

I'm running short of storage space on my Diamond, and while browsing around in File Explorer I noticed that there are copies of all the HTC demo media (album samples, mp3 files) in the Windows folder - there's easily 2-3mb worth and I could do with deleting them. However it won't let me, is there a way to get rid of them?
Kind regards
Dave
maybe this help
http://forum.ppcgeeks.com/showthread.php?t=38008&highlight=touch+diamond+guide
Thanks, that was helpful - but although they talk about deleting files from the Windows folder in the thread, it doesn't exactly detail how :-(
Kind regards
Dave
most files in the win dir are not in storage but in the rom itself
and can only be deleted by cooking ones own rom
also rom space not used is not merged with storage
so i would not really help you
if you want more space
You can do it by replacing them with some 0 KB files that have the exact same file names and extensions. I just posted this thread for 46 useless files in the Windows directory that will free up more than 10 MB. If there are any other files that you want to delete, just create a new text file, rename it to the file that you want to delete, then copy it to the Windows directory to overwrite the original file. Always backup the original ones in your computer just in case you want to restore them.
I was also thinking about this, but didnt test it yet . Very helpful.
vale|46 said:
Always backup the original ones in your computer just in case you want to restore them.
Click to expand...
Click to collapse
No need to! They are on the ROM! All you need to do it delete them and poof the one on the ROM reappears!
defaria said:
No need to! They are on the ROM! All you need to do it delete them and poof the one on the ROM reappears!
Click to expand...
Click to collapse
That's good to know, thanks.
If, as I understand from reading earlier posts, the files are indeed in the ROM and they don't actually take up storage space then I might as well leave them where they are.
Thanks!
Dave

[Q]About the file in programs tab

may i know how to create folder ext:game folder only store for games application,n software folder store for software application?
please guide me,i am new ...
thank you...
Normally Games automatically install into your Games Folder and Applications into your Programmes Folder.
but,some application i want to arrange,got any software or any way to arrange some file in folder?
honeychea said:
but,some application i want to arrange,got any software or any way to arrange some file in folder?
Click to expand...
Click to collapse
You can certainly create and name new folders on the phone and place your files in those, or you could transfer folders from your pc to the phone with activesync. But once you click to install the cab files, you can't then choose the path to install to your folders, it'll only let you select to install to internal storage or device. Then it will install to the program files folder in either 'Internal Storage' or 'My Device.' Having said that, there might be some app or tweak around that allows you to do it.
ya,got any app can do that?programe too many icon,need to arrange ...in folder

Can someone give me folder location of something?

Can someone find the folder that houses the folders data/com.dropbox.android. I created a folder on my device and when naming it, it also renamed an important folder. Now my thumbnails wont load for dropbox and a few other things were moved. like com.google.android.youtube. Important things. Can some find the folder that those are suppose to be in? Weird how it let me rename it. I try renaming it now and it errors. So im just gonna copy all the files in there and move the to the new CORRECT folder. Please and thank you.
99% of the com.anything folders are located in Android/Data/, so in your case, it would be Android/Data/com.dropbox.android

[Q] data-app directory

Hi,
've just noticed a dir named "data-app" inside /sdcard0; the content is just a single file starting with Znq***
Inspection of file contents didn't lead me to any further detail, I only noticed that it is recreated at boot.
Anybody knows if it's related to a safe app?
Thank you
Answer
It´s related to google play

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