Hi everyone, I've only run into this issue on the OnePlus 5 and have never encountered it before. I'm running it on the 4.5.1 stock ROM, rooted with SuperSu, and with the Beta TWRP set up.
I was wondering if anyone would be willing to quickly try this on their own devices to see if it's also an issue.
1. I open up the stock Contacts app
2. Click on the three dots in the upper right-hand corner
3. Settings
4. Import/Export
5. Export to .vcf file
6. I choose a path (the Download folder, for example)
7. Create
8. Voila! It instantly says the operation is complete, and a .vcf file does indeed get created, but it's empty at 0 KB.
I also get the following notification:
Finished exporting primaryownload/contacts.vcf
That smiley above is actually a colon followed by a capital "D."
I imported these contacts from the file I backed up from my previous device. It's like it's not reading my contacts or something. Maybe it has something to do with "primary?" Any help would be greatly appreciated!
P.S. I don't use Google to backup my contacts; please don't try convincing me to do so. Also, TiBu has failed me in the past when I relied on it without knowing that it didn't back them up, despite my checking them off. Therefore, this is the method I've chosen to back my contacts up, and I'd like to keep doing so.
I have no explanation whatsoever as to what solved this. I have tried maybe six or more times since I got the phone, every few days or so. I'd always get a 0 KB file I wasn't able to backup on my computer. This time, it was the full contact file. I tried messing around by going into Contacts display and clicking on Contacts to display. I clicked on "PHONE" then went back to "All contacts." That's all I think I did, and that was after it exported.
It wasn't because I was impatient because I've waited almost a full day in the past, and it was still a 0 KB file. Well, I'm really grateful regardless of my confusion, lol.
Related
Every time I go to use Speed-dial, I get the message 'Speed-dial was broken and has been repaired.' Once I hit OK, it dials the number fine. Whenever I look at my speed-dial list, it appears fine. Anyone else have this happen? Any solution you found. It's not that big of a deal but the purpose of speed-dial is speed, not navigating messageboxes.
Any help would be appreciated.
db
dcbehan said:
Every time I go to use Speed-dial, I get the message 'Speed-dial was broken and has been repaired.' Once I hit OK, it dials the number fine. Whenever I look at my speed-dial list, it appears fine. Anyone else have this happen? Any solution you found. It's not that big of a deal but the purpose of speed-dial is speed, not navigating messageboxes.
Any help would be appreciated.
db
Click to expand...
Click to collapse
Same error here. Anyone have a solution.
Not a solution but a question/hint towards collobrative discovery...
Are you backing up & restoring your XDA or databases etc?
Normally I do not get this message on a regular basis. I use SpriteBackup to backup the database file called speed.db. This database contains the speed dial entries. Each time I restore this database I get the error you mention.
It appears that the speed dial list is simply a list of references to Contacts database positions. Somehow the system must be tracking whether either of the two databases have been "touched" and then put it into the recovery mode mentioned. I guess the trick is to detect this change and counter it if needed.
Just pure speculation so please forgive me this is all rubbish and useless information.
k_kirk said:
Not a solution but a question/hint towards collobrative discovery...
Are you backing up & restoring your XDA or databases etc?
Normally I do not get this message on a regular basis. I use SpriteBackup to backup the database file called speed.db. This database contains the speed dial entries. Each time I restore this database I get the error you mention.
It appears that the speed dial list is simply a list of references to Contacts database positions. Somehow the system must be tracking whether either of the two databases have been "touched" and then put it into the recovery mode mentioned. I guess the trick is to detect this change and counter it if needed.
Just pure speculation so please forgive me this is all rubbish and useless information.
Click to expand...
Click to collapse
Interesting speculation K_Kirk, I backup using Sprite Clone and ActiveSync backup\restore function every few days. Maybe their is a connection.
I use Backup Manager daily for backup but have not restored recently. What I did do that seems to work is delete all the speeddials and redo them (as I only had three it was no big deal). Since I did that, I haven't had any problem.
The restore question indeed may be on the right track thought I'm not sure what you'd do about it other than start again.
db
I don't use Sprite nor do I backup via AS and I get the error regularly.
The speed dial database is indeed a collection of OID links to the contacts database.
restoring your databases, by any means (except raw mode in sprite clone), causes the OID's of database records to change, breaking this link.
Sprite Backup repairs the link on restore, however, when you next synchronise with Active Sync, a full resync is performed because of the OID changes, and Active Sync does not patch the SpeedDial database appropriately.
if the OID link appears invalid on use, in 2003, it matches them up via name ot the contacts database, hense the "broken but fixed" message.
[email protected] can send you a speedmatch.exe that does this to all speed dial links, perhaps if it can be made to run automatically after any active sync activity then you'll never see that message again.
You don't NEED to backup and restore to see this message however, Activesync quite commonly deletes and re-creates altered contacts, breaking any speeddial links to them.
..belial..
In the Messaging app, the "Deleted Items" folder of my Text Messages has (10) after its name in the Show menu to indicate that there are 10 unread items in the folder. When I open the folder, there are no messages there, although at the bottom of the screen it sais " Text Messages 0 Items, 10 Unread". Whatever I try, I cannot clear that and make that 0 Items, 0 Unread, like it should show, since the folder is empty.
I tried the tools-> Empty Deleted Items option, but the problem remains. Does anyone know how to get rid of the message that there are 10 unread messages in th folder, although it is actually empty?
Thanks.
Do you use Sprite Backup? Sometimes a restore can cause that to happen. They have a utility that worked for me:
http://spritesoftware.crmdesk.com/a...il.zip&search=Search&area=0&criteria=0&sort=0
Thanks the link you suggested worked, the count is now 0 like it should be. It even worked too good, it also erased my email and mms accounts, which I now cannot get to work again... Well, just have to install them again I guess, at least that annoying faulty sms count is gone now.
Glad it worked. The included .txt file does say that it will wipe everything clean and to be sure you're backed up with whatever's needed.
Hope you're back up and running.
Yeah, I read the .txt file. The app itself showed what items would be deleted, but never mentioned that it would delete all the mail settings and accounts as well. As it turns out, I couldn't get my MMS composer to work after I ran the program, so I hard reset the device and runned my backup on it. Now my MMS composer is back, my mail accounts and settings are back, but the annoying corrupt sms count is back as well off course. I plan to hard reset and reinstall all my apps manually anyway, since I am having more trouble at the farm, so I will then as a side benefit also be rid of the corrupt sms counts. But thanks anyway for your help.
Koksie said:
Yeah, I read the .txt file. The app itself showed what items would be deleted, but never mentioned that it would delete all the mail settings and accounts as well. As it turns out, I couldn't get my MMS composer to work after I ran the program, so I hard reset the device and runned my backup on it. Now my MMS composer is back, my mail accounts and settings are back, but the annoying corrupt sms count is back as well off course. I plan to hard reset and reinstall all my apps manually anyway, since I am having more trouble at the farm, so I will then as a side benefit also be rid of the corrupt sms counts. But thanks anyway for your help.
Click to expand...
Click to collapse
I have the same problem after apply the patch of the Sprite. I make a hard reset but when I restaure again I disable 2 directory UAContents and folder of MMS. Now it works perfectly
That sounds as the thing I have been looking for. How did you disable the folders in your restore? When I restore, I cannot disable any folders, Sprite just puts back all my apps, folders, settings etc. Can you tell me how exactly did you leave out those folders? Should I do this when making a back up ( thereby losing the folders after the hard reset) or when restoring ( can you show me how to leave them out when restoring?). Can you tell me where the folders are located on my Compact?
It's necessary to exit of elementary mode. You can find it in Option. I don't arrive to understand in English, look here and here
Ok, thanks! I did the restore from my desktop PC, but I see that from my SD card I can choose to leave some folders out of the restore. Thanks for your help!
After applying the patch, when MMS composer dissapeares, you can install it again from Extended ROM. For me it was OK.
P/S/ To make ExtROM visible run LoadVDisc program from Windows folder
Hi there.
I had problem with sms-messages after modaco-2.2 flashing.
When I got sms-message phone made sound and vibration but nothing to read in message program.
After reading couple hundred pages I found solution:
(Before you do this remember that this distroys your old mms and sms archive )
1. I found and downloaded adb.zip file and extracted it. You can get it from attacement. ( nope ... I can't upload it here )
2. Then I turned phones debugging on ( home-> menu-> settings-> Applications-> Developement -> USB debugging on
3. Wired phone to my mac
4. Opened terminal and then went to that directory where I extracted adb.zip
5. First checked device with command
./adb device
6. When everything was ok then shell command
./adb shell
7. Now prompt was #
8. Changed directory with command
# cd /data/data/com.android.providers.telephony/databases
9. Look that there was mmssms.db
# ls mmssms.db
10. Erased that file
# rm mmssms.db
11. Went out from shell
# exit
12. Went out from terminal
exit
13. Rebooted my phone and then everythin worked perfect.
I think that old mmssms.db file was different format than new one and thats why message-program could't use it.
I hope that this helps somebody.
...Lasse...
worked perfectly for me, thanks a lot of the tip!
The database from 2.73.405.5 build got a lot of changes to the old one (1.76.405.6). So it does not work to copy back the old Database after an update. I imported my old Mails manual to the new databasefile by accessing the database directly.
patzek said:
The database from 2.73.405.5 build got a lot of changes to the old one (1.76.405.6). So it does not work to copy back the old Database after an update. I imported my old Mails manual to the new databasefile by accessing the database directly.
Click to expand...
Click to collapse
Could you please describe how you restored your old data? I know it's a SQLite database and manually changed data in it before updating, but my knowledge with SQLite ain't that great, so I don't know "the perfect" SQL manager and so on...
Any advice is highly appreciated!
For me it was really easy as i only have SMS messages in my Database. So i wrote a very simple windows-app that imports the old messages out of the old database-file into the new database.
i have read about this fix in a german forum. it doesn't seem to fix the issue completely. i would suggest to keep smstomailbox installed for a while so we can be sure this really is a permanent fix.
This fix (german forum) does not work because the database got also changes in other parts of the database than the sms table. only in import into the new format will work.
patzek said:
For me it was really easy as i only have SMS messages in my Database. So i wrote a very simple windows-app that imports the old messages out of the old database-file into the new database.
Click to expand...
Click to collapse
Yes, I used your method when migrating from Windows to Android. It worked great and it was me who wrote directions for Notepad++ on how to change dates to proper format with regexp for other countries
Although, with the new Hero ROM database ROM seems to have changed in such a way that old message collides with new database/table structure. I will transfer new database to my computer and do some research soon.
sibbor said:
Yes, I used your method when migrating from Windows to Android. It worked great and it was me who wrote directions for Notepad++ on how to change dates to proper format with regexp for other countries
Although, with the new Hero ROM database ROM seems to have changed in such a way that old message collides with new database/table structure. I will transfer new database to my computer and do some research soon.
Click to expand...
Click to collapse
The SMSImport Application was done to import my SMS Messages from Windows Mobile. The application is based on the 1.76 Rom SMS Database.
After my Update to 2.73 is was in the same situation, how to get the messages into the new Databaseformat and so i wrote a second little application that just make a transfer from the old databsefile to the new databasefile Quick and Dirty
sibbor said:
Yes, I used your method when migrating from Windows to Android. It worked great and it was me who wrote directions for Notepad++ on how to change dates to proper format with regexp for other countries
Although, with the new Hero ROM database ROM seems to have changed in such a way that old message collides with new database/table structure. I will transfer new database to my computer and do some research soon.
Click to expand...
Click to collapse
patzek said:
The SMSImport Application was done to import my SMS Messages from Windows Mobile. The application is based on the 1.76 Rom SMS Database.
After my Update to 2.73 is was in the same situation, how to get the messages into the new Databaseformat and so i wrote a second little application that just make a transfer from the old databsefile to the new databasefile Quick and Dirty
Click to expand...
Click to collapse
Come on guys, lets share these about...
I have to migrate my brothers contacts from his Diamond to his Hero, he's on the 1.76 rom at the minute but will be upgrading to 2.73 later on.
I then have to import my messages from my old 1.76 database to my 2.73 database.
patzek said:
The SMSImport Application was done to import my SMS Messages from Windows Mobile. The application is based on the 1.76 Rom SMS Database.
After my Update to 2.73 is was in the same situation, how to get the messages into the new Databaseformat and so i wrote a second little application that just make a transfer from the old databsefile to the new databasefile Quick and Dirty
Click to expand...
Click to collapse
Ah, sorry I missunderstood. Please share your dirty solution with us ;-)! Btw, can one merge the old structure with the new one (two databases) and keep data intact from both? Or is it just a conversation from old to new structure, where you keep old messages? Either way, sounds great! I can manually add messages that I recieved in my new database "manually" afterwards
i will try to make an sql update script that will update the structure from the old database to the new one.
so i make a quick compare of the database files from a wiped hero 1.76 rom and an wiped 2.73 hero rom. the only difference is the column "index_on_sim" in the table "sms" as an integer field. an simple "alter table sms add index_on_sim integer null" would fix this. i think this field will store the id of an contact which is on the sim card stored, otherwise its value is "null" on messages that was sended and "-1" on messages that was received.
there are hugher differences between a normal android sms database and the hero one and and "easy" upgrade is not possible. its necessary to add columns to different tables and it is also necessary to have them in the right possition so that when a application try to access the column by the index and not with the column name it uses the right one. maybe there is a application in the www available that makes an automatic database update. for other databases like ms sql server there are solutions available...
patzek said:
so i make a quick compare of the database files from a wiped hero 1.76 rom and an wiped 2.73 hero rom. the only difference is the column "index_on_sim" in the table "sms" as an integer field. an simple "alter table sms add index_on_sim integer null" would fix this. i think this field will store the id of an contact which is on the sim card stored, otherwise its value is "null" on messages that was sended and "-1" on messages that was received.
there are hugher differences between a normal android sms database and the hero one and and "easy" upgrade is not possible. its necessary to add columns to different tables and it is also necessary to have them in the right possition so that when a application try to access the column by the index and not with the column name it uses the right one. maybe there is a application in the www available that makes an automatic database update. for other databases like ms sql server there are solutions available...
Click to expand...
Click to collapse
Yes, I've made this conclusion too. I've now merged my entire MMS/SMS database:
1) I exported both the 1.76 db and the 2.73 db as SQL dumps
2) Merged them together and got rid of lots of messed up data. Also I had to fix formatting for strings for the application to be able to import it properly again. Changed some ID's too.
3) Then I truncated the tables "sms" & "threads" + made minior fixes around the database (clean-up). and made changes to other ID's for it to look cleaner.
Since I've done SMS migration like this: Nokia > Windows Mobile > Android (Hero, v1.76) > Android (Hero, 2.73) there was some differences within the database. I fixed number formatting + updated data in proper places. Ex. sms.toa + sms.sc_toa (145 for one person and 0 for me), sms.person to correct ID for the contact (since there was diffs between the two Android databases and no person ID at all for earlier merged databases; Nokia + WM).
Side note: it seems sms.index_on_sim should be NULL for outgoing SMS'es and -1 for incoming (that's not stored on SIM card).
Also I added correct ID to the sms.person column for all my old SMS'es. First
Tx uttila for the sms problem solution
@uttila: it worked fine for me and my htc hero. I erased the database table mmssms.db and now it saves the messages
I have the Sprint version of the HTC Hero, Just got it a few days ago. I started noticing in about my second day having the phone that I wasnt receiving texts either. Same problem as everyone else, could send, make calls, receive calls, etc. Just couldnt recieve texts. After a while, i will eventually be able to recieve again, usually because I restart the phone, or that could just be a coincidence. But nevertheless I dont recieve any of the "lost" texts.
I just got off the phone with customer service with Sprint, They had me turn the phone off, take the battery out, and were doing some "updates" on their end. And then tried to send a text to me after turning it back on. They werent able to resolve the problem. They are telling me to take it to a Sprint store, so that they can run some tests on the phone, and send it off for a replacement.
I mentioned to the customer service rep that I've read about this problem online, that alot of people seem to be having the same problem. His response was "Yeah, I have been receiving some calls, but not to the point where we would consider it a known issue"
So I guess thats where we stand right now. Is there someway that I can fix it on my end, or is there an update out from HTC that resolve's this. Because it doesn't seem to just be a Sprint issue, since people overseas in Europe with different providers are having the same issue. So I'm guessing its a software\hardware issue, and not a network problem.
Any solutions?
Same Issue here.... about to send it back!
From Sprint's actual Hero forum users are reporting the same issue...
http://community.sprint.com/baw/thread/22913?start=30&tstart=0&reqsorting=dec
Hope posting this link is ok
Additionally it seems like some files are not being removed when performing a factory reset as I had installed a sound board and after two factory resets I noticed some sound files were still on my phone. TO me this indicates not all files are being removed correctly. I doubt the sound board messed anything up but this may indicate another app inadvertently did and the factory reset isn't cutting it as far as fixing the issue. Called Sprint and they offered to replace for free and also refreshed my syst settings which had zero impact.
Hey,
I got the HTC Mytouch 4G a few days ago. I backed my contacts up from my previous phone (W995), most of them were in hebrew. When i imported them into my new device, they showed up with the characters "/1" at the end of every name.
is there any way to edit them all at once, so i could remove this annoying thing? thanks in advance
Not on the device. If you want - download them from Google in CSV format, run any script to edit them, return them back.
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.