{"repo":"sam0rr/SD-EMMC-HEALTHCHECK","free":true,"listed":false,"github":"https://github.com/sam0rr/SD-EMMC-HEALTHCHECK","clone":"git clone https://github.com/sam0rr/SD-EMMC-HEALTHCHECK.git","description":"SD-EMMC Health Analyzer tool that reads hardware lifetime estimates from eMMC/SD cards, calculates wear percentage, and predicts remaining lifespan based on current usage patterns (since boot).","language":"Shell","stars":15,"topics":["bash-script","emmc","health-check","healthcheck","monitoring","pip","sdcard"],"license":null,"category":"analytics","readme_excerpt":"SD‑EMMC Healthcheck An SD-EMMC lifetime and health analysis tool written in Bash. This script detects SD-EMMC devices on your system, reads hardware registers, computes wear metrics, and generates a detailed report with lifespan estimates and recommendations. Features Device discovery : Automatically finds mmcblk devices. Wear analysis : Parses EXT\\ CSD registers to calculate A/B lifetime estimates. Write statistics : Computes daily and total written bytes. Lifespan projection : Estimates TBW, remaining life in days and years. Health assessment : Flags devices as Excellent, Good, or Attention Required. Recommendations : Provides actionable guidance based on wear. Prerequisites bash (version 4+) mmc-utils (for mmc extcsd read ) bc (arbitrary‑precision calculator) Linux system with /sys/block/mmcblk support If you don’t have mmc-utils or bc installed: Installation Choose one of the following methods: 1. One‑line curl + bash Downloads and executes the script without saving it locally. 2. Install as a system command 1. Download to /usr/local/bin : 2. Make executable: 3. Run it directly: How it works 1. discover\\ emmc\\ devices : Finds block devices matching mmcblk[0-9]+ . 2. select\\ device : Prompts user to choose a device. 3. read\\ device\\ stats : Reads /sys/block/ /stat for write counters. 4. mmc extcsd read : Retrieves EXT\\ CSD registers for lifetime estimates. 5. Calculations : Uses awk and bc to compute wear percentages and TBW. 6. Report : Displays formatted output with colo","default_branch":null,"files":null,"tree":[],"storefront":"/r/sam0rr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sam0rr/SD-EMMC-HEALTHCHECK/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}