Disclaimer

I'm not responsible for anything that may happen to your device. I've tested this mod to the best of my abilities, but I can't guarantee anything. Make a complete backup before applying any of these changes. If you brick your device, boot loop, lose data, or etc...again, I'm not responsible.

Instructions

Recovery

After Installation

Code: 4-14-2015 - New test version for CM12 based ROMs. I believe this should work with most kernels. Version 2.0 - CM11 based ROMs only - Updated mixer_paths.xml with more recent version from CM11 - Deodexed, signed, and zip aligned VoiceWakeup.apk. The app can now bypass the lockscreen on CM11 based ROMs Disabling the lockscreen is still necessary for CM11S ROMs because those keys aren't public - Added a "loud" version. It increases the microphone volume levels to make it more sensitive Version 1.0 - Initial Release

- CM12S YNG1TAS0YL with stock kernel- CM12 nightly with stock kernel- CM11S XNPH30O, XNPH33R, XNPH38R, XNPH44S, and XNPH05Q with stock kernel- CM11, PAC-man, crDroid with most recent kernels- franco r35 kernel- CM12.1 nightly (bootloop)- LiquidSmooth ROM (mediaserver seg faults immediately)- OmniROMAlso, I found a commit in the CM source that adds Voice Wakeup options to the Settings app. If the ROM doesn't have this code compiled into their Settings, the mod will probably not work. You'll still be able to go through the training process, however, I don't believe Google Now will launch because the intent action is never being set.1.) Backup any important data on your phone (files, pictures, etc.)2.) Boot into recovery. I use and have only tested with TWRP3.) Make a nandroid backup4.) Flash the mod5.) RebootIf you encounter any issues (e.g. bootloop) or just want to remove the mod, go into recovery and restore just the System partition from the backup you made earlier (this will preserve your Data partition).After installing, you'll get a notification to enable Voice Wakeup and to train your voice. You can do this now or skip it. It can always be setup later by going to:Settings --> Voice Wakeup --> Retrain your voiceSettings --> Language & Input --> Voice Wakeup --> Retrain your voiceAlso...1.) Go into the Google Now settings and disable "OK Google" detection settings.2.) Disable your lockscreen if on CM11S or CM12S...other CM11/CM12 based ROMs should work fine since the apk is signed correctly. Some users have reported being able to use a 3rd party lockscreen (e.g AcDisplay) as a work around for CM11S.If something is not working for you, I need the following or I can't help...- The ROM you're using (date/version too)- The kernel you're using (date/version too)- A description of the problem- A logcat of the problem in action