yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] smint86:
hey guys, i'm quite new to all of these android stuff, my sensation is the first android phone i'm using. anyhow i would say, that i gained much experience in the last weeks, i'm quite comfortable using custum roms, flashing, and so on...

only thing is, that i never used a custom kernel or did some overclocking. so... i fully understand the way how to flash the kernel, it's well described in the first (or second?) post.

i will superwipe my phone in some time, install insertcoin 2.4.0 and want to give a shot to the "Sensation Kernel 0.1.0 (1.56 GHz Sync L2)" because it's reported as "great for daily use with good performance and great battery life" by faux himself :).

so.. my question is: after installing the kernel, do i have to do something else? in some other threads i read very much about tools like "setcpu" or "o/c deamon"... do i have to download one of these tools, too? or is it just that simple that i flash the kernel as described and after boot my phone runs with all these "special" settings (1,5ghz when on, lower frequency when off, and so on)?
[HTC Sensation] 3c:
What's the difference with this version?

I installed the 0.1.0 from OP and it seems ok, though reverting back to stock kernel, got no more wifi!?

The perfs are not as expected as well, will this modified version be better?

And why the CPU is stuck at 972MHz all the time with 0.1.0 either version? Is it some kind of fail safe when CPU has internal heat/crash issues?
[HTC Sensation] adiallo77:
You can use OC Daemon its pretty straight forward if not download setcpu from market
[HTC Sensation] 3c:
Yes, but OC Daemon is more efficient. setCPU is available around somewhere on XDA too. Used to be at least!
[HTC Sensation] adiallo77:
I'd send you apk but on mobile
[HTC Sensation] Blodia:
Using 0.9 and USB Tethering does work, that's how I play Dragon Nest and visit blocked sites at work (occasionally/rarely) :p
[HTC Sensation] eilu1183:
Okay, thanks. I turned on intellidemand now.
[HTC Sensation] PaulGiz:
It's so hard for some people to let go of the old ways .

Just try to unload all your controllers for a day or two and let Faux's magic wash over you.

The kernel takes care of everything. Your basic clocks are set to a fast 1.51 Ghz, but are limited to 1.08 for non-intensive stuff. So you have speed when necessary, with excellent battery when you're browsing or sending naked pictures. All through a brilliant governor.

Screen on uses two cores working independently to give buttery response. Screen off limits you to one CPU at moderate clockspeed. Great battery with adequate power for mail, messaging and streaming.

More efficient thermal control. All built in.

Unload your tuners, controllers and monitors. See what your phone can really do.

P.
[HTC Sensation] psycho1:
Thank you faux for all your hard work.. I use blue tooth every day.. very important, so I really appreciate all your extra work and sleepless nights
[HTC Sensation] amsterdam88:
I unistalled System Tuner and i re-flashed the kernel. Than i reinstalled System Tuner and governor was on intellidemand ;) Now it work! :)
[HTC Sensation] zimphishmonger:
Can't say I have those issues, but mainly skipping or stuttering using a2dp. Music Player doesn't matter, it's the same streaming or local playback

Sent from my HTC Sensation 4G XE with Beats Audio
[HTC Sensation] xxemoeskimoxx:
What is the difference between 003m and 003u
[HTC Sensation] zimphishmonger:
Before u get flamed, it says the difference in the op.... Right next to the download link. It's also been discussed several times the last few pages. (facepalm)

Sent from my HTC Sensation 4G XE with Beats Audio
[HTC Sensation] darkburst1991:
003

Faux this kernel rocks! Nice and smooth!

Thanks for your time and effort.
[HTC Sensation] amsterdam88:
It may depend on kernel if my wifi and data internet random switch on?
[HTC Sensation] baste07:
yeah you might have had settings to apply on boot (which probably the governor of your prev kernel)

you could have also just not set it it at boot and then just rebooted
[HTC Sensation] stevocz:
hi. i see this on changelog this kernel: Enabled and Added several drivers in an attempt to enable USB On-The-Go (OTG) / Host capability

but when i try test usb host, he doesnt work for me. is host working?
[HTC Sensation] erraggy:
Faux has been piecing it together for a while now. HTC did not provide support for USB OTG so it requires painstaking work to merge in what is needed from other sources. Once something useful comes out of all of this work, I'm pretty sure Faux will be quite loud, proud and excitedly sharing about it. :D
[HTC Sensation] aCe_Se7eN:
I tried to flash this latest kernel but I got this error:

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

MD5 was matched and I've tried to install couple of times but still fail. Anyone can help?

I'm using stock ICS ROM. Thanks.
[HTC Sensation] belblade:
have tried interpreting the first post but still unclear: is the latest kernel CM9-compatible?
[HTC Sensation] baste07:
there should be another thread for no-sense roms.
[HTC Sensation] MarciWoi:
I will give this a run !

Thank you !

Gesendet von meinem HTC Sensation XE with Beats Audio mit Tapatalk
[HTC Sensation] yozas:
the line found in the first post "THIS KERNEL is BASED ON HTC Source Code. So it is COMPATIBLE ONLY WITH HTC Gingerbread Sensation Builds."

should be removed or am I wrong?
[HTC Sensation] K00li79:
Love ur kernels faux! Been using them sinds gingerbread! :) Just one issue...on beta 6 and 7 I wasn't able to charge trough USB and in the car. Is this a real bug or is it just me? (and one other person on this forum) i am using the latest arhd. The battery icon is blinking,led turns red but its not charging....
[HTC Sensation] PaulGiz:
I'm not seeing many of these lately. Something to consider.

Confirmation #5KR468962E8640109.

P.
[HTC Sensation] Pikaraph:
Correct me if I'm wrong but I think you can't use this kernel with stock rom due to some tweaking.

You should try with ARHD !
[HTC Sensation] moshe22:
Faux your kernel is providing excellent battery while idle :)
[HTC Sensation] marseillesw:
Does anyone have a dropbox link to the 03 ultimate edition? Im stuck in a Twitter rootzwiki loop and I can't dl.. much appreciated
[HTC Sensation] erraggy:
Did you try the link in the OP?
[HTC Sensation] marseillesw:
Yup
[HTC Sensation] MuertoKo:
Random reboot after installing 6.5.5 and Faux 003m version.

My phone was charging and suddenly it just rebooted...

Attaching last_kmsg!

http://dl.dropbox.com/u/7641719/last_kmsg

Hope it helps...
[HTC Sensation] :
On the bricked kernel, the second CPU is offline when not in use, here are both always active.

Can that change might somehow, then I would go immediately to the faux kernel :)
[HTC Sensation] sjknight413:
Thats the whole point of Faux's kernel, to make it behave more like a traditional dual core processor. It does this by getting rid of htc's mpdecision solution and letting the kernel control both cores and temperature management.
[HTC Sensation] baste07:
do you exactly know what that means?
[HTC Sensation] faux123:
The reboot wasn't caused by a software bug.

I need to know more details about what you were doing right before it rebooted.

What were your clock value, UV value....

Also from the log you were charging your phone when it rebooted... Also is your battery stock? it seemed it may not be from the log...

Anyways, the reboot wasn't caused by a kernel panic (coding error), ROM can also issue reboot commands to make kernel to reboot as well.
[HTC Sensation] asesino:
Will give 003u a try.Hope is runs well with VI 4.0.1
[HTC Sensation] faux123:
Why not test drive my kernel before making judgement / assumptions about a kernel?

Attached is my battery life with my own kernel running ultimate edition with 1+ hour of screen on time.
[HTC Sensation] johnson8cyl:
From what I understand that is htc build problem. Definitely not kernel related
[HTC Sensation] stuart0001:
Faux. What would you recommend to be the best way to change the screen off max freq.
[HTC Sensation] faux123:
You shouldn't, the default 594 MHz is a well chosen frequency.

But if you want to go sub-optimal, then you can do:

cat 384000 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
[HTC Sensation] stuart0001:
Thanks faux. I'm actually looking to increase a little because I listen to podcasts with a playspeed plug in which can be CPU intensive and get occasional stutters with the low setting.

Sorry for being thick but do I type the command on the phone using terminal emulator
[HTC Sensation] zimphishmonger:
Yes, terminal or adb shell. Best bet, create a script and have gscript or script manager auto execute on boot

Sent from my HTC Sensation 4G XE with Beats Audio
[HTC Sensation] faux123:
Open Beta may not be stable and may cause issues with your phone!

By loading open beta you have agreed to:

1. To report all random reboots with associated /proc/last_kmsg

2. To provide feedback on errors or bugs with detail phone information such as ROM, kernel version, and apps

3. Participate in Forum discussions for the beta software with others without FLAMING each other or post useless information such as:

a) Phone doesn't boot (without providing any additional information, ROM versions etc)

B) phone is too hot (without providing any additional information, ie OC freq, UV etc)

The Open Beta system is designed to have the community help each other and the developers. This way, all potential bugs are flushed out so the final released version will be stable and error free. The more actively you participate in Beta Testing the better the final product will be (you are really helping yourself to create a better community software).

If you do NOT agree with the statements above, DO NOT load my Open Beta software.

Kernel 004 Open Beta Build 3

https://twitter.com/#!/faux123/status/188368550665261056 (BETA is always Ultimate Edition with everything turned on unless stated otherwise!)

[ build 3 ]

Major logic tweak to browsing detection for intellidemand to be even smarter and more responsive to gaming demands.

[ build 2 ]

Minor logic tweak to Intellidemand

[ build 1 ]

Patched old HTC bluetooth stack to latest CAF baseline

Enabled BT SCO options

Enabled BT RFCOMM options

Intellidemand Governor tweak:

Introducing Smart Core Management :D

Automatic offlining of 2nd CPU core while Screen is ON.

Scenarios:

1- While Screen is ON > 3 min, and average load of the CPU is < 35%, then CPU1 will be taken offline.

2- While Screen is On, if average CPU load > 35%, CPU1 will be Online and both CPUs max frequencies will be limited to 1.08 GHz Max

3- While Screen is On, After both CPUs' Max is limited to 1.08 GHz, when the average CPU load has dropped down to less than < 25%, then both CPUs Max freq will be restored to 1.51 GHz Max (then go back to scenario 1).

-- for 3D Games or GPU intensive apps, both CPUs's max frequencies will be restored to 1.51 GHz and both CPUs will be online.

NOTE: DO NOT use BENCHMARK APPS to compare my kernels to others. All those are ARTIFICIAL benchmarks and mostly measures CPU raw performance. If you insist to use those to compare kernels then set to performance governor before comparing for Apple to Apple comparison.
[HTC Sensation] orymd:
faux, i'm seeing CPU with system tuner... CPU1 doesn't go offline and CPU stays on 1.18 and not on 1.08... ARHD 6.6.0 with 004b1, default cpu settings
[HTC Sensation] TheUntouchable:
Same here!

And while I was playing temple run the CPU seems to be limited to 1,08.. Game was lagging!
[HTC Sensation] faux123:
I just played temple run, it's very smooth even on 1 CPU :p (Yes, temple run's graphics is not demanding enough to trigger FULL performance, therefore it does not need to run at full speed).
[HTC Sensation] eilu1183:
Based on your advice I've turned setCPU profiles off and run it at default (1.51Ghz max). Still keeping the widget, because holy cow, that's one cool-running kernel! (17°C! I've never ever seen it run below the high 20's before)

Just want to note, for testing, Triple Town is a very processor-intense game (and eats battery life), but it runs great on Faux too. Much snappier than before. :D
[HTC Sensation] MuertoKo:
I'm using default clock values with intellidemand, no profiles (uninstalled system and nofrills before flashing and checked if it's actually working, it is). No UV at all. Stock battery.

May this be a problem with my battery then? I may go after an Anker battery from Amazon... should it be a good idea faux? (Sorry for asking Off-Kernel questions but it's to take this to an end so I can keep testing kernels properly :S )

Thanks for info btw and glad it wasn't kernel isue :D :D
[HTC Sensation] johnson8cyl:
I have never seen my temp that low either. Thought it was reporting wrong when it said 19. Maybe not
[HTC Sensation] zimphishmonger:
Gotta say, super impressed with 004b2, fixed ALL my bluetooth a2dp stuttering and shipping issues. Been trying to figure it out since I got the phone.

Thanks a lot, man! Never had a beta kernel that i consider almost "gf ready" lol.

Sent from my HTC Sensation 4G
[HTC Sensation] overthinkingme:
awesome, haha

loving v004
[HTC Sensation] faux123:
The problem is really on this line:

[BATT] ID=1, level=82, vol=4218, temp=150, batt_current=651, chg_src=2, chg_en=2, full_bat=1580, over_vchg=0, batt_state=1 at 2732753760624 (2012-04-06 15:54:22.226092959 UTC)

it said your battery level is @ 82% but your battery is @ 100% capacity 4218 mah. so it doesn't make any sense. Your batter life with that capacity reading should be @ 100 % not 82% so the ROM may have issued a reboot command for you to correct for the stuck battery reading.
[HTC Sensation] eden1988:
I have this problem too!! I dunno how it happened but when I charged it from like very low battery % (eg 10-20% battery) it goes up to 70-80% with a 4224mah reading (full) and charges with 100mA continuously. Once I reboot it jumps to 100% :(

Faux do you think there's something wrong with my battery? (it's already 10 months and I used to charge it overnight because of this problem, or is my battery damaged?)
[HTC Sensation] zimphishmonger:
Been playing with b2 for several hours, feels great (using intellidemand ofc). Unfortunately, it seems to perform very strangely w benchmark apps. Antutu had around 3500 when usually around 6k, cfbench was half the stock sensation.

Have system tuner installed just to check, it's not setting anything on boot or via script.

Any ideas? Im totally stumped

Running insertcoin 5.2.1.

Sent from my HTC Sensation 4G
[HTC Sensation] joaquinf:
Sure. Take a look at this:
[HTC Sensation] zimphishmonger:
I'm comparing to fauxs kernel using ondemand, nothing else. I'm pointing out a possible issues w intellidemand clocking up under a full load, as the exact same kernel performs significantly higher using a dif but comparable governor.

Sent from my HTC Sensation 4G
[HTC Sensation] faux123:
Intellidemand is not so easily tricked.

As I mentioned in my beta post, benchmarks will show poor results because:

1. Most benchmark test for ONLY cpu performance, which real life app does that? (Linpack, CFbench)

2. Some benchmark includes GPU testing, if you look at the GPU portion of the benchmark, intellidemand is no worse than Ondemand (Antutu, Quadrant) but average together with CPU portion will result in poor scores

If you want to run benchmarks for comparison, run GL benchmarks such as Nenamark2 (I don't recommend nenamark 1 because any current generation GPU will already max it out @ 60 FPS). You will see running nenamark 2 using Intellidemand or Ondemand will be very similar.

Most of the apps will not need 100% CPU usage nor do they make GPU busy all the time. Intellidemand will limit the max frequencies to conserve battery while screen is on.

If you want Maximum performance without being limited, use Ondemand governor. It was left alone so people who wants maximum performance can still enjoy my kernel. Intellidemand is really designed for most average users where they run a few apps or games here and there but without worrying about battery life at the end of the day.
[HTC Sensation] zimphishmonger:
Many thanks for the detailed information, completely makes sense based on that info. You should put a link to this in the op :)

Sent from my HTC Sensation 4G
[HTC Sensation] design12:
I'm on 6.6.1 arhd xe & I'm using 004b2 with intellidemand & when cpu1 goes offline while screen on it won't come back online. I even changed the files under system/bin to mpdesicion_dis & thermald_dis & rebooted and same thing.
[HTC Sensation] faux123:
CPU 1 will come back on only when needed. No amount of forcing would change that.
[HTC Sensation] TheUntouchable:
You're right, temple run runs smooth after a reboot :D

But CPU 1 will not come online again even when running a stress test with 100% CPU and Max frequency =/

Edit: now the phone was on standby for some minutes and the CPU 1 is online.. Don't understand the hole thing anymore :D
[HTC Sensation] stuart0001:
I thought you forced both cores online when screen on, regardless of load Apologys if I've misunderstood.
[HTC Sensation] stuart0001:
Just a quick note. Initially I only had 1 core online and so I uninstalled system tuner and reflashed the kernel which fixed this. I've since reinstalled ST and its still ok.
[HTC Sensation] faux123:
Everyone, please get the highlighted concept removed, forgotten, erased from memory. My kernel DOES NOT FORCE 2nd CORE ONLINE after boot. MPDECISION was the one forcing 2nd Core Online/Offline. By default, in a DUAL CORE system, both CPUs are ONLINE AFTER BOOT PERIOD.

Because of many complaints about my kernel "FORCING 2nd CORE ON" (which is a TOTALLY WRONG concept), I have made my intellidemend governor to be smarter by adding capabilities to OFFLINE 2nd core after careful load calculations while screen is ON.

PS: BETA 3 is out, see quoted text.
[HTC Sensation] MuertoKo:
So it's not actually a problem to me, just a problem on battery charging, that's cool... I will try to Wipe battery status, just in case when my capacity goes up to 4220+... Nothing to worry about then, just will take care charging overnight, and buy an Anker xD (Isn't it a good idea?)

Flashing now ;) Let's try this out! Appart from changing time from 1 to 3 minutes you included some tweaks that are not shown in that post then? Cool!
[HTC Sensation] PaulGiz:
Faux: Not trying to be difficult, but isn't 004B3 really a step backwards? Once again CPU1 is subject to switching instead of just reacting to load.

Have you found performance to be the same as 003B2?

I totally understand how the controller and governor work, and don't really understand why I need to know what CPU1 is doing all the time. I don't miss having a choke knob in my car either.

I'll put B3 in to run in order to help development, but I'm keeping a copy of B2 on hand (just for me!!!).

P
[HTC Sensation] MuertoKo:
I think the point is that before, CPU1 just switched from On/Off by itself, and that wasn't working good...

Now, using his intellidemand it's forcing CPU1 only when it's really needed, because he controls the switching button, not mpdecision (which makes it smarter isn't it? ;) ).

Btw maybe this is better for battery life, but worst for perfomance, and in that case it's as easy as switching to ondemand and let it work if permonance is what you want.

Let's flash it and check how it works :) Starting test!
[HTC Sensation] PaulGiz:
I get it, but when you say "that wasn't working good..." do you mean it wasn't working good, or it wasn't doing what people expected it to do? Because old intellidemand was quick and buttery smooth for me.

But, onward and upward (occasionally sideways too, I guess).

P.
[HTC Sensation] MuertoKo:
I mean it wasn't controllable, and we all love control :) It was running smooth too here, but I guess he is just testing if he can handle the switching of the CPU1 in an attempt to keep with the smooth response and increase battery life ;)

Juast a guess though, for now it's running correctly here but not able to evaluate battery life today (Pooooor signal at work so it will drain whatever I do U_U You can test it better I think :P We wait for your report as usually)
[HTC Sensation] MuertoKo:
Damn!

Had a Random reboot today! This time phone wasn't charging so different as usual!!

Running 004b2 on 6.5.5, governor set to intellidemand, no OC or UV, flashed over 003m version without reflashing ROM btw...

Any idea? I attack last_kmsg for pro's to check if something went wrong there or if it's me!

http://dl.dropbox.com/u/7641719/last_kmsg

Thanks ;)

Second reboot, seems to have differences in last_kmsg...

http://dl.dropbox.com/u/7641719/last_kmsg1

Hope it helps...
[HTC Sensation] baste07:
Can't seem to make my voltage value stick after a reboot. I've tried on boot and via init.d using system tuner
[HTC Sensation] sbdags:
This v003 kernal is not very stable on VI 4.0.1.

The phone becomes sluggish after 24 hours, eventually grinding to a halt and the only way to clear that is a reboot. Also I'm not sure the intellidemand works very well at times as there were lags present in browsing and screen swiping as well before it slowed right down. The battery tended to drain faster than sebastian's.

I'll try it again in a few more versions when the kinks have been ironed out.
[HTC Sensation] d3vilskid:
Guys don't forget to either get a log cat or last_kmsg if you notice something weird going on with your phone. I know some of you do and some don't, but it greatly help faux to iron out the bugs.
[HTC Sensation] Pikaraph:
I just got a one hour call, the network near my home is terrible, I must go upstairs to keep good reception... and I only used 8% juice !

Does this kernel underclock the cpu when in call mode ?
[HTC Sensation] faux123:
Yes, in your scenario, the intellidemand would kick in and treat it as either in browsing mode which under clock it to 1.13 GHz / turn off 2nd core with 1 core running (depending on load) , or turn off the 2nd core and run at max 594 MHz if the phone screen is off (near) your ear. This is where intellidemand shines when use it in a normal fashion not try to fool it with artificial benchmarks.
[HTC Sensation] faux123:
This again sounded like conflict with mpdecision or oc daemon. I bet the 2nd core was permanently turned off by another app or daemon which caused to appear sluggish.
[HTC Sensation] faux123:
It's a test for better more intelligent governor. Whether battery life would be better or not remains to be seen. Regardless of the outcome, I have learned something new as well (I have characterized the gpu behaviors better, which lead to a smarter governor regardless of 2nd core management when screen is on)
[HTC Sensation] asesino:
I've been running this Kernel since yesterday with VI its been over 24hrs and the phone feels solid and responsive I'm not having any of the issues u reported battery wise phone's been unplugued for 4hrs and I'm still sitting at 96% coming from Sebastians I must say this Kernel will give him a run for his money.

Good job Faux!
[HTC Sensation] faux123:
First reboot was NOT caused by kernel. It just rebooted :(

2nd reboot was caused by stuck 2D GPU clock... I kinda know what it is.. It should be addressed in the next beta.
[HTC Sensation] MuertoKo:
Sad for the first reboot :( Any idea... ? If not I will just forget about this reboot xD

Second reboot nice that you already know about it :) Glad to help!

Thanks for nice attention it's great to help when you get real answers from dev's!!
[HTC Sensation] amsterdam88:
Ehi faux, your kernel 003m is amazing!I flashed arhd 6.6.0xe with your 003m and battery still during after 26hours...good job man!! I'm impressed!keep going on!