Skip to content
Taku Docs

Version 1.4.0 (current)

Raw Android interface inventory

Pinned upstream declarations, permissions, shell, Binder, HAL and native interfaces.

Exploring what a phone can do or imagining cases? Start with the one-page capability map. This page is the detailed declaration, permission and source lookup.

This page answers a specific question: what interfaces already exist before Taku OS adds agents, wrappers and extensions? Use the inventory to explore product possibilities before deciding what belongs in the platform or an extension.

The API reference describes tasks and verification status. This page describes raw declarations, permissions and source provenance. The searchable declaration data is the detailed index; the domain table is a navigation aid, not a replacement for all Android APIs.

Pinned baseline and completeness

The baseline is Android 16 / API 36, from the LineageOS 23.2 development source used for the Pixel 9 candidate. Upstream declarations are read from each repository's pinned HEAD blobs, excluding uncommitted Taku changes. This is not Google's stock Pixel OS or a universal inventory for every Android vendor.

Two evidence classes remain separate:

  • Upstream source declarations: public, system, module, system-server and test signatures; permission XML; Binder AIDL; HAL AIDL/HIDL; native exports and headers; Bionic syscall mappings; UAPI headers; system properties; command help source.
  • Candidate build outputs: non-SDK descriptors from hiddenapi-flags.csv and binary names in partition directories. These are generated artifacts from an integrated candidate, not proof of a pristine image or runtime behavior.

A separately labelled Android SDK 36 revision 2 annotation supplement retains RequiresPermission, RequiresFeature, RequiresApi and exact argument annotations from the installed SDK's annotations.zip. It is not the same revision as the baseline source and does not replace service implementation checks.

Declaration existence, caller qualification, hardware implementation and successful execution are four different claims. Bulk extraction establishes declaration or artifact presence only. It does not increase emulator or physical-device verification counts.

Completeness has an auditable scope: every matched source file has a path, revision and SHA256; every managed signature declaration is retained, including unclassified lines. Pagination, privilege level or deprecation do not discard records. Counts include types, constructors, methods, fields, enum constants, whole source files and versioned duplicates. They are not counts of unique callable APIs.

Excluded or not established: proprietary vendor ABI and HAL implementations, runtime Binder registrations and command help, vendor-specific ioctls outside Bionic UAPI, Google/GMS/Play, AndroidX and third-party application APIs, and private Java declarations outside the candidate hiddenapi artifact. removed.txt is historical and is not included as a currently available interface.

Search all declarations

Public is a source export surface, not a universal promise of app-SDK availability. The inventory aggregates platform and module current.txt files, including types exported during module builds. Not every owner is in an ordinary APK's android.jar. Check the exact source file, dependencies/build entry, feature flags and caller identity. System, Module-lib and Test names alone do not establish qualification either.

Choose a surface and search for a class, method, permission or source path: WallpaperManager, setBitmap, CameraManager, INJECT_EVENTS or IInputManager. Expand an owner to read every declaration and its pinned source. File-level records retain complete text, including parameters, callbacks, constants and data types. Android reference links help explain classes but may describe a newer revision; the pinned source is the version authority.

20,297 source files · 722,055 declaration records · 86,907 searchable owners

Includes types, fields, overloads and versioned declarations. This is not a count of callable APIs. Unclassified signature lines: 0.

Loading this interface surface…

1 / 1

Caller identities and qualifications

Caller / interfaceAlready provided by AndroidQualificationNot automatically granted
Ordinary APK / public SDKUI, intents, networking, own data and authorized camera, microphone, location and sensorsAPK installation, Manifest, runtime grants and lifecycle complianceOther apps' private data, arbitrary input injection or consent-free capture
Special access / rolesAccessibility, notification listening, usage access, default IME, assistant or SMS roleCorrect service and capability declarations; settings or role selectionA single pm grant does not enable all special access; callbacks are not full historical databases
ADB / shell UID 2000am, pm, cmd, dumpsys, input, screencapAuthorized debug connection or an already qualified on-device shell serviceShell is not Root; service, AppOps and SELinux checks still apply
Platform signature / privileged APKProtected APIs and integrations allowed by permission declarationsAppropriate signing, partition installation and privileged allowlistsSignature, privileged placement and system UID are different qualifications
System Server / native daemonInternal services, display/input/power scheduling and service capabilitiesFramework or native integration, startup order, Binder policy and SELinux domainOrdinary JS cannot become any system process without a bridge
Root / UID 0Linux-level file, process, mount and debug access permitted by policyDevelopment root on a suitable build or an explicitly configured pathNo generic decryption of app ciphertext/hardware keys; no missing HAL implementation
HAL / driver / firmwareDevice hardware protocolsDriver, vendor HAL, VINTF and device-specific qualificationAbsent hardware or unsupported features do not appear merely by changing the ROM

Sources: ADB, ADB root build identities, privileged allowlists, non-SDK restrictions, SELinux. These explain mechanisms; pinned declarations determine this inventory's exact version.

Domain map

Each row points to raw classes or services. Inspect exact overloads, fields and callbacks in the search above. Permissions depend on the method, target SDK, device, role and foreground/background state; one row is not a permission contract for a whole class.

Domain / purposeRaw interfacesCommon qualification / entryBoundary
Version, ABI, build and memoryBuild, ActivityManager.MemoryInfo, Process, SystemClockPublic SDK; getprop, idBuild properties do not prove hardware support
Packages, components, signaturesPackageManager, PackageInstaller, PermissionManagerPackage visibility; installer/system qualification; pmEnumeration, installation and grants have separate gates
Launch existing appsIntent, Context.startActivity, PendingIntent, ActivityOptionsExported component/public intent; am startBackground launch, lockscreen and display selection have extra rules
Tasks and windowsActivityManager, ActivityTaskManager, WindowManager, IActivityTaskManagerOwn tasks publicly; cross-app control usually system/shellNot a default cross-app window automation API
UI tree and semantic clicksAccessibilityService, AccessibilityNodeInfoEnabled service and window retrieval capabilitiesCanvas/video/secure windows may lack nodes
Touch, keys and gesturesGestureDescription, InputManager, IInputManagerAccessibility gesture or protected INJECT_EVENTS; inputConfirm display, focus and actual business outcome
Text and IMEInputMethodService, InputConnection, InputMethodManagerUser-selected IME and proper service bindingShell text input is not universal Unicode entry
Screenshot and recordingMediaProjectionManager, MediaProjection, ImageReaderCapture consent, FGS, qualified shell captureSession rules and secure content remain
Virtual / external displaysDisplayManager, VirtualDisplay, SurfaceControl, IDisplayManagerPrivate display APIs; trusted/mirror/capture privileges separatelyA virtual display does not automatically run any app
Read notifications / replyNotificationListenerService, Notification, RemoteInputNotification access; exposed notification actionsNot full app history or absent message content
Publish task statusNotificationManager, NotificationChannelOrdinary apps need POST_NOTIFICATIONS on Android 13+DND and user settings still affect delivery
Clipboard / sharingClipboardManager, ClipData, ACTION_SEND, DragEventFocus/IME qualification; URI grantsNo unlimited ordinary background clipboard access
Usage / foreground signalsUsageStatsManager, UsageEvents, AppOpsManagerUsage access or protected qualificationNot a complete real-time window event stream
Camera frames and controlsCameraManager, CameraDevice, CaptureRequest, ImageReaderCAMERA, lifecycle, HALInspect capabilities; RAW/concurrency/high FPS are hardware-specific
Image / GPU processingBitmap, Canvas, HardwareBuffer, OpenGL ES, VulkanOwn buffers; buffer sharing needs qualificationCaptured pixels are not an app's original file
Microphone / encodingAudioRecord, MediaRecorder, MediaCodecRECORD_AUDIO, foreground/background rulesCalls, playback capture and microphone recording differ
Playback / sessionsAudioTrack, MediaPlayer, MediaSession, MediaControllerOwn playback; external control via qualified session accessOnly operations exposed by the target session
Audio routing / volumeAudioManager, AudioDeviceInfo, BluetoothProfilePublic volume paths; global policy needs privilegeDisplays can still share audio devices
Speech / TTS / assistantSpeechRecognizer, TextToSpeech, VoiceInteractionServiceMicrophone, role and installed providerInterface existence does not imply an offline model
Location / GNSSLocationManager, GnssStatus, GeocoderApproximate, precise and background grants separatelyHardware, provider and network determine results
Motion / light / pressureSensorManager, Sensor, SensorEventListenerMany basic sensors public; high-rate/health types differQuery actual sensors; emulator behavior is not physical proof
Steps / healthSensor.TYPE_STEP_COUNTER, HealthConnectManagerActivity recognition / health grantsSensor events, stored health data and external clouds differ
Haptics / flashlightVibrator, VibratorManager, VibrationEffect, CameraManager.setTorchModeVIBRATE; camera-service qualificationEffects and intensity depend on device and occupancy
Wi-Fi / hotspot / networkingWifiManager, ConnectivityManager, NetworkCapabilities, TetheringManagerNearby/location qualifications; privileged tethering separatelyOrdinary apps cannot reconfigure every network
Bluetooth / BLEBluetoothAdapter, BluetoothLeScanner, BluetoothGattBLUETOOTH_SCAN/CONNECT/ADVERTISE; pairingPeripheral protocols and authentication remain
NFC / HCE / UWB / IRNfcAdapter, HostApduService, UwbManager, ConsumerIrManagerHardware and NFC/UWB/TRANSMIT_IR qualificationsMissing silicon or vendor support means no capability
USB / serial / peripheralsUsbManager, UsbDeviceConnection, UsbAccessory, USB/tty native pathsUSB device grant; node DAC/SELinuxHost, accessory, networking and debug modes differ
Cellular / calls / SMS / eSIMTelephonyManager, TelecomManager, SubscriptionManager, SmsManager, EuiccManagerRoles, restricted permissions, carrier privilegeModem, carrier and hardware-key rules still apply
Contacts / calendars / SMSContactsContract, CalendarContract, Telephony, ContentResolverProvider and read/write/URI qualificationsNot WeChat friends or external cloud calendars
Photos / documents / EXIFMediaStore, Photo Picker, DocumentsContract, SAFMedia grants or selected URI permissionAll-files access is not other apps' private directories
Storage / encryption / backupStorageManager, StorageStatsManager, BackupManager, IVoldOwn files; protected stats/backup/mount pathsUnlock state, encryption and consistency differ
Wallpaper / themesWallpaperManager, WallpaperService, OverlayManagerSET_WALLPAPER; live service selection; overlay policyStatic wallpaper is public; video wallpaper needs a player service
Launcher / widgets / tilesLauncherApps, AppWidgetManager, AppWidgetHost, ShortcutManager, TileServiceHost roles, binding/placement, tile selectionAndroid host protocols do not include Taku's generation pipeline
Lockscreen / biometric / keysKeyguardManager, BiometricPrompt, Keystore, IKeystoreServiceAuthentication, protected roles and key policiesRoot is not a universal biometric/key export API
Background / alarms / bootJobScheduler, AlarmManager, Service, BroadcastReceiverFGS types, exact alarm access, scheduler rulesAn ordinary service is not permanently alive
Battery / thermal / powerBatteryManager, PowerManager, ThermalService, Health/Power HALPublic status; protected global controlControl requires actual hardware support
Users / management / rolesUserManager, DevicePolicyManager, RoleManagerDevice/profile owner or system roleDevice Owner, Root and signing are not interchangeable
Permissions / accountsPermissionManager, AppOpsManager, AccountManagerSelf, shell and system paths differ per methodAccount providers control token access
Update / OTA / recoveryPackageInstaller, RecoverySystem, UpdateEngine, BootControl HALInstaller/signing/AVB/rollback/vendor compatibilityAPK updates and whole-device OTA are different
Performance / tracingDebug, Trace, Process, Perfetto, logcat, dumpsysOwn process; global access qualifiedDebug-only behavior is not production support
Native execution / IPCSockets, Binder, IBinder, JNI, Bionic, epoll, Unix socketsINTERNET, file/process and SELinux qualificationAndroid sh/toybox does not imply GNU Bash, Node or compilers
App UI and storageActivity, Service, View, Resources, WebView, SQLite, Java libraryPublic SDK and app sandboxAPK installation is not generation/build/sign/preview automation

Direct shell commands

Run these in an authorized development device shell, not blindly against whichever phone is attached. First identify the target with adb devices -l, then enter adb -s <target-serial> shell. This page does not execute examples.

id
getenforce
getprop ro.build.version.release
getprop ro.build.version.sdk
getprop ro.build.type
getprop ro.product.cpu.abilist
cmd -l
service list
dumpsys -l
toybox --long

The three service/command listings differ. A source declaration does not prove runtime registration. Runtime discovery is not verified by this static collection.

PurposeCommandResult / qualification / failure boundary
Packagespm list packages; cmd package helpNames do not grant private-data access
Components / permissionsdumpsys package <test-package>Inspect a test app; output can contain device information
Launcham start -n <package>/<Activity>Component must exist and be launchable; verify task outcome
Install own APKpm install -r /data/local/tmp/test.apkWrites state; signature/SDK/ABI/storage must qualify
Uninstall test APKpm uninstall <test-package>Deletes app and data; not a read-only probe
Displays / windowsdumpsys window; dumpsys displayStatus output is not captured pixels
Inputinput --help; input -d <logicalDisplayId> tap 100 200Verify syntax, target and actual outcome
Screenshotscreencap -p /data/local/tmp/test-screen.pngWrites a file; protected content may be absent
Recordingscreenrecord --help; screenrecord --time-limit 5 /data/local/tmp/test-screen.mp4Codec/size/display rules vary; audio is not guaranteed
UI treeuiautomator dump /data/local/tmp/test-ui.xmlNot all windows have accessible nodes
Instrumentationam instrument -w <test-package>/<Runner>Requires installed test runner; not unlimited privileges
Notificationscmd notification help; dumpsys notificationHelp and data-read qualification differ; not message history
Grants / AppOpspm grant <test-package> <grantable-permission>; cmd appops helpMutates state; roles/allowlists/protection can prevent grants
Settingssettings get system screen_brightness; settings helpA setting is not hardware feedback; writes need qualification
Schedulingcmd jobscheduler help; dumpsys deviceidleScheduling and global idle control are different
Connectivitycmd wifi help; cmd bluetooth_manager help; dumpsys connectivityDiscover service existence and version-specific command support
Hardware service statusdumpsys media.camera; dumpsys audio; dumpsys sensorserviceStatus dumps are not frame/audio/sensor subscription APIs
HAL discoverylshal --help; VINTF manifestsHIDL discovery does not enumerate every AIDL HAL
Native processes / networkip help; ps -A; ls /system/binFile presence does not establish execution/control success
Tracingperfetto --help; cmd activity helpConfiguration, data source qualification and outputs remain separate

The search surfaces include system help source, Toybox config help/option grammar and candidate binary names. Source help can describe commands absent from the configured product. Runtime help must still be captured on the exact device.

Minimal public SDK calls

These Kotlin fragments belong in an appropriately qualified Activity/Service. Add imports, grants, callbacks, lifecycle and error handling. They are not shell commands or tested examples from this extraction.

Camera and sensors

val camera = getSystemService(android.hardware.camera2.CameraManager::class.java)
val ids = camera.cameraIdList
val info = camera.getCameraCharacteristics(ids.first())
val flash = info.get(android.hardware.camera2.CameraCharacteristics.FLASH_INFO_AVAILABLE)
// Hardware-changing call, only with proper qualification and actual flash support:
// camera.setTorchMode(ids.first(), true)

