General Questions
What is PhoneClaw?
What is PhoneClaw?
- Generate automation scripts at runtime
- Vision-based UI element targeting
- Voice command support
- Cron-based scheduling
- Multi-app workflow chaining
What Android version is required?
What Android version is required?
- Budget phones like Moto G Play ($30) work great
- Most modern Android smartphones and tablets
- Some features may have limitations on older devices
Does PhoneClaw require root access?
Does PhoneClaw require root access?
- Enable Developer Options (no root needed)
- Grant Accessibility Service permission
- Allow installation from unknown sources for sideloading
Is PhoneClaw free and open source?
Is PhoneClaw free and open source?
- Use it for personal or commercial purposes
- View and modify the source code
- Contribute improvements back to the project
- Build custom versions for your needs
What API keys do I need?
What API keys do I need?
- Moondream API token for vision-based UI targeting (magicClicker/magicScraper)
- OpenRouter API key for advanced AI model selection
- Email credentials if using sendAgentEmail function
local.properties:Installation and Setup
How do I install PhoneClaw?
How do I install PhoneClaw?
- Download Android Studio and clone the repository
- Open the project in Android Studio
- Go to Build > Generate Bundles/APKs > Generate APK
- Transfer the APK to your Android device
- Enable “Install from Unknown Sources” in Settings
- Install the APK
- Grant Accessibility Service permission when prompted
Why can't I find PhoneClaw on Google Play Store?
Why can't I find PhoneClaw on Google Play Store?
- It uses advanced Accessibility Service features
- It’s designed for power users and developers
- Open source development model
How do I enable Accessibility Service?
How do I enable Accessibility Service?
- Open Android Settings
- Navigate to Accessibility (may be under “System” or search for it)
- Find PhoneClaw in the list of services
- Toggle it ON
- Read and accept the permission warning
- Verify it shows as “ON”
- If PhoneClaw doesn’t appear, reinstall the app
- Some manufacturers hide accessibility settings in different locations
- Disable battery optimization for PhoneClaw to prevent service from stopping
Which budget Android phone should I buy?
Which budget Android phone should I buy?
- Moto G Play (~$30 USD at Walmart) - used in all demo videos
- Android 7.0 or higher
- 2GB RAM (3GB+ recommended)
- 16GB storage (32GB+ recommended)
- Screen size (larger = easier for vision targeting)
- RAM (more = better for multiple apps)
- Battery capacity (for scheduled automations)
Using PhoneClaw
How do I create my first automation?
How do I create my first automation?
- Open PhoneClaw
- Use voice command: “Open Twitter and click the blue post button every hour”
- PhoneClaw generates a ClawScript automation
- Review and edit the generated script if needed
- The automation will run according to the schedule
What is ClawScript?
What is ClawScript?
- Standard JavaScript syntax
- Helper functions for automation (magicClicker, magicScraper, etc.)
- Direct access to Android Accessibility Service
- Support for async/await
- Runtime script generation and execution
How does magicClicker find UI elements?
How does magicClicker find UI elements?
- Takes a screenshot of the current screen
- Sends the screenshot and your description to vision AI
- Vision AI identifies the matching UI element
- Calculates tap coordinates
- Uses Accessibility Service to tap the element
- Be specific: “blue login button at bottom” > “button”
- Include visual cues: colors, positions, icons
- Ensure element is visible on screen
- Add delays for UI loading
How does magicScraper extract data?
How does magicScraper extract data?
- Takes a screenshot
- Sends screenshot and your question to vision AI
- AI analyzes the image and extracts the requested information
- Returns the answer as a string
- Reading verification codes
- Extracting prices or numbers
- Checking status messages
- Reading form values
Can PhoneClaw automate apps that block accessibility?
Can PhoneClaw automate apps that block accessibility?
- Banking apps
- Payment apps
- Password managers
- Some security-focused apps
- Vision-based targeting (magicClicker) works on most apps
- Some apps only block specific accessibility features
- Test your target app before building complex automations
- Consider alternative approaches (web version, APIs)
How do I schedule recurring automations?
How do I schedule recurring automations?
schedule() function with cron expressions:- Disable battery optimization for PhoneClaw
- Keep accessibility service enabled
- Device should not be in deep sleep during scheduled time
Troubleshooting
Why aren't my automations working?
Why aren't my automations working?
-
Accessibility service disabled
- Check Settings > Accessibility > PhoneClaw
-
UI elements not loading
- Add delays:
await delay(2000);
- Add delays:
-
Vague element descriptions
- Be more specific: “blue login button” vs “button”
-
App blocking automation
- Test with different apps
- Some apps actively prevent accessibility interactions
-
Battery optimization killing service
- Disable battery optimization for PhoneClaw
Why do scheduled tasks stop running?
Why do scheduled tasks stop running?
-
Battery optimization (most common)
- Settings > Battery > PhoneClaw > Don’t optimize
-
Accessibility service auto-disabled
- Add PhoneClaw to protected apps list (manufacturer-specific)
-
Device in deep sleep
- Keep device charging or adjust sleep settings
-
Invalid cron expression
- Validate at crontab.guru
-
Manufacturer restrictions (Xiaomi, Huawei, Samsung)
- Enable autostart permissions
- Disable background restrictions
How do I debug my ClawScript?
How do I debug my ClawScript?
- Use speakText for logging:
- Add error handling:
- Test incrementally:
- Start with single action
- Add actions one at a time
- Test after each addition
- Check variables:
Why is PhoneClaw using so much battery?
Why is PhoneClaw using so much battery?
-
Vision API calls
- magicClicker/magicScraper use vision AI (network + processing)
- Minimize unnecessary calls
-
Frequent scheduled tasks
- Reduce frequency where possible
- Combine multiple actions into single scheduled task
-
Accessibility service overhead
- Normal for accessibility-based automation
- Disable when not actively using automations
-
Long delays in loops
- Use efficient timing
- Avoid busy-waiting loops
- Use dedicated automation device if running 24/7
- Keep device plugged in for scheduled tasks
- Optimize scripts to reduce API calls
Advanced Usage
Can I chain automations across multiple apps?
Can I chain automations across multiple apps?
Can I use PhoneClaw with other automation tools?
Can I use PhoneClaw with other automation tools?
- Use
sendAgentEmail()to notify external systems - Trigger PhoneClaw from external tools via intents (advanced)
- Share data through files or network calls
- Use PhoneClaw for UI automation, other tools for API calls
- Tasker (via intents)
- IFTTT (via webhooks/email)
- Home Assistant (via notifications)
- Custom Python/Node.js scripts
How do I handle CAPTCHAs?
How do I handle CAPTCHAs?
-
Vision-based solving:
- Use magicScraper to read CAPTCHA challenges
- Process with vision AI
- Use magicClicker to select answers
- Image CAPTCHAs:
- reCAPTCHA:
- Harder to automate
- May require CAPTCHA solving services
- Consider accessibility alternatives
Can I build a business using PhoneClaw?
Can I build a business using PhoneClaw?
- Social media management services
- Testing and QA automation
- Data collection and monitoring
- Personal productivity tools
- Accessibility solutions
- Respect terms of service of automated apps
- Don’t use for spam or malicious purposes
- Consider rate limits and API usage costs
- Ensure compliance with relevant laws and regulations
Community and Support
Where can I get help?
Where can I get help?
Discord Community
GitHub Issues
Documentation
YouTube Channel
How can I contribute to PhoneClaw?
How can I contribute to PhoneClaw?
- Report bugs and issues
- Submit feature requests
- Fix bugs and add features
- Improve documentation
- Share automation examples
- Help other users in Discord
Where can I find automation examples?
Where can I find automation examples?
- Documentation Examples - Examples section
- Demo Videos - YouTube channel
- Discord #showcase - Community-shared automations
- GitHub repository - Sample scripts in the repo
- Social media posting
- Account creation with 2FA
- Email automation
- TikTok video uploads
- CAPTCHA solving
Is there a PhoneClaw community?
Is there a PhoneClaw community?
- Get support from experienced users
- Share your automations
- Request features
- Stay updated on new releases
- Discussions and updates
- Tutorials and demos