yashsingh1/xdaforums huggingface dataset:
[HTC One S] germandude68:
This might not be a bad idea, Zarboz. I remember this from a long time ago on the jailbroken iCrapple 3G. There was an option on the bottom even with color highlights and could even increase or decrease the height of the color swipe line.

I'm sure adjusting the height of the line and if you want the swipe line to be colored so you know where to swipe would be, probably has to be updated in the ROM as an option. But the swipe line could be as small as the battery indicator line on top through the current Viper OneS ROM and if I'm not mistaken can also adjust the height and colors. Maybe the ROM team is willing to work with you on this. We're all just throwing out ideas for now to come to an easier solution. :D

Sorry dude to mention the iCrapple, I hate it too, but that's where I've used it the first time when I had the jailbreak and years ago...LOL.

Update: oh my gosh, I totally missed your post while I was probably writing this thing above. WOW...you're the master, Zarboz. Thank you! Before I install it, does it now slide through the buttons or the display?
[HTC One S] acerulz:
How to install it on trickdroid ..lil help someone ..m using cwm only ..
[HTC One S] Elloco305:
My question is one I have not seems mentioned recently.

Now that the s2w is actually on the screen xy axis. Will the phone ever go into deep sleep?

If not this will be a battery hog, correct?

Again thank you,for this you genius lol
[HTC One S] saprydion:
Oh my god...I was eating potato chips when I saw "Sweep2wake is here". I almost choked!

I flashed it and it is working well! Thank you so much, Zarboz!!!

If it is not too much trouble, can you please explain briefly how it works? I mean, such that it doesn't interfere with UI?

---------- Post added at 08:04 AM ---------- Previous post was at 07:55 AM ----------

I think the battery drain will not be any worse than the original implementation of s2w because as Zarboz found out, One S has separate controller for the three button, apart from the screen. This wasn't the case in Sensation, where Baadnews first came out with s2w. Sensation, as far as I can deduce, use the same controller as the screen for touch detection so the buttons in Sensation are actually almost part of the screen.

One a side note, when I first got One S, I felt the buttons were much more responsive then on the Sensation. Could that be the reason why HTC chose to use separate controller for the buttons?
[HTC One S] alphaeagle777:
i am running viper with new kernel s2w, i have to do the s2w a couple time before it actually wake

now i have this http://www.ghost-armor.com/HTC/795.html on my phone, witch actually cover the bottoms

i tried a fresh install it was the same, sorry no log, hboot 1.09 waiting for another rom to download but taking longer
[HTC One S] k1llacanon:
Is this kind of the same like fusion kernel will I get 5hr screen time with some settings? I'm really inclined into sweep2wake

Edit

Someone give instructions how to flash ain't flashed a kernel in a while thanks
[HTC One S] wanxu:
It is possible to do a home button to wake?
[HTC One S] trungarow:
Thanks for amazing works! Sir, it works like charm.

Again, thanks a lot.

Sent from my HTC One S
[HTC One S] snwman:
Read the op man it explains all there

Just installed it there now, have to say didnt think i would use sewwp to wake but my god its cool... Fair play to you man.
[HTC One S] k1llacanon:
I ant find it... So what is your guys screen time with this kernel?
[HTC One S] Sneakyghost:
Hi Zarboz,

i was quite reluctant to change to your kernel as i was using Klins with much success and stability for a while now and i had this bad Battery thing in the back of my head with your Kernel.

I changed to your 2.0 version yesterday just before you updated it. I am on hboot 1.14.0002. it flashed well. The method you employed here is brilliant. Thanks so much.

I must say i am quite impressed. It is working very well, smooth and stable.

I had one very bad incident though yesterday which i cannot really tell where it came from.There is a tiny chance it's from the kernel so i am mentioning it here but i actually doubt it is.

About an hour after the flash, the phone was in my pocket at the time, it shut down. When i pulled it out i realized it was off and wanted to start it up. Nothing happened though. So i tried the 10- second battery pull simulation because i thought it might be stuck in screen-off but it was really dead.

I then plugged it into the wall to see if the charging light comes on. It didn't.

I knew the battery was like 50% before it shut down.

After an hour at the wall it came up online again with 30% battery.

The phone had a screen- and housing replacement last week and most likely gotten a new battery. So my assumption is: total ****-up of the battery meter. Phone was actually down to zero but still showed 50%.

Just in case you can do anything with this info. Don't worry about it if you think its totally absurd to connect this to the kernel.
[HTC One S] arko7123:
thank you Zarboz for this amazing kernel

