Reputation: 6242
I have installed the mtpfs tools for Ubuntu and mounted the nexus 4 successfully. Here the steps:
sudo apt-get install mtp-tools mtpfs
sudo gedit /etc/udev/rules.d/51-android.rules
added to the file 51-android.rules
:
#LG – Nexus 4
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666"
then
sudo chmod +x /etc/udev/rules.d/51-android.rules
sudo service udev restart
sudo mkdir /media/nexus4
chmod 755 /media/nexus4
sudo mtpfs -o allow_other /media/nexus4
Got everything from this site here.
But unfortunately I can't list the Nexus 4 with adb
, when I run adb devices
I get
adb devices
List of devices attached
But no devices are listed... Do I need to configure anything when I want to access the nexus with adb?
Upvotes: 2
Views: 8141
Reputation: 116
You can try developer options on the device (Nexus 4) and then use "adb devices".
How to enabled developer options? : http://forums.androidcentral.com/google-nexus-4/258607-how-close-turn-off-developer-option-my-nexus-4-a.html
So, you should try:
You should then be able to see in the device list.
Upvotes: 4
Reputation: 4869
worked for me only when I executed adb commands as root,
sudo adb kill-server
sudo adb start-server
Upvotes: 3