Automatic lock/unlock privacy control for Android devices ππ±β¨
PrivacyFlip automatically manages your Android device's privacy features based on lock/unlock state. When you lock your device, it can disable Wi-Fi, Bluetooth, mobile data, location services, NFC, and even camera/microphone sensors. When you unlock, it intelligently restores the features you want back on.
Works with Shizuku or Root - Choose your preferred privilege method!
- Lock Detection: Instantly disables privacy features when screen locks
- Unlock Detection: Waits for proper authentication (not just screen-on)
- Smart Restoration: Configurable feature re-enabling on unlock
- πΆ Wi-Fi - Disable/enable wireless connectivity
- π± Bluetooth - Control Bluetooth radio
- π‘ Mobile data - Manage cellular data connection
- π Location services - Control GPS and location tracking
- π³ NFC - Control Near Field Communication sensor
- π· Camera - Disable/enable camera sensor privacy (Android 12+)
- π€ Microphone - Disable/enable microphone sensor privacy (Android 12+)
βοΈ Airplane Mode - Enable airplane mode on lock (opt-in, disables all radios)- π Battery Saver - Enable battery saver mode on lock (opt-in)
-
Smart Disable Options:
- "Only if unused/not connected" - Don't disable WiFi, Bluetooth, or Location if actively in use, or Mobile Data while media is playing
- "Only if not already enabled" - Prevent connection resets by not re-enabling features that are already on
- "Only if not manually set" - Respect manually enabled protection modes on unlock
-
App Exemptions - Exclude specific apps from privacy actions when in foreground
-
NFC Auto-Retry - Opt-in: if a payment or wallet app turns NFC back on right after Privacy Flip turns it off, retry disabling it
-
Keep Off While Locked - Opt-in: if Wi-Fi, Bluetooth, mobile data, location or NFC is switched back on before you unlock (for example from Quick Settings), or Airplane Mode or Battery Saver is switched off, Privacy Flip runs its lock actions again, with the same "only if" rules; camera and microphone cannot change while locked
-
Accessibility Service - Experimental, opt-in: an extra lock and unlock signal from the lock screen window (requires Accessibility permission). It does not make camera and microphone work with an instant power-button lock: Android refuses that once the phone is locked
-
Advanced Detection - Multi-tier Bluetooth connection detection prevents unwanted headphone disconnects
- Lock Delay: 0-60 seconds (granular), 2 minutes, or 5 minutes before privacy actions trigger
- Unlock Delay: 0-60 seconds (granular), 2 minutes, or 5 minutes before features are restored
- Instant Mode: Set delays to 0 for immediate action
- Note: Camera and microphone ignore custom delays and trigger immediately, due to Android limitations
Minimum: Android 7.0+ (API level 24) Camera/Microphone Features: Android 12+ (API level 31)
Choose your privilege method:
- Shizuku app installed and running
- ADB privileges via USB debugging or wireless ADB
- No root required - works with ADB-level permissions
- Root access via Magisk, SuperSU, or similar
- Best performance with UID 0 privileges
- Device Owner status. Android refuses to set a Device Owner on a device that already has a second user, such as a work profile
- No root required, no ADB needed after initial setup
- Persistent privileges - survives reboots
- Works for, and each needs its own Android version: Camera and Microphone (Android 12+), Bluetooth (Android 9+), Location (Android 11+), NFC (Android 15+). Below Android 9 a Dhizuku setup can switch nothing at all.
- Cannot do: WiFi, Mobile Data, Airplane Mode, Battery Saver. Dhizuku shares Device Owner rights, and Android gives a Device Owner no way to switch those. Use Root or Shizuku for them.
- Rooted device with Magisk installed
- Sui Magisk module installed
- Best user experience - no permission prompts, automatic startup
- Sui - Magisk module providing Shizuku API with root (best UX)
- Root - Traditional root access via Magisk/SuperSU
- Dhizuku - Device Owner method (no root or ADB needed after setup)
- Shizuku - ADB privileges via Shizuku app
Help make this app better. No contribution is too small!
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
All contributions are valued and appreciated!
This project is licensed under the MIT License - see the LICENSE file for details.
PrivacyFlip protects your privacy. You can protect its future!
Late nights for brighter days
Created by Doru Moraru



