Every time I reboot my GNex, I receive the error process android.process.media has stopped, usually at least twice.
I've searched and tried some of the solutions that have been suggested (fix permissions, clear data/cache of Market, clear data on Media Storage)
So far, no joy. This isn't a custom ROM, I've only rooted the 4.0.2. I'm also running Nova Launcher, but this problem started prior to adding the new launcher.
Any other suggestions? Or any suggestions what I can do to troubleshoot? I've seen suggestions of reformatting the SD card for other models that have this issue, but that isn't really a viable alternative to the cardless Galaxy Nexus.
I've had the same problem as well, and nothing suggested online worked for me. Anyway I had to play around with it a while until I found a "solution".
First thing first I believe that the problem is arising from the Media Scanner getting force closed when it tries to scan a file with "corrupt" data or filename (it's probably not a corrupt file as such and the problem probably lies with the Media Scanner itself. Hopefully Google will fix it soon).
What I did was first putting a .nomedia file in every folder in the /mnt/sdcard directory. Basically this will tell the Media Scanner not to scan the content of any of the folders. Now wipe the data for Media Storage (I also wiped the data for the Gallery and Music apps just to be safe) and then restart the phone. Now if my theory is correct then you won't get a android.process.media force close.
(Also to add the .nomedia files I used an app called Super Manager which you can get on the market. Maybe you can do it with other file manager apps too. Normally you can also do this by plugging the phone into a computer but it seems that with MTP not all of the folders will show up.)
Now you can remove the .nomedia file from the folders that you have musics/pictures/videos/ringtones/notifications in one by one. Once you remove the .nomedia file from one folder, reboot and make sure you don't get a force close, then repeat the same thing for the next folder until you have all the folders you store media files in. If at any point, you reboot and get a force close then you know where the problem file is stored. Personally I didn't find the file that was the problem (it was probably in one of the folders that I left a .nomedia file in) but if you do then I guess you can try backing up the content of that folder, deleting it and copying it back to the phone again. Don't forget to wipe Media Storage again, reboot and see if that fixes the problem.
Hope that's useful!
Chrono_Tata said:
I've had the same problem as well, and nothing suggested online worked for me. Anyway I had to play around with it a while until I found a "solution".
First thing first I believe that the problem is arising from the Media Scanner getting force closed when it tries to scan a file with "corrupt" data or filename (it's probably not a corrupt file as such and the problem probably lies with the Media Scanner itself. Hopefully Google will fix it soon).
What I did was first putting a .nomedia file in every folder in the /mnt/sdcard directory. Basically this will tell the Media Scanner not to scan the content of any of the folders. Now wipe the data for Media Storage (I also wiped the data for the Gallery and Music apps just to be safe) and then restart the phone. Now if my theory is correct then you won't get a android.process.media force close.
(Also to add the .nomedia files I used an app called Super Manager which you can get on the market. Maybe you can do it with other file manager apps too. Normally you can also do this by plugging the phone into a computer but it seems that with MTP not all of the folders will show up.)
Now you can remove the .nomedia file from the folders that you have musics/pictures/videos/ringtones/notifications in one by one. Once you remove the .nomedia file from one folder, reboot and make sure you don't get a force close, then repeat the same thing for the next folder until you have all the folders you store media files in. If at any point, you reboot and get a force close then you know where the problem file is stored. Personally I didn't find the file that was the problem (it was probably in one of the folders that I left a .nomedia file in) but if you do then I guess you can try backing up the content of that folder, deleting it and copying it back to the phone again. Don't forget to wipe Media Storage again, reboot and see if that fixes the problem.
Hope that's useful!
Click to expand...
Click to collapse
I am trying this out. Question. How do I create the .nomediafile? NVM. Figured it out. Hope this will work.
Just a bump.
Clearing data in Media Scanner worked for me and rebooting. Didn't have to do that other stuff. YMMV.
Thanks to Chrono for the info.
Chrono_Tata said:
I've had the same problem as well, and nothing suggested online worked for me. Anyway I had to play around with it a while until I found a "solution".
First thing first I believe that the problem is arising from the Media Scanner getting force closed when it tries to scan a file with "corrupt" data or filename (it's probably not a corrupt file as such and the problem probably lies with the Media Scanner itself. Hopefully Google will fix it soon).
What I did was first putting a .nomedia file in every folder in the /mnt/sdcard directory. Basically this will tell the Media Scanner not to scan the content of any of the folders. Now wipe the data for Media Storage (I also wiped the data for the Gallery and Music apps just to be safe) and then restart the phone. Now if my theory is correct then you won't get a android.process.media force close.
(Also to add the .nomedia files I used an app called Super Manager which you can get on the market. Maybe you can do it with other file manager apps too. Normally you can also do this by plugging the phone into a computer but it seems that with MTP not all of the folders will show up.)
Now you can remove the .nomedia file from the folders that you have musics/pictures/videos/ringtones/notifications in one by one. Once you remove the .nomedia file from one folder, reboot and make sure you don't get a force close, then repeat the same thing for the next folder until you have all the folders you store media files in. If at any point, you reboot and get a force close then you know where the problem file is stored. Personally I didn't find the file that was the problem (it was probably in one of the folders that I left a .nomedia file in) but if you do then I guess you can try backing up the content of that folder, deleting it and copying it back to the phone again. Don't forget to wipe Media Storage again, reboot and see if that fixes the problem.
Hope that's useful!
Click to expand...
Click to collapse
I have to tell that through your solution, I found mine (that was for JellyBean).
Thanks for it! I'll spread your word.
Related
Hi everyone, I'm having a real problem when connecting my LTE GNexus to the computer. I wanted to copy the TitaniumBackup folder to my desktop then replace it with the one I copied over from my old Droid Incredible, but when I look at the TitaniumBackup folder on the internal storage of my Nexus, it shows as empty, containing zero files. This is impossible, as I've done a backup already and even checked with ES File Explorer that all of the backup files ARE in fact present within the folder. However, the folder appears as empty on my PC and when I copy it, only copies an empty folder.
Furthermore, I then deleted the ENTIRE TitaniumBackup folder via ES, and the computer then showed the folder was gone (so it it's not like it's not reacting to changes made). I then redid the backup, which recreated and populated a new TitaniumBackup folder, but when I plugged it back in to my PC, the new folder didn't even SHOW UP. So now I have an entire folder that for some reason is completely invisible to the PC.
I don't know if this an issue caused by the Nexus or ICS specifically, the MTP protocol it uses to connect (instead of USB mass storage), or maybe even Titanium Backup. All other folders appear to be visible and the files inside are present (to my knowledge). What in the world is going on?!
PS: Please don't just give me a workaround for the current situation like "just upload it to Dropbox". I need to know how to fix this bigger issue for future use. Though if someone could recommend to me a way to upload whole folders to the cloud somewhere (Dropbox, Gmail, anything that allows me to pull it down via a PC) that would obviously be appreciated, as every app seems to only want to upload individual files, even the new DB. THANK YOU!
Hi,
I just had the same issue with the TitaniumBackup folder not showing up in windows explorer after the first backup.
Restart of the phone helped!
Cheers
Simon
its MTP, this has been bugging me too, but for now i got a workaround (i know...)
get SDrescan, its free. it will force your phones media storage to rescan your files. once you do, you'll see your files appear in the explorer. rebooting your phone also triggers this
Thanks everyone! Man, MTP sucks...
cancerouspete said:
its MTP, this has been bugging me too, but for now i got a workaround (i know...)
get SDrescan, its free. it will force your phones media storage to rescan your files. once you do, you'll see your files appear in the explorer. rebooting your phone also triggers this
Click to expand...
Click to collapse
SDRescan did not work for me. Sits there forever saying "preparing" (I did let it sit for 30 min).
So, is there any solution for that?
Missing many files/folders on MTP.
This is really ****ting me up the [email protected] wall. I've trie everything, even sdrescan does **** all. Why does this issue exist and why the **** has't it been fixed
Using wifi, I've worked around it by using some of the features in AirDroid (sets up a web server on your GNex and you can login via a web interface on your PC). File Expert can also talk to windows shares on the same wifi network, I've used this to move around some large files as well.
I'm also having this issue, I've already tried fix permissions in recovery, did a symlink (not sure if I did it correct though) and now I'm trying sdrescan.
I'm thinking of going back to cyanogenmod backing up my entire sdcard to pc flash jelly bean and put back every file...
Cause pictures I've taken with Jelly bean are showing up in the gallery and via usb, so i'm guessing copying everything back to it will do the trick.
Most annoying thing is I can flash a new rom whenever and where ever I want and be able to fix my issues, but this sdcard thing is way out of my league...
I find a solution here :
http://forum.xda-developers.com/showpost.php?p=28606823&postcount=21
Hope it fixed the problem, I had exactly the same one
Easy workaround : in the app X-plore file manager, long-press on your TitaniumBackup folder, choose "Create Zip", then Ok (doesnt matter where you put the zip, you will cancel/delete it soon)
VoilĂ ! My files appeared instantly in Windows as soon as X-Plore started creating the zip file. So, cancel that dialog, and enjoy your titanium backup files.
vacuum007 said:
Hi,Restart of the phone helped!
Click to expand...
Click to collapse
Restart phone as previously stated. Worked for me too. :good:
Reboot didn't worked for me.
I tried through ES File Explorer to copy the Titanium folder in my computer via LAN.When it started copying files, then the folder magically showed its content.Then transferred via MTP as it's a lot faster than 802.11g.
Hope someone finds it helpful.
Rooted on stock ICS since release date. I've never had a problem accessing settings for Files folder until today. t989 would freeze upon hitting the setting button while in the Files folder, and a message would later pop up stating, "Unfortunately, Files has stopped." After I've replied with "Ok," second message would pop up stating, "TwLauncher not responding. Would you like to close it?" I can access all my folders in my Files folder, but not my Settings
I've already tried wiping dalvik-cache and reboot with no such luck. I'm wondering if I erased an important data using SD Maid app, cleaning SD card with corpse finder
What is the files folder?
Dark3n said:
What is the files folder?
Click to expand...
Click to collapse
The factory file manager app . Basically, I would access the "setting" in order to show or hide hidden files. Not a huge problem because I can access my hidden files through "Astro File Manager/Browser" app. It just a nuisance knowing that the problem exist I guess
I fixed the problem by clearing the data on the file. :laugh:
Is it possible to clear timeline in stock My file app? I have tried to select a file and delete by tapping bin icon, but this deleted that file also from original folder.
Also looking for a solution, let me know if you find out if its possible
I also would like to know
Is there a solution yet?
dekatch said:
I also would like to know
Is there a solution yet?
Click to expand...
Click to collapse
I've been looking for a way to clear or disable the Timeline myself with no success. Perhaps Timeline items go away only when you move the files off the device(?)...
Unfortunately the "My Files" "Timeline" content is actually controlled by another process called "Media Storage" (this process scans all the files on the device looking for pictures, music, and other content then it builds a database so the system or apps such as music players can quickly find the content, it usually runs on boot-up and can update occasionally.
The only way to clear (or temporary clear) the timeline content is to clear the "Media Storage" database, by clicking "Force stop" and "Clear data" on the Media Storage process, though if you do this it will just rescan again eventually, and if you turn it off or prevent it from scanning you can loose access to your ringtones / alarms and other system sounds , also any music files on the device as a lot of applications use this service (otherwise everything would need to scan the memory card ./ memory for files causing increased cpu overhead and device lags....)...
See screenshots.
Thanks a ton, otyg! It's not an ideal solution, but it's better than nothing. I mostly wanted to clear the Timeline data and start it over, and this does seems to do that.
Figured it out
Plug tablet into the computer. Rename the folder that you don't want showing up with a '.' in front of it. I.e. "Adult" to ".Adult".
Then install Astro File manager, change the settings so that you can view hidden folders. And then you can still access the folder from the tablet, but will not show up in Timeline or the stock file manager.
Wizzard2014 said:
Plug tablet into the computer. Rename the folder that you don't want showing up with a '.' in front of it. I.e. "Adult" to ".Adult".
Then install Astro File manager, change the settings so that you can view hidden folders. And then you can still access the folder from the tablet, but will not show up in Timeline or the stock file manager.
Click to expand...
Click to collapse
you might also be-able to add a .nomedia file to the folder too this is supposed to prevent the media scanner from scanning the folder contents, though it doesn't work on all devices and I haven't tested it with timeline. or samsung yet., thought I would throw it out there if anyone wants to test.
At this time it's still unclear if you can hide items or completely remove the from the recent items list, with out moving every little file and or download and the list will only repopulate as you continue to download or add files. Just tap the added date above each subsection and collapse each individual section. While this isn't a permanent fix and the list will repopulate once you reopen the My Files app, it's only a minor inconvenience for someone who uses the app occasionally.
I've got files stored under sd card, folder, folder, .folder, folder, photo media scanner use to not see it and doesn't see it on my s5 but my tab 4 sees them if I click don't show hidden files it don't
Recently rooted my phone thanks to these wonderful people at a place called xda-developers. You may have heard of them.
Anyway, I find that there's something weird going on with my phone, I can't write to the internal storage. External SD card works fine, Internal SD card does not. Only a few apps work.
The camera app will take and save photos, but using the camera within Kik Messenger gives m the error that the photo cannot be saved, I have to take photos with the camera app, then import them to Kik with the "choose photo" option, which will let me choose a photo through Gallery.
In another related issue, ES File Explorer will not create new folders. I'm in the main directory of the "internal" SD card, where things like Downloads and DCIM like to sit in. I cannot make a folder. If I go in with a Windows computer over USB I can make folders fine. ES File Explorer cannot even delete the folder. Says "New Folder cannot be deleted" Why is this? I can even rename the folder, but I still cannot delete this folder. Going into the properties it says I have full read and write access to the folder, I still cannot delete it.
In a third instance I have the GPS program Navfree. I cannot even run the program. Google Play installs it and it says it works, but when I go to actually open the program it gives me the error "Program cannot be installed, contact support" before quitting me back to the home screen. This program is special because it downloads and installs, but there are map files that it needs to download before it becomes useful. This is done within the app and I do not know where it tries to save to.
I think all of these problems are related and I have not seen any forum posting about it so far and I have been searching for a while. Google Play will still download and install apps like no problem and ES File Explorer will copy and move files around and will even rename New Folder to 'folder' but will not delete i
At first I suspected it to be the problem with KitKat and the debacle about writing to /external/ SD cards. But my problem extends to the internal storage as well. I have applied the fix to the 'permissions.xml' file by adding "WRITE_EXTERNAL_STORAGE" I had to flash the fix in with recovery because I could not save the edited file I had typed up. Using one of the automated fixes in Google Play told me the action had already been completed. On the contrary, external storage works fine, I can write files and delete them and whatever I want to the external. The problem is with the internal card and it applies to everything I've tried except the camera.
So what is going on with my phone? I have root access but some apps will not work properly. It's just one headache after another. Here's hoping I won't notice the next one until I get another phone...
Eventually I just got fed up with the problem and re-applied the stock rom with Samsung Kies. Re-rooted and now the problem is no more. Thanks for thinking about me!
Hello, today I plugged my phone in to try and transfer some photos I'd taken earlier, and to my surprise could not see the photos in the DCIM folder. Using FX File Explorer I can explore that folder just fine on the device itself, and see everything.
This problem seems to be affecting several folders, but not all of them. Sometimes it affects different files in the same folder differently. For example, I have some .pdf and .apk files in my Download folder, which I can see on my phone, but on my PC I can only see some other files in that folder, including a .zip file. The issue appears to be based on the date the file was created, as outlined in this post in Google Support forums. I had no success with the cache-clearing of External and Media storage system apps outlined in that thread. I had success with being able to view all my /Downloads/ folder items by putting them in a subfolder and then bringing them out again into Downloads. The trick did not work with the DCIM folder for some reason.
I am rooted, but this issue has persisted through at least one re-flash of a stock image (I just updated to the newest July build without wiping all my data).
The only thing I can think of is that I ran this command to change the permissions of /su/bin when I was trying to get Android Pay working and perhaps that screwed something up? But wouldn't that be reset after the stock image was flashed anyway? Or would I need to wipe to do that? And even so, it still doesn't explain why it only affects certain files and folders.
Thoughts on things to try? Is there any way to undo that chmod command? FX File explorer says my current permissions on that folder is 0755, could that even be causing the issue? Apparently the change to 751 failed.
The issue persists using different USB cables and ports on my PC.
Did you have any luck figuring this out. I am having a similar problem as well.
I have always been able to transfer music from my computer to my nexus5X's Music folder with no problem. Today, something isnt working right. When I plug the 5X into my computer and select File Transfers, I can see all my files on the 5X. When I select the Music folder, it opens but only shows 237 songs. When i look at the folder on the 5X is shows 1016 songs. For some reason when connected to the computer it cant see all the files in the music folder. Also, when I try to copy a file to the music folder windows give me an error and says "The device has stopped responding or has been disconnected" If i try to copy is somewhere else on the 5X it works. I just can send it to the music folder. What can I do to fix this?
I actually noticed this before the update to 7.0. I used TiBU but the folder was not there. Using root explorer I can see the folder. I placed the Titanium Backup folder into another folder and then I could see it via the PC.
I uses a usb 3.0 port on the PC , have not tested 2.0 atm.
This is a typical MTP bug, just find & clear 'Media Storage' system app data, reboot. Dont connect PC before media scanner service finished.
You will lose media playlist, though.