yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] V6-Maniac:
Show-p1984 you are the master.... Slide to unlock works like a charm

Guys, swipe your finger over the hardware buttons and see what happens ;-)
[HTC Sensation] tessut:
Whats that ???
[HTC Sensation] show-p1984:
Sweep over the home/menu/back/search buttons on your screen ;)

Remember: Earliest alpha ever. Loads of bugs.
[HTC Sensation] gen129:
super COOL!!!

Sent from HTC Sensation ARHD 6.6.0
[HTC Sensation] remus82:
On screen off, try tapping your home button.

On lock screen, try tapping your search button :D :cool:
[HTC Sensation] Moon2:
For an alpha, it works really well!
[HTC Sensation] Muxeu:
Oops. Amazing. But really "Earliest alpha". Sometimes works sometime not.

Have 12 screenshots during testing but didn't touch Power button at all ;)
[HTC Sensation] elmalote:
Show, did you tweak the autobrightness settings in the easter egg 0.65 version?

It seems more aggressive than the 0.61 version :-)
[HTC Sensation] iba21:
and the power consuption? :p

nice eegg! :D
[HTC Sensation] Potapson:
Sweep2unlock-working well-InsetCoin 5.2.0:)
[HTC Sensation] Jaglicic:
+1...orDroid 1.9.1

Sent from my Sensation
[HTC Sensation] Bluewall:
Hey guys, i'm back from a weird party, on the moutain. Really high moutain. They were starting to snow, the road was AWFULL and i had a big animals right on the road.

So i'm little bit "schocked" right now, worst car experience ever lol :D

So, i'm asking you something, and particulary Showp, is this new feature a battery killer? or it must not in theory ? what do you know about it ? since it was started few month ago on evo3D ? :)

Anyway, excellent work my dear showp ! as usual ;)
[HTC Sensation] show-p1984:
Erm...

That feature was started roughly 6 hours ago by me.

We don't have source code for that evo3d stuff, and I doubt we will ever see it. And thus it only exists for a few hours I have no idea how it does affect battery life over a long time period.

I can only say: Phone running for 4 hours, still 100%.
[HTC Sensation] Bluewall:
Oh okay i see, i thought it was from the source code of evo3d, my bad ;)
[HTC Sensation] shark147:
Congratulation for new kernel Show.

Sweep2lock - work good.

Sweep2unlock - don't work.

Can you check? Thanks.
[HTC Sensation] show-p1984:
Don't get this the wrong way, but...

SERIOUSLY???

Look what I wrote here, especially the last point.
[HTC Sensation] shark147:
Sorry now I understand.

Thanks again.

Send from my HTC Sensation XE with SharkDrOiD ICS-XE ROM!!!
[HTC Sensation] Termic:
Working great on Virtuous Inquisition 4.0.1! Great Easter egg Show! :D
[HTC Sensation] durps:
what rom and cpu settings are you using, if you don't mind me asking
[HTC Sensation] show-p1984:
All defaults. 1566/192/etc...

IC 5.2.0 ;)
[HTC Sensation] show-p1984:
The long list of special features I am bringing to you is not at an end!

I present, Bricked-3.0-v0.65 - Everyday I'm sweepin'

Since slide2unlock was introduced we were promised source. Half a year later we still see no source. Well, Challenge accepted!

A lot of you asked me in the past few months and now it is time to present to you:

Sweep2Unlock!

Because I was so frustrated with the initial results you saw in my egghunt kernel I just kept working until it was finished ;) At least I hope it is, lol :D

Changelog:

Zip:
* once again edit compatibility scripts for faux & ARHD
* add tun init.d script for automatic module insertion
Kernel:
* 35015fb : board-pyramid: move the home key slightly to the left, avoids unwanted screenshots
* 56d7cc1 : sweep2unlock: break the loop if triggered, decrease sleep delay, change values to avoid screenshots
* 0a31f15 : sweep2unlock: change values to avoid taking screenshots when touching 'home'
* 8693145 : sweep2unlock: use an additional variable to determine if the barrier is already breached
* 0c7362c : sweep2unlock: don't allow jumping through all barriers without having hit them
* 0e6c741 : sweep2unlock: set scr_suspended early so that additional locks/unlocks are avoided
* 7d9c236 : sweep2unlock: change barriers for screenoff trigger to avoid taking loads of screenshots :D
* a96c94c : sweep2unlock: change conditions
* 6ed0bee : sweep2unlock: change sleep value, correct typo, add comment
* 8360777 : sweep2unlock: remove lck_reverse & checks
* 743e671 : sweep2unlock: check if screen is offline
* 1900579 : sweep2unlock: Add sweep2unlock v0.1

Download:

Bricked-3.0-v0.65-ics: Click Me

Issues:

If you sweep too fast to lock your screen it may occur that the HTC screenshot function is triggered, though I have reduced the probability of that drastically. I can't fix that inside the kernel. A clean fix would be to disable that inside the build.prop and use the aosp way of taking a screenshot: VOL.DOWN + POWER (hold for about a second). Looks nicer, and works on every ICS device the same way.

Code to disable HTCs screenshot:

Change

ro.htc.framework.screencapture = true

into

ro.htc.framework.screencapture = false
[HTC Sensation] V6-Maniac:
Thx mate,

As i mentioned you.

I will add a bash to let the user choose what they want.

Now i'm gonna enjoy sweep
[HTC Sensation] Nekromantik:
awesome work!

does this feature sacrifice battery life at all?
[HTC Sensation] show-p1984:
No idea, time will tell. That's the only reason why this is still a beta to be honest ;)

Since I programmed it inside the irq function, it is only been triggered when the screen is actually touched. There is nothing running if you don't touch your screen. However the screen is constantly in standby to be able to report a touch and not suspended as it were before.

Battery usage should only increase slightly.
[HTC Sensation] Kohr-Ah:
So far today :)

Very impressed.

Sent from my Sensation in UrQuan subspace
[HTC Sensation] Nekromantik:
thanks!

cant wait till you can make us choose the sleep governor in the zip name.

I usually set it to power save and then only loose 1-2% over night.
[HTC Sensation] show-p1984:
I see no point in setting a sleep governor.

When using kernel defaults there are only 4 frequency steps available to scale when screen is offline (because of maxscroff). A different governor does not give you that much of an advantage, if it even does.

My own experience proofs that, 0-2% lost overnight (6-11hours).
[HTC Sensation] Kellicros:
Forgive my ignorance and being total noob but what is this sweep2unlock and how do i use it? I read then whole post still dont have a clue. :(
[HTC Sensation] bonesy:
I too wonder what this is n how to use it!

Wow that is so cool! Swipe home to search keys to wake device then other way to sleep!
[HTC Sensation] Alexxxxxander:
Thanks for you job, man! Really want to install it again and again:D

Just a little "bug" here: If i sweep from left to right while screen is on, phone is launching search app (like I only pressed search button).

Anyway, thanks again!
[HTC Sensation] DakuGaranto:
If I'm coming from Faux kernel (ARHD 6.6.1), do I need to delete any files like init.qcom.sh or something else to prevent any conflict or I just can wipe daliv cache and cache and I'm good to go to flash Bricked?

Thnaks
[HTC Sensation] Kohr-Ah:
Best thing you can do is reinstall the rom ontop of itself (no need to wipe) choose stock as the kernel option then flash this

Sent from my Sensation in UrQuan subspace
[HTC Sensation] MOVZX:
It's working, very funny. But when I swipe from Home to Search, the screen just wake up and not unlocking. I should pull the ring to unlock the screen.

But this is really interesting, thanks Brick!
[HTC Sensation] remus82:
I think it would be very difficult to have the feature unlock the phone at the same time as that function could be rom dependent. I stand corrected though! You never know what magic show can do lol :cool:

Sent from my Sensation running HyperNonsense v1.5
[HTC Sensation] kozmikkick:
I think that's the idea. Much better than having to wear out your power button :cool:
[HTC Sensation] Snake_skw:
i know this is very early beta of this feature and it's a great idea :-)

one bug i noticed,when you lock and unlock fast using swipe it works,but when you lock,wait 5+ secs and then try to unlock it doesn't work...just letting you know,great job so far :-)

Sent from my hTC Sensation
[HTC Sensation] happyminti:
Agree

Gesendet von meinem Sensation mit Tapatalk
[HTC Sensation] Bytemen:
It works, but not longer the options in zip named.....

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk
[HTC Sensation] Solar_:
This is SO cool. :cool:

Can't wait for the sweep2(un)lock 100% working.

v0.65 is running amazing; no more lags or what ever!
[HTC Sensation] show-p1984:
I will post a video later but for now he described it very well:

Because this is the last button pressed by you ;)

Left to right while screen is on has no function. Don't do it :p

Yeah there seems to be some additional sleep measure. If you sweep very slowly it will still unlock though. Seems there is another interrupt involved as soon as the display is in suspended state.

