MTP / Media Storage issues –*need to deactivate indexing for one directory - General Questions and Answers

Hi all,
I have a quite special issue. I hope someone here can help me or point me into the right direction.
Huawei P9 with Android 6.0, rooted.
For my purposes (*) I use a MicroSD card with 128MB capacity that contains a lot of small files (abt. 1.5 million files).
I wondered for weeks, why the phone becomes incredibly slow and hangs from time to time.
I learned that the Media Storage service could be responsible, because it tries to index all files and that can take a very long time if there are lots of files.
I deactivated Media Storage (using Titanium Backup) and BINGO! My phone is like new. Snappy, well usable.
Since I don't need MTP access to the phone, I thought it might be good now.
HOWEVER:
I just found out that ring tones don't work anymore, neither for phone ringing, nor for the alarm clock etc.
It seems that those apps also rely on the file index, that's gone now.
Without any ring or alarm tone, the phone is almost unusable again.
Do you know of any way to make the MTP / Mediastorage server ignore one directory when indexing? That would help, as I could simply let it ignore the directory on SD card that contains those 1.5 million files.
Or can you think of any other good solution for my problem?
Thank you so much!
Daniel
(*) to explain my usecase, why I need so many files on SD: I am a photographer, doing gigapixel panorama photography. For presenting my work to customers, I put my demo panoramic tours onto the SD card. These are HTML files with a data directory containing JPG tiles of the gigapixel panoramas. One panorama image consist of up to a few 100.000 files. A webserver running on the phone makes the panorama tours accessible to onboard browsers or, via WiFi hotspot, to other devices in the surrounding, e.g. a PC or tablet of the customer.
I considered solutions like an external storage (USB OTG) connected to the phone only when I present that stuff to the customer, or an entirely separate device (Pandora / Dragonbox Pyra or so) to host and serve the panorama tours, but I like to carry only one device, the small smart phone, to do it all. An extenal OSB OTG storage solution would almost fit my needs. But.. only almost, because a small storage is something that can get lost or stolen easily and that needs additional handling and provides additional points of failure, which I don't want to have in front of the customer.
Android is capable of doing it all, and my philosophy is, that a computer needs to adapt to my way of work than vice versa. This was the intention when Neumann and Zuse invented programmable computers. And I don't really want to eat humble pie here.

daniel908 said:
Hi all,
I have a quite special issue. I hope someone here can help me or point me into the right direction.
Huawei P9 with Android 6.0, rooted.
For my purposes (*) I use a MicroSD card with 128MB capacity that contains a lot of small files (abt. 1.5 million files).
I wondered for weeks, why the phone becomes incredibly slow and hangs from time to time.
I learned that the Media Storage service could be responsible, because it tries to index all files and that can take a very long time if there are lots of files.
I deactivated Media Storage (using Titanium Backup) and BINGO! My phone is like new. Snappy, well usable.
Since I don't need MTP access to the phone, I thought it might be good now.
HOWEVER:
I just found out that ring tones don't work anymore, neither for phone ringing, nor for the alarm clock etc.
It seems that those apps also rely on the file index, that's gone now.
Without any ring or alarm tone, the phone is almost unusable again.
Do you know of any way to make the MTP / Mediastorage server ignore one directory when indexing? That would help, as I could simply let it ignore the directory on SD card that contains those 1.5 million files.
Or can you think of any other good solution for my problem?
Thank you so much!
Daniel
(*) to explain my usecase, why I need so many files on SD: I am a photographer, doing gigapixel panorama photography. For presenting my work to customers, I put my demo panoramic tours onto the SD card. These are HTML files with a data directory containing JPG tiles of the gigapixel panoramas. One panorama image consist of up to a few 100.000 files. A webserver running on the phone makes the panorama tours accessible to onboard browsers or, via WiFi hotspot, to other devices in the surrounding, e.g. a PC or tablet of the customer.
I considered solutions like an external storage (USB OTG) connected to the phone only when I present that stuff to the customer, or an entirely separate device (Pandora / Dragonbox Pyra or so) to host and serve the panorama tours, but I like to carry only one device, the small smart phone, to do it all. An extenal OSB OTG storage solution would almost fit my needs. But.. only almost, because a small storage is something that can get lost or stolen easily and that needs additional handling and provides additional points of failure, which I don't want to have in front of the customer.
Android is capable of doing it all, and my philosophy is, that a computer needs to adapt to my way of work than vice versa. This was the intention when Neumann and Zuse invented programmable computers. And I don't really want to eat humble pie here.
Click to expand...
Click to collapse
There's an Xposed module that can do exactly what you're asking. But I'm not sure how nicely the xposed framework will work with your Huawei device (assuming you're still stock). You can check it out if you feel its worth any hassle that might be involved. Here's the link to the forum and a screenshot of the app's description & capabilities
https://forum.xda-developers.com/xposed/modules/xposed-xposed-media-scanner-optimizer-t2942609

