yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] SebastianFM:
No, default is 1512 MHz.
[HTC Sensation] nyorbee:
Than why I have 1,8 ? After flashing 1.4.0#2 also had 1,8
[HTC Sensation] c3d76:
It says that in Settings>About phone>hardware...

But if you check with Setcpu or Sytem tuner... You will see it is actually 1.5 by default.
[HTC Sensation] belblade:
tried 1.40 v2 but am getting really low antutu scores

about 2000 lower at 1782 mhz then with 1.30.4

have retested, reflashed, same thing ...
[HTC Sensation] nyorbee:
Why about phone shows 1,8? And why u didn't do Mhz to choose? Like in previous versions?
[HTC Sensation] c3d76:
I noticed that too.

After comparing to an older bench @1728, I noticed it is on the "RAM" and "CPU integer" that I have lost around 300 points.

1555 vs 1646, and 2307 vs 2508... (See screenshots) No big deal though, I'd rather have UV than those 300 points :)
[HTC Sensation] deano309:
Because it's quite evident that the OP can't please everyone?!?! :cool:

It's set as default as 1.5GHz because not everyone's device can handle 1.8 so it is left to the user to decide how high they want to go!

It's soooooo easy to use a script or program to change the max freq if you want.

I think this is a brilliant idea and so far it's the smoothest kernel I have tried! :D
[HTC Sensation] nyorbee:
I had 4 reboots, sine I flashed 1.4.0 version 2 :(
[HTC Sensation] deano309:
I always flash after a clean rom install and have no problems.

Coming from another kernel causes issues for some because of redundant files.

Do a full wipe, install your rom and then install this kernel.

(You could also just try wipe cache & Dalvik)

Hope this helps :)
[HTC Sensation] MuertoKo:
More info could be nice, you came from Faux kernel some time before a super wipe? If it's the case reinstall rom first at least ;)

If you don't give more info Sebastian can't try to evaluate! Moreover, if after a reboot you upload your last_ksmg file (found at /proc/) it could be nice for him to check the cause of the reboots ;)
[HTC Sensation] nyorbee:
No, I always had Sebastian kernels, and I wipe dalvik +cache. Maby it's because I set to 1,8 with SetCPU. Anyway I am back with 1.30.4 1,782. Why in new version we don't have a choise betwen freq? If I get another reboot, I will post this file, thanks. I'm new to this kernel stuff, than sorry if I "noobing" :P
[HTC Sensation] SebastianFM:
1.8 GHz dualcore is displayed in Settings. This text is taken by Settings app from kernel only once at boot, so it can't be adjusted to real CPU frequency.

It's because older AnTuTu Benchmark gives higher scores. If you don't believe me, install AnTuTu Benchmark 2.5.x and do some tests on kernel v1.4.0.

For sure in this case there is no other reasons of reboot except 1836 MHz. Not every device can handle this frequency. Just choose lower and everything will be fine.

There is no choice? What? You have full choice, you can choose any frequency you want.
[HTC Sensation] aoryx:
I ran both tests with the latest antutu

Same version both tests
[HTC Sensation] Ocaryx:
i was talking with my friend , my phone got reset .

i had no such problems with 1.30.4

but i didn't wipe chach & dalvik :-/ maybe that's the problem ?
[HTC Sensation] MuertoKo:
It happened the same to me some days ago, try to flash new #2 kernel after reinstaling your rom (actually I wiped + rom + kernel to make it work).

If you don't want to wipe try only reinstalling the rom (it wipes cache and dalvik in the process) just to check and report please :)

Good luck there!
[HTC Sensation] squeeish:
Just flashed... will report back :) Thanks Sebastian!

Also I would like to bring up the issue of unresponsiveness when I'm surfing the web, no matter through Dolphin Browser HD or the default Chrome. The whole phone just slows down to a crawl and sometimes it recovers, but I usually do the 3 finger salute.
[HTC Sensation] baste07:
thanks ill try this v2, i had hangs which,resulted in me pulling battery twice. it was when browsing and playing temple run i thought it was because i undervolted by 50mv, but looks like that is not the case because im seeing guys undervolt way lower than what i did
[HTC Sensation] nyorbee:
Yes, but I have to do this manually, in lates version you had:

1836 MHz, link, md5: 32f4bd742c4b52cb0e95d0166def01ce

1782 MHz, link, md5: dac670c7359e07466b8a4fe7b5ff92ed

1728 MHz, link, md5: a58d5a238935d1a90b845dee1e9c50f0

1620 MHz, link, md5: 8242640a0c75e3cd239a4db0ef1e7e3d

1512 MHz, link, md5: a902912f2a01b75f50f0ff4fd79782d6

Now we have only on 1.5 mhz. I can set freq by SetCPU? And when I set it, it will not change to 1,5 mhz later?
[HTC Sensation] StuartTheFish:
Yes, you use system tuner or setCPU to change your clock speed. The kernel supports up to 1.8GHz, but by default it's set at 1.5GHz.
[HTC Sensation] mac87:
stock voltage table

hi,

someone could give me the original voltage table please

or confirm that the 1.40.4 voltage table is the stock -25mV ???

I'm trying to make an optimised voltage table
[HTC Sensation] PuscH:
Better use System Tuner (or NoFrills) as SetCPU forces your 2nd core online all the time which reduces battery.
[HTC Sensation] k0zmic:
Sure you have to do it manually but it takes all of 3 seconds to move the slider on System Tuner or SetCPU.

If you use system tuner then select Boot Settings and 'Re apply CPU settings'. This way it will stick to whatever frequency you changed it to.
[HTC Sensation] nyorbee:
Even when I have "ondemand" in SetCPU I have 2nd core online all the time?
[HTC Sensation] PuscH:
maybe try urself, but for me SetCPU forced 2nd core online all the time (from what I read here others seem to have the same problem with SetCPU). also using ondemand gov
[HTC Sensation] nyorbee:
Where I can check do I have 2nd core online all the time?
[HTC Sensation] Ocaryx:
i installed 1.40 v2

i had 2 reboots , first when i was at 1512mhz but i forgot to save report

and the second one at 1836mhz , i don't think it's the frequency problem that i got reset . cuz i had reboot at 1512 too

here is my report when i got reboot at 1836mhz
[HTC Sensation] PuscH:
try

cat /sys/devices/system/cpu/cpu1/online

in terminal

it shows 0 if 2nd core is offline or 1 if it's online
[HTC Sensation] nyorbee:
I have 0, than second core is offline, and have set SetCPU to 1782 mhz, that mean that SetCPU works fine for me?
[HTC Sensation] mac87:
I noticed that when i reduce the max frequency using system tuner pro

this apply ONLY to the first core

the max stay at 1.5ghz for the second core (1.40 v1)

(evrything is normal when I increase the frequency, this appliy to the 2 cores)

