yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] faux123:
It wasn't a bug, I was tired and paranoid!

here's the code again. revert previous and apply this... 1 line + 1 space + 1 comment :D

From 230ce9eb4a6ed811a3abd8d57387dae03966dcaa Mon Sep 17 00:00:00 2001
From: faux123 <reioux@gmail.com>
Date: Fri, 23 Mar 2012 02:49:14 -0700
Subject: [PATCH] input/touchscreen: fix sameFilter properly (multi-touch
issues)

properly fix the sameFilter. HTC failed once again with bugs forgetting
to reset the array holding the old data :p
---
drivers/input/touchscreen/cy8c_tma_ts.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/input/touchscreen/cy8c_tma_ts.c b/drivers/input/touchscreen/cy8c_tma_ts.c
index 68412a4..c4f8ba0 100644
--- a/drivers/input/touchscreen/cy8c_tma_ts.c
+++ b/drivers/input/touchscreen/cy8c_tma_ts.c
@@ -866,6 +866,9 @@ static irqreturn_t cy8c_ts_irq_thread(int irq, void *ptr)
base = 3;
}

+	/* reset sameFilter */
+	ts->sameFilter[2] = ts->sameFilter[0] = ts->sameFilter[1] = -1;
+
for (loop_i = 0; loop_i < ts->finger_count; loop_i++) {
if (!(ts->grip_suppression & BIT(loop_i))) {
if (ts->flag_htc_event == 0) {
--
1.7.5.4
[HTC Sensation] davebugyi:
How did you test it so fast? :O
[HTC Sensation] seandk:
Flashed yesterday

Unpluged at 8am and now I have 70% remaining

Yesterday with v0.3 at the same moment I had 91% remaining

Envoyé depuis mon HTC Sensation XE with Beats Audio avec Tapatalk
[HTC Sensation] q9650:
Lol, okay then im sorry ;)

i see u proved again, that devs never sleep xD
[HTC Sensation] davebugyi:
Strange... After a half day of usage I'd say it's the same for me... also Badass Battery monitor does not show anything strange.
[HTC Sensation] freak007:
showp kernel mod

For Oc' fanatics:

If you are interested to test some extras with Bricked kernel base, you can test these kernels:

1566 Mhz: http://dl.dropbox.com/u/38976483/Bricked-3.0-v0.4-mod4-1566.zip

1620 Mhz: http://dl.dropbox.com/u/38976483/Bricked-3.0-v0.4-mod4-1620.zip

1728 Mhz: http://dl.dropbox.com/u/38976483/Bricked-3.0-v0.4-mod4-1728.zip

1782 Mhz: http://dl.dropbox.com/u/38976483/Bricked-3.0-v0.4-mod4-1782.zip

1836 Mhz: http://dl.dropbox.com/u/38976483/Bricked-3.0-v0.4-mod4-1836.zip http://dl.dropbox.com/u/38976483/new_kernel_201203231422.zip

Mods:

- 1836 Mhz by default

- corrected vdd_levels

- jrcu by default

- vr io scheduler default

- lazy governor default

- some sched tweaks

All patchs are from showp, sebastianfm, scorp2kk, TripNRaVeR and seader github and some kernel mainline patches.

Don't ask showp to integrate these mods inside his kernel, he made lot of tests before release their kernels - as usual - it's done when it's done. Consider this like a preview ! I have no idea of battery drain or other side effect !

extra: some screenshots attached
[HTC Sensation] Byrana:
I am just wondering if I am the only one with WiFi reconnecting issues. I am using the sleep policy - turn off when screen is off. I am not 100% sure, since when this issue occurred. I am using Insertcoin 5.1.6 and bricked 0.4 and now I have to turn off/on WiFi in order to get reconnected, after turning screen back on. Can anyone else test this please. Also I am not getting connected when I come back home. Maybe there's some bug in the code.
[HTC Sensation] epsix:
My phone can only goes 1.782 max :(
[HTC Sensation] sjknight413:
So can most phones I think, 1836mhz is a ridiculous default to set it too!
[HTC Sensation] Alienator9191:
Your my hero my battery never lastest this long:-D since i use youre kerbel my phone stays on the whole day:-)
[HTC Sensation] zimphishmonger:
Bring on v.5 :)

Sent from my HTC Sensation 4G
[HTC Sensation] dazzlet:
I have the auo nt panel but I get the blye tint with Any kernel except the 208 one is there any thing I can do
[HTC Sensation] i900frenchaddict:
Nenamark2 scores tend to reflect openGL performances in games and emulators, each time my Nenamark2 score improves, Fpse get more fps with openGL plugin.

And so now we reach 50 fps or above with Nenamark2, I even got 49.2 fps at 1.5 ghz with Bricked v0.4

That's really great!!!!!

But for Quadrant, was the 60fps max removed by a kernel tweak, or is it Quadrant new versions that allow it? I remember Quadrant refusing to go over 60 (or 61/62/59/60/61 etc) in the past.

As for multitouch, with Bricked v0.4, I can't see any input swap or input releasing, like in SebastianFM latest kernels, everything is working perfectly for me (ARHD 6.5.2)
[HTC Sensation] Bluewall:
Just to let you know Showp that you're v0.4 is working REALLY great on MIUI :) Couldn't be more happy :p
[HTC Sensation] show-p1984:
Thanks, I guess we both were paranoid. (or too tired :p)

I have no issues here.

AP configuration?

Logs?

very-soon(tm)

60fps is a limit by the rom. Sense 4 does no longer have that limit afaik.

Btw would it shock you that I got ~60fps in an internal test @ nenamark2 (1836Mhz) ? ;)

