Thursday, February 9, 2017

How to connect Sony LT25i to Android Studio under Fedora 24

0. Turn on USB debugging mode via Settings > Developer options

1. Connect smartphone to PC via USB and get vendor's id

$ lsusb
...
Bus 003 Device 013: ID 0fce:6186 Sony Ericsson Mobile Communications AB
...

Note: here vendor's id is: 0fce

2. Create udev rules file to allow Fedora to detect device

$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="rdiachenko"

Note: here you need to change GROUP onto your own