GREAT! THANKS!
I didn't know that an XPosed module existed that could solve that problem.
An attempt to install XPosed a few months ago has failed.
But I retried today with the Wanam build (official one failed back then) and it worked well. Downloaded this module now and will see how it works.
Thank you so much!

Quick question:
The manual for the Media Scanner Optimizer module says
"Directories: If checked the media scanner will only scan directories that have a .scanMedia file (i.e. an empty file with a dot as first part of the name similar to the .noMedia file). Use a file explorer app to create this file. This file can be placed in a directory that may contain subdirectories. The subdirectories will be scanned as well. If unchecked all directories will be scanned (except for the ones containing a .noMedia file - this default behavior of the media scanner is not altered by the Xposed Media Scanner Optimizer)."
(source: http://repo.xposed.info/module/com.thomashofmann.xposed.mediascanneroptimizer)
Does that mean, in my case I coud simply have placed a .noMedia file in the directory with the millions of files and my problem would have been solved, even without XPosed?
Somewhere I read that the media storage service does NOT care about the .noMedia files, so I refused experimenting with this quite early in my research phase.
Do you have experiences, if this really works or not?

daniel908 said:
Quick question:
The manual for the Media Scanner Optimizer module says
"Directories: If checked the media scanner will only scan directories that have a .scanMedia file (i.e. an empty file with a dot as first part of the name similar to the .noMedia file). Use a file explorer app to create this file. This file can be placed in a directory that may contain subdirectories. The subdirectories will be scanned as well. If unchecked all directories will be scanned (except for the ones containing a .noMedia file - this default behavior of the media scanner is not altered by the Xposed Media Scanner Optimizer)."
(source: http://repo.xposed.info/module/com.thomashofmann.xposed.mediascanneroptimizer)
Does that mean, in my case I coud simply have placed a .noMedia file in the directory with the millions of files and my problem would have been solved, even without XPosed?
Somewhere I read that the media storage service does NOT care about the .noMedia files, so I refused experimenting with this quite early in my research phase.
Do you have experiences, if this really works or not?
Click to expand...
Click to collapse
I initially thought about the .nomedia alternative. But I wasn't clear on if the 1.5 million files you have were actually media files. If they are then creating a .nomedia file should do the trick. If not, then you have the Xposed module
I personally have a few .nomedia files here and there on my SD card. And it does what its supposed to, ie; stops any media file that's present in those folders from showing up in the Gallery/music player.
So I guess its safe to assume that they weren't indexed either

Freewander10 said:
I initially thought about the .nomedia alternative. But I wasn't clear on if the 1.5 million files you have were actually media files. If they are then creating a .nomedia file should do the trick. If not, then you have the Xposed module
I personally have a few .nomedia files here and there on my SD card. And it does what its supposed to, ie; stops any media file that's present in those folders from showing up in the Gallery/music player.
So I guess its safe to assume that they weren't indexed either
Click to expand...
Click to collapse
I thought the .nomedia trick would only work, if the Xposed module was there?
Or does it work by default, even on a non-rooted stock ROM?
Thise mana files that I have are almost all JPG files. There are a few .js and .xml files, too, that control how the .jpgs are rendered on the client's browser, also some video files that are embedded into the virtual tours, but about 99.5% of the files are .jpg.

daniel908 said:
I thought the .nomedia trick would only work, if the Xposed module was there?
Or does it work by default, even on a non-rooted stock ROM?
Thise mana files that I have are almost all JPG files. There are a few .js and .xml files, too, that control how the .jpgs are rendered on the client's browser, also some video files that are embedded into the virtual tours, but about 99.5% of the files are .jpg.
Click to expand...
Click to collapse
It doesn't matter what type of files you have. If the folder has a .nomedia file, it will not be scanned for anything.
This is standard android behavior, and does not require xposed to be installed.

Related

Nub question - Opening file in subfolder

Hi guys, hopefully a stupid noob question that I can't seem to figure out.
I'm a bit of an organizational freak (as I'm sure many of you are), and like having sub-folders within main folders.
For example, I have some e-books on my Fuze and like having sub-folders with the author name.
So, folder structure looks like
\Storage_Card\ebooks\Edgar_Allen_Poe\...
When I go to open an ebook in MobiPocket, I cannot see that sub-folder (only the main path to ebooks).
The same issue plagues me with other programs, such as PocketNester...I'm assuming it has something to do with the Windows Mobile method of scanning directories in the file open dialog.
Anybody else have this problem?
I have noticed this in other apps, but never used mobipocket, so I think it's the behavior of the WinMo file manager as well. Maybe you need to put your directories on the root of the storage card. Have you tried shortcuts? Doubt it will work and it would probably drive you nuts that your shortcuts arent neatly organized in subfolders...
I don't think you can use sub-folders with mobipocket (or ereader). If you want things organized, then I would do something like put #'s or letters at the start of each author's books to keep them organized together (1-xxx, 1-yyy for the 1st author, 2-aaa, 2-bbb for the second, where the xxx's are the book names).
I find the file explorer in some apps pretty annoying, too. Like in pocket rar, you can create an archive for things like cab files. If you want to add to the archive, then it has to be on the storage card and in the root of any of the main folders on the storage card. That is annoying as crap. There are other situations where you can save a file in either main memory or storage memory, and you'll only have access to root folders, or sometimes in the main memory only to the folders in \my documents. It's like the person who designed this crap was auditioning for a job with apple to work on iphone development. I wish I knew a work-around (other than cutting-and-pasting after saving things), but I don't.

