yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] d.kuyt:
Sorry but if I set bricked to on-demand@1.4GHz, the battery is much worse than seb's kernel (esp when standby) and easily being quite hot with normal usage.

Edit: with Seb's kernel I use the stock mpdecision, and I use system tuner to OC

Send from my Sensation powered by ViperSs
[HTC Sensation] 1t5_Luc1f3r:
I can't screenshot with ext4, I get this error.

4EXT Recovery Touch v2.4.1

processing..

mounting sdcard..

--installing: /sdcard/overclocked_kernel_v1.4.1(sense_4.0)_by_sebationfm.zip

finding update package...

opening update package...

installing update...

copying files...

dumping boot image...

updating kernel in boot image...

flashing boot image...

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

E:Error in /sdcard/overclocked_kernel_v1.4.1_(sense_4.0)_by_sebastionfm.zip (status 7)

installation aborted.
[HTC Sensation] ninjabadger:
I think I've got mpdecision up and running but have issues checking. Getprop not working for me.

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] Semmy7:
I

Yes, I can confirm that. I have exactly the same experience.

both kernel @ ondemand an interactive and force both cores online in wake state.
[HTC Sensation] ClydeB1:
Enter the cmd su in terminal emulator first to get root.
[HTC Sensation] Semmy7:
Maybe you need getprop but not GETPROP ?
[HTC Sensation] ninjabadger:
Getting closer but nothing coming back

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] Semmy7:
ninjabadger, if you tape getprop without parameter you can see full list of props.

There is no mpdecision module on my sensation.
[HTC Sensation] ninjabadger:
Thanks, found it, running :)

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] Stephen:
mpdecision is working ok. I downloaded the zip from this thead named kernel_1.4.1_(Sense_4.0)_by_SebastianFM_mpdecision.zip and checked system tuner pro and it showed CPU1 as offline which is what I would expect!

CPU1 is coming on line a bit when I wake the phone but then goes back to off line!

Very nice kernel just need sleep 2 wake and it is the new kernel for me!

I have tested on vipers rom and so far wifi is working and so is OTA as well!!
[HTC Sensation] seadersn:
if his sources @ github would reflect the kernel as it is now, one could easily add this s2w stuff and compile it,
[HTC Sensation] ninjabadger:
I've installed system tuner and can see only one CPU running, tried playing some games a tuner shows 2nd core never came online, does this sound ok?

I flashed same zip as you and also used default 3.33 postboot also found in this thread.

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] tinker2000:
I find this kernel to be more free and allow both cores to operate as they like. Sometimes one, sometimes the other, sometimes both....It is a nice speedy kernel indeed
[HTC Sensation] eterno13:
+1 im on it now but i miss swep2wake
[HTC Sensation] Migz71:
have you got a link to that kernel? cheers Edit: its ok i found it here http://xdaforums.com/showthread.php?t=1424345&page=261 ;)
[HTC Sensation] ninjabadger:
So you are running 1.4.1 with mpdecision too? Did you replace bricked postboot file with original 3.33 version?

This is what I did but 2nd core is always offline so trying to figure if I did something wrong.

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] mzebrowski13:
I think you did something wrong if one of your cores is always offline. I simply flashed "kernel_1.4.1_(Sense_4.0)_by_SebastianFM_mpdecision.zip" over original realese from Sebastian and cores are working in this way

Wysyłane z mojego HTC Sensation Z710e za pomocą Tapatalk 2
[HTC Sensation] ivicask:
For people not working correctly here's kernel zip with included default init.qcom.post_boot.sh which starts both mpdecision and thermald (both bins are included )

https://www.dropbox.com/s/enu9ik2dtu47eqy/kernel_1.4.1_%28Sense_4.0%29_by_SebastianFM_mpdecision%26init.qcom.zip
[HTC Sensation] SebastianFM:
v1.5.0, link, md5: 260a499dca76373fc9274ec85356f50b
[HTC Sensation] Gtj94:
Good to go with AOSP roms?
[HTC Sensation] Jiggs82:
No its only for sense
[HTC Sensation] d.kuyt:
Does it contain sense 4 WiFi fix ?

Send from my Sensation powered by ViperSs
[HTC Sensation] SebastianFM:
Yes.
[HTC Sensation] mzebrowski13:
It's from the first page, read OP. It is much easier to flash anything you want
[HTC Sensation] ganeshp:
you need to change your signature too ;) :D
[HTC Sensation] HC4Life:
Good Kernel but unfortunaly it doesn't have sw2wake. :(
[HTC Sensation] sjknight413:
I really wish everybody would stop bugging Sebastian for sweep to wake.

He doesn't want to include it, just deal with it. It isn't an integral part of the kernel and I for one am happy to see it not included.

1.5.0 is great Sebastian, I am extremely happy with it. It is sad to see people complaining about a missing feature when the base kernel is so good!
[HTC Sensation] ninjabadger:
I installed this followed by 1.5 and still can't get cpu1 online.

Going to uninstall system tuner and ignore as phone running great.

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] ivicask:
System Tuner acts stupidly sometimes, try reinstaling it from market than rebooting phone, and open something like browser and test some web page 2nd core should go online than! (also offline if system not under load)
[HTC Sensation] ivicask:
1:ZRAM uses CPU to compress data in RAM, so it means little more CPU usage and battery along with it, if you dont need like 250MB+free RAM i suggest you dont use it!

2:CFQ should be better for Sense roms.

3:This kernel doesn't have NTFS support as its close to stock, Faux and Bricked have basic NTFS support.
[HTC Sensation] HC4Life:
Take it easy man, it's only an opinion. I'm using the kernel in this moment and i'm not asking Sebastian to include the sw2wake feature.

He's the boss nothing more to say.
[HTC Sensation] Keupie:
Thanks allot Sebastian! Nice to see an update again, keep up the good work, love your kernel!!
[HTC Sensation] eterno13:
Good for you
[HTC Sensation] Johnkhoo:
Hi, ivicask. I would like to turn on ZRAM but don't no how? Can you guide me?
[HTC Sensation] ivicask:
View attachment ZRAM_ENABLER.zip

ZRAM enabler by show-p1984, just made flashable zip, it should work with this kernel, if you wana remove it later simple delete the script inside

\system\etc\init.d\ 90zram

with root explorer.
[HTC Sensation] Johnkhoo:
Thank you very much about your helping hand...:good: I give all my 'Thanks" to you
[HTC Sensation] rawrfische:
1.5 is running great Sebastian. Many thanks for the update. :highfive:
[HTC Sensation] pottyvick:
Does 1.5 work with ViperS?
[HTC Sensation] Johnkhoo:
Yes, work very well!;)
[HTC Sensation] delta-roh:
Fantastic kernel - thank your very much, Sebastian! :)

I searched in this thread, read the last 20 pages and didn't find a way to decrease haptic feedback - I liked it as it was in 1.4.1. Is there a way?
[HTC Sensation] lbtc777:
Awesome work man.. luv the kernal.

Working great on ViperS.
[HTC Sensation] framir:
I have installed bricked kernel, for clan i've to delete manualy delete same file as "init.qcom.post_boot.sh" and "90zram"?
[HTC Sensation] SebastianFM:
Why you didn't look at the OP? Yes, I tested it two days with 3.33.401.6 and with ViperS 1.0.1. No issues.

I added show-p path to drivers/misc/pm8xxx-vibrator.c to fix haptic feedback in Sense 4.0. But if you want to disable vibrations, you can build your own kernel from my source code, just remove these lines:

if ((value == 20) || (value == 21)) {
value = 40;
}
[HTC Sensation] CamoGeko:
Some users on XDA are going through the de-evolvement stage, and therefore losing the ability to read anything except the words ... "Download link".
[HTC Sensation] GoreTan:
About to try the new update...thanks!
[HTC Sensation] Stephen:
I have installed 1.5 on ViperSs rom and it is awsome. I would like to change the value of the processor. I mostly use my phone in standby waiting for calls and text etc.

I would like to limit the primary processor to a value of 1134 which I always set when using bricked kernel and it works fine. I would also like to try and disable the 2nd processor as a test to see how I get on.

Using adb shell, I used the comand echo 1134000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq to set the max vaule and rebooted. The command seem to be accepted and did not return any errors.

When I checked both system tuner and setcpu they both said the processor was sitting at 1.5gb

What is the best way of limiting the processor? I dont like runnng the above apps if I can help it. I prefer changing it at the kernel level.

Thanks GhostXSeries
[HTC Sensation] The-Nazgul:
Thank you, works great! Donated a beer :)
[HTC Sensation] grega_slo:
Hi!

What if SetCPU is lying?

For me it showed CPU1 always online while in reality it was not.

I uninstalled setcpu rebooted installed again, then it showed correct values.

Give it a try like this...
[HTC Sensation] Stephen:
I tried a reboot uninstalled it and reinstalled and it still showed 1.5gb! Is there a getprop command I can run to check the processor speed? And how do I disbale the 2nd one?
[HTC Sensation] delta-roh:
The reboot sets the CPU back to the default values, so, scaling_max_freq is the set back to 1.5 GHz. To have it permanently edit /system/etc/init.qcom.post_boot.sh - then your values will be set after each reboot. You can also change the governor in the same way.

---------- Post added at 07:55 PM ---------- Previous post was at 07:52 PM ----------

Thank you, Sebastian, for your answer and for this fantastic work. :D
[HTC Sensation] SebastianFM:
delta-roh is correct, you should edit this script.

System tuner changes CPU frequency when it receives screen on event, probably it override your settings.

No, SetCPU isn't lying but it turns on the second core permanently when it change frequency!

Thanks.
[HTC Sensation] elmalote:
+1

Can't figure out if something needs to be done manually when coming from Bricked?

Thanks..
[HTC Sensation] ninjabadger:
Give the man a prize! Yup reinstall fixed it.

In system tuner is it better to reapply settings at boot or init.d?

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] tinker2000:
I have to use post boot as init.d script settings can cause 'CPU settings failed to load......' with post boot no such issues. :)
[HTC Sensation] ninjabadger:
Thanks for the reply, hope i'm not repeating questions in thread.

Is there any advantage if init.d did work?

Update: ignore this, system tuner started showing one CPU online and only way to fix was install setcpu, uninstall and reinstall system tuner.

As such I'm dumping tuner and sticking with setcpu.

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Kernel v1.41 w/Sense 4 Wi-Fi mod.

D-SHEL Undervoltage mod.
[HTC Sensation] Stephen:
I have changed the int.qcom.post_boot.h file to read:

#echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

#echo 1134000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

#echo 192000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq

#echo 1134000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq

Why is it, when I check my processor after a reboot and in different apps does it still show 1.56?
[HTC Sensation] Jackos:
Delete the "#" in front of each command.
[HTC Sensation] Stephen:
erm..... :-)

Can you set the screen off max value in the int.qcom.post_boot.h?
[HTC Sensation] Jackos:
You'd need a special Governor for that.

EDIT: Usually governors just change scaling_max_freq depending on /sys/power/sleep (or sth like that)
[HTC Sensation] Stephen:
Does anybody know what the default value is for screen off on the 1.5 kernel?
[HTC Sensation] Jackos:
It doesn't get managed. So basically it's 384 min and 1188 max for the HTC Sensation.
[HTC Sensation] Jackos:
The OP thinks his settings are the only genuine one so I edited this post :)
[HTC Sensation] Stephen:
If I chnge these two lines will it disable the second cpu?

chown root.system /sys/devices/system/cpu/cpu1/online

chmod 664 /sys/devices/system/cpu/cpu1/online

chown root.system /sys/devices/system/cpu/cpu1/offline

chmod 664 /sys/devices/system/cpu/cpu1/offline
[HTC Sensation] Jackos:
No way.
[HTC Sensation] Jackos:
Turning off second core

To turn off the second core (why would you like to do that?) I suggest that you insert this

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

into init.qcom.post_boot.sh

And of course disable mpdecision by deleting (commenting) the following line:

start mpdecision

Untested, but should work as far as I know.
[HTC Sensation] mike2nl:
@SebastianFM:

Sebastian one question:

You have written that the version 1.5 is 100% compatible with 3.32.401.6.

Possible a stupid question but can we/i use it with 3.32.401.105 too?

Avtually i use Coredroid V5.1 (CD 5.1) with SebastianFM 1.4.0.

I ask because i will test some things out for CD 5.1.
[HTC Sensation] SebastianFM:
There aren't any issues with the second core. If someone had installed Bricked kernel before, should only edit or flash stock init.qcom.post_boot.sh script to enable thermald and mpdecision.

192 MHz and 1728 MHz aren't stock minimum and maximum frequencies.

You probably didn't read my OP so you don't know why I wrote my own thermald and I hex edited mpdecision. I quote myself:

In Sense 4.0 ROM (based on Ville C2 ROM) also mpdecision isn't designed to OC. It changes CPU maximum frequency to highest available (1836 MHz) instead of current frequency that was set.

You included my thermald v1.0.0 instead of stock 3.33.401.6 thermald.

Stock mpdecision from 3.33.401.6 isn't compatible with Sense 4.0 ROM. But hex-edited binary which I included in my kernel package cames from Ville C2 ROM and works very well with 3.33.401.6 based ROMs and Sense 4.0 ROMs.

This package is incorrect and unnecessary!

Probably yes but you must check it yourself. Few things were changed in new kernel, e. g. Adreno drivers so I recommend you to update Adreno libraries in ROM to version 218.
[HTC Sensation] Stephen:
8 hours on standby last night still showing 100% battery! Awsome :) Slowly getting used to not having sleep to wake!!!
[HTC Sensation] axetilen:
I found that, if we don't care much about speed, but really care about batery life, we can limit the two_phase_freq from 1134000 to 810 - 1020. Is it ok @SebastianFM?

The original settings are also very good
[HTC Sensation] mike1986.:
Thanks for the update! :)
[HTC Sensation] melo563:
Like this update a lot as it performs better than 1.4 on my phone it was good and fast but it had moments of stutter and lag have not experienced that yet on 1.5 kernal thank you for hard work also do you have intentions on jb kernal development? Thank you again
[HTC Sensation] Super-Android:
Can you put some more light in to these steps, where to find this files and how to proceed.. Sorry am a noob.. Just want this kernel smooth and battery efficient..!!
[HTC Sensation] resadent:
+1 So do I !!! I was a bit shocked with this because in system tuner I can see the 2 cores changing frecuencies and 2nd core turning on and off... thought that was mpdecision magic ! But then remembered I installed bricked once, so pls some help would be good :P
[HTC Sensation] SebastianFM:
I'll check this later.

Do you plan to include it in your great ROM?

Currently no. I don't know AOSP code too well. Maybe someone who develop kernel for AOSP ICS could adapt it to AOSP JB.

When HTC will release source code of first JB kernel then I'll try to port it to HTC Sensation.

#2599
[HTC Sensation] Super-Android:
Hi Sebastian,

So, here it is.. I am in bricked, I check System/bin dont have any mpdecision file...!!

Now i just want to know. If i flash your kernel, as usual, in recovery... Den manually move mpdecision file from any sense 3.6 roms and give proper permission with root explorer..!!

Then will my system and your kernel will get restored normally? Am i missing something.. Not really understanding..!!

Or can i directly flash this file Line here over 1.5 version kernel and everything will be fine?
[HTC Sensation] SebastianFM:
I included proper mpdecision in v 1.5.0. You need only to care about init.qcom.post_boot.sh. You can edit this file or flash from stock ROM.
[HTC Sensation] Super-Android:
Thanks you dev.. Just one more ques. Anyway to Get back frequency to default ? Not really into overclocking...!! Any after coming from bricked will i face any issue like CPU 1 online always? Do i need to do anything regarding that?
[HTC Sensation] Gustave17:
Hi,

Very great job ! Thanks

Run very smoothly with ARHD 6.7.0 !

Just question, where put command line from OP for OC GPU activate at each boot ?

Can I just had this in my init.post_boot.sh ?
[HTC Sensation] Philips9:
hello guys. thanks for your support and your great job SebastianFM!

I need advice: I have a bricked viperss v.1.0.1 with v.1.36 and I would go to Sebastian v.1.5.0;

1) What should I do to make a clean flash?

2) I read that CPU1 is always online ; so what should I do to have the same settings of the bricked?

3) Before the flash I do wipe & Dalvik cache right?

thanks in advance
[HTC Sensation] bASKOU:
1) if you choosed badass gorvernor, with root explorer or any files explorer with root access you go on /etc/init.d and delete a script "89badass" (not sure 100% its 89, anyhow only have 1 script writing badass on it).

2) you can't have the same setting as with bricked, simply because Sebastian kernel doesn't have badass governor. But don't worry even if setcpu show the cpu1 always on after sometimes cpu1 go to deep sleep. So the result is basically the same. Instead of having your CPU shutting it goes in deep sleep.

3) the order doesn't change anything. Wipe it before or after doesn't affect your flash. Just think to wipe dalvik and cache before reboot your phone.
[HTC Sensation] mike2nl:
Hi Sebastian,

i have done so and it is working perfect.

Here some test data with newer OpenGL.

Last but NOT least. The very big Thank You for all your work.

That work makes my daily work partner smoother and faster.
[HTC Sensation] Jackos:
Please read with understanding my post once again. I did not write that those freqs are stock. Go a few posts earlier, I wrote to GhostXSeries about them.

I did read the OP and I know why you changed the thermald and patch mpdecision, but I wasn't satisfied with the way it worked in your way. So hard to get it?

Have a nice day.
[HTC Sensation] SebastianFM:
If you really want to "change the CPU clock behavior to a more stock one" then you shouldn't change CPU min and max frequency in script to these values.

Your post still contains incorrect informations about version of thermald included in your package.

It also suggest that issues with enabling second core may occur after flashing my kernel package.
[HTC Sensation] Philips9:
thx a lot!

I had flashed the badass, so now you advice to flash the SebastianFM and then delete the file "89badass" right?

Out of curiosity: what role has the file "89badass"?
[HTC Sensation] Jackos:
Sorry, from my point of view it contains proper informations. It does suggest nothing, your pride suggests it.

Here we go, I have edited my post and deleted the attachment. I see it's not welcome here.
[HTC Sensation] Philips9:
Hello and sorry for the inconvenience Sebastian.

I would just like to know how should I edit in init.qcom.post_boot.sh script to enable and thermald mpdecision.

I come from the kernel bricked v.1.36 (badass) and now I've flashed your kernel v.1.5.

thanks in advance
[HTC Sensation] SebastianFM:
I'll create package with stock init.qcom.post_boot.sh script when I'll go to home from work.
[HTC Sensation] bASKOU:
Make a nandroid backup, reboot your phone, delete it, reboot your phone on recovery flash Sebastian kernel remember well to wipe cache and dalvik. Also remember than after deleting your dalvik and cache your phone will do as after a fresh install. Mean android will rebuild you cache. So, important battery drain and all what can come with it. Let 1 or 2 cycles for let it settle.

I didn't take a look on the script, just that when I replace something by another on my phone I use to remove everything that belong from the previous one. If not you can't tell if the new kernel work well and sometime can have problems due to a file that create conflicts. So for a clean install always do it. It minimize risks.
[HTC Sensation] Semmy7:
Information for those who use SetCpu.

I really like SetCpu, but I noticed a very strange problem when using it.

After pjone starting mpdecision works well, but as soon as SetCpu apply a profile to control the cpu frequency - cpu1 is never turned off, but continues to work on mix_freq.

System Tuner is working properly - just change the frequency without changing the mpdecision behavior.

P.S.

I use the interactive governor @ 192-1290mHz
[HTC Sensation] Super-Android:
Created flashable zip which replaces existing init.qcom.post_boot with stock (as suggested earlier by SebastianFM) ...!!

P.S: Make a nandroid before flashing, I could not test coz my sis is using my phone, and not giving me.. (U know all sisters :( ) ...!! I will work :good: But u never know, ;)

Happy Flashing.. Best Kernel Ever ;)
[HTC Sensation] MrBeOTP2:
Sry 4 noob ques . what is init.qcom file? what will it do?
[HTC Sensation] VekiCRO:
Read last few pages and you will find the answer.
[HTC Sensation] Philips9:
Thx a lot!!!

I go in recovery flash this zip and then flash sebastianFM Kernel?

I must reboot between this 2 flash?
[HTC Sensation] ninjabadger:
Can I delete mpdecision from system bin now?

Sent from my SuperSensation.

ViperS ROM 1.0.1.

SebastianFM Overclocked Kernel v1.5

D-SHEL Undervoltage mod.
[HTC Sensation] piimp:
Either order, but its not a must to reboot inbetween them

Sent by my feau gee
[HTC Sensation] Super-Android:
If you are coming from Bricked or Any other kernel They make changes in the system level, which this kernel Does not... So u need to flash that to get the original .. Or u can say Sebastian recommended settings in init.qcom ...!!

Y u really wanna do that?

Either way, No issues.. And ya Reboots also not required..

HAPPY FLASHING
[HTC Sensation] MrBeOTP2:
Im using VI with default kernel is SB 1.4.1 :d

So Just flash 1.5 over. right :D
[HTC Sensation] Super-Android:
Then i believe you needn't flash that :)
[HTC Sensation] StuartTheFish:
Yes.
[HTC Sensation] Philips9:
Yes if you come already from Sebastian kernel you just flash the new above
[HTC Sensation] delta-roh:
Fantastic and fast support. May I suggest to add the following lines:

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

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

That would make it easier for interested users to change their max. frequency very fast. And maybe the line:

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

For people that want to force the second core online.
[HTC Sensation] Super-Android:
I am currently won't be accessible to my system for now.. Going for Dark Knight Returns.. Luckly got tickets. Will soon do it as soon as I am back.. No issues. Just few line change..
[HTC Sensation] aimcr7:
Delete..
[HTC Sensation] aimcr7:
Wow they are fast, just watch dark knight rises yesterday and now they released dark knight returns. LoL :p
[HTC Sensation] melo563:
Loving this kernel just played barman AMD runs like a champ seen other people complaining about game lag and stuff no issues here they had sg2 galaxy note guess they should have got.a HTC lol
[HTC Sensation] axetilen:
does it support three_phase_freq?

If I add that into cpufreq folder, does it cause any changes?
[HTC Sensation] delta-roh:
Sir, please give us a short review of The Dark Knight Rises ... :D :D :D