Getting Started
This guide will walk you through setting up AndroidMic on both your PC and Android device. Follow the steps carefully for your specific platform and connection method.
PC Side Setup
Step 1: Install the Application
Download and install the AndroidMic application for your operating system. See the Download page for platform-specific installation instructions.
Step 2: Configure Output Audio Device
After launching the application, you'll need to select an output audio device from the dropdown list. This device should be connected to a virtual microphone input on your system.
Windows Virtual Microphone Setup
On Windows, you'll need to install virtual audio cable software:
- Virtual Audio Cable: Download from the official website and install
- VB Cable: Free alternative available online
After installation:
- Both software will create virtual input and output audio devices
- Map the output player device to the input microphone device
- Any audio played to the output device will be transferred to the virtual microphone
- Select this output device in AndroidMic
Linux Virtual Microphone Setup
On Linux, use PulseAudio to create a virtual microphone:
- Install PulseAudio if not already installed
- Create a null sink:
pactl load-module module-null-sink sink_name=AndroidMic - Select the AndroidMic sink as your output device in AndroidMic
macOS Virtual Microphone Setup
macOS users can use built-in audio routing or third-party tools like Soundflower or BlackHole to create virtual audio devices.
Step 3: Choose Connection Method
Select how your phone will connect to your PC. You have three options:
WiFi Connection (TCP/UDP)
- Both devices must be on the same WiFi network
- No cables required
- Provides freedom of movement
- Note the IP address and port shown in the PC app log area
USB Serial Connection
- Most stable connection method
- No network required
- Requires USB cable connection
- Windows: Ensure ADB process is closed and Android Studio is not running
- macOS: Should work out of the box
- Linux: Requires udev configuration (see below)
- Samsung phones: May need to use Zadig to change USB driver to WinUSB
- Set phone USB mode to "Charging only"
- App will request permission to launch in accessory mode
USB ADB Connection
- Requires ADB (Android Debug Bridge) installed on your PC
- Enable Developer Options on your Android device
- Enable USB debugging
- Connect phone via USB
- Authorize USB debugging when prompted
Step 4: Configure Advanced Audio Settings
Click the advanced settings button to configure audio format options:
- Sample Rate: Typically 44.1kHz or 48kHz (check your output device capabilities)
- Channels: Usually mono (1 channel)
- Bit Depth: i16 or i24 (check device support)
Important: These settings must match on both PC and Android apps.
Android Side Setup
Step 1: Install the Android App
Download and install the AndroidMic APK on your phone. Enable "Install from unknown sources" if prompted.
Step 2: Configure Connection Settings
Open the side drawer menu in the Android app and configure:
- Connection Method: Match the method selected on PC (WiFi, USB Serial, or USB ADB)
- Audio Settings: Must exactly match the PC app advanced settings
Step 3: Grant Permissions
The app requires two critical permissions:
- Microphone Permission: Allows the app to access your phone's microphone
- Notification Permission: Enables background recording notifications
Grant these permissions when prompted. You can also manage them in Android Settings > Apps > AndroidMic > Permissions.
Step 4: Connect to PC
Follow these steps to establish connection:
- Start recording in the Android app
- Grant permissions if prompted
- For WiFi: Enter the PC IP address and port from the PC app log
- For USB Serial: Ensure phone is connected and USB mode is set correctly
- For USB ADB: Ensure USB debugging is authorized
- Tap "Connect" in the Android app
Platform-Specific Configuration
Linux USB Serial Setup
To use USB Serial on Linux, you need to configure udev rules:
- Create a udev rules file:
sudo nano /etc/udev/rules.d/50-androidmic.rules - Add the following rule (replace YOUR_USERNAME with your actual username):
SUBSYSTEM=="usb", ATTR{idVendor}=="*", MODE="0664", GROUP="plugdev", OWNER="YOUR_USERNAME"
- Add your user to the plugdev group:
sudo usermod -aG plugdev $USER - Reload udev rules:
sudo udevadm control --reload-rules - Unplug and replug your device
- Log out and log back in for group changes to take effect
Windows USB Driver (Samsung Phones)
Samsung phones may require special USB driver configuration:
- Download and install Zadig
- Connect your Samsung phone
- Open Zadig and select your device
- Change the driver to WinUSB
- Click "Install" or "Replace Driver"
Troubleshooting
Connection Issues
- WiFi not connecting: Ensure both devices are on the same network, check firewall settings, verify IP address and port
- USB Serial not working: Check USB cable, verify USB mode settings, ensure drivers are installed (Windows), check udev rules (Linux)
- USB ADB issues: Verify ADB is installed, check USB debugging is enabled, authorize debugging prompt
Audio Issues
- No audio: Verify virtual microphone setup, check audio device selection, ensure audio settings match on both apps
- Poor quality: Adjust sample rate and bit depth, check network connection (WiFi), try different USB cable (USB)
- Latency: Use USB connection for lowest latency, reduce sample rate if acceptable, check network quality (WiFi)
Permission Issues
- Microphone not working: Check Android permissions, restart app, check system microphone settings
- Background recording stops: Ensure notification permission is granted, check battery optimization settings, disable battery saver mode
Windows Defender False Positive
If Windows Defender flags the app:
- Click "More info" when the warning appears
- Click "Run anyway"
- Report the false positive to Microsoft to help fix this issue
- Add an exception in Windows Defender if needed
Best Practices
- Use USB connection for the most stable and lowest latency experience
- Use WiFi when you need freedom of movement
- Keep both apps updated to the latest version
- Match audio settings exactly on both devices
- Test your setup before important calls or recordings
- Keep your phone charged during long sessions
Using AndroidMic with Other Applications
Once configured, AndroidMic creates a virtual microphone input that can be used with any application:
- Video Conferencing: Zoom, Microsoft Teams, Google Meet, Discord
- Streaming: OBS Studio, Streamlabs, XSplit
- Recording: Audacity, Adobe Audition, GarageBand
- Voice Chat: Discord, TeamSpeak, Mumble
Simply select the virtual microphone device as your input source in these applications.
Additional Resources
- GitHub Repository - Source code and issue tracking
- GitHub Issues - Report bugs and request features
- Download Page - Get the latest versions