mmssms.db corrupted on Rogers Dream CM6.1 - G1 Q&A, Help & Troubleshooting

So I was just texting last night and suddenly, my messaging app Force Closed. After that, it would just crash every time I would run it or receive a text. I assumed my sms database was corrupted, and with a bit of googling, I found where it was:
/data/data/com.android.providers.telephony/databases/mmssms.db
Now at this point, the first thing I tried to do is to rename it (forcing Messaging to create a fresh new one) and just as expected, it fixed the issue, but all my SMS were gone. Now that I knew that this was the issue, I tried copying it over to my sdcard so I could take a look at it, but while copying, it would just throw a "cp: read error: I/O error" and it would stop.
The partly copied file was exactly 512000bytes, if that has any significance whatsoever. I tried to tar or adb pull it but it always give me some IO error.
Does anyone have any idea how I can fix it? is it the sdcard that is corrupted?
Any help would be appreciated, thanks.
~Ph0X

Bump? I'm still trying to recover it but nothing ):

Related

SMS database Hero to normal Cupcake

Let me copy paste my question I did not yet find an answer to from the Cyanogenmod thread:
I was running the JACHeroski Hero build, 2.7.3 and that was also the first thing I installed when I got the phone last week, but now I decided I wanted to "downgrade" to CyanogenMod. The only downside is that even if I backup my SMS messages they do not transfer to the old ROM. The file copies, but the messages do not show up in the application.
Eventually I decided to compare the newer database and the older one, and the error turned out to be in the SPU table (thank you logcat), I recreated that (it was empty anyway) and then I could access all my messages again. Downside again was that I could not send messages anymore, every time I did that I got an error "Could not send message" and logcat did not show any errors.
Next step was insert all my SMS messages and threads into a blank database from that firmware, which worked and SMS sending worked too, but I still continuously got the error message that the messages could not be sent, while they in reality did send. Receiving worked fine all the time.
Anyone have any idea how I can install other builds than the Hero one I am running now and also solve this problem?
Backup your SMS using a program like My Backup. IT works transferring SMS from any build to any build. I.E. hero-->cm-->mytouch. DO a wipe and a fresh install of CM3.6.8.1. Currently 3.9.6 has some issues
I tried this out this afternoon and it has solved all my problems. With just Backup for Root Users it failed and manually injecting the messages into an SQLite database also failed for me, but after I did this once it works fantastically. Many thanks, I'm very glad it worked out.

[Q] Phone crashed? System UID inconsistent error