CAUTION: using .nomedia to hide files

Hey All,
I know this topic has been dabbled in across a few threads, but I think it's worth making a dedicated sticky...
The 'accepted' way to hide media files in Android is to either make the hidden by adding a period to the front of the file name (eg: rename file.ext to .file.ext) or to add a blank file named .nomedia at the root of the folder containing the files you don't want picked up by the media scanner.
Works great in theory, but there are some existing bugs in Android (not sure if they're fixed in any release yet), that causes the media scanner to physically delete these files...!!
http://code.google.com/p/android/issues/detail?id=3692
I understand this only happens when the media scanner initiates another scan, which will happen when you power cycle your device, or unmount and remount your storage. So while you might be safe for now, watch out when you run out of battery and wonder where everything's gone...!
I don't know full details, but I suspect it might do the same for any other instructional files, like: .noimage and anything else like that...
There are some theories on how to make it work properly - like creating an empty folder first, containing the .nomedia file, then adding the media - I understand this issue is only due to the media scanner deleting records from already its database - so if it doesn't know about them first, it shouldn't be an issue... Although I'm not 100% on that - so I'd be careful.
Is this still a problem?
not for me so far, and I always turn my tab off whenever I charge (it's better for the battery)
[email protected] said:
Is this still a problem?
Click to expand...
Click to collapse
Yes it is. I have brilliant corners 1.3.1 and by god I've tried every thing I could to get it to stop deleting media from me sd2 card, to no avail. If anyone hows why it still deletes after I;'ve installed nomedia in the sd2 card's root directory please advise.

[Q] [HOW TO] Content transfer - Cross Platform

How do you get to transfer in the easiest way - songs from an android device to a fully unlocked Nokia Lumia 710?
also..
Where do the attachments in my hotmail get saved on my local phone storage? I have fully unlocked L710 and HTC Titan. Someone sent me a few clips attached to hotmail. I can play it from my email attachment but would like to find the folder where it is locally stored after download, and then be able to play the content from Zune. Is there any homebrew app for such file management? I have File Explorer, but don't know where these attachments can be found, then moved so that they are playable in Zune Hub.
this is a great question that I would also like to know the answer to. There has to be some way to mount the storage and manage it from a pc like you can with Android.
Skywalker134 said:
this is a great question that I would also like to know the answer to. There has to be some way to mount the storage and manage it from a pc like you can with Android.
Click to expand...
Click to collapse
I did not really bother trying to find the answer. But someone who uses Android in my family tried to send me a few clips of music that I really really wanted to hear. Now ofcourse I have got it via bluetooth and that I can access. However, he sent a few more by email as my bluetooth transfer was slow. I had presumed I can find these songs in the same place. BUT nope!
However, here is my progress.
File explorer -> Applications data -> Volatile -> Email attachments -> go to each folder. Each folder represents one attachment.
So I was happy after posting this that I found where the attachments are.
However, when I copy and paste the same under my Zune contents, I cannot see it in my Zune Hub and cannot ofcourse play it from Zune hub!
Zune on the phone uses a database of media files. Merely moving your files under \My Documents\Zune\Content\* isn't going to help. The only way that I know of to add arbitrary files is to copy them to the PC, then sync them using the PC Zune software. Nobody has yet figured out how to do it more directly, although I'm sure it's possible.
Mounting the phone as USB Mass Storage is just not even vaguely likely to happen. The amount of driver writing and re-configuration that would be needed... I don't think you realize what you're asking for. There are deinitely options, though; for example, my Root Webserver app lets you browse the phone's filesystem (including uplodaing and downloading files) from your PC. You just have to use a web browser instead of a traditional file manager.
GoodDayToDie said:
Zune on the phone uses a database of media files. Merely moving your files under \My Documents\Zune\Content\* isn't going to help. The only way that I know of to add arbitrary files is to copy them to the PC, then sync them using the PC Zune software. Nobody has yet figured out how to do it more directly, although I'm sure it's possible.
Mounting the phone as USB Mass Storage is just not even vaguely likely to happen. The amount of driver writing and re-configuration that would be needed... I don't think you realize what you're asking for. There are deinitely options, though; for example, my Root Webserver app lets you browse the phone's filesystem (including uplodaing and downloading files) from your PC. You just have to use a web browser instead of a traditional file manager.
Click to expand...
Click to collapse
That does add some light to the scenario! Thanks!
So does that mean that even though we do have homebrew file explorers, we cannot really control our attachments i.e. sandbox issue? I have realised in last two days that our file explorer functionally isn't same as those traditional WM6.5 or Android ones. Hence theoratically speaking yes we do have file explorer but not to its full functionality..which leads me to another question. So ideally what do you use your file explorer for?
Aside from aiding my research and testing my hacks, here are a few things I use file browsers for:
Copying ebook files (.MOBI and .PRC) to the Kindle directory.
Manually editing the Marketplace configuration files (for example, some downloads are even bigger than the 200 MB that Marketplace Config will allow you to specify).
Freeing up space on the phone's storage (deleting temprorary files of my choosing, rather than simply purging the whole phone).
Backing up application data to my PC.
Turning music files into ringtones/alarms/etc.
A number of these can currently be automated using apps, and there are others that could be more useful to other people, but that's what I've found to be useful.
Content Transfer
Well I have been in same situation , I went with wifi transfer option,caz its quite secured and helpful for content transfer, like you can use smartIO App, which is good op
drupad2drupad said:
How do you get to transfer in the easiest way - songs from an android device to a fully unlocked Nokia Lumia 710?
also..
Where do the attachments in my hotmail get saved on my local phone storage? I have fully unlocked L710 and HTC Titan. Someone sent me a few clips attached to hotmail. I can play it from my email attachment but would like to find the folder where it is locally stored after download, and then be able to play the content from Zune. Is there any homebrew app for such file management? I have File Explorer, but don't know where these attachments can be found, then moved so that they are playable in Zune Hub.
Click to expand...
Click to collapse

[Q] Need the help for application

I don't know whether to ask it here or not.
Want to know that is there any way of hiding the apps and folder other then putting period(.) before file name or folder
I want to do it parametrically I just want to know the way or anyidea about it other then above one
I am working on app which is password protected and have to take care that hidden files once hidden that are even not visible to root users without that application.
So it here any way of doing this in external memory card.
Please provide me with solution or coding reference if you have.
Note that I am not asking for any android application that available in android market
Click to expand...
Click to collapse
dykhatri said:
I don't know whether to ask it here or not.
Want to know that is there any way of hiding the apps and folder other then putting period(.) before file name or folder
I want to do it parametrically I just want to know the way or anyidea about it other then above one
I am working on app which is password protected and have to take care that hidden files once hidden that are even not visible to root users without that application.
So it here any way of doing this in external memory card.
Please provide me with solution or coding reference if you have.
Click to expand...
Click to collapse
When we speak about media files:
an empty < no media > file, in a folder,
ussualy solves the problem of visibility, for other-media focused-on board apps,
I presume is not what you have in mind,
The ussual way-the apps are protecting their data-in windows for example,
is to create their own file format, like: .cpt, .dat, etc...
Files on an external sdcard are recognised by the strings to them,
and thus known to the index...
but when you remove those strings,
you ussualy destroy also the files structure
although he files themselves still do exist...
In my humble opinion, only the separate,encrypted partition on an sdcard,
along with internal file format, may provide
efficient level of security that you seek for your app...
There surely always will be an app, able to see hidden contents,
especially on removable media,
but to be able to see it- is one thing,
and the ability to read its contents- is a completely different story...
asgardr said:
When we speak about media files:
an empty < no media > file, in a folder,
ussualy solves the problem of visibility, for other-media focused-on board apps,
I presume is not what you have in mind,
The ussual way-the apps are protecting their data-in windows for example,
is to create their own file format, like: .cpt, .dat, etc...
Files on an external sdcard are recognised by the strings to them,
and thus known to the index...
but when you remove those strings,
you ussualy destroy also the files structure
although he files themselves still do exist...
In my humble opinion, only the separate,encrypted partition on an sdcard,
along with internal file format, may provide
efficient level of security that you seek for your app...
There surely always will be an app, able to see hidden contents,
especially on removable media,
but to be able to see it- is one thing,
and the ability to read its contents- is a completely different story...
Click to expand...
Click to collapse
What you have said makes seance to me sir but I forgot to mention here that I am only taking about android mobile OS specially. I am making application specially for android mobiles.I am not concern about another whether i can be display in PC or not that is not my concern.
can you have any idea for that
dykhatri said:
What you have said makes seance to me sir but I forgot to mention here that I am only taking about android mobile OS specially. I am making application specially for android mobiles.I am not concern about another whether i can be display in PC or not that is not my concern.
can you have any idea for that
Click to expand...
Click to collapse
1.there is always a possibility that something hidden locally- on board of your device-
could be found through a computer connection,
so if you wanted app sensitive data to be secure, this aspect should also be taken into consideration...
2. windows is just an example:
some dependancies are similar throughout many other systems- just because they work as expected...
An internal file format and file encription is to be found in some of the android apps as well

Android 11 and .nomedia file

I was about to post a question about this, but I just figured this out myself. My phone recently updated to Android 11. I have an SD-Card which has music on it - along with a lot of album art. Since the update, all these album art photos have been cluttering up my gallery. Every time I add a .nomedia file in here (which also was there before the update), it seems to get automatically deleted (no, not hidden). I tried copying a .nomedia file from elsewhere on the phone. I even tried popping out the SD-Card and adding the file via PC. As soon as Android touches it, it deletes the file again.
So, here is the issue. With Android 11, it is creating some default folders (I wish it wouldn't clutter up things with these empty folders that I never need or use). Those default folders include: Music, Pictures, Movies. These are created at the top level on the SD-Card and on internal storage. So, if you are also using one of those folders for something, it's going to auto delete the .nomedia file. In my case, I just moved my music into a Musics folder instead(and ensured it has a .nomedia file, of course.
Hopefully this will save someone else from wasting their time trying to figure out why this is happening!
pacaveli420 said:
I was about to post a question about this, but I just figured this out myself. My phone recently updated to Android 11. I have an SD-Card which has music on it - along with a lot of album art. Since the update, all these album art photos have been cluttering up my gallery. Every time I add a .nomedia file in here (which also was there before the update), it seems to get automatically deleted (no, not hidden). I tried copying a .nomedia file from elsewhere on the phone. I even tried popping out the SD-Card and adding the file via PC. As soon as Android touches it, it deletes the file again.
So, here is the issue. With Android 11, it is creating some default folders (I wish it wouldn't clutter up things with these empty folders that I never need or use). Those default folders include: Music, Pictures, Movies. These are created at the top level on the SD-Card and on internal storage. So, if you are also using one of those folders for something, it's going to auto delete the .nomedia file. In my case, I just moved my music into a Musics folder instead(and ensured it has a .nomedia file, of course.
Hopefully this will save someone else from wasting their time trying to figure out why this is happening!
Click to expand...
Click to collapse
This makes no sense, please explain in more detail.
android1977 said:
This makes no sense, please explain in more detail.
Click to expand...
Click to collapse
If you're storing your music files in any of the default folders, Android is going to auto delete your .nomedia file if you try to put one there. Ergo, the solution is you need to store your music in a folder named something else.
pacaveli420 said:
If you're storing your music files in any of the default folders, Android is going to auto delete your .nomedia file if you try to put one there. Ergo, the solution is you need to store your music in a folder named something else.
Click to expand...
Click to collapse
Thanks that's what I did and got lucky, I was so desperate I signed up to XDA just to comment I gotta say XDA I love your site and been reading for a couple year's now, enjoy the information provided, thanks guy's for all your hard work
pacaveli420 said:
If you're storing your music files in any of the default folders, Android is going to auto delete your .nomedia file if you try to put one there. Ergo, the solution is you need to store your music in a folder named something else.
Click to expand...
Click to collapse
Thank you for saving my media library! I've been tortured by this issue since using the new phone, finally!
hello, i just get Android 11 on my MI A3, and those folders ( music, pictures, movies )appears on my sd card, they are useless for me, is there a way to delete them?
before Android 11, i didn't have this problem because i choosed " use sd as external support " instead of "use sd as extended memory" when inserting the sd card, but now even if i make the same choice, the folders are there and i can't delete them.
Sort of off topic but not really:
How do I stop it from creating these default folders? It's extremely annoying. I don't have my SD card structured that way and never have. I've deleted the default music, movies, etc folders numerous times now as they just clutter up the root directory and they keep reappearing. Is there a solution to this?
This seems to be a part of Android 11s default folder structure which no one ever bothered to do something about. I wouldn't be surprised if it's there for "security reasons" as well as a communist one. As in you only have the option to use these "secure" folders or else it won't show up in your apps at all.
This might be a way for Google to slowly faze out SDCards entirely while only giving you the option to use said folders for your "private" stuff akin to how IOS (kinda) works. In other words, they are doing it on purpose and no one ever bothered to read the fine print.
Obviously private music and other media collections is the root (see what I did there) cause of the problem. They don't want you to have those at all, And want you to use streaming services instead (tinfoil hat). Which is probably what these folders will probably end up being used for.
Netflix and Spotify allow you to store music on your device, but it's encrypted and will probably end up there at some point in Androids lifecycle. Obviously these files don't need .nomedia since the files are encrypted and will only show up in said app either way which makes the above meaningless.
Most of this is speculation obviously, but we've slowly been moving towards this trend if you look at how System apps were split into app and priv-app and so on. At some point in time only certain apps that has had the blessing of Google will be allowed to read anything off your storage. This happened with Chrome not to long ago where they blocked side-loaded extensions from running.
You will slowly see Android turning into IOS because they (Google) and big-tech in general wants 100% control of what you can and can't do. And everything based on AOSP or LOS is gonna follow suit because no one gives a flying fudge because that's too bothersome. The fragmentation of custom builds based on LOS/AOSP in general already shows that this has always been the case for the last 10 years. Linux in general is no different either as can be seen with wokeism. Except that was through decimation via woke people and not big-tech.
I was going crazy thinking this issue was specific to my samsung's stock rom. I started searching about this once I noticed it on LOS 18. Glad I'm not alone
I tend to be a little OCD about my folder structures but at this point I don't mind making a separate folder to avoid album arts in my gallery.
I believe I found a solution to this. It's been about a week or two with no further incident now. My solution was to delete the default folders from the root of the SD card because I don't use them, then create blank files that used those names. Haven't had a problem since.
I use the top level pictures folder because of a compatibility issue with programs that have small file path character limits that cause the program to hang. I don't use them anymore but I haven't had a reason to move it back where I had it previously and that would only make the default folder issue worse if I did. Or at least it would have until now with this discovery.
I do not use the movies and music folders, and if I move my pictures folder back where I had it I won't use that one either. Having them pop up on their own to clutter my root directory on both my SD card and my phone itself was very annoying. After deleting the movies and music folders off of the root of my SD card for the billionth time and getting rid of the empty default folders on my phone again, I created two blank files on my SD card root called Music and Movies. Ever since then the default folders haven't reappeared. On top of that, it hasn't created any ".thumbnails" folders all over the place like it always used to do either. That includes doing so on the internal phone storage. Creating those files on the SD card seems to have broken the whole process. I imagine the same would work vice versa for OP since it sounds like they use those default folders. Find an empty default folder on internal storage, delete it, create a file and name it the name of the folder you deleted (case sensitive), and that should disable the annoying default folder management process too. I can't vouch for that method, but I can vouch for it working when you do so on the SD card.
I just noticed this today on my tab s7+.
From what I can tell, the .nomedia file nolonger does anything on its own. However, if I add the .nomedia file to a folder, then rename the folder placing a . in front, of course it hides the entire folder. When I rename the folder again, removing the ., the .nomedia file now works. No matter how many times I rename the folder, the gallery does not see it until I remove the .nomedia file.
pool_shark said:
I just noticed this today on my tab s7+.
From what I can tell, the .nomedia file nolonger does anything on its own. However, if I add the .nomedia file to a folder, then rename the folder placing a . in front, of course it hides the entire folder. When I rename the folder again, removing the ., the .nomedia file now works. No matter how many times I rename the folder, the gallery does not see it until I remove the .nomedia file.
Click to expand...
Click to collapse
thank you pool shark.. i tried what you did/suggested and it worked. thanks.

Categories

Resources