Skip to content
Taku Docs

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.

FieldSource value
apiMin36
minimumBasisKey methods used by the example / this project’s target version
publicSdkClassfalse
exampleApiMin36
declaredVersionNotesTarget 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-10Android 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 qualificationAuthorization condition
shell / root; subject to secure window restrictionsAuthorized ADB/shell; the virtual display ImageReader is held by the root host

Entry points

Entry pointAvailability
screencap / phone-display captureExisting 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 display

Expected 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

FieldSource value
statusdocumented
scopeUpstream mechanism and research variants; see limitations for unimplemented parts

Emulator

FieldSource value
statuspassed_in_scope
targetAgentOS_ImageCheck / API36 / ARM64
scopeHistorical ImageReader frames and native-preview PNGs were checked; no screenshots were captured in this run.
date2026-10-10

Physical device

FieldSource value
statusnot_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

Chinese version.

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

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
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

On this page