• 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
Jan 18, 2016
18
0
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.
 
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:
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones