/AET

Event Tracing for Android

Apache License 2.0Apache-2.0

AET | Event Tracing for Android

Android YouTube Reddit

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

sudo apt-get update
Install required tools on Windows

For Windows 11

Install required python libs

pip install

pip install -r requirements.txt
python3 setup.py install

conda install

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

Contributing

Contributions of any kind welcome, just follow the guidelines!

Contributors

Thanks goes to these contributors!

🔼 Back to top