yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] DarkPrinceByWWW:
adb shell
cat /proc/kmsg | grep 'cmdline'

Screen on / off :

<6>[ 6138.673156] [cmdline_maxscroff]: Unlocking freq to '918000'
<6>[ 6140.799224] [cmdline_maxscroff]: Limited freq to '486000'

Hmpf?

Will try the new governor, but, at first, just wanna see the power consumption behavior of my current settings. For some reason, my battery goes down like nothing...
[HTC Sensation] rawrfische:
Damn you really do think of everything. :) That explains the 1026 freq that my phone is occasionally using.

I know you weren't intending to leave, you've made that pretty clear from the beginning. It was just an attempt at light humor. :D
[HTC Sensation] guidogsbn:
Man it´s a beta - where are the bugs? hehe:D

Running smoothly for hours now, so I will have a look on the battery use.

Thanx once again !
[HTC Sensation] lampshade90:
lol was thinking the same why its a beta and not a full release ;)

just running smooth and fine as i can say it till now, will see battery draining
[HTC Sensation] show-p1984:
So there are nearly no feedbacks because there are no bugs? Damn. Am I that good? :D

btw:

20 minutes angry birds + 20mins radiant defense = cold phone :eek:
[HTC Sensation] undercover:
Take it out of the freezer when playing :p
[HTC Sensation] vernon092487:
Thanks.

Is this how the values should be when zram is enabled?

http://db.tt/J5YKo0Ob
[HTC Sensation] longer83:
Yep, the values are correct, swap/zram is enabled and set to 102396 Mb.
[HTC Sensation] krohme:
mine shows 98300 swap :confused: how can I reset it?

edit: or does that mean zram is working already? :o
[HTC Sensation] vernon092487:
does this mean its working already?
[HTC Sensation] kayroccs:
Show did mike do something to his Rom to not make your kernel work properly with your kernel because every thing u put out my phone reboots like crazy but with other kernels it doesn't n I keep doing fresh flashes n no change
[HTC Sensation] one80oneday:
Any way to enable single core screen off, dual core while screen on?
[HTC Sensation] purplevike:
Check my signature bro... Mike's ROM is silky smooth, and this kernel is a terrific match.

In order to use ARHD, you'll have to install the ROM as

stock

. Then flash bricked. Make a NAND first as always. I'd recommend Superwipe to ensure you're working from a clean slate. You'll like the results...
[HTC Sensation] kayroccs:
I know it n I've done all of that but I think I know my problem now ...I think my dumb ass uv too much n not realizing thats the reason y I keep getting reboots
[HTC Sensation] kayroccs:
Just curious ...I know it varies for different people but what's your voltage at 1.4./GHz?
[HTC Sensation] erraggy:
default on bricked-3.0-v0.955 for 1.4GHz is 1150mV
[HTC Sensation] Awestrike:
If I'm using SetCPU, do I need any additional settings for Badass to work?
[HTC Sensation] show-p1984:
Nope, but why would you want to use setcpu? You can set the gov, min/max and scroff frequency in the zips name ;)
[HTC Sensation] ClydeB1:
Just install the kernel with the default name as downloaded and the default gov is set to badass. No need for SetCPU or any other similar app for that matter.
[HTC Sensation] Awestrike:
Good question, haha. Actually, I originally downloaded SetCPU just to check whether my phone was booting up with the governor I set in the file name as it should. And the reason I doubted whether it would was because I'm using ARHD. I did reflash the ROM with the stock kernel but did not superwipe (because I'm lazy, yes). Everything else is working fine but when I reboot my phone, SetCPU shows my governor as ondemand rather than lagfree (which is what I put in the filename).
[HTC Sensation] Desperanto86:
As for me, I use SetCPU to set low CPU freq for general use and long batt work, but some times I need high freq for hard apps (Navitel for example). In this case SetCPU is more comfortable and quick in use than renaming zip :)
[HTC Sensation] show-p1984:
Then your rom overrides it. Check the init files.

You can check if the kernel has the correct governor on it's cmdline and has read out the right value with this:

adb shell
dmesg | grep 'cmdline'

right after bootup ;) (or if you are in the bootanim, does not matter. Just don't let ages go by, since the first entries may then already be spammed away ;) )
[HTC Sensation] Awestrike:
I'll try that. How would I go about fixing it?
[HTC Sensation] show-p1984:
I did give you the answer. Check the init files. (also check apps that set stuff upon boot)
[HTC Sensation] Awestrike:
Ah, sorry, my bad. Okay, time to snoop around in there. And thank you for the live support, heh.
[HTC Sensation] vernon092487:
thanks!

how can I check if it's working?
[HTC Sensation] ClydeB1:
If the swap line is not 0 then it's working, it will show "Total", "Used" and "Free", so if "Used" is >0 then it's working ;)
[HTC Sensation] vernon092487:
owww..then mine is not working..always stays at 0..

http://db.tt/J5YKo0Ob
[HTC Sensation] longer83:
Simply you have to launch Terminal Emulator and type:

free

If swap/zram is enabled then you will see next to 'Swap:' total value of memory assigned for swap/zram. Default in Bricked kernel this value is 100 MB (100*1024*1024 b) can be easily in /etc/init.d/90zram script.

If swap/zram hasn't been enabled then you will see next to 'Swap:' 0 value. Then you can run it manually by typing:

su
/etc/init.d/90zram
[HTC Sensation] rawrfische:
Sounds like you had Faux kernel originally? Check /system/etc to see if you have a file called init.post_boot.sh. If you do, make a copy on your sd card and delete it from /system/etc.

/edit

Please disregard this! Don't delete anything. See Show's post below.
[HTC Sensation] show-p1984:
It's working, just not yet populated. Start a few apps/games and you will see the magic happen.

correction:

sh /etc/init.d/90zram

and 120 is the default size ;)

Bad idea, since my compatibility script already took care of that. the init.post-boot.sh on his phone should be mine now.

Regardless of that he can check if there is a line with ondemand in there that has not a leading '#', same goes for init.qcom.post-boot.sh
[HTC Sensation] vernon092487:
hhmmmn..still not..i am alternating games and xda now..still no changes.. :(

http://db.tt/BbVP3mmn
[HTC Sensation] longer83:
@show-p1984:

I just want to make some things clear :)

On my Sensation zram never has been enabled during boot and I have to activate it manually (but I don't mind, that is even better for me). To activate zram I have always been using commands:

su
/etc/init.d/90zram

without "sh" in front of the second command and it always works for me (because there is a couple ways to launch shell scripts).

Second thing is about size of zram. I saw in /etc/init.d/90zram script line 17:

echo $((100*1024*1024)) > /sys/block/zram0/disksize

and that is why I thought zram size is 100 MB. Can you explain it to me where I am wrong? :)

---------- Post added at 12:41 PM ---------- Previous post was at 12:33 PM ----------

"[90ZRAM]: ZRAM activated" - means your swap/zram has been already enabled and that is why script output says "swapon: /dev/block/zram0: Device or resource busy".
[HTC Sensation] vernon092487:
Thanks! I'll monitor if the Used values be populated..

Thanks..
[HTC Sensation] rawrfische:
Ah my fault. I forgot you made some compatibility changes for ARHD users. I'll edit my post a bit.
[HTC Sensation] show-p1984:
Mea culpa, had forgotten I changed that a few iterations back. :o

#######

New beta: v0.956

0.956

Zip:

* add option to disable sweep2wake's button backlight feature to the installer (as you wished)

Kernel:

* 7f79960 (showp1984) : patch: pyramid wwe updates (lots of updates)

* 261f5fd (showp1984) : input/touchscreen: cy8c: fix multitouch on certain hw revisions

* 216d232 (showp1984) : sweep2wake: add option to disable the button backlight control (as you wished)

0.955

Kernel:

* Bluetooth Caf backport from faux123

* Badass governor

* allow lower min. brightness (display)

What is badass?

Well good question. With ICS I decided to rework my gb badass which never got released because it was always pushed aside. To break down what it is:

Badass removes all of this "fast peaking" to the max frequency. On a typical system the cpu won't go above 918Mhz and therefore stay cool and will use less power. To trigger a frequency increase, the system must run a bit @ 918Mhz with high load, then the frequency is bumped to 1188Mhz. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 2-5 seconds, depending on the load your system is experiencing)

Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1188Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

This is work in progress. I spent the past 6 hours trying to find sweetspots for the configuration and I think I nailed it in this version ;) (finally... :rolleyes:)

Please remember: Due to it's nature, this is not a benchmark governor. It is meant as a governor that gives you a smooth experience while saving battery, lots of it ;)

After that long text, here is the download:

Download: Click me

This is the perfect place to hide an ad, therefore:

HTC One X - Piggy bank!

Your support is highly appreciated!

http://bricked.de/

If you can't donate anything, no problem. Just click on the ad instead ;)

If you won't click on the ad, my kernel will turn your device into a decepticon that will crawl up your nose when you sleep!

NO KIDDING!

CLICK THAT AD! :D
[HTC Sensation] Awestrike:
I don't have that file, maybe because I reflashed with a stock kernel (and yes, I checked either way).

Anyway, I uninstalled SetCPU, flashed 0.955, and booted up. I downloaded SetCPU again and it said. Badass this time. So I guess things are okay?
[HTC Sensation] Byrana:
freaking masterpiece this is! badass is just phat :-)
[HTC Sensation] kayroccs:
So u didn't uv ?
[HTC Sensation] kayroccs:
Hey just wondering , since zram is enable do I have to use this in system tuner pro ?
[HTC Sensation] Byrana:
I have one minor issue ever since sweep2wake has been introduced. I am using it and I really like it, but every time I use it to wake up the phone and unlock the screen I have a popped up menu, like being on homescreen and hitting the menu button.

I have no idea why this is happening pretty frequently. It is no big deal but a bit annoying. I sweep, unlock and have to push screen or back button (to get the popped preferences menu away) to work with my phone.

I could do a short video to explain it better.

Edit: It is only happening if I use sweep to lock the phone. If I use the power button to lock and sweep2wake everything is fine. By the way I am on InsertCoin 5.3 and use go launcher
[HTC Sensation] vincentshjuan:
Hi,

I am on Elegancia ROM and does not have this issue.....I suspect it's not the kernel but ROM issue.....
[HTC Sensation] noodles2k:
Is it possible to disable Sweep2Lock, but keep Sweep2Wake?

what value do you get from this?

cat /proc/sys/vm/swappiness
[HTC Sensation] vernon092487:
I get 0..
[HTC Sensation] noodles2k:
That's the problem. do

echo 90 > /proc/sys/vm/swappiness
[HTC Sensation] guidogsbn:
This relates to go launcher I think, if the pop up window is asking you to choose between HTC sense or go launcher. I use ADW launcher ex and no problems with sweep2wake.
[HTC Sensation] Byrana:
Well it is not a pop up. This is what is shown. I mean the menu at the bottom.

This is what I get when I use sweep2lock. Not always but very often. Maybe this related to some timing of the buttons for the sweep.

Also I do not think it is rom related.

[my HTC Sensation XE with Beats Audio Z715e using xda premium
[HTC Sensation] vernon092487:
It's now working! Thank you very much! Can you tell me what this code actually did?
[HTC Sensation] noodles2k:
swappiness tells the kernel how often it should use swap, with 0 being never. I think about 75 is probably the best value, but 90 is default.
[HTC Sensation] vernon092487:
Thank you again!
[HTC Sensation] uberberben:
Reporting something i've found:

after quiting camera app the backlight brightness is not going back to auto, stuck on max brightness. Have to lock and unlock to fix.

using 0.956
[HTC Sensation] noodles2k:
with which rom? and are you using Leedroid tweaks and/or HQ camera mod?
[HTC Sensation] jjrumph:
Have to chuckle, so by request backlights don't come on during swipe to open. Yet when you wake the backlights come on with screen. So I'm saving .3 seconds of no back lights? .956 works well like all the others. Good job again show.

Sent from my phone.
[HTC Sensation] noodles2k:
yeah, but it stops your butt slowly running down the battery ;).
[HTC Sensation] uberberben:
Virtuous inquisition and i think i have HQ camera mod.

edit:

with 0.9 everything is ok
[HTC Sensation] Catpoule:
i've always have this problem ! with all kernels ...never succeed to fix that. i thought it was an ICS issue ....

If someone has a way to fix that, i take ! :D

i'm now testing beta 0.956 .... works fine for me.
[HTC Sensation] gachana:
you don't have to lock and unlock, give it few seconds screen brightness turns back to its origional state. This is common and not related to kernel.
[HTC Sensation] almighty15:
How do I install sweep to wake on the latest kernel?

There's no option to enable it, it just says deactivated during the install process...

Using andriodrevolutionHD 6.6.3
[HTC Sensation] geoffcorey:
I think you need 4ext recovery, otherwise with cwm it just has default values.
[HTC Sensation] almighty15:
I have 4ext recovery, I had it working in one rom but it was slower then the androidrevolutionHD and want to get it working on that.
[HTC Sensation] uberberben:
I tried to wait a bit, but it didn't help. That's not a problem for me, i barelly use camera, just wanted to report.
[HTC Sensation] df1ech:
@956 yeah fokkin hell all lag is gone. Now !!!! I am so satisfied now that I wanna buy you a beer but I think that is dangerous as that brings you closer to the one x phone and leavin or put this development to a lower level.

So please if yo wanna accept my beer donation let's go out and drink some sometime ;)
[HTC Sensation] paranull:
lol ..yea i've got the same feeling...(63.16% of the One X are secure!) and every time i check his website that percentage reminds me that my lovely device is at the end of line...

