"com.android.providers.telephony" folder is missing - G3 Q&A, Help & Troubleshooting

Hi Guys, I'm coming from this thread http://forum.xda-developers.com/lg-...causing-bootloop-please-t3157374#post61886527
My phone is in a bootloop hence I'm trying to recover my text messages. I'm trying to recover my mmssms.db file from the "/data/data/com.android.providers.telephony/databases/mmssms.db" folder however the whole "com.android.providers.telephony" folder is non existent along with other similar folders when I use adb pull & twrp file manager.
I've dirty-flashed the same ROM over and in this case the com.android.providers.telephony folder is there with the mmssms.db file so it seems the bootlooping rom has done something with the files.
I appreciate all the help.

Related

[Q] How do I fix file permissions on SD card?

OK, I finally installed PA 2.99 beta6 which I've wanted to do for a while. First to preserve the file structure and not have /0 folders, I copied all my old SD card files to /data/media as told in the guide linked below. I'm thinking my issue started when I didn't delete the /0 folder after installing the stock 4.2.1, but now all my old SD card files have incorrect permissions for me to access them. Is there a quick and easy way to fix it, preferably from the phone? I'm gonna wipe and reinstall everything tomorrow if necessary, but I can't do it until tomorrow morning. I'm not even sure what permissions I should set to make the files accessible again. I think I may have screwed up by not setting permissions when copying files using the toolkit also. I'm still pretty noobish and I thought that was only necessary for system files. I thought the correct permissions would follow everything else. I did find that I can take a song that's in the /data/media/music file, which won't play, move it to /sdcard/music, and it plays. I tried changing permissions and owners on the non-working files to match the working files, but no luck.
I really appreciate any advice or help anybody has.
http://forum.xda-developers.com/showthread.php?t=1999214
Ok, so you have moved all your content, in the new media folder, but I read you can't read any media from that folder. I guess that it s completely normal, as I would have only put backups to be used in this precise folder. Correct me anybody if I'm wrong, but music should be pasted in the new music folder, and so on and so on, for each media. In the first place, those files were not all put in the data/media folder right ?
So, why not try and use a file explorer, and move the content in their respective appropriate new folder, and see how it works. And that done delete the initial folders. Hope it will work.
Aur3L said:
Ok, so you have moved all your content, in the new media folder, but I read you can't read any media from that folder. I guess that it s completely normal, as I would have only put backups to be used in this precise folder. Correct me anybody if I'm wrong, but music should be pasted in the new music folder, and so on and so on, for each media. In the first place, those files were not all put in the data/media folder right ?
So, why not try and use a file explorer, and move the content in their respective appropriate new folder, and see how it works. And that done delete the initial folders. Hope it will work.
Click to expand...
Click to collapse
According to the guide to keep the pre-4.2 file structure, with no /0 folders, you're supposed to ADB push all sd card files to the /data/media folder. Now I think what I screwed up on is I was supposed to delete any /0 folders but I misread the guide and didn't delete the folder. Now all of the data I pushed to the phone is in it's respective folders under data/media, such as Music and Downloads, but there is also a /data/media/0 folder with standard android folders. There is also /sdcard, with standard android folders. From my understanding, either data/media and /sdcard or /data/media/0 and /sdcard should show the same files, but neither does. If I make a change in one directory it doesn't show in the other directory. The weird part to me is that when I copy and paste a file from /data/media/Music (or any other directory there) to /sdcard, the file permissions and owners and groups of the file will change, and then I can access the file in the /sdcard directory. But if I try to apply the exact same permissions and owner and group to the file under /data/media it will still not give me access. On Root Explorer, looking at properties of a file in /data/media, the md5sum shows Access Denied, but works on /sdcard. I'm thinking it has something to do with the /data/media folder's permissions instead of the files/folders under it, but I'm kinda afraid to mess with it. When I get home in the morning I'm gonna try dumping EVERYTHING and start again, but I would love to be able to fix it first.
Will I see any problems if I just copy all the files from /data/media to /sdcard, where I'm sure I can use them? Also, why doesn't /data/media or /data/media/0 show the same files as /sdcard?
Thanks for any help!
02ranger said:
According to the guide to keep the pre-4.2 file structure, with no /0 folders, you're supposed to ADB push all sd card files to the /data/media folder. Now I think what I screwed up on is I was supposed to delete any /0 folders but I misread the guide and didn't delete the folder. Now all of the data I pushed to the phone is in it's respective folders under data/media, such as Music and Downloads, but there is also a /data/media/0 folder with standard android folders. There is also /sdcard, with standard android folders. From my understanding, either data/media and /sdcard or /data/media/0 and /sdcard should show the same files, but neither does. If I make a change in one directory it doesn't show in the other directory. The weird part to me is that when I copy and paste a file from /data/media/Music (or any other directory there) to /sdcard, the file permissions and owners and groups of the file will change, and then I can access the file in the /sdcard directory. But if I try to apply the exact same permissions and owner and group to the file under /data/media it will still not give me access. On Root Explorer, looking at properties of a file in /data/media, the md5sum shows Access Denied, but works on /sdcard. I'm thinking it has something to do with the /data/media folder's permissions instead of the files/folders under it, but I'm kinda afraid to mess with it. When I get home in the morning I'm gonna try dumping EVERYTHING and start again, but I would love to be able to fix it first.
Will I see any problems if I just copy all the files from /data/media to /sdcard, where I'm sure I can use them? Also, why doesn't /data/media or /data/media/0 show the same files as /sdcard?
Thanks for any help!
Click to expand...
Click to collapse
Again, as I said previously move your music photos apks downloads in the sdcard structure, then erase the /0 folder, you would have found your stuff, where it's ought to be, legible by their respective programs. So move your photos /data/media to your actual /sdcard/Dcim/ folder, and so on and so forth for each content, problem should be solved. It's really simple.
Aur3L said:
Again, as I said previously move your music photos apks downloads in the sdcard structure, then erase the /0 folder, you would have found your stuff, where it's ought to be, legible by their respective programs. So move your photos /data/media to your actual /sdcard/Dcim/ folder, and so on and so forth for each content, problem should be solved. It's really simple.
Click to expand...
Click to collapse
I understand that and that is what I plan to do to get through tonight. My question is, why is this even a problem? Is there something that I could do to not have to move the files? Not out of laziness, more out of curiosity. I still plan to dump everything because with all the crap I've tried to fix the permission issues there's no telling what I may have screwed up, but until I get to start over I'm planning to just copy everything to /sdcard. Now I just would like to know why it was an issue. Why can't I access files in the /data/media folder, or any other folder on my phone for that matter, when I'm rooted and using a root explorer? I have never seen this issue before, regardless of phone or ROM. Is this due to the new 4.2 multiuser file structure, or something I did? I appreciate your help and I apologize if my intention wasn't clear from my last post, I am at work and typing in a hurry. I started the thread looking for an easy fix and you've given me that, now I'm mostly just curious as to why it happened to begin with.
Thanks again!
Edit: I just tried copying some alarms into the /sdcard/Alarms/ and they won't play either, but Music still does. I actually got a "Not Enough Free Space" message when trying to copy them, with 5+ GBs free on the sdcard and the files were only about 130kb. I'm just going to have to dump everything and just copy what I really have to have to the phone. If you have any other ideas I'm open to hear them, but I think its FUBARed at this point. Thanks though.
Well, if you use a root explorer, such as ES file, you have to move your alarms/rigtones notifications in telephone/system/media. Once put in here, you will have to correct the permissions to rw rr , and reboot your phone. As to why it happens like this, I guess it is related to the new structure, and also because you cannot play everything from everywhere in your device, some folders are system folders, and not every file is legible from that location. My guess in your situation is that you have twice the same content on your phone (hence the Not enough free space message), so just paste everything you need in the appropriate volume, and erase the one you have messed up with.
Might be a suggestion, but if you have a nandroid backup, just look at how and where your files are organised.
Now, however, if you have a hard time fixing this up, well you might as well save your stuff on your computer, flash a stock image, root it, install TWRP, your favorite Rom, transfer your files back from your computer, and you will have a fresh and probably better running phone.
Hope it will help you, and if you have an insomnia, just take that opportunity to browse your phone structure, so that you know where each file is located. Good luck with it .
That last part is what I did. I just wiped everything, reinstalled PA 2.99B6 and ADB pushed to /sdcard instead of /data/media. It all works perfectly now. I'm not 100% sure what the issue was before, but I still think it was the new file structure. If I go at a music file through /data/media it still won't play but will from /sdcard, which is the only place I put the files. I guess its just the way the new file structure for multi-user works. I appreciate your help. I think I'll keep the /0 folder too. Trying to get rid of it is part if why I did things that caused problems, and its gonna be part of the future of android so we might as well get used to it.
Thanks again!

Old ROM files keep coming back.

I have this folder on my phone that keeps coming back that is filled with old ROMs I had flashrd before. These add up to around 1.5GB. I can delete the whole folder but when I reboot my phone they are back. The folder name is called "!ReadytoFlash" I thought maybe these files are coming from the very top root folder of the phone but I can't seem to find where they are being restored from. There an example of a old ROM I had stored on the phone. Don't take into account that it is for the i9100 has this is not the phone I have. It is the Samsung galaxy nexus. The picture show me doing a search on one if the files that keeps coming back.
Post a screenshot of your phone - might help getting an answer
update your recovery and remove all the /0/ folders except 1.
Zepius said:
update your recovery and remove all the /0/ folders except 1.
Click to expand...
Click to collapse
OK I deleted all but one /0/ folder and after rebooting it remade the rest of the /0/0/... folders and add the .zip roms
Edit for got to mention that I update my recovery to the latest version.
Give this a try...
Boot into recovery, plug in the USB cable, go into adb shell, and make sure that /data is mounted. Then:
cd /data/media
chown -R media_rw.media_rw *

[Q] access system folder on soft bricked

hi,
i tried to install a new font using ifont free app , it bricked my phone, i have stock system with twrp , i think if i managed to reach system/fonts folder i can put back the original fonts files, how i can access this folder? and how to fix files permission? any help will be appreciated.
found it
i used QtADB_0.8.1 to browse system folder and found out that i need to access recovery and then mount, and every thing is visible , i copy and pasted all original fonts file from backup, and it is done.

