WM5 cemail.vol manipulation - Sable

I have had this working. I don't really remember what I did, but I'm posting my progress on here as a reference to others, and as future reference for myself.
There isn't a single accurate guide for how to move your cemail.vol (SMS texts, email, etc) to the storage card (or anywhere outside of the \ root folder) for this particular incarnation of WM5.
The first issue everyone complains about is being unable to delete, copy, or rename "\cemail.vol"
I found a really easy way to do it, and I think it's the key to moving the data to the Storage Card.
[HKCU/Software/Microsoft/MAPI]
DbPath = "\Storage Card\cemail.vol" (string)
AttachPath = "\Storage Card\Inbox\Attachments" (string)
PropertyPath = "\\Storage Card" (string)
1. End the "Text Messages" application (if it's running).
2. Go to the above mentioned registry location, and create all three of those values (if there's any doubt as to the location, go to your text message options and check the "store attachments on card" option, and the AttachPath value will appeart in that location).
For whatever reason, setting PropertyPath to "\\Storage Card" or probably any other location starting with a double "\" makes the system look for cemail.vol somewhere else and the file is immediately unlocked... you can then copy it, delete it, rename it, or do whatever you want with it.
All of this can be done without resetting the phone at all. It's the Text Message application that looks for cemail.vol, and creates it if it doesn't exist.
Interestingly enough, if I change PropertyPath to "\Storage Card" it reverts to creating cemail.vol in the devices root folder.
Any help figuring this out would be appreciated, but I thought this might help some people.

http://www.4winmobile.com/forums/wi...m5-smartphone-storage-memory-reclamation.html
I tried that method (and many other methods) and it ends up creating cemail.vol in the root folder again, and if you reset the phone, it will also create a folder called "Storage Card" and rename your actual storage card to "Storage Card2"
WHile apparently it works on some phones, it doesn't on this one

I came across this way of re-syncing cemail.vol with an exchange server:
with a registry editor, go to HKCU\Software\Microsoft\ActiveSync\Partners\{device-specific GUID}
inside the partners folder, I have 2 entries: inside the first entry were an uncountable amount of subfolders with similar names. Inside the second entry, there was a list of registry tweaks.
One is called ClientReset - change the value from 0 to 1, and save. This clears all synced data from the pda, and re-syncs it.
Then once it's re-synced, change the flag back to 0
So if your email storage is misbehaving, this is an easier way than deleting the partnership

Related

How to transfer SMS Messages from a Nokia phone to X1 (Win Mob device)

Hi Guys,
This is my first post. I have recently purchased an Xperia X1 upgrading from an N73. I was searching for a way to transfer sms from the Nokia N73 to Windows Mobile but came up empty handed. I found a few threads on this forum which asked the question, but didn't end up helping me. I have found a way to do this, I will admit this may be a pain in the ass, but if you stick with it (and if its important enough) you will have your SMS messages transferred across to your WM device.
Tools you will need
Nokia PC Suite (whichever version you need for your mobile)
SMSImport for PPC (http://www.freewarepocketpc.net/ppc-download-smsimport-v1-0-1.html)
ABC Amber Nokia Converter
XML Notepad 2007
Steps
1. Firstly its best we extract the messages from your Nokia phone first. Open PC Suite and view ALL the messages you want to transfer. I just selected my inbox
and copied all messages.
2. Create a folder on your desktop and paste all the messages in the folder.
3. We will leave the messages alone at this stage and prepare the xml file template you use to import your messages. Copy SMSImport to your PPC device (doesnt matter which memory you choose) Run the app. Its best to run this with some sms messages in your inbox so you can see how its exported. Export a copy of your messages to a file. If your doing this on a fresh install below is the xml structure.
<SMSExport><store name="SMS"><folder name="Deleted Items"/><folder name="Drafts"/><folder name="Inbox">
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
</folder><folder name="Outbox"/><folder name="Sent Items"/></store></SMSExport>
You may notice that there are additional folder names. You can export messages from other folders on your phone and import them under the headers in a similar format as per below
<SMSExport><store name="SMS">
<folder name="Deleted Items"/>
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
</folder><folder name="Drafts"/>
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
</folder><folder name="Inbox">
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
</folder><folder name="Outbox"/>
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
</folder><folder name="Sent Items"/>
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
</store></SMSExport>
Simply put, there is a message in each folder above, it will restore this message in each folder on your PPC device. Got it? Good =)
4. We will return to your copied messages now. Open ABC Amber Nokia Converter and open all the messages in the folder you created earlier.
This will list all messages and show you the details of each message.
5. Now depending on how you view your SMS messages on your PPC, there is Conversation view or the normal sms itemised view. If you decide to use the Conversation view, to show the messages in the correct order from which they were recieved, you will need to sort by date, oldest messages at the top. If you use the normal sms itemised view, you dont need to worry about sorting (as far as I know).
6. Select all messages and export to a excel spreadsheet (xls). Why are we exporting to Excel? Because the next stage will make preparing the output
for the xml doc so much faster and easer.
7. Open the excel sheet and you will see all your messages listed with the individual details separated by column. YOu will need to edit this output to resemble the following order
DATE/TIME, MOBILENUMBER, MESSAGE
8. Next we need to insert the xml tags to make life easy. You will need to create the following tags.
<message date="
" sender="
" recipient="">
</message>
9. Now for each line you will need to insert additional columns for each of the above tags. The end result should be like this
COLUMN A = <message date="
COLUMN B = DATE/TIME
COLUMN C = " sender="
COLUMN D = MOBILENUMBER
COLUMN E = " recipient="">
COLUMN F = MESSAGE
COLUMN G = </message>
Ensure that this format is consistent for all messages.
10. Once you have completed this, Select all text and copy it to notepad. When the data has been pasted there will be a lot of tab spacing. These will need to be removed. The best way is to copy a block of these spaces (a tab space) and use find and replace to remove the spacing. HINT Find box will have your tab space, Replace will have nothing. Click Replace all and this will remove all the tab spaces.
11. Once this has been done you will need to then sort out your messages into the folders that you want them to be imported into. Use the example above as your guide.
12. Once you have done the sorting of your messages, you will need to add the following to the top of the document
<SMSExport><store name="SMS">
And the following to the end
</store></SMSExport>
Save as a .xml file.
13. As xml is picky on which characters are accepted, you will need to vet the xml file for bogus characters which SMSImport will reject, Open your xml file in XML Notepad 2007. It will flag the location of unsupported characters with an error message, giving the line number and character number. The status bar in Notepad will help you with the locations if you have a large amount of messages. Typical characters that arent supported will be @ & and other non English standard lettering. If there are no errors, the xml file will load and display a tree output which you can expand the folders and see your messages.
14. Now for the final step. Copy the xml file to your PPC device and start SMSImport. Point to your xml file and tap it. If things are right, You will see the app processing and adding all the messages into your SMS folders!!!
Thats it!!!.
Now I should mention on a side note that the mobile numbers do not display the + sign on the mobile number like +61000000000 for example, so linking it to your contacts will not work. If you want to be anal about how the SMS display (you want to see the Contacts name instead of the number) you will need to do the following
1. Using Notepad, and the find and replace option, search the first 3 numbers eg 614, replace it with +614 (Im using Australian country codes and the 4 is the second number for mobile numbers in Aus) This will make the numbers a recognisable format for your mobile.
2. So your messages display with the contacts name you will need to replace the following string
<message date="DATE" sender="SENDER MOBILE NUMBER" recipient="">MESSAGE CONTENT</message>
With the following
<message date="DATE" sender="""CONTACT NAME" <SENDER MOBILE NUMBER>" recipient="">MESSAGE CONTENT</message>
This will be a time consuming process if you arent to savvy with your mates mobile numbers, but it makes it worth it in the end. Once you have made the changes save the xml file and follow steps 13 and 14 to check the import file and import into your PPC.
This process took me a few hours to figure out and im happy with the results. I agree its not the simplest way of doing this, but so far the only documented way I have found that works.
I hope this helps
I just wanted to thank you for your HowTo! I had to to this from an old SE-Phone (W960i) but the steps have been mainly the same. Although I needed up to 3 hours to handle 300+ SMS I'm now happy to have them all on my X1
Also I will indeed never read them all again, but it feels just good for me to have them not lost
THX a LOT!
thx for this idea, I transfered my sms from nokia 3110c to my htc wizard with your help :")
I made updated version of the transfer guide: http://forum.xda-developers.com/showthread.php?p=4385729#post4385729
Also made a little parser for simple user-friendly xml creating.
Check it out :")
Hi dude, i need a similar kind of help, I am sending my Xperia X1 for repairs, I wanted to backup my sms onto my PC, do you any way I could acheive this?
Your help will be much appreciated.
Thnaks
PIM backup? Jeyo SMS backup? I think the best would be full backup with SPB backup utility
Do u know how to transfer sms from X1 to PC ?
How to transfer sms from X1 to a PC ?
Hi dude, i need a similar kind of help, I am sending my Xperia X1 for repairs, I wanted to backup my sms onto my PC, do you any way I could acheive this?
Your help will be much appreciated.
Thnaks
Help!!
Ran this procedure on a HD2 and completed all steps successfully. However, I don't see any messages when I go to the message panel on the home screen. what could be the possible issue?
thanks in advance.
Try http://www.bloove.com
MOBILedit!
Hello,
I would like to point out a software for mobile phones management called MOBILedit.
MOBILedit is a PC software, which is among other things able to browse, edit, copy, backup and migrate data within connected mobile phones. Mobile phones may be connected by cable, BlueTooth or even IrDA.
Especially the possibility to migrate contacts, messages and other content may come handy in this case.
It is not free, but it is totally worth it.
I hope you will give it a try - there is a lite version available to see how it works.
Thanks!
its a very awsome mobile phone............i like its specification............
yeah that takes ages, but deleting messages is always like loosing part of your life so thanks a lot

message2reg

I've been digging around and trying numerous examples of the message2reg.exe utility. I've found examples from ThrottleLauncher, BatteryStatus, WAD... they all seem to include the same set of files and mortscripts. It seems like the shortcuts included should cause the message2reg.exe to run and put data into the registry at ...
SMS_text = RegRead("HKLM","Software\ThrottleLauncher\Messaging\SMS","Subject")
I have all the files in \Program Files\Message2Reg\
The mortscript writes then deletes temporary registry entries in noted location above. Then it does....
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
This should put the data into registry but nothing ever shows.
Also tried ...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
because "Text Messages" is what shows in my Messaging application (not SMS).
Eventually I want to use mortscript to get weather from google via SMS, then use message2reg to parse the SMS.
Any tips?
itesla said:
I've been digging around and trying numerous examples of the message2reg.exe utility. I've found examples from ThrottleLauncher, BatteryStatus, WAD... they all seem to include the same set of files and mortscripts. It seems like the shortcuts included should cause the message2reg.exe to run and put data into the registry at ...
SMS_text = RegRead("HKLM","Software\ThrottleLauncher\Messaging\SMS","Subject")
I have all the files in \Program Files\Message2Reg\
The mortscript writes then deletes temporary registry entries in noted location above. Then it does....
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
This should put the data into registry but nothing ever shows.
Also tried ...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
because "Text Messages" is what shows in my Messaging application (not SMS).
Eventually I want to use mortscript to get weather from google via SMS, then use message2reg to parse the SMS.
Any tips?
Click to expand...
Click to collapse
..why don't u use regwritestring of mortscript instead of message2reg?
Let mortscript itself write the datas into registry.
How does mortscript know what to write into registry? The whole point of message2reg is to read the SMS text "behind the scenes" and put in the registry for programs like mortscript / rlotday / throttlelauncher to access. I haven't used MortScript to switch windows, copy text from window, etc.... That seems really messy and error prone, plus there are a lot of messages to repeat through.
Or can MortScript read directly from the WM messaging program now in a new version or something?
...hm I don't really know what message2reg exactly does. But mortscript is not able to communicate with the wm messaging interface.
How does message2reg know what to write in the registry? Sorry, but as i mentioned before I don't know message2reg.
But have a look here: http://forum.xda-developers.com/showthread.php?t=479076&page=3
You are not alone :-(
Well, I haven't gotten it working yet... My impression is that it writes numerous entries into the mentioned registry key (entries for subject, sender, date, body) for the most recent message in the Messaging "folder". You tell message2reg which folder to read from as a command line parameter as well as Refresh...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
If you want to see the information for the next oldest message, your execute message2reg again with the "Next" parameter, and then the existing registries entries are over-written with the 2nd SMS message...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Next")
cyron_at said:
But have a look here: http://forum.xda-developers.com/showthread.php?t=479076&page=3
You are not alone :-(
Click to expand...
Click to collapse
That is one of the many I read through Some people have it working so there must be some trick or missing parameter or something
Anyone get this working? Is it OS issue (WM5)?
I used it successfully in my Multiplugin:
http://forum.xda-developers.com/showthread.php?t=523015
You can see the commands I used inside.
itesla said:
I've been digging around and trying numerous examples of the message2reg.exe utility. I've found examples from ThrottleLauncher, BatteryStatus, WAD... they all seem to include the same set of files and mortscripts. It seems like the shortcuts included should cause the message2reg.exe to run and put data into the registry at ...
SMS_text = RegRead("HKLM","Software\ThrottleLauncher\Messaging\SMS","Subject")
I have all the files in \Program Files\Message2Reg\
The mortscript writes then deletes temporary registry entries in noted location above. Then it does....
RunWait("\Program Files\Message2Reg\Message2Reg.exe","SMS Refresh")
This should put the data into registry but nothing ever shows.
Also tried ...
RunWait("\Program Files\Message2Reg\Message2Reg.exe","Text Messages Refresh")
because "Text Messages" is what shows in my Messaging application (not SMS).
Eventually I want to use mortscript to get weather from google via SMS, then use message2reg to parse the SMS.
Any tips?
Click to expand...
Click to collapse
you're wrong with parameters of message2reg
they are : Next , Previous , Refresh , Reply , Details or Detail (don't remember)
Hi,
I was wondering if Message2Reg was able to get email body and/or message dates.
I successfully configured it to work with SMS and ActiveSync email but I cannot find the informations above. Any advise ?
Thank you !
This is the only info I found on this matter:
Message2Reg. Save to registry the message from the account with the number specified (to HKLM/ThrottleLauncher/Messaging/#AccountName#). Params: "account name [SMS/ActiveSync/...]" "Action [Next/Previous/Refresh/Details/Reply/Exit]". This little app is based on the MAPI api suplied here: http://www.codeproject.com/KB/mobile/PocketPCandSmartphone.aspx. If you want the sourcode of Message2Reg send me a mail and I'll send it in cumpliment of the BSD license.
Click to expand...
Click to collapse
From: http://www.throttlelauncher.com/portal/Downloads/ThrottleLauncher/092beta
damn i've really lost my mind trying to get this thing to work, seems like it does not want to wok on my device........somebody please help
i am lost at how your trying to run it.
all it does is write to the registry, you then need something to show the new reg keys.
example WAD can show REG text.

how to to store mails in storage card?

Hi, a friend of mine own a Leo ..he wants to save mails in storage card couse internal memory is not enough, on wm 6.1 it was quite easy .. just create 2 folder in storage card and add this 2 registry entry
Name: AttachPath
String: \Storage Card\MAPI\Attachments
Name: PropertyPath
String: \Storage Card\MAPI
but with 6.5 I think is different couse when he add the registry values, storage card is renamed in storage card2 and a folder named storage card appear in \windows.
Any suggestion
Thanks
Nope, I have been searching for an answer to this from day one of owning the HD2. It's also nothing to do with WM6.5 - the tweak worked fine on my HD on 6.5.
I suspect that the cause is something starting up a mail application before the SD Card is mounted. I have tried various tweaks including removing some start up items, but nothing has worked to date.
I'd be very please if someone can crack this!
Hi, not sure if this helps but it's not a tweek but an actual setting on the HD2 -
Start, email, select your client, menu, slide screen up and tap tools, options, storage tab along the bottom, tick the box to store attachments to the SD card.
That's fine for attachments, but we are talking about moving the whole mail store to the SD Card.
That's the difference between having a limited snapshot of recent mail without the full message being downloaded and having every part of all your emails, including sent items.
anyone figured this out yet, it keeps coming up storagecard 2 if you change the reg values
so we have to have to wait.. a custom rom can solve this if is not a 6.5 issue
Mad Jock said:
Hi, not sure if this helps but it's not a tweek but an actual setting on the HD2 -
Start, email, select your client, menu, slide screen up and tap tools, options, storage tab along the bottom, tick the box to store attachments to the SD card.
Click to expand...
Click to collapse
Weird thing is that if you enable this option, the registry value "AttachPath" gets created pointing to \Storage Card\Inbox.xxxxxxx\Mail Attachments\
But in this case \Storage Card\ doesn't get renamed to \Storage Card2\. But the moment you create "PropertyPath registry value and soft reset the device, it gets renamed.
anychance we can all work together and try to find a fix?
how about if we disabled htc messaging, is there anyone who has a non htc messaging application hd2, who can test this for us ??
I have a lot of email everyday and need to keep it at least 1 week. The email folder occupe my limitation memory. It should solve. Its HTC trouble or Micorsoft?
I have the same problem, around 2.5k mails in Exchange, and 3-3.5k in GMail account, really would like to store them on microSD card
As my working assumption is that the problem is caused by some component of messaging initialising before the SD Card is mounted, I have tried a number of things to delay or prevent obvious messaging stuff loading.
One thing I haven't tried yet is disabling Sense in favour of either Titanium or just the core OS. I'm not in a position to be able to try this myself right now, but if anyone fancies trying it I'd be fascinated to know the result. Then all we would need potentially would be a utility to delay Sense starting by a few seconds?
I do have a horrible feeling that HTC may have something going on at a deeper level though...
Nope, that doesn't work either...
Has anyone been successful with this severe limitation?? I'm at my wits end with this problem!!
i have an idea to a solution
forum.xda-developers.com/showthread.php?t=641930

Advanced Config:Photos Dir and Date/Time, NRG ROM

Every since switching from the tilt 2 to the hd2, i cant seem to get pics to save to the doc/pics on the sd card, and have them named by date/time. Have only been using NRG 21xxx roms on te 2 hd2's with cooked in advanced config.
If i setup advanced config it will save some to one location and sometimes save them to the DCIM. It gets all screwy and i end up switching the setings back.
I dont care where they are saved as long as they always go to the same dir, but i want them named with date/time
Advanced config setup to save to my pictures, and in docs/pictures, or whatever. Pics taken with the camera save to storage card dcim. Yesterday i took a pic to send in mms and it saved to my docs/pics on the sd card.
Very annoying cause it doesnt show in the album since its pointed at dcim. Ugh
i read yesterday in a html file within the rom somehwre (ill try find it when i get home) that even if you change the photo prefix setting, it will still use the default prefix when saved to sd card.
I was also unable to get the sd save location to move from DCIM, not with reg entries, nothing. (admittedly, i only tried for an evening )

[Q] Retrieve contacts from database

I have a problem with my Defy running CM11. Yesterday it just rebooted randomly during writing of SMS message. I wouldn't really mind this(because it happens sometimes with unstable fw) but half of my contacts were gone. I know I should sync them with my Google account but I didn't for some time now and I really would like to restore them. I copied 'contacts2.db" file, opened it in text editor and it is possible to find those missing numbers there, but the context is really hard to figure something out. I found it in the table named "search_index_content". The table is looking like that: "CREATE TABLE 'search_index_content'(docid INTEGER PRIMARY KEY, 'c0contact_id', 'c1content', 'c2name', 'c3tokens')". Number is in the "c3tokens" column, there are two ids in first two columns and some probably encoded text in "c2name" column. Does any one know how to decode the text from this column or how to generally restore ALL contacts from "contacts2.db"?
qwert940 said:
I have a problem with my Defy running CM11. Yesterday it just rebooted randomly during writing of SMS message. I wouldn't really mind this(because it happens sometimes with unstable fw) but half of my contacts were gone. I know I should sync them with my Google account but I didn't for some time now and I really would like to restore them. I copied 'contacts2.db" file, opened it in text editor and it is possible to find those missing numbers there, but the context is really hard to figure something out. I found it in the table named "search_index_content". The table is looking like that: "CREATE TABLE 'search_index_content'(docid INTEGER PRIMARY KEY, 'c0contact_id', 'c1content', 'c2name', 'c3tokens')". Number is in the "c3tokens" column, there are two ids in first two columns and some probably encoded text in "c2name" column. Does any one know how to decode the text from this column or how to generally restore ALL contacts from "contacts2.db"?
Click to expand...
Click to collapse
First of all export your contacts to SD card. Then you can find 00001.vcf file in SD card. Open it using a text editor and look for missing contacts. Or after exporting it display ......contacts copied. If it equals to your full contacts list then import it.
Sent from my MB526 using Tapatalk 2
I wouldn't name you answer brilliant, but no offense you tried. If I'm working with database to restore at least some of the lost contacts if not all of them do you really think it's that simple to click "Export to SD" on my phone. I wrote that the contacts are missing. There are not showing in directory so they won't be exported to vcf
Nonetheless I managed to encode the text. It's in hex system, however it's not ASCII, I'm not sure which encoding it is. Topic can be closed.

Categories

Resources