but as he said on his website :

no need to worry ;)
[HTC Sensation] show-p1984:
Seems like an issue with go launcher. It detects touches to the buttons before the screen is active. The only thing I could do is intercept the button signal and block it, but then the menu button wouldn't work during sweeping (for example: you sweep to lock and stop at the menu button). Since this is only present in one custom launcher, I would rather not implement a hacky fix that breaks other stuff =/

That issue was there since sense 3.0 android 2.3.4. It's an issue with HTCs camera app, which taps directly into the power management without the knowledge of the kernel which is responsible for that (or should be). It is kernel independent and quite random. ***** HTC ;)

Well it seemed to be a deal breaker for some ppl :/

There is a big fat question which asks you if you want it, default is yes.

In 0.956 you have !3! options there, yes, yes without backlight, no. Is it that hard to find?

Indeed! I will never leave the lovely Sensation. From the looks of it, my brother hasn't even the money to get it from me, so I would have to hold onto it either way :D

So rest assured, there will still be more than enough updates ;)
[HTC Sensation] HunnyBearLewis:
When you released your kernel with badass governor I only had a minute to skim and noticed a mention of battery savings...I was ever so slightly worried it wouldn't be as deliciously snappy as before due to that, but holy moly it's still smooth as butter. :)

I know you know, but you're awesome, Show.
[HTC Sensation] renehd2:
WOW...!! normally i used to have only 1.5 to 2.5 hrs of screen time from 100% to 10%

with the new Kernel, i just get 3 hrs of screen time and have 40% battery left..!!!

that a great improvement.... using IC 5.3.0 and the last show-p kernel

great combo!!
[HTC Sensation] wend0:
I have a problem playing with gta 3. Sometimes i have a touch-screen issue...it doesn't recognize some touch. The problem disappear rebboting the phone.
[HTC Sensation] show-p1984:
v1.0 @ op ;)

Happy flashing!

Don't forget to click the ad ;)

http://bricked.de

btw, diffstat 0.9 <> 1.0

379 files changed, 4670 insertions(+), 3753 deletions(-)

create mode 100644 arch/arm/mach-msm/htc_sdservice.c

create mode 100644 drivers/cpufreq/cpufreq_badass.c
[HTC Sensation] Moon2:
Wow .... working great, liking additions to aroma installer
[HTC Sensation] Ladicx:
Loving what your doing with your kernel these days. Been a fan since u came to the Sensation. Keep up the great work.

Sent from Mars using a Bricked kernel :)
[HTC Sensation] jaysun3000:
V1.0 very nice on Ordroid thank you.
[HTC Sensation] Dic3ptor:
Hi!

This is my first post here! Thank you for the work on Kernel! Great JOB!
[HTC Sensation] AndroidNeophyte:
I used to flash things once or twice and settle for one version of a rom/kernel/mod but now with Bricked Kernel, i just dont know when to stop flashing this thing :)... everytime a new version is release, Bricked Kernel always have something great in it :)... Showp made my Android experience an awesome one :)... thank you for the awesomeness....
[HTC Sensation] :
great job thanks :) I love your kernel :)
[HTC Sensation] jaysun3000:
So is it just me or is the issue gone that I was having intermittently where I was needing to press icons more than once to open apps ....on ordroid?
[HTC Sensation] stuart0001:
I'm using ics sense 4 and selected sense 4 option during aroma install but now the text with the productivity lock screen flickers. Seems ok with the other styles.

Otherwise this kernel is looking superb. Thanks.
[HTC Sensation] Ladicx:
I'm getting some strange battery drain. First off let me say I don't know if its the kernel. I use anker batteries and occasionally with the external charger, I put a fresh battery in and my battery drops pretty quick. I just flashed, put new battery in and in 5 mins I'm down to 88%.

Just wondering if anyone had a drain issue after flashing? Could possibly be just my anker acting up...:confused:

On a positive note, my phone is flying on Sense 4 right now:p

Sent from Mars using Bricked
[HTC Sensation] show-p1984:
Could be related to the multitouch fix, but doubtful ;)

The sense4 option only increases the phase frequencies of badass (since 914 Mhz are not enough for sense 4 to be smooth).

Your issue sounds more like an gpu oc problem, or has nothing to do with the kernel ;)

Possible solution: Choose a lower gpuoc.

Androids % was never accurate. It is also possible that either your battery was not fully charged before or discharged already.

It can't be the kernel since I have astonishing results with screen on / off ;)
[HTC Sensation] jaysun3000:
Ok so I spoke to soon about the issue with having to press icons twice lol either way bricked and ordroid work great together
[HTC Sensation] Astug:
Thanks for the update! Though, in the changelog it says that your lowered the default minimum brightness but it actually seems higher than before flashing v1.0. :eek:
[HTC Sensation] show-p1984:
I just lowered the lowest possible value. If you have auto brightness activated or change the brightness with the sense framework slider you won't notice any difference (since those values are hard coded in sense).

You can however download an app from the market which allows you to set the lowest setting (there are quite a few apps). Lowest possible before: 30 now: 10 lowest autobrightness from sense is around 56 iirc ;)

You can ofc mod the sense framework too, so that you get lower autobrightness ;) (like shnizlon did in ordroid)
[HTC Sensation] Astug:
That explains it I guess, thanks. :) Maybe because I was using faux's latest beta before, that it now seems a little higher. I'll find an app on the market to lower it.
[HTC Sensation] greves1:
tested out 1.0 badass gov. a few things were a bit laggy, for example swiping to close chrome tabs, and scrolling in a couple of apps. i really like the idea of using a slight underclock and then going to full clock when necessary, but perhaps the governor needs to be tweaked a bit to eliminate the lag. in the meanwhile, ill stick with ondemand.

thanks for the awesome kernel! battery life is the best its been on my phone. (arhd 6.3.3 btw)
[HTC Sensation] show-p1984:
Sense 3.6 / 4?

I guess sense 3.6.

Well you can always select the sense 4 freq increase if you don't like it to be underclocked that much ;) (the governor will then clock the phone with 1080000/1296000/full)

But tbh I have yet to experience one lag on sense 4 or sense 3.6 ;) Then again I don't know what for pages you open in chrome :D
[HTC Sensation] greves1:
hey thanks for the quick reply. its sense 3.6 (aosp theme, although i think that doesnt matter for our purposes). i forgot to mention that i set the max cpu frequence to 1188000. dont like to o/c my phone (for battery saving purposes).

i guess the issue is that the lower frequency is really great for battery saving, but the kernel is just a bit slow to pick up the need for the full frequency. for example, how does it know when i'm about to do a real quick scroll down in reddit is fun? or how does it know when i'm going to swipe close a tab in chrome? so it has no way to immediately increase cpu clock to full to make the animation smooth, right? no criticizing at all, just want to make sure i'm understanding correctly how this thing works :)

if i want to use the sense 4 freq increase can i still put the max frequency to 1188000? will badass then use 1080000 under normal usage and go to 1188000 under heavy?

ps. thanks for adding the option to not have led come on when swiping to wake. really love the mod so much, and i have found it has a very negligible impact on battery.
[HTC Sensation] show-p1984:
1188Mhz, the sense 4 frequencies would be too high for that ;)

Badass checks if the max frequency is set too low for it's 2/3phase frequencies and auto adjusts that.

if you flash the sense4 freq fix you will have:

2phase = 0.8*1188

3phase = 0.9*1188

ofc the next lower step in the acpu table is chosen, which would make that:

2phase = 950 = 918

3phase = 1069 = 1026

Same as without the sense4 frequency increase ;)

I would suggest you to leave 1566 as max, your phone will rarely clock that high with badass, usually it will idle around 914 and sometimes go up to 1188Mhz if really needed. (a graphic intensive scene in a game for example, but even this will only happen rarely, see attachment)

Ah and btw: 1566Mhz is not overclocked because our soc is specified by qcom to work in the 1,2-1,5ghz range. Ok, strictly speaking it is specified to work from 1188-1512Mhz, so it is 54Mhz overclocked :p
[HTC Sensation] dyval:
Kirov Reporting

Battery life is absolutely awesome!:D Master show-p you always outdone yourself. :)
[HTC Sensation] peacekeeper05:
Things are looking smooth, and I'm yet to experience any lag after playing a youtube vid, I'm on Ordroid. Just installed v1.0... Thanks
[HTC Sensation] rn2011:
Hey show-p1984,

does the new version supports VPN connection?

i used to work with 0.9 and it didn't...

THX
[HTC Sensation] df1ech:
Between .956 and 1 are there any changes ? Or has that one just became v1 ?
[HTC Sensation] diwasas:
You can always check the changelog
[HTC Sensation] nyorbee:
Now I have 7100 points in benchmark with new version, sweep2wake works perfectyly, thanks man!

One quick question though, is it possible to make option, maybe in aroma, to disable power button? It could be usefull, because, offten when I want to put phone to my pocket I accidentally wake phone by pressing power button.
[HTC Sensation] peacekeeper05:
What is the difference between badass and ondemand?
[HTC Sensation] ClydeB1:
As explained by show

And a simple search revealed this