val manager = getSystemService(android.hardware.SensorManager::class.java)
val sensors = manager.getSensorList(android.hardware.Sensor.TYPE_ALL)
val accelerometer = manager.getDefaultSensor(android.hardware.Sensor.TYPE_ACCELEROMETER)

Camera capture requires CAMERA, legal lifecycle, openCamera, capture session, request and a Surface/ImageReader. Camera occupancy and device characteristics can prevent a call. Sensors can be missing; listener registration must be paired with unregistration. Raw events do not automatically carry semantic meaning such as running or driving.

Wallpaper

// Manifest requires android.permission.SET_WALLPAPER.
android.app.WallpaperManager.getInstance(this).setBitmap(bitmap)

The image must be supplied by the caller. Setting static wallpaper is already a public API; a thin qualified command or bridge is sufficient. Detecting a specific Douyin like is a separate context/observer problem. Video wallpaper requires a WallpaperService, playback implementation and selection flow.

Notifications, screen and UI tree

// In an enabled NotificationListenerService:
override fun onNotificationPosted(sbn: android.service.notification.StatusBarNotification) {
    val text = sbn.notification.extras
        .getCharSequence(android.app.Notification.EXTRA_TEXT)
    // text can be absent; this is not complete app history.
}

val capture = getSystemService(android.media.projection.MediaProjectionManager::class.java)
val consent = capture.createScreenCaptureIntent()
// Obtain consent and establish the appropriate FGS/projection/surface lifecycle.

// Inside an enabled AccessibilityService with window retrieval capability:
val root = rootInActiveWindow
val searchNodes = root?.findAccessibilityNodeInfosByText("Search")

Notification access, screen capture, accessibility, input injection and trusted background display are distinct mechanisms. Android 14+ projection token/session/FGS rules depend on target SDK. Secure content and missing nodes remain valid failure boundaries. The OS does not turn notification callbacks into WeChat history, desktop messages or Douyin like events.

Files, calendar and APK installation

val pick = android.content.Intent(android.content.Intent.ACTION_OPEN_DOCUMENT)
    .setType("image/*")
    .addCategory(android.content.Intent.CATEGORY_OPENABLE)
// Receive selection and explicitly persist URI access where appropriate.

val event = android.content.Intent(android.content.Intent.ACTION_INSERT,
    android.provider.CalendarContract.Events.CONTENT_URI)
    .putExtra(android.provider.CalendarContract.Events.TITLE, "Test trip")
// Opening the form is not proof of a saved event.

val installer = packageManager.packageInstaller
// Create session, write APK, commit and read the IntentSender completion result.

URI access, calendar protocols and installation already exist. Generating arbitrary app code, previewing it, compiling/signing and exposing its business API are an additional pipeline. User-confirmed installation and qualified silent installation are separate paths.

Permission inventory

The permissions surface preserves every <permission> attribute from the pinned Framework Manifest: name, protection level, group, flags, label, description, known certificates and other present metadata. Duplicate conditional/versioned declarations are retained, not miscounted as unique permissions.

Protection / qualificationHow grantedCommon mistake
normalCorrect Manifest declaration and installationOther method-level checks may still apply
dangerousRuntime grant plus role/installer conditions where relevantNot a replacement for every special-access setting
signatureSigning qualificationCopying an APK to system does not make its signature match
signature|privilegedSigning or qualified privileged installation/allowlist pathPriv-app does not receive every protected permission
internal, role, knownSignerCorresponding internal, role or certificate mechanismNot an ordinary runtime dialog
AppOps / special accessOperation mode or settings enablementPermission grant and allowed AppOp differ
Service BIND_*Protects system binding to a correctly declared serviceNot a universal API grant to the declaring app
Linux / SELinuxUID/GID, modes, domains, Binder/ioctl/seccomp rulesUID 0, signing and system UID are different

