How to Patch the Glitchy Mic on Your OnePlus One to Use "Okay, Google" Commands Anywhere
Thanks to a recent back-end update to Google's Search app, every KitKat-running device can use "Okay, Google" from within any app—even the lock screen. However, the default settings for the OnePlus One's mic leave it unable to detect your voice unless you have it right up to your face. That isn't a good look for anyone, but thankfully there is an easy fix to get this working correctly.
Open up ES File Explorer and navigate to /system/etc/, then open mixer_paths.xml and use ES Note Editor to edit.
Step 2: Edit the File
Once open, scroll down until you see <!-- Analog input devices -->. Tap edit from the drop-down menu and change the values to match the screenshot below. Essentially, you'll be changing the "main mic" value to 100.
Step 3: Save & Reboot
Save your changes, reboot your One, and you will be all set. If you get any errors when saving, tap Root Explorer from the slide out menu and make sure /system/ has RW permission.
Your OnePlus One will now be able to pick up your voice no matter what app you are in, as long as it is within arms length of your face.