An open API service indexing awesome lists of open source software.

https://github.com/cybersecurity-dev/aet

Event Tracing for Android
https://github.com/cybersecurity-dev/aet

android android-event-log android-event-logs android-eventlog event-management tracing

Last synced: 28 days ago
JSON representation

Event Tracing for Android

Awesome Lists containing this project

README

          



# [AET](https://developer.android.com/) | Event Tracing for Android


GitHub
 
YouTube
 
My Awesome Lists

AET is a tracing facility that allows a user to log events to a file (JSON, XML, CSV)

Install required tools on Linux

### For Ubuntu 18.04, 20.04, 22.04

```bash
sudo apt-get update
```

Install required tools on Windows

### For Windows 11

```powershell
```

Install required python libs

### pip install
```script
pip install -r requirements.txt
python3 setup.py install
```

### conda install
```script
conda config --add channels conda-forge
conda install --file requirements_conda.txt
python3 setup.py install
```

## Common Android Kernel Event Types

| **Event Type** | **Description** | **Subsystem / Use Case** |
|------------------------|-------------------------------------------------------------------------------|----------------------------------------|
| `EV_KEY` | Key/button pressed or released | Input subsystem (`/dev/input`) |
| `EV_REL` | Relative axis movement (e.g., mouse movement, joystick) | Input subsystem |
| `EV_ABS` | Absolute axis value change (e.g., touchscreen, accelerometer) | Input subsystem |
| `EV_SYN` | Synchronization event (marks end of a set of input events) | Input subsystem |
| `EV_MSC` | Miscellaneous input events | Input subsystem |
| `EV_SW` | Switch state changes (e.g., lid open/closed, headset inserted) | Input subsystem |
| `EV_LED` | LED status changes (caps lock, etc.) | Input subsystem |
| `EV_SND` | Sound output events (beep, bell) | Input subsystem |
| `uevent` | Kernel-generated device state change notification | Device manager (e.g., hotplug) |
| `binder_transaction` | IPC transaction event | Binder (Android IPC mechanism) |
| `binder_transaction_fd`| IPC transaction with file descriptor | Binder |
| `binder_reply` | Reply to a binder transaction | Binder |
| `binder_dead_binder` | Notification that a binder node is no longer active | Binder |
| `trace_sched_switch` | Task context switch (scheduling trace event) | Kernel tracing (ftrace) |
| `trace_sys_enter` | System call entry | Tracing/debugging |
| `trace_sys_exit` | System call exit | Tracing/debugging |
| `kprobe_event` | Dynamic tracing via kernel probes | Debugging/performance analysis |
| `pm_wakeup` | Power manager wakeup event | Power management |
| `thermal_event` | Temperature threshold triggered (e.g., CPU/GPU thermal state) | Thermal management |
| `battery_status_change`| Battery state change (e.g., charging/discharging) | Power subsystem |
| `ion_heap_shrink` | Memory allocator (ION) event for memory shrink | Memory allocator (Android-specific) |
| `vibrator_on/off` | Vibration motor activation/deactivation | Input/haptic feedback |

### My Other Awesome Lists
You can access the my other awesome lists [here](https://cyberthreatdefence.com/my_awesome_lists)

### Contributing

[Contributions of any kind welcome, just follow the guidelines](contributing.md)!

### Contributors

[Thanks goes to these contributors](https://github.com/cybersecurity-dev/aet/graphs/contributors)!

[🔼 Back to top](#aet--event-tracing-for-android)