After getting that "UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable" error message in Docs v8, i tried flashing v7.6.2. The same error occured, i wiped/factory reseted, cleared dalvik cache and wiped cache.
After rebooting, same error. I wiped the SD card, same error after booting.
In desperation i did a repartition 512 in odin, then flashed JM9, but after booting the same error appeared again, but the strange thing is that it popped up a "setup homescreen popup" with LauncherPro?? How the hell, where it came from? :s
Dunno whats happening with the phone, please help
I currently have the same error. Did nothing so far, since everything works fine, but it annoys/worries me.
I would love to investigate, if one knew where to look, maybe it is possible to fix that error manually.
Edit: Ok, I read around. If you wiped practically everything and the problem persists its probably a hardware defect.
xcreatir said:
I currently have the same error. Did nothing so far, since everything works fine, but it annoys/worries me.
I would love to investigate, if one knew where to look, maybe it is possible to fix that error manually.
Edit: Ok, I read around. If you wiped practically everything and the problem persists its probably a hardware defect.
Click to expand...
Click to collapse
I fixed the phone. Thats what i did:
1) removed SD card, formatted it on the computer to FAT32
2) ODIN with repartition 813, then took off the battery
3) downloadmode again and flashed JM8 with pit 512 and repartition, then hardreset
4) registry hack then JPO with Kies
5) applied Doc JPO 7.6.2
problem fixed, so far so good
I found another solution.
have a [email protected] /data/system/uiderrors.txt
there you will find the apps, that are responsible for the trouble, delete them (manualy if necessary) and you are fine, reinstalling the apps brings the error back though.
Someone could write a script to automatically fix the UIDs of the files to match the UIDs expected by the system.
xcreatir said:
I found another solution.
have a [email protected] /data/system/uiderrors.txt
there you will find the apps, that are responsible for the trouble, delete them (manualy if necessary) and you are fine, reinstalling the apps brings the error back though.
Someone could write a script to automatically fix the UIDs of the files to match the UIDs expected by the system.
Click to expand...
Click to collapse
Yes please i'm having this same issue. Thanks very much!
I have LG Gt540 on 2.1 Baltic Black ROM, rooted + apps2sd.
I got this problem today. I finally solved by flashing and reflashing the same ROM a few times. It suddenly worked as I was almost ready to give up and flash a stock ROM via ODIN with repartition.
However, when I looked at /data/system/uiderrors.txt, I can only find entries dated 23 Mar, not today. So what caused the problem?
xcreatir said:
I found another solution.
have a [email protected] /data/system/uiderrors.txt
there you will find the apps, that are responsible for the trouble, delete them (manualy if necessary) and you are fine, reinstalling the apps brings the error back though.
Someone could write a script to automatically fix the UIDs of the files to match the UIDs expected by the system.
Click to expand...
Click to collapse
xcreatir said:
I found another solution.
have a [email protected] /data/system/uiderrors.txt
there you will find the apps, that are responsible for the trouble, delete them (manualy if necessary) and you are fine, reinstalling the apps brings the error back though.
Someone could write a script to automatically fix the UIDs of the files to match the UIDs expected by the system.
Click to expand...
Click to collapse
This worked for me. Inspecting /data/system/uiderrors.txt gave me enough information to repair my phone. I uninstalled all misbehaving apps, and then reinstalled them later. Thanks!
I have same problem, and I can't open Market!
This massage appaer at phone start.
LG GT540 Hungary Vodafone rom
i have this same problem!!! how do i look in /data/system/uiderrors.txt
Realy?
xefe said:
I fixed the phone. Thats what i did:
1) removed SD card, formatted it on the computer to FAT32
2) ODIN with repartition 813, then took off the battery
3) downloadmode again and flashed JM8 with pit 512 and repartition, then hardreset
4) registry hack then JPO with Kies
5) applied Doc JPO 7.6.2
problem fixed, so far so good
Click to expand...
Click to collapse
Please give some more details, what files, what is JM8, how to reg hack, what is JPO with Kies...???
PLZZZZZZZZZZZZZZZ:crying:
xcreatir said:
I found another solution.
have a [email protected] /data/system/uiderrors.txt
there you will find the apps, that are responsible for the trouble, delete them (manualy if necessary) and you are fine, reinstalling the apps brings the error back though.
Someone could write a script to automatically fix the UIDs of the files to match the UIDs expected by the system.
Click to expand...
Click to collapse
Thank you so much!!! Worked like a charm without having to wipe. It was a bad restore and Facebook was f'd up. I couldn't see it in the drawer and had to go into data/apps to delete it. Thanks again!
xcreatir said:
I found another solution.
have a [email protected] /data/system/uiderrors.txt
there you will find the apps, that are responsible for the trouble, delete them (manualy if necessary) and you are fine, reinstalling the apps brings the error back though.
Someone could write a script to automatically fix the UIDs of the files to match the UIDs expected by the system.
Click to expand...
Click to collapse
Thank you a lot!
I find an error about eu.thedarken.sdm in udierrors.txt.
After deleting and re-installing it, everything are back to normal.:good:
With a terminal and "cat /data/system/uiderrors.txt" or
with a file manager app
android69er said:
i have this same problem!!! how do i look in /data/system/uiderrors.txt
Click to expand...
Click to collapse
Probably the cleanest solution HERE
UPDATE! i figured it out in the end i had to put the phone in recovery (CWM & Not Philz) and locate the Data/System file and delete its entire contents! i rebooted then it worked and all the popups stopped and i was able to get my phone working!
Guys sorry this is an old post but where do i gain access to: /data/system/uiderrors.txt
My solution was to change uids for directories inside /data/sdext2/
My /data/system/uiderrors.txt doesn not have any info about problem with UID or it was old for apps which I don't have anymore
I used special script which fix everything and the message existed
And in the and I looked into /data/sdext2/ (instead of /data) and there were directories with bad UIDs, and I changed these manually
command:
chown xxx:xxx /data/sdext2/specific_directory
you can check userID by command
cat /data/system/packages.xml | grep bsplayer
for instance
and value from userID="xxxx"
use in
command:
chown xxx:xxx /data/sdext2/specific_directory
THE MESSAGE disappeared !!!
PS on ZTE v987

