Connecting Kubuntu adb to sony xperia z5 for debugging


In my case i had sony z5

lsusb output

Bus 003 Device 010: ID 0fce:51da Sony Ericsson Mobile

step to do this :

  1. CONNECT YOUR DEVICE WITH  OPTION DEBUG ACTIVATED
  2. CHECK IF YOU DEVICES IS LISTED IN THIS FILE /etc/udev/rules.d/51-android.rules
  3. CONNECT YOUR ANDROID PHONE TO USB , AND ACCEPT THE FINGERPRINT!!!
  4. USE ADB TO DEBUG YOUR PHONE

 

1  FIRST STEP : TAP SOME TIMES HERE

enable-developer-mode-in-android-6-0-marshmallow

NOW YOU HAVE THE DEVELOPERS OPTION SO ===>

usb-debugging-on-android-3-0

2 STEP

exectute this command
 cat /etc/udev/rules.d/51-android.rules | grep -A1 -i sony

you should get this

cat /etc/udev/rules.d/51-android.rules | grep -A1 -i sony
#Sony Ericsson
SUBSYSTEM==usb, SYSFS{idVendor}==0fce, MODE=0664, GROUP=plugdev

 

3 STEP

connect and   accept this

 

adb_fingerprint

4 STEP

 

now you should be able to do this

sudo adb devices -l

List of devices attached 
CB5A286TNS device usb:3-1 product:E5823 model:E5823 device:E5823

ok now you can log with

 adb logcat

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: