Fix SONY Android Walkman not connecting to adb:


Unlike the SONY Xperia Smartphones, the Android Walkman's will give en error when connecting to adb:

$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
001045d235253586        no permissions (missing udev rules? user is in the plugdev group); see [http://developer.android.com/tools/device.html]
To Fix this, follow these steps:
  1. Check device vendor id and product id:
    
    $ lsusb
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 002: ID 06cb:009b Synaptics, Inc.
    Bus 003 Device 003: ID 5986:2127 Bison Electronics Inc. HD Camera
    Bus 003 Device 004: ID 8087:0026 Intel Corp. AX201 Bluetooth
    Bus 003 Device 005: ID 054c:0cf2 Sony Corp. WALKMAN
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    
    Here my android device is Sony Corp. WALKMAN. So mine is vid=054c and pid=0cf2
    .
  2. Now create a udev rule:
    
    $ sudo nano /etc/udev/rules.d/51-android.rules
    
    SUBSYSTEM=="usb", ATTR{idVendor}=="054c", ATTR{idProduct}=="0cf2", MODE="0666", GROUP="plugdev"
    
    Save by Ctrl+X & then Y

  3. Now the device is good to be detected once udev rule is reloaded. So, let's do it:
    $ sudo udevadm control --reload-rules

  4. Unplug the Walkman and plug it back in,

  5. After this, again check if your device is detected by adb:
    
    $ adb devices
    List of devices attached
    001045d235253586        device

  6. Then launch into shell: $ adb shell
Success!

If it still doesn't work, unplug/re-plugin the device.
If it still doesn't work, restart your OS.


Source | Date: July 17th 2024




Back

© 2019 to 2025 Branden Gilfoil & © up to 2025 for respective owners.