Skip to content
Aurelio Bernal edited this page Nov 30, 2026 · 4 revisions

ClusterTune

ClusterTune controls CPU frequency ranges, GPU frequency limits and frequency governors on Android handhelds. See the README for installation, setup and using the app.

Warning

Changing CPU or GPU limits can affect stability, performance, temperature and battery life. Start with tested values and use Stock to restore normal limits.

Control ClusterTune from scripts, automations and apps

ClusterTune has an external API. Pick the way in that suits you; they all reach the same methods, with the same arguments and results.

You want to… Use Start here
Run commands from a computer over ADB The built-in clustertune command line Command line
Automate it in Tasker, MacroDroid or Automate ClusterTune's action plugin Tasker plugin
Call it from your own Android app ContentResolver.call and the contract library Java library
Understand access, naming, errors and the settings syntax The overview API overview
Look up a method's argument and reply The reference API methods

A quick taste

From a computer, over ADB:

alias ct='adb shell sh /sdcard/Android/data/com.aure.clustertune/files/clustertune'
ct profile apply medium                          # apply a profile by name
ct tuning set cpu6.max=2.4GHz gpu.max=600        # cap CPU policy 6 and the GPU (MHz unless a unit is given)
ct state                                         # see what is applied now

The same from an app (off the main thread):

val uri = Uri.parse("content://com.aure.clustertune.api")
contentResolver.call(uri, "profile.apply", "medium", null)
contentResolver.call(uri, "tuning.set", "cpu6.max=2.4GHz gpu.max=600", null)

Nothing changes your clocks without your approval: the first time an app, an automation app or ADB uses ClusterTune, it asks Allow … to control ClusterTune? and remembers the answer under Settings → App access.

ClusterTune's own privileged setup (PServer or root) must work first. The API uses it; it cannot grant root access or get around Android's restrictions.

Clone this wiki locally