Plugging in wired headset opens Google App and changes volume, nonstop


Question

I recently got a ZTE Maven (running Android 5.1). I plugged a headset into the headset jack, and the phone does detect the headset's presence, but after 30 seconds or so it starts to sporadically and repeatedly open the Google App and reduce the phone's volume. It doesn't just do this once, in a way that could be resolved by closing the app and readjusting the volume - it does this continuously, basically locking out the phone and making interaction impossible.



I plugged the same headset into a family member's Galaxy S5 and it works perfectly. A test call revealed no problems.



The headset is a basic PC headset terminating in a TRRS plug. There's no Volume control or "answer/hang up" button or anything; just an earpiece and a mic.



I have tried removing the Google App widget from the home screen as well as disabling voice control within the Google App, to no avail.



What's causing this, and how do I resolve it so that I can use a wired headset with my phone?


Answer

I procured a second wired headset, and it works with the Maven. However, it does not work with the Galaxy S5.


I got out my multimeter and tested each connection on each headset, and found that they are wired differently. The ZTE Maven and my new headset use the CTIA/AHJ standard, and the Galaxy S5 and my old headset use the OMTP standard. The difference between these two standards is that the ground and microphone connections are swapped.


From Wikipedia (formatting added):



OMTP:



  • Tip: Left audio



  • Ring: Right audio



  • Ring: Microphone



  • Sleeve: Ground




old Nokia (and also Lumia starting from the 2nd gen), old Samsung (2012 Chromebooks), old Sony Ericsson (2010 and 2011 Xperias), Sony (PlayStation Vita), OnePlus One, X Box One controller with head phone jack, iPhone sold in China


CTIA / AHJ:



  • Tip: Left audio



  • Ring: Right audio



  • Ring: Ground



  • Sleeve: Microphone




Apple, HTC, LG, Blackberry, latest Nokia (including 1st gen Lumia as well as later models), latest Samsung, Jolla, Sony (Dualshock 4), Microsoft (including Surface and Xbox One controller with chat adapter), most Android phones



My guess is that, when an incorrect headset is used, random noise in the ground connection is sent to the microphone input, which the Galaxy S5 handles gracefully (detects the headset but doesn't receive or transmit any audio) while the Maven does not. This is solved by using a headset of a suitable standard for the given device.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes