[One (M7) Original Android Development] adyscorpius:
Logcat report for mic issue on WhatsApp Voice Notes... It records in aac/m4a format.

--------- beginning of /dev/log/main

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

E/AudioPolicyManagerALSA( 235): unknown stream type

D/ALSAStreamOps( 235): setParameters(): keyRouting with device 0x2

D/ALSAStreamOps( 235): setParameters(): keyRouting with device 0x2

D/ALSADevice( 235): route: devices 0x2 in mode 0

D/ALSADevice( 235): No valid input device: 0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _disdev value Earpiece

D/alsa_ucm( 235): disdev: device Earpiece not enabled, no need to disable

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _enadev value Speaker

D/ALSADevice( 235): switchDevice: mCurTxUCMDevivce DMIC Endfire mCurRxDevDevice Speaker

D/ALSADevice( 235): route: devices 0x2 in mode 0

D/ALSADevice( 235): No valid input device: 0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _enadev value Speaker

D/ALSADevice( 235): switchDevice: mCurTxUCMDevivce DMIC Endfire mCurRxDevDevice Speaker

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _verb value HiFi Lowlatency

D/alsa_ucm( 235): Set mixer controls for Speaker enable 1

D/alsa_ucm( 235): acdb_id 15 cap 1 enable 1

D/alsa_ucm( 235): Set mixer controls for HiFi LowlatencySpeaker enable 1

D/alsa_ucm( 235): Setting mixer control: MI2S_RX Audio Mixer MultiMedia5, value: 1

D/ALSADevice( 235): close: handle 0x40ba6268 h 0x0

D/ALSADevice( 235): open: handle 0x40ba6268, format 0x2

D/ALSADevice( 235): Device value returned is hw:0,40

D/ALSADevice( 235): handle->format: 0x2

D/ALSADevice( 235): setHardwareParams: reqBuffSize 1024 channels 2 sampleRate 48000

D/ALSADevice( 235): setHardwareParams: buffer_size 4096, period_size 1024, period_cnt 4

W/GDataClient( 984): Unable to execute HTTP request.java.net.SocketTimeoutException: Read timed out

D/ContactsSyncAdapter( 984): IO error, ignoring rest of feed

D/ContactsSyncAdapter( 984): java.net.SocketTimeoutException: Read timed out

D/ContactsSyncAdapter( 984):	at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_read(Native Method)

D/ContactsSyncAdapter( 984):	at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:673)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:103)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:191)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:82)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:174)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:180)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:235)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:259)

D/ContactsSyncAdapter( 984):	at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:279)

D/ContactsSyncAdapter( 984):	at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:121)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:428)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:555)

D/ContactsSyncAdapter( 984):	at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)

D/ContactsSyncAdapter( 984):	at android.net.http.AndroidHttpClient.execute(AndroidHttpClient.java:257)

D/ContactsSyncAdapter( 984):	at com.google.android.common.http.GoogleHttpClient.executeWithoutRewriting(GoogleHttpClient.java:202)

D/ContactsSyncAdapter( 984):	at com.google.android.common.http.GoogleHttpClient.execute(GoogleHttpClient.java:259)

D/ContactsSyncAdapter( 984):	at com.google.android.common.http.GoogleHttpClient.execute(GoogleHttpClient.java:312)

D/ContactsSyncAdapter( 984):	at com.google.android.common.gdata2.AndroidGDataClient.createAndExecuteMethod(AndroidGDataClient.java:281)

D/ContactsSyncAdapter( 984):	at com.google.android.syncadapters.HttpsOnlyAndroidGDataClient.createAndExecuteMethod(HttpsOnlyAndroidGDataClient.java:32)

D/ContactsSyncAdapter( 984):	at com.google.android.common.gdata2.AndroidGDataClient.getFeedAsStream(AndroidGDataClient.java:415)

D/ContactsSyncAdapter( 984):	at com.google.wireless.gdata2.client.GDataServiceClient.getParserForFeed(GDataServiceClient.java:108)

D/ContactsSyncAdapter( 984):	at com.google.android.syncadapters.GDataFeedFetcher.fetchFeed(GDataFeedFetcher.java:186)

D/ContactsSyncAdapter( 984):	at com.google.android.syncadapters.GDataFeedFetcher.run(GDataFeedFetcher.java:99)

D/ContactsSyncAdapter( 984):	at com.google.android.syncadapters.contacts.ContactsSyncAdapter$ContactsGDataFeedFetcher.run(ContactsSyncAdapter.java:1423)

D/ContactsSyncAdapter( 984):	at java.lang.Thread.run(Thread.java:841)

D/dalvikvm( 1636): GC_CONCURRENT freed 2166K, 76% free 4538K/18872K, paused 2ms+10ms, total 42ms

D/dalvikvm( 1636): WAIT_FOR_CONCURRENT_GC blocked 28ms

D/AudioHardwareALSA( 235): Add tunnel AWB to audio parameter

D/AudioHardwareALSA( 235): openInputStream: devices 0x400000 format 0x1 channels 12 sampleRate 22050

D/AudioStreamInALSA( 235): standby

D/AudioStreamInALSA( 235): standby

D/ALSADevice( 235): standby: handle 0x40129458 h 0x0

D/AudioStreamInALSA( 235): Checking for musbRecordingState 0

D/AudioHardwareALSA( 235): Closing USB Recording Session as no stream is active

D/AudioUsbALSA( 235): exitRecordingThread

D/AudioUsbALSA( 235): write to fd

D/AudioUsbALSA( 235): pthread join err = 3

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/AudioStreamInALSA( 235): standby

D/AudioStreamInALSA( 235): standby

D/ALSADevice( 235): standby: handle 0x40129458 h 0x0

D/AudioStreamInALSA( 235): Checking for musbRecordingState 0

D/AudioHardwareALSA( 235): Closing USB Recording Session as no stream is active

D/AudioUsbALSA( 235): exitRecordingThread

D/AudioUsbALSA( 235): write to fd

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/AudioSource( 235): Start autoramp from 276000

E/QC_AACENC( 235): component init: role = OMX.qcom.audio.encoder.aac

D/ALSAStreamOps( 235): setParameters(), input_source = 1

D/ALSADevice( 235): s_setInput() : input_source = 1

D/ALSAStreamOps( 235): setParameters(): keyRouting with device 0x400000

D/ALSAStreamOps( 235): setParameters(): keyRouting with device 0x400000

D/ALSADevice( 235): route: devices 0x400000 in mode 0

D/ALSADevice( 235): No valid output device: 0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _disdev value DMIC Endfire

D/alsa_ucm( 235): disdev: device DMIC Endfire not enabled, no need to disable

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _enadev value Speaker DMIC Stereo

D/ALSADevice( 235): switchDevice: mCurTxUCMDevivce Speaker DMIC Stereo mCurRxDevDevice Speaker

D/ALSADevice( 235): route: devices 0x400000 in mode 0

D/ALSADevice( 235): No valid output device: 0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _enadev value Speaker DMIC Stereo

D/ALSADevice( 235): switchDevice: mCurTxUCMDevivce Speaker DMIC Stereo mCurRxDevDevice Speaker

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _enamod value Capture Music

D/alsa_ucm( 235): Set mixer controls for Speaker DMIC Stereo enable 1

D/alsa_ucm( 235): acdb_id 35 cap 2 enable 1

D/alsa_ucm( 235): Set mixer controls for Capture Music enable 1

D/alsa_ucm( 235): Setting mixer control: MultiMedia1 Mixer SLIM_0_TX, value: 1

D/ALSADevice( 235): close: handle 0x40129458 h 0x0

D/ALSADevice( 235): open: handle 0x40129458, format 0x2

D/ALSADevice( 235): Device value returned is hw:0,0

D/ALSADevice( 235): handle->format: 0x2

D/ALSADevice( 235): setHardwareParams: reqBuffSize 2048 channels 2 sampleRate 22050

D/ALSADevice( 235): setHardwareParams: buffer_size 8192, period_size 2048, period_cnt 4

D/ContactsSyncAdapter( 984): getServerDiffs failed due to an IOException

D/ContactsSyncAdapter( 984): FAILURE: processed 1497 records in 196631 ms from feed https://www.google.com/m8/feeds/contacts/mailme@aditsharda.com/base2_property-android_linksto-gprofiles_highresphotos?sz=720, updated time is null

D/ContactsSyncAdapter( 984): getServerDiffs failed - no connection

D/SyncManager( 580): failed sync operation mailme@aditsharda.com u0 (com.google), com.android.contacts, SERVER, earliestRunTime 1362164, reason: AutoSync, SyncResult: stats [ numIoExceptions: 2 numInserts: 1507 numUpdates: 2 numEntries: 1509]

D/AccountTypeManager( 4556): Registering external account type=com.whatsapp, packageName=com.whatsapp

W/ResourceType( 4556): getEntry failing because entryIndex 1252 is beyond type entryCount 77

W/ResourceType( 4556): Failure getting entry for 0x7f0204e4 (t=1 e=1252) in package 0 (error -2147483647)

D/AccountTypeManager( 4556): Registering 1 extension packages

E/ExternalAccountType( 4556): Unsupported attribute readOnly

D/AccountTypeManager( 4556): Registering extension package account type=com.google, dataSet=plus, packageName=com.google.android.apps.plus

I/AccountTypeManager( 4556): Loaded meta-data for 4 account types, 3 accounts in 18ms(wall) 9ms(cpu)

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x4003e580 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40ebfe58 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40128df8 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40105d40 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40105be8 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x401059c0 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40105868 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x4006fc58 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40128fd8 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40128d18 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40faff50 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x403810f0 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40fafc98 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x4006fb78 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x4006fa20 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40fafee0 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x40fafd88 successful

I/OMXNodeInstance( 235): OMX_FreeBuffer for buffer header 0x4003e720 successful

D/AudioStreamInALSA( 235): standby

D/AudioStreamInALSA( 235): standby

D/ALSADevice( 235): standby: handle 0x40129458 h 0x0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _dismod value Capture Music

D/alsa_ucm( 235): Set mixer controls for Capture Music enable 0

D/alsa_ucm( 235): Setting mixer control: MultiMedia1 Mixer SLIM_0_TX, value: 0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _disdev value Speaker DMIC Stereo

D/alsa_ucm( 235): Set mixer controls for Speaker DMIC Stereo enable 0

D/AudioStreamInALSA( 235): Checking for musbRecordingState 0

D/AudioHardwareALSA( 235): Closing USB Recording Session as no stream is active

D/AudioUsbALSA( 235): exitRecordingThread

D/AudioUsbALSA( 235): write to fd

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/AudioUsbALSA( 235): closeDevice handle 0x0

E/QC_AACENC( 235): component_deinit:COMPONENT DEINIT...

E/QC_AACENC( 235): AAC Object getting destroyed comp-deinit=1

E/QC_AACENC( 235): OMX AAC component destroyed

D/AudioStreamInALSA( 235): close

D/AudioStreamInALSA( 235): Deregistering REC bit, musbRecordingState:0

D/AudioStreamInALSA( 235): close

D/AudioHardwareALSA( 235): Closing USB Recording Session as no stream is active

D/AudioUsbALSA( 235): exitRecordingThread

D/AudioUsbALSA( 235): write to fd

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/AudioUsbALSA( 235): closeDevice handle 0x0

D/ALSAStreamOps( 235): close

D/ALSAStreamOps( 235): close() : Found mHandle 0x40129458, proceeding to close

D/ALSADevice( 235): close: handle 0x40129458 h 0x0

D/ALSAStreamOps( 235): close

D/ALSAStreamOps( 235): close() : Found mHandle 0x40129458, proceeding to close

D/ALSADevice( 235): close: handle 0x40129458 h 0x0

D/ALSAStreamOps( 235): setParameters(): keyRouting with device 0x2

D/ALSAStreamOps( 235): setParameters(): keyRouting with device 0x2

D/ALSADevice( 235): route: devices 0x2 in mode 0

D/ALSADevice( 235): No valid input device: 0

D/alsa_ucm( 235): snd_use_case_set(): uc_mgr 0x40137498 identifier _enadev value Speaker

D/alsa_ucm( 235): Set mixer controls for HiFi LowlatencySpeaker enable 1

D/alsa_ucm( 235): Setting mixer control: MI2S_RX Audio Mixer MultiMedia5, value: 1

D/ALSADevice( 235): switchDevice: mCurTxUCMDevivce Speaker DMIC Stereo mCurRxDevDevice Speaker

D/QCUtils ( 235): extended extractor not needed, return default

D/dalvikvm( 1860): GC_CONCURRENT freed 3359K, 12% free 26639K/30096K, paused 2ms+22ms, total 70ms

D/dalvikvm( 1860): WAIT_FOR_CONCURRENT_GC blocked 70ms

D/dalvikvm( 1636): GC_CONCURRENT freed 2219K, 77% free 4381K/18872K, paused 1ms+5ms, total 36ms

D/dalvikvm( 1636): GC_CONCURRENT freed 1640K, 76% free 4673K/18872K, paused 2ms+3ms, total 29ms