#adb: adb logcat "XboxFramesMain" "StreamingService" "WebRtcReceiver" "*:S"
Status: Active Development
CloudX is a high-performance, open-source Android application designed to provide a native, low-latency cloud gaming experience for Xbox Cloud Gaming, RomStation, and PlayStation Now.
This project is the first to move core streaming logic away from browser-based WebViews and into a Pure Native Java environment, optimized specifically for Android TV devices like the Mi Box.
LaGab Adel - GitHub Profile
Traditional cloud gaming clients often run entirely inside a browser engine (WebView). This adds significant overhead, limits controller compatibility, and introduces input lag.
CloudX changes the architectural approach:
- Lightweight Selection: We use WebViews only for the login and game selection process (for Xbox, RomStation, and PlayStation).
- Native Execution: Once a session starts, the app intercepts the signaling and "hands over" the connection to a native background service.
- Hardware Acceleration: Video streams are rendered using a native
SurfaceViewwith direct hardware decoding, bypassing the browser's rendering stack for maximum performance.
- Launcher Selection: A dedicated selection screen allows you to choose between Romstation, Xbox, and PlayStation modes at startup.
- Android TV Optimized: Leanback UI support and 1080p/1440p resolution forcing.
- Ultra-Low Latency: Native WebRTC implementation for immediate response times.
- Microphone Support: Full native support for in-game voice chat.
- Performance Diagnostics: Real-time overlay showing bitrate, FPS, and jitter.
- Advanced Gamepad Support:
- Reliable (TCP-like) and Unreliable (UDP-like) input channels.
- Low-level rumble support.
- Custom deadzone and sensitivity settings.
- Specialized Xbox Guide (Nexus) button mapping.
- Native RTSP Streaming: High-performance RTSP implementation via VLC/ExoPlayer.
- Hardware Decoding: Optimized for TV hardware (like Mi Box) to offload processing to native Java.
- Custom Gamepad Mapping: Full support for mapping physical controllers to RomStation cloud inputs.
- Native WebBridge: Optimized WebView environment with hardware-accelerated rendering.
- Custom User Agent: Spoofs a native PlayStation Now desktop environment for full service access.
- Automated Injection: Dynamic JS injection (
PS.js) to enhance UI and improve compatibility with TV navigation.
- Android 10 (API 29) or higher.
- A valid subscription for the respective service (Xbox Game Pass Ultimate, RomStation, or PlayStation Now).
- Clone the repository:
git clone https://github.com/Pgeniebox/xbox-cloud-Solution-Android-tv.git
- Open the project in Android Studio Koala or newer.
- Build and run:
./gradlew assembleDebug
Special thanks to the following teams for their research and open-source contributions to the cloud gaming ecosystem:
- Better xCloud (@redphx) - For extensive research and scripts.
- XStreaming (@Geocld) - For their innovative approach to xCloud streaming.
Distributed under the MIT License. See LICENSE for more information.
Note: This is an unofficial project and is currently in active development. Tested on Mi Box TV.
Disclaimer: This project is not affiliated with, endorsed by, or sponsored by Microsoft, Xbox, RomStation, or PlayStation.