O'rly?

Haven't tested that, will maybe I missed something this morning, I was very tired ^^

I will look into that ofc ;)
[HTC Sensation] Bluewall:
Excellent work my dear, working pretty great on MIUI V4 (not AOSP btw, the official MIUI).

If i can give my 2 cents, just to improve your beautiful work and give ideas, i think it could be pretty cool, if possible, if the haptic feedback is off when you sweep to lock or unlock :)

Btw, if you can do one thing even more amazing, the backlight button moving like the "slide to unlock" on iPhone, if you know what i mean ?

This is NOT request. This is only idea that i wanted to give to the community :)
[HTC Sensation] Bytemen:
Take your time, remember its easterday

Gesendet von meinem HTC Sensation XE with Beats Audio Z715e mit Tapatalk
[HTC Sensation] show-p1984:
afaik the backlight behind our capacitive buttons is only controllable as one led. So this might not be possible. ;)

Haptic feedback is rom controlled. I could block it inside the kernel for the duration of sweeping, but this might throw up other problems. Will look into that.
[HTC Sensation] Jonny:
Just out of curiosity do you know the files in which haptic is in, I'm trying to fix it in sense 4 ROM's and if I had to guess I think services.jar but I'm not sure ;)
[HTC Sensation] Nekromantik:
will you be adding sweep2unlock as a standard feature in future builds or will it be a option?
[HTC Sensation] tessut:
Hopefully a option :D
[HTC Sensation] show-p1984:
For those who asked:

also @2nd post.

[youtube]jri2BMQHHrs[/youtube]
[HTC Sensation] sjknight413:
How did you get that nice gradual screen on effect going on show?
[HTC Sensation] dublinz:
Show-p, as you can see i am on Elegancia rom, we have option to flash your 0.61 kernel. I dont know do you need it or does it help you anyhow but i took logcat and i will post it here for you.
[HTC Sensation] show-p1984:
I don't know. It's just there :D

To be honest I never noticed it until you mentioned it.

erm...

for what is this logcat?

Also (for whatever this is): a kernel dev usually needs kmsgs ;)
[HTC Sensation] dublinz:
Will keep that in mind ....
[HTC Sensation] peacekeeper05:
The swipe unlock/lock on the softkey is revolutionary! Once perfected I no longer have to reach the hardware buttons at the top. Really nice.
[HTC Sensation] remus82:
http://pastesite.com/34087

show. My second freeze and reboot of the day. Hope this helps. :)

Could be a rom problem. Nevertheless here it is :)
[HTC Sensation] show-p1984:
Your CPU1 failed to come online. 2 times.

[ 5646.301757] CPU1: failed to come online
{...}
[ 5660.077362] CPU1: failed to come online

Device or settings problem. Check undervolting / overclocking. If on defaults give it a bit more juice (+25mv)

If that does not solve it, it is likely that your device pulls up it's hoofs.
[HTC Sensation] Bluewall:
Sees the second core was offline and wouldn't go online whatever. Seems kernel related.

But not sure what i'm saying :D

EDIT: Damn, showp is fast. lol
[HTC Sensation] remus82:
You mean my cores have weaken? :( Not overclocked or undervolted
[HTC Sensation] Sebby:
removed
[HTC Sensation] undercover:
Ffs, why are you accusing him of hiding something that is an already well know bug? You are just making yourself look more and more stupid and it's fairly obvious that you are holding a grudge against show.
[HTC Sensation] show-p1984:
Please just read the description...

And it works the same way I showed there without charger.
[HTC Sensation] Sebby:
i removed it this is really the last time i say something in this threat

next time i got 10 point i got already 5 point

i now there is still a bug

but other people that see the video for the first time think it is working correct

with phone off the charger

and i have no grudge against him
[HTC Sensation] hlenforcer:
it does for me to, only as affirmation...

BTW there is no headline above the video or in the description, which says: here is the perfect working sweep2unlock ... it is simply the fulfillment of the request to explain what sweep2unlock is, cause lots of ppl didn´t know and it was not explained before because it was an easter egg to find ...

Sorry i don´t get your problem, nowhere is written down that it works nearly perfectly and what you see on the video is also working for me, even without usb ...
[HTC Sensation] undercover:
You are just digging deeper and deeper..........
[HTC Sensation] schiphol:
Dude quit hating (edit before broncogr feels the need to start flexing muscle: hating as in complaining / expressing hostility, a slang term not to be taken literally as in 'hating someone's guts'). Check my picture on the left! Zeker als een Duitser je een toffe kernel maakt moet je niet de hele tijd lopen te zeuren ;-)

Btw I'm wondering if the sweep to unlock could be made to dismiss the lockscreen at the rom level (I suppose?). I like being able to jump straight to my shortcuts from the sense lockscreen and would hate to lose that functionally, yet, swiping the ring to unlock seems obsolete now that we are getting this cool sweeping thing.
[HTC Sensation] Sebby:
this really the last time i replay or say something in this threat

but try it with charger and wait 1min. you see it still works

now you disconnect the usb and do the same thing after 1min you see it dont work

and really guys i now it dont work correct (but with usb in it works correct)

that only i want to share

---------- Post added at 07:36 PM ---------- Previous post was at 07:34 PM ----------

if you call this hating

men where do you people come from
[HTC Sensation] undercover:
Because it enters deep sleep. Is it that difficult to comprehend?
[HTC Sensation] df1ech:
Wanne blaet aep
[HTC Sensation] Gunkk:
Swipe to unlock also doesn't work if you've modded the framework with a volume wake-up patch... So Seb's issue "may not be kernel related" (TM).

:cool:

Sent from my brain
[HTC Sensation] Termic:
Just FYI: Mine works fine and I have a volume wakeup patch.
[HTC Sensation] Bluewall:
Go to settings, security and disable all lockscreen, then it should work ;)

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] schiphol:
Yeah I know but that also disables functionality that allows to you launch select apps by 'pulling' them thru the ring, or look at the time without unlocking the phone (by pressing the power button).
[HTC Sensation] D00mSlayer:
Small preview of IncertCoin 5.2.1 with show-p1984's awesome kernel.

https://www.youtube.com/watch?v=kFIxa0zfiz8&feature=youtube_gdata_player

Watch it! :)
[HTC Sensation] Bluewall:
Wow i didnt get the end of the vid lol

Envoyé depuis mon HTC Sensation XE with Beats Audio Z715e avec Tapatalk
[HTC Sensation] Gunkk:
Well must be my ROM or user error...

Sent from my brain
[HTC Sensation] Sharpi1:
Any1 else having randomreboots? I got 4 this Day... 1 reboot and 3 shut downs o.o. and SES I have done a clean flash wiping and formating everything before Flash Rom Update
[HTC Sensation] show-p1984:
Your post is as helpful to me as this is to a mechanic:

Anyone else's car doesn't start? Oh and I did clean it this morning.

Not at all ;)

Gimme logs, Rom, kernel version, min/max, maxscroff, governor, under/overvolting?, gpuoc?... etc

That should be the minimum amount of information ;)
[HTC Sensation] Pens and DreamS:
Kernel working great on my sig rom!
[HTC Sensation] cesarbuzatto:
I am also having locks with the 0.65 kernel, the screen get on, but q cant pull the ring, looks like that touch gets logk or wont wake up. It dont happens with 0.61

I dont now how to get a log, sorry...

My system is insert coin 5.2.1, undervolt in .75mv, max clock 1.45Gh min clock 192Mhz, conservative governor, gpu low overclock (stable with .61 kernel), leedroid tweaks 4.0

Thanks

PS: I get a log, dont now if it helps......
[HTC Sensation] Sharpi1:
I Know what you mean. Just wanted some statements about the reboots so I can say its my fault. Wont start a drama before :D just flashed again latest insert coin with V0.61, biggest GPU oc with bandwith. Till now it runs smooth, reporting if it happens again, thanks Show-p ;)
[HTC Sensation] smint86:
Hey show, nice work with sweep2unlock. Another innovative idea by a great developer. You know best about the bugs, don't have to repeat them again. For me the feature is not a biggie, as I don't need it. Maybe a nice feature for the aroma installer? :)

Anyway, you come along with great ideas and really change the spirit in this forum. All of it open source, I really like your attitude. If all devs would work like you do, xda would be a better place! Keep going on!

Swyped from my HTC Sensation using Tapatalk
[HTC Sensation] broncogr:
Ok guys.

Regarding GPL compliancy of latest beta kernel, dev has been given 24 hours to provide sources.

So until then no posts regarding that will be tolerated.

Such matters should anyway be handled by pm.

Cheers
[HTC Sensation] show-p1984:
As we have agreed in our chat.

And I would very much like it if future requests could be made via pm. If someone asks nicely it's just a whole different story than hard hitting the report button.

I already told everyone sources will be given, once I am finished. I never intended to hold it back. It's just that it is still full of flaws.

