On Fairphone 4 LineageOS 23.2 how to get with ADB the *Mic access* state?
Sep 11, 9:11pm
To check the Microphone access state (whether an app has permission to use the microphone) on a Fairphone 4 running LineageOS 23.2 (Android 13-based), you can use ADB (Android Debug Bridge) to query the permission status. Here's how:
Steps to Check Mic Access State via ADB
1. Enable USB Debugging
On your Fairphone 4, go to Settings > About phone > Tap "Build number" 7 times to enable Developer options.
Go to Developer options and enable USB debugging.
Connect your phone to your computer via USB and authorize the debugging connection.
2. Use ADB to Check Mic Permission
Open a terminal/command prompt on your computer and run:
bash
adb shell dumpsys package | grep -A 10 "PERMISSION_MICROPHONE"
This will list all apps and their microphone permission status.
Alternatively, to check for a specific app (replace com.example.app with the app's package name):