[Q] Rooted for N900T rom dev....

Watz goin' on yall????
I am looking to develop a custom rom for the N900T and got the phone rooted! ((used chainfie method))....I downloaded terminal and tried to copy the system file to my SD card, I've made a Nandroid and titatium backup for the N3 stock rom.....downloaded all the devz. tools kitchen is giving me HELL cooking and terminal wont copy nothing....
I'm newbie to developing on android, searched all around and most tutz and suggestion are helpful but a little old and was wondering sumbody could help me......
Kitchen gives me a error saying "no system folder found" I've transferred a copy of the phone/system folder to sdcard wit TWRP and put it in the home/user/kitchen folder/original&update folder and then copied to working folder....for I believe I'm missin' the phone data, meta-inf, and the boot.img files.....
Terminal seems like it take the su command but gives me a error after typing copy system >> sdcard command from the tutz and it was a no go!
i'm confused about that?
where can I find these files??? Thanks in advance

Possible to copy mmssms.db from twrp backup?

I recently switched from one Sense based ROM to a different Sense based ROM. However, I forgot to backup my text messages before wiping data and flashing new ROM but I did do a backup in TWRP prior to flashing. I have been able to extract the backuped system and data files to my PC and I have located the mmssms.db. Does anyone know if I can just simply copy that db file to the appropriate location on the current system? Are there other files that need to accompany the db file if this is possible?
I will attempt to do this while I await a response here. I will backup the current system before I do.
Thanks!
**UPDATE**
I was able to copy all the SMS and MMS db files from my twrp backup and replace them in the data folder of the system and all is well. All my old messages are in the app as if they were never gone.
If anyone needs help with this topic, just post a reply here and I can assist.

Categories

Resources