yashsingh1/xdaforums huggingface dataset:
[HTC Rezound] SebastianFM:
I'm sure that everything is fine with this kernel, zone23 did many tests for me to check if CPU frequencies are correct. you should flash stock kernel and check again if minimum and maximum frequencies are changed when you turn off/on the screen.
[HTC Rezound] SynisterWolf:
rule of thumb. if you dont like the work of the dev, just go somewhere else or learn how to do it yourself.

:victory:
[HTC Rezound] SebastianFM:
It's not my pride. Just there is nothing to repair! I wasted a lot of my time to check everything. Now I'm sure that my kernel is running properly. You saw in System Tuner that frequency is increased for a short time. But it's intended behavior. I had similiar results on my Sensation using both stock and my overclocked kernel. It is not related to perflock and of course correct.

System Tuner uses 8% of CPU power, a little too much for app which monitors CPU. When cpufreq detects increased CPU usage, it changes CPU frequency to higher value for a short time. Maybe it looks weird, but it saves battery because CPU tasks are finished in a shorter time.
[HTC Rezound] mforminio7:
Its posts like these that anger me. Lovin your kernel Sebastian keep it up
[HTC Rezound] apophis9283:
Hungsolow, youre almost in the same boat as howardz. Maybe both of you all should take a break from xda. Might do you some good.
[HTC Rezound] apophis9283:
I didnt have an issue when i flashed his kernel. Settings stuck. Maybe its you that has the operator head space problem.
[HTC Rezound] :
No problems with the kernel here, its ramping to every freq from 192-1.8 . Battery is excellent and phone is snappy. Definitely something wrong on user end. A third of the users on xda have no idea what they are doing or talking about and another third pretend to know. The last 1/3 make great developments like this kernel! Keep it up !
[HTC Rezound] apophis9283:
Sebastian you can lower the cpu usage of system tuner in the settings
[HTC Rezound] a.mcdear:
Switched to a stock kernel, and am getting very similar behavior.

I wonder if there is something weird with my ROM? I know its possible to set up clock frequencies for screen on/off, etc, without using an app. Do you know where I would set these? Is it set somwhere in init.rc or something? I think I'm just getting a conflict between an app trying to set one thing while Android itself is trying to set something else at the same time...
[HTC Rezound] SebastianFM:
It is not fact only your speculation and you haven't any proofs. If perflock is so bad why it is enabled in every HTC kernel? Please tell me.

I didn't make my kernels for "traffic" so I don't care about it. But did you see my Overclocked kernel for HTC Sensation with more than 6000 downloads? It has perflock enabled!

Thanks for all friendly comments!
[HTC Rezound] SebastianFM:
I don't think so. Use another app.

You don't need to do it. When screen is off in most cases CPU just goes to sleep. Besides it is better for CPU if frequency is increased to higher frequency but for shorter time.
[HTC Rezound] SynisterWolf:
im sure this wont be your last post in here but i wanted to help you out a little bit.

How to disable perflock in an HTC kernel through source

Simple, open you source. Open the arch/arm/configs. Find the file vigor_defcofig. Find the following lines:

Code:

CONFIG_PERFLOCK=y

CONFIG_PERFLOCK_BOOT_LOCK=y

Change them to:

Code:

# CONFIG_PERFLOCK is not set

# CONFIG_PERFLOCK_BOOT_LOCK is not set

Perflock is now disabled. Build your source

above is the code needed to turn off you preflock.

sync source

profit.
[HTC Rezound] wrarvoz:
I have used and loved your other kernels, but still cannot get 1.4.0 to even flash. I'm s-off btw
[HTC Rezound] SebastianFM:
Why? Which recovery you are using?
[HTC Rezound] a.mcdear:
Thanks for your help so far. I have flashed back to 1.4.0. I'm still getting my CPU speeds reset by something on my phone, even with setCPU disabled entirely.

For example, I've decided to use 192/1350. I will go ahead and set that speed manually. Three minutes later, its back at 192/1512, and I didn't do anything to it at all. Any idea WHAT could be causing this to happen? It's not just this kernel, its any of them (stock, DSB's, dmeadows, etc) so there has to be something different with my ROM vs others, I just cannot figure out what the problem is or where else I should be looking..
[HTC Rezound] SebastianFM:
Disable root permission for any apps in Superuser/SuperSU. Then reboot phone.
[HTC Rezound] Snuzzo:
@Sebastian

I want to just drop a line to you coning out and apologize. If any of my comments offended you I am sorry. any of your work thus far again us stellar. I just wanted a version of your kernel with per flock completely disabled. I am sorry I made the original not of completely disabling it.

PS many typos darn u auto correct
[HTC Rezound] riot1031:
I've been running 1.4.0 for the past 48 hours, and it's freakin awesome. I have overclocked and undervolted, and my phone is surprisingly faster and I'm getting better battery life than I was with the stock kernel. I guess I don't see what the deal is with perflock since I got great results while it is still enabled.

Thanks SebastianFM!!!
[HTC Rezound] aznjosh:
What are you guys using to set cpu profiles? I don't see any cpu voltage table on my phone
[HTC Rezound] Izeltokatl:
I'm using system tuner pro. Kernel runs great in my opinion. No complaints here

Sent from my HP Touchpad.
[HTC Rezound] wrarvoz:
I'm using twrp, it errors every time.
[HTC Rezound] CharliesTheMan:
System tuner (pro version is what I'm using) and CPU Master both work pretty well for controlling the CPU and system tuner makes voltage tweaking easy.

If you're talking about making different profiles like charging, screen off, screen off at night, etc, based on the posts we have read I would just set the CPU speeds and voltages and not have a bunch of different profiles. Either way let us know how it works.
[HTC Rezound] SynisterWolf:
So after running this kernel for a day now and everything is smooth like butter. great work dev.
[HTC Rezound] jalin725:
I am on Vigor360 and the 1.4 kernel and I am having the same issues with my camera. Didn't install any additional MODs
[HTC Rezound] zone23:
We don't have source for 4.03 so most of the kernels coming out are for 3.14. I tested this on 3.14 ONLY. That said it probably doesn't work in 4.03.. I mean if it isn't working then it doesn't work..
[HTC Rezound] computerfreek:
I also can not get it to flash without errors. I am on 3.15 recovery. Runing the newest Firmware globle. S=off.

Here is the error I get.

it go's fine after

flashing boot image

verifying

read_file() loading "/tmp/boot/zimage" failed: No such file or directorE:Unknown commane [y]

E:error in /sdcard/Overclocked_kernel_v1.4.0_by_sabastianFM.zip

(status 7)

Hope this helps.

Thanks for your great work,
[HTC Rezound] zone23:
I believe I got around this error by flashing the stock kernel first.
[HTC Rezound] computerfreek:
Ok I got it to work now I flashed Rezound.Cubed.ICS.Kernel.1.0.7.Global.zip Then without a reboot just went back to install zip from sd I flashed Overclocked_kernel_v1.4.0_by_SebastianFM.zip and it went without any errors. So it must be something missing from SebastianFM zip that Rezound.Cubed.ICS.Kernel.1.0.7.Global.zip has in it.

Thanks for the fix... :good:
[HTC Rezound] pkopalek:
Since my days playing with my Eris, and my friend's Hero, I have observed the behavior of Perflock on HTC Kernels, and thought (think) I had a pretty good idea of its purpose. So I'll lay it out here, since I don't quite understand the controversy. And to point out my intent at the outset - I am a fan and a user of Sebastian's work, and think he's brilliant. So this is simply my observation, and what I've absorbed over the years from development from other phones I've spent lots of time with (I'm not a developer by any means).

Perflock is designed to maintain default CPU frequencies in HTC Kernels, intentionally. It has long been the consensus of the development community at large, that Perflock interferes with min/max setting programs such as SetCPU and IncrediControl (which simply write values in for max and min CPU, as well all know, so that we don't need to pop in with a root explorer and do it ourselves every time we want the phone to change min and max CPU Frequencies) by writing in its own min/max values, regardless of what SetCPU/Incredicontrol had written for them seconds/minutes before. So the point is that when Perflock is on, it does the SAME THING that SetCPU and others do -- it writes new min and max CPU Frequencies in those places. The difference is that Perflock doesn't necessarily set the frequencies that we Want in there. With regard to what min/max frequencies you want to run your phone at (or try to), Perflock is much like Honey Badger. Honey Badger don't care! Perflock don't care, either. You're going to have your min/max be what HTC intended it to be.

http://www.setcpu.com/documentation.html#disabling_perflock

Until reading this thread, my impression was that it's not really an issue for debate, one can simply watch the min and max values that are written/changed, and when they are, to observe that Perflock changes them at will. So my point is that my both Perflock and SetCPU/Incredicontrol do the same thing. Perflock does a great job putting min/max frequencies where HTC wanted them, and SetCPU/etc does a great job of putting min/max frequencies where the user wants. It's a battle of writing those files in there. You can observe this by simply watching the files change, with whatever method you use to do so.

I can't pretend to know how to code more than a card game in C++, or a javascript popup window on a web page, but the behavior of Perflock is observable and, for some users, undesirable. If Perflock does something different than it used to do on the Eris, Incredible, Hero, and EVO, then I suppose I need to learn what's different from how it used to work. But the behavior looks the same here.

So then it comes back to -- if you don't want it, don't use it. Plenty of other kernels have it deactivated. Sebastian's kernel is beautiful, and his knowledge is vast. It's a cold day in Hell before anyone could make a case that SebastianFM's work isn't WILDLY important to Rezound (and other devices) kernel development. Thank you for your great work, sir. I look forward to running at 1.7ghz all day!
[HTC Rezound] xxfallacyxx:
Now if only System tuner wouldn't corrupt it's own voltage tables -_- Anyone else get this? Try loading voltage tables, and I get an error message "could not load new voltage tables"? I've been keeping two separate tables, but both of them corrupted at once.
[HTC Rezound] aznjosh:
system tuner worked great for me thanks guys! Undervolted to 700 at 192mhz and 1137.5 at 1.62ghz.
[HTC Rezound] computerfreek:
Ok now that have this installed. How come no CPU program will show both CORES it shows core 2 offline? Is there something I have to set?

Thanks.
[HTC Rezound] SebastianFM:
Why you didn't tell about status 7 error earlier? You had stock, secured boot image.

My kernel package doesn't contain boot image (kernel + ramdisk) because Sense 3.6 and 4.0 requires different ramdisk. It extracts existing boot image, replaces kernel and flashes modified boot image, but it requires unsecured boot image.

Second CPU core is enabled only when needed by system daemon mpdecision. It saves battery.

The minimum and maximum frequencies were changed every time when screen was turn off by screen on/off perflock lock, not by perflock generally. It was enabled in older HTC devices (and some newer, e. g. Wildfire S).

In HTC Sensation and Rezound screen on/off perflock is disabled by default, only boot-time perflock is enabled and it doesn't cause any issues.
[HTC Rezound] replica9000:
I don't see the point of perflock to lock a max frequency. If a process requires a lot of power, then the CPU should scale to that automatically. Say the boot process only uses 75% of the CPU (maybe it's waiting for I/O), then why lock the frequency at full?
[HTC Rezound] jimbiss:
I installed this last night but had one question. Is battery life better with or without a program like setcpu with this kernel?
[HTC Rezound] xxfallacyxx:
I'm seeing a bit of variation depending on applied voltages, but never seeing less than 71xx

Still tweaking my voltages for lowest stable performance. Again, thanks SebastianFM for your work!
[HTC Rezound] jimbiss:
This kernel ran awesome yesterday. Today my phone is way hot and the CPU is stuck at 1512
[HTC Rezound] CharliesTheMan:
Bump your max speed up for a minute and back down or cha he governors and change back. Still doing it?

Sent from Team BAMF / Team Wookie Headquarters
[HTC Rezound] jimbiss:
Here is more info. On Nils 3.6 sense Rom v5.7

Interactive & power governors let CPU idle down

Conservative & userspace let it run between 700 - 1000, give or take

Ondemand & performance keep CPU maxed out.

Would like to be able to use ondemand.

Using setcpu 3.0.7

I have cleared settings for setcpu. Also have tried rebooting with Su disabled, no change
[HTC Rezound] CharliesTheMan:
Performance is supposed to be maxed out.

Does on demand bounce or stay still on max CPU?
[HTC Rezound] jimbiss:
Before when I switch to different governors ondemand was still staying maxed out. So I had left it on interactive. Just now I switched it back to ondemand and it is working the way it should now.

Edit, so it was working the way it should until I rebooted. Now once again the ondemand governor maxed out. So I am back to interactive for the time being, it at least lets my phone idle down to the min CPU frequency
[HTC Rezound] mentallo:
Can't get this to work on Ineffabilis Deus after wiping everything. It boots into the Rom but then I just get a black screen.
[HTC Rezound] apophis9283:
Why post the same question in all the kernel threads. Try asking once and wait for a response.
[HTC Rezound] brando56894:
Will this work on cm9?
[HTC Rezound] maniac2k:
Did not work on cm9 for me.
[HTC Rezound] 66racer:
Noob question but how can I change voltage? What's the proper way to oc, the oc tools do allow for slider operation but no voltage, was looking to under volt stock frequency. 1.8ghz seemed ok with basic operation just moving the slider on an app so figure stock clock can work with a worth while volt drop.

Thanks in advance
[HTC Rezound] Izeltokatl:
The proper way to undervolt is to do it a notch and test for a day or two. If no issues arise then going down more. Continue until you cause the phone to lockup. Then go back a notch, to a stable voltage.

