• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Install new CPU governer on a rooted phone

gaviniboom

Newbie
Hi; I just recently rooted my phone and installed a custom rom, however, I want to install the cpu governer interactivex which I already have the c code of. I'm having a bit of difficulty because I don't know how to compile a kernel and only flashed an already compiled one, so I'm wondering if I can just install the cpu governer into the phone (already working) using a new driver or something? Thanks for your help.
 
No, it has to be ported to the kernel then compiled.
Okay; is there a way I can back up all my appdata and things like that? Also do you have any recommendations for a rom source code and a building guide?

Sorry I've never really been good at compiling stuff
 
Well, cyanogen has the most device support. They have building guides and resources here
You just have to select a device to build for.
Backing up app data, I use titanium backup from the play store. But there are tons of options out there. Titanium is the most widely used, and feature filled.
 
Well, cyanogen has the most device support. They have building guides and resources here
You just have to select a device to build for.
Backing up app data, I use titanium backup from the play store. But there are tons of options out there. Titanium is the most widely used, and feature filled.
How do I use Titanium Backup? It looks really complicated

Edit: I found out. Thanks!

Edit 2: Now I have another problem: I added the cpu frequencies to this cyanogenmod zip I downloaded from github but I am having trouble building it. All the guides online told me to use repo but I want to build from this zip I already have and repo keeps saying 404 not found. How do I compile that folder?
 
Last edited:
How do I use Titanium Backup? It looks really complicated

Edit: I found out. Thanks!

Edit 2: Now I have another problem: I added the cpu frequencies to this cyanogenmod zip I downloaded from github but I am having trouble building it. All the guides online told me to use repo but I want to build from this zip I already have and repo keeps saying 404 not found. How do I compile that folder?
Not sure that's possible.
 
Change of plans then. Is there any way for me to disallow the system to change CPU frequency? The kernel locks the minimum frequency to 1496
 
Last edited:
Is there any way for me to disallow the system to change CPU frequency?

Not on a stock kernel, no. This type of low-level tweaking is usually only available in custom kernels.

What device are you using? If there's CM support for it then it's highly likely there are also custom kernels available that allow adjustment of clock freq, along with many other options.
 
I'm not on a stock kernel. Using a ATT Nexus 6.
Don't know how to compile CM because repo returns 404 file not found for some files
 
Change of plans then. Is there any way for me to disallow the system to change CPU frequency? The kernel locks the minimum frequency to 1496
If you're using a custom kernel, use a kernel control app like kernel adiutor. Then set min and max (set them the same to stay 1 freq) but locking 1 single freq isn't recommended, and is horribly inefficient. You want it to ramp up and down.
 
Back
Top Bottom