yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] mac87:
the strange thing is that I didn't change or force anything

I wanted to point that with this benchmark , the first run is ok occupying the 3 cores

and the others runs are done with only one core, I have to reboot in order to have 2 core active again on this benchmark

nothing changed or forced

it's the behavior of the kernel

I don't mind the benchmark points, I just want to understand the kernel management of the cores
[HTC Sensation] B-Man2005:
oh really ? no forcing cpu 1 online ?

1. did you check system tuner ??

2. did you have bricked or faux kernel on phone before ?

i will make i test with three runs of quadrant now
[HTC Sensation] SebastianFM:
This patch removes all multi-touch issues in Virtuos Inquisition v4.0.0 so I will not have to fix kernel touchscreen driver especially for this ROM anymore. Thanks socali.
[HTC Sensation] B-Man2005:
i did three tests in a row now whith the newest kernel

all the same around 3200 pts

one thing you could also check

i noticed lag on ARHD and i checked taskmanager ... i saw restarting apps and services ... and i thought why are they restarting ???

maybe its because i ran a benchmark ... all the services would kicked out of memory because the benchmark needed it ... after the benchmark the apps were restarting ... this is causing cpu time and could cause low benchmark results in the next test ....

i would BET .... you have the same score five or ten minutes later !!!!!!

when you are rebooting you just clearing memory the benchmark needs to run smoothly with good results

i fixed that issue with my guide !!

http://xdaforums.com/showthread.php?t=1562400
[HTC Sensation] grega_slo:
Hey Seb!

Excellent news!

So new kernel today? :)
[HTC Sensation] c3d76:
Loving 1.30.4, thanks Seb, can't wait for 1.30.5!

Here is my first attempt UV running @1.5 with no hickups since yesterday, I've not tried lower yet but will experiment more once 1.30.5 is out.

I also noticed antutu benches are back to normal with 1.30.4 (6500ish @1.5), I was not getting very good results (6150ish @1.5) with 1.30.2 etc....

Thanks again Seb, you are definitely on my donate list :)
[HTC Sensation] JONGAR1357:
would these kernels work with AOSP ICS roms?
[HTC Sensation] c3d76:
Here you go Seb :)

Confirmation number: 0CY634165E037902N
[HTC Sensation] runderekrun:
Dude, works perfect now. Opensensation (now CM9) rom is still having issues though. I wonder if you would be able to explain the changes that that were needed to the framework to get multitouch working again for CM9?

EDIT: SO off topic for a kernel thread, I apologize.
[HTC Sensation] dohclude:
Will this kernel ever support wired USB tethering? I tried Android Wired Tether and it complained that my kernel was not supported, which I've never gotten from any other kernel before.
[HTC Sensation] aNYthing24:
To add on to runderekrun's post, did you get a chance to prepare the kernel with the modified screen driver for Open Sensation, Sebastian? I think you'd have use Vorbeth's source though, since it's not a Sense ROM.
[HTC Sensation] silverdart:
Question?

What's the name of the program, in your picture, that you are using to undervolt?
[HTC Sensation] SebastianFM:
Thank you so much, you are incredible!
[HTC Sensation] baste07:
I'm on 1.30.4,

But I'm having problems with voltages, used system tuner pro but whenever I set it on boot the voltages on the lowest freq jumps up to 840mv from 800mv. And when it happens I can't adjust it Dow. Anymore it stays stuck at 840 mv
[HTC Sensation] c3d76:
It's normal, we'll have to wait for 1.30.5 to go lower...

---------- Post added at 08:36 PM ---------- Previous post was at 08:34 PM ----------

My pleasure, thank you for your work on these kernels :)

---------- Post added at 08:45 PM ---------- Previous post was at 08:36 PM ----------

It's "System tuner pro"
[HTC Sensation] socali:
It seems like htc put some nasty workaround for a touchscreen bug inside the UI framework. I truly believe htc should have fixed this in the kernel, and not left it to the UI framework, as things like WidgetLocker and other roms can easily break it. CM9 does not even have the htc specific function in their lib that's needed to be called in order to fix this..
[HTC Sensation] aNYthing24:
Ya, I hope Seb is still planning to release a version for Open Sensation/CM9.
[HTC Sensation] SebastianFM:
I want to release (probably today) new kernel with maximum CPU frequency set to 1512 MHz and available CPU frequencies up to 1836 MHz. What do you think about it? For me it would be better, I would not compile and put five different versions of the kernel. As I said before I found a solution how to prevent from restoring maximum CPU frequency to highest available. Kernel boots very fast even on 1512 MHz because boot-time perflock is still enabled. If you will use OC app or modify init script, maximum frequency will be decreased or increased directly after boot. Any disadvantages? I'm looking forward to your opinions?

It isn't bug, rather incompatibility issue. My kernel is based on HTC kernel, I would rather not remove the part of touchscreen driver, what if my fix will cause any security or other issue?
[HTC Sensation] grega_slo:
I agree Seb!

One kernel with option to overclock with software, if that is what u ment?
[HTC Sensation] takuhii:
I always download the 1836 kernel and turn the speed down to 1.73. that way I'm not maxxing the kernel out and I'm still running at a faster speed than normal :/

Whatever you think is best Seb ;)
[HTC Sensation] c3d76:
There is one problem I have encountered with downclocking.

I was running antutu in the background, checked sytem tuner and changes only apply to 1st core. 2nd core seems to always run at Kernel default.

See screenshot (running 1.30.4)...

I noticed this some time ago with another Kernel. I got into contact with Cedric from System tuner' and the only solution we found was to set all CPU's online in the app... This was not ideal because of batt drain though.

So my question is, will this be the case if we overclock your new Kernel? Will the second core always default to 1.5?

I don't really mind because I find 1.5 to be a sweet spot, but might be worth checking ^^

Cheers!

p.s. Quote from Cedric @ System tuner:

"Only thing the app cannot cope with is the CPU1 going offline and its settings being reset at that time. No events are triggered for that (would consume too much). But as I remember it, maybe kernels had a fix for that too."
[HTC Sensation] mac87:
I think this is the best thing to do :)

by the way for my problems of inactivated core in quadrant, I think it's might be a problem with the log itself

in the properties the cpu is recognized as 1 core...

(and 2 cores for the first try after a reboot)
[HTC Sensation] SebastianFM:
No, the second core will allways have minimum and maximum frequencies which you set to it, even if it will be disabled (e. g. by mpdecision) and then enabled.

Directly after reboot the second core is enabled until mpdecision disable it.

When I ran Quadrant, also the second core wasn't enabled. I think that mpdecision doesn't recognize multithreaded application in this case.
[HTC Sensation] c3d76:
Nice! I don't see any disadvantages then :)
[HTC Sensation] boomboomer:
I'd suggest going one step further and setting the maximum frequency at 1.2, thus enabling maximum battery saving by default or overclock by choice?

I didn't notice any difference in phone response between 1.5 and 1.2 kernels at boot - but scripts to underclock & mpdecision seem to only kick in after the phone has been put into standby at least once and battery life was about 20% reduced running all day at 1.5.
[HTC Sensation] ein777er:
Hello SebastianFM!

In my opinion this is a great idea!

kind regards
[HTC Sensation] mac87:
ok this explain evrything

I'll give a try to 1.30.4 from 1.30.2
[HTC Sensation] kevsteele:
Sounds like a great plan to me. Default at 1512 with the ability to clock it up from there would be ideal!
[HTC Sensation] jackyaway:
Hi SebastianFM, can you post a version of your next new kernel without the GPU overclock?

Thanks for your work.
[HTC Sensation] baste07:
Id like to see the version wherr we can undervolt
[HTC Sensation] mac87:
you can undervolt the actual 1.30.4 version

by the way on my sensation 1100 mV seems to work great at 1.512ghz

(1225 mV original)

thats imply à 10% reduction of voltage and so maybe about 15-20% decrease of power consumption at maximum frequency

for the idle frequency, a decrease from 840 mV to 800mV should be great

(when available lower to 840 ;) )

for my information, when we undervolt the cpu, does it affect the gpu ??
[HTC Sensation] BioTecK:
Hi SebastianFM,

I just wanted to thank you for the amazing kernel. I'm running the 1.30.4 version on 1.24Ghz (it's fast enough for me) and it's running really smooth! Also I have a great battery life. After 11 hours of usage I still have 71% battery left! :D
[HTC Sensation] StuartTheFish:
I finally found the cause of my slowdown issues which I reported a few pages back. It was the governor, I was using interactive, but over time it just slowed to a crawl, and changing governor after it slowed would make no difference. The only thing that would return it to full speed was a reboot, and then over time it'd slow down again. So now I'm back on ondemand straight after a reboot and it has seemed okay again for the past few days now.
[HTC Sensation] galaxys:
Sebastian, your one kernel plan sounds like a winner!
[HTC Sensation] juancubo:
That sounds fantastic. even if you clock it at 1.2GHz would be fine, so people with phones that don't handle well OC can use your kernel right out of the box.

My opinion is that you should have only 2 versions kernel.

A. 1.2 or 1.5 kernel with OC/UV capability up to 1836Mhz. GPU OV

B. 1.2 or 1.5 kernel with OC/UV capability up to 1836Mhz. GPU NON-OV

Thanks, whatever you choose would be fine, just my opinion.
[HTC Sensation] MuertoKo:
I'm with you! I don't play that much to need the GPU OC but CPU is different, with this it will me 2 versions not 5...

Or maybe if it's possible during install to let we choose to choose between GPU OC or not (not sure if it's possible btw).

Should we activate that "advanced option" to force CPU on 2D graphics or it's bad for bat?

Thanks for all!
[HTC Sensation] grega_slo:
I totally agree!

2 kernels one with gpu oc one without.

That would be awsome!
[HTC Sensation] krohme:
+1 sounds great to me. ;)
[HTC Sensation] k0zmic:
Quick question:

I've been trying different kernels and found this the best overall for me. However, since doing so both CPU's seem to stay online all the time.

How can I make the second core sleep and then active when needed again?
[HTC Sensation] deano309:
Hi, this has been covered before, usally from using SetCPU or coming from Bricked kernel

I think

(Feel free to correct me if i'm wrong) which leaves behind files.

Search the thread for "init.qcom" files, as I beleive these are the files which are changed.

I beleive you could replace the original files but I would always recommend changing the Kernel after a

clean

install!

I'm going bed else I would help more :(
[HTC Sensation] aoryx:
will the 2nd core comply to the same limit i set to cpu1 or it wont?

i mean if i set the limit to 1512 will the 2nd core go higher??
[HTC Sensation] k0zmic:
Yeah looks like it is when coming from Bricked kernel from others posts. Although, I tried Faux123's and SE Kernel.

I'll try replace the original files and see how it goes.

No problem, I couldn't find anything but this seems like a possible solution.
[HTC Sensation] SebastianFM:
Overclocked kernel v1.4.0 is available. It is the newest release, I just changed numeration. Please read the updated OP.

GPU frequency is increased only about ~11% and it could be decreased easily to stock value using script.
[HTC Sensation] SebastianFM:
The second core will keep assigned frequencies.

Cores can be configured independently, but most of the OC apps set for both the same frequencies.
[HTC Sensation] krohme:
this will sound incredibly noobish but what does this mean in a simple term;
[HTC Sensation] SebastianFM:
It means that the default maximum CPU frequency for both cores is 1512 MHz and if you want you can change it. Previously was a problem with changing frequency, especially for the second core.
[HTC Sensation] :
Its so the kernel can boot at lower frequency than maximum.
[HTC Sensation] krohme:
thanks for clarifying :D

your kernels rock - my sensation complains when I use other kernels lol.
[HTC Sensation] SebastianFM:
No, boot-time perflock is enabled because it improves boot time significantly. If you use OC app that sets CPU frequencies at boot or if you modify script, CPU frequencies will be changed directly after boot.
[HTC Sensation] aoryx:
Sweet...downloading

Thanx :)
[HTC Sensation] jackyaway:
OK :) thank you for the explanation and for the new kernel version!
[HTC Sensation] galaxys:
Awesome, checking out newest version...Thanks Seb!
[HTC Sensation] joaquinf:
Sebastian, for those coming from faux with disabled mpdecision and thermald do we need to enable them back manually? or your script does that automatically. If not, this must be done BEFORE flashing yours to successfully replace old thermald with you new one, am i right?
[HTC Sensation] MuertoKo:
Testing 1.4.0, Benchmark's crushed at max. freq, no heating while playing, no laggy anything and second core Offline as it should while not doing heavy use (no random 1.56Ghz pikes this time)

So just to say...

Thanks for this Sebastian, you did it ;)

PS: Good idea on doing less OC on the GPU for those who don't need it, stablished a middle point so now anyone will ask for more/less and you will have you single compile ;) Good idea there btw

---------- Post added at 11:27 PM ---------- Previous post was at 11:25 PM ----------

You just need to enagle mpdecision, thermald is re-flashed ;)

Anyone you can restablish mpdecision after flashing the rom, just don't start playing any game without doing that ;)

Sebastian, you think you could add something on first post for people to make sure they have mpdecision and not mpdecision_dis? Just to avoid bad error reports from people who didn't re-enable it ;)
[HTC Sensation] ali_ge:
hi Sebastian i just flash v1.4.0 and my sensation cpu frequency always on maximum .For example if i set it on 1.5 Ghz it set always on 1.5Ghz ? btw coming from brick kernal!

AND now my lovely sensation stay very coooooooool thankssss
[HTC Sensation] SebastianFM:
It’s not that simple, I can't care about every changes made by faux123's kernel package in system. His newest package renames mpdecision, thermald and also adds or replaces init.post_boot.sh.

If you have installed ARHD 6.5.5 with faux kernel, you have installed script 50faux in /system/etc/init.d, which deletes /system/bin/thermald, /system/bin/mpdecision and /system/etc/thermald.conf on every boot.

Probably System Tuner or other OC app setting incorrect minimum and maximum CPU frequency or governor is set to performance.
[HTC Sensation] realphoenikx:
Hello Sebas, thanks for your great work, but could you please check the links, cause both are down.
[HTC Sensation] iba21:
And if i'd want to use kernel at stock frequency?

I tryed with 2d0.0 and 1.1 with 200000000 but i have 228571000

I don't want overheat issue ;)

With overclocks, phone goes hot, i hear hot place under sd card, in display too.. (i mean over 4 touch buttons)

I have big uv (1.075mV @ 1.56ghz) and.. overheat if cpu goes over 40C..

Gpu is in the same soc as cpu, so, gpu issue :D
[HTC Sensation] SebastianFM:
Links are fine, Dropbox reports too much traffic but Minus is working for me.
[HTC Sensation] joaquinf:
So, your best advice is to reflash the ROM with your kernel and then update to the latest release?
[HTC Sensation] StuartTheFish:
The 1.4 kernel seems good so far to me. Using the virtuous version on virtuous inquisition 4.0.1 with no issues whatsoever, and the phone runs even cooler now. Cheers!
[HTC Sensation] chihliouma:
No, both links are NOT available. can some other mirrored offered ? Thanks.
[HTC Sensation] lufeig:
minus is working fine for me too. slow speed (1 minute to download 3.9mb), but it's working.

downloading v1.4 while typing!
[HTC Sensation] schiphol:
Sebas, I cant get it from minus either. Anybody have a mirror pretty please?
[HTC Sensation] SebastianFM:
Correct commands to set GPU frequency in 2D mode to 200 MHz:

echo 200000000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk

echo 200000000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk

Uploaded directly to XDA.

v1.4.0, link, md5: 83d4d30a4206ad5fec9bb79b98c053f5

v1.4.0 with touchscreen fix for Virtuos Inquisition, OpenSensation ROMs, link, md5: 3cbb9f4bfe582dcea9638006347560f3

Also you could look into the package what changes were made in system and try to revert it.
[HTC Sensation] tholmes8291:
Need a little help. When I flash any of the kernels it says It's installed but no PH98IMG is created and it doesn't boot into bootloader. Any ideas?
[HTC Sensation] galaxys:
These are zip files that should be put on SD card and flashed from Recovery not Bootloader.
[HTC Sensation] c3d76:
Hey Seb, Kernel 1.4.0 is so far flawless!

I thought there was a problem with downclocking back from 1.7 to 1.5 with second core not sticking (staying at 1.7). But after a restart, changes applied to second core without a problem.

Same thing with overclocking, changes well applied to both cores...

Thanks a lot man, great job :)
[HTC Sensation] tholmes8291:
Understand that but when the file is flashed in recovery it is supposed to install the boot image on the sd card that is then installed from bootloader. When it flashes it says installed but isn't installed.
[HTC Sensation] trail1091:
Appreciated~btw a noob question

I can't UV if I'm using setCPU right ?

Is system tuner the only solution ?
[HTC Sensation] rawrfische:
You don't need system tuner. I use an init.d script to globally undervolt by 50000 across the board. Made a file called "95undervolt" in /system/etc/init.d and put this in it:

#!/system/bin/sh

echo "-50000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels

Alternatively, you could make a script to change each frequency voltage individually, but I never bothered.

Just change permissions on your script to match everything else in your init.d folder, reboot and you should be good. Be conservative in your value at first. If your undervolt is too much, you might get stuck in a bootloop, so make a backup before you mess with it. :p
[HTC Sensation] epsix:
So the copy the thermal.conf in the OP to /system/etc right?

[tsens_tz_sensor0]

sampling 3000

thresholds 75 78 81 84 87

thresholds_clr 72 75 78 81 84

actions cpu cpu cpu cpu cpu

action_info 1296000 1188000 918000 756000 384000
[HTC Sensation] peppercute:
Please anybody! Make a version of kernel 1.4 with 1620 MHz by default!

PS SebastianFM BIG thanks for your work! Your kernel is best:)
[HTC Sensation] rawrfische:
If I'm reading the OP right, I think those are the internal values set in Sebastian's thermald in /system/bin which he said is not parsing an external config file, which I think is normally thermald.conf. So I don't think we need to do anything. Everything is already set independent of what's in thermald.conf.

At least that's my understanding. I'm not well versed in kernel stuff, so Sebastian would have to confirm.
[HTC Sensation] epsix:
Dude....come on man just all you need to do is set it 1.6 and check set on boot.
[HTC Sensation] xHighAlert:
EXCELLENT!

I switched to bricked because of the voltage limits, but now that these are lower than bricked, damn right I'm going back! :D
[HTC Sensation] andyln3:
Damn. 1.4.0 is breaking WiFi on OpenSensation ROMs.
[HTC Sensation] peppercute:
Via setCPU ?? But i want w\o this programm. maybe i can edit same file for set 1620 Mhz?
[HTC Sensation] DrAgKurt:
Hey bro. Which one you recommend using/downloading here? I'm seeing 2 links.

Overclocked_kernel_v1.4.0_by_SebastianFM

Overclocked_kernel_v1.4.0_(disabled_unlock_page)_by_SebastianFM

what exactly is the difference between the two aside from the Touchscreen fix thingy?
[HTC Sensation] joaquinf:
Both of them have touchscreen fix. Second link is kernel only for virtuous inquisition ROM
[HTC Sensation] BioTecK:
Hi,

