Is there a way to find out the media wearout level on an android device? I have a tablet that is acting weird and slow, so I wonder if the internal storage is still ok: it is the Nvidia Sheild (renamed Tegra K1 later on) and probably has eMMC since it's quite old.

I know that a SSD is not the same as a phone storage chip. I read about eMMC and UFS and I am interested about wearout on both generations of storage!


Here's a link to Unix/Linux SE for more info about media wearout:

I know that one way to estimate the storage wear is to run a storage benchmark app, but I am interested about storage wearout.



SMART was originally designed for ATA devices and extended to SCSI and PCIe/NVMe later to cover almost the whole range of HDDs/SSDs. Trying to send SMART commands to eMMC, e.g. using smartctl would throw error: Unable to detect device type. Please specify device type with the -d option.

Unlike SATA or SAS, eMMC communicates over parallel links and has a different command set. One of these commands (CMD8) dumps the Extended CSD (Card Specific Data) register which holds card's internal information and device capabilities including Life Time Estimation and Pre EOL (End of Life) Estimation. EXT_CSD register can be read (requires root) using mmc tool from mmc-utils:

~# mmc extcsd read /dev/block/mmcblk0 | grep -E 'LIFE|EOL'
eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x03
eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x03
eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01

* 0x03 indicates health status is estimated between 20% and 30% of the device lifespan.
* 0x01 indicates Normal pre-EOL status.

Depending on your MMC driver, the above information is also available through sysfs interfaces:

~# cat /sys/devices/soc/7824900.sdhci/mmc_host/mmc0/mmc0:0001/{life_time,pre_eol_info}
0x03 0x03

* Path may differ depending on eMMC vendor.

Another option is to read ECSD register from debugfs:

~# cat /sys/kernel/debug/mmc0/mmc0:0001/ext_csd

But parsing ECSD raw output is an extra job.

For UFS part I'm not sure at the moment if the health/wear estimation is available through HCI Capabilities Registers or not. Also unlike eMMC, UFS operates over a serial communication link and supports a subset of SCSI commands. So it might be providing SMART (or SMART-like) monitoring system. Someone else may update the answer if some authentic source of information is available.


  • Wow thanks for the detailed answer about eMMC storage! I assume that these commands are only available on a rooted device... – ForeverLearning May 19 '20 at 22:14
  • @ForeverLearning yes definitely. Without root files in /dev and /sys aren't accessible. – Irfan Latif May 19 '20 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.