Note
ScreenX is an open-source, rootless, high-performance screen recording studio engineered for modern Android devices. Designed with Jetpack Compose, AGSL hardware shaders, and dual recording architectures (Standard MediaProjection & Stealth Wireless ADB), ScreenX offers complete freedom over video quality, multi-source audio mixing, live drawing, and background stealth capture.
ScreenX offers two completely distinct capture pipelines to fit any recording situation:
| Feature / Capability | Standard Capture (MediaProjection) |
Stealth Capture (Wireless ADB) |
|---|---|---|
| Detection by Apps | Standard API (Apps can detect active capture) | 100% Undetected (Bypasses app listeners like Snapchat) |
| System Capture Prompt | OS confirmation dialog on launch | Zero System Dialogs (Completely invisible start) |
| Audio Capture | Internal System Audio, Mic, or Synchronized Dual Audio | Acoustic Speaker Audio (Mic DSP + Noise Clearing + Gain Boost) |
| Duration Limit | Unlimited (Device storage bound) | Unlimited (Auto-continues past 3 min & lossless merge) |
| Root Required? | ❌ No Root Required | ❌ No Root Required (Uses Wireless Debugging pairing) |
| Floating Overlay & Brush | ✅ Supported | ✅ Supported |
| Quick Settings Tile | ✅ Instant 1-Tap Trigger | ✅ Instant 1-Tap Trigger |
Protected Views (FLAG_SECURE) |
Rendered as black screen (OS constraint) | Rendered as black screen (OS constraint) |
Completely rootless, background recording without system prompts or app-level detection.
Undetected by Screen-Monitoring Apps: Runs via a local Android Debug Bridge (ADB) daemon session outside the
MediaProjectionAPI surface. Apps that monitor recording callbacks (such as Snapchat or protected chat screens) cannot detect the session.Acoustic Speaker Audio Capture: Android's internal
screenrecordbinary cannot record audio. ScreenX bridges this by recording speaker audio acoustically via microphone DSP with:- 2.5x Pre-amp Volume Gain: Ensures game audio and app speech are clearly audible.
- Soft-Knee
tanhSaturation Limiter: Eliminates harsh clipping and digital distortion. - Hardware Noise Suppression & Rumble Filter: Cuts out ambient room hum and fan vibrations.
- Lossless Muxing: Remuxes real-time AAC audio with the video track with synchronized PTS timestamps.
Auto-Continue Past 3 Min & Merge: Bypasses Android's hardcoded 3-minute
screenrecordlimit. When the segment expires, ScreenX automatically spins up the next recording segment without gaps and losslessly joins all parts into a single video file upon stopping.1-Tap Notification Pairing: Pair your device with Android 11+ Wireless Debugging easily: tap Reply directly on the ScreenX notification and submit your 6-digit code.
Zero-Config mDNS Discovery: Automatically scans and resolves wireless debugging ports dynamically when Wi-Fi or developer options toggle.
Important
Limitations & FLAG_SECURE: Stealth Recording cannot bypass Android's OS-level FLAG_SECURE. Banking apps, DRM content (Netflix, Prime Video), or screens that explicitly enforce WindowManager.LayoutParams.FLAG_SECURE will be rendered black by Android's hardware surface flinger.
Crystal-clear video output tailored to your display hardware.
Flexible Settings: Customize resolutions (720p, 1080p, 1440p+), frame rates (30, 60, 90, 120 FPS), and bitrates (up to 24+ Mbps).
Hardened Orientation Safeguards (Custom ROM Fix):
- Resolves landscape pillarboxing and upside-down bugs on affected devices and custom ROMs (InfinityX, crDroid, LineageOS, etc.) where window metrics report portrait bounds during landscape capture.
- Hard-enforces
screenWidth = maxOf(w, h)andscreenHeight = minOf(w, h)during landscape gameplay. - Simplified, intuitive orientation options: Auto, Portrait, and Landscape.
Studio-grade audio capture for tutorials, gameplay, and podcasts.
Synchronized Dual Audio: Record internal game audio and microphone voice simultaneously with mathematical sample interleaving and zero sync drift.
Multiple Audio Sources: Choose between Mute, Microphone, Internal System Audio (Android 10+), or Dual Audio.
Voice Priority & Vocal Clarity: Automatic ducking lowers background game music when speaking, backed by an acoustic clarity filter.
Draw and annotate live over apps while recording.
On-Screen Canvas: Full-screen transparent overlay allows real-time drawing, highlighting, and writing.
Customizable Brush: Dynamically select color swatches and adjust line thickness.
Instant Clearing: Undo or erase strokes with one tap without interrupting the video stream.
Control recordings effortlessly from anywhere on your device.
Magnetic Floating Bubble: Draggable floating pill that snaps to screen edges, expandable for quick access to record, pause, screenshot, and brush tools.
Quick Settings Tile Integration: Start or stop Standard or Stealth recordings in one tap directly from Android's notification shade.
Review, manage, and edit your recordings without third-party apps.
Lossless Video Trimming: Quick start-point and end-point trimming using MediaExtractor and MediaMuxer without re-encoding quality loss.
Built-In Gallery: Browse screenshots and video recordings with file details, thumbnail previews, and batch deletion.
Fully translated interface for global users.
- Complete translations across English, Spanish (Español), Russian (Русский), Ukrainian (Українська), and Hindi (हिन्दी) with in-app language switching without restarting the app.
ScreenX is built strictly following modern Android development practices and Jetpack components:
- Language: 100% Kotlin
- UI Toolkit: Jetpack Compose with Material Design 3 and AGSL (Android Graphics Shading Language) custom shaders
- Video Capture Pipelines:
MediaProjection,MediaCodec,MediaMuxer, and local Wireless ADB daemon (/system/bin/screenrecord) - Audio Pipelines: Low-latency
AudioRecord,AudioPlaybackCaptureConfiguration, and native hardwareNoiseSuppressor - Background Architecture: Android Foreground Services (
ScreenRecordService,AdbRecordService,PairingInputService) - State & Persistence: Kotlin Coroutines & Flows, Jetpack DataStore Preferences
- Target SDK: 37 (Android 15 / 16 ready) • Min SDK: 26 (Android 8.0+)
screen-x
│
├── app/src/main/java/com/gxdevs/screenx/
│ ├── data/
│ │ ├── AdbManager.kt # TLS key-exchange, pairing, and ADB daemon protocol
│ │ ├── AdbMdns.kt # Local mDNS discovery for Wireless Debugging ports
│ │ └── SettingsManager.kt # Jetpack DataStore settings repository
│ │
│ ├── service/
│ │ ├── ScreenRecordService.kt # Standard MediaProjection recording service
│ │ ├── AdbRecordService.kt # Stealth recording service via local ADB daemon socket
│ │ ├── AudioCaptureHelper.kt # Low-latency internal & microphone audio capture engine
│ │ ├── BrushDrawingOverlay.kt # Canvas overlay for real-time screen drawing
│ │ ├── CountdownOverlay.kt # Pre-capture countdown visual overlay
│ │ ├── FloatingControlOverlay.kt # Draggable floating pill overlay controller
│ │ ├── PairingInputReceiver.kt # Direct-reply notification broadcast receiver
│ │ ├── PairingInputService.kt # Foreground pairing handler service
│ │ ├── ScreenXTileService.kt # Quick Settings Tile service
│ │ └── TileHelperActivity.kt # Transparent launch helper for Quick Settings tiles
│ │
│ ├── ui/
│ │ ├── components/
│ │ │ ├── LanguageSelectionBottomSheet.kt # Language picker bottom sheet
│ │ │ ├── ShaderGradientCard.kt # AGSL brushed metallic card shader
│ │ │ └── UpdateDialog.kt # In-app GitHub update dialog
│ │ ├── screens/
│ │ │ ├── GalleryScreen.kt # Video & screenshot library screen
│ │ │ ├── HomeScreen.kt # Primary control hub with dual capture cards
│ │ │ ├── SettingsScreen.kt # Modular stacked settings screen
│ │ │ └── VideoTrimmerScreen.kt # Frame-accurate video trimming screen
│ │ └── theme/
│ │ ├── Color.kt # Theme palette & semantic color tokens
│ │ ├── Theme.kt # Dynamic color & Material 3 theme wrapper
│ │ └── Type.kt # Typography styles
│ │
│ ├── utils/
│ │ ├── DeviceCapabilitiesHelper.kt # Hardware refresh rate, resolutions & metrics
│ │ ├── LocaleHelper.kt # Runtime language configuration helper
│ │ ├── NetworkUtils.kt # Network & Wi-Fi state helpers
│ │ ├── UpdateManager.kt # GitHub release update checker & downloader
│ │ ├── VideoHelper.kt # MediaStore queries and deletion utilities
│ │ ├── VideoMerger.kt # Lossless video & audio muxing engine
│ │ └── VideoTrimmer.kt # MP4 extractor & muxer trimmer utility
│ │
│ └── MainActivity.kt # Root Compose Activity & permission orchestrator
Download the latest pre-compiled signed APK directly from GitHub Releases.
- Clone the repository:
git clone https://github.com/gtxprime/screen-x.git cd screen-x - Open the project in Android Studio (Ladybug or newer).
- Assemble Release APK:
./gradlew assembleRelease
- Find the built APK at:
app/build/outputs/apk/release/app-release.apk
- Simultaneous Dual Audio: Concurrent mic and system audio capture with hardware sample synchronization.
- Stealth Recording Mode: Background rootless capture without app-level recording alerts.
- Acoustic Speaker Audio Capture for Stealth: Low-latency speaker audio capture with hardware noise suppression and volume boost.
- Unlimited ADB Recording & Auto-Merge: Multi-segment continuous recording past the 3-minute limit.
- Hardware Orientation Safeguards: Fix portrait pillarboxing on affected devices and custom ROMs.
-
Root Device Ultra Powers (Bypass FLAG_SECURE) [Coming Soon]: Native Root / KernelSU / Magisk / APatch integration hooking into SurfaceFlinger and WindowManager to record protected views, banking apps, and DRM media without black screen restrictions.
- Camera Overlay (Facecam): Floating front/back camera bubble with pinch-to-resize and custom shapes.
- GIF Exporter: Export short recordings directly to lightweight animated
.giffiles.
Contributions are warmly welcomed! Feel free to report issues, suggest improvements, or submit pull requests.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.