yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] KennyDumah:
Someone knows the command for disabling or enabling Vsync?
[HTC Sensation] show-p1984:
This

debug.gr.swapinterval=0

@ build.prop and reboot.

But that is in this thread at least 5 times now ;)
[HTC Sensation] KennyDumah:
Oh sorry dude.

But Thanks. :)
[HTC Sensation] HunnyBearLewis:
Hey Show (or anyone who tried them), I was curious, do the battsave/balanced/performance presets change the max frequency or does it change how fast the CPU ramps it up to max? or is it neither and I've failed? ;)

Thanks in advance.
[HTC Sensation] show-p1984:
Battsave -> balance

Changes how fast the cpu ramps up (the ramp up depending on the gpu load is also changed)

Balance -> performance

Changes how fast the cpu ramps up (the ramp up depending on the gpu load is also changed) and increases frequencies.
[HTC Sensation] Specialist79:
Running v1.05, which is a lot more responsive w/ badass than v1.0. Excellent work! :-)

One issue remains, though, which may not be specific to Bricked, though: When unlocking my phone (S2W or power button does not make a difference) it often takes a couple of seconds until the lock screen is shown.

I already tried capturing a logcat, but the issue does not occur when USB debugging is connected, so I think this may be related to wakeup from deep sleep.

I captured some dmesg output (with v1.0) right after the laggy response happened, which does not show any suspicious activity, but which I am including for completeness: http://pastebin.com/ZTghadRp
[HTC Sensation] Bytemen:
With beta 1.05 it happends first one, a fc after a call... What i see ,- by beginning the call, the screen brightness going high, in call normaly dark on ear, after call first high, very High, then fc...

I write this because it comes after flash to beta 1.05. Never bevore...

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk 2
[HTC Sensation] show-p1984:
The sweep2wake wake up process is the same as if you would press the power button (sweep2wake only emulates a power button keypress). There can't be a difference between both of them ;)

Edit:

You had running the cam just a sec before, that's your delayed wakeup issue. Go ***** HTC about that, it's a problem with sense since Sense version 2.0 (Htc Hero).

Force closes are normally not a kernel issue. Gimme log ;)
[HTC Sensation] McLongDong:
I like the alliteration.
[HTC Sensation] noodles2k:
Hey Show, is it possible to have Sweep2Wake without Sweep2Sleep?
[HTC Sensation] kairi_zeroblade:
@showp1984

running v1.05 since yesterday..clean install since i have included some battery tweaks on my own build..well it has improved(BADASS) over the v1.0..but still a bit cheeky at times..hope you can still fine tune..also unit is less warmer now..went back to deadline for some reason that my PHONE loves it..with badass it just *****es at some point..i have also noticed that sound did improve also bluetooth is now running nice.. :D

ygpm BTW..need some help with some optimizations.. :D
[HTC Sensation] Catpoule:
hi show ,

hope you're doing great ...

so as usual i tried your beta kernel and i would like to report then. So, i'm on 192->1512, badass, screenoff 432.

I selected no sweep, low o/c 3d and 2d, i'm on sense 3.6 elegancia.

I first tried cfq gov but my phone is laggy with it, does not response always very fast but with deadline all is smooth as if it was a "on demand" gov.

I tried different apps, uses, and HD games like tintin and no lags so far. Phone remains quite cold ,no overheat.

I never had reboots , sense is flying. :)

battery is much better.
[HTC Sensation] smint86:
Just fyi, cfq is not the governor but the i/o scheduler. The governor is badass.

Swyped via Tapatalk
[HTC Sensation] D-SHEL:
Just GREAT kernel! But for me bluetooth not working with ARHD 6.6.3 XE and Bricked 1.05. Why?
[HTC Sensation] Kameeeleon:
Anyone else noticed that when screen is off the battery will flatline (hours without change) but then when you start using the phone it drops like a stone? 20 minutes ago I was at 84%, now it's 65% and all I've been doing is looking at forums/twitter. It never goes down a percent at a time either, more like 3 or 4% jumps.