But that will not make it in the kernel per default. Those changes are too crazy and require dangerous high thermald settings.
[HTC Sensation] Byrana:
Believe it or not, since I've written my post, I have had no more issues. Sorry
[HTC Sensation] i900frenchaddict:
Well, sorry, I was kinda wrong (tried too many kernels these days); Quadrant doesn't go over 60 fps with Bricked v0.4 and ARHD 6.5.2

but

two days ago, with ARHD 6.3.0 and SebastianFM kernel, Quadrant was displaying some 75 fps in 2 scenes (the First Person Shooter scene and the rotating planet scene), without giving a better overall score

I'm sure of it.

Weird, maybe I should try ARHD 6.3.0 just to check it out

Nevermind, that's not important, Bricked v0.4 is fast, and fast from 1.5ghz indeed, no real need to go above, and for me 100% multitouch-bug free!

Telling me you got 60fps at Nenamark2 means for me that you have really nice incoming tricks in your hat, something to improve GPU and openGL, something that could seriously boost Fpse, 1fps more at Nenamark2 means 1fps more at Fpse, so yes, I'm (positively) shocked!!!! :eek:
[HTC Sensation] davebugyi:
Have to confirm... I just realised that v0.4 drains the battery more than v 0.3
[HTC Sensation] show-p1984:
Update @ op ;)

includes much less m(ake)p(oor)decisions.

(Copyright for this pun on mpdecision goes to faux :D)
[HTC Sensation] rawdealer:
Gracias :)))
[HTC Sensation] KennyDumah:
Does it have the "after video laggy" fix in it like the rcmix kernel?
[HTC Sensation] show-p1984:
The.. what?
[HTC Sensation] KennyDumah:
:D :D :D :D

In Sense 4.0 when you play a video.

After playing the system will get laggy :D
[HTC Sensation] lampshade90:
its always the same, show release a new kernel and someone asks does it this fix include and show is like wtf xD

installed v0.5 thank you :) but i want to know how the battery drain is but flashing everday a new kernel i cant say it XD
[HTC Sensation] KennyDumah:
Ehm dude?

wanna kidding me?

I read the changelog and it wasn't included, so i've asked for it?

This is a Forum?

lol?

:rolleyes:
[HTC Sensation] show-p1984:
Sure it is a kernel bug?

Gimme link to your rcmix kernel (it's news to me that they HAVE a kernel ^^)

It's a forum. It's ok to ask.

But he has a point ;)
[HTC Sensation] lampshade90:
you misunderstood, no offense to you... only last time it was with the multi touch fix and then with a fix on virtous dont know what exactly. But this hasnt anything to do with your question
[HTC Sensation] KennyDumah:
http://xdaforums.com/showpost.php?p=23959863&postcount=1384

