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

i hate to be a complete noob here, because i know how frustrating that can be for more advanced users, but i'm trying to read through this thread for the billionth time and it's a little over my head.

i've used the deprimed kernel many times before, but now i'd like to learn a little something. the main thing i want to do is overclock it, i'm still going to try to dig through this huge thread and figure it out but i thought maybe somebody could explain it in easier terms.

thanks for any help

Edit: Never mind. I think I figured it out. Downloaded the milestone overclock app. The version in the op.

Edit 2: So my only problem now is that I can't get the overclock to stick on boot. I have autoload checked in the milestone overclock app and I have set on boot checked in setcpu, however I don't have set on boot checked in cyanogenmod settings because I'm not using the cyanogenmod cpu settings.

If anybody knows how I can get it to stick I'd appreciate the knowledge. Thanks

I really suggest this thread in the cyanogenmod forums: Prime's Deprimed Test Kernel: How to An in-depth run-down of how to customize the Deprimed Kernel

MSOC allows you to test various settings, but to make them stick you ultimately will want to modify your 20overclock file. The 20overclock file is created when you run the primed command. Once your 20overclock file reflects your preferred clock speeds and vsels, they will be loaded on boot.

As for using cyanogenmods built in CPU settings, I much prefer to turn those off and use SetCPU because it will allow for profiles based on situations. At the least you will want to set it up to underclock when cpu temp gets too high. Adding a screen off and low battery profile will give you really good battery life.

Hope that helps. I remember it was a bit overwhelming at first, but once you begin customizing your 20overclock file, you will see the beauty of what prime has done for us all - true customization as opposed to off the shelf overclock kernels.

Best,
C

Edit: I went ahead and attached my 20overclock file - it peaks at 1100 w/ 68 vsel and has been stable for me. If you want to just try that, run the primed command and replace the 20overclock file in /etc/init.d/ with the one in the attached zip.

Thank you so much for this info. I'll take a look at the thread and go from there. I'm not familiar with running commands but hopefully I'll figure it out by reading the thread.

Also, you say that you turned off the cyanogenmod CPU settings, I wasn't aware that we could just completely turn them off. How can I go about doing that?

Sent from my Droid using DroidForums
 
You can't turn them off so to speak, but just make sure "set on boot" is unchecked in the cyanogenmod settings, then that should be the last of your worries about it. If you were using them then just reboot and the rest is history.

Sent from my Droid using DroidForums
 
I'm not familiar with running commands but hopefully I'll figure it out by reading the thread.

I am not particularly familiar with them either but prime has made it very easy (check out post #2 on the first page).

In this case you would want to:
1- Open the terminal emulator
2- Type "su" (no quotation marks) which gives the terminal super user permissions
3- Type "primed" (again, no quotations) to create the 20overclock file in /etc/init.d/

Then you can either modify the 20 overclock file as explained in the cyanogenmod forum thread I posted, or try just replacing it with my 1100 - 68 version.

Happy customization :icon_ banana:
 
This is what I'm getting when I try to create the overclock file in ect/intd folder. What am I doing wrong?
Thanks


export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$su
# primed
cp: can't create '/system/etc/init.d/20overclock': Read-only file system
Disclaimer: You have enabled overclock, your device will now run the /etc/init.d/20overclock script and overclock module upon boot.
To disable please run the command 'deprime' in a su shell.
executing 20overclock
sh: Can't open /etc/init.d/20overclock
#
 
This is what I'm getting when I try to create the overclock file in ect/intd folder. What am I doing wrong?
Thanks


export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$su
# primed
cp: can't create '/system/etc/init.d/20overclock': Read-only file system
Disclaimer: You have enabled overclock, your device will now run the /etc/init.d/20overclock script and overclock module upon boot.
To disable please run the command 'deprime' in a su shell.
executing 20overclock
sh: Can't open /etc/init.d/20overclock
#

Try entering "sysrw" after su but before the primed command. Then at the end enter "sysro" for safety purposes. That should make it work.

Sent from my Droid using DroidForums
 
export PATH=/data/local/bin:$PATH
$ export PATH=/data/local/bin:$PATH
$su
# sysrw
Usage: mount [-r] [-w] [-o options] [-t type] device directory
/system has been mounted re-writable
please remember to run sysro after your finished (for safety)
# primed
cp: can't create '/system/etc/init.d/20overclock': Read-only file system
Disclaimer: You have enabled overclock, your device will now run the /etc/init.d/20overclock script and overclock module upon boot.
To disable please run the command 'deprime' in a su shell.
executing 20overclock
sh: Can't open /etc/init.d/20overclock
#
 
Yea I tried that already after I posted here and still no go....:(

I had to go into root explorer and set permissions to r/w for the /etc subfolder as well, then go back through terminal and run the script. I don't know why, but that's the only thing that worked. What ROM, btw? (Just trying to correlate)

Sent from my Droid using DroidForums
 
Yea I tried that already after I posted here and still no go....:(

I had to go into root explorer and set permissions to r/w for the /etc subfolder as well, then go back through terminal and run the script. I don't know why, but that's the only thing that worked. What ROM, btw? (Just trying to correlate)

Sent from my Droid using DroidForums

Thanks bro! That worked. Now another question it says primed for ulv and up to 900mhz. The milestone app can be used to clock it higher than that correct?
I'm on pe6.5 btw.
 
Thanks bro! That worked. Now another question it says primed for ulv and up to 900mhz. The milestone app can be used to clock it higher than that correct?
I'm on pe6.5 btw.

I don't know as I've never used the OC app, but you can go in the 20overclock file and edit it with text editor. It will save the original as a .bak file. You can also tweak the vsel values if the kernel gets unstable. It seemed plenty fast at 900, but I think I pushed it to 1ghz for a little bit, maybe at 60 for vsel?
I had to set the permissions manually in PEv6 beta, but not in SS5.4... must be something in the way actngrezy sets up his /system folder permissions?



Sent from my Droid using DroidForums
 
Ok I edited it a lil I'm try and run it at 1mhz and see what happens. I've got to dig into this a lil more and see what all the temp ratings and stuff are.
 
Creating /data/sd-ext2

Tether Solutions

Wifi Tethering Please Use: WiFi Tether 3.0 pre11

USB Tethering Please Use: Wired Tether 1.4

If running gingerbread this kernel is compatible with the Android integrated USB Tethering solution (simply enable USB Tether in wireless settings with USB cable plugged into PC).

Note: These are not available in the market currently.

Link2SD Users: This is a link2sd pre-installation script, it will remove /etc/init.d/05mountsd (mounts to /sd-ext) and replace it with a modified version that mounts (and scans if an issue is detected) the second (ext2/3/4) based SD Card partition using the ext4 driver.

You need to make certain /data/sdext2 exists before flashing the zip/using link2sd...this is a safety measure to prevent any possible mishaps with a previous /data/sdext2 setup.

Link2sd Pre-installation Flashable zip: http://bit.ly/gpGpKX

I looked for this folder using root explorer, and I do not have it. Can I just create it and will that suffice so that I can use link2sd? I am guessing by data/sd-ext2 you are meaning on the root of the sdcard, or on the root of internal storage?
 
That's correct. You can Just go into /data and just create the sdext2 folder and it will work. That's what I have to do everytime I switch roms or update to a newer version which involves wiping data and cache.

Sent from my Droid using DroidForums
 
Back
Top