yashsingh1/xdaforums huggingface dataset:
[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 006 Open Beta Build 3

http://faux.androidro.ms/Pyramid-ICS-sense-006b3.zip (BETA is always Ultimate Edition with everything turned on unless stated otherwise!)

[ build 3 ]

Patched to mainline Linux 3.0.30

Added latest CAF BT patches

Added latest Google Interactive Governor patches

Added missing cmdline option for Sweep2wake.

[ build 2 ]

Added more KGSL updates from CAF

Added more Bluetooth updates from CAF

Patched potential kernel crash during high memory pressure

Patched latest Google Clean Room Interactive Governor to latest google code

Updated Netfilter from Google master

Added user configurable WiFi sleep policy (PM_MAX or PM_FAST)

echo "Y" > /sys/module/bcm4329/parameters/wifi_fast (for PM_FAST)
echo "N" > /sys/module/bcm4329/parameters/wifi_fast (for PM_MAX)

(Good for background Wifi performance or Skype users)

[ build 1 ]

patched to mainline 3.0.29

Added optimizations for libs (number conversions)

KANGED sweep2unlock from show-p1984 (so I don't get asked for that feature anymore and be work on something else ;) )

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.13 GHz Max

3- While Screen is On, After both CPUs' Max is limited to 1.13 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 (GPU in Turbo Mode and Load is >= 50%), 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] Zlyc:
+1

I noticed battery life is poorer on b2.

Gonna flash b3 now, hope it's all good.

Thank Faux!

Sent from my HTC Sensation XE with Beats Audio
[HTC Sensation] -Asskicker-:
Awesome! :D

Is there any way I can get the "boot.img"? (for current release, not open beta) I don't have s-off, so I need to flash through fastboot when I flash a new kernel. Thanks :)
[HTC Sensation] zimphishmonger:
How can we use the cmdline options for s2w? I know that's gonna be the question, so figured I'd get it outta the way. Again, many thanks for supporting a feature that I know makes things a, lil more complicated (especially to end users apparently). Will test and report back in a bit
[HTC Sensation] baste07:
That means users can use the flashables that show posted for sweep2wake
[HTC Sensation] zimphishmonger:
BUMP so People can find these flashable files to control sweep2wake.

@FAUX, mind adding to OP?
[HTC Sensation] bduvel:
Thanks for new update! running it now and s2w was disabled through his script! nice feature but im so used to normal one.

anyway is there a way i can echo GPU OC? i searched the topic!
[HTC Sensation] maschenazi:
Can this be flashed imediatly after kernel, without reboot between ?
[HTC Sensation] juancubo:
Yes. I have done it. Confirmed they work
[HTC Sensation] ToddeSwe:
What app do you use for this?

See sig for my ROM
[HTC Sensation] madkai:
type *#*#4636#*#* (4636=info) in dialer, there is a "hidden" menu, choose battery and you see the screen he has.
[HTC Sensation] ToddeSwe:
You're kidding me right? :) it doesn't give me anything more than a faulty call :)

Skickat från min Sensation via Tapatalk 2
[HTC Sensation] DomFel:
*#*#4636#*#*
[HTC Sensation] madkai:
You don´t need to press the call button, it opens automaticly

You can also look here or here if you don´t trust me ;)

Edit: Just found this... :rolleyes:
[HTC Sensation] ToddeSwe:
Ok, I thought you were ironic :) but nothing happens when I have dialed this pattern... Maybe the ROM chef have removed it? ...

Skickat från min Sensation via Tapatalk 2
[HTC Sensation] PaulGiz:
This has not been removed. It cannot be removed.

You're dialing it wrong: note the order of # and * reverse before and after.

*#*#4636#*#*

Try again.

P.
[HTC Sensation] :
Flashed 6b3 a couple of hours ago, and applied the sweep2wake disable script. Working great so far!

I, too, applied the disable script without rebooting my phone first, so I can confirm that this works.

I did clear cache and dalvik before flashing anything, though.

Thanks again to Faux for what looks like another great kernel.
[HTC Sensation] show-p1984:
All the scripts does is:

Pulling your boot.img.

Extracting it.

Modifying the kernels cmdline, appending: s2w=0 for disabled, s2w=1 for enabled, s2w=2 for enabled but without the button backlight control feature

repacking your boot.img.

flashing it.

That was it. Ofc it works without a reboot.

My cmdline parsing inside the kernel then does figure out what you want from it. If it finds no cmdline argument s2w will be enabled by default. If the argument is malformed, eg: s2w=123, then sweep2wake will be disabled.

All of that can be checked by booting your phone up, and in the bootanimation do:

adb shell
dmesg | grep 'cmdline'

You will see what sweep2wake recognized from your:

adb shell cat /proc/cmdline
[HTC Sensation] psycho1:
Love your work faux.. thank you for all the work on the blue tooth.. I know it's a known ics issue but is there any work being done towards voice dialing with bt.. currently it just locks up the phone and I have to do the 3 finger salute.. only thing I don't like about ics..
[HTC Sensation] faux123:
I have the latest CAF BT patches applied... it could be a Sense ROM issue or the BT firmware issue (both are closed source :( )
[HTC Sensation] chrisw99:
Is ro.secure set to 1 in this latest kernel?

I just unpacked boot.img to change it , but found ro.secure=1 already in default.prop.

EDIT: ignore me! I dragged across my previous boot.img I'd already modified, not the latest.
[HTC Sensation] zooster:
Will zram option increase cpu load and therefore more battery?
[HTC Sensation] PaulGiz:
Yes, but I don't think it's a significant amount.

P.
[HTC Sensation] zooster:
Thanks.

But how to disable it and revert back after after enabling it with

?
[HTC Sensation] hinxnz:
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

To disable zram:

busybox swapoff /dev/block/zram0

echo 1 > /sys/devices/virtual/block/zram0/reset

To view zram usage (size displayed in kB):

cat /proc/swaps

I got this from another forum haven't tried it but should be the same commands but I use 'free' in terminal to get zram usage
[HTC Sensation] BioTecK:
I've been using the new beta for a day now and so far everything is just fine. No more reboots and everything is running smoothly.

As for the battery life: Faux, I don't know what you've done but the battery life seems to be perfect again! ;) At this moment I've 60% left after 12 hours of average usage. :D
[HTC Sensation] ToddeSwe:
Where can I download it?

Skickat från min Sensation via Tapatalk 2
[HTC Sensation] BioTecK:
I quoted Faux's post containing the download link + the change log and some explanation in case you'd need it! :D
[HTC Sensation] ToddeSwe:
I have tried several times but it does not work :)

Skickat från min Sensation via Tapatalk 2
[HTC Sensation] sjknight413:
Any one have a script of some sort to set a new governor on boot?
[HTC Sensation] bASKOU:
battery at 35°-40°

I feel a bit confuse. Following the thread I saw people having battery temp at 14/15° I didn't put too much attention since I have my phone cause my battery always was between 35/40° whatever the kernel I am using.

I guess the weather might affect the temp, I am actually living at Ho Chi Minh City where the temp is between 28 to 35° all the year.

I just wonder if 35/40° is dangerous for my phone or not ?
[HTC Sensation] hinxnz:
My ph has dropped in temperature dramatically, it use to sit around 30 with little use and get into the 40's even hitting 50 occasionally which is really hot with not even heavy as use eg. Using htc nav or sygic. Room temperature should make a difference you'd think and it is coming into winter here but that's outside my house is always warm inside so it's not that.

Also I have flashed 006b3 and everything going well no problems here that I can see etc. Been running all day and last night. Still have incredible low battery temp. Thanks Faux123 :thumbup:
[HTC Sensation] BioTecK:
Hi,

I just checked this and this does work for me! :)

Note that you don't need to push the dial button after those numbers! ;)

Well, I'm not sure if I have seen this script being posted here but you can get System Tuner or SetCPU from the Play market and use that to change the governor.

But you can also use the following if you want to run the CPU at max 1.18Ghz...
[HTC Sensation] bASKOU:
Oki, thanks a lot for you answer. I'll try ou the 006b3 and see if the heat of my battery improve.
[HTC Sensation] bduvel:
try No Frills CPU control from market, can change governor/io ect and speed ofc on boot
[HTC Sensation] hinxnz:
Your welcome, hope it works for you.

Please post results :)
[HTC Sensation] Pard0ned:
Running 006b3 for two days now. everything working perfectly. Battery life excellent. In general,things work as they should.

Cheers Faux!! :D
[HTC Sensation] john_matrix:
Hi faux!

Is your kernel profiles AVRCP 1.3+ compatible?

Thanks!
[HTC Sensation] bASKOU:
I installed the 006b3. Actually charging so I can't tell about the heat, but after flashed the kernel I had a huge battery drain, 29% run out after 20 minutes. I am using System tuner pro on intellidemand governor screen on: Min freq. 384 Mhz Max freq. 1.62 Ghz and screen off: Min 192 Mhz Max 486 Mhz.

I found that the CPU1 turn on almost the time even with both CPU at 384 Mhz. I am on Ordroid 3.0.2 sense 4 and as soon as I switch between my panels the CPU 1 turn on and turn off only after I screen off and wait for 1/2 minutes before screen on.

I checked my background running apps, but nothing abnormal. I revert to my previous kernel, tomorrow I have a long day out and can't run out of battery. I'll try it out another time next release.
[HTC Sensation] MuertoKo:
The drain is normal when you reboot your device, you have to give the kernel some cycles to settle down.

Btw you should unistall system tuner and any tuner, reflash kernel and them reinstall without boot options. If not the tuner is forcing the kernel behaviour, and faux's kernel is supposed to handle everything itself, no need to touch anything ;)
[HTC Sensation] bASKOU:
Problem is that with the basic setting of the CPU my sense 4 is laggy so I used a tuner cause 182 Mhz as Min freq is a bit low for sense 4. I am usually using bricked kernel that also handle everything itself so I don't use any tuner and don't need any cycle for working perfectly.

I saw some people having a really good experience with this kernel. Each phone are different in a way. I'll keep trying faux kernel time to time cause a beta isn't the best for a first try ^^ and cause this intellidemand governor look really interesting for improve the battery life :D
[HTC Sensation] Zlyc:
Battery drain from v6b2 seems to be fixed on b3.

Excellent.

Well done, faux. Really appreciate your work!

Sent from my HTC Sensation XE with Beats Audio
[HTC Sensation] :
http://xdaforums.com/showpost.php?p=25027390&postcount=6396

--> Is it for the 4 buttons on bottom ? Can i apply this on newest beta ? How can I apply it ? :) Please !
[HTC Sensation] malybru:
Hi,

Read THIS POST

You have to change from 20/21ms to 40 ms

:)
[HTC Sensation] :
hmm sorry for being a noob but where do I change it ? I read but cant find .. :(
[HTC Sensation] malybru:
Hi,

I Haven't got Sense 4.0 ,but I would think in:

drivers/misc/pm8xxx-vibrator.c

:)
[HTC Sensation] :
Thanks for reply, but folder does not exist :o
[HTC Sensation] HunnyBearLewis:
Ehhh noo. I've been using System Tuner Pro for ages now and it is never a problem. In fact I open it just to enjoy watching Intellidemand do it's thing.

I really wish people would stop telling others so as-a-matter-of-factly that they ought to get rid of apps they paid for that also happen to do a lot more than just manage CPU. :confused:

The problem (for a lot, not everyone) was that in /system/etc people had both init.post_boot.sh and init.qcom.post_boot.sh interfering with each other sort of. If you have one left over from another kernel you can simply comment (#) out the lines you don't want/need in there...or flash stock to "reset" those files. On the other hand, yes some folks did have profiles and things set at boot with those apps that aren't necessary with System Tuner.

Well, at least I think I'm right...it is 10:04 am and I haven't eaten breakfast yet so ;)
[HTC Sensation] ehalai:
I am looking for this kernal but unable to find it ... please post link for download

ill be really thankful
[HTC Sensation] :
http://faux.androidro.ms/Pyramid-ICS-sense-006b3.zip ;)

Please guys, how can I add Haptic feedback hack above ? :confused:
[HTC Sensation] MuertoKo:
I was suggesting to reinstall system tuner after installing the kernel to avoid it interfering with the boot options.

I have it also paid and I enjoy it, but I uninstall it before every install and reinstall after just to make sure I don't have that problem again.
[HTC Sensation] MuertoKo:
Just read on Twitter from faux:

You can go ahead and use Sensation Kernel 006 Beta 4. Added CPU Scheduler load balancing optimization.

Any idea on what does this mean? I have no clue about what the CPu Scheduler load balancing optimization means, and what is it suposed to do, any help here?
[HTC Sensation] chrolmesq:
Had anybody gotten the otg USB feature to work with the ICS kernel?

What app would you use?
[HTC Sensation] snake4fun:
How can I disable the sweep2wake function in the new beta kernel?

Regards

Snake4fun
[HTC Sensation] malybru:
Hi,

Is THIS any good?

:)
[HTC Sensation] snake4fun:
Hi,

THX it is working but I hope faux implemented something like this!
[HTC Sensation] :
Why does Faux have to re-do what has already been done, and done by the creator of sweep2wake?
[HTC Sensation] snake4fun:
I mean it is nice if we can select sweep2wake yes or no at the flash process!

Gesendet von meinem HTC Sensation XE with Beats Audio mit Tapatalk 2
[HTC Sensation] amsterdam88:
Hi,

Can i flash this kernel on HyperNonSense 2.5 or i have to flash the other kernel OpenSense?

Thanks
[HTC Sensation] Arie-:
HNS is a Sense based ROM stripped from a lot of sense components. As the base is Sense, it also requires these kernels. Take a look in the HNS thread, the first post contains a link!
[HTC Sensation] papikev:
Hi, could someone please post a link to faux beta 6 kernel. It would be appreciated. Kind regards.
[HTC Sensation] BarajaVLC:
Rootzwiki: http://rootzwiki.com/topic/2527-sen...dpower-savingapr-22/page__st__330#entry664531

Direct link: http://faux.androidro.ms/Pyramid-ICS-sense-006b5.zip

Latest is v006 Beta 5 (Release Candidate)

Twitter post: https://twitter.com/#!/faux123/status/198485917349068800
[HTC Sensation] mohameddegheidy:
I installed the latest kernel (6 b 05 )

So Far so good :D

I had to disable the sense screenshot feature in Build.prop as it was causing lots of screenshots when I try to sweep to sleep :D

Keep up the good work ^^

If I want to change the cpu governor to ondemad , Should I use system tuner ? Or what is the best app for this ?
[HTC Sensation] :
new beta is fantastic ... :)

If you now fix haptic feedback on the 4 buttons, you'll be the king of kernels :cool:
[HTC Sensation] show-p1984:
It's already fixed, faux just needs to pick: https://github.com/showp1984/bricked-pyramid-3.0/commit/c87e454ebd50b652e5ea39114422b4dfe7f24c47

:)
[HTC Sensation] :
oh :) then faux do it !! and thanks to YOU for creating it .. really kind to help on other kernels :cool:

btw can I also add it myself easily ?
[HTC Sensation] Luigiesin:
Just download Set Cpu from the market and change the governor to intellimand.

Don't create any profiles since everything is already set in the kernel. And also don't use the option to set on Boot and you're good to go ;)

Lu

Edit: just realized you wanted to use on demand governor.... You can do it the same way....cheers!
[HTC Sensation] chrolmesq:
anybody got the otg USB feature to work with this kernel?
[HTC Sensation] joaquinf:
Hi. There is no need to post the same question everyday, use the search function instead. USB OTG has been discussed quite a few fimes in this thread and you shouldn't have a hard time finding an answer.

This will give you an idea of USB OTG ...

http://xdaforums.com/showthread.php?p=24003612&highlight=usb+otg#post24003612

http://xdaforums.com/showthread.php?p=24886760&highlight=usb+otg#post24886760

http://xdaforums.com/showthread.php?p=24411071&highlight=usb+otg#post24411071

http://xdaforums.com/showpost.php?p=24982196&postcount=6370
[HTC Sensation] thetinguy:
Any reason why we shouldn't set on boot? Sorry if it's been asked before I have just started using this kernel.
[HTC Sensation] ziddey:
Anyone running 005 and use wifi calling? If so, have you noticed your phone losing time? Seems I lose a minute an hour until I disable wifi and let it resync when it connects to cell. Switch back to wifi, it disables cell service in favor of wifi calling, and it starts losing time again.

Going to switch kernels soon to rule that out.
[HTC Sensation] Yank555:
I was about to ask the same thing :)

And add the question as to why not to use profiles in SetCPU ?

What 'profiles' like behaviour is build in the kernel ?

Standby : lower frq ?

Overheat protection : lower frq ?

Battery almost empty : lower frq ?

In Call : higher lowest frq ?

Cause I do use all of these to save drain when I'm either not actively using the phone, or to protect it from overheating, since I run it at full 1.73GHz.

JP.

PS: I seem to have missed b4 changelog, anyone can point me to that post ? Thx :)
[HTC Sensation] joaquinf:
Intellidemand is the governor by default. It has his own configuration and independency to run without any kind of cpu app or scripts. However, if you want to set a different governor i.e: Ondemand you will need to use a init scrip to set it on boot, otherwise you will have intellidemand governor every time you reboot your phone.

---------- Post added at 02:00 AM ---------- Previous post was at 01:59 AM ----------

Here is the latest changelog
[HTC Sensation] PaulGiz:
Did you read this? Do you need it explained?

Using Intellidemand without any interference:

When your screen is off, your phone is limited to one CPU, max CPU speed is also limited (about 512MHz, I can't remember exactly). This means your standby usage is exceptional, with enough performance available to receive messages, e-mails, etc. quickly without timeouts.

When doing low-intensity stuff, second CPU will shut off after three minutes. So browsing, reading RS feeds, etc. you're running only one CPU, but speed not limited. Good battery with excellent performance.

When doing higher-intensity stuff, second CPU is brought online, but speed of both CPS is limited to 1.13GHZ. Again, seamless performance with modest battery usage.

When using apps or games that are CPU and/or GPU intensive, speeds are unlimited, both CPUs running.

Thermal protections are built into kernel.

Why someone would want or need to interfere with this well-thought out and effective scheme with primitive profiles is beyond me. Profiles don't take into account what your phone is doing, it only notes the most basic of state conditions.

If you insist, you may use a controller (or script) to unlimit the top speed of CPUs. Have a party. After a week, tell me what you gained, I've tested it extensively and there is no detectible difference overall between 1.5 and 1.7GHz, except when running benchmarks. I didn't spend a ton of money on a high-end smartphone to sit on my couch and run benchmarks.

P.
[HTC Sensation] chrisw99:
Anyone know why everytime I flash a new kernel, I lose my ringtone settings. E.g. after flashing 006b5 my default ringtone became "Weight" when I had an mp3, and I had also various different mp3s for specific contacts, these all became Weight as well.

This happens every time I flash a kernel, is it due to the wipe of cache+dalvik?
[HTC Sensation] Luigiesin:
I.used to.have that issue when I was on Gingerbread... I superwiped and reinstalled the whole thing again, and it was fixed.

Also formated my SD card... ;)
[HTC Sensation] malybru:
Hi,

I'm not sure why you are losing your ringtones,but it has nothing to do with wiping cache and dalvik.

I do this for all sorts of things,including flashing kernels,but I have never lost my ringtones.

Have you tried making your own Sound Set?

:)
[HTC Sensation] Yank555:
I read it, thanx for (re)posting, and nah it's fine, I'm a sys admin and have been for almost 20 years (the first linux kernel I compiled at the time I was studying IT was 0.49), so I think I can handle this little input, once I get my hand on it ;) I was using Briked for my first week on my Sensation, now trying faux, Sebastian to follow, so I can get my own impressions on the differences, since I have my needs and want to find what best fits them.

So far I like faux better, it's swifter, but I've not yet completed one day with it, so it's too soon to tell, obviously :)

As for thermal protection, that is not mentioned in what you quoted, and Sebastian rewrote thermald as he stated it didn't work well, so ... Hence my question.

I didn't find standby frq info in your quote either.

If intellidemand does exactly this, then yes, it does what I have been doing manually on my Android devices since first installing a custom ROM on my HD2 and that indeed renders SetCPU unnecessary ;)

But even though, a well thought system will never fit 100% of the needs of every single user, and might work perfectly well for you and not well at all for somebody else.

I still miss the 'slow down' when battery is below xx% (I limit mine at 1GHz when battery is below 20%).

Still, if I set frq to 192-1.7 using intellidemand governor, the governor should behave exactly as described, except when unleashing CPU to max, they should go up to 1.7 instead of 1.5, or do I miss something ?

Thanx for your input, will disable SetCPU for now and check how it behaves.

JP.
[HTC Sensation] psycho1:
Faux. Running latest beta.. battery is great as usual .. very nice work .. I have noticed that the blue tooth disconnects and re connects a lot more than on the first couple of betas that you fixed it on.. thanks for all your hard work.. thanks to you my phone works like it should