Enable the Hidden Notification LED on the Google Nexus 6!

LED notification lights have existed on Android devices since the very beginnings … more

MX Player Ready to Rock on Lollipop

A good video player should be reliable and free. One of the XDA Community Apps, MX Player, meets both of … more

How to Disable Data Encryption on Nexus 6

In late September, Google decided to step on NSA’s toes and turn on encryption by default in … more

DJI Phantom 2 Vision+ Review – XDA TV

The holidays will be here in no time, so why not start thinking about gifts now? Youll be ahead … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

How to keep your media files from being deleted off of SDCards

OP snowzach

2nd May 2011, 12:37 AM   |  #1  
OP Junior Member
Thanks Meter: 7
 
28 posts
Join Date:Joined: Jun 2010
So I searched and searched and never found a definitive answer on how to keep your media files from being automatically deleted off of SDCards on reboots. There were guesses but no report back on what actually worked.

I noticed after it happened about 5 times. You copy files (m4v, mkv, others) to your SDCard and after you reboot they are gone. This happens on Vegan as well as others I had read.

TLDR:
To keep this from happening, in the root of your SDCards (For me /mnt/sdcard and /mnt/sdcard2), create a DIRECTORY called .nomedia You cannot use Windows to do this, you must do it on a linux/unix machine or from iFilemanager,Astro or another file manager type application.

I haven't had trouble since.
The Following User Says Thank You to snowzach For This Useful Post: [ View ]
2nd May 2011, 06:18 PM   |  #2  
brettdwagner's Avatar
Senior Member
Thanks Meter: 32
 
203 posts
Join Date:Joined: Mar 2011
I have also had success with the .nomedia file placed in directories containing media. However if this .nomedia directory can ward off the indexing for my entire SD card that would be even better.

.nomedia feels like having to smear blood over the door frame so the the angel of death won't take my firstborn. Unleavened bread anyone?
2nd May 2011, 11:57 PM   |  #3  
OP Junior Member
Thanks Meter: 7
 
28 posts
Join Date:Joined: Jun 2010
Several reboots now and no issues.... thank goodness I was about to chuck it through the window...
3rd May 2011, 05:38 AM   |  #4  
nunjabusiness's Avatar
Senior Member
Thanks Meter: 76
 
695 posts
Join Date:Joined: Jan 2011
I still don't understand why some people have this issue. Is it specific to a ROM?

I have a number of AVI files and many folders of MP3s that have been on my SD card since the day I got it (4 months+).
Never had anything delete itself from there. Running VEGAnTab since the 2nd day of ownership.
12th May 2011, 12:24 AM   |  #5  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: Apr 2011
I dunno, but it happened to me last night (before I found this thread). Added the directory via eStrong, buried a potato under a stump and tied a chicken foot around my neck for good measure. We'll see what happens.
30th June 2011, 03:56 AM   |  #6  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Jun 2011
Thank you for posting. This solved a major frustration of mine, but it appears to be solved now.
4th July 2011, 06:31 PM   |  #7  
Junior Member
Flag Lees Summit, MO
Thanks Meter: 0
 
2 posts
Join Date:Joined: Mar 2011
My media files went away for the forst time. (I was stock until yesterday.)

I added .nomedia and the files are safe, but my music players and photo viewers cannot find the files now.

Anyway to get them protected but viewable?
5th October 2011, 07:43 PM   |  #8  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Jan 2011
Quote:
Originally Posted by snowzach

So I searched and searched and never found a definitive answer on how to keep your media files from being automatically deleted off of SDCards on reboots. There were guesses but no report back on what actually worked.

I noticed after it happened about 5 times. You copy files (m4v, mkv, others) to your SDCard and after you reboot they are gone. This happens on Vegan as well as others I had read.

TLDR:
To keep this from happening, in the root of your SDCards (For me /mnt/sdcard and /mnt/sdcard2), create a DIRECTORY called .nomedia You cannot use Windows to do this, you must do it on a linux/unix machine or from iFilemanager,Astro or another file manager type application.

I haven't had trouble since.

How can I creat a DIRECTORY. I used Actro and ifilemanager. I don't know where to input .nomedia. Thanks for your help.

---------- Post added at 06:43 PM ---------- Previous post was at 06:05 PM ----------

It work and thanks

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes