Wednesday, November 30, 2022

How to connect Nokia 6.1 phone to ADB (Android Debug Bridge)

Recently I got Nokia 6.1 android phone. ADB was not able to see it after I plugged it in via USB cable. At least not with default drivers that were installed on my Windows 7 machine. In order to make it work i needed to:

  1. Install the Google USB Driver through Android Studio's SDK Manager

  2. Edit the android_winusb.inf file:
    • Go to C:\Users\[User]\AppData\Local\Android\Sdk\extras\google\usb_driver folder
    • Find the file android_winusb.inf 
    • In both [Google.NTx86] and [Google.NTamd64] sections add the following:
      ;Nokia 6.1
      %SingleAdbInterface%    = USB_Install, USB\VID_0489&PID_C001&MI_02
      %CompositeAdbInterface% = USB_Install, USB\VID_0489&PID_C001&REV_0404&MI_02


      These values are obtained from your PC's Device Manager and they should be the same for all Nokia 6.1 devices. Once in Device Manager, Nokia 6.1 should be listed under 'Other devices'. Right-click on it, then select 'Properties'. Under 'Details' tab chose 'Hardware Ids' property.

  3.  Edit the adb_usb.ini file
    • Go to C:\Users\[User]\.android folder
    • Find the file adb_usb.ini
    • Add the line with the following content: 0x0489

  4. 'Install' drivers:
    • Go back to Device Manager and find the Nokia 6.1 there (under 'Other devices'). 
    • Right click, Update drivers and select the folder from the step 2.
     
  5. Restart the ADB

That should be it!


No comments:

Post a Comment