Android TV Launcher Pushed to Google Play

Over the past decade, the tech universe has seen two drastic and widely contrasting changes with … more

Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Android 5.1 Possibly Coming February 2015

Google released Android 5.0 just over a month ago, and since then Lollipop has been trying to … 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