How firerpa/lamda works
FIRERPA is an Android device-control platform; this repository contains its Python client and RPC protocol definitions, not the on-device service. The principal workflow is a Python caller connecting to a device service, invoking device operations, and receiving results. The client exposes distinct UI automation, application management, virtual displays, image/OCR, proxy/MITM, and Frida capabilities. The README documents broader remote-desktop, networking, and capture features; those branches are shown at the RPC boundary where implementation detail is unavailable. Relationships beyond the sampled client excerpts are cited to the README, not presented as inspected implementation.
Main entry points: client.py Device Client · startmitm.py Proxy And Capture · rpc RPC Protocols · exceptions.py Client Exceptions
Components 14
Client API
- Device Client
lamda/client.py - RPC Protocols
lamda/rpc - Client Exceptions
lamda/exceptions.py
UI Automation
- UI Automation
lamda/client.py - Virtual Displays
lamda/client.py - OCR And Images
lamda/client.py
Device Operations
- App Management
lamda/client.py - Shell And Device Ops
lamda/client.py - Remote Desktop
lamda/rpc
Network And Inspection
- Proxy And Capture
tools/startmitm.py - Frida Hooks
lamda/client.py - Network Services
lamda/rpc
Other components
- Python Caller
- Android Service
Connections 17
- Python Caller → Device Client: connects through
lamda/client.py - Device Client → Android Service: sends RPCs
lamda/client.py - Device Client → RPC Protocols: uses definitions
lamda/client.py - Device Client → Client Exceptions: raises client errors
lamda/client.py - Device Client → UI Automation: exposes
lamda/client.py - UI Automation → Android Service: invokes UI RPCs
lamda/client.py - Device Client → Virtual Displays: exposes
lamda/client.py - Virtual Displays → Android Service: requests displays
lamda/client.py - Device Client → OCR And Images: exposes
lamda/client.py - Device Client → App Management: exposes
lamda/client.py - App Management → Android Service: sends app requests
lamda/client.py - Device Client → Shell And Device Ops: exposes
lamda/client.py - Device Client → Remote Desktop: supports
- Device Client → Proxy And Capture: supports
tools/startmitm.py - Proxy And Capture → Android Service: configures proxy
tools/startmitm.py - Device Client → Frida Hooks: exposes
lamda/client.py - Device Client → Network Services: supports