I have a couple of questions: is it necessary to have both CPU's online? As in performance wise..

At first I was running 1.30.4 with both CPU's online. This happened without touching any settings in system tuner pro.

Now I'm running 1.4.0 and I just noticed that the CPU1 goes offline after reboot.

Is this how it should be?

And is forcing both cores online a bad thing?
[HTC Sensation] c3d76:
Yes it is normal, 2nd core only goes online when needed/stressed. It is a power saving feature... I don't know why both were online if you did not deliberately set it like that though. It didn't happen to me with 1.30.4.

You shouldn't see any difference in performance, but forcing both online will drain the battery more.
[HTC Sensation] BioTecK:
Thanks for the answer..

I just figured out why the 2nd core was online. This was due to the fact that I was running Faux's kernel in the first place and when using that kernel the mpdecision file is disabled.

And before I flashed the 1.4.0 version, I also reflashed my ROM.. so perhaps by doing so the file was enabled again and therefore the kernel was running on One core as it should!
[HTC Sensation] jkolner:
Been using your Kernels since I got my Sensation cause your Kernels are the best.

And don't mind those jealous ignorant noob's that pop up from time to time ;-)

/ Sent from my Sensation XE /
[HTC Sensation] baste07:
Great job on this!

Underclocked to 1.18ghz, i think that will be enough and i want to see how much juice i can get from doing that
[HTC Sensation] Bastaerd:
OpenSensation/CM9 uses a different wifi driver. So unless SebastianFM releases a kernel with this driver wifi will not work.
[HTC Sensation] MuertoKo:
Third random reboot with 1.4.0 (First time I get a random reboot btw).

I'm using ARHD 6.5.4 and just flashed your kernel, I had faux123 003b2 flashed before so maybe this caused the problem... I took care to rename thermald and mpdecision but maybe something else was wrong.

I attack the last_ksmg file here so you can check it if needed,

Thanks btw!

http://dl.dropbox.com/u/7641719/last_kmsg
[HTC Sensation] vernon092487:
Hi Sebastian,

I tried to enable ZRAM using System Tuner Terminal Emulator:

zram:

To enable zram (these commands enables 100 MB compressed swap stored in RAM):

echo 104857600 > /sys/devices/virtual/block/zram0/disksize

busybox mkswap /dev/block/zram0

busybox swapon /dev/block/zram0

when i get to busybox swapon /dev/block/zram0, i recieved this message "swapon: /dev/block/zram0: Device or resource busy".. any thoughts on this? also for the max gpu(3d and 2d) how do i know that the script was successfully applied?

thanks!
[HTC Sensation] davidep85:
So, coming from bricked kernel, what do we have to do to install new kernel release?

thank you davide
[HTC Sensation] deano309:
There is a fix for this, I beleive you only need to copy 2 files.

Check the development thread for the "Wifi fix" posts!

Hope this helps.

---------- Post added at 11:13 AM ---------- Previous post was at 11:04 AM ----------

Why compile another version when it's easy to change it after installation?!?!:confused:

Or you could use a startup script to change the default CPU freq and add it to the zip!

This seems perfect so far, fast, smooth and good on battery!!! Many thanks to the OP
[HTC Sensation] jkolner:
Just download your prefered kernel and flash it...
[HTC Sensation] SebastianFM:
I'll check it. Could you check if issue occurs when you change GPU 2D frequency to 200 MHz?

I confirm that. :)

I can do it, but if other addititonal changes are required to adapt kernel to OpenSensation/CM9?

This occurs when you have zram already enabled.

faux123's kernel kernel package adds/replaces file /system/etc/init.post_boot.sh. He added zram commands:

mkswap /dev/block/zram0

swapon /dev/block/zram0

but they are incorrect because the size must be set before creating a zram.

Also Bricked kernel adds zram script /system/etc/init.d/90zram.