yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] tbalden:
it doesn't depend on pocket wake detection.

Much depends on if the enabled interrupt keeps the sensor on for detection.

It works fine on Sense and GPe, the question is, if there's any differences in the framework of AOSP that may cause some issue with it.
[One (M7) Original Android Development] LorD ClockaN:
I bet there are differences
[One (M7) Original Android Development] tbalden:
well, for an androider, now it sounds funny reading again what i wrote there in my previous post :D "if there are any differences between HTC and AOSP framework", is like saying, if there are any differences between a chair, and a table. :)
[One (M7) Original Android Development] tbalden:
Thanks for the feedback. I've added it to the OP Known Issues list too regarding ViperOne too. It's really weird that it doesn't happen on MaximusHD. I'll need to check this out when i get there.
[One (M7) Original Android Development] poczynek:
That is it! Changed to auto and it works! Bizarro but well worked out.

And a small donation to you tbalden for your patience and kindness and sheer brazen ingenuity!

2CC270964P017980G
[One (M7) Original Android Development] tbalden:
Thank you, my friend, much appreciated! :)

In the mean time, i've found out what else is needed to reproduce this, and I already know a way to try to fix it.

So when Auto Orientation is Off, and Display sleep is not set to Auto Sleep, the phone doesn't need to have the Gyroscope on (it uses gyro for Autosleep to determine when you didn't move the phone for a longer time, and obviously Auto Orientation of display uses Gyro too). So you and the other kind people reporting the issue had those set up like that. Phew, now at least i know what the problem was, and i can try to fix it. :)
[One (M7) Original Android Development] sinosuke:
The new F2W/Sleep was trully awesome sirs. Now my co-workers have to dodge with all their best every time i wake up my phone,hahaha

Sent from my HTC One
[One (M7) Original Android Development] j1po:
screen timed out = auto, f2s works great

If not auto, f2s works in x seconds after screen on

---------- Post added at 04:18 PM ---------- Previous post was at 04:15 PM ----------

yes, you right tbalden, after i turn on auto rotation, f2s works without auto screen off
[One (M7) Original Android Development] slipudatung:
F2W really is fantastic! A must have.

I found that a straight up and down bump, travelling only 2cm will wake the phone, but not sleep it. I noticed it while just sitting watching TV. Fidgety hands haha
[One (M7) Original Android Development] tbalden:
teaMSeven 2.2.3 installer for Sense 4.3/4.2.2 and GPe 4.3 roms:

Changelog:

Version 2.2.3 - Sep-24-2013

- Fixing Flick2Sleep when Auto Rotation is Off (and Display Sleep is not set to Auto)

--> You don't need to set Auto Rotation or Display Sleep to Auto anymore, flick2sleep should work without that

GPe 4.3 installers:

teaMSeven-gpe3-4.3-kernel-v2.2.3.zip http://d-h.st/GJt

teaMSeven-gpe3-4.3-kernel-v2.2.3-performance.zip http://d-h.st/0cw

Sense 4.3 installers:

teaMSeven-sense-4.3-kernel-v2.2.3.zip http://d-h.st/p8p

teaMSeven-sense-4.3-kernel-v2.2.3-performance.zip http://d-h.st/SKe

Sense 4.2.2 installers:

teaMSeven-sense-4.2.2-kernel-v2.2.3.zip http://d-h.st/i8d

teaMSeven-sense-4.2.2-kernel-v2.2.3-performance.zip http://d-h.st/gVU
[One (M7) Original Android Development] Whiskey103:
Iam feckin loving this place!!

All this devs working together in the true spirit of xda and a open source environment.. Really guys, this is how it should be!! :)

Keep up the good atmosphere!

Sometimes things has to be said! ;)

Whiskey
[One (M7) Original Android Development] n3ocort3x:
Would be nice if u would tell that to some moderators and users... :P U are one of not many that understand how things should work and I'm always loving to read such stuff from u :) big thumps up :)

noNeedForAsig
[One (M7) Original Android Development] h0l:
Bluetooth controllers broken?

I am on baadnewz' latest InsertCoin, and installing performance version of this kernel seems to break Bluetooth connectivity to my ipega controller. It simply won't connect.
[One (M7) Original Android Development] baste07:
Im on the same kernel & rom. Let me try my bluetooth connectivity
[One (M7) Original Android Development] tbalden:
That's the few of the issues that might happen, because the Bluetooth stack has been updated on the 4.3 base with kernel sources not yet available. My both headsets are working fine (using one right now), but it's possible that you might bump into issues with remote controllers unfortunately.

I'll have a look at the gpe4.3 sources of they contain any hint. But I don't have high hopes. The addition of Bluetooth 4 and low power means HTC is changing it often in kernel too
[One (M7) Original Android Development] elloar:
It works. Nice job . Now I can set my phone to go off-screen after 15 s and I can f2w/f2s ;)

Thx
[One (M7) Original Android Development] h0l:
So if I'm using a gpe ROM with custom kernel my bluetooth controller might work again?
[One (M7) Original Android Development] tbalden:
The theory is that yes, because the GPe 4.3 kernel is compiled from htc's released source, and BT is matching the ROM.

But again, the question is, whether they support your controller in the GPe 4.3 ROM even on stock.
[One (M7) Original Android Development] tbalden:
thread OP updated to 2.2.3, fixing the f2s AutoOrientation/Display sleep setting dependency stuff... works fine and stable now.

AOSP kernel merging in process by [MENTION=4635674]n3ocort3x[/MENTION] and [MENTION=1184673]LorD ClockaN[/MENTION] :)
[One (M7) Original Android Development] yxtl:
Sorry for this i am in perf edition im a driver and i put my phone in thle car holder ,and sometimes because of hole on the street with F2W&F2S phone wake up himself ,i think this happend bcs of gyro Not big deal just report
[One (M7) Original Android Development] tbalden:
well, maybe, if you didnt alread, you can try to use the less sensible option. Also i've contacted Trickstermod app devs, and i'm informing them about flick2wake/sleep options regarding that great tweak app, hopefully it can get it, so you can modify it on the fly for such situations. :)
[One (M7) Original Android Development] yxtl:
Ok thx alot
[One (M7) Original Android Development] tbalden:
On a sidenote about that, i've updated the kernel to 2.2.3c1 versions, but minor change only to support later tweak app integration, added a new attribute into sysfs named: f2w_sensitivity_values which lists the possible sensitivity values, namely 0 and 1, and with a bracket around the currently set value, e.g. 0 [1]

This will come handy when a tweak app will want to integrate the Flick2Wake/Sleep settings.
[One (M7) Original Android Development] h0l:
SinLessROM GE v4.1 + the kernel = My controller is supported again :)
[One (M7) Original Android Development] Lo_RaT_PeNaT:
tbalden your kernel work in new base 3.18?:good:
[One (M7) Original Android Development] fallenangel408:
yup using it now
[One (M7) Original Android Development] tbalden:
Thanks for confirming!

So 3.18 already available as custom rom, good :good: :D
[One (M7) Original Android Development] SnakecharmONE:
Gamma control in future?
[One (M7) Original Android Development] kevdliu:
Is there a way to allow HTC power saver to cap the CPU frequency? On the stock kernel turning on power saver sets the maximum frequency to 1.1ghz. Thanks
[One (M7) Original Android Development] bia9977:
You can cap it in Trickster.

---------- Post added at 11:34 AM ---------- Previous post was at 11:25 AM ----------

That's a new. I unplugged my phone at 90% battery level. Ten minutes later it shows 91%. [MENTION=3088420]tbalden[/MENTION] is there something you not telling us? :)
[One (M7) Original Android Development] DSC05:
[MENTION=3088420]tbalden[/MENTION] I'm running your kernel with the new f2w option since a few days and I absolutely love it. I have only one small issue. After switching the screen off I often accidentally turn it on again by putting it (a little bit rough ;)) on a table or some other underground. That's why I ask if it could be possible to include an option that prevents f2w to become active for example 5 seconds after the screen was switched off.
[One (M7) Original Android Development] belloni:
Does this kernal have smart max governer?
[One (M7) Original Android Development] mettleh3d:
Hmm, phone frozen at bootscreen for roughly 5+ minutes. Installed latest performed version 2.2.3c1 on top of ARHD 21, no other mods.
[One (M7) Original Android Development] tbalden:
Yes. The performance edition, as stated in the op
[One (M7) Original Android Development] tbalden:
Are you sure you flashed the right installer? No issues here, with same base
[One (M7) Original Android Development] tbalden:
Quite possible. Will look at this next when I get there :)
[One (M7) Original Android Development] tbalden:
What's it good for? I think you can control the filtering of colors by default, like lux modifies it. Aren't there apps for that already without kernel mod? I should check this, maybe you have more info already?

Edit: ok, seems for tweak apps, an interface is required. I'm curious how lux manages to control it without that mod. Interesting
[One (M7) Original Android Development] r3nz0kuk3n:
i can't download any kernel tonight, do you have the same problem ?
[One (M7) Original Android Development] tbalden:
Check the mirror provided by Whiskey103 in the OP, if you have issues with dev-host.
[One (M7) Original Android Development] SnakecharmONE:
Thanks either way it's an amazing kernel. you flar, faux continue to bring great kernels with all the best options for us HTC one users many thanks as always.
[One (M7) Original Android Development] fallenangel408:
running latest perf version on 3.18 base and everything works great...but i noticed flick to sleep doesnt work after you open camera and exit...untill you manually shut it off then it works again. is this on 3.18 or can someone else verify this, mind you i also have diff mods. just feedback
[One (M7) Original Android Development] Schrotty35:
Download not work and no Mirror for teaMSeven-Sense-4.3-kernel-v2.2.3c1.zip.
[One (M7) Original Android Development] starbase64:
possible cause upload not finished?
[One (M7) Original Android Development] tbalden:
thanks. will check this. I think exiting the camera switches the sensor off
[One (M7) Original Android Development] tbalden:
There's mirror, as i said, under the downloads, for all of the 2.2.3c1, in the OP.

Link

http://www.whiskey103.nl/OneM7_Kernels/index.php?dir=tbalden/c1/
[One (M7) Original Android Development] :
.guys use the mirror as he said tbalden, because there is' a general problem with dev-host and so for the moment, all connections with dev-host, do not work.
[One (M7) Original Android Development] papakaliati:
I have a problem that seem to be irrelevant with the settings i change on the kernel. When i have music playing ( TuneIn or Poweramp ) and screen closes after ~ 30 seconds music starts to shutter for some seconds, sometimes doesnt stop till i open the phone again. Anyone might have any idea whats going on ? Have 4.3 Android Revolution HD 21 and . Same was happening with all the previous version of the kernel ( At least the latest and previous 2 releases i can say for sure. )
[One (M7) Original Android Development] bia9977:
If you UV this will happen in PowerAmp. Try bigger buffer in PA settings.
[One (M7) Original Android Development] gunswordx:
mirror

for me dev host is not working and they stated that it will be down for the night can someone provide me a mirror for sense v2.2.3c1-performance the one in the op is for 2.2.2.

:good:
[One (M7) Original Android Development] :
hi,you're sure that the problem comes from the kernel? you tried the rom with stock kernel?
[One (M7) Original Android Development] papakaliati:
Ill check it out, no idea tbh. Thought i tried to UV aggresively.
[One (M7) Original Android Development] :
go here: http://www.whiskey103.nl/OneM7_Kernels/index.php?dir=tbalden/c1/
[One (M7) Original Android Development] gunswordx:
thanks a lot
[One (M7) Original Android Development] fallenangel408:
prob the same issue sensor with utube that also kills te flick2sleep ;)
[One (M7) Original Android Development] eyosen:
Tried it the second time on Insertcoin 3.5.1 base 3.18 with firmware 3.17. and don't have the issue you described on your previous post with camera. Just tested YouTube and same. No issue with flick2sleep or flick2wake.
[One (M7) Original Android Development] JazLiew:
I'm afraid I might throw my phone away using flick2wake.
[One (M7) Original Android Development] tbalden:
it's only an issue if you dont have Auto Orientation for display on. Then the app decides to use and stop to use the sensor. So conclusion is, i need to refine the patch for that, so that gyro actually never gets disabled, while screen is on. I'll have a look at this, when i get there, but i was a bit busy, as yesterday i picked up nexus 7 flo 2013 edition :D
[One (M7) Original Android Development] tbalden:
try it gently, and with the Sensitive option enabled in the installer. If you get the hang of it, it doesnt require too much strength.

Try it above a soft coach or pillow first lol :)

I never have thrown it so far :)
[One (M7) Original Android Development] poczynek:
Working perfectly on latest ARHD 22 version on new base.
[One (M7) Original Android Development] bia9977:
What base would that be?
[One (M7) Original Android Development] poczynek:
Oh sorry yes Sense 4.3 official ota 3.22.1540.1
[One (M7) Original Android Development] bia9977:
OK. Just checking :)
[One (M7) Original Android Development] teorouge:
--please ignore, sorry--
[One (M7) Original Android Development] tbalden:
thanks for confirming. :) About to upgrade
[One (M7) Original Android Development] eyosen:
Have fun with nexus 7 flo 2013 edition :D

As for the problem, if you say so...

But on my phone I don't have that problem even with auto rotation off. No issues with entering or leaving camera or youtube and flick2sleep or flick2wake.

And they flicked happily ever after..........:D

EDIT: One thing that bothers me is that while in camera, f2s sleeps phone, f2w wakes but not to lockscreen, but back to camera.
[One (M7) Original Android Development] SSS Desire:
Can also confirm working fine with latest Insertcoin (SVN R91) 3.22 base
[One (M7) Original Android Development] sirbanger:
Do you have the updated 3.22 firmware too?
[One (M7) Original Android Development] nbicho:
Well, I'm on InsertCoin 3.22 base as well with 3.22 firmware and I'm having issues on screen awake on/after phone calls

When I was on IC 3.18 base with 3.18 fw had the same issue on the other hand with 3.17 base all was working great

On Aroma installation I chose logo dt2w and short tap to sleep and non of the flick movements
[One (M7) Original Android Development] poczynek:
Yep and working fine.
[One (M7) Original Android Development] SSS Desire:
It's working fine here mate. In Aroma, I chose S2W, L2M and LTL2S as well as F2W, F2S and more F2W/S sensitivity.
[One (M7) Original Android Development] TwinAdk:
This is the best!

Hello!

Thank you [MENTION=3088420]tbalden[/MENTION] for pointing me here :)

Just installed, and loves it! Would it be possible to have a Home2Menu + Logo2Home + Tap2Wake + Tap2Sleep? :)

AWESOME WORK BY THE TEAM! Yes!! :good::good:

Kind Regards
[One (M7) Original Android Development] tbalden:
Going back to camera is the normal I think even when you use the power button.
[One (M7) Original Android Development] tbalden:
Hey! I'm about to upload some additional two flashables that will do your wish, swapping up LogoMenu button with Home, so Logo will work as Home, while Home will work as Menu button. One flashable to mod this, and one to revert to original, if you need to revert.
[One (M7) Original Android Development] tbalden:
So it's Saturday again, time for a bit of an update, flick2sleep minimum sleep time before next flick2wake possible.

Some of you asked for it, and I find it practical too. So 2.2.4 update with that (added option into Aroma Installer, called "F2W - 4 second wait"), and a little flashable bonus, for swapping up Home and LogoMenu buttons, to use them as Home->Menu, Logo->Home :)

teaMSeven Sense/GPe 2.2.4

Sense 4.3 - v2.2.4

teaMSeven-sense-4.3-kernel-v2.2.4.zip - http://d-h.st/PEN

teaMSeven-sense-4.3-kernel-v2.2.4-performance.zip - http://d-h.st/wdD

GPe4.3 - v2.2.4

teaMSeven-gpe3-4.3-kernel-v2.2.4.zip - http://d-h.st/Ayf

teaMSeven-gpe3-4.3-kernel-v2.2.4-performance.zip - http://d-h.st/RF7

Sense 4.2.2 - v2.2.4

teaMSeven-sense-4.2.2-kernel-v2.2.4.zip - http://d-h.st/oLJ

teaMSeven-sense-4.2.2-kernel-v2.2.4-performance.zip - http://d-h.st/J7x

===========

Touchscreen key remappings flashables (you need the kernel flashed too BEFORE flashing this!):

Swapped (Home->Menu Logo->Home)

teamseven-swapkeys-home2menu-logo2home-1.0.zip - http://d-h.st/DGn

Original (Home->Home Logo->Menu)

teamseven-swapkeys-original-map-1.0.zip - http://d-h.st/S9d

Mirror, thanks to [MENTION=2632943]Whiskey103[/MENTION] again:

http://www.whiskey103.nl/OneM7_Kernels/index.php?dir=tbalden/2.2.4/

AOSP merging may come soon (homebrew CM by [MENTION=1184673]LorD ClockaN[/MENTION] and [MENTION=4635674]n3ocort3x[/MENTION] 's kernel)
[One (M7) Original Android Development] Byrana:
One quick question. I have selected no pocket protection, since I am using a flipcase. It is not possible to flick to wake my phone with the case closed. If I cover the proximity sensor with my finger and try to wake the phone, it is also not working. Is this behavior intended? That would mean the sensor is also constantly on and drains battery, doesn't it? I am using the 4.2 kernel.
[One (M7) Original Android Development] tbalden:
It's just like you detailed, but it won't drain.

It won't drain, because the Pocket wake detection is only checking and switch on the proximity sensor for a very short time when there's a wake event being attempted, so in case of Flick2Wake only for a very very short time, when the phone is being flicked. You won't notice it. The reason behind this is if it weren't checked, the phone could wake in a bag or case or pocket, even when you don't intend to wake it, and wouldn't really notice.
[One (M7) Original Android Development] DSC05:
[MENTION=3088420]tbalden[/MENTION] thanks for your update! Could you add the 4 second wait for every manual screen off event in your next update? Because I don't use f2s only f2w.

Gesendet von meinem HTC One mit Tapatalk 4
[One (M7) Original Android Development] tbalden:
Good idea, will add that too. :)

EDIT: also will fix the exiting Camera, exiting YouTube (with no auto orientation and no Display auto off set) issue where f2s doesnt work after exiting those apps.
[One (M7) Original Android Development] TwinAdk:
Thank you [MENTION=3088420]tbalden[/MENTION]! That is pure love!! Will flash ASAP and report back! Thank you once again! The reason im requesting that particular combination, is because its true to the HTC One X way of placing the touch buttons (http://bit.ly/1aynqQY) :) :good:

EDIT [MENTION=3088420]tbalden[/MENTION]:

Is this the ICJ on the way for the One, as some know it from the HOX? :) :fingers-crossed:

Kind Regards

TwinAdk
[One (M7) Original Android Development] Byrana:
Makes sense, even though I wish there was a different solution. I wanted to flick 2 wake and than open the case. Now,I always have to fully open it. Never the less...great work.

---------- Post added at 04:54 PM ---------- Previous post was at 04:51 PM ----------

Could you also add the frequency and voltage tables from the 4.3 kernel to the 4.2? Only, if it is not too much to ask. I guess, it'll be some time until viper rom gets its update.
[One (M7) Original Android Development] TwinAdk:
Hmm.. Flashing teaMSeven-gpe3-4.3-kernel-v2.2.4.zip (stable) never completes... Its frozen at 0%.. Will try rebooting and flash again. I have 2.2.3 flashed already..

EDIT:

It worked the second time.. This time i didnt select the "remove 3dot" option (i know i dont need to) - and it worked. If its related i dont know :)

- AND the reverse home/logo patch is working! My capacitative touch now behaves as on the HOX <3 Awesome job [MENTION=3088420]tbalden[/MENTION]! You just made my phone sooo much more like i want it! It is simply fantastic that genious people mod the very specific things you request :)

KInd Regards
[One (M7) Original Android Development] tbalden:
will have a look at this, i forgot about it in a while. thanks for mentioning :)
[One (M7) Original Android Development] tbalden:
teaMSeven Sense/GPe 2.2.5

- Changes:

Version 2.2.5 - Sep-28-2013

- Enhancing "Flick2Wake 4 second wait" option for all types of screen off events

- Fixing Flick2Sleep issue when user apps switch off Gyroscope sensor (like youtube or camera)

Sense 4.2.2-performance edition additional change:

- Updating GPU UC/OC, CPU min freq 81mhz taken from our 4.3 kernels

Sense 4.3 - v2.2.5

teaMSeven-sense-4.3-kernel-v2.2.5.zip - http://d-h.st/fyn

teaMSeven-sense-4.3-kernel-v2.2.5-performance.zip - http://d-h.st/rrQ

GPe4.3 - v2.2.5

teaMSeven-gpe3-4.3-kernel-v2.2.5.zip - http://d-h.st/9Zz

teaMSeven-gpe3-4.3-kernel-v2.2.5-performance.zip - http://d-h.st/wB2

Sense 4.2.2 - v2.2.5

teaMSeven-sense-4.2.2-kernel-v2.2.5.zip - http://d-h.st/GBT

teaMSeven-sense-4.2.2-kernel-v2.2.5-performance.zip - http://d-h.st/Vgm

Mirror: http://www.whiskey103.nl/OneM7_Kernels/index.php?dir=tbalden/2.2.5/

Enjoy!
[One (M7) Original Android Development] DSC05:
So fast! You're the best!
[One (M7) Original Android Development] Denpech:
The head to be turned from the updatings, each hour that that new))) :good:
[One (M7) Original Android Development] manwinder:
great kernel. I had a problem with it, i am on sd v5.0 and i wanted the htc logo to be only menu nothing else, i selected it and did the flick to wake and sleep and the problems i am having is that the htc logo is the menu button but also the sleep button and i didn't select that. I went back and restored my nandroid and selected no options in the touch to this or swipe to that and it installed but it didn't change any of the features, it still is logo for menu and long press logo to sleep. I assume when i restore the backup it doesn't restore the original kernel. do i flash the original kernel (and if so where can i get it) or is there some other problem. Thanks

***UPDATE***

sorry i found out the rom has the sweep to wake and logo to sleep built in, is there any way to remove it

***UPDATE####2***

trickstermod has the options in it, my bad for wasting your time
[One (M7) Original Android Development] tbalden:
You can try to use an app like Trickstermod to switch it off in Screen wake options part of the tweak app.
[One (M7) Original Android Development] manwinder:
oh ok thanks
[One (M7) Original Android Development] tbalden:
OP updated to latest release, 2.2.5

Wanted to thank you guys for all the ideas related to Flick2Wake/Sleep. Now I feel like it's quite refined. Hopefully we will see a Trickstermod update sometime, that will support to switch these options on/off. I've sent them the sysfs stuff so i'm hoping for that. :)

I love how that team and [MENTION=4141999]bigeyes0x0[/MENTION] progress with their app :)
[One (M7) Original Android Development] SnakecharmONE:
Thank you for your continued desire to bring us such an amazing kernel with great tweaks
[One (M7) Original Android Development] poczynek:
Thanks so much but the download on the performance sense is only downloading a 17kb file!
[One (M7) Original Android Development] tbalden:
Try again or try the mirror

Here http://www.whiskey103.nl/OneM7_Kernels/index.php?dir=tbalden/2.2.5/
[One (M7) Original Android Development] SnakecharmONE:
Upload was fine here
[One (M7) Original Android Development] EnIXmA:
Aawesome update.. Thanx
[One (M7) Original Android Development] v3rtex:
Do you plan to add cpuquiet to this kernel, like on your v46 AOSP release?
[One (M7) Original Android Development] stegg:
Hi, any idea about why the aroma-installer suddenly reboots after the settings pages, and doesn't install kernel?

(I'm s-on)