1.05 on IC 4.6.2, default clocks with no oc on GPU and powersave options.
[HTC Sensation] B-Man2005:
show could you implement original ondemand please ?

the one with no changes !

thanks
[HTC Sensation] remus82:
You could just change the governor to ondemand before flashing. Or did I misinterpret you? Sorry if I did :)

Sent from my Sensation running HyperNonsense v2.3
[HTC Sensation] B-Man2005:
yes you did ^^

as far as i know its not the original stock ondemand ... he modified it

just want bricked kernel with stock ondemand gov. if its possible !!

:)
[HTC Sensation] remus82:
Oh I get you now. :) out of curiosity then, is badass or shows ondemand governor not good for you? :o I think show tweaked the thresholds and rates and stuff to make things smoother. :)

Sent from my Sensation running HyperNonsense v2.3
[HTC Sensation] B-Man2005:
not tried badass ... i thought basass is more for battery live ?? isnt it ?
[HTC Sensation] remus82:
Battery life AND performance. That's why it is named so isn't it? :D

Sent from my Sensation running HyperNonsense v2.3
[HTC Sensation] show-p1984:
Yes, but this would mean another variable, another option and extensive testing if everything still works together. I would rather avoid doing that and instead concentrate on some new stuff. If I may ask: Why don't you just don't use sweep2sleep? It's coded so precise that an unintentional triggering of this function should not be possible.

No idea, works for everyone else.

Without a more helpful report you won't get any answer, not because I don't want to give it to you, but because I have no clue with the one information you gave me.

Congratulations, you discovered the Android battery % paradox ;)

The % won't go down from 100 to 90% but from 90-0% they will drop like a stone. Old story.

It still is ondemand, I just tweaked the sampling ratios and thresholds a bit, which is already removed in my next beta. (because badass is much better anyway :p)
[HTC Sensation] Vorbeth:
I had shutdown, reboot issues, mine were solved by repartition/format of the sdcard. Done with a PC not the phone.

[EDIT]

Didn't realise how old that post was
[HTC Sensation] show-p1984:
22nd April 2012, 05:24 PM

Maybe

you

SHOULD get some sleep :D (regarding my last tweet ^^)
[HTC Sensation] Sashtheflash:
Hey show what can be the problem that my wifi signal is off when my phone is idling? I can see it come on when I activate my phone. I mean my 3g not wlan. Danke Digga ;)
[HTC Sensation] show-p1984:
I think this was already discussed in here. I am seeing this too on my Sensation since I updated to a rom with the new base. Seems to be an issue with that new base.
[HTC Sensation] Specialist79:
Regarding S2W: The code paths are not completely identical as the S2W code is run before emulating the button press. This was why I mentioned this as it may have an effect on the point in time when the phone wakes up from deep sleep.

Regarding cam usage: Makes sense, as I am using Face Unlock. Today I had another slow wakeup, though, when the phone was sitting around idle for an hour or so before I hit the power button. So I am not totally convinced that the camera is guilty. ;-)

There is one other strange behavior I noticed: When running with badass (balanced) the phone is initially very responsive but over time becomes quite sluggish (although there is no unusual CPU load or obvious memory pressure). Enabling or disabling ZRAM does not make any difference. Rebooting clears the issue for some time. Since then I have switched the governor to ondemand and not seen the issue again.

---------- Post added at 12:55 AM ---------- Previous post was at 12:50 AM ----------

I also experienced this issue, but was able to resolve it by toggling the wifi sleep policy setting (i.e., setting it to 'switch to 3g' and then setting it back to 'never').
[HTC Sensation] show-p1984:
Are you kidding? A few ifs? Would take about 1 µs @ 192Mhz, if that's not already way too generous :D

###

New beta: v1.055

1.055:

Zip:
Change the pattern replace method for disabling the HTC screenshot function.
---Should be error proof now.
Modify badass.sh to create the 89badass init.d script with less redundancy inside the shell script.
---Just makes it nicer to read ;)
Moving sweep2wake on and off into the same new script: sweep2wake.sh
Enable the HTC screenshot if sweep2wake is not set to install
Moving the code for the HTC screenshot enable/disable methods into functions
adding 2 seconds delay between clicking on "finish" and actually rebooting the phone. (why? no idea, but it was requested ^^)
ROM DEVS: Don't miss the script changes! #2 :D
Kernel:
* 5a2b328 (showp1984) : msm: cpufreq: badass: Fix store_powersave_bias to account for sync' CPUs.
* de51a95 (Krishna Vanka) : msm: cpufreq: ondemand: Fix store_powersave_bias to account for sync' CPUs.
* d841931 (showp1984) : Patching Linux 3.0.29 to upstream 3.0.30
* 8f98bb9 (showp1984) : Patching Linux 3.0.28 to upstream 3.0.29

1.05:

Zip:
* add cmdline gpuoc for 2D & 3D (this lowers kernel size back to 8MB and provides more customization)
---Also allows independent setting of 2D/3D frequencies
* modify badass freq increase to fit new changes in sysfs and provide more customization
* add 3 presets for sysfs which will be installed as init.d script through the installer
---battsave / balanced / performance
* changed default scheduler to cfq (since I am using it as default anyway and it's better than deadline imho)
* changed aroma/updater script and shell scripts extensively to reflect new features.
ROM DEVS: Don't miss the script changes! :D
Kernel:
* f56304e (showp1984) : Revert "pyramid-panel: lower min and default panel brightness"
* fc93a27 (showp1984) : cmdline_gpuoc: set parsed values
* 4d511e2 (showp1984) : cmdline_gpuoc: modify 3d parsing to also set the second step based on the highest possible clock
* 026f2b8 (showp1984) : msm/kgsl: Remove GPUOC config setting, this will be handled by the cmdline from now on
* 6d9218e (showp1984) : cmdline_gpuoc: Add initial cmdline parsing (without a function atm)
* 58215fc (showp1984) : genlock: don't spam our log. Thx.
* 0ff40ba (showp1984) : badass: fix coding typo, thx to copy and paste :)
* adaadf6 (showp1984) : badass: gpucontrol: expose thresholds to sysfs
* cf61a8a (showp1984) : badass: gpucontrol: use gpu clear thresholds + minor cleanup
* 4e3b91e (showp1984) : badass: replace defines with properties, remove obsolete BADASS_ from defines
* aac56cc (showp1984) : badass: add sysfs interface for thresholds
* 39fd672 (showp1984) : badass: make default setting more performance oriented
* df048a4 (showp1984) : badass: add clear thresholds to avoid jumping through frequencies too much
* cb31165 (showp1984) : badass: decrease gpu counter more rapidly if it is hitting the limit

Download: Click me

Don't forget to disable the adblocker if you are on my page ;)

Also have a look on http://bricked.de - The piggy bank is nearly complete!
[HTC Sensation] baste07:
For the lag at wake up.

I've had occassions of lags when waking up the phone using power button. Thus if that happens with the sweep2wake, i'd say it's nornal at show said it emulates the power button press. Noy a big deal
[HTC Sensation] Catpoule:
yes ! you're right, i made a mistake ... i did not pay attention, my fault !!
[HTC Sensation] theooo:
Will flash new beta right away! Thank you for the continued development show :D

Sent from my HTC Sensation XE with Beats Audio Z715e
[HTC Sensation] baste07:
What's better, deadline or cfq?
[HTC Sensation] joel_nexus1:
Show said he preferred cfq. So I'm guessing cfq
[HTC Sensation] Specialist79:
Sorry, I was not intending to blame anyone's code for anything. I have seen this behavior with a stock kernel, too, but that does not necessarily mean that it cannot be addressed in a custom kernel, right? Of course, the culprit may also be in userland...
[HTC Sensation] baste07:
No prob mate, was just answering
[HTC Sensation] jalyn02:
Hello, first and foremost I would like to say thank you for one heck of a kernel!

(Request)

Is it possible to give a option to select CPU clock speed of choice during installation??? I am on CoinDroid 1.0.0 and this rom build allows us to choose clock speed during rom setup. So, like I stated above...great, great work dude and thanks again.
[HTC Sensation] baste07:
You can set that via file name right?
[HTC Sensation] kairi_zeroblade:
pm replied.. :D

hope you get what i was trying to tell..could not explain better(anymore better).. arrgghhh...
[HTC Sensation] Bytemen:
Maybe i am stupid to flash the last new betas, but i see following after i am using the option reboot and not stay in 4ext (recovery) after finished the installprocedure.

" the correct new name of the kernel would not changed in showing settings/software..."

But if you first stay in recovery (4ext) and then reboot, all is fine...

I dont understand this symtom...

Next question, is it normals and a feather from the setting badass, that there would change automatic to another option such like conservative or others?

And at last, whats New in kernel based 3.0.30 to 3.0.28 ?

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk 2
[HTC Sensation] Ladicx:
Hey show. Flashed the new beta, having a few minor issues with sweep and wakeup.

Got a log for ya.

http://logcat.aokp.co/hquO18

Sent from Mars using Elegancia 3.6 Sense 4.0 w Bricked beta 1.055
[HTC Sensation] baste07:
what issues are you encountering? i'll try to see if i get it too
[HTC Sensation] Ladicx:
Screens being taken when sweeping off from homescreen. Also a delay on wakeup when sweeping on. Sometimes captive lights go on but screen won't follow right away.

Sent from Mars using Elegancia 3.6 Sense 4.0 w Bricked beta 1.05
[HTC Sensation] joel_nexus1:
One thing you should know bud. Is he is gonna want to see a "last_kmsg log ". Logcats are useless to him :-)
[HTC Sensation] Ladicx:
How do I retrieve last_kmsg log ?

Sent from Mars using Elegancia 3.6 Sense 4.0 w Bricked beta 1.05
[HTC Sensation] rferrerca:
Hey show, I'm using the badass governor and I have a question about it.

I decided to put the max frecuency at 1.18. Does it really save battery or is it useless and it saves very little battery due to the badass system? Should I put it back at 1.56?

Thanks
[HTC Sensation] joel_nexus1:
http://xdaforums.com/showthread.php?p=23036880
[HTC Sensation] baste07:
i'd say just leave it at 918 Mhz and let badass adjust it to 1.5ghz when needed.
[HTC Sensation] Ladicx:
Not sure if I should post the whole last kmsg here due to it being pretty long so I uploaded it to box. Thanks for letting me know which form of log helps show and other kernel devs.

Again just to repeat with proper log, I'm having minor issues with screens being taken from desktop sweeping off. Also upon using sweep on wake up there is a noticeable delay before screen turns on.

Here is the last_kmsg txt log I uploaded to my box.

https://www.box.com/shared/401934fd2feac08c7c9d

Sent from Mars using Elegancia 3.6 Sense 4.0 w Bricked beta 1.05
[HTC Sensation] smint86:
When you lower the max frequency to 1188 MHz it will definitely save power (with a lag of performance obv). Badass will "discover" the freq change and lower the steps before ramping up to max. iirc step one will be at 80% of max, step 2 will be at 90%.

Swyped via Tapatalk
[HTC Sensation] show-p1984:
I don't like the scroll method in aroma. I am working on a more elegant solution though ;)

I guess you are HTC-Unlocked, so you can't flash boot from recovery. EXT4 Recovery has the "smartflash" option, it detects if you can't flash boot and will flash it upon reboot for you. (That's why you see the splash screen 2 times)

This problem with HTC-Unlocked devices is the reason why I added the option to disable the automatic reboot, so just don't use it if you are HTC-Unlocked ;)

Usually I would recommend you to stay @ 1.56Ghz, except if you are running NASA calculations on your phone (this would force badass to run @ max) ;)

You will save battery @ 1.18 though, because as previously explained badass will adjust the 2 and 3phase frequencies accordingly to 90/80% of your max set frequency.

First of all, use pastebin :p

Second: That is not my kernel :D

[ 0.000000] Linux version 2.6.35.13 (mx@ubuntu) (gcc version 4.4.3 (GCC) ) #1 SMP PREEMPT Wed Apr 25 19:38:24 CEST 2012