(I'm searching for the original voltage table Please)
[HTC Sensation] vernon092487:
[/QUOTE]

how can I install all this scripts at once?or do i need to input one by one?
[HTC Sensation] SebastianFM:
Hi, it must be System Tuner Pro issue. You can try to manually set frequencies using these commands:

echo 1620000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

echo 1620000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

If the second core is controlled by mpdecision (by default) and is currently offline, you must enable it before changing frequency, and disable after.

echo 1 > /sys/devices/system/cpu/cpu1/online

echo 0 > /sys/devices/system/cpu/cpu1/online

I didn't change the voltages for all the existing frequencies in tables. These are original voltages provided by HTC. Rows in the frequency tables above 1512 MHz were designed and added by me. HTC kernel had one table for HTC Sensation and three tables for different revisions of HTC Sensation XE. HTC Sensation table had too high voltages and frequencies only up to 1188 MHz, so I used XE table for it. You could find voltage values in my source code, acpuclock-8x60.c.
[HTC Sensation] mac87:
I see the 3 cpu voltage tables in your source code

the first is used in the actual kernel

but what are the 2 others for ?

(sorry noob question inside)

for the other thing i enabled the second core with system tuner

then I reduced the frequency

and it applied tho both cores

(but now thez are forced online both)

so it's definitively a software issue and not a cpu issue

just to find the good, option/reboot to do with system tuner
[HTC Sensation] SebastianFM:
No, I wrote it already. Three different tables are used. It depends on revision of board.
[HTC Sensation] mac87:
ah ok, understood

ok then, even if it seems that my board need the highest voltage (first table)

I can easily use the third table

and from my actual tests, we can decrease a LOt the voltage at min frequency 384MHz

I'll post soon a table from my tests

And after have studied the 3 tables
[HTC Sensation] zimphishmonger:
Thats an old bug, the new 2.3.0.2 version of SetCPU does NOT force both CPUs online. Only the older (non-ICS) themed versions force both CPUs online, cause they are outdated
[HTC Sensation] SebastianFM:
SetCPU 2.3.0 also forces online the second core.
[HTC Sensation] PuscH:
same for me, but i've asked nyorbee to check on his phone with "cat /sys/devices/system/cpu/cpu1/online" in terminal and he says that it returns 0 for him, so his second core seems to be offline using SetCPU:
[HTC Sensation] snake4fun:
Hello SebastianFM,

i have the feeling that version 1.4.0 #2 consumes a little bit more power as the version from the first post! Why?

Do you plan a new version?
[HTC Sensation] dmcb123:
Ok so i did a quick search but couldnt find a definite answer, just to confirm animations dont work on sense 4.0 with this kernel?
[HTC Sensation] epsix:
Your subject has nothing related to the kernel, I'm using seb latest kernel animation works fine on sense4. Long press on clock drag it to EDIT and enable animation.
[HTC Sensation] silverdart:
Analysis! For what it's worth.

Ok!

1. No reboots with 1.4.0 @ -50 UV. Had a reboot (MX Video Player) with 1.4.0/-75 UV and thought it was because I set 2D GPU to 200MHz after reading your post.

2. Tried 1.4.0 #2 @ -75 UV and it rebooted using Messaging App. Put it at

-50 UV and it behaved well for the rest of the day.

3. When I returned home I reinstalled 1.4.0 @ -50UV w/2D set @ 200MHz and ran everything I could to make it reboot. I could not do it!

4. I believe my problem was -75 UV and not 200MHz GPU. -50 UV is far as I am willing to go. Just my observation!
[HTC Sensation] eilu1183:
Liking the kernel so far. Much better batt life than stock.

Quick question: what's everyone using to UV? SetCPU's not shwoing me the "Voltage" tab...
[HTC Sensation] baste07:
i use,system tuner pro
[HTC Sensation] zimphishmonger:
Are you sure w 2.3.0.2?? Both my cores hot plug as they should even w setcpu

EDIT: Appears to be true, now Im having issues getting CPU1 to kick online during benchmarks. Yes, mpdecision and thermald are named correctly and have 755 permissions. Still cant get above ~3000, which menas single core is working (@ 1.56). Any suggestions? Currently using Sytem Tuner

Sent from my HTC Sensation 4G XE with Beats Audio
[HTC Sensation] squeeish:
It's been 24 hours, no random reboots so far. Thanks loads! :D
[HTC Sensation] rawrfische:
I have a suggestion, though it's not a popular one. Try setting your max freqs without setcpu or system tuner, and just use an init.d script to echo max freqs for cpu0 and cpu1.

I didn't test my cpu hotplugging with quadrant, but I did test earlier with antutu and it was working fine. Online for the bench, offline afterwards. Verified in adb.
[HTC Sensation] DarkPrinceByWWW:
Hey guys, why do you uv the cpu? For better battery life or better temperature? In term of better battery life, it won't improve it. Just read the article about battery consumption here on xda ;-) (I'll post the link later on).
[HTC Sensation] silverdart:
Trouble! Not quoting basic electronics.

You are heading in the direction of trouble with that statement!
[HTC Sensation] slavislavi:
Problem with installing 1.4.0 kernel after latest RUU_PYRAMID_ICS_HTC_Europe_3.32.401.5_Radio_11.69. 3504.00U_11.22.3504.07_M_release_246089_signed (CWM touch-5.8.0.9 installed)

Flashing boot image ...

assert failed: write_raw_image("/tmp/newboot.img". "boot")

E: Error in /sdcard/Overclocked_kernel_v1.4.0_by_SebastianFM.zip (Status 7)
[HTC Sensation] SebastianFM:
If you flashed signed boot image from the RUU, probably it is a reason why you can't install my kernel. You must flash unsigned boot.img.
[HTC Sensation] slavislavi:
OK. I don't have unsigned boot from released RUU. I just used boot.img from test RUU. Does this make any difference?
[HTC Sensation] mac87:
If you speak about this http://xdaforums.com/showthread.php?t=1478406

some of the ideas are right but some things are definitively inexact

each one have to red this and make his idea on the interest of underclocking/undevolting

One thing that is clear, is that the most important to improve battery live is to reduce frequency and voltage in idle mode

but when the screen is on, reduce the speed/voltage of the cpu is maybe negligeable but a 1-2% (1-2% is mentionned in the article) saved during a screen on time could become a 5-10% saved in screen off time (am I clear ?)

And that's what the article don't mention

and that's why I'm studying underclocking/undervolting

(obviously it depends of your mobile use...)

my voltage table is almost donne I'll share to you later ;)
[HTC Sensation] baste07:
any news on the updated kernel with permanent fix for the bug in v 1.4?
[HTC Sensation] eXceed:
What governor is everyone using on this kernel for best performance? I've been ondemand up until now and no complaints. Would love to just leave it on performance but need my phone to actually work as a phone sometimes :D
[HTC Sensation] mac87:
the best governor for performance and battery life is ONDEMAND

you won't see the difference with PERFORMANCE governor
[HTC Sensation] PuscH:
Not true, you do see a little difference. The phone reacts a little bit faster as the CPU is running in full speed all the time. So no wasted clock cycles on adjusting CPU frequency if more power is needed. So less micro lag. But in normal use it doesn't really make a difference, I agree. And battery life is a lot worse when using the performance gov all the time.
[HTC Sensation] vzhitnikov:
lowmemorykiller

lowmemorykiller setting do not work. It looks like it uses the wrong value of free RAM.

I found this code in lowmemorykiller.c

static unsigned int offlining;

...

#ifdef CONFIG_MEMORY_HOTPLUG

static int lmk_hotplug_callback(struct notifier_block *self,

unsigned long cmd, void *data)

{

switch (cmd) {

/* Don't care LMK cases */

case MEM_ONLINE:

case MEM_OFFLINE:

case MEM_CANCEL_ONLINE:

case MEM_CANCEL_OFFLINE:

case MEM_GOING_ONLINE:

offlining = 0;

lowmem_print(4, "lmk in normal mode\n");

break;

/* LMK should account for movable zone */

case MEM_GOING_OFFLINE:

offlining = 1;

lowmem_print(4, "lmk in hotplug mode\n");

break;

}

return NOTIFY_DONE;

}

#endif

...

if (offlining) {

/* Discount all free space in the section being offlined */

for_each_zone(zone) {

if (zone_idx(zone) == ZONE_MOVABLE) {

other_free -= zone_page_state(zone,

NR_FREE_PAGES);

lowmem_print(4, "lowmem_shrink discounted "

"%lu pages in movable zone\n",

zone_page_state(zone, NR_FREE_PAGES));

}

}

}

The variable "offlining" is not initialized ( if not defined CONFIG_MEMORY_HOTPLUG).

Can you fix it?
[HTC Sensation] c3d76:
Hi, same thing happens with me.

A quick reboot applies the changes/fixes the problem here...
[HTC Sensation] jesterpaul:
Doesn't work for me. System Tuner won't save any changes from the default over reboot whatsoever.

Tried with init.d script option and also on boot completed. Tried wiping app data and redoing the settings. No joy

Only app that can save anything over reboot here is SetCPU (but only the min and max frequency; not the governor setting, and obviously can't customize voltages with it either).

I have same issue with both Insert Coin Sense 3.6 ROM and Sense 4 ROM.

I suspect it has to do with other system files left over by other kernels I've tried previously (Bricked, Faux and Anthrax).

Sent from my awesome insert coined Sensation XE
[HTC Sensation] StuartTheFish:
What's responsible for the GPS accuracy? Because today I used maps and it was terrible, making out I was nowhere near the roads, driving sideways, etc.
[HTC Sensation] PuscH:
have a look at this maybe:

http://xdaforums.com/showthread.php?t=1239713

or maybe:

http://xdaforums.com/showthread.php?t=825717
[HTC Sensation] StuartTheFish:
But does a kernel change replace the gps.conf? It worked fine the last time I used it a week or two ago, and the only thing I've changed since then is the kernel to have 1.4.
[HTC Sensation] DarkPrinceByWWW:
Actually I'm speaking about this: http://www.xda-developers.com/andro...ry-study-brings-about-surprising-conclusions/

I'm also at the end of my IT studies at the german university and had some lectures about semiconductor technology. The only one noticeable improvement you will see only at decreasing the supply voltage. But reducing voltage from 1,1V to 1,05V is just not enough to see any difference ;) You will get more battery life by simply using 2G (gsm network) instead of 3G/4G or just not turning your device on every minute to just see the time ;)

Edit: ...But reducing voltage from 1,1V to 1,05V is just not enough to see any difference ;)... Especially on ARM SoCs. As this SoCs are already trimmed to save as many power as possible and are just not as complex as some desktop cpus like Intel Core series or AMD processors ;)
[HTC Sensation] SebastianFM:
I think that there is no need to define CONFIG_MEMORY_HOTPLUG.

I didn't change anything related to GPS in my kernel.

Maybe too cloudy weather? :)

I think that battery life is perfect on my kernel. I don't if it could be improved more by UV because I didn't tested it yet. More important for me is I can lower the CPU temperature by 5 - 10°C using UV.
[HTC Sensation] nyorbee:
Than what about this SetCPU? Someone told that second core is online in benchmark test, isn't it suposed to be that way? When I check in terminal like aome mate ask me to do I had 0 value. Maby SetCPU works for somebody and for somebody not. How to check it to be sure if its working fine or not?
[HTC Sensation] vzhitnikov:
I think that there need to fix

static unsigned int offlining=0;
[HTC Sensation] dyval:
Hi seb thanks for your latest kernel, I am using it ATM. How do I UV using system tuner pro? I did notice that my phone's battery drain and temp is higher compared when I'm using your 1.30.4 kernel. I am thinking that undervolting might help..thanks bro. )
[HTC Sensation] mac87:
That's the same article I linked ;)

but your news is old and part of the work has been updated because of huge mystakes in the protocol...

the thread I gave can inform you of the updates on Nexus battery saving tests

I repeat that I agree with most of the conclusions of this article

as an abstract,

it says that undervolting and underclocking DO reduce power drain

but in some conditions this save could be considerated as negligible

The team bedalus & co have done really good work trying to compare power consumption of kernels, governor, idle modes, frequency, UV...

And the conclusion is that all those parameters matter and can interact causing more or less battery drain

All the thing is to see if a certain percent of battery is important for you,

depending of your use (screen music, call, wifi, 3g) and if you have a charger at work ?

In my case I take care about idle mode because it is the mode where you can have more gain in terms of battery time lasting

and load mode because a little percent saved in load could lead to much more percents if the mA saved in load time are used then after during idle time...

And as I can UV my sensation of 12% (in voltage) in idle and load

I assume that I can save battery in a non negligible way for my type of use.

The most important is to make a proper UV that doesn't create cpu instability.

And speaking about temperature : a decrease of temperature is obviously a decrease of energy and so a decrease of battery drain

But, my goal is not to have the most long lasting phone, it's to have a powerfull phone taht I can use all day long.

And for that I use the proper settings: 3g/2g, brightness, frequency, voltage

all is important and UV is part of this

So thank you Sebastian for your work on this kernel, which I think is very efficient (cpu power and battery saving).
[HTC Sensation] hansbert:
I'm using your Kernel (v1.4.0) now for a couple days without any deamon tools or SetCPU and it's really god!!! Battery life and speed are perfect!

Thank you so much for this Kernel! ;-)
[HTC Sensation] DrAgKurt:
i tested faux123's 003b7 kernel few hours ago and i therefore conclude, "i'm sticking with Sebastian's" i find it working perfectly on my phone :)
[HTC Sensation] nmnikolov:
I tried to set up my second cpu core with System Tuner and Setcpu (of course not at the same time) not to be online all the time but with no success. I am using Coredroid V5.1 with 1.4.0 Kernel at 1512MHz. When set on demand option nothing change at all and both core are online when checking with terminal emulator.
[HTC Sensation] mac87:
don't use setcpu, use only system tuner pro

setcpu activate both cores

reboot and chec your cores status with system tuner pro

if it don't work maybe a a fresh instal of 1.4 kernel should be better

as the settings should be already as you want (ONDEMAND + 2cores not always online)

uninstall setcpu

uninstall system tuner

wipe cache + davlik (otpionnal but I like to do it before installing a kernel)

install kernel 1.40

install system tuner and check your cores status
[HTC Sensation] gachana:
if you want to undervolt use system tuner. On a voltage tab, you just start by by -12 and move up. I have undervolted by -75 with no problem. once you are sure that the phone is stable ( not rebooting by it self) change "Re-apply cpu steeings" to "on boot completed" so that the undervolting sticks while you reboot.
[HTC Sensation] silverdart:
SebastianFM

Your kernels are great! Is it possible to include custom governors?
[HTC Sensation] c3d76:
Had my first random reboot after a phone call. Looked down at my phone and noticed it was booting up 0.o.

Will install v2 now to see how it goes...
[HTC Sensation] baste07:
after installing v2 i had no more reboots or long hangups
[HTC Sensation] c3d76:
Good to know, thanks. It might not have been the first reboot, just the first one I noticed :P
[HTC Sensation] baste07:
hehe defintely the v2 is more stable.

not sure if you UV? but i usually go down by 50mv
[HTC Sensation] DrAgKurt:
Custom UVs

Hi, anyone here can share some of custom UV setup that's working smooth?
[HTC Sensation] baste07:
i've read before that they went down by as much as 100mv across freq. but i would do it per step
[HTC Sensation] DrAgKurt:
can you post yours?
[HTC Sensation] mac87:
I'll post mine in the afternoon ;)
[HTC Sensation] squeeish:
There are still slowdowns for me, especially when I let the screen timeout.

Someone mentioned on the VI thread that I could try underclocking to 1.2GHz so I'm going to try that.