x24 is a native Android assistant that integrates with a Cloudflare Worker (Llama 3) to control your phone's hardware and apps.
- Voice Interaction: Talk to x24 using the "TALK" button.
- Hardware Control:
- Toggle Flashlight
- Control Bluetooth
- Adjust Volume & Brightness
- App & Communication:
- Open Apps (e.g., "Open WhatsApp")
- Make Calls
- Send SMS
- Copy the content of
worker.jsfrom this repository. - Go to your Cloudflare Dashboard -> Workers.
- Edit your existing worker (or create a new one).
- Paste the code and deploy.
- Important: Ensure your worker has a binding to Workers AI (
env.AI).
This repository contains a GitHub Actions workflow to automatically build the APK.
- Push this code to GitHub.
- Go to the Actions tab in your repository.
- Click on the "Android Build" workflow.
- Once the build finishes, download the
x24-debugartifact. - Extract the zip and install
app-debug.apkon your Android phone.
When you first run the app, it will ask for several permissions (Microphone, Camera, Phone, SMS, etc.). Grant them all for full functionality. Note: To control Brightness, the app will redirect you to a system settings page. You must manually enable "Allow modifying system settings" for x24.
- Language: Kotlin
- Minimum SDK: 26 (Android 8.0)
- Target SDK: 34 (Android 14)
- Architecture: Retrofit for Networking, Coroutines for Async, Native Android Managers for hardware control.