麦克风无法使用android 10-需要adb dumpsys帮助
这真的很新,但我的麦克风在我的android 10手机上不工作,通过重置权限,重置设备,但仍然没有运气。尝试通过adb打开和关闭蓝牙,但没有成功 扬声器在Whatsapp/Signal/Duo上工作 Speakphone和麦克风在标准电话通话应用程序上不工作(尝试了不同的应用程序) 除了麦克风不知何故被损坏之外,我感觉手机自动对接,因此什么也没有发生 adb外壳转储系统音频麦克风无法使用android 10-需要adb dumpsys帮助,android,microphone,Android,Microphone,这真的很新,但我的麦克风在我的android 10手机上不工作,通过重置权限,重置设备,但仍然没有运气。尝试通过adb打开和关闭蓝牙,但没有成功 扬声器在Whatsapp/Signal/Duo上工作 Speakphone和麦克风在标准电话通话应用程序上不工作(尝试了不同的应用程序) 除了麦克风不知何故被损坏之外,我感觉手机自动对接,因此什么也没有发生 adb外壳转储系统音频 04-22 21:43:42:913 requestAudioFocus() from uid/pid 1000/1218
04-22 21:43:42:913 requestAudioFocus() from uid/pid 1000/1218 clientId=AudioFocus_For_Phone_Ring_And_Calls callingPack=com.android.server.telecom req=2 flags=0x4 sdk=0
04-22 21:43:43:738 abandonAudioFocus() from uid/pid 1000/1218 clientId=AudioFocus_For_Phone_Ring_And_Calls
04-22 21:44:40:812 requestAudioFocus() from uid/pid 1000/1218 clientId=AudioFocus_For_Phone_Ring_And_Calls callingPack=com.android.server.telecom req=2 flags=0x4 sdk=0
04-22 21:45:02:335 requestAudioFocus() from uid/pid 1000/1218 clientId=AudioFocus_For_Phone_Ring_And_Calls callingPack=com.android.server.telecom req=2 flags=0x4 sdk=0
04-22 21:45:03:148 abandonAudioFocus() from uid/pid 1000/1218 clientId=AudioFocus_For_Phone_Ring_And_Calls
04-22 21:46:25:406 requestAudioFocus() from uid/pid 10110/1427 clientId=android.media.AudioManager@aa52a59 callingPack=com.android.systemui req=3 flags=0x0 sdk=29
04-22 21:46:27:189 abandonAudioFocus() from uid/pid 10110/1427 clientId=android.media.AudioManager@aa52a59
Stream volumes (device: index)
- STREAM_VOICE_CALL:
Muted: false
Min: 1
Max: 7
streamVolume:4
Current: 1 (earpiece): 4, 2 (speaker): 7, 40000000 (default): 6
Devices: earpiece
- STREAM_SYSTEM:
Muted: false
Min: 0
Max: 15
streamVolume:9
Current: 2 (speaker): 9, 40000000 (default): 12
Devices: speaker
- STREAM_RING:
Muted: false
Min: 0
Max: 15
streamVolume:9
Current: 2 (speaker): 9, 40000000 (default): 12
Devices: speaker
- STREAM_MUSIC:
Muted: false
Min: 0
Max: 15
streamVolume:15
Current: 2 (speaker): 15, 4 (headset): 10, 8 (headphone): 10, 80 (bt_a2dp): 15, 4000000 (usb_headset): 2, 40000000 (default): 12
Devices: speaker
- STREAM_ALARM:
Muted: false
Min: 1
Max: 15
streamVolume:12
Current: 40000000 (default): 12
Devices: speaker
- STREAM_NOTIFICATION:
Muted: false
Min: 0
Max: 15
streamVolume:9
Current: 2 (speaker): 9, 40000000 (default): 12
Devices: speaker
- STREAM_BLUETOOTH_SCO:
Muted: false
Min: 0
Max: 15
streamVolume:15
Current: 1 (earpiece): 15, 2 (speaker): 15, 40000000 (default): 7
Devices: earpiece
- STREAM_SYSTEM_ENFORCED:
Muted: false
Min: 0
Max: 15
streamVolume:9
Current: 2 (speaker): 9, 40000000 (default): 12
Devices: speaker
- STREAM_DTMF:
Muted: false
Min: 0
Max: 15
streamVolume:9
Current: 1 (earpiece): 12, 2 (speaker): 9, 40000000 (default): 12
Devices: speaker
- STREAM_TTS:
Muted: false
Min: 0
Max: 15
streamVolume:15
Current: 2 (speaker): 15, 4 (headset): 10, 8 (headphone): 10, 80 (bt_a2dp): 15, 4000000 (usb_headset): 2, 40000000 (default): 12
Devices: speaker
- STREAM_ACCESSIBILITY:
Muted: false
Min: 1
Max: 15
streamVolume:15
Current: 2 (speaker): 15, 4 (headset): 10, 8 (headphone): 10, 80 (bt_a2dp): 15, 4000000 (usb_headset): 2, 40000000 (default): 12
Devices: speaker
- mute affected streams = 0x6f
Ringer mode:
- mode (internal) = NORMAL
- mode (external) = NORMAL
- ringer mode affected streams = 0x1a6 (STREAM_SYSTEM,STREAM_RING,STREAM_NOTIFICATION,STREAM_SYSTEM_ENFORCED,STREAM_DTMF)
- ringer mode muted streams = 0x0
- delegate = ZenModeHelper
Audio routes:
mMainType=0x0
mBluetoothName=null
Other state:
mVolumeController=VolumeController(android.os.BinderProxy@66d4e37,mVisible=false)
mSafeMediaVolumeState=SAFE_MEDIA_VOLUME_ACTIVE
mSafeMediaVolumeIndex=100
mSafeUsbMediaVolumeIndex=20
mSafeUsbMediaVolumeDbfs=-37.0
sIndependentA11yVolume=false
mPendingVolumeCommand=null
mMusicActiveMs=0
mMcc=302
mCameraSoundForced=false
mHasVibrator=true
mVolumePolicy=VolumePolicy[volumeDownToEnterSilent=false,volumeUpToExitSilent=true,doNotDisturbWhenSilent=false,vibrateToSilentDebounce=400]
mAvrcpAbsVolSupported=false
mIsSingleVolume=false
mUseFixedVolume=false
mFixedVolumeDevices=0x2c1c00
mHdmiCecSink=false
mHdmiAudioSystemClient=null
mHdmiPlaybackClient=null
mHdmiTvClient=null
mHdmiSystemAudioSupported=false
Audio policies:
Audio event log: dynamic policy events (logged when command received by AudioService)
PlaybackActivityMonitor dump time: 9:47:34 p.m.
playback listeners:
(S)com.android.server.audio.PlaybackActivityMonitor$PlayMonitorClient@fe93fa4
players:
ID:15 -- type:android.media.SoundPool -- u/pid:1000/1218 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
ID:23 -- type:android.media.SoundPool -- u/pid:10110/1427 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
ID:31 -- type:android.media.MediaPlayer -- u/pid:10186/2871 -- state:stopped -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
ID:39 -- type:android.media.MediaPlayer -- u/pid:10110/1427 -- state:stopped -- attr:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
ID:103 -- type:android.media.MediaPlayer -- u/pid:10116/3912 -- state:idle -- attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
ducked players piids:
muted player piids:
banned uids:
Audio event log: playback activity as reported through PlayerBase
04-22 21:24:50:341 new player piid:15 uid/pid:1000/1218 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
04-22 21:24:51:165 new player piid:23 uid/pid:10110/1427 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
04-22 21:25:00:821 player piid:23 state:started
04-22 21:25:02:054 new player piid:31 uid/pid:10186/2871 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null04-22 21:25:02:055 player piid:31 new AudioAttributes:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
04-22 21:25:26:144 new player piid:39 uid/pid:10110/1427 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null04-22 21:25:26:181 player piid:39 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
04-22 21:25:26:217 player piid:39 state:started
04-22 21:25:26:851 player piid:39 state:stopped
04-22 21:25:43:192 new player piid:47 uid/pid:1000/1218 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
04-22 21:25:43:192 player piid:47 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:25:43:233 player piid:47 state:started
04-22 21:25:44:102 player piid:47 state:stopped
04-22 21:25:44:103 releasing player piid:47
04-22 21:33:05:369 player piid:23 state:started
04-22 21:33:26:381 new player piid:55 uid/pid:10152/3691 type:android.media.SoundPool attr:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:33:28:079 new player piid:63 uid/pid:10152/3691 type:OpenSL ES AudioPlayer (Buffer Queue) attr:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null
04-22 21:33:28:170 player piid:63 state:started
04-22 21:33:28:172 player piid:63 state:stopped
04-22 21:33:28:172 player piid:63 state:started
04-22 21:33:38:697 player piid:63 state:stopped
04-22 21:33:38:786 releasing player piid:63
04-22 21:33:39:655 new player piid:79 uid/pid:10152/3691 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null04-22 21:33:39:655 player piid:79 new AudioAttributes:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
04-22 21:33:39:673 player piid:55 state:started
04-22 21:33:45:197 releasing player piid:79
04-22 21:33:54:720 releasing player piid:55
04-22 21:36:10:355 player piid:23 state:started
04-22 21:36:11:261 player piid:31 state:started
04-22 21:36:11:530 player piid:31 state:stopped
04-22 21:39:00:911 player piid:23 state:started
04-22 21:39:02:028 player piid:31 state:started
04-22 21:39:02:207 player piid:31 state:stopped
04-22 21:39:30:485 new player piid:87 uid/pid:1000/1218 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
04-22 21:39:30:485 player piid:87 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:39:30:529 player piid:87 state:started
04-22 21:39:31:299 player piid:87 state:stopped
04-22 21:39:31:300 releasing player piid:87
04-22 21:39:47:871 new player piid:95 uid/pid:1000/1218 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
04-22 21:39:47:871 player piid:95 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:39:47:915 player piid:95 state:started
04-22 21:39:48:671 player piid:95 state:stopped
04-22 21:39:48:671 releasing player piid:95
04-22 21:39:52:605 player piid:31 state:started
04-22 21:39:52:812 player piid:31 state:stopped
04-22 21:40:00:863 new player piid:103 uid/pid:10116/3912 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
04-22 21:40:01:887 player piid:31 state:started
04-22 21:40:02:082 player piid:31 state:stopped
04-22 21:41:13:005 new player piid:111 uid/pid:1000/1218 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null04-22 21:41:13:005 player piid:111 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:41:13:059 player piid:111 state:started
04-22 21:41:13:845 player piid:111 state:stopped
04-22 21:41:13:845 releasing player piid:111
04-22 21:43:06:864 player piid:23 state:started
04-22 21:43:42:917 new player piid:119 uid/pid:1000/1218 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null04-22 21:43:42:917 player piid:119 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:43:42:962 player piid:119 state:started
04-22 21:43:43:721 player piid:119 state:stopped
04-22 21:43:43:722 releasing player piid:119
04-22 21:45:02:342 new player piid:127 uid/pid:1000/1218 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null04-22 21:45:02:342 player piid:127 new AudioAttributes:AudioAttributes: usage=USAGE_VOICE_COMMUNICATION content=CONTENT_TYPE_SPEECH flags=0x800 tags= bundle=null
04-22 21:45:02:374 player piid:127 state:started
04-22 21:45:03:136 player piid:127 state:stopped
04-22 21:45:03:137 releasing player piid:127
04-22 21:46:25:361 new player piid:135 uid/pid:10110/1427 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x800 tags= bundle=null
04-22 21:46:25:363 player piid:135 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x800 tags= bundle=null
04-22 21:46:25:908 player piid:135 state:started
04-22 21:46:27:189 player piid:135 state:stopped
04-22 21:46:27:191 releasing player piid:135
RecordActivityMonitor dump time: 9:47:34 p.m.
Audio event log: recording activity received by AudioService
04-22 21:33:28:170 rec start riid:71 uid:10152 session:89 src:VOICE_COMMUNICATION pack:com.whatsapp
04-22 21:33:38:780 rec stop riid:71 uid:10152 session:89 src:VOICE_COMMUNICATION pack:com.whatsapp
Event logs:
Audio event log: phone state (logged after successfull call to AudioSystem.setPhoneState(int))
04-22 21:25:13:235 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:25:43:180 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:25:45:001 setMode(MODE_NORMAL) from package=com.android.server.telecom pid=1218 selected mode=MODE_NORMAL by pid=0
04-22 21:33:28:033 setMode(MODE_IN_COMMUNICATION) from package=com.whatsapp pid=3691 selected mode=MODE_IN_COMMUNICATION by pid=3691
04-22 21:33:40:506 setMode(MODE_NORMAL) from package=com.whatsapp pid=3691 selected mode=MODE_NORMAL by pid=0
04-22 21:39:12:745 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:39:30:482 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:39:31:418 setMode(MODE_NORMAL) from package=com.android.server.telecom pid=1218 selected mode=MODE_NORMAL by pid=0
04-22 21:39:32:348 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:39:47:865 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:39:48:786 setMode(MODE_NORMAL) from package=com.android.server.telecom pid=1218 selected mode=MODE_NORMAL by pid=0
04-22 21:40:45:612 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:41:12:989 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:41:13:942 setMode(MODE_NORMAL) from package=com.android.server.telecom pid=1218 selected mode=MODE_NORMAL by pid=0
04-22 21:43:08:048 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:43:42:913 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:43:43:846 setMode(MODE_NORMAL) from package=com.android.server.telecom pid=1218 selected mode=MODE_NORMAL by pid=0
04-22 21:44:40:897 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:45:02:335 setMode(MODE_IN_CALL) from package=com.android.server.telecom pid=1218 selected mode=MODE_IN_CALL by pid=1218
04-22 21:45:03:933 setMode(MODE_NORMAL) from package=com.android.server.telecom pid=1218 selected mode=MODE_NORMAL by pid=0
Audio event log: wired/A2DP/hearing aid device connection
04-22 21:24:55:648 BT profile service: connecting A2DP profile
04-22 21:24:55:879 BT profile service: connecting HEADSET profile
04-22 21:43:33:122 BT profile service: connecting A2DP profile
04-22 21:43:33:169 BT profile service: connecting HEADSET profile
04-22 21:44:17:947 BT profile service: connecting A2DP profile
04-22 21:44:18:012 BT profile service: connecting HEADSET profile
04-22 21:44:29:207 BT profile service: connecting A2DP profile
04-22 21:44:29:266 BT profile service: connecting HEADSET profile
04-22 21:44:33:309 BT profile service: connecting A2DP profile
04-22 21:44:33:354 BT profile service: connecting HEADSET profile
04-22 21:44:39:207 BT profile service: connecting A2DP profile
04-22 21:44:39:282 BT profile service: connecting HEADSET profile
Audio event log: force use (logged before setForceUse() is executed)
04-22 21:43:15:691 setForceUse(FOR_COMMUNICATION, FORCE_SPEAKER) due to setSpeakerphoneOn(true) from u/pid:1000/1218
04-22 21:43:21:014 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:43:40:429 setForceUse(FOR_COMMUNICATION, FORCE_SPEAKER) due to setSpeakerphoneOn(true) from u/pid:1000/1218
04-22 21:43:41:732 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:43:42:941 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1218
04-22 21:43:43:738 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:43:43:741 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:43:43:884 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1218
04-22 21:44:40:825 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:44:40:941 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1218
04-22 21:44:54:302 setForceUse(FOR_COMMUNICATION, FORCE_SPEAKER) due to setSpeakerphoneOn(true) from u/pid:1000/1218
04-22 21:44:56:627 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:44:57:191 setForceUse(FOR_COMMUNICATION, FORCE_SPEAKER) due to setSpeakerphoneOn(true) from u/pid:1000/1218
04-22 21:44:57:811 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:44:58:518 setForceUse(FOR_COMMUNICATION, FORCE_SPEAKER) due to setSpeakerphoneOn(true) from u/pid:1000/1218
04-22 21:45:02:363 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1218
04-22 21:45:03:147 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:45:03:813 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:45:03:935 setForceUse(FOR_COMMUNICATION, FORCE_NONE) due to setSpeakerphoneOn(false) from u/pid:1000/1218
04-22 21:45:03:953 setForceUse(FOR_VIBRATE_RINGING, FORCE_NONE) due to muteRingerModeStreams() from u/pid:1000/1218
Audio event log: volume changes (logged when command received by AudioService)
C:\Users\James\Desktop\platform-tools>adb shell dumpsys audio