Record caller package/UID/domain, build type, target SDK, grants, AppOps/roles, unlock state, service/hardware presence, input, output and exception. Where method-level permissions were not extracted, inspect implementation. Unknown permission requirements never mean permission-free.

Binder, HAL, native and kernel interpretation

Binder / AIDL

Search interface names such as IActivityManager, IInputManager or ICameraService. AIDL files include parcelables, enums, callbacks and method parameters. Source existence does not establish service access. Prefer public Managers, generated AIDL clients or a verified system command, with service-side checks and SELinux qualification.

service call <name> <number> is not a stable contract: transaction numbering, parcel layout, AIDL version and caller/user identity vary.

HAL / AIDL / HIDL

Camera, audio, sensors, power, vibrator, USB, radio, Bluetooth, Wi-Fi, NFC, biometric, graphics, health, thermal, GNSS and UWB declarations include frozen versions and data types. Use VINTF and actual registration to establish the implemented instance/version. Declarations do not prove physical Pixel hardware behavior.

Native / Bionic

Symbol maps preserve exported names or patterns, not inferred function signatures. Source headers under include/android, ndk/include and Bionic libc/libm/libdl retain prototypes, macros, structures and version annotations. SYSCALLS.TXT lists Bionic mappings and architectures, not every Linux syscall or every syscall allowed in an Android app.

Stable paths include native camera, AAudio/OpenSL ES, AMediaCodec, AImageReader, AHardwareBuffer/ANativeWindow, ASensorManager, JNI, Binder NDK, OpenGL ES/EGL, Vulkan and libc/libm/libdl. See Native APIs and the NDK reference. Read exact headers, ABI, linkage and qualification rather than guessing from symbol names.

Kernel UAPI and system properties

Bionic's Linux UAPI headers retain ioctl constants, structures, flags and ABI declarations. They are not every vendor kernel header. Nodes, drivers, architecture/layout, DAC, SELinux and seccomp still determine calls. System-property declarations retain access modes and names; their presence does not grant global read/write access.

Reproducible extraction and coverage

The canonical extractor belongs to the system repository: scripts/collect_raw_android_interfaces.py. Use a pinned read-only source tree:

python3 scripts/collect_raw_android_interfaces.py \
  --source /path/to/pinned/android/source \
  --sdk /path/to/sdk/platforms/android-36 \
  --output spec/raw-android-interfaces.json.gz

Projects come from .repo/project.list within frameworks/, packages/modules/, system/, hardware/, libcore, art, bionic, external/icu and external/toybox. Reads use committed blobs. No device user data or proprietary binary content is collected. Signature discovery includes /api/*current.txt, excluding removed and lint files. AIDL/HIDL frozen versions are included; test, sample and benchmark directories are explicitly excluded from product interfaces.

The projection checks source indices and surface totals. Full data is not truncated by ten-owner pages or fifty-declaration expansion batches:

import gzip, json
data = json.load(gzip.open("raw-android-interfaces.json.gz", "rt"))
for record in data["records"]:
    if "setBitmap" in record["declaration"]:
        print(record["kind"], record["owner"], record["declaration"])

Check the archive against snapshotSha256 in the coverage manifest. Collection time is not device execution time. Upstream licenses remain applicable to extracted declarations and source headers; pinned public source links preserve provenance.

What Taku OS adds above these interfaces

Android already sets static wallpaper, opens apps, captures authorized media, vibrates, publishes notifications and installs APKs. Taku OS should establish whether a usable command already exists, what caller identity an agent needs, whether a thin Binder/JNI/CLI bridge is needed, and how structured results, events and background work coexist with the person's main screen.

Reliable like events from a video app, desktop messaging context, industry models and booking-site adapters can come from observers, connectors, tools, scripts and other extensions. A one-off task can use existing capabilities or temporary generated code without a preinstalled case plugin. Persistence, reuse, triggers and sharing are reasons to form an extension.

See permission layers, system shell, extension contract and evolution during use. This index does not expand the implemented Taku SDK registry or turn research into tested features.

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