Yeahhh i know he has a point to... :D

hmmm... Like Capy's post said, i think they have a guy for this? o:

Off Topic: So und nun ein schönes Faxe! :D

---------- Post added at 02:50 AM ---------- Previous post was at 02:49 AM ----------

Yeah I know :D

But anyway it's friday... come on! :D :D :D
[HTC Sensation] show-p1984:
I don't see any fix for this on his github source.

If the source is up to date, then I have the fix too :p (because there is none :D)
[HTC Sensation] KennyDumah:
Okay :D

Well lets test it! :D

btw wish you a nice weekend, show! :)
[HTC Sensation] show-p1984:
Yeah do that.

:eek:

WEEKEND?

Wtf where is the week?

Damn, I should sleep more :D
[HTC Sensation] ziggy1001:
What fix?

My app draw still has same lag with the kernel Capy posted about

Didn't even know anyone had located the fault
[HTC Sensation] anko184:
Can someone explain me this.. In late January when we had the first stable ICS release's and sebastianfm posted his first oced kernel i run some benche's just for the fun.

The result was (and still is) amazing for a test release plus stock oced kernel...

So how is it possible that every kernel i see (oced of course) not be able to get faster results?
[HTC Sensation] show-p1984:
First of all that is antutu 2.5, not our version.

Furthermore we do get that result, even better, as seen here:
[HTC Sensation] anko184:
hehe first time i saw that score and i assume it's with your latest version (0.5) right?

Do you think that Antutu made change's to there code in latest release? And their lays the score difference?

Oh btw don't take me wrong, i used and still use your kernel's, they are amazing, but i'm just curious..
[HTC Sensation] show-p1984:
Yeah, with 0.5 final.

As a general rule: Don't ever, !never!, compare 2 benchmark results from different Benchmark versions. ;)
[HTC Sensation] baste07:
i'm going to try v5.

what cpu app do you guys use? i tried systune but my values don't apply , even though i ticked the apply on boot
[HTC Sensation] lws803:
Hmm does this new kernel fix the lag after playing a HD video on Insercoin beta 12 sense 4.0 rom?
[HTC Sensation] show-p1984:
seriously? One page back there is a whole conversation of that topic...

System Tuner / SetCPU

whichever my fat finger hits first :p
[HTC Sensation] baste07:
Undervolted by 50mv more. I noticed that there was a big battery drop initially but ill give it a week to settle down
[HTC Sensation] I AM M07S:
Um could someone explain how your sd card read and write speeds are so high

Thanx
[HTC Sensation] show-p1984:
Those are hlenforcers sdcard speeds, since he uploaded the screenshot to Twitter.

He has a lexar class 10 32gb sdcard in his sensation which is a lot faster than "normal" sdcards.
[HTC Sensation] I AM M07S:
Oh i thought it may have to do with what class it was... i only have a class 4 but will definitely be getting a class 10 soon
[HTC Sensation] HunnyBearLewis:
No complaints, appreciate the work and time it takes.

Just an update though (to any VI users testing kernels) - I'm still having input swapping issues with v.5 of Bricked.

Really like everything else about it though so I won't give up on it ;)
[HTC Sensation] vasendak:
Ar my eyes really seeing that

Did I read correctly in the changelog :eek: "enable USB-OTG" :eek:

I've been waiting so long for this...I am so excited...I can't take it
[HTC Sensation] wzj1633:
Hi dude，

After flashing the 0.5kernel, i hv found the battery drops faster than before.

How is that going on？ Undervoltaged removed？:(
[HTC Sensation] i900frenchaddict:
USB-OTG ???? :eek:

But I suppose I'll have to build a cable to power-ON USB accessories, right? There's not way the Sensation could have a powerd USB host?? (or I'll take my micro USB to USB cable and plug a gamepad right now ^^)
[HTC Sensation] baste07:
What is input swapping issue?
[HTC Sensation] baste07:
How long have you had it?
[HTC Sensation] Zlyc:
What's USB OTG?

Sent from my HTC Sensation XE
[HTC Sensation] vasendak:
USB OTG = USB On-The-Go

It is the ability to connect external devices through micro USB - like flash drives, keyboards, mice, etc...

I tried it but didn't work. I installed USB Host controller and is says there is no such capability in the phone and no such drivers.

Tried directly connecting with OTG adapter - nothing. Tried with power from USB - still nothing.

Maybe my cable configuration is wrong. Maybe our developer could say more.

Anyone else had any success?
[HTC Sensation] baste07:
So with otg you can connect a flash drive to the phone and it can read it.?
[HTC Sensation] Headbanger1982:
Not only Kernel must provide OTG but even Rom has to.

Otherwise it just won't work.
[HTC Sensation] baste07:
Ohhh need to check if its in wth arhd rom
[HTC Sensation] vasendak:
That's right!

Samsung Galaxy S II has this function natively. You just need an adapter micro USB to female USB and you are done. Search on youtube for "galaxy s2 usb otg"

First result is a demo of this.

I think our Sensation should also be capable of something similar. I suppose in the best case we would need to connect USB power somehow.
[HTC Sensation] meloos:
Isn't it just a part of ICS code that comes along with every ROM?

If not rom, i'm quiet sure that it can be checked with terminal emulator. Dmesg should show pluging flashdrive, and we should be able to mount it via busybox...

Am I right?
[HTC Sensation] Abaddon:
nice one +rep :D
[HTC Sensation] Bluewall:
Maybe ive missed something or didnt understand but even with uc my cpu to 1.18ghz my second core goes up to 1.35 ghz or 1.56ghz ?

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] shiningarmor:
what's an otg?
[HTC Sensation] show-p1984:
That should no longer be the case. I need to install this rom and have a look myself =/

Since I highly increased performance of our GPU to improve our ui feeling, which has gained a lot from that, also nearly trippled our 2D performance score in some benchmarks and 3D benches are also extremely good, it was to be expected to use more battery when utilizing those advantages.

As always I need to find the optimal balance, which will take time. (Yes, there will be an OC version which will have nearly none battery saving features :P Just rawrrr power :P)

I tried it, doesn't seem to work yet. I will have a look what is going wrong exactly sometime soon(tm). Since it is enabled you guys can also try to debug it ;)

Yes you missed something.

Not a kernel bug, more like a feature. (Changelog of v0.5)

The new mpdecision and thermald (rom side, thx to qcom) had done this on versions 0.1-0.4 before too, but the max clock was limited to 1566 there. (They ALWAYS had ramped up cpu1 to max clock)

Since v0.5 I intoduced a little hack that tricks them into believing that our CPU has only the capability of the default clock it boots with (1566). Therefore I could remove my OC limitation and you can now overclock safely without fearing that cpu1 would ramp up to 1944Mhz on its own.

Thx to TripnRaver I have a possible solution for our mpdecision and thermald problem lying in front of me (rom side). I just need to test this thoroughly and figure out a way how to bring it to the user without the need of delivering a boot.img with my kernels (which would break rom chef tweaks).

###########

Btw: why has my thread only a star-rating of 4.50? :(

Afaik it goes down to 4 stars with 4.49 :(

U no like my kernelz? :p ^^
[HTC Sensation] Bluewall:
Thanks for the explanation my dear chef :) more clear now.

And yes we LOVE your kernel :)

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] Desperanto86:
I like your kernels! I voted "Excellent"!
[HTC Sensation] V6-Maniac:
For those who ever doubted the battery life on OC-ed kernels ;)

Flashed v0.5 last night just before i went to bed.

After almost 8hours of sleep i was stunned...

No CPU Manager, stock battery, and my daily rom. (S-o-M v2.0)
[HTC Sensation] matt95:
This kernel is awesome! Loving it

Sent from my HTC Sensation XE with Beats Audio
[HTC Sensation] meloos:
So, in general - rom starts with 1,5 on both cores. Now, i use setcpu to overclock cpu to lets say 1,8, does cpu1 also have ability to jump to 1,8 or stays at 1,5? and when downclocking, it stays at 1,5?
[HTC Sensation] inzaghi75:
@show-p

Have integrated audio beats driver?
[HTC Sensation] SatScan:
My phone like a cold beer...

Hey There,

Here is my donation for the great work!

0A9460968U939181J

Nice weekend!

Who's next... ;) (HTC?)
[HTC Sensation] arifqur:
This kernel significantly improves the Sense 4 lag issues and definitely makes it usable as a daily driver.

Thanks man for a job well done
[HTC Sensation] show-p1984:
CPU1 will be set by the kernel to 1,8 too. But as soon as mpdecision or thermald power it off and on again it will be reset by those 2 programs to 1,5. That is not the kernels fault, it is the fault of those two well thought through programs *coughs* ;)

Closed source, so no.

Every Beats thing that HTC gave us is still in there.

Very much appreciated!
[HTC Sensation] drakexpl:
Your kernel works flawlessly with newest IC Sense 4.0 beta 12, thanks mate!
[HTC Sensation] remcoros:
@show-p1984

I found an error in the zram script. Altough it works, the script is kind of wrong. I'

ll explain:

On line 10:

if [ ! -e /xbin/busybox ] ; then

this reads: if busybox is not (!) found, continue.

this should read: if busybox is found, continue:

if [ -e /system/xbin/busybox ] ; then

(note, the removed exclamation mark and fixed busybox location)

This currently works, because on sensation (at least on mine), busybox is indeed NOT in /xbin but in /system/xbin.

So it works, but not like the script intended to do (it will try to enable zram, even when busybox is NOT found).
[HTC Sensation] show-p1984:
Yeah, I know.

There was a problem with the busybox location on some roms back when I wrote that script. So I just changed the path to something that does not exist and skipped that check with the ! ;) that kept the code intact for future changes.

I probably should test if that problem still persists and change the script accordingly.

But thanks ;)
[HTC Sensation] remcoros:
I was just going to say that you could use the command 'which busybox' to find the location of busybox...

but.. 'which' is part of busybox lol :-)

maybe you can check for multiple locations.
[HTC Sensation] nicob:
psst, I think its called fudgeswap, not fugeswap :)
[HTC Sensation] jafazec:
Hey show-p,great kernel!Miui v4 really flies with it!Everything is pretty much stable,but i've experienced two soft reboots totally random,once while texting second time while setting up some app...Could this be kernel related and if it can,how to figure it out?
[HTC Sensation] smint86:
Want to report in for v0.5: Running really great, awesome battery life and performance. This is what I really waited for (regarding ICS), I'm with IC 5.1.6 actually (want to wait till Sense 4 becomes stable), the UI is f**king smooth and everything is running extremely fine.

Just one thing: You closed the "802.1x EAP (PEAP) connectivity" topic at your issue tracker, unfortunately the problem still isn't gone with ICS, should I open a new issue? I could of course provide any logs you need.
[HTC Sensation] Quantum_Sensation:
Is it compatible with LeeDroid SuperSensational ROm v7?
[HTC Sensation] mehr1369:
Great Kernel

what ROM is this that you benched with show-p ?
[HTC Sensation] Quantum_Sensation:
I'm using Sensation XE with LeeDroid SuperSensational custom rom

---------- Post added at 01:24 AM ---------- Previous post was at 01:24 AM ----------

I'm using Sensation XE with LeeDroid SuperSensational custom rom. ICS. Is this kernel compatible with my phone?
[HTC Sensation] shiningarmor:
yes

-10 chars-
[HTC Sensation] meloos:
Any chance for BFS included in kernel? I tried to patch your source with BFS patch, even made some changes, so that it patches properly, but code doesn't compile.

show-p1984, do you plan including bfs? As i remember it gave significant boost in daily usage :)
[HTC Sensation] Sebby:
i see this in the changelog

basic NTFS support

so if i correct then it supports ntfs sdcard format
[HTC Sensation] Headbanger1982:
I agree, BFS is probably the best scheduler out there...
[HTC Sensation] M pro:
lol I need this kernel now ;)
[HTC Sensation] djdant:
I see that basic ntfs support is there, so if I format my card to ntfs it should read? I tried before not knowing it wasn't supported in android phones. Have any of you tried it before I go through the format thing? I mainly need ntfs for my movies.
[HTC Sensation] Kameeeleon:
Love your work and used your GB kernel for ages, definitely gonna get in on this!

One thing that I would love is a battery saver build, obviously undervolted etc. but also with the other performance tweaks removed or reversed, for example lower than normal GPU clocks and a more conservative ondemand or smartass governor.

The only thing I am looking for in a kernel is the best battery life possible, I really don't care about buttery smooth 3D. I want to get more out of my batteries whilst still preserving enough performance to make phone and internet functionality smooth enough for efficient use.

Would you consider such a thing?
[HTC Sensation] lampshade90:
v0.4 hab a very good battery life. Not such a thing you demand, but never had such a brilliant battery life
[HTC Sensation] Bluewall:
Does anyone know whats the real difference between interactiv and ondemand governor ? Never really figured out :p

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] sjknight413:
I think interactive jumps mainly between minimum and maximum frequencies instead of scaling according to the cpu load like ondemand. could be wrong though! :)
[HTC Sensation] ClydeB1:
http://xdaforums.com/showpost.php?p=23980066&postcount=2
[HTC Sensation] Bluewall:
Thanks for this. Very interessting :) so what you guys think ? For a better battery life ?

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] show-p1984:
Thanks, this is what happens if you make a typo once, and then copy it around the place :p

Indeed. I think I might rework that script now... (currently working on some bash stuff anyway ^^)

Soft reboots are usually rom related (they could be kernel related if a module dies and that mod was essential for the system ui, hence soft reboot, but I doubt that in this case.).

Gimme cat /proc/dmesg > /sdcard/dmesg.log after the soft reboot and I will see if it was the kernel. (as I said, probably not ^^)

I wanted to reopen it =/ Forgot about it... sorry ^^

As long as it is ics 4.0.3 with sense 3.6/4 it will work. ;)

Hlenforcer benched this without vsync. Was it IC he ran? No idea to be honest ^^

I am currently working on something else, that will (once I backported a lot of the linux 3.2 tree to make it work, lol) hopefully blow your minds too. And since bfs does not currently apply cleanly it is probably not a fast patch. But lemme see if I can rig sth together, if not Leedroid is a bfs fan iirc. So the chances are high that he will include it sooner or later ;)

Nope Vold does not support ntfs. There is a hacked version out there which allows this, but it has no r/w support.

I already announced this a few pages back ;) But let me get my act together first ;)
[HTC Sensation] lampshade90:
because of this sentences on demand is more for battery "Unlike OnDemand, which you'll recall scales clockspeed in the context of a work queue, Interactive scales the clockspeed over the course of a timer set arbitrarily by the kernel developer."
[HTC Sensation] JJnJ:
i am trying to flash true cwm but it is giving me abort (error 1) tried different versions. What am i doing wrong
[HTC Sensation] freak007:
Using BFS is incompatible with SCHED_AUTOGROUP, i made by the past some benchs and cfs+sched_autogroup is better at high cpu load than bfs.
[HTC Sensation] show-p1984:
Complete error message please?
[HTC Sensation] runderekrun:
Yeah I am still having problems with multi touch and this kernel too. Just FYI: Sebastian's kernel has no problem with VI and multi touch.
[HTC Sensation] Kameeeleon:
Awesome! Have you considered packing various speed/setting kernels together and then using AROMA to pick which to install?
[HTC Sensation] nbhadusia:
Hey Show... Any chance you could include 2wcr to the next version? Loved it in you GB kernals. Cheers
[HTC Sensation] show-p1984:
Already in it with stellar quality.

Use this to record your calls ;)
[HTC Sensation] runderekrun:
I'll make a video.
[HTC Sensation] nbhadusia:
Awesome! Thank you once again Show!
[HTC Sensation] shahkam:
Getting a md5 mismatch whit the ics v0.5 should i flash anyways ?? Idk if its just my program :O
[HTC Sensation] show-p1984:
I provide sha1 not md5 ;)

There is probably your issue ^^
[HTC Sensation] shahkam:
Ohh lol silly me