What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[KERNEL] Kernel (deprimed_test) - Break It If You Can

Thanks. I noticed I had a number of errors when I ran the "primed" script:

insmod: init_module 'overclock.ko' failed (operation not permitted)

and a number of "permission denied" errors trying to write to proc/overclock.

Any advice for getting around these?

I'm new to this kernel and have it running at 900MHz with CM7 on my Droid. Can someone tell me how to bump this up to 1000+MHz? Looks like the options top out at 900. I tried reading through all 100+ pages of this thread, but didn't make it very far.

EDIT: I used the Milestone Overclock app to bump it to 1200. Reverts back to 900 though on a reboot, even if I tell it to restore on reboot. Am I missing something?

You have to edit your 20overclock file with your verified settings and it will become available in the cyanogen settings under performance>cpu settings, you can set on boot there. Here is my file for 1000mhz. You may want to try a higher vsel value than 59, maybe try 60 or 61.

overclock - Pastebin.com
Edit: DER! use a vsel of 74 or higher for 1200mhz..

- sent via Tapatalk

you need superuser permissions
type su
then run
 
Do you have a 99overclock file in /system/bin?
Dont know if cpu freq would have any effect.
- sent via Tapatalk

Edit: My bad I meant Do you have an overclock file in /system/bin?

Yes sir, it's just "overclock" in /system/bin

Copy it into your /system/etc/init.d directory with root explorer.
Rename it to 20overclock
Then in the terminal
Code:
su
sysrw
chmod 0755 /system/etc/init.d/20overclock
sysro

go to your home screen
menu>cyanogenmod settings>performance settings>cpu settings
What can you set max cpu frequency to?
 
Do you have a 99overclock file in /system/bin?
Dont know if cpu freq would have any effect.
- sent via Tapatalk

Edit: My bad I meant Do you have an overclock file in /system/bin?

Yes sir, it's just "overclock" in /system/bin

Copy it into your /system/etc/init.d directory with root explorer.
Rename it to 20overclock
Then in the terminal
Code:
su
sysrw
chmod 0755 /system/etc/init.d/20overclock
sysro

go to your home screen
menu>cyanogenmod settings>performance settings>cpu settings
What can you set max cpu frequency to?


I got to "chmod 0755 . . . "
and it said "Unable to chmod /system/etc/init.d/20overclock: Read only file system"

Other than that, still 900mHz max.
 
I got to "chmod 0755 . . . "
and it said "Unable to chmod /system/etc/init.d/20overclock: Read only file system"

Other than that, still 900mHz max.

Well definitely a permissions issue of sorts. I guess I'm at a loss.
In your superuser app, does your terminal emulator have allow status?
Edit: 900 is the default overclock value. If you want it to go higher, you need to edit the 20overclock file. I'm just finding it odd these commands are coming back denied.
I used primes milestone app to test different settings, http://bit.ly/dpoverclock.
 
Last edited:
I got to "chmod 0755 . . . "
and it said "Unable to chmod /system/etc/init.d/20overclock: Read only file system"

Other than that, still 900mHz max.

Well definitely a permissions issue of sorts. I guess I'm at a loss.
In your superuser app, does your terminal emulator have allow status?
Edit: 900 is the default overclock value. If you want it to go higher, you need to edit the 20overclock file. I'm just finding it odd these commands are coming back denied.
I used primes milestone app to test different settings, http://bit.ly/dpoverclock.

I just want 900mHz in ULV. And yeah, the terminal is allowed in SuperUser.
 
prime, what do you think about using both compcache and swapper2 at the same time? My compcache is filling up several times a day lately forcing me to reboot.

I know I'm not prime but I do have to say that swapper2 has always made my fone...funky...eventually...like after 24 hours when the swap gets filled...it just starts acting strange. Perhaps I had too large of a swap configured.

I finally got rid of Swapper2 and couldn't be happier...
 
Wow, Prime, you are getting a lot more users from the look of it. Might be time to add some more documentation near the OP! Maybe this will help.

Here's some info for you newer users, if I miss something here or make a mistake maybe some of the other veterans can chime in.

Prime has at least three kernels out there. This thread is mainly in regards to the Deprime kernel. The Deprime kernel is designed for the OG Droid phone. It's designed to run on CM7, but some have tried it on other ROMs and gotten it to work.

After flashing the kernel, you are running at stock voltage with a bottom kernel slot of 250 MHz and a top slot of 900 MHz. You will need to take advantage of the 900 MHz in some way, either use the CM7 performance settings, SetCPU, or some other clock manager app.

The primary reason to reduce voltage is for heat reasons. Prime has stated in this thread that battery life at stock voltage will probably be comparable to battery life at ULV. If you want to run at ULV, you can test it first, or just make it permanent right off the bat. Testing is probably best if this is your first try, because each phone is going to react differently. To do this:
1. Open Terminal.
2. Type su. You need to be certain that your superuser app grants su status to the terminal. My superuser app gives you a little message saying that su status has been granted.
3. To test ULV, type overclock. To run it permananently, type primed.

If everything is working correctly this should be all you need. The script that runs will definitely need read/write access to the system files on your phone, so if there is a permissions issue you will see errors. The milestone command will not be permanent. After a reboot you will go back to stock voltages. Primed is permanent. If you use Primed and later wish to go back to the original settings, run the script deprime in the same manner as above.

The overclock command creates a file called 20overclock, which can be copied to your /system/etc/init.d folder. The primed command places this file in that folder automatically. Files in this folder get run in numeric order at the boot of your phone. The contents of this file control the voltages and clock cycles for each of the 7 slots of your CPU. If you wish to experiment with the numbers and run a faster CPU or lower voltages you can edit this file, but be aware that you may cause your phone to boot loop. Further reading in this thread is suggested if you want to try it.

There are some other scripts available in this kernel, Prime has mentioned them in the first few posts in this thread.
 
My power has been out for over 24 hours (was in a tornado also but that's a different story altogether), I'm behind at everything currently.

To the poster that was having a permission issue, you need a different version of busybox. What version is your system running on PE?

I will get to everyone's question but I must go pickup my wife currently.

Thanks to everyone who have been helping new users.

@GoBigOrGoHome70
I suppose some documentation would definitely help :)
 
I know it was posted here a week back or so but I can't seem to find it, anyone know what the command is to show the vsel values for stock voltages?
 
So Prime, you in Alabama? I got peeps in the Ham, all fine. What a storm. I never even heard of a debris ball. T town seems to have gotten the worst of it. Hope all is well with you and yours.

And thanks for a great kernel. I just want to keep my CPU Cool enough not to kill my Droid. 700 is fast a plenty for me. Would lowering the vsel on the slower speeds help with heat. Seems worst with heavy data loads.
Latest nightly and deprimed that has been primed. That sounds funny.

Sent from my GTablet using DroidForums
 
I'm running Project Elite v5.0.2. In Elite Settings, I have the kernel's governor to bublebee, and the max is 900mHz, and the min is 250mHz.

I put Deprimed on my OG Droid, and got kinda confused.

I immediately ran:

su
overclock

I didn't really understand what that did except that it put it into ULV.

I then proceded to use the declock.zip, then tried to run:

su
primed

Didn't work. Says I already ran "overclock," and that I should run "deprime." That didn't work either. Same error. I rebooted after each command.

My question: What do I have to do if I want it to automatically boot up into Ultra low voltage (or low voltage), and running at 250-900mHz with the Bumblebee governor? I don't understand it very well. :o Sorry, and thanks for any help in advance.


It was my understanding that all you need to do is 1. flash deprimed kernel, 2. open terminal emulator, type:

su
primed
sysro

and there after the script creates an overclock file for you and from that point forth you are running, at boot, the ulv settings Prime has created for us. After that you just go. The governor you are looking for, bumblebee, is in the CM performance tab under settings. Go into that area of the settings select and go. I personally have had better luck with the ondemand setting, my phone feels more snappy there, but every phone is different.

I hope this helps. If you have questions as to whether everything is going like it should you can always reflash the kernel and start the whole process over again. Fortunately it isn't a lengthy thing to do.

Zach

I'm assuming this is the Overclock command I have been asking about in a couple of posts? Is this for ALL ROMS or just CM?

Thank You

This command /script is for the deprimed kernel

Sent from my Droid using DroidForums
 
So for those using Prime's kernel, do you get better battery life than stock(or stock cyanogen 7 in my case)? Performance is great but if my battery dies faster, that is rough.
 
Back
Top