adb Not Working in KitKat

After I got a LG F3 as a backup phone, I started to flash different ROMs for my HTC One X. One recent ROM I tried is KarbonKat. It’s based on CM11, which is a KitKat ROM. The ROM seems to be more stable than the official CM11 nightly that I tried earlier.

One thing I noticed is that the adb command stopped working after I flashed my phone with KarbonKat. My computer does not recognize my One X either. I tried to change the USB mode and finally got it to work.

Here is what I did:

  1. Tap on Settings.
  2. Tap on Storage.
  3. Tap on the settings icon (looks like 3 vertical dots) on the top right corner.
  4. Tap on USB computer connection.
  5. Tap on Media Device (MTP).

I then connected the phone to my computer and adb started to work again.