Version 1.4.0 (current)
ADB / Root screenshots · screen.capture.shell
Save main-screen or background frames for visual agents and verification
Purpose and status
Save main-screen or background frames for visual agents and verification
Inventory status as of 2026-10-10: Verified within the recorded emulator scope (emulator_verified).
Historical ImageReader frames and native-preview PNGs were checked; no screenshots were captured in this run.
Before calling
Source descriptions below retain their original language; identifiers and commands are unchanged.
| Field | Source value |
|---|---|
| apiMin | 36 |
| minimumBasis | Key methods used by the example / this project’s target version |
| publicSdkClass | false |
| exampleApiMin | 36 |
| declaredVersionNotes | Target command tested on API36; screencap and specific -d behavior depend on the AOSP/OEM branch. |
| Device conditions (source record as of 2026-10-10) | Historical source wording, 2026-10-10: Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device |
| Environments recorded as of 2026-10-10 | Android 16 / API 36 / ARM64 / AgentOS_ImageCheck / emulator-5582 |
ROM requirement: No custom ROM required; requires authorized ADB/shell; Shizuku adaptation has not been tested in this project
Permissions and authorization
| Permission or qualification | Authorization condition |
|---|---|
| shell / root; subject to secure window restrictions | Authorized ADB/shell; the virtual display ImageReader is held by the root host |
Entry points
| Entry point | Availability |
|---|---|
| screencap / phone-display capture | Existing experimental entry point |
Call examples
device_shell
Environment: Phone root shell
Prerequisites: Authorized ADB/shell; the virtual display ImageReader is held by the root host
phone-display capture
# The output /data/local/agentos/virtual-display/screen.png is the background displayExpected result: Save a real PNG; confirm timestamp and DisplayID before passing it to the model
Executed in the source record’s run: Not executed in that run; see the validation scope below.
Limitations
- screencap -d uses SurfaceFlinger display IDs, which differ from logical am/input IDs.
- Capture of secure windows and protected content is not guaranteed; a black frame is not success.
Validation records
Research
| Field | Source value |
|---|---|
| status | documented |
| scope | Upstream mechanism and research variants; see limitations for unimplemented parts |
Emulator
| Field | Source value |
|---|---|
| status | passed_in_scope |
| target | AgentOS_ImageCheck / API36 / ARM64 |
| scope | Historical ImageReader frames and native-preview PNGs were checked; no screenshots were captured in this run. |
| date | 2026-10-10 |
Physical device
| Field | Source value |
|---|---|
| status | not_verified |
| date | — |
| devices | [] |
Not yet verified on a physical device as of 2026-10-10. See current progress for later status.
Look up screen.capture.shell in capabilities.en.json for the complete record. See current progress for later project evidence.
Upstream references
- MediaProjection — audit:
web_content_reviewed - Android 16 DisplayManagerService — audit:
web_content_reviewed
Version and sources
Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see Current progress for later device support. Detailed source prose can remain in its original language.
Research preview · Current availability
Report an issue or give feedback
Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.
Built with Fumadocs