Troubleshooting

The TV is running out of space

· 2 min read

Troubleshooting

A television advertised with 8 GB ends up with about 4 GB actually available to the user, and much of that goes on updates to apps you never open.

See the real situation

adb shell df -h /data

And what is taking what:

adb shell du -sh /data/app/* 2>/dev/null | sort -h | tail -20

That list, smallest to largest, tells you exactly where the space went.

Why it matters more than it looks

Storage above 90% does not just stop you installing things: it degrades performance noticeably. Flash memory needs free space to manage writes, and without it everything slows down.

In other words: freeing space is not only about installing, it is about the television running better.

What to free, in order

1. Caches.

adb shell pm trim-caches 999999999999

Usually returns between 200 MB and 1 GB. Free, and breaks nothing.

2. Preinstalled apps you do not use. Each streaming app takes 50 to 200 MB, and their updates pile up.

3. Data from apps you do use that have bloated.

adb shell pm clear com.example.package

Careful: this wipes that app's sessions and settings. You will have to sign in again.

4. Downloaded system updates that were never applied and are sitting there taking room.

What you cannot reclaim

The system partition. Those gigabytes hold the firmware and are not touched, by this or by anything else documented here.

If it is still not enough

A USB stick or drive as adoptable storage extends the available space on many Android TVs. It is under Settings → Storage when you connect the drive. Bear in mind it formats the stick and leaves it useless for anything else.

Everything here applies to a device you own, and every removal is reversible. The limits of this project: What we do and do not do