Lowest I got 1.8ghz was 1262 without stability issues. I posted all my voltage settings previously if you search the thread.

Sent from my rezound
[HTC Rezound] 66racer:
Thanks, I'm familiar with over clocking though from PC experience but what tool or commands do we use? I couldn't find a tool that would adjust voltage.
[HTC Rezound] Izeltokatl:
System Tuner Pro is what I use now. SetCPU should work also. There are several other apps, just search Play

Sent from my rezound
[HTC Rezound] CharliesTheMan:
I would use system tuner or chads incredicontrol if it works with this kernel. It's way simpler than CPU tweaking on a PC, which makes it much easier getting started. Just avoid "set on boot when your testing for stability, so that if you get too low and it reboots, it will boot back to normal.
[HTC Rezound] thornev:
I tried installing version 140 last night and I still get the same error during the verification phase, something about a missing file. So the install fails and I reboot. Once rebooted WiFi no longer works. Have to restore from Nand backup. I've seen in other posts that this error can be circumvented by installing another kernel and then installing this kernel. Is there a reason that this install failure isn't being addressed?
[HTC Rezound] loonatik78:
If I saw an error like that I'd be checking MD5's.
[HTC Rezound] thornev:
MD5's match.
[HTC Rezound] Quadrider10:
same here. i found out that it needs to be installed through recover. and to do that, you need s-off. the problem with me though is that i cant find any clear directions on how to do s-off with 2.25 hboot version. or u can mount the PH98IMG.zip through fast boot. but the problem there is that i cant find that file anywhere on the phone or in the files in the kernel
[HTC Rezound] loonatik78:
I just looked at unlimited.io and I didn't see anything to suggest it won't work on your hboot.
[HTC Rezound] Quadrider10:
I just can't figure out how to s-off. Everything I looked at is out of date. Can I have directions/ link to do s-off?
[HTC Rezound] loonatik78:
In all honesty, I put in several hours of searching and reading before I attempt to root any device. I even do that if I'm rooting a device I've rooted before because methods and device software changes. Because of that, I don't have links to post. I rooted/S-off'd mine the day I bought it most of a year back. I just glanced over at the S-off thread and I didn't see anything to suggest it wouldn't work or that it was outdated.

All I can tell you in good faith is to read, read, and read some more. Read everything you can find on gaining S-off with your firmware. Rifle through some of the ROM and kernel threads to see what devs and users are saying. (Some, like Chingy, are known to link to the latest methods from time to time.) If you're not sure if you know what you need to know, IRC is a good place to talk to people. As long as you're not a noob with an attitude problem that hasn't done any homework, the guys on IRC are pretty helpful.

Grnlantern79 S-off'd in the last couple of months. He'd probably know better than I what the current methods are, if anything has changed.
[HTC Rezound] Quadrider10:
I spent hrs and hrs searching. Heh. I'll see whatelde I cafind. Did u s-off ur phone?
[HTC Rezound] thornev:
http://unlimited.io/juopunutbear.htm

and

http://androidforums.com/rezound-al...-off-guide-info-return-stock.html#post4394131
[HTC Rezound] Quadrider10:
Sweet thanks man! I will check these out tonight!
[HTC Rezound] loonatik78:
I did mine a long time back. I did it the juopunutbear way.
[HTC Rezound] Quadrider10:
alright i read through the whole procedure, and im stuck

1 i have version 3.14.605.12 stock and the version that its compatable with is 3.14.605.5 leak so can i still do it?
[HTC Rezound] Quadrider10:
alright. i am now S-off and went to flash this kernel and got this error again. i belive same error as when i was S-on

" read_file () loading "/tmp/boot/zImage" failed: no such file or directorE: unknown command [y] "

what to do now? also now i have to restore through recovey to get my wifi back
[HTC Rezound] loonatik78:
Don't quote me on this, but I think I read somewhere that broken wifi can happen and that a fix is to flash another kernel, then flash this one again.
[HTC Rezound] thornev:
One contributing factor to why WiFi doesn't work is a mismatch between kernel and firmware.

Sent from my Thrive with tapatalk2
[HTC Rezound] Quadrider10:
but see my problem is this:

i have S-OFF

unlocked bootloader

stock ROM

and Stock Kernel

im trying to flash v.1.4.0 if this kernel, but i still get an error 7 at flashing bootloader and verifying bootloader.

im trying V1.3.0 of this, to see if it works. if not, im honestly stuck! the only other thing i can imagine is that i need a custom to flash, then this kernel. guess ill try that after.

EDIT: alright same error on the 1.3.0 ima try another kernel and see if it flashes.
[HTC Rezound] thornev:
You're not on a stock kernel. You're getting this error when flashing this overclocking kernel. I get errors flashing this kernel too. I gave up diagnosing and went with another overclocking kernel.
[HTC Rezound] Quadrider10:
I was gonna try a non stock ICS Rom, and then try this again. I'm mainly.looking for a 1.8ghz over clock for CPU and just overclocked GPU. What kernel are you running now?
[HTC Rezound] mjones73:
Are you wiping boot beforehand? If so don't. this kernel grabs parts out of the original boot.ing on your phone to build the new one before it's flashed.
[HTC Rezound] Quadrider10:
Nope. I just went into recovery amon ra and hit install zip fromd and clicked it. Do u think a non stock ICS Rom would help?
[HTC Rezound] SebastianFM:
Error 7 means that you have flashed secured boot image. You must first flash unsecured boot image in bootloader mode then flash my kernel package from recovery.
[HTC Rezound] Quadrider10:
Flashed successfully!

All this kernel needs is he badass govenor!!! :D
[HTC Rezound] thornev:
Yeah I finally got it to flash too. Had to install on top of Cubed.
[HTC Rezound] loonatik78:
Might I petition the benevolent kernel dev to add a few more governors in a future version?
[HTC Rezound] Quadrider10:
X10 on that!!!! MAYBE BADASS? that would be awesome!
[HTC Rezound] loonatik78:
I'm a smartassV2 fan. I just got done tweaking the ondemand gov and it's looking uber-smooth. I'm fixin to check the time_in_state and see what that looks like in a little while. I like smartassV2 because it recognizes sleep and awake states and provides parameters for those.
[HTC Rezound] Quadrider10:
idk y, but i found that when i use smartassv2, it would lock my cpu at the max frequency i set, and just leave it there.... lol it was weird. also made my cpu ussage go up to like 30% when its normally around 6%
[HTC Rezound] loonatik78:
The behavior of the governor is FAR more dependent on the parameters that drive it than simply the type of governor it is. A governor NEEDS to be tuned. A governor with parameters tuned a cpu running up to 1.0GHz will misbehave on a cpu clocked at 1.8GHz. For instance, an up_threshold for a 1.0GHz cpu might be at 70 because you want it to ramp up rather quickly due to it's lack of processing power, whereas setting it at 90 or higher is appropriate for a 1.8GHz cpu because you don't typically need 1.8GHz of processing power as much as you'd need 1.0GHz of processing power on a 1.0GHz cpu. A dev cannot anticipate how we, the end users, are going to use the kernel, whether it be to overclock or underclock, and it's up to the end user to tune the gov for how they're using their devices. An ideal governor wouldn't require sleep and awake profiles, nor artificial limitations such as underclocking, to conserve power and provide adequate performance. It SHOULD create the balance, but that is completely dependent upon it's operating parameters being appropriate. Accordingly, a competent dev ought to provide a complete and functional sysfs in the kernel, as this one has, which allows the user to tweak it for purpose of tuning the variables.

SmartassV2 provides ample parameters for me to achieve the balance I prefer. That's why I like it.
[HTC Rezound] Quadrider10:
doing that is just way too out of my way... i keep my cpu at 1.18 max for normal everyday use on 1 core. the only other setting i have on it is to keep the cpu no more then 435mhz when the screen is off. most of the time im at school and its in sleep in my pocket. when battery gets low, and i dont have a charger, i tune it down to 800mhz max

for gaming, like hardcore games, i turn both cores on, set it to 1.8max and 500mhzmin, and ondemand govenor. i recived the highest quadrant score of 4000 with that setup. so thats what i use for gaming.
[HTC Rezound] loonatik78:
I hardly ever game on mine, but I use it for all kinds of things. I'd go insane if I had to play with min and max freq's every time I did something different because I do so many different things with it all the time. That's why it's easier for me to just write a script to tweak the governor, set min's and max's, and voltages. Takes like 15 minutes if the kernel is set up right.
[HTC Rezound] Quadrider10:
one thing about me is that ill spend hrs and hrs on somehting to get it to work, or the way i like, then once i get it like that, i get bored of it and then delete everything.... lol i never switch frequencys. only when i game whoch is not that often lol

---------- Post added at 09:25 PM ---------- Previous post was at 09:05 PM ----------

but thats y i like badass, it dosent always ramp up to max speed all the time like ondemand does.... im pretty sure i got better batter too. idk for shure, cause i couldent completely test it.