[Q] "Installation error - insufficient storage available" when installing skype

[Q] "Installation error - insufficient storage available" when installing skype
Hello Everybody,
this is my first post on this forum, i decided to start this thread cause i've been struggling with this problem for something like one month now, i really want to fix it, and this looks like the best place where to ask for help.
I'm having problems installing the Skype application on a Samsung Galaxy S, in Italy.
Initially i installed it from the market, the installation went fine, but i couldn't log in cause i was still running Android 2.1
After the upgrade to 2.2, Skype worked only the first time i tried to use it, then it started giving me a weird bug; basically each time i tried to make a call, it would say "already 2 ongoing calls".
I uninstalled it, and now each time i try to install it again i get the same error message "Installation error - insufficient storage available".
I have 5.22GB available on the internal SD card, and 573MB on the internal phone storage, and i have no external SD card.
I tried to contact the Skype support, sent them something like 10 different emails, but each time they came up with stupid answers and in the end they couldn't find a solution, so they said
"Please note that the message you are receiving is an operating system message and is not a Skype message.
We suggest that you contact Samsung to find out under which circumstances the operating system returns this message and what can be done to make an installation possible."
I tried to contact Samsung, but they didn't even reply.
I started a thread in the Android Market Help Forum and one guy suggested to use adb to delete the skype folder
So i rooted my device with z4root and also did the OneClickLagFix V2.2+
I managed to install the Android SDK and get the adb up and running, but when i try to delete the skype folder, this is what i get
# rm -R /data/com.skype.raider
rm -R /data/com.skype.raider
rm failed for /data/com.skype.raider, No such file or directory
#
basically there is no such folder..
at this point i really don't know what to do, and i hope that someone here is able and willing to help me.
I think i gave all the possibly needed information to help you fixing my problem, but if you need more please just ask.
Thanks a lot and by the way big up to this forum, so many useful informations in here!
Cheers
Pedro
update
i installed Titanium Backup
if i go to the Backup/Restore tab and scroll to the very botton, the last one is com.skype.raider, but it has a line on it and i'm not sure what that means (see attached image)
if i click it, all the options are grayed out, so i can't uninstall it..
if i click and hold, a different menu comes up, where most of the options are grayed out as well, i can only do Assign Labels, Explore and View in Market.
If i click Explore, it says:
com.skype.raider
files/
shared.lck 0B
defetto/
main.db-journal 8.0KB
any idea what's going on? thanks in advance
Never mind, i made it!
I bought an application from the market called Root Explorer, i couldnt find a free one doing the same, basically giving full access to my folder structure.
Anyway, i was able to find the com.skype.raider folder and delete it..
after that, next install went fine!
the correct path was /data/data/com.skype.raider
so if you have the same problem, you can use abd and delete the folder and you don't need to buy the above mentioned app..
p.s. how do i set this thread as answered?
Had a similar problem! I couldn't downlaod anything from the market. Unmounting the sdcard has fixed the issue. Thx http://media.xda-developers.com/images/smilies/smile.gif
defetto said:
Never mind, i made it!
I bought an application from the market called Root Explorer, i couldnt find a free one doing the same, basically giving full access to my folder structure.
Anyway, i was able to find the com.skype.raider folder and delete it..
after that, next install went fine!
the correct path was /data/data/com.skype.raider
so if you have the same problem, you can use abd and delete the folder and you don't need to buy the above mentioned app..
p.s. how do i set this thread as answered?
Click to expand...
Click to collapse
Thank you for sharing your solution. It helped me solve the "insufficient" problem

[Q] g sensor not working (SOLVED!)

ok, i have a problem with the g sensor on the samsung captive. now, i've thoroughly searched online and on these forums for a fix, and i've found a few fixes. unfortunately, none of them worked.
before i get into that, here's my phone info:
SAMSUNG-SGH-I897
firmware 2.2
kernal 2.6.32.9
build Cognition 4.3
comp os win7 64bit (if it matters)
now, here is the first fix ive found:
http://androidforums.com/captivate-support-troubleshooting/162768-lost-auto-rotation.html
response #12
ive tried that using terminal emulator, but i get an error saying ADB not found. i downloaded the Android SDK with ADB, navigated to it using the command prompt and typed adb shell as instructed only to get an error saying device not found.
now, i completely abandoned that fix (since i felt i was doing something wrong and going nowhere) and found this one:
http://forum.xda-developers.com/showthread.php?t=712439&page=3
this one had better results, but up until sensorcalibutil_yamaha. like some users on that forum, my result was:
fgets: Unknown error: 0
msmachdep_SaveGsOffset failed
calibration utilities failed
so, after following that forum, i found the solution, which was to delete ms3c_yamaha.cfg from /data/system and rerun. i navigated to that folder on my computer, and nothing. there was no system folder in the data folder. i allowed hidden folders to be visible and still nothing. i downloaded a root explorer app, searched for ms3c_yamaha.cfg and nothing popped up. i couldnt even find the folder it was telling me to look in. and this is where i am stuck.
i cant find ms3c_yamaha.cfg, nor the folder to look into, and i dont know what else to do...
perhaps i'm using the wrong root explorer, or perhaps that folder isnt even on the ROM i used. completely flashing the ROM would be my last resort, since i'm not too savvy on stuff like that, and it took forever for me to figure out how to even put Cog4.3 on my phone, so hopefully someone out there has some info.
thanks for your time
edit:
problem solved!
when i woke up this morning, on my way to work i started thinking about my problem, basically, why couldnt i find the system folder. i searched again in the market for a root explorer and found one that specifically stated "even allows access to the elusive system data folders". i bought the app right away, and immediately i was given access and found ms3c_yamaha.cfg and proceeded with the second solution. after running the calibration, it gave me an odd result, which made my screen rotate when held vertically. i reran the test, and ran the system calibrate (the 3 circles with the blue ball) and all was set. phone works perfectly now.
thanks for anyone who read this, and who was taking the time to find a solution
Hello.
Can you tell me what application explorer you are using?
I got the same problem as yours.
Please reply to my email: [email protected].
Thanks a lot.

[Q] un-deletable 0kb files HELP !

