[Q] What is the purpose of /sdcard/usbStorage ? - Galaxy S II Q&A, Help & Troubleshooting

All is in the title ...
I noticed a folder called usbStorage/ in the /sdcard/ folder.
When i put a picture or a mp3 there, it desappears from gallery or music app.
Do you know the purpose oh this folder ?
Thanks,

sicopat said:
All is in the title ...
I noticed a folder called usbStorage/ in the /sdcard/ folder.
When i put a picture or a mp3 there, it desappears from gallery or music app.
Do you know the purpose oh this folder ?
Thanks,
Click to expand...
Click to collapse
Usb memory items show there when you plug it via usb otg.

Thanks,
So this folder is used when i use the usb host fonction oh miniusb ?

Related

3D Gallery App - Select Viewable Folders?

I've 800/900 songs on my phone each has an attached "album art" image (due to the way I had to format them for my Sansa Fuse, each song in a folder with album art) any to get to the point of this thread, the gallery app shows everything, caches the lot, I don't want to see millions of pictures of the same thing, I just want to be albe to ignore these folders & just show my camera/wallpapers/whatever else I choose, not every image on my phone
Please tell me there is a way to do it, or point in the direction of an app that will perform the way I want it
Surely this has been raised before, but I can't find it mentioned
put a . (dot) at the start of the folder name and it tells the lynix based android system that it is a hidden folder and then it will not show in the gallery.
Cheers Lenny, but as I mentioned above, that would be 800/900 folders I'd have to edit, I'd prefer to select the folders I want to view and would the dot prevent my music apps from seeing the folders too?
I could go back and re format all my music just to have one album art image in, but I'd rather not & the extra folders would still show up
Apologies for the bad grammar & spelling the in the previous post the edit function here seems to be very aggressive
if your running windows there is a way to rename folders on mass, can't remember how though its been years since I did it.
Lennyuk said:
put a . (dot) at the start of the folder name and it tells the lynix based android system that it is a hidden folder and then it will not show in the gallery.
Click to expand...
Click to collapse
This worked, as a test of the theory. I'd a folder named MP3 on my card containing them all, I moved that into the .mixzing folder (couldn't rename MP3 Folder to .MP3 windows won't let you), but the only problem with that is now there appears to be no music on my card, Gallery works perfect as predicted
The .mixzing folder is not selectable by MixZing.....
Archie The Leper said:
This worked, as a test of the theory. I'd a folder named MP3 on my card containing them all, I moved that into the .mixzing folder (couldn't rename MP3 Folder to .MP3 windows won't let you), but the only problem with that is now there appears to be no music on my card, Gallery works perfect as predicted
The .mixzing folder is not selectable by MixZing.....
Click to expand...
Click to collapse
ah never thought that far ahead. you can still play the files using something like astro though (as a not so perfect workaround for the time being).
Try adding a file in the directory you want ignored with the filename '.nomedia' The gallery will ignores these folders. (Works for music and videos too)
dingatron said:
Try adding a file in the directory you want ignored with the filename '.nomedia' The gallery will ignores these folders. (Works for music and videos too)
Click to expand...
Click to collapse
Don't make this mistake.. his will simply delete the files!
In theory, that should work, but i experienced many problem with this .nomedia file:
http://code.google.com/p/android/issues/detail?id=3692
http://code.google.com/p/android/issues/detail?id=3129
dingatron said:
Try adding a file in the directory you want ignored with the filename '.nomedia' The gallery will ignores these folders. (Works for music and videos too)
Click to expand...
Click to collapse
profete162 said:
Don't make this mistake
Click to expand...
Click to collapse
No, no I won't, 800/900 .nomedia files, which, no doubt, will hide the the mp3 file too
Try this so that your music files are not deleted:
1. Backup your folder that contains all the music and album art onto your pc.
2. in the PARENT directory of the 800/900 folders put a file in there called ".noimage" (without the quotes).
3. now your album art shouldn't show up in pictures, but your mp3's will come up in the player.
4. If it does delete the music/album art after a restart, then keep the .noimage file in the parent folder and then put your files back from the PC.
5. if you don't have the 800/900 files in a seperate parent folder then do so.
6. let me know how you get on. but please make sure you have backed up your media.
Put a new txt file into the folder, remaned it with Astro File manager, Windows won't let you do that, images still in Gallery, still no luck Bad4ss, thanks for trying
It didn't delete the music by the way
*ignore*
I will try something else.
profete162 said:
Don't make this mistake.. his will simply delete the files!
In theory, that should work, but i experienced many problem with this .nomedia file:
http://code.google.com/p/android/issues/detail?id=3692
http://code.google.com/p/android/issues/detail?id=3129
Click to expand...
Click to collapse
Please explain to me where it does delete the files when you place .nomedia?:
Code:
// ignore directories that contain a ".nomedia" file
if (pathRemaining >= 8 /* strlen(".nomedia") */ ) {
strcpy(fileSpot, ".nomedia");
if (access(path, F_OK) == 0) {
LOGD("found .nomedia, skipping directory\n");
return OK;
}
// restore path
fileSpot[0] = 0;
}
Please do so sir...
I've never really taken a look at the android source code but are you even sure that's the _ONLY_ code related to .nomedia in the entire project?
There is something that deletes those files and it does seem related to .nomedia according to all those reports.
us1111 said:
Please explain to me where it does delete the files when you place .nomedia?:
Please do so sir...
Click to expand...
Click to collapse
Are you telling all the people complaining in Google code are liars?
I don't want you to have the same issue than me ( 1.2 Gb of beautiful holidays pictures that were lost with a .nomedia file in the same directory.
I tried to mount the SDCard on a mac and a PC and both of them showed an empty directory!
I succes to get back my pictures with some tools for getting back files on a formated disk!
I don't care about what you thinbk, i just told my story so that don't happen to other users! Feel free to say i'm a fool, but so.. i am not alone!
When a ".nomedia" file is added to a directory that has already been
scanned by the media scanner, any jpg and gif files in that directory and
all sub directories will be deleted.
Click to expand...
Click to collapse
I just had the same experience with video files (*.mp4) deleted from a folder when I've
put the .nomedia file in it and the videos were already indexed by the Media Scanner.
So it seems this issue is general for all file types.
Click to expand...
Click to collapse
Have the same issue using Android 1.6.
Click to expand...
Click to collapse
This is serious. I have lost files I can't replace because of this. Managed to rescue
some through undelete. Please fix and force phone firmware providers to rush out the
fix imediately
Click to expand...
Click to collapse
I too have noticed undesirable behaviour when using the .nomedia file. Indeed, as
metago.inc states, when images or movieclips are added after the .nomedia file, these
files do not get deleted.
Click to expand...
Click to collapse
This is the most serious issue I have found on the Android platform and, in my
opinion, should be addressed immediately so people stop having important files
arbitrarily deleted by the OS.
Click to expand...
Click to collapse
This is huge. What I don't understand is why the media scan even has code to delete
files.
Click to expand...
Click to collapse
and more and more
profete162 said:
Are you telling all the people complaining in Google code are liars?
I don't want you to have the same issue than me ( 1.2 Gb of beautiful holidays pictures that were lost with a .nomedia file in the same directory.
I tried to mount the SDCard on a mac and a PC and both of them showed an empty directory!
I succes to get back my pictures with some tools for getting back files on a formated disk!
I don't care about what you thinbk, i just told my story so that don't happen to other users! Feel free to say i'm a fool, but so.. i am not alone!
and more and more
Click to expand...
Click to collapse
WOW.. This is unbelievable.. Sorry for my assumption and possible misdirection, i have a HTC hero without problems and I checked the source so I thought no problem but after some more research it appears that the problem starts even at some other hero users..
us1111 said:
WOW.. This is unbelievable.. Sorry for my assumption and possible misdirection, i have a HTC hero without problems and I checked the source so I thought no problem but after some more research it appears that the problem starts even at some other hero users..
Click to expand...
Click to collapse
The code you were looking for in your first post was this
The above is pretty standard. So how does this delete files off the SD card? When a row is deleted from the table there is a little piece of code that's run called a trigger. The trigger is defined earlier in this file
Click to expand...
Click to collapse
Code:
db.execSQL("CREATE TRIGGER IF NOT EXISTS images_cleanup DELETE ON images " +
"BEGIN " +
"DELETE FROM thumbnails WHERE image_id = old._id;" +
"SELECT _DELETE_FILE(old._data);" +
"END");
i used a program named "Mp3tag" and included the albumart into the files. It will take some time but i found it the best soloution.
Is there any sucessful tweak or alternative to the 3D gallery?
Gallery Excluder.
http://forum.xda-developers.com/showthread.php?t=1063358

Help Me!

Hi all!
I just buy LG Omptimus One. I like it. But i have a problem with its. because it can't display picture (copy from PC) on Sdcard when i run gallery, but picture that i capture by camera is ok . Why and How do i fix it!?
Thanks all!
PS: I use room Primev2.
please tell me why !
When you running gallery to see the pictures you copy from the computer to phone sd card, does the USB storage still connected? If yes, disconnect it, and try opening gallery again. If no, where did you copy it? Are there file named .nomedia in that directory?
And please, make the thread title more clearer. Help Me! Cannot view pictures copied from computer is better than just Help Me! IMHO.
gugler said:
When you running gallery to see the pictures you copy from the computer to phone sd card, does the USB storage still connected? If yes, disconnect it, and try opening gallery again. If no, where did you copy it? Are there file named .nomedia in that directory?
And please, make the thread title more clearer. Help Me! Cannot view pictures copied from computer is better than just Help Me! IMHO.
Click to expand...
Click to collapse
Oh thanks, I'm newbie
I copy picture at folder Wallpapers (I make new folder). I think Gallery will scan all picture in sdcard to display, but it will not (of cause, i checked in my folder doesn't file named ".nomedia". When i run gallary, i don't connect my phone with PC. Help me!
Have you try another application to view it? Like using file manager. Just to make sure that the files is accessible.
you should try to put images into camera's folder (folder name is DCIM)
irondevil said:
you should try to put images into camera's folder (folder name is DCIM)
Click to expand...
Click to collapse
It doesn't matter where you put it, it will detect images and multimedia from gallery.
alphaxht said:
Hi all!
I just buy LG Omptimus One. I like it. But i have a problem with its. because it can't display picture (copy from PC) on Sdcard when i run gallery, but picture that i capture by camera is ok . Why and How do i fix it!?
Thanks all!
PS: I use room Primev2.
Click to expand...
Click to collapse
Hi,
I quite didnt understand. Is it that you cant see the thumbnails of the pics (that u copied) in the gallery or is it that you cant see even the pics(the names of the pictures) in the gallery?
Try putting the images in a location easier to find such as the root of your sd card and see if that works.
What format are the images you are trying to put on your sd card? Most formats are supported but just in case of incompatiability images. The resolution of the image may also be a factor.
My first word is thanks all
X-jo said:
It doesn't matter where you put it, it will detect images and multimedia from gallery.
Click to expand...
Click to collapse
Yes, i think so. But...
irondevil said:
you should try to put images into camera's folder (folder name is DCIM)
Click to expand...
Click to collapse
Oh, I tried.
gugler said:
Have you try another application to view it? Like using file manager. Just to make sure that the files is accessible.
Click to expand...
Click to collapse
Yes, i checked. I can view picture by a manager software (Astro).
X-jo said:
Hi,
I quite didnt understand. Is it that you cant see the thumbnails of the pics (that u copied) in the gallery or is it that you cant see even the pics(the names of the pictures) in the gallery?
Click to expand...
Click to collapse
I mean that i can see the thumbnails of the pics in my Gallery.
AzNxJoHnNy said:
Try putting the images in a location easier to find such as the root of your sd card and see if that works.
What format are the images you are trying to put on your sd card? Most formats are supported but just in case of incompatiability images. The resolution of the image may also be a factor.
Click to expand...
Click to collapse
I promise i chosen pics that my phone supported.

Android Newbie question regarding media transfer (kies or not)

Hello,
I got my first Android Device Samsung Galaxy S2 today after 3.5yrs. iOS.
Now as I want to get away from iTunes I see that I need (???) to install Kies from Samsung.
Is that right?
How do you transfer your media (music,video and photo) from your local HDD's to the Device?
Are you using kies or not and why/when to use Kies and what is the difference if I use Kies or not?
I copied a bunch of .mp3 music via Windows Explorer to my SD card and would like to create a playlist directly from kies on the Device but the option "create playlist on GT-9100" is greyed out!?
Sorry for asking stupid questions but I really would not like to use additional software so plz make me clear why I should use Kies and for which situations!?
Do pictures have to go into the DCIM folder or does the S2 automatically scan the whole CD card?
Music copy and paste to songs / Videos/ folder on external sd card .
all music is AAC+
Never used Kies for transfer and i dont use playlists .
jje
Just copy all of your music from your iTunes folder on your hd and paste it straight to your usb storage on your phone. No need for Kies. It's a terrible program anyway. All your music will automatically added to the phone's music library.
Sent from my GT-I9100 using XDA Premium App
Yes! I hate it already :-(
How do you sort (folder or directory structure) your media files?
How about photo's and albums?
When I copy my picture/photo folder I get the error message in Win Explorer that the Device I copy it onto doesnt support the files (.png) or the Device doesnt support the photo format!?
gessi2000 said:
Yes! I hate it already :-(
How do you sort (folder or directory structure) your media files?
How about photo's and albums?
When I copy my picture/photo folder I get the error message in Win Explorer that the Device I copy it onto doesnt support the files (.png) or the Device doesnt support the photo format!?
Click to expand...
Click to collapse
It does the same for some Video-formats, but I could play them alright
you just copy and paste from your HD to your phone, plug in the USB cable and mass storage device pops up.
make folder called MP3s and put in your music, make one called videos and put in your movies. done. the phone takes care of the rest.

How do you make a folder for photos?

i know this seems like a dumb question but i want to make a album and put pics in there. how do i do this on my phone?
Use astro file manager. You are able to create a new directory (folder) and can move all of your pictures into it.
2nd option... Use za computa!
chesarae.garza said:
i know this seems like a dumb question but i want to make a album and put pics in there. how do i do this on my phone?
Click to expand...
Click to collapse
camera will place it in the default folder.... however, if you download a file manager and create a new folder on the sd card you should be able to move the files from one folder to another and then in the Gallery app it will appear as a separate folder or "gallery". Thats how I have been doing it on my android phones for awhile.
Hope that helps.
DDiaz007 said:
Use astro file manager. You are able to create a new directory (folder) and can move all of your pictures into it.
2nd option... Use za computa!
Click to expand...
Click to collapse
how does this work...i tried doing it in DCIM but no go.
is there an app for it?
i tried the file manager too but im a total noob at all this. sorry for all the questions guys
chesarae.garza said:
how does this work...i tried doing it in DCIM but no go.
is there an app for it?
i tried the file manager too but im a total noob at all this. sorry for all the questions guys
Click to expand...
Click to collapse
Are you having trouble creating a folder or moving the images?
DDiaz007 said:
Are you having trouble creating a folder or moving the images?
Click to expand...
Click to collapse
i created an album called "Girls" and transferred one pic in there to test and the album doesnt come up in Gallery
chesarae.garza said:
i created an album called "Girls" and transferred one pic in there to test and the album doesnt come up in Gallery
Click to expand...
Click to collapse
Use an app called SDRescan.. it'll rescan your SD card you and it should fix that.
DDiaz007 said:
Use an app called SDRescan.. it'll rescan your SD card you and it should fix that.
Click to expand...
Click to collapse
This. Or go into settings-storage then select unmount sd card and then select mount sd card... That is usually what I do.
did both but still a no go...in astro. where exactly am i supposed to add the folder?
Press the menu button when you are on astro. You should see "create directory". I created a folder called media and placed it in the root of the SD card, then I created sub folders within the folder and placed my videos and pictures in there. Everything worked.
There are a lot of file managers out there.
I've always used AndroZip - they have a free and paid version - and still think it's easier than Astro.
I'm sure it's only because I'm used to it, but it's more "Windowsy" - long press to "right click" and you have a paste button that pops up when something is cut or copied.
The multi-select is easier (imo) than Astro's as well.
Not that downloading a billion different file managers will help, but if you're having trouble...
The only place you CANNOT make the folder...
Is inside ANY folder that has a hidden file in it called .nomedia
If you make a new folder in the root of the SD card, you should be fine. You'll still have to force the Gallery to udpate in order to see them though. Fail safe - power down completely, power back up (probably need to disable fastboot first to be 100% sure, but it should reload the SD card at boot either way).
YAHTZEEE!!!!!!
thanks to all the replies!
chesarae.garza said:
YAHTZEEE!!!!!!
Click to expand...
Click to collapse
I take it you did it?
Very good

Image and Video Placing?

is there any way i can put my video/image in a folder in my sdcard and they still won't show up in gallery? the only way to see those image is by file manager?
try rescanning your sd card with sdrescan.
i think u didn't get my question bro, i don't want my certain image and video to show up in the gallery. I want them accessible via file manager only.
Ishan Sardar said:
is there any way i can put my video/image in a folder in my sdcard and they still won't show up in gallery? the only way to see those image is by file manager?
Click to expand...
Click to collapse
Get QuickPic viewer.. even has a password you can enable.
When a folder is hidden it will add a "nomedia." file to the SD folder.
Allowing you to hide it from the media server and gallery.
Or just add a blank file called .nomedia and anything in that folder wont show up in gallery.
Frosty666 said:
Or just add a blank file called .nomedia and anything in that folder wont show up in gallery.
Click to expand...
Click to collapse
now how do i do that? when i try to create a .nomedia folder my pc is saying "you must type a file name" and my root explorer is saying "You cannot create a new folder here because the file system is read only" i tried mounting it as R/W but didnt work???
EDIT: Ah never mind i got it sorted. thanks guys!!

Categories

Resources