31

I just installed Cyanogenmod 11 on an HTC One, and now I'm completely unable to connect to it via USB from my Linux PC, so I'm unable to transfer any more ROM or applications.

How do I enable USB access, similar to the "USB debugging mode" seen in the stock Android ROM? I've looked through the settings, but there's nothing labeled USB.

Cerin
  • 609
  • 3
  • 11
  • 19

6 Answers6

39

Go into settings > about phone

Toward the bottom of the list, you'll see an entry for "Build Number"

Tap it 5 times and you'll see toast pop-up letting you know that the Developer Options have been enabled.

Go back to the main options menu and tap Developer Options and you'll see a tick box for USB Debugging about halfway down the list.

PFitz
  • 575
  • 4
  • 9
1

Here's the best solution:

Go to Settings → tap the search bar and type usb → choose Revoke USB debugging authorisation. And now you can enable Android debugging.

Firelord
  • 25,528
  • 21
  • 129
  • 295
rhexis
  • 19
  • 1
1

Though probably not the case for the HTC One, if you have a new/less frequent model, it may be that you need to add the USB Device ID to ~/.android/adb_usb.ini :

First check the USB Device ID by checking what ID appears when you insert your phone:

$ lsusb
[...]
Bus 001 Device 049: ID 2970:2282  
[...]

Then, add to ~/.android/adb_usb.ini:

echo 0x2970 >> ~/.android/adb_usb.ini

This worked for my newish Wileyfox Storm.

joosteto
  • 11
  • 2
0

Settings -> About Phone -> Repetedly click Build Number -> Go to Developer Options -> Tap on Usb debuging

PSM
  • 101
0

In case some of you have Cyanogen 13 and you wonder where did the USB Debugging option disappear: there is now another option inside Developer options, and it's called "Android Debugging" (and it's disabled by default).

0

Settings -> Storage -> Press Menu -> USB computer connection

shrmn
  • 262
  • 1
  • 5