Related
I don't know what I am doing wrong. I have placed a file called .nomedia in each of the image folders I don't want in the gallery, but they remain.
I've restarted the phone, Force Stop, and Clear Data. I've unmounted and remounted the SD card, manually, and through the USB mount.
Even deleted an image through the gallery and it refreshed.
To create the file I tried:
-touch .nomedia
-creating a file called .nomedia in a text editor
-empty .nomedia files, and ones with something in them
-creating it on the phone, and on the computer
The file has no 'hidden extension' I'm sure of that, especially when I used touch. I can see the file in ASTRO when viewing hidden files, it is correct.
I've either gone completely crazy, my phone is messing with me, or I've overlooked something very simple.
Any one have any ideas?
Running stock 2.2 right now.
Add a "." to the beginning of folder name instead.
Yes, I know that works. But I would prefer not to do that. Because I can't easily browse to those folders, as I need them for other things in different applications, some of which won't let me view the hidden files.
I am beginning to wonder if I should try a wipe of the SD card and put everything back on. It seems that there is something fishy going on.
I've recently done this with several folders on my N1, a few that had ringtone mp3's in it and some others with jpg's I didn't want showing up in notification or gallery.
After remounting the SD card, they no longer showed in Gallery... but you've done lots more than that, so I can't imagine what the problem could be.
I just created a new file using Ghost Explorer, but have also done it in the past mounting the SD card and creating the filename (touch)
Ok, so not sure how I fixed it, because I went the nuclear route. Backed it up, formatted, and copied everything back. Also opened the gallery while it was unmounted, and recreated all the .nomedia files.
Something there fixed it...
Wait a minute, maybe not... I don't see any images apart from the Picasa linked ones
The logcat actually showed that it was finding and ignoring .nomedia files though.
Well, I'll just have to find a happy medium. I'll give it some time to see if it will scan for more, and check for extra .nomedia in the wrong places.
Oh how lovely, they're all back. And I still see a whole lot of .nomedia being ignored in the logcat.
Eh, enough fiddling for the day.
Could you show us the lines in logcat where it's ignoring .nomedia?
Oh, it's not very helpful. No mention of the directory. Just a lot of lines saying
Code:
D/ ( 3214): found .nomedia, skipping directory
Over and over, exactly the same.
You say you placed a file called .nomedia in folders you want hidden but they still show. What about folders that already have .nomedia, are they showing as well? Maybe, if you haven't tried. Copy an orignal .nomedia file from a folder not showing up in your gallery to your personal folders.
It sounds like you created the .nomedia file from your phone directly. I don't know how that works, but here's what worked for me:
Open text editor (notepad in Windows), File -> Save As, give ".nomedia" as the name, and under "Save as type", use "All files". This made a file that worked for me.
Also make sure you have the file browser showing file extensions, so you know that .nomedia file isn't actually .nomedia.xxx.
Sistum Id said:
You say you placed a file called .nomedia in folders you want hidden but they still show. What about folders that already have .nomedia, are they showing as well? Maybe, if you haven't tried. Copy an orignal .nomedia file from a folder not showing up in your gallery to your personal folders.
Click to expand...
Click to collapse
Yeah, I've tried that too, what I think is that there is some sort of cache or something in the gallery app that I an't get rid of. I've tried another gallery app form the market, and it works with the .nomedia perfectly. If this really ends up driving me crazy I'll wait until I flash CM6 and see if that fixes it, just don't want to right now while I'm away on vacation.
cigar3tte said:
It sounds like you created the .nomedia file from your phone directly. I don't know how that works, but here's what worked for me:
Open text editor (notepad in Windows), File -> Save As, give ".nomedia" as the name, and under "Save as type", use "All files". This made a file that worked for me.
Also make sure you have the file browser showing file extensions, so you know that .nomedia file isn't actually .nomedia.xxx.
Click to expand...
Click to collapse
No, if you read my original post I've created the file many times, many ways. I know about extensions, I know how these things work. I've always just used touch before to do it, but this time since it didn't work I tried many other ways just to be sure. ls -al on the directory shows it is .nomedia exactly, nothing more, nothing less.
Clarkster said:
Yeah, I've tried that too, what I think is that there is some sort of cache or something in the gallery app that I an't get rid of. I've tried another gallery app form the market, and it works with the .nomedia perfectly. If this really ends up driving me crazy I'll wait until I flash CM6 and see if that fixes it,
Click to expand...
Click to collapse
Yeah i'm in the same boat, i've got Google maps icons in the gallery and some other assorted stuff that doesn't belong there. Did a Google search on the .nomedia thing, tried to incorporate a .nomedia (TXT) file into the offending folder a couple different ways but they're still there. I think i'll do the same, flash CM6 then go from there.
Interesting thought about the cache thing, I wonder if it could be something related?
Did you all clear the Media cache? I'd say force close it, clear its cache, then relaunch it?
Something weird is going on.. I had this happen too, but only because I hadn't remounted my SD card.
khaytsus said:
Did you all clear the Media cache? I'd say force close it, clear its cache, then relaunch it?
Something weird is going on.. I had this happen too, but only because I hadn't remounted my SD card.
Click to expand...
Click to collapse
Yup, I mentioned that in the first post. Force stopped it and cleared the cache.
There seems to literally be nothing left to do other than try a complete wipe, which I will do when I get CM6 on it.
I started having a strange problem today. When I open File Explorer (or even Super Manager and try to access my files), the screen goes white and hangs. I can access all of the video/ photo/ etc. files through the appropriate apps, but I am unable to view them through any sort of explorer.
-Bump- I would really appreciate some help, if anybody could spare a minute. Now, along with the previous issue of not being able to access individual files through the explorer, I am also unable to access my new DLNA-ready NAS. The NAS is seen by my WDTV and I can see it in AllShare, but when it tries to access individual files on my tab, it just hangs. I've tried various media players (moboplayer, etc.) and they "see" the new server, but are unable to access the files.
I am tempted to backup my data and re-install everything. I'm not sure how difficult that would be, but it's getting quite frustrating that the device keeps hanging...
Any advice?
Hello XDA,
I am running on ARHD 5.1, rooted, on the ONE. Using ES file explorer to navigate.
My issues are these:
1) Setting a custom ringtone,
File is located at: sdcard > Ringtones > file.mp3
The file is all lowercase, no spaces.
When I go to Settings > Sound > Ringtone >
The file does not show up, but it does when I press the + icon in the top right.
After choosing this, I get an error message : "Unfortunately, Sound set has stopped".
I've tested out the ringtone (by calling it) and the default is still selected. I will continue to get that error message until I move the mp3 file to a different location. I have also used this ringtone on my SNS, and have played the file on MUSIC, so it isn't corrupted .
2) Setting a custom Notification,
File is located at: sdcard > media > audio > notifications >
The file is all lowercase, no spaces, mp3
When I go to Messaging > menu (3dot) > settings > notifications > Notification Sound >
The file does not show up.
I've also tried moving the file to:
sdcard >Notifcations
sdcard >Ringtones
But nothing works.
Has anyone encountered this issues? My last phone was quite different so I can't pin down the location for the issues (Phone, OS, ROM...)
Get zedge from the play Store it's will put the tones on for you lot easier that's what I done
jaythenut said:
Get zedge from the play Store it's will put the tones on for you lot easier that's what I done
Click to expand...
Click to collapse
Hmm, I tried that out, but I wasn't able to use my one custom files. It seemed as though I had to DL their songs.
But, there should be an easy way to do this w/o any need for apps, shouldn't it?
It should be but I've not tried I've always used zedge i find it the easiest way for me
Unfortunately, there is definitely a problem with the Ringtone/Notification system on the HTC One... at least on the Developer Edition. I can't speak for any of the other flavors.
Placing Ringtones into the normal locations including the following:
/sdcard/ringtones
/sdcard/notifications
/sdcard/media/ringtones
/sdcard/media/notifications
Does not make those files appear in the lists for the standard ringtone/notification sound chooser.
You CAN select those files if you use a third-party ringtone/notification selection app (like ES File Explorer) but there are two problems with this:
1) System Apps (like the stock SMS messaging app) will not give you the option to use a third party ringtone chooser.
2) Other applications WILL let you use a third party chooser (like Gmail and Google Voice) but if you DO use a separate app to choose a ringtone/notification, you will break the built-in notification chooser. That means that every time you try to change a ringtone or notification sounds in a system app, you'll get a force-close message. The only way to fix it is to delete the ringtone file that you selected with the third party chooser.
Hopefully HTC resolves this quickly. While I don't HATE the stock sounds, I have grown accustomed to a specific set of sounds for various accounts and services and would prefer not having to change my routine, so-to-speak.
After various tweaks and tests I've finally fix it.
I can't say with certainty, but it seems as though the files work when I dl'd them on my PC then pushed them to my phone.
For the ringtone, I set it through ES and it rings accordingly.
For the SMS tone, the sound file showed up after a reset.
So, the files are finally working and I am thinking it has something to do with downloading them straight to the phone vs pc. Odd, but it ended up working.
In the past on my sensation/hox/hox + I have always put my custom ringtones/notifications in system/media which is the proper place for them then I have to reboot the device before they become visible.
On this device I did the same and, after reboot, my entries had completely disappeared wtf
Sent from my Nexus 7 using xda premium
I worked with HTC Support last night to further troubleshoot this issue. Here is what I learned:
1) The correct locations for storing custom ringtones and notifications are:
/sdcard/Ringtones
/sdcard/Notifications
2) You must copy the files to this location from your computer via USB. The problem I was encountering was caused by the fact that I was using ES File Explorer to download my MP3 and OGG files from a network share to my phone. While all other applications were able to see and play these files without any trouble, the built-in ringtone/notification chooser will not see files copied onto the device in that way.
Success!
Cloudscout said:
I worked with HTC Support last night to further troubleshoot this issue. Here is what I learned:
1) The correct locations for storing custom ringtones and notifications are:
/sdcard/Ringtones
/sdcard/Notifications
2) You must copy the files to this location from your computer via USB. The problem I was encountering was caused by the fact that I was using ES File Explorer to download my MP3 and OGG files from a network share to my phone. While all other applications were able to see and play these files without any trouble, the built-in ringtone/notification chooser will not see files copied onto the device in that way.
Click to expand...
Click to collapse
I've been having the same exact frustration. I posted my question in the AT&T One forums (http://forum.xda-developers.com/showthread.php?t=2247626) and referenced your thread. I thought this was [CLOSED] -- I came here to get your ID to PM you and saw your update (about having to get the files onto the phone via USB). I'm going to try this as soon as I'm able!
Edit:
Copying the files via USB absolutely works :good:.
I turned off USB debugging (in Developer Options) and connected. The phone's "internal storage" appeared under "My Computer" as "HTC One", not as a drive letter, with the "root" being /sdcard (btw I'm running Win 7 Ultimate). I also got a new drive letter for "HTC Sync Manager", showing as a CD drive (with a letter), but that's irrelevant to this.
I just copied files into /Alarms, /Notifications, and /Ringtones using Windows' GUI (both by dragging and Ctrl-C/V). My files were a mix of audio formats and subtypes and I was prompted to convert several of them during the operation, with the warning that "...otherwise [the files] might not play correctly" or something. I let it convert a few just to see what happens -- they get converted to wma -- but the phone had no trouble playing back the unconverted files, either. Indeed, the One was able to use some files that my previous phone could not.
I'm going to link to this post from my own question in the other forum. +1 to you, sir.
Cloudscout said:
I worked with HTC Support last night to further troubleshoot this issue. Here is what I learned:
1) The correct locations for storing custom ringtones and notifications are:
/sdcard/Ringtones
/sdcard/Notifications
2) You must copy the files to this location from your computer via USB. The problem I was encountering was caused by the fact that I was using ES File Explorer to download my MP3 and OGG files from a network share to my phone. While all other applications were able to see and play these files without any trouble, the built-in ringtone/notification chooser will not see files copied onto the device in that way.
Click to expand...
Click to collapse
Good to see your solution was the same as mine.
Gewgaws said:
I've been having the same exact frustration. I posted my question in the AT&T One forums (http://forum.xda-developers.com/showthread.php?t=2247626) and referenced your thread. I thought this was [CLOSED] -- I came here to get your ID to PM you and saw your update (about having to get the files onto the phone via USB). I'm going to try this as soon as I'm able!
Click to expand...
Click to collapse
I just followed the sticky's format. I would much prefer [SOLVED], but oh well.
Goodluck.
Long813 said:
Good to see your solution was the same as mine.
I just followed the sticky's format. I would much prefer [SOLVED], but oh well.
Goodluck.
Click to expand...
Click to collapse
My [Edit] above, and also apparently you can copy files to the phone without using USB, and they'll become visible if you plug and unplug USB: http://forum.xda-developers.com/showthread.php?t=2251647
Gewgaws said:
My [Edit] above, and also apparently you can copy files to the phone without using USB, and they'll become visible if you plug and unplug USB: http://forum.xda-developers.com/showthread.php?t=2251647
Click to expand...
Click to collapse
Nice discovery, hopefully some HTC dev will pick up on this.
Two issues with my new Note 5.
1. When I copied my mp3 ringtone file to storage/sdcard0/ringtone it worked for one day, then failed. Tried to convert to wma, ogg, mp3, the program said, "unable to set as ringtone"
2. I copied the photos from the old phone to storage/sdcard0/dcim, but the new gallery can't find them. Any solution on this?
3. Actually mp3 files disappeared too.
5.1.1 no longer have the option to select where to store your photos, any work around, or should i use third camera and gallery app?
Thanks.
Ken
If you simply use a file exploer and go to Storage/DCIM you will have your photos in the correct place.
If you are using an apk like Root Explorer just go to SDCard/DCIM - (there is no SDCard0 that I know of. (unless you are trying to create a new folder there) Just put the new folder directly in SDCard directory and you should not have any issues. I have lots of personal photos and special ringtones I copied to the phone adn they all work fine. By the way, when I transfer audio files to any of my phones, it always asks me if I want to convert the file to a diffeent format - says if I don't it may not play correctly - I never do that - and they always work fine.
Good Luck - I hope I have helped in some small way
mocsab said:
If you simply use a file exploer and go to Storage/DCIM you will have your photos in the correct place.
If you are using an apk like Root Explorer just go to SDCard/DCIM - (there is no SDCard0 that I know of. (unless you are trying to create a new folder there) Just put the new folder directly in SDCard directory and you should not have any issues. I have lots of personal photos and special ringtones I copied to the phone adn they all work fine. By the way, when I transfer audio files to any of my phones, it always asks me if I want to convert the file to a diffeent format - says if I don't it may not play correctly - I never do that - and they always work fine.
Good Luck - I hope I have helped in some small way
Click to expand...
Click to collapse
thanks Mocsab. Unfortunately, i tried, been using andriod phones for 4 years, this is the only time i felt this no longer an android product. The permission setting and other restriction make it an iOS duplicate.
Going back to my issues, it was still resolve.
bigeneral said:
thanks Mocsab. Unfortunately, i tried, been using andriod phones for 4 years, this is the only time i felt this no longer an android product. The permission setting and other restriction make it an iOS duplicate.
Going back to my issues, it was still resolve.
Click to expand...
Click to collapse
I understand - I am not sure why are having the issues you described - they didn't happen for me - and personally, i think this is one of the best Android Phones I have ever used. Love it,
yeah, now that i have my data pretty much transferred, maybe i should do a full back up and reset to factory setting. Not able to change the ringtone i've using for 10 years really bother me.....
Ok, i did a factory reset and start from scratch. I was able to setup a custom ringtone by putting the file in the same ringtone directory, and copied the photos to the DCIM folder. It actually worked for 10 hours. 10 hours later, when i deleted a whatsapp images from the Gallery app, the entire photos collections as well as my ringtone were gone, ringtone back to default setting. I think this is a bug, if anyone experience this, please share your experience.
Thanks
ok, read another forum and found a solution to change the ringtone file name to ring.mp3 and amusingly, the file show up on the list of ringtone and it works.
now the bug on why photos and music disappear still unsolved.
Custom ringtone problem
I renamed the file to ring.mp3 as you said but the note 5 is still saying can not set as ringtone. Help?
killa28 said:
I renamed the file to ring.mp3 as you said but the note 5 is still saying can not set as ringtone. Help?
Click to expand...
Click to collapse
try to see if you have a .nomedia file on your storage card root directory.
what happen to my case was, i found a .nomedia in the storage card root "/sdcard/ .nomedia" so all medias were omitted.
Now that i have deleted the file, my mp3 player work correctly.
Hello friends.
I'm posting this today seeking the help of someone who is smarter than me. I know it's not very likely for anyone to have my particular phone model and android version combination, but here goes nothing:
First of all, I'm talking about the "Files" application that is a basic file manager that comes with pixel phones.
Anyway, ever since I got my pixel 4xl phone over a year ago, I noticed the Files app is never "current". By that, I mean it keeps showing files that were already deleted, either with another file manager or by accessing the phone storage with a computer.
The deleted files keep being showed in "Files" for several hours and sometimes even days after they are actually gone from my storage. "Refreshing" the app (by pulling down) does nothing, and trying to open the files gets me a toast notification saying "Can't open file", while trying to delete it gets me a silent notification that sais "Couldn't delete item".
Surprisingly, deleting the apps cache and storage does nothing either.
After a while, seemingly without rhyme or reason, "Files" seems to "catch up" to the fact that the files are no longer there, and stops showing them.
Can anyone relate to this?
Best regards!
Details: Pixel 4xl, unrooted, android 10
Essentially Android keeps a "media" database that the Files app is probably looking at. Most actions that create or remove a file through high level APIs will update this database, but some will not. For example, an alternate file manager app could add/delete an image and Photos won't realize it. Or a folder contains a ".nomedia" file in it, and random apps won't know about files stored there.
The type of operation you're looking to do is to force a media rescan.
Thank you for your reply and your useful information. I will try to find out if the app has a media rescan option somewhere.
Cheers.