Furthermore: Try beta 1.055, should fix your issue. :)
[HTC Sensation] B-Man2005:
could someone tell me what this is for ?

Patching Linux 3.0.29 to upstream 3.0.30

thanks
[HTC Sensation] shark147:
Hi Show,

I have try your last Beta Kernel v1.055, I have choose "OnDemand" governor, after installation, I see on my Phone in folder "etc/init.d/89badass" script it's normal? can I Remove this script?

Thanks
[HTC Sensation] iba21:
If you didn't wipe the system partition, yes, it's the old badass script of tour old installation.. delete it!
[HTC Sensation] show-p1984:
You don't have to delete it, but you can ofc. This script will only do something if badass is the default governor with which the phone boots up, if not the destination for the values that are set inside the script are non existent, hence the script has no function ;)
[HTC Sensation] Ladicx:
I've never flashed any kernel besides yours with elegancia and before that 1.05, 1.0. I also have been on beta 1.055 since it released. So confused as to how it would have said ANTTHING else besides bricked :confused:

Sent from Mars using Elegancia 3.6 Sense 4.0 w Bricked beta 1.055
[HTC Sensation] Jonny:
It's the recovery kernel log that you posted not the "actual" kernel log
[HTC Sensation] Ladicx:
Ok understood. Still not sure how to post that log correctly. I'm IT tho I'm sure ill figure it out thanks.:cool:

Sent from Mars using Elegancia 3.6 Sense 4.0 w Bricked beta 1.055
[HTC Sensation] iba21:
so.. delete it.... :p

:D
[HTC Sensation] rawrfische:
1.055 beta is running beautifully on two Sensations here, show. Homescreen scrolling in Apex launcher is like butter with badass running at 1.18 GHz max.

I'm completely spoiled by your badass governor. Thanks again for your great work.
[HTC Sensation] amm009uk:
+1

Will try out the new beta for comparison:)

Awesome support here!!!!!!!
[HTC Sensation] kairi_zeroblade:
@showp

man i was reviewing the 1.055 and i did forgot to mention that the script for the screencapture lacks something..it instead adds to the last line of a prop tweak/property..i do suggest you use:

"echo -e " ";"

it solved my issue.. :D btw thanks for the help.. :D pressing thanks!!
[HTC Sensation] show-p1984:
Already solved it more elegant with this

echo "\n" >> /system/build.prop;

:)

Btw: How do you like my new signature? :p
[HTC Sensation] baste07:
Do we need to run that?

Thanks
[HTC Sensation] show-p1984:
Nope, it's in my script and will be in the 1.1 final ;)

(but if you ran it, then it would just echo back an empty line to your build.prop ^^)
[HTC Sensation] nba1341:
Was there not a bricked aosp kernel?
[HTC Sensation] baste07:
Thanks! Ill wait for that final rel
[HTC Sensation] show-p1984:
V1.1 @ op.

Also: does having a new signature count as a changelog entry? :)

***** v1.1 *****
Zip:
add option to disable ZRAM (just deletes the script that starts ZRAM)
modified 'disable HTC screenshot'-script once again...
Change the pattern replace method for disabling the HTC screenshot function.
---Should be error proof now.
Modify badass.sh to create the 89badass init.d script with less redundancy inside the shell script.
---Just makes it nicer to read ;)
Moving sweep2wake on and off into the same new script: sweep2wake.sh
Enable the HTC screenshot if sweep2wake is not set to install
Moving the code for the HTC screenshot enable/disable methods into functions
adding 2 seconds delay between clicking on "finish" and actually rebooting the phone. (why? no idea, but it was requested ^^)
* add cmdline gpuoc for 2D & 3D (this lowers kernel size back to 8MB and provides more customization)
---Also allows independent setting of 2D/3D frequencies
* modify badass freq increase to fit new changes in sysfs and provide more customization
* add 3 presets for badass sysfs which will be installed as init.d script through the installer
---battsave / balanced / performance
* changed default scheduler to cfq (since I am using it as default anyway and it's better than deadline imho)
* changed aroma/updater script and shell scripts extensively to reflect new features.
ROM DEVS: Don't miss the script changes! :D
Kernel:
* 5a2b328 (showp1984) : msm: cpufreq: badass: Fix store_powersave_bias to account for sync' CPUs.
* de51a95 (Krishna Vanka) : msm: cpufreq: ondemand: Fix store_powersave_bias to account for sync' CPUs.
* d841931 (showp1984) : Patching Linux 3.0.29 to upstream 3.0.30
* 8f98bb9 (showp1984) : Patching Linux 3.0.28 to upstream 3.0.29
* f56304e (showp1984) : Revert "pyramid-panel: lower min and default panel brightness"
* fc93a27 (showp1984) : cmdline_gpuoc: set parsed values
* 4d511e2 (showp1984) : cmdline_gpuoc: modify 3d parsing to also set the second step based on the highest possible clock
* 026f2b8 (showp1984) : msm/kgsl: Remove GPUOC config setting, this will be handled by the cmdline from now on
* 6d9218e (showp1984) : cmdline_gpuoc: Add initial cmdline parsing (without a function atm)
* 58215fc (showp1984) : genlock: don't spam our log. Thx.
* 0ff40ba (showp1984) : badass: fix coding typo, thx to copy and paste :)
* adaadf6 (showp1984) : badass: gpucontrol: expose thresholds to sysfs
* cf61a8a (showp1984) : badass: gpucontrol: use gpu clear thresholds + minor cleanup
* 4e3b91e (showp1984) : badass: replace defines with properties, remove obsolete BADASS_ from defines
* aac56cc (showp1984) : badass: add sysfs interface for thresholds
* 39fd672 (showp1984) : badass: make default setting more performance oriented
* df048a4 (showp1984) : badass: add clear thresholds to avoid jumping through frequencies too much
* cb31165 (showp1984) : badass: decrease gpu counter more rapidly if it is hitting the limit
[HTC Sensation] remus82:
:( doesn't help those on xda app.

Sent from my Sensation running HyperNonsense v2.3
[HTC Sensation] theooo:
Thanx show! Will be waiting patiently for the changelogs :)

And banner is a changelogs too! LOL (maybe u can add url link in each device pict in ur banner)
[HTC Sensation] creonx:
Hi. Short question: i want the USB Host feature! Is this possible? I Need it to use my Canon 1100D with dslr remote control.

Thanks

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk
[HTC Sensation] baste07:
Installed 1.1

Changelogs are on first page
[HTC Sensation] Otkudja:
Elegancia 3.7, sense 4, bricked 1.0, badass governor.

So far best kernel for my battery, low gpu overclock. I have noticed slight lag in one game, Real racing 2, when there are many cars on the screen.

Nothing disturbing, next time I will take higher gpu overclock :D.

Thanks show, great work
[HTC Sensation] show-p1984:
Thanks you for the review ;)

Regarding the lag:

I have no idea if that game uses more gpu or more cpu power, but you can try this:

Flash Version 1.1 and choose badass with the new balanced setting which is a bit more performance oriented than 1.0 with the not changeable badass configuration. If that is not enough try the performance setting ;)
[HTC Sensation] remus82:
1.1 running well just as before. Took no 3d gpu oc and high 2d gpu oc as my games are non 3d. Am I right to say so? :D other than that, yes battery life on badass is better than ondemand. On average I managed to get half an hour more screen on time! :D

Sent from my Sensation running HyperNonsense v2.3
[HTC Sensation] Otkudja:
Thanks a lot for your fast response.

I have installed 1.1. First I waited for ca. 5 min. to let everything settle down.

I have choose badass balanced settings with low gpu overclock for 2D/3D.

CPU speed on screen on/off is on default.

ZRAM - on

sweep to wake - on

works like charm :). IMHO Real racing 2 could be more GPU intensive because of demanding graphics.

Games are not priority, main thing is that I get more battery time. And untill now your kernel makes best job at it.

Thanks a lot for your work.