← all posts site ↗

fire tv cube ADB debloat CPU fix

stremio on my fire tv cube was unbearably slow — 20-30s to list streams, then another 10s to buffer. assumed it was the aiostreams config (it wasn't — fixed that separately). ran adb shell top -n 1 -m 10 and found the real culprit:

 PID USER         PR  NI VIRT  RES  SHR S[%CPU]
571 audioserver  20   0 145M  10M 5.3M S  142

the audioserver — the audio HAL process — was consuming 142% CPU constantly. not a stremio bug. a fire OS driver bug.

unrooted cube so can't kill processes directly, but can disable amazon bloat that's contributing to CPU contention. ran these via ADB: disabled com.amazon.client.metrics.api, com.amazon.device.telemetry.emitter, com.amazon.dp.logger (telemetry). disabled com.amazon.kso.blackbird (lockscreen ads) and set device_provisioning_state to 1. disabled com.amazon.shoptv.client, com.amazon.media.recommendations (shopping bloat). disabled com.amazon.tv.forcedotaupdater.v2 and com.amazon.systemnotices (background update thrashing). disabled com.amazon.minitv.android.app (mini-TV preview bloat).

several packages are "protected" and can't be disabled without root (metrics core, OTA, launcher, sync). but the ones I killed are the main offenders. after reboot, top showed audioserver gone from the top 5. still seeing kswapd0 at 21% (memory swapping thrash). also disabled tubi, cloud9, gamehub, bueller.music. freed up RAM and killed the remaining bloat.

result: stremio stream enumeration is instant. video start is instant. the audioserver bug was a fire OS firmware issue on my build — no ADB fix will kill it directly, but removing competing CPU hogs gives it room to breathe without starving other apps. if audioserver stays above 100% even after debloat, the only remaining fix is a factory reset or waiting for amazon to patch the firmware. but for now, it's usable.