Greetings from sunny ??? nottingham
I have a folder with a bunch of files that all show as 0kb that i can not remove.
Does anybody have an idea how i can get rid of these?
The story so far....
I am/was on rocket rom v2, previously i had put the google currents app on, but that was a couple of roms ago and i have not put it back.
I started having a few odd problems and realized my int sd was full. i eventually narrowed it down to a google currents folder. this was not so easy as any app that tried to scan the int sd in any way would crash or freeze. Even in manage apps it would only show details of apps from a to c any after that hung on 'computing'. i managed to delete over 5 gb from that folder, all except one folder.
Now i am left with a folder on the int sd inside the android/data folder called 'com.google.android.apps.currents' inside that is a folder 'cache' inside that a folder 'blobs.120.1184434912' inside that a folder thats a bunch of letters and numbers, inside that a folder 'att' and finally inside that a bunch of files all with single letters, numbers or symbols as there filename and all 0kb in size.
These remaining files and folders i can not get rid of.
I have tried....
Delete with root explorer and a couple of other file apps crash's or locks
Cut and paste elsewhere fail
Connect to computer and...
Delete fail
Move fail
Erase fail
Unlock freezes pc
Change permissions blocked
Re-name fail
Scanned with virus and spyware progs clean
Delete with dos fail
Factory reset fail
Factory reset with format usb crash's or locks
Flash a pit file in pc odin Still there
I wouldnt mind just leaving them there, but as i say any app that in any way scans the int sd crash's or freezes this makes the note almost un-useable.
I'm sure I've missed a few things i have tried but you get the point.
I have searched xda and the web as best i can and tried pretty much every idea I've come across.
Help !!!
Please !
What an odd problem....
have you tried aroma file manager?
Thanx p107r0
I havent tried that particular file manager, many others though.
Downloading it now, very busy next couple of days so will give it a go as soon as i can.
many thanx
have fun
all the best
rich
Cant you try copying all your important information off the sd then formatting it?
Sent from my GT-N7000 using Tapatalk
Thanx Postmonkeh
Unfortunatly i have formatted it several times now and those files still remain.
Are you familiar with adb tools? You could try using adb to delete the files.
Ftb
Hi Postmonkeh
Unfortunatly abd is over my head, i wouldnt have a clue what i was doing.
Maybe i need to do some learning Do you know if theres a basic tutorial anywhere ?
Many thanx
all the best
have fun
rich
It's fairly simple once you get the hang of it, but i don't know any guides off the top of my head.
Not on my laptop at the minute but once I'm downstairs I'll give you a quick run through of what to do to delete that folder. Might not work, but then again it might
Ftb
Hey mate thank you very much.
Please dont rush as i am just leaving and will be away for a couple of days. I will get onto it as soon as i return.
Many thanx
Rich
Sent from my GT-N7000 using xda premium
it won't let you rename or delete because they reside on googles servers, that's why they are showing 0kb. u can't change permission because it's on sd card and w don't have the ability to do so on sd card. i promise a format got rid of them but u didn't notice it because google cache server put links back as your phone started. the explorer crashes because as fast as is trying to remove them the server is already putting them back. basically what im trying to say is just ignore them cause there not really there anyways.
Sent from my SPH-D710 using xda premium
veritasaequita said:
it won't let you rename or delete because they reside on googles servers, that's why they are showing 0kb. u can't change permission because it's on sd card and w don't have the ability to do so on sd card. i promise a format got rid of them but u didn't notice it because google cache server put links back as your phone started. the explorer crashes because as fast as is trying to remove them the server is already putting them back. basically what im trying to say is just ignore them cause there not really there anyways.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
dik64 said:
I wouldnt mind just leaving them there, but as i say any app that in any way scans the int sd crash's or freezes this makes the note almost un-useable.
Click to expand...
Click to collapse
as above, these files seem to be causing problems.
my google currents folder has a lot of these folders, but none of the files are empty.
although having said that, it may be an idea to deselect the option to have google back up your app data.
i'd also maybe try installing the currents app then (if you can) go into the app settings and clear the data.
---------- Post added at 01:16 PM ---------- Previous post was at 12:35 PM ----------
http://forum.xda-developers.com/showthread.php?t=1241935
that thread gives a good guide to getting adb installed, and gives a good grounding of what it can do. it's a bit more in depth than what you need though, all you need is to install it, add the path to the environment vaiables as described in that thread (that is an optional step but it makes things much easier)
the path you'll be looking for is /mnt/sdcard/Android/data/com.google.android.apps.currents
be sure to remember that the case of the letters in the linux (and therefore android) file systems is vital - ie mnt/sdcard/Android is an entirely different folder than mnt/sdcard/android.
so basically once you've your note connected (with the screen unlocked) open a command line and type (minus the quotes) "adb devices"
it should (hopefully) list your note in there.
then type these commands in order, being careful to observe the correct case when typing filenames or folder names.
adb shell
rm -r /mnt/sdcard/Android/data/com.google.android.apps.currents
it could take a while if there are a lot of files. once it's finished, you should be back to a line with a flashing cursor, then just type exit and it should take you back to your standard windows command line.
i would try taking off the "back up my settings to googles servers) and installing currents and wiping the data first though.
OK time for an update.....
Aroma file manager same as all the others, it either freezes or crash's out altogether.
I have already deselected back up to google, no effect.
I have already tried re-loading google currents and populating it with fresh downloads. Then clear data and un-install, no effect.
Finally took me a while to get adb set up and working, but............
wait for it............................................................................
No effect !!
It starts the process, and scrolls info very fast. I left it for about 20 mins and it was still going. eventually i clicked on the window and it said something along the lines of no such file or directory then endlessly scrolls att.
I appreciate the suggestions given, but i do hope there are some more.
I am completely lost with this now.
all the best
have fun
rich
Seems kind of similar to problems I used to have in the good old Palm OS days, sometimes due to some app errors 0b files would appear on SD card, and - to make long story short - the only thing that would help was taking the card out and formatting it on the computer.
Maybe flashing with repartitioning could help?
Sent from my GT-N7000 using xda premium
dik64 said:
Greetings from sunny ??? nottingham
I have a folder with a bunch of files that all show as 0kb that i can not remove.
Does anybody have an idea how i can get rid of these?
The story so far....
I am/was on rocket rom v2, previously i had put the google currents app on, but that was a couple of roms ago and i have not put it back.
I started having a few odd problems and realized my int sd was full. i eventually narrowed it down to a google currents folder. this was not so easy as any app that tried to scan the int sd in any way would crash or freeze. Even in manage apps it would only show details of apps from a to c any after that hung on 'computing'. i managed to delete over 5 gb from that folder, all except one folder.
Now i am left with a folder on the int sd inside the android/data folder called 'com.google.android.apps.currents' inside that is a folder 'cache' inside that a folder 'blobs.120.1184434912' inside that a folder thats a bunch of letters and numbers, inside that a folder 'att' and finally inside that a bunch of files all with single letters, numbers or symbols as there filename and all 0kb in size.
These remaining files and folders i can not get rid of.
I have tried....
Delete with root explorer and a couple of other file apps crash's or locks
Cut and paste elsewhere fail
Connect to computer and...
Delete fail
Move fail
Erase fail
Unlock freezes pc
Change permissions blocked
Re-name fail
Scanned with virus and spyware progs clean
Delete with dos fail
Factory reset fail
Factory reset with format usb crash's or locks
Flash a pit file in pc odin Still there
I wouldnt mind just leaving them there, but as i say any app that in any way scans the int sd crash's or freezes this makes the note almost un-useable.
I'm sure I've missed a few things i have tried but you get the point.
I have searched xda and the web as best i can and tried pretty much every idea I've come across.
Help !!!
Please !
Click to expand...
Click to collapse
If you cannot delete the folder with del or erase command in dos I think you have a bad block there. In this case you have to leave this folder alone.
Hi, thanx for the further suggestions
tknguyencsu leaving alone is not a good idea as it does affect how the note works. Anything that scans the int sd freezes or crash's out when it gets to that folder. for instance if i go to manage applications it will only give me detailed info on apps from A to C any after that it wont display the size of data etc, just stays on 'computing'. so i really need to get rid of this folder.
p107r0 Any idea how i try your suggestion of 'flashing with repartitioning' ?
I have done several full wipes inc usb storage, i have formatted usb storage from recovery several times also.
There are a couple of options in recovery i have not tried because i dont know what they really mean and so im a little scared to try with all the bricking thats been going on.
many thanx
all the best
have fun
rich
Lots of reading to be safe, but afair there is Dr ketan's guide on flashing LBF with repartitioning, which should be theoretically safe when performed from/over GB ROM. I'll look for the link later.
Here.
P.S. There's also app by chainfire which checks if your device is prone to superbrick: Got Brickbug
Sent from my GT-N7000 using xda premium
Thanx p107r0 i've had a quick look/search in that thread. Not much detail about re-partitioning, i am now assuming it is connected with pit file ?
If that is correct then i have tried that and unfortunatly it did not help.
I am out of my depth here, so if i have misunderstood please forgive me, and enlighten me.
many thanx
all the best
have fun
rich
Are you still on the same ROM? Maybe formatting int sd from other one would do the trick?
Hi p107r0
Yes i am on the same rom, but now a later version.
I am using Rocket Rom. the problem first came to light after upgrading from v1 to v2. since then i have been back to GB to RR v1, RR v2 and am now on RR v3.
I am out of time tonight, and on the road all day tomorrow, so will try a completely different rom as soon as i can.
many thanx
all the best
have fun
rich

Categories

Resources