it's possible for you to disable led notification timeout? 5 minutes are unacceptable for me and i don't like reminder apps :eek:

i found this on github from another kernel, maybe can help you :fingers-crossed:
[HTC One S] snwman:
Read the download section very carefully if you cant see it then you should not be let near a phone:cyclops: All you have to do is download the lateset release and flash it through recovery. Im using the offical cwm touch recovery and on hboot 1.14.0002

Screen time i think its pointless bragging about it everyone has different ways they use their phone. Me i get two days out of my phone and i play games on it like eternity warriors 2, rayman and deer hunter and browse the interent.. Fair play to people who get 3 to four days out of a phone, just test i out and see how it goes
[HTC One S] k1llacanon:
Just did have an operation on my eye so I really can not see much lol thanks anyway I thought u would have to flash zip and then write that command on cmd as well
[HTC One S] invasion2:
Sweet Zarboz, great job!!

Sent from my HTC One S running ViperOneS!
[HTC One S] snwman:
No worries man, i know myself from flashing kernals for this and then once i tried this one i was like we just have to flash it and thats it.. cool.

Just wish other developers now would implement it into their roms
[HTC One S] k1llacanon:
What did I do wrong I flashed but not on kernel? Well I think I ain't
[HTC One S] germandude68:
Yo Invasion, did you install it?
[HTC One S] invasion2:
About to. I'm at school lol so I might not tell you results for a little while.

Sent from my HTC One S running ViperOneS!
[HTC One S] Sneakyghost:
I just ran the current update n it ain't installing for me either.

Just about checking wether the 2.0 version still works on my new install. Maybe something wrong with my system here.

Using TWRP 2.3.1.0.

OK 2.0 Blackout doesn't flash either.

Only difference to my previous installation: this time i ran RUU 2.31 before. Last time it was RUU 2.21.

Also i was on Klin's kernel before i flashed this one the last time i did it.

There might be a minor difference in how the security is set up.

This method might not work with the latest RUU anymore??
[HTC One S] invasion2:
Just flashed it. Worked great, s2w working great. I'll report battery stats later on.

Sent from my HTC One S running ViperOneS!
[HTC One S] germandude68:
Ok guys, I couldn't resist to install it and it installed fine. Went with the stock kernel though, as it is plenty enough for me. When I rebooted the device went into safe mode for some reason. Rebooted again and it's fine. The only weird thing was it had the stock HTC keyboard back again (I'm using the Smartkeyboard Pro). I'm gonna try AssWax governor this time and see how it goes. No need to select Sweep2Wake in the Venom Tweaks. By the way, it takes a bit getting used to with the swipe, as its located between the end of the screen and the buttons (kind of like in the middle of the two. I'll give Zarboz kernel one more try. I never had to even bring a charger with Klins kernel and no need to recharge until late night.

The user who reported something about a 5 minute notification LED warning, it doesn't happen on my device.

Thank you very much again, Zarboz. Good work!
[HTC One S] Sneakyghost:
How did you flash? What where your preconditions guys?

What base and kernel before flashing?

What recovery?

Thanks.

btw: i flashed Klin's Kernel now via Fastboot and now Zarboz's Kernel is about to install fine. So it must be the stock Kernel that doesn't permit the "install_kernel.sh" to run. At least that's what i believe. So there is probably no way to run this workaround method on a stock Kernel. If i am not mistaken.

Regards,

Sneaky
[HTC One S] k1llacanon:
Sweep2wake doesn't work for me do I need to activate it?
[HTC One S] Sneakyghost:
Read changelog:

For me it was already set to "1" and it is working. Thanks.

K1llacannon, did you maybe try to swipe the buttons? That doesn't work yet. You need to swipe the screen where your navbar is. That works.
[HTC One S] invasion2:
Running latest Viper, klins kernel, TWRP, and wiped cache. Selected 1.7GHz, s2w, and stock lowest voltage 384MHz'

Sent from my HTC One S running ViperOneS!
[HTC One S] k1llacanon:
Yeah I tried that but it doesn't work :confused: also in twrp it would not install I had to take off signature check does that mean anything?
[HTC One S] kira411:
Deleted
[HTC One S] k1llacanon:
I can't find the directory sys I'm so confused
[HTC One S] germandude68:
I have base 2.31, klins stock kernel, hboot 1.14.0002 and installed from TWRP and no problemo, dude. For me Zarboz' kernel is the easiest to install like 123.

Unfortunately with Klins kernel it's a pain to get it installed through the phone, but I manage somehow after all, as his kernel provides excellent battery life for my phone.
[HTC One S] mliou:
I flashed the newest kernel but now I'm in a bootloop. I tried to fastboot original image but still in bootloop. Any help?
[HTC One S] germandude68:
Go into recovery if it's even possible, then wipe delvik cache. Give it a try. I also had something odd happen with it booting into safe mode first.

Which viper one S version do you have installed and what cpu did you select. I have to say the stock kernel installed ok.
[HTC One S] mliou:
I can go into recovery. Still doesn't work. I have the latest Viper and I can't even get it to boot up......
[HTC One S] k1llacanon:
Can someone tell me what their kernel version is please I don't even know if I am on the kernel thanks
[HTC One S] snwman:
I used official cwm touch recovery. Selected z power 2.1ghz but is set for 1.5ghz and 198 lowest setting. 2.31 release keys and on h boot 1.14.0002. Flashed everytime for me on all versuons. Personally don't like twrp always used cwm
[HTC One S] k1llacanon:
I'm installing cwm now to try this
[HTC One S] germandude68:
Can you try reinstalling the kernel? I think for some reason your boot.img got messed up. Try that and if this doesn't work, then reflashing it is.

Hope your kernel file didn't get corrupted through the download.

Someone else got any advice for him?
[HTC One S] mliou:
I flashed 3 different kernel: latest update, previous update, and stock. Same problem. I restored nandroid of system file but still not booting up...
[HTC One S] snwman:
Use the boot flash script from viper Rom thread to flash the stock kernal and you should boot back up. Then try to reinstall kernal
[HTC One S] k1llacanon:
Flashed with cwm still doesn't work How do I change that value thing to one
[HTC One S] mliou:
I did, not booting up.
[HTC One S] snwman:
When you flash the boot script for the viper rom is it sayin it installed..
[HTC One S] DroidXAce:
I flash with TWRP and work ! :)

When will you integrate IO Sheduler "BFQ" please ?
[HTC One S] mliou:
Yeah, the only way I can get my phone to boot up is to restore nandroid from a while ago. Thanks anyway guys!
[HTC One S] k1llacanon:
I need to know how to do that too
[HTC One S] Ergo Proxy:
ok i got an idea, instead of reading the x and y coords in the button area, how about checking if back button then home button then menu button is pressed. if it is then turn the screen on?. so it would be like sweeping your finger over the button. But IDK if it will press all of them because your sweeping. just an idea tho
[HTC One S] DroidXAce:
I installed the latest version of TWRP and I flashed. It takes time to flash but it is normal (and I have a HBOOT 1.14)
[HTC One S] Roman441:
Hello

i have no sound (ringtone, notification ....) after flash dies kernel :(

OK

sorry now Works (wipe cache + Davlik) :)
[HTC One S] Zarboz:
Already working on something like that
[HTC One S] Zarboz:
Bfq breaks WiFi right now
[HTC One S] fantasist:
Is it supposed to have both cpus online at the same time? I can see both cpus are online, cpu0 is using a governor that I chose and cpu1 is using ondemand. I'm also trying to use init.d for uv, doesn't seem to work either, it used to work all the time. (1.20 venom rom, used to use Klin's kernel)
[HTC One S] Zarboz:
hmm

my cpu1 sleeps but it depends on the governor you use

i have been using badass as it controls my GPU overclock :D
[HTC One S] k1llacanon:
But how do u activate the thing where u slide across screen to unlock just a little above soft keys
[HTC One S] Zarboz:
its built into the kernel ???

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

For those concerned with battery life while sweep2wake is on due to the screen "listening" for touch while locked

if you turn off sweep2wake by echoeing a 0 to the process it also turns off the "listen" for touch while locked

idk if yall care just puttin it out there :D
[HTC One S] k1llacanon:
It isn't turned on I don't understand how u turn it on!
[HTC One S] sensationfan623:
Just so everyone knows the install time of the kernel takes about 5 minutes. That's what it was for me. Watched the Iron Man 3 trailer in the time :)

-- EDIT --

I love it, swipe is working! I have a D30 case on my HTC One S and if anyone else can relate the buttons on that are very stiff. This makes powering on the device much easier.

Though I am having one problem, wifi is broken. Won't even attempt to turn on :(
[HTC One S] plakers:
OK, I think I found a "strange problem"... My voltage table :

/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table

Seems to be malformed as it contains only steps to 1.5GHz (I selected 1.89GHz at install) :

1512mhz: 1200 mV

1458mhz: 1187 mV

1404mhz: 1175 mV

1350mhz: 1175 mV

1296mhz: 1150 mV

1242mhz: 1150 mV

1188mhz: 1125 mV

1134mhz: 1125 mV

1080mhz: 1100 mV

1026mhz: 1075 mV

972mhz: 1075 mV

918mhz: 1050 mV

864mhz: 1050 mV

810mhz: 1025 mV

756mhz: 1025 mV

702mhz: 975 mV

648mhz: 975 mV

594mhz: 950 mV

540mhz: 950 mV

486mhz: 900 mV

384mhz: 850 mV

192mhz: 800 mV

So, may be my SetCPU settings and/or SystemTuner ones are not applied because of 192/1.5GHZ (in file) mismatches the frequencies detected ? (192/1.89GHz in the application) ??...

Don't know, a simple thing I discovered on my phone
[HTC One S] LalyGirl:
Ondemand in setCPU
[HTC One S] Closed Source Project:
I know Klin's kernel has a problem with SetCPU, mainly regarding setting voltages. Do voltage changes apply successfully with SetCPU on this kernel?

On another note, it would be awesome if you could get swipe2wake working. Going to try this kernel as soon as I get home; T-minus 4 hours...
[HTC One S] mliou:
I'm getting random graphical glitches. Is it because the GPU is OCed?
[HTC One S] Zarboz:
Thank you I will look at and correct
[HTC One S] mliou:
Alright, testing the kernel out but running into a few problems.

I was using System Tuner but removed it. Now I'm running SetCPU. I cannot change the voltage. Second, phone would have graphical glitches (on both stock and OC GPU) and phone would reboot.
[HTC One S] Zarboz:
Please post dmesg
[HTC One S] Smokem_I:
Can anyone confirm that the governor is sticking after a reboot? I'm gonna give this a shot after work but just wondering :)
[HTC One S] boscovich:
I can confirm that the xhausx exploit for s on flashing do not work with my devic using last twrp recovery. It just stop as usual and end after timeout!
[HTC One S] dave il barbaro:
wow... ten minutes!?!?!!? i waited for 3-4 min but nothing... tnx !
[HTC One S] Tecardo:
Guys, the boot.img installer is running at boot, so it should work. As it is like using HTCdumlock.

But i don't know what yu want with the gpu? As i know it doesn't have effect on the gpu
[HTC One S] Zarboz:
Can you post your recovery log
[HTC One S] abracadabra11:
Just wanted to say thanks for contributing the the One S.
[HTC One S] Tecardo:
Can confirm that it works, on all Hboots (I have S-OFF)
[HTC One S] dave il barbaro:
Me too

Sent whit HTC ONE S
[HTC One S] cannondale0815:
First off, thanks for the hard work!

Now, there are lots of graphical glitches with this kernel. I chose stock clock speed during installation, as well as no overclocking of the gpu.
[HTC One S] devgee:
Awesome kernel no problems with it and good battery life !

Keep it up!
[HTC One S] JCreations:
Installer does work, just need to use volume +/- and power.

I'm also having graphical glitches with and without cpu/gpu overclock.
[HTC One S] Zarboz:
I will release a version with stock gpu steps as the overclock steps exist in both versions of gpu oc and non .. the diff is the max clock one is 400mhz one is 500mhz I will post one with the stock clocks for folks who are having problems
[HTC One S] Prof Peach:
Installed and working well so far.

Where are the graphical glitches everyone is reporting.?

I have yet to see anything untoward.

Using ViperOneS running stock speeds and voltages.

SmartassV2 governor.
[HTC One S] k1llacanon:
Took 10sec for me I don't know if I'm on the rom lol iron man 3 trailer out?!
[HTC One S] Hopie:
has the asswax governor a screen off profil like smartassv2?

Sent from my HTC One S powered by ViperOneS
[HTC One S] Ergo Proxy:
will it make a huge difference on battery life if I turn it off?
[HTC One S] ReichMann:
Confirm: took me 4-5 min for kernel installing! (Aroma).After that wipe cache/Dalvik and reboot.it worked for me!!!!

One S TWRP 2.2.2

Viper One S

Before i used Fusion Kernel 2.1 by klin

Work like a charm!! Thanks so much! Let see how the battery will be!
[HTC One S] sensationfan623:
Is anyone else experiencing broken wifi with the new kernel?
[HTC One S] k1llacanon:
Am I on the kernel? Iron Man 3 looks sik
[HTC One S] sensationfan623:
Give the swiping a try
[HTC One S] :
First off I will say a belated happy birthday and so sorry for 'that post' my shame is endless.

And thanks so much for sorting s2w! Really appreciate the effort you have put into it, will report back once tested.
[HTC One S] k1llacanon:
I did it don't work that's why I'm asking... How do I do that echo on thing I can't find Android touch
[HTC One S] :
I think we're experiencing the same thing fella. I flashed and also took seconds not minutes so think were both stuck scratching our heads, first time flashing a kernel on this phone so will report back if I find a solution. Im on page eight only another 51 to go :D
[HTC One S] k1llacanon:
I've flashed a kernel before only that I had to use cmd as well as flashing no 1 really helps lol
[HTC One S] thunder87:
awsome :) thanks so far for the first one s - s2w feature, working great so far! :)

(flashed 1.7ghz with s2w)

will check battery the following days
[HTC One S] :
Maybe its just the more knowledgable are elsewhere right now?

And we have all had to do that for the roms we flash for those of us on the locked hboot. Only difference here is its being flashed in recovery and not the fastboot and for our problem I have an idea.

Anyone who has this working could you post the boot.img please, I'm sure I read somewhere in here that someone suffered similar and they had to run installer in recovery then fastboot the boot.img to get it working?

Edit: Conclusive proof that searching works!!!

http://xdaforums.com/showpost.php?p=31711229&postcount=118

:D
[HTC One S] Raptylos:
Just flashed it, works out of the box. Thanks, highly appreciated.:thumbup:
[HTC One S] Zarboz:
https://www.dropbox.com/s/ythraml0lrcxd07/sweep2wake.img
[HTC One S] k1llacanon:
Thanks a lot so what's the command again?

Fastboot flash boot (name of file). Img?
[HTC One S] Zarboz:
correct

fastboot flash boot sweep2wake.img
[HTC One S] k1llacanon:
I'm doing it now and I'll report back
[HTC One S] DrRyder:
I'm seeing people having success with flashing on 1.14 HBOOT. Did you update something in the update flasher to make that work? I remember you said that the flash method wasn't going to work for 1.14 on previous version. Perhaps I can just run Dumlock to boot to recovery in boot and flash it that way. Think it would work this time?
[HTC One S] :
Don't forget to fastboot erase cache.

