Skip to content
Taku Docs

Version 1.4.0 (current)

Android permission layers

What ordinary authorization, shell, Root, platform signing, and ROM changes each enable.

The same command can behave differently in two environments because its execution identity and granted permissions differ. Use this page to understand access denials. If you have not connected a device, start with the quickstart.

Judge actual capabilities

LayerPractical entry pointsRemaining limits
Ordinary App and user authorizationPublic Android APIs such as camera, notifications, locationUser consent, targetSdk, background restrictions, OEM behavior
Accessibility / notification listening / MediaProjectionUser-granted screen or message capabilitiesService authorization, visible content, system and App restrictions
ADB shell / controlled shell serviceam, input, pm, cmdShell UID, Linux permissions, SELinux, service checks
RootProcess and file access requiring UID0SELinux, signature permissions, TEE, network/App sessions
Platform signing / system packageSignature permissions and system identitySigning consistency, privapp configuration, service policy
ROM changesinit, SELinux, framework, system partitionsDevice BSP, boot chain, regression, and release checks

A task often requires authorization at several layers. “All permissions” cannot replace reproducible prerequisites for each interface.

Access foundations the image must integrate

The image must connect execution identity, platform-signing or system-package qualifications, necessary services and SELinux rules to actual call paths. The phone owner, agents and developers can use authorized shell or native interfaces; SDK/CLI wrappers should expose callable scope and failures. These are integration responsibilities, not a claim of production hardware-permission management today.

Camera, microphone, location and sensor entry points need device, driver/HAL, resource-occupancy, version and permission checks. Custom execution policies, background tasks and camera processing must coordinate with existing apps, the main display and other hardware users. System qualifications do not guarantee compatibility with every app or hardware mode.

Check current execution identity

Requires the system source: The SDK commands below run from the taku-os repository root. Clone taku-os first.

Run from the taku-os system repository root on your computer. ADB is the debugging tool connecting the computer to Android. Find your device with adb devices -l and replace emulator-5582 below with its identifier.

adb -s emulator-5582 shell id
adb -s emulator-5582 shell getenforce
node sdk/cli/taku.mjs call system.info --transport adb --serial emulator-5582
node sdk/cli/taku.mjs call tasks.status --transport adb --serial emulator-5582

id shows the process user identity, or UID. getenforce shows whether SELinux access rules are being enforced; Enforcing means they are active. Compare these with the outcomes of the two SDK calls.

A historical task-metadata query under UID 2000, the Shell identity, returned PERMISSION_DENIED. That identity did not meet the entry point’s requirements. Do not interpret the failure as an empty task list or repeatedly send the same request.

Flashing versus no flashing

For capabilities available through ordinary user authorization, specify the public API path first. System-identity capabilities must state signing or ROM-integration prerequisites. One successful Root experiment does not establish a stable system interface or equivalent identity on a stock phone.

User-installed Apps, generated applications, and SDK methods should have explainable permission declarations. There is currently no generic isolation policy for third-party extensions; the experimental Node service is not a mature application sandbox.

Failure boundaries: Permission denial must not become successful empty output. Platform signing and Root are different. Flashing does not automatically make device payments, hardware keys, or private App protocols callable.

Next: Check each capability's API, permissions, ROM dependencies, devices, and scope in the Generated reference.

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