Move files - force clõse mmssms.db

169 views
Skip to first unread message

Nuno Mendes

unread,
Dec 18, 2012, 9:52:33 AM12/18/12
to tas...@googlegroups.com
Hey im trying to make backup from cp /data/data/com.android.providers.telephony/databases/mmssms.db /mnt/sdcard/XT9/mmssms.db - that works well, but when i do the other way around with same run shell it doesnt restore the backup. Well it does, but you only see that the file changed and if you reboot the mms.apk force closes and the only solution is to delete mmssms.db and reboot.. Any solution?

TomL

unread,
Dec 18, 2012, 10:01:24 AM12/18/12
to tas...@googlegroups.com
Maybe the file permissions for mmssms.db aren't what the app expects.  When you have mms working properly, run:

ls -l /data/data/com.android.providers.telephony/databases/mmssms.db

Take note of name of the owner, the name of the group and the file permissions.  Compare after you've copied mmssms.db into /data/data.  

Tom

GermainZ

unread,
Dec 18, 2012, 10:46:36 AM12/18/12
to tas...@googlegroups.com
If the issue is what Tom described, run this shell script last as root to fix it:
chmod 660 /data/data/com.android.providers.telephony/databases/mmssms.db

Nuno Mendes

unread,
Dec 18, 2012, 11:09:06 AM12/18/12
to tas...@googlegroups.com
I tried to change permissions manually with rootexplorer and then tried to run mms.apk and it wasnt working...

Is there any website with the full shell script documentation commands?

TomL

unread,
Dec 18, 2012, 11:22:02 AM12/18/12
to tas...@googlegroups.com
That's a tough question to answer. There's no single full shell script documentation of commands, as the commands available depending on what's installed on your device.  Try these for starters.


Tom

Nuno Mendes

unread,
Dec 18, 2012, 12:49:21 PM12/18/12
to tas...@googlegroups.com
Where are the Run Shell commands? xD

Anyways, anyone had a similiar problem ? Ever tried backing up sms and restoring?

GermainZ

unread,
Dec 18, 2012, 12:58:22 PM12/18/12
to tas...@googlegroups.com
Task > Run Shell

Nuno Mendes

unread,
Dec 18, 2012, 1:34:02 PM12/18/12
to tas...@googlegroups.com
I mean the examples :) on those websites i didnt find them

GermainZ

unread,
Dec 18, 2012, 1:49:12 PM12/18/12
to tas...@googlegroups.com
What are you talking about?
Reply all
Reply to author
Forward
0 new messages