Edit: Linux localhost 3.0.8-g00c3781-dirty #21 SMP PREEMPT Wed Oct 24 00:59:01 MDT 2012 armv7l GNU/Linux

Thanks for the boot.img Zarboz muchly appreciated.
[HTC One S] Zarboz:
that always borked my previous phones so i dont do it anymore
[HTC One S] k1llacanon:
So I flashed the boot. Img and the phone booted back up so I put phone back in to fastboot and erased cache no success... Even flashed the kernel again
[HTC One S] DrRyder:
Flash the zip, then boot up to your ROM and run HTC Dumlock. If you dont have it, get it. You need TWRP for this.

One you get it run the HTC Dumlock in your app drawer and click the Execute button.

Once you do that, reboot your phone and it'll boot to recovery but it'll your boot image so this will allow you to modify it. Now, mount your SD card in the Mount option and copy the sweep2wake.img to the TWRP/htcdumlock/somefolderhere/boot

You will see a boot.img file there. That is your stock kernel. Rename it to boot.org or something else. Then rename sweep2wake to boot.img

Now, unmount your SD and go to Advanced -> HTC Dumlock -> Restore original boot

That will write the sweep2wake boot image instead of the original boot.

EDIT: Also, this method works for me every time because I can't use the flash image. I have HBOOT 1.14. I can flash everything else, but cant flash the boot image. So, following these instructions, you can flash the boot.img itself using HTC Dumlock.
[HTC One S] k1llacanon:
I'll let shadow try this one... Lol shadow post ur results :D:p... Zzz such a long process
[HTC One S] DrRyder:
Lol it works perfectly for me. I just execute Dumlock first so recovery is in boot then I flash the update zip, then copy the boot.img to the TWRP/htcdumlock folder and use the restore original boot in the HTC Dumlock in advanced.

Sweep2wake is working perfectly from what it seems. Guess I'll see how battery does. Can't be that bad.
[HTC One S] k1llacanon:
unfortunately htc dumblock has stopped working wtf
[HTC One S] DrRyder:
O_o you are rooted, right? You have to install HTC dumlock first by booting to recovery going to advanced -> htc dumlock and hitting the install option, whatever that may be. But if the Dumlock icon is in your app drawer, you should be fine...as long as you didn't just find the apk somewhere and copy it cause you need more than that.
[HTC One S] k1llacanon:
ofc im rooted i copied the file over everything renamed and pressed restore boot.img and there is a loading screen but nothing happens!!!!