[KERNEL] [GPL] Quickie - Flashable Overclock Kernel - "Screamer" - Nook Color Android Development

Title says a helluva lot ;-)
READ THIS WHOLE POST AND THE WHOLE POST AFTER IT!
Features:
All steps undervolted about 25%. Should be stable still
The table is currently 300, 600, 950mhz until I can make it scale more than 3 steps.
The voltage for 950Mhz is less than at stock for 800Mhz, so you should see better battery life even though we're overclocked.
Display flicker fixed (or at least toned down, it can't be completely eliminated with the LED backlighting)
Scheduler tweaks backported from later kernel versions
Some governor tweaks of my own for responsiveness
To install this, just flash the zip in ClockworkMod. This shouldn't harm your device, but I make no promises. I trust it enough to run it on my device, if that means anything to y'all. I also attached a zip to flash back to the stock kernel (..but why would you break my heart by doing so..? ;P).
Next Up:
I REALLY want to get 1Ghz+ working, and my code is sound (I'm sure of that) but it won't boot on my device. I think I just need to find the right voltage, or I could have a bad die for OC'ing. This is the first thing I will work on.
Maybe the interactive CPU governor
Look into the 2-point touch limitation
Source:
Source is available on my GitHub at https://github.com/geniusdog254/Quickie
I will not flat out ask for donations, however I do appreciate them. So if you're feeling generous or appreciate my work then it would help me out a lot if you could donate. I have my game Reflex-A-Tron on the Market for $1 if you'd like to donate like that, or there is a link under my name on the left side to donate, and one in my signature. The one on the left and in my signature is to donate via PayPal. Any amount is appreciated, but please don't feel obligated.
You can contact me here via PM, on Twitter @geniusdog254, or email me at [email protected]. Email or Twitter is the preferred method, because I really despise the XDA PM system.
Disclaimer:
If this breaks your Nook, kills your family/pets, or starts global thermonuclear war, do not blame me. You have been warned. If you break your device and blame me, I will point at you and laugh.

Changelog:
1-11-11 - Screamer:
Overclock to 950Mhz. Still chokes at 1Ghz, which tells me it's probably my device. 950 is stable.
Temp sensor drivers. Thanks to the Nookie FroYo guys!
Updated to 2.6.29.6.
Scheduling tweaks from 2.6.31.
Code idle time from 2.6.34.
Scaling fixed. Now scales properly between all 3 CPU levels. Adding more than 3 makes it choke for some reason. I'll look into it.
Test version set at 1Ghz added. Just because it doesn't work for me doesn't mean it won't work for you. Don't get your hopes up though, I've tried making it work every way from Sunday
Notes:
Screen WILL be unresponsive immediately after a boot. Just lock the device for several seconds, unlock it, and all will be fine until another reboot. I blame B&N, it happens with all custom kernels.
Yes, I know there are more versions of this kernel than there are Windows Vista. The middle one is the recommended one. If your Nook can't run at 950Mhz (crashing often, or just won't boot) try the one with the 900mhz tag. If you wanna try and push it higher, try the 1Ghz one. Be warned: very little success is reported with the 1Ghz kernel. The top level of these chips seems to be right around ~925-975Mhz. Very few devices will be able to hit 1Ghz.
You should probably wipe your cache partition after flashing this. You won't lose anything, and many people are reporting that it makes things more stable at the higher freqs for them.
MD5 Sums:
stock-1.0.1-kernel.zip — 78ccf8ab0cd35b988cc9a81bd8bbc310
quickie-1ghz-test.zip — 7076a88cae2229910478e698c0e19435
quickie-screamer.zip — 22e8c2cc21e42cca1d18377a92b49540
quickie-900mhz.zip — 40362515da86cb4baea37b0bc6358feb

Wow thanks so much for this. Gotta try it out!

wow very nice! going to have to give this a shot!

Awesome! But is it compatible with nookie froyo (2.2) or the stock BN (2.1)?
Update: It boots Nookie Froyo but powers off immediately after booting. I am looking forward to the release of the 2.6.32 version of your work. Keep up the good work!
Sent from Nook Color (Nookie Froyo microSd optional)

runhopskipjump said:
Awesome! But is it compatible with nookie froyo (2.2) or the stock BN (2.1)?
Sent from Nook Color (Nookie Froyo on emmc)
Click to expand...
Click to collapse
Just stock 2.1.
With the Nookie FroYo, it wouldn't flash the kernel to the SD for boot, plus (at least on th Epic) a 2.6.29 kernel won't boot on FroYo, it needs 2.6.32 or higher

Glad to have you part of the nook color family. You did awesome work on the Epic4G.
Looking forward to more great stuff from you.
Thanks
Sent from my LogicPD Zoom2 using Tapatalk

Loss of touch sensitivity
I loaded up the new kernel via Clockwork and all went smoothly with the install. I noticed immediately that my touch sensitivity has decreased. I now have to press and hold just about as long as you would press and hold to bring up a context menu or something. If I don't do that, my touch is ignored and not registered.
Interestingly enough, when I type an email on the keyboard, it recognizes my typing very quickly. No apparent loss of sensitivity when I'm using the keyboard. I wonder why and how that is???
I guess I need to recalibrate the screen again to regain sensitivity.
I did notice that Castle Crashers frame-rate has improved a good bit with the overclock. It's a noticeable and welcome difference.
Angry birds was a bit annoying to play with the loss of screen sensitivity.
Edit: I alleviated the loss of touch sensitivity by installing the LCDDensity app from the Android Marketplace and selecting a density of 200.

Tried to install via clockwork and I keep getting errors unable to install. an I missing something?
sent from my nookcolor using the xda app
Got it working with clockwork update... thanks!

Flashed. Am loving it, seems much snappier, and the keyboard response at 900mhzz is much improved. Keep up the good work!

NC overcklock
Hi,
Last month I made some tests with overcloking /undervolting. I was able to push the NC at 1.15GHz, with a little voltage tweaking. 1Ghz was achieved without voltage tuning. The smartreflex technology adjusts automaticaly the OPP voltages to minimize the power consumption. Maybe the L3 speed can be increased to 200 Mhz by setting DPLL at 400MHz (in u-boot).
Occip (working for 2.6.32 NC kernel)

deitiphobia said:
I loaded up the new kernel via Clockwork and all went smoothly with the install. I noticed immediately that my touch sensitivity has decreased. I now have to press and hold just about as long as you would press and hold to bring up a context menu or something. If I don't do that, my touch is ignored and not registered.
Interestingly enough, when I type an email on the keyboard, it recognizes my typing very quickly. No apparent loss of sensitivity when I'm using the keyboard. I wonder why and how that is???
I guess I need to recalibrate the screen again to regain sensitivity.
I did notice that Castle Crashers frame-rate has improved a good bit with the overclock. It's a noticeable and welcome difference.
Angry birds was a bit annoying to play with the loss of screen sensitivity.
Edit: I alleviated the loss of touch sensitivity by installing the LCDDensity app from the Android Marketplace and selecting a density of 200.
Click to expand...
Click to collapse
me too, seems touch for a while(XXms) take effect, less then that screen acts like nothing touch it. this drived me mad when using Gellery, switch pictures give terrible feeling.
i think this relay to the clock scaling, i will check this out using SetCPU.
thanks for your work!

Amazing work with the kernal. I flashed and changed density to 200 in Root Explorer /system/build.prop and it works great.
Also in Spare parts I change both animations to Fast instead of defaults.

occip said:
Hi,
Last month I made some tests with overcloking /undervolting. I was able to push the NC at 1.15GHz, with a little voltage tweaking. 1Ghz was achieved without voltage tuning. The smartreflex technology adjusts automaticaly the OPP voltages to minimize the power consumption. Maybe the L3 speed can be increased to 200 Mhz by setting DPLL at 400MHz (in u-boot).
Occip (working for 2.6.32 NC kernel)
Click to expand...
Click to collapse
Can you add me in GTalk? [email protected]
I have some stuff I'd like to ask about. How did you do the OC? Did you change the actual clock in u-boot so everything scales up? Or did you add more VDD_OPP* steps. I used some of the code I saw before for the Droid's 3430 chipset, using the OPP steps. The stock kernel has steps built in for up to 1.2Ghz, but if I enable them I can't make it boot, at least on my device.
I can't figure out the voltages either, probably because I fail at hex. If I understood that, it would help me a lot.

sugwacee said:
me too, seems touch for a while(XXms) take effect, less then that screen acts like nothing touch it. this drived me mad when using Gellery, switch pictures give terrible feeling.
i think this relay to the clock scaling, i will check this out using SetCPU.
thanks for your work!
Click to expand...
Click to collapse
Hrrm. It sounds like the CPU scaling is staying low, because I see absolutely no change in the touch sensitivity, and I didn't touch any of the code related to it. Try setting the CPU Governor to OnDemand or Performance in SetCPU if it isn't set there already.

Geniusdog254 said:
Can you add me in GTalk? [email protected]
I have some stuff I'd like to ask about. How did you do the OC? Did you change the actual clock in u-boot so everything scales up? Or did you add more VDD_OPP* steps. I used some of the code I saw before for the Droid's 3430 chipset, using the OPP steps. The stock kernel has steps built in for up to 1.2Ghz, but if I enable them I can't make it boot, at least on my device.
I can't figure out the voltages either, probably because I fail at hex. If I understood that, it would help me a lot.
Click to expand...
Click to collapse
diff is available http://nookdevs.com/NookColor:_Nookie_Froyo_Tips#Overclock_.5B100.25_untested_on_this_system.5D

occip said:
diff is available http://nookdevs.com/NookColor:_Nookie_Froyo_Tips#Overclock_.5B100.25_untested_on_this_system.5D
Click to expand...
Click to collapse
Odd. That's exactly what I've done (with a couple diff voltages) but it won't boot on my Nook. I guess I just got a bad die. Can you explain the voltage values? I know how to increase/decrease the hex number, but how does it correlate to the actual voltage? Like how is 0x38 = 1.35V in a stock kernel?

Definitely going to try this out. Thanks for the work. I'll report back with comments/questions/concerns.

nrune said:
Tried to install via clockwork and I keep getting errors unable to install. an I missing something?
sent from my nookcolor using the xda app
Click to expand...
Click to collapse
+1 I am getting the same. It installs half way then stops with a big exclamation mark, asks me to shut down and restart. I would love to try this. Any ideas?
EDIT: OK got it. CWM updated to 3005 and now it can go into recovery was on 3002 which did not.

This is very much appreciated.
Be expecting some monies so you can buy some candy in the near future.
keep up the good work.
Thanks!

Related

[KERNEL][CM7][Froyo] Dalingrin's OC kernel w/fixed IO perf (quadrant) & 1.2Ghz test

[KERNEL][CM7][Froyo] Dalingrin's OC kernel w/fixed IO perf (quadrant) & 1.2Ghz test
Disclaimer: As always, flash at your own risk.
Background
So, recently there has been alot of debate over why quadrant (and to some extent, system performance) was lower with the OC kernel, as compared to the stock CM7 kernel. (http://forum.xda-developers.com/showthread.php?t=1002504) As part of my examining the problem, i went looking for a solution. Starting from the first OC CM7 kernel, i would run quadrant and see how the performance fared. I finally found the issue appeared in the 3-08a kernel; using that, i rolled back changes until i found the commit remove to fix the issue. Specifically, it seems to be somewhere in the 2.6.29.6 update: https://github.com/dalingrin/nook_kernel/commits/gingerbread-exp
In short, using his source, i have compiled a kernel with fixed I/O performance, and all his other tweaks (interactive gov, etc).
So, I want to make this clear; this is still dalingrin's kernel; in no way do i wish to take credit for his work. But, while he is out, work must go on, right?
Information
Who is this kernel for?
eMMC Froyo and CM7 users
Will this work on SD cards?
It may if you manually replace you uImage, but i cannot guarantee it (since i cannot test it)
Is everything working in this release?
everything like bluetooth and dsp should still be just fine (you may have to do a few hard shutdowns/reboots to kick on BT, like normal).
Kernel Links -3/25/10
OC kernels (up to 1100Mhz, Interactive gov, BT and DSP):
Regular
http://www.mediafire.com/?k00ruvyulf01y64
Extra network features (PPP, etc)
http://www.mediafire.com/?i9h76wn483tk16v
OC kernel (up to 1190Mhz, Interactive gov, BT and DSP):
http://www.mediafire.com/?v6d2jpzaynvchde
For those having problems setting this speed in the CM7 performance settings, give setCPU a try, but don't use profiles. Using set CPU, i am able to get my system stable at 1190, where the CM7 manager instantly locks up.
Feedback
After flashing, please make note of OVERALL system response. The dip in quadrant scores prompted the fix, but i feel that the system is overall better; I would like some more input if others are seeing this as well.
Any and all feedback is welcome, and I will do what i can for support...
Great job man, you and dalingrin both!
Ran 3 quadrant tests on newest nightly (#30)
1. 1856
2. 1700 even
3. Whopping 2030!
Can you be more specific about which network features are in the second choice ?
Thanks !!
ADude said:
Can you be more specific about which network features are in the second choice ?
Thanks !!
Click to expand...
Click to collapse
Um....truth is, i am really not too familiar with it, but looking a the diff between the two configs:
# Core Netfilter Configuration
# IP: Netfilter Configuration
# CONFIG_TUN
# CONFIG_PPP
I am trying out the net kernel again, to see if it is better than the last time i tried it..
Edit: Its looking better than the last time i tried it. Launcher pro hangs for a but on startup, but so far so good after that.
Just started using CM7 last night (w/bottom keys mod, so the nightly is from a few revisions back), but just installed this kernel (the regular version, w/out the Net adds, which I don't need), wiped cache & Dalvik, rebooted, set OC to 1100 and "performance" in CyangenMod Settings and now getting 1918 Quad score...vs. 1372 on the stock kernel with no OC.
I can definitely live with that score...great work to you and dalingrin!!
Thanks for taking care of this while I am gone. Much appreciated.
The update to *.6 is not necessary anyway.
When I get back I will revert the *.6 update and compile some of the netfilter/iptables and tun as modules as this seems to be more compatible than compiling them directly into the kernel.
Madcat, kudos to you. This is perceptibly faster.
great work!
so is this a 2.6.29.5 kernel then?
WOW, scrolling through XDA forum is much smoother than it used to be.
Tried on SDcard, installed by copying uImage to Boot. Reboots to EMMC when trying to load desktop. Back to CM7 stock. I guess I'll wait. Thanks though!
Homer
Can I have the config file for the first? I'm going to play with the kernel a bit.
EDIT: I'm just going to keep my big mouth shut for a while. I hoped it was just a bug with quadrant, but I flashed your kernel just now. There is a huge difference in interactivity. I was playing with the app drawer yesterday and couldn't get it to be smooth with "labels fade in" turned on and a 1000ms or so time on the animation for the app drawer. Now it's perfect every time.
GOOD JOB!
I love Open Source.
Will try this in some minutes. (Nook charging)
Ok, tested it. My scores below.
** QUADRANT SCORES **
Before update, 1100mhz: ~700
After update, 800mhz: ~1500
Now, 1100mhz: 1920
**********************
Awesome!
Just flashed it on mine and seems silky smooth to me. Not real sure there is a big difference, but it is not worse at least. Seems better to me.. Good job Madcat!!
Waiting anxiously for Dalingrin to return to his lab and see what else he can whip up for us..
nice!
i'm getting the same numbers as others (~1800) now. haven't really tested for overall smoothness yet.
will this kernel ever get a nookie version?
cowballz69 said:
will this kernel ever get a nookie version?
Click to expand...
Click to collapse
I have to admit - i said CM7 only, since that is all i have to test it on. If you do want to try it, you don't really risk anything; if it doesn't work, simply reboot to recovery and flash your last working kernel again.
As it is, i haven't really given a good look at what might be different between versions, so i can't give much advice on why it would/wouldn't work on Froyo.
Homer_S_xda said:
Tried on SDcard, installed by copying uImage to Boot. Reboots to EMMC when trying to load desktop. Back to CM7 stock. I guess I'll wait. Thanks though!
Homer
Click to expand...
Click to collapse
Got the same issue with the Net feature kernel. However the other one works fine. Got 1918 Quadrant on SD Card with OC 1100 GHz + interactive gov.
So I guess CM7 performance on SD is not too bad compared to eMMC
@Divine_Madcat : Could you look into the problem of the Net features kernel with SD Card booting? It run into eMMC after the bootanimation.
Thanks much for your work, an action is much better than thousand words !!
I tried both of these from SD card. The non-net features version boots but posted some terrible #s for me (<700 Quadrant and ~6-7 Linpack); the net features version doesn't boot. Is there something special I need to do with the first kernel to see the benefits? I checked and was clocked to 1.1GHz in CM settings.
victle said:
@Divine_Madcat : Could you look into the problem of the Net features kernel with SD Card booting? It run into eMMC after the bootanimation.
Thanks much for your work, an action is much better than thousand words !!
Click to expand...
Click to collapse
Ill be happy to take a look, but can't promise anything right away.
SCWells72 said:
I tried both of these from SD card. The non-net features version boots but posted some terrible #s for me (<700 Quadrant and ~6-7 Linpack); the net features version doesn't boot. Is there something special I need to do with the first kernel to see the benefits? I checked and was clocked to 1.1GHz in CM settings.
Click to expand...
Click to collapse
hmmmm.. that doesn't sound right at all. May i ask which nightly you are using? Right now, i am on nightly 27, and haven't seen anything like that (in my case, it either works, or just boot loops, if i set the clock too high).

To those that are overclocking

You should share what speed and voltages you are running at, I figured it would be helpful to give other people ideas of where to begin trying their voltages at for undervolting purposes. So, what's your lowest voltages at the highest clock speeds?
I'm using SetCPU's standard voltages. 1.8/.38 normal, .87/.38 screen off and over 130F, 1.2/.38 battery less than 50%, 1.8/1.2 plugged in. Getting 4-5 more hours per charge!
Sent from my PG86100 using XDA Premium App
Here's the values I've currently got in my Permatemp Root .bat file (thanks Eugene!): scpll_l_val=24 vdd_uv=1060000
That gives me 1.296 ghz at 1.06 volts. I know 1.3 ghz isn't much of an overclock, but this phone is already so fast (especially compared to my old Hero, lol) that I'm not really craving any more speed ... what I'm most interested in is undervolting for max battery life. From what I've read the stock voltage at 1.2 ghz is 1.18 volts, so I'm a little under that right now. I tried 1.00 and 1.03 volts and got reboots every time, but 1.06 volts runs rock-solid reliable for me at 1.3 ghz.
is that really even noticable? the LCD draw most of the power typically
oldjackbob said:
Here's the values I've currently got in my Permatemp Root .bat file (thanks Eugene!): scpll_l_val=24 vdd_uv=1060000
That gives me 1.296 ghz at 1.06 volts. I know 1.3 ghz isn't much of an overclock, but this phone is already so fast (especially compared to my old Hero, lol) that I'm not really craving any more speed ... what I'm most interested in is undervolting for max battery life. From what I've read the stock voltage at 1.2 ghz is 1.18 volts, so I'm a little under that right now. I tried 1.00 and 1.03 volts and got reboots every time, but 1.06 volts runs rock-solid reliable for me at 1.3 ghz.
Click to expand...
Click to collapse
Someone in the OC topic was asking about UV at stock speeds. You're close enough to stock that you should qualify. You should go post your results in that thread too. They'd be happy to see them.
I'm running @ 1.78GHz with a vdd of 1300000. I'm going to try and go lower... maybe 12800000.
I have it overclock to 1728mhz but dint know where to adjust the voltage. Does setcpu does this or i need a different program to read voltage/change voltage?
Sent from my PG86100 using XDA App
eduardmc said:
I have it overclock to 1728mhz but dint know where to adjust the voltage. Does setcpu does this or i need a different program to read voltage/change voltage?
Sent from my PG86100 using XDA App
Click to expand...
Click to collapse
You adjust the voltage when you type the ADB command to OC. If you're using a script that does it for you, you will need to edit that script and look for the vdd_uv= line.
bitslizer said:
is that really even noticable? the LCD draw most of the power typically
Click to expand...
Click to collapse
What do you mean by "is that really even noticable"? It's certainly calculatable ... it's an 11.3 percent improvement in battery usage by the CPU. If you're saying that's not very much, well, it's all relative. If you're saying you're not interested in saving a little battery when it won't cost you anything to do so, that's fine with me. If you're saying that no power-saving effort is worth any consideration because the LCD is the biggest power draw of all and that's the only one that matters, then why did Qualcomm bother to develop asynchronous cores and low-power audio modules and low-power GPS modules? I mean, hey, the screen is all that matters, right?
Or did I misread your statement?
Edit: Sorry for coming across as so argumentative, I just don't understand why you're taking the position you are.
oldjackbob said:
What do you mean by "is that really even noticable"? It's certainly calculatable ... it's an 11.3 percent improvement in battery usage by the CPU. If you're saying that's not very much, well, it's all relative. If you're saying you're not interested in saving a little battery when it won't cost you anything to do so, that's fine with me. If you're saying that no power-saving effort is worth any consideration because the LCD is the biggest power draw of all and that's the only one that matters, then why did Qualcomm bother to develop asynchronous cores and low-power audio modules and low-power GPS modules? I mean, hey, the screen is all that matters, right?
Or did I misread your statement?
Edit: Sorry for coming across as so argumentative, I just don't understand why you're taking the position you are.
Click to expand...
Click to collapse
+1! Would have thanked you, except I'm at my limit.
I'm at 35 @1450000. I know I can go lower, but if I overclock, I want stability not battery life
On another note: I can't wait until we have source, custom kernels, and I finish up the viperMOD app to get support for the E3D. Will be one awesome beast undervolted!
I'm at 1.56ghz and 120000 voltage.
Runs stable, get a nice speed boost without killing my battery. Am going to try a lower voltage. I've read the could will default to stock speed if you go too low though. Guess I'll find out.
Sent from my PG86100 using Tapatalk
felacio said:
I'm at 1.56ghz and 120000 voltage.
Runs stable, get a nice speed boost without killing my battery. Am going to try a lower voltage. I've read the could will default to stock speed if you go too low though. Guess I'll find out.
Sent from my PG86100 using Tapatalk
Click to expand...
Click to collapse
No, if your voltage is too low, your phone will freeze or instanly reboot on you.
-viperboy- said:
No, if your voltage is too low, your phone will freeze or instanly reboot on you.
Click to expand...
Click to collapse
Well. I can handle that. Lol. Guess I'm going lower! Wish me luck!
Sent from my PG86100 using Tapatalk
I am currently testing scpll_l_val=22 vdd_uv=1010000 for undervolting purposes, 1000000 caused a reboot, 1010000 has been holding up well under stress tests..
If one of you guys who are overclocking could test this video clip and either diceplayer or the diceplayer free trial in the market - I would appreciate it:
http://www.movie-list.com/forum/showthread.php?t=27232
Supposedly - the Samsung Galaxy S2 can play 1080P + AC3 MKV's smoothly. But the Evo3D and Sensation lag a bit according to the developer. I tested this file with my evo3D and it looked like my Evo3D stuttered every 3 seconds or so. I'm just wondering if an overclock would smooth out playback - but I haven't installed temproot.
For those of you overclocking just for battery savings, I am currently testing
adb shell insmod /data/local/tmp/8x60_oc.ko scpll_l_val=22 vdd_uv=1003100 and have been stable so far, this is the absolute lowest I can push it at 1.2Ghz on my phone, can anyone else match this or go lower? I think it will be helpful to start establishing these values now so kernel makers will have some ideas of how far they can push our phones.
P0ll0L0c0 said:
If one of you guys who are overclocking could test this video clip and either diceplayer or the diceplayer free trial in the market - I would appreciate it:
http://www.movie-list.com/forum/showthread.php?t=27232
Supposedly - the Samsung Galaxy S2 can play 1080P + AC3 MKV's smoothly. But the Evo3D and Sensation lag a bit according to the developer. I tested this file with my evo3D and it looked like my Evo3D stuttered every 3 seconds or so. I'm just wondering if an overclock would smooth out playback - but I haven't installed temproot.
Click to expand...
Click to collapse
Speed = 1.5GHz.
The default gallery player plays it perfectly, but there's no sound.
RockPlayer plays it very choppily, but has sound.
Dice player plays somewhat smoothly and has sound, but there are lag moments every 3-6 seconds as you said.
It's a software issue.
PaulB007 said:
For those of you overclocking just for battery savings, I am currently testing
adb shell insmod /data/local/tmp/8x60_oc.ko scpll_l_val=22 vdd_uv=1003100 and have been stable so far, this is the absolute lowest I can push it at 1.2Ghz on my phone, can anyone else match this or go lower? I think it will be helpful to start establishing these values now so kernel makers will have some ideas of how far they can push our phones.
Click to expand...
Click to collapse
Right noe I'm sitting at 29 (1.56ghz) with a UV of 1170000. Tried 1150000 but phone immediately restarted. And 1160000 restarted after a while. This seems stable so far. Haven't totally stressed it yet though.
Sent from my PG86100 using Tapatalk
nabbed said:
Speed = 1.5GHz.
The default gallery player plays it perfectly, but there's no sound.
RockPlayer plays it very choppily, but has sound.
Dice player plays somewhat smoothly and has sound, but there are lag moments every 3-6 seconds as you said.
It's a software issue.
Click to expand...
Click to collapse
Thanks for the check! I was wondering if there would still be lag with an overclock - that's disappointing. Supposedly the SGS2 handles files like it with no problem.
OC Script
Here is a batch file I created to make it easier to OC. Basically just the Rooting script with a menu to select the speed with delays built in.
Rename from oc.txt to oc.bat if you wish to run the file.
You will most likely need to change the voltages to match your phone. My phone has been very OC friendly.
Currently running 1188mhz @ .97 Volts with no issues. I have been able to OC up to 1890mhz @ 1.32 volts.
Have not tried to go lower on the voltage at 1188mhz yet...
JDC4429

Noob Question: How do I use SetCPU?

So I'm interested in undervolting using the stock CPU freq's, and I'm going to be using setCPU (obvi).
So, first question: Even if I want to use the stock frequencies, do I have to be using the OC kernel (0.2.1/1.45ghz at the time)? And then adjust the max to 1000mhz?
Second, I started up SetCPU and whenever I go to the voltage tab it forcecloses. This happens with both the stock enhanced & OC kernel, and I've tried fixing permissions to no avail.
All I really understand so far is that the end result is a table of CPU frequencies and linked voltages. I've OCed the hell out of desktops, but I'm lost here.
I'd just like to know how to get from starting up setcpu to ultimately popping out that new voltage/freq table.
I do apologize if this seems kinda stupid, I'm just trying to exercise caution lest I demolish my phone's innards. I've done it with many an intel.
If you just want stock frequencies, then there's no need for a custom kernel. I guess in that case, you could just use SetCPU for undervolting & profiles.
However, if you want overclock, you'll need a custom kernel.
If you're going to be using a overclocked kernel (i.e. the new Faux 1.45 GHz), then you will need to set the max to 1.45 GHz, and make sure SetCPU is set to start on boot; other wise it will stay at the stock clock speed of 1 GHz... So i guess if you only wanted the OC at certain times, you could set the max speed manually, only when you want to, and not select to start on boot.
I haven't really had any success with undervolting yet... always crashes on me & reboots. The best thing to do is make sure "set to boot" is not selected, when testing your undervolting, other wise you could get stuck in a loop, with the phone crashing every time it boots and tries to apply you undervolting values. I'd start at -25 for each and work from there... stress testing each choice with a benchmark app to make sure you wont reboot... if it reboots, then you know your undervolt was to much. Also remember that you can not undervolt more than -100 between each frequency, otherwise the undervolting will not make any difference.
I really like the profile options in SetCPU... you can set the screen off frequencies to the lowest two, that way for whatever reason your phone isn't running at full strength while your not using it. Also, you can set frequency speeds at custom defined battery levels.
Hope this helps somewhat.
It's unclear to me why it force closes. This may be a rom incompatibility or a SuperUser issue? I assume you've tried uninstalling it and reinstalling it? Updating your SU app? Try flashing to the latest Aura rom?
A few quick words about SetCPU:
1. When you first get started, do not set to "Set on Boot" in case you've undervolted too much and it crashes when applied. You can always check it later once you know the voltages are stable.
2. Between each frequency step there is a maximum of 100mV step off. Anything greater than that it defaults to native voltage. I think this is a Tegra2 issue.
With that said, undervolting is simple: simply slide the little slider on SetCPU to negative values. How much you can under-volt largely depends on your particular hardware and it is inconsistent across all Atrix's. My voltage table is as belows:
1000mhz: -50
912: -50
750: -50
608: -75
456: -75
312: -100
216: -100
I, however, did not test the limits of my phone. Many people will slowly increment the voltage lower until they start to get resets, and then they'll move it back to find the lowest stable point.
It has, however, been well established that minor undervolting improves battery life and diminishes heat generation. Excessive undervolting may actually hurt battery life. You can look around on this forum regarding the data. However, reasonable undervolting will improve battery life.
Thanks fellas, this helps A LOT.
I was so afraid I'd get 17 responses of "You're such a noob. Stop cluttering the forums" etc etc
At this point, I think that the problem is, for whatever reason, the FC when I tap the voltages tab.
I'm on the newest Aura (1.2.2.1) newest enhanced stock kernel from Faux123 (0.2.1) and the newest SetCPU (2.4). I'll try updating my SU (though I believe I did that right after I flashed.
I'll reintall SetCPU and report back.
Until then, THANKS BUCKETS fellas. I really appreciate the info and advice.
UPDATE: May have found the problem. When it first boots up it prompts to autodetect freq's or choose them manually (or something like that). I was afraid this would actually alter my CPU clocks right then and there and so I hit manual detect, saw something that said Tegra2 etc and clicked it. I just now hit 'menu' and set it to autodetect, tried the voltages tab, and no FC, so I think that's solved.
Thanks again for all the info guys! I'll start experimenting and let you know HOW LOW I CAN GO (ha).
You guys get force closes due to kernel problems. You have to ask your developments. There might be something wrong with some of your cpu voltage drivers. So yeah that's why just a tip. Only overclock when you're playing some high end game. If not stick to normal. If not your phone might get overheated and damaged
Accidentally sent from my Ultra-speedy SG3 using Tapatalk
AdiNova said:
You guys get force closes due to kernel problems. You have to ask your developments. There might be something wrong with some of your cpu voltage drivers. So yeah that's why just a tip. Only overclock when you're playing some high end game. If not stick to normal. If not your phone might get overheated and damaged
Accidentally sent from my Ultra-speedy SG3 using Tapatalk
Click to expand...
Click to collapse
It's cool bro the problem was totally a user goof by me. I kind of agree with your OC philosophy though, primarily because 1ghz with this proc an RAM seems ample and I don't do much gaming.
Real quick:
When undervolting, should I do it one freq step at a time? Or can I do ALL of them at say -25, stress test, then adjust? Also, what's a good stress test that'll force the proc to hit all the different freqs instead of just the max clock and then the minimum when it's idling/the screen is off?
xyrovice said:
It's cool bro the problem was totally a user goof by me. I kind of agree with your OC philosophy though, primarily because 1ghz with this proc an RAM seems ample and I don't do much gaming.
Real quick:
When undervolting, should I do it one freq step at a time? Or can I do ALL of them at say -25, stress test, then adjust? Also, what's a good stress test that'll force the proc to hit all the different freqs instead of just the max clock and then the minimum when it's idling/the screen is off?
Click to expand...
Click to collapse
Id start at -25 for all. Setcpu has a built in stress test under info, I think. Could also try a benchmark to test it. As general rule if thumb, then lower frequencies can be undervolted more, while the higher ones take some tweaking... I can't even do -25 on my 1000, b/c ill eventually get a reboot, maybe not right away, but eventually. Every device is unique when it comes to undervolting.... just remember to not set the undervolt part to auto on boot, until you get it somewhat stable.
Sent from my MB860 using xda premium
Swiftks said:
Id start at -25 for all. Setcpu has a built in stress test under info, I think. Could also try a benchmark to test it. As general rule if thumb, then lower frequencies can be undervolted more, while the higher ones take some tweaking... I can't even do -25 on my 1000, b/c ill eventually get a reboot, maybe not right away, but eventually. Every device is unique when it comes to undervolting.... just remember to not set the undervolt part to auto on boot, until you get it somewhat stable.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Got it. I figure that 'set on boot' checkbox is basically a wedding ring ha. Thanks for the advice and insight my friend.
Also (as I run my first stress test with -25 across the board) if I get reboots early on, should I assume it's the higher voltages and that I should back off on the fast end of the clocks?
xyrovice said:
Got it. I figure that 'set on boot' checkbox is basically a wedding ring ha. Thanks for the advice and insight my friend.
Also (as I run my first stress test with -25 across the board) if I get reboots early on, should I assume it's the higher voltages and that I should back off on the fast end of the clocks?
Click to expand...
Click to collapse
When testing each frequency just set your min/max mHz to the level your testing i.e. min/max=1000. UV and stress test at that frequency and if it's stable, move to min/max=912 and so on.
FYI, my MHz might be different than yours, I'm on the stock enhanced.
ghost_og said:
When testing each frequency just set your min/max mHz to the level your testing i.e. min/max=1000. UV and stress test at that frequency and if it's stable, move to min/max=912 and so on.
FYI, my MHz might be different than yours, I'm on the stock enhanced.
Click to expand...
Click to collapse
That makes perfect sense- limiting the max during the stress test. Thanks for the tip bro I really appreciate it.

[Q] Unable to overclock and keep running

First I am aware that overclocking is not "safe" and all that kind of stuff
However for some reason I am unable to OC my SGS2 and run the phone on a steady way.
I have tried several ROMs (stock and custom) with different kernels and OCing apps with no avail.
I am not even able to run at 1.4Ghz or 1.6Ghz without having my phone reboot or hard lock on me.
Is there a particular or recommended setting (most successful combination) that anyone out there can suggest me trying?
Sometimes it will hang under heavy gaming but sometimes even browsing app and regular stuff will cause the phone to reboot or lock. If I work with no OCing at all then everything is fine and dandy.
Thanks, you can see my current configuration @ my signature.
Sounds like a very temperamental cpu. Currently I have the same setup you do and have never had issue with 1400mhz or 1600mhz. Though I usually leave mine at 1200mhz. What app are you running when it hangs?
And just as important, do you have alot running in the background? The modified touchwiz launcher unnamed comes with can be enabled to show a red dot next to the apps that have been opened and are in the background.
If you could list the apps with the red dots.
Sent from my páhhōniē
gr8hairy1 said:
The modified touchwiz launcher unnamed comes with can be enabled to show a red dot next to the apps that have been opened and are in the background.
Click to expand...
Click to collapse
It does? That sounds more like one of the themes that includes TW4.5.
Not all CPUs can overclock - there's a reason it was sold as a 1.2 GHz chip.
Well as I've mentioned before, it could even hand when browsing through my apps menu, browsing the gallery, playing a game (non in particular) and the funny part is that the phone is not even hot to touch.
What I know for sure if that if no OC = no hangs, no reboots.
I do have the App monitor widget that comes with the stock ROM and currently using it on UnNamed 1.3.1 and I only have Widget Locker App. However I have try closing it and still will happen.
Not sure if maybe this CPU is somehow having an issue that makes it unstable as soon as I OC it.
Entropy512 said:
Not all CPUs can overclock - there's a reason it was sold as a 1.2 GHz chip.
Click to expand...
Click to collapse
Now that is new to me, I thought that all of them were OCable. Is there anyway to identify which can be or not OCed?
nope.. just by testing. it does have to do a little bit with the kernel and rom. the roms didnt originally have stable OC. i would assume that all of them do now. one thing you might try is giving them a little more voltage (just a little) at the higher clocks, but be careful. if you increase the voltage that means that you will sink more enery through the cpu and it will get hot quick. make sure you watch the temp.
i find that setcpu is less stable than the built in cm7 oc menu but cm7 doesnt have a voltage menu.
but on the same token... why OC? i can and i did but i dont need to... everything is like butter and i didnt see that huge a gain by OCing it anyways
tmckenn2 said:
nope.. just by testing. it does have to do a little bit with the kernel and rom. the roms didnt originally have stable OC. i would assume that all of them do now. one thing you might try is giving them a little more voltage (just a little) at the higher clocks, but be careful. if you increase the voltage that means that you will sink more enery through the cpu and it will get hot quick. make sure you watch the temp.
i find that setcpu is less stable than the built in cm7 oc menu but cm7 doesnt have a voltage menu.
but on the same token... why OC? i can and i did but i dont need to... everything is like butter and i didnt see that huge a gain by OCing it anyways
Click to expand...
Click to collapse
I know, this Exynos processor is the best out there right now, forget about Qualcomm's Snapdragon on the Skyrocket. I am just trying to OC for the fun of it
Guti1977 said:
I know, this Exynos processor is the best out there right now, forget about Qualcomm's Snapdragon on the Skyrocket. I am just trying to OC for the fun of it
Click to expand...
Click to collapse
Although it makes me wonder if the CPU could be having an issue, since it hard locks when attempting to.
Guti1977 said:
Although it makes me wonder if the CPU could be having an issue, since it hard locks when attempting to.
Click to expand...
Click to collapse
have you ever overclocked PC CPUs? if you have spent much time doing that, then you would know that not every chip, even within the same model/family, will clock the same. take 2 CPUs, from the same batch, same model, with identical hardware tied to them. you will probably find that one clocks higher stable speeds than the other.
its very likely the proc in your phone just cannot handle the overclocks that the next person's could.
Like pirate said, no two pieces of hardware are identical. Sort of shows how much variance there can be in a manufacturing process. Id guess theres a few chips that come off the same line that arent stable at 1.2 ghz, but they dont make it to the devices, whereas one that can handle a higher clock will. (No sense tossing one that exceeds minimum requirements, thatd just be throwing good hardware away)
You could try nudgin the voltage up and seeing how it behaves, just use caution.
Sent from my SAMSUNG-SGH-I777 using XDA App
garyd9 said:
It does? That sounds more like one of the themes that includes TW4.5.
Click to expand...
Click to collapse
My bad. You are correct.
Sent from my páhhōniē
To get mine to overclock to 1.4 and 1.6Ghz I had to actually INCREASE the voltage settings via Voltage control app. So my settings are: 1.6Ghz= 1475mV and 1.4Ghz=1325mV
Try those out and see if is better for you. I tried undervolting the higher voltages and would either lockup or reboot instantly until I tried adding voltages. So you may need to play with your settings to get it to work for you.
Sent From My KickAss ATT SGS2 SPORTING CM7
twiggums said:
Like pirate said, no two pieces of hardware are identical. Sort of shows how much variance there can be in a manufacturing process. Id guess theres a few chips that come off the same line that arent stable at 1.2 ghz, but they dont make it to the devices, whereas one that can handle a higher clock will. (No sense tossing one that exceeds minimum requirements, thatd just be throwing good hardware away)
You could try nudgin the voltage up and seeing how it behaves, just use caution.
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Yup, or if they want to sell a "premium" device with a higher clock rate, they will take the parts that test well at 1.4 and sell them as such - meaning parts rated 1.2 will be LESS likely to be overclockable if a device comes out with CPUs rated at 1.4 - like the Galaxy Note did.
Before, anything that could meet the requirements of stable at 1.2 was sold to any Galaxy S II - but now, the premium parts are going into the Note.
RockRatt said:
To get mine to overclock to 1.4 and 1.6Ghz I had to actually INCREASE the voltage settings via Voltage control app. So my settings are: 1.6Ghz= 1475mV and 1.4Ghz=1325mV
Try those out and see if is better for you. I tried undervolting the higher voltages and would either lockup or reboot instantly until I tried adding voltages. So you may need to play with your settings to get it to work for you.
Sent From My KickAss ATT SGS2 SPORTING CM7
Click to expand...
Click to collapse
I am having the same issue as the original poster on my new GS2. I will have to try the settings you mention but would it be possible to do this and also apply /UV to the remaining lower (1000ghz to 200ghz) processor speeds and maintain stability?

viperROM Questions

Hi,
I recently installed viperROM v2.1.1 Redline with Tiamat v1.1 Sense on my HTC EVO3D. So far I love it! It runs super smooth and I love many of the included features. I have set maximum overclock through vipercontrol to 1.56GHz. I have just a few questions:
1.) I have occasionally had my alarm not go off. One time I caught it come on the screen, but no sound even. Sometimes the screen didn't wake up at all. This hasn't happened in about a week, so hopefully it fixed itself. I've done a few cache and dalvik cache wipes. Has anyone else experienced this issue, or may know what caused it?
2.) I have occasionally had a black screen on some incoming calls. This also has not happened in about a week so hopefully it fixed itself.
3.) How do I know how far I can overclock on this ROM and still maintain stability? This is my first experience with this on Android phones. I am very familiar with overclocking computers though and I know there are programs to test the stability of your overclock. There seems to be no such thing with phones.
4.) I know everyone says Quadrant scores don't mean squat, but why are they so low on this ROM? It certainly feels faster.
5.) What does everyone think of this ROM compared to other EVO 3D Sense ROMs? Are there any others I should look at? I'm only really interested in Sense based ROMs, I know they are heavy, but I really love the GUI and the phone seems to handle it quite nicely.
Thank you everyone for your time, and to all the developers thank you for all your hard work!!
I also forgot to ask, how is TWRP 2.0? Is it worth flashing? I'm still using the old clockworkmod recovery because that's what I've been used to.
Get TWRP 2.0. Its nice.
Do you have any screen off profiles? If so set it to 192-486mhz or 384-486mhz so the screen can wake with no problems. Also, flash an Anthrax kernel and see if you get black screen errors while waking up the phone. I dont know if the tiamat kernel is built into the Rom but it may be outdated if you picked it from the Dev Section.
The quadrant score may have to deal with the mods and tweaks in the Rom. They dont always reflect the truth.
You may be able to overclock to 1782mhz. Most of our phones can do this. Try a program like setcpu and see if you can raise it higher but "uncheck" the boot option. If you clock high and the phone automatically freezes, it means the clock speed is too high so try again with a lower speed until good.
My Blog: knowledgexswag.tumblr.com
Twitter: @knowledge561
knowledge561 said:
Get TWRP 2.0. Its nice.
Do you have any screen off profiles? If so set it to 192-486mhz or 384-486mhz so the screen can wake with no problems. Also, flash an Anthrax kernel and see if you get black screen errors while waking up the phone. I dont know if the tiamat kernel is built into the Rom but it may be outdated if you picked it from the Dev Section.
The quadrant score may have to deal with the mods and tweaks in the Rom. They dont always reflect the truth.
You may be able to overclock to 1782mhz. Most of our phones can do this. Try a program like setcpu and see if you can raise it higher but "uncheck" the boot option. If you clock high and the phone automatically freezes, it means the clock speed is too high so try again with a lower speed until good.
My Blog: knowledgexswag.tumblr.com
Twitter: @knowledge561
Click to expand...
Click to collapse
I'll give TWRP 2.0 a try then.
I'm using vipercontrol to set the min and max freq. Right now it has it set at 192MHz for min freq. I actually tried the Anthrax kernel before and had constant screen wake issues even setting the min freq up to 486MHz. I then decided to use Tiamat kernel, which so far has been much more stable for me. I only had the screen wake issue a couple times on Tiamat. Anthrax would do it every 5 minutes no matter what I tried.
I might try 1782MHz tonight. Will having it overclocked too much cause the battery to drain significantly faster? Or since most the time the phone is sleeping and not running at full speed it won't matter much?
Thanks for all your help!
Decided to try 1782MHz now, seems to be working great!
Graphics on my N64oid games seem to be smoother now.
Overclocking will drain it a bit quicker. Ive decided not to set any custom clock speeds or profiles at all. I kept a stock kernel and did nothing to it.
My Blog: knowledgexswag.tumblr.com
Twitter: @knowledge561
knowledge561 said:
Get TWRP 2.0. Its nice.
Do you have any screen off profiles? If so set it to 192-486mhz or 384-486mhz so the screen can wake with no problems. Also, flash an Anthrax kernel and see if you get black screen errors while waking up the phone. I dont know if the tiamat kernel is built into the Rom but it may be outdated if you picked it from the Dev Section.
The quadrant score may have to deal with the mods and tweaks in the Rom. They dont always reflect the truth.
You may be able to overclock to 1782mhz. Most of our phones can do this. Try a program like setcpu and see if you can raise it higher but "uncheck" the boot option. If you clock high and the phone automatically freezes, it means the clock speed is too high so try again with a lower speed until good.
My Blog: knowledgexswag.tumblr.com
Twitter: @knowledge561
Click to expand...
Click to collapse
First of all, not picking at you, just the first post I read and don’t have a lot of time here
The black screen errors are an issue within the kernel. Last time I used tiamat this was still a common bug in the kernel. You can fix it by downloading and installing and setting up a call recording app by the dev “voix” or something like that… don’t use the one on the market because it will do nothing for you. You need to download the one specific to 3D. it is found on the dev’s website.
Quadrant scores should be taken with a grain of salt. Depends on the ROM. I will state however that quadrant’s database read and write tests are accurate with real performance in that function of your ROM. I have personally tested this theory. Also, your database read/write tests contribute to a lot of the scoring in your overall performance summary with the free version. Just keep that in mind.
Don’t use set CPU, it is a good program, but designed for single core applications. Use system tuner pro, CPU master pro, or No Frills cpu. All of those are WAY more in depth and offer other adjustable variables that are critical for performance like setting the I/O scheduler.
Also, you need to manually adjust cpu1’s operating parameters, because when that CPU turns on and off constantly, it slows down your phone, causes lag, all this bull****. I cant figure out why it was programmed from the factory the way it was. It makes no sense whatsoever to have the two cores running two separate scaling governors. Set it to demand in root explorer by adding this line to init.d or init.post_boot.sh…
chmod 666 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo “ondemand” > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
also, in init.d or init.post_boot.sh, adjust your ondemand parameters to match your settings in CPU master, system tuner pro, etc…
you will see a line like this (for “cpu0” and “cpu1”)…
echo “60000” > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
change that value to 10000.
You will also see one similar for the up threshold… the end of it will read “…ondemand/up_threshold” with a value at the beginning probably of 95 or 90…
Change that value to 70
Basically, you should set both cores to ondemand, and tune that governor for performance by adjusting it’s operating parameters. Very responsive, good balance of performance and battery with a little more weight on the performance side of the scale.
---------- Post added at 03:34 PM ---------- Previous post was at 03:29 PM ----------
EDIT*** also, the two lines i gave you to add, put them in before any lines with "system chown" in them.
honestly man, if you want i can just email you a copy of my init.post_boot.sh, and init.d files, and you can just delete yours and add mine. lol.
i have them saved on my sd card so every time i flash a rom i remove the dev's tuning parameters and add my own, lol
the kernel is reason your phone is having wake issues another reason viper suggests using a minimum 384 on sleep helps prevent the wake issues.
Sent from my HTC Evo 3D using xda premium
Bradfordv said:
the kernel is reason your phone is having wake issues another reason viper suggests using a minimum 384 on sleep helps prevent the wake issues.
Sent from my HTC Evo 3D using xda premium
Click to expand...
Click to collapse
Is there something wrong with Tiamat kernel? I thought it was supposed to be one of the better kernel's for our phone?

Categories

Resources