Can not access files in any folder on Samsung Galaxy SII

5,822

Solution 1

While USB Debugging option is disabled Samsung Galaxy SII is working as a MTP device and in this case Ubuntu can not see files on the phone. When I enable USB debugging option and connect my phone with USB cable Ubuntu recognise my phone as USB mass storage device and I can access my files.

Solution 2

The way to get direct USB access to files on the Galaxy is as posted here: http://www.tuxtrix.com/2011/07/how-to-access-samsung-galaxy-s-ii-usb.html

This is not about USB debugging but simple telling the Galaxy to connect its storage to PC via USB:

On the Galaxy do: Menu -> Settings -> Wireless and network -> USB utilities -> Connect Storage to PC

Solution 3

Could not get Galaxy SII to work via Kies wireless or plugged in to USB directly on Ubuntu 11.10. As others mentioned, the way I fixed was going to "Settings>Applications>Development>Turn on USB debugging" on my phone and then reconnecting with USB cable to my laptop. I put my music in '/media/audio' (copied from my local ~/music folder) and it just worked! Kies would be nice to get working though, so I wouldn't even need a cable...it connects and I can see all my content...it just won't upload anything. Thanks for the answers guys, this has been bugging me for weeks since I got my S II.

Solution 4

On my S4 mini, even after enabling USB debugging, the phone was connected as a "MTP" device, and I couldn't see any files on it.

In the phone's "Notifications", I had to tap on "Connected as a Media device", and change that to "Connect as Camera (PTP)".

Then, I could see the files under ~/.gvfs/...

Solution 5

I got it working this way. On your Galaxy tab go to :Settings->Wireless&Network->USB Settings-> select Mass Storage. Then connect the Galaxy tab to your computer and select "mount"

Share:
5,822
Adam
Author by

Adam

Updated on September 18, 2022

Comments

  • Adam
    Adam almost 2 years

    I posted similar question recently but nobody helped me. So I'll try to explain my problem better than before.

    So I read some text from one file (this file may include more words) and then I read text from second file (this file always includes one word which is the same as one word in first file). Text in both files may be different everytime.

    So for example:

    First string contains: black blue yellow red green

    Second string contains: yellow

    Then I make spinner from first string, so spinner contains in this example these words (black blue yellow red green), so default option is black (coz it is first in my array), but I need to make third position as default in my spinner in this example, because second string contains yellow and yellow is on the third position in my spinner.

    How can I make it without repopulating spinner?

    btw. these strings are only example. Files may always includes different words than before.

    Solution:

    s1.setSelection(getIndex(s1, prefNameCurGOV));
    

    and then:

    private int getIndex(Spinner s1, String prefNameCurGOV){
    
            int index = 0;
    
            for (int i=0;i<s1.getCount();i++){
                if (s1.getItemAtPosition(i).equals(prefNameCurGOV)){
                    index = i;
                }
            }
            return index;
    
    • Uri Herrera
      Uri Herrera over 12 years
      Have you connected the SGSII via Mass storage?, i get Filesystem 11GB when i connect mine.
    • Olcay Ertaş
      Olcay Ertaş over 12 years
      It is connected as MTP.
    • Uri Herrera
      Uri Herrera over 12 years
      Got to Settings>Applications>Turn on USB debugging mode. I don't really remember how was it with Samsung ROM's as I'm Using MIUI but look trhough the Application settings and the Storage Settings.
    • Uri Herrera
      Uri Herrera over 12 years
      A workaround would be to use Kies Airweb interface , so you can connect through a web browser and download your files to your PC.
  • Adam
    Adam over 12 years
    Hm, it should work only if I had 2 spinners. But I have only one spinner, created from first string.
  • Adam
    Adam over 12 years
    OK I edited code and it works, thank you, you can see solution up.
  • Olcay Ertaş
    Olcay Ertaş over 12 years
    You are talking about ICS way
  • Mittenchops
    Mittenchops about 11 years
    I don't have "USB Utilities" in my options.
  • user13107
    user13107 about 9 years
    this worked for me, but i had to disable-reenable USB debugging mode multiple times and even restart the phone once!