Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

🐧 Android Kernel Telemetry: Live Command Center

High-Fidelity Hardware Diagnostics for Snapdragon 626 (Samsung Galaxy C7 Pro)

Docker Support Kernel Python

🚀 Project Overview

This project is a "bare-metal" monitoring suite that bypasses standard Android APIs to interface directly with the Linux Kernel virtual filesystems (/proc and /sys). By establishing a low-level bridge via ADB, this suite pulls raw hardware states to provide real-time, high-frequency telemetry visualization through a Dockerized Web Dashboard.


📂 Repository Structure

The project is organized into two primary development phases to separate modern visualization from historical logging:

The Modern Interface. This folder contains the current, Dockerized version of the project:

  • dashboard.py: The main application logic using Streamlit for UI and Plotly for interactive graphing.
  • Dockerfile: Defines the environment, installing Python 3.10 and ADB for a "plug-and-play" deployment.
  • Key Metrics: Real-time SoC Temperature, Big/Little Core Frequencies, Battery Voltage, and RAM Usage percentage.

Historical Root & Scripts. This folder preserves the original shell-based foundation of the project:

  • Shell Scripts: Original logging tools like c7_logger.sh and monitor_c7.sh.
  • Data Logs: Historical CSV records of kernel telemetry captured during early development.
  • Analysis: Original Python plotting scripts used for static data visualization.

💡 Applications & Use Cases

This suite is designed for developers, kernel maintainers, and hardware enthusiasts to analyze:

  • Thermal Throttling Analysis: Correlate high CPU loads with temperature spikes to find the exact "trip point" where the kernel lowers clock speeds.
  • Battery Health & Power Delivery: Monitor voltage sag under heavy processing loads to evaluate battery aging and discharge curves.
  • Memory Management Pressure: Watch how the Low Memory Killer (LMK) daemon responds to high RAM usage by tracking the top 5 most resource-heavy processes.
  • Governor Optimization: Verify if the interactive CPU governor is scaling frequencies correctly based on touch input or background tasks.

📊 Methodology: The Thermal Lag Test

The suite is optimized to execute a 4-phase experimental stress test:

  1. Baseline Phase: Establish a thermal floor by observing ambient idle states (~31°C - 33°C).
  2. Saturation Phase: Trigger high-intensity tasks (like 4K recording) to force frequencies to 2.2GHz.
  3. Throttling Phase: Observe the kernel's frequency "Step Functions" as the SoC nears 50°C.
  4. Recovery Phase: Measure the passive cooling efficiency of the Galaxy C7 Pro's chassis.

⚖ License

Distributed under the MIT License. See the LICENSE file for more information.

About

A real-time Linux kernel monitoring and logging suite for Android (Snapdragon 626) using ADB and Python for thermal/performance analysis.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages