Home > Linux > Mounting Samsung Note II on Linux

Mounting Samsung Note II on Linux

I recently got a Samsung Galaxy Note II – my first brand new phone in ten years. Whilst it’s a damn big phone, and Android is new to me (although I’ve been an Android developer for a while now!), I really like it.

One thing that was bugging me is that I couldn’t mount the SD card on Ubuntu when I connected the phone to the laptop for charging.

To mount the SD card, we have to tell the USB subsystem what to do when it detects the phone.

 echo "SUBSYSTEM==\"usb\", SYSFS{idVendor}==\"04e8\", MODE=\"0666\"" >> /etc/udev/rules.d/47-Note2.rules
 chmod 755 /etc/udev/rules.d/47-Note2.rules

After you restart udev, you should be able to mount the phone as if it was any other USB device like a pendrive.

But I don’t have a Note II

Fear not, using lsusb, you can find out the idVendor string. Below is an example.

[nick@calculon ~]$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub
Bus 003 Device 003: ID 8087:07da Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 014: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]
Bus 002 Device 003: ID 04f2:b34c Chicony Electronics Co., Ltd
Bus 003 Device 004: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver

Alternatively you can also look here

TOP