So now I have to try to work my ass off in 24hours and give to you a close to ok source. While I would have liked to release a perfect one.

Thanks for that.

/vote for infractions for people who just hit report without asking nicely first.

Also it is quite shocking timing. Sweep2Unlock is in beta (out of alpha) and I am reported. Somebody wants to kang it very hard.

The funny thing is: he/she would have gotten a fully working sweep2unlock in a few days. Without the need to report me... As i already said, it would have hit my git when it would have been finished.

As a result of this I am taking now this action:

Source for the latest open beta if I can't finish sweep2unlock in time. (If I can everything will be uploaded)

And no more betas with close2working code that just needs loads of testing to find out all the bugs. This will increase development time. (for example the issue with the search button on sweep2unlock, since I don't use it I wouldn't have noticed that without a beta ;))
[HTC Sensation] akapaul26:
Nice work sho. Your kernel runs awesome on Elegancia! Thank you very much...donation on the way!

Sent with my Elegancia powered sensation 4G
[HTC Sensation] broncogr:
Guys, I said no more posting regarding GPL.

The dev has made his statement this is enough...

Thanks
[HTC Sensation] Nekromantik:
Im having bad battery drain on 1.61. :(

11 - 13 hours light use

I went straight from beta 1.5 to 1.61.

Its not a app as I been using same apps and config since 1.5.

Im running IC 1.5.1
[HTC Sensation] show-p1984:
Actually that anger against the mod or the mods in general is misdirected (after all they too donate free time to us). broncogr in specific never was unfair and afaik always tries to treat everybody the same. He also is the most present mod in this forum which is a good thing in my point of view (no offense to the other mods). Though it may be true that other developers were given more time under other circumstances, I agreed with the 24hour term in the long irc chat I had with broncogr.

Your anger should be directed against people who just hit report because they are source greedy and it is anonymous, or don't like me and my work and just want to f... with me. There could have been a post, or a pm, or an email, or some contact before using the report function. I would have given the person in question the unfinished source with a strong suggestion to wait for the public final version before publishing it. This was not the case and now someone forced his hand. I have no hard feelings against broncogr.

I am just sick of this behavior a few ppl tend to show. I mean: you don't go to the police when your neighbor cuts down your plants over the fence, or fails to give back your lawnmower. You try to talk it out first. This should have been the action in favor. After all most of us, even those who are 14 years old, should be above the "mommy, mommy, xyz stole my toys" state. At least I was at that age.

Regarding GPL there is no room for discussion. I misbehaved. I shouldn't have released a binary without the source. I didn't do this in the past, which led to some unstable releases, but i was at least GPL compliant. This time I thought I could profit from a alpha/beta release, and I did. Sad is just that someone couldn't wait 3 more days and even reported me on Easter.

Edit:

broncogr: I just saw you cleaned the thread (thx ^^), if you want you can delete this post too, though I think it should clarify some things.

MOD EDIT: Removed quoted post
[HTC Sensation] show-p1984:
First of all there is no 1.5 or 1.61. I assume you mean 0.5 and 0.61.

There also is no IC 1.5.1. Do you mean 5.2.1?

What is your understanding of "light use" and "bad" battery drain? ;)

Furthermore, there is no one experiencing a battery drain, and against the believe of some ppl: I do not try to built in an intentional battery drainer. ;)

In fact I am using the kernel myself and my sensation is still my main phone. If the kernel would indeed drain battery I would be one of the first to notice. But in fact it is the most energy efficient setup I had up until today. Especially while idle and sleeping.

I suggest (strongly) you double check your apps and settings. Mostly it is a user error which causes this behavior. I am however happy to be convinced otherwise ;)
[HTC Sensation] Nekromantik:
Yeah 0.5 0.61 and 5.2.1..its late lol

Light use is send a few messages on ping over 30 mins and browse the net for 15 mins and few txts through a day.

I woke the phone from 55% and then opened the app draw to go to twitter and then looked at a DM and then closed it and I lost 3% from just 2 min use.

I will recheck my apps and settings then. :)
[HTC Sensation] akapaul26:
I have exact opposite results only13% drain with steady use in 8 hours!

Mods, do not shut this thread down, show will show. All u crybaby ******* crying about **** and reporting show.....gtfo. Anyway again the kernel is awesome and look forward to future development.

Sent with my Elegancia powered sensation 4G
[HTC Sensation] show-p1984:
Ahh the incredible accuracy of the Android battery % indicator ;) *coughs* :rolleyes: