Storage location - One (M7) Q&A, Help & Troubleshooting

I just have a weired problem on my HTC One.
When I plug it into PC there is a folder called "Storage", in it are some of my music files (only SOME).
Also some of my files (those mentioned above) are 2 times in my Music App. One time at "storage/emulated/legaxy/Music/" and at "storage/emulated/0", but its one file because when I delete it frmo one location it gets deleted at the other too.
Anyone can help me to get rid of one of that storage lpcations?
Thanks
Robin

It's intentional, there are a few ways of getting to the sdcard location, they're just symlinks. Without them, older apps won't work.
Not sure why your music app can see both, did you mess with it's search paths?

BenPope said:
It's intentional, there are a few ways of getting to the sdcard location, they're just symlinks. Without them, older apps won't work.
Not sure why your music app can see both, did you mess with it's search paths?
Click to expand...
Click to collapse
No haven't changed anything there... Maybe a app like SD Maid or CleanMaster is causing this?
Thanks

Related

Uninstall of Apps does not remove all related files!

I apologize if this has been answered earlier.
I use a stock N1 with ADW.Launcher and a bunch of other apps. I recently noticed that even when I uninstall an app from my phone, there are some directories / files that remain on the phone.
Is there any reason why these do not get deleted when the app is unistalled.
May be the same answer as installers written for windows. If the developer didn't do a good job with cleanup, you get trash leftover you need to manually clean.
i agree with both above. i found devs dont do good with uninstalling and leaving folders left behind, i wonder if there is an app that clears them?
The best way is to realize what should and shouldn't be there and manually take care of it. To write an application to clean up after 50,000+ other applications that are messy. Would be a programming nightmare and I would not want to support such an application.
or someone could make some sort of app similar to those on pc, montors what and where files are being installed to so if uninstall doesnt take em out alteast you know where to look exactly.
Edit: better yet, the app itself can uninstall everything on the users request! now that would be an app i wouldnt mind paying a good buck for.
I agree, apps itself should uninstall everything with user consent.
Also I don't think a lot of us mind taking the manual route as long as we know what to delete ..
Any way to find out what files belong to what apps?.... or is it the same as on any unix/linux platform.
thats what i was trying to say. windows has a simple app that makes a txt file of all files being installed including registery. launch the app to monitor first, install like normal. in this case, the app itself will make a database of the app then the user can use that app to delete everything catched that was installed. that would be very nice. i find myself doing google search to see where files came from and when i see i uninstalled that i have to delete it myself. this would save me lots of time. i dont really worry about it though i have a list of apps i must install and with all the froyo i keep wiping the os to try new roms. until everything is stable ill worry then but for now im good.
garryvirdi said:
I apologize if this has been answered earlier.
I use a stock N1 with ADW.Launcher and a bunch of other apps. I recently noticed that even when I uninstall an app from my phone, there are some directories / files that remain on the phone.
Is there any reason why these do not get deleted when the app is unistalled.
Click to expand...
Click to collapse
do you mean the directories on the sd card?
Yes directories and files on the SD card.
-------------------------------------
Sent from my Nexus One
garryvirdi said:
Yes directories and files on the SD card.
-------------------------------------
Sent from my Nexus One
Click to expand...
Click to collapse
You could have data that could be reused if you decide to use the app again. Settings, preferences, keys, notes, photos etc..
I do hope that the default folder for apps defaults to something like /sdcard/appdata/ instead of the root folder /sdcard/ (unless explicitly set)

Gallery is not honoring .nomedia

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.

[Q] MTP transferred files missing

Hi,
I have a Nexus 7 32GB on 4.2.1.
I just copied about 20 gigs worth of video files into the "Movies" folder. Copying was fine, and they all looked like they were there. After unplugging the device, I can't find them with File Manager or with MX Player. If I plug the device back in, the Movies folder is empty.
I've rebooted the device, that didn't help.
I've done a "Storage Analysys" in File Manager, and it shows no folders which have that much data in them.
However, the device still reports itself as mostly full! Not only did the files disappear into thin air, they didn't release the storage!
Has anyone had this problem before? Any idea what to do?
Man I want USB Mass Storage back...
I just re-copied one of the files into a new folder that I just created, rather than the "Movies" folder which already existed. Worked just fine there...
I tried deleting the "empty" Movies folder. It went away, but I'm still missing all of my space!
SSH'd in with SSHDroid. Went to the root and did a "du -hc".
In total, it only found 4.5G of data, including all OS, app, and user files. Where is the rest of my space? Am I going to have to do a factory reset to get it back?
stoanhart said:
SSH'd in with SSHDroid. Went to the root and did a "du -hc".
In total, it only found 4.5G of data, including all OS, app, and user files. Where is the rest of my space? Am I going to have to do a factory reset to get it back?
Click to expand...
Click to collapse
Try this App called "Forever Gone" from the Play Store It should Help and Get Your Space Back . I can't post links yet but just search that in the play store and iut should come up
Sent from my Nexus 7 using xda app-developers app
So I feel stupid now...
Multi user accounts. Apparently you get completely separate storage roots. When you plug the device into the computer as one user, other users can't see what you copied. Seems so obvious now.
Thanks for the suggestion though.

Deleting Apps

Hello when you delete apps on android does it leave "traces" on the phone even after uninstalling? For example, empty folders, directories, etc... I'm quite OCD about these things and feel "cluttered" not knowing. Any information about this would be appreciated.
Also, if even after deleting the app there are traces leftover, are there any apps to "scan" and "clean" these leftover files?
Thank you.
Sent from my SM-N910T3 using XDA Forums Pro.
It can happen, and I'm ocd about it too. SD maid has a "corpse finder" function to clean up incomplete uninstalls, and I also periodically plug my phone into my computer and sort the folders by date modified and just manually delete any ghost data left over.
kabuk1 said:
It can happen, and I'm ocd about it too. SD maid has a "corpse finder" function to clean up incomplete uninstalls, and I also periodically plug my phone into my computer and sort the folders by date modified and just manually delete any ghost data left over.
Click to expand...
Click to collapse
Glad I'm not the only one OCD with my phone....thanks for the info on SD MAID. Gonna get that right now.
I flash roms way too often to have to worry about that. ? That's my ocd.....rom flashwhoreitis

[SOLVED] Note 5 Photos, Ringtone MP3 disappear. And unable to set as Rgintone

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.

Categories

Resources