yashsingh1/xdaforums huggingface dataset:
[HTC One X] DeeZZ_NuuZZ:
using viper? if yes i have also such problems because i think it's due to the bloatware in viper...i leave my phone there just some messages typed in whatsapp and lost 5 % in 4 minutes -.- but in another way alex has the kernel with the best battery life :)
[HTC One X] X46X:
Yes yes Viper, you said Bloatware, its bad :(

Send with tapatalk from my immortal Sensation
[HTC One X] DeeZZ_NuuZZ:
the problem for me is some days after full wipe i have the best battery life and after a while with the same usage as at first i get not good battery life :( but with the right settings this kernel is smashing the sh1t out of viper haha :D
[HTC One X] slebit:
I had pretty bad battery life today. With BetterBatteryStats i could see that it was "power_key_wake_lock", it was active for about 3h. Is this because of S2W?
[HTC One X] DeeZZ_NuuZZ:
yup because of s2w
[HTC One X] slebit:
Is there a way to avoid it?
[HTC One X] DeeZZ_NuuZZ:
yea disable it :D :D
[HTC One X] slebit:
Hehe, I figured out that. :)

But I really like this feature, and i would like to keep it on.
[HTC One X] Headless96:
It causes minimal battery drain so just leave it on

Sent from my :tank:
[HTC One X] slebit:
But it was draining pretty fast today. I had it in my pocket the whole day. When I got home I had about 55% percent left. And I was barely using it. I had about 20 minutes screen on time.
[HTC One X] Alex-V:
Can also be Provider Signal...i mean in Pocket less Signal more searching
[HTC One X] slebit:
You might have right. I was in a area where connection might not be as good. :)
[HTC One X] Alex-V:
I'm trying to make some changes to have vibration on s2w and i just compiled a kernel which have a accident function ...dt2w will wake and sleep..but s2w will work..but only in one direction for wake and sleep...if anyone will have it I can upload...was a side effect on some testing..so it was not whished
[HTC One X] Dexxmor:
I can test it
[HTC One X] slebit:
I am also willing to test. :)
[HTC One X] Rotten Ross:
install this like any other kernal, extract boot.img, flash the zip in recovery, flash boot.img via fastboot?
[HTC One X] Alex-V:
Ok..will upload the boot.img a bit later
[HTC One X] Alex-V:
ok..here it is...

http://sourceforge.net/projects/ale...1.6_accident_dt2w_wake_and_sleep.img/download

if you are on 1.6..you dont need to flash modules
[HTC One X] Dexxmor:
The s2s & s2w Feature is not so responsive, for me, as it was on the previous version.
[HTC One X] Alex-V:
as i said its a accaident version...i only know dt2w will wake and sleep and s2w only in one direction...anyway..thx for report
[HTC One X] Dexxmor:
its only a feedback :) and the BLN Notification is brighter :)
[HTC One X] Alex-V:
yes :) that is right...i set it in the source... :)
[HTC One X] Pundy:
Hey y'all! :)

I just want to say that the 1.6 test kernel with bln is working very good for me, but still some responsive problems with the touch screen. Means the touch screen reacts sometimes with a latency of ~1 sec. in some cases.
[HTC One X] Sebby:
boot_1.6_accident_dt2w_wake_and_sleep

what not responsive with the latest version

it has the same response as before

i love it alex ..great job mate

i have set the tap tap at the bottom

tap tap screen on unlock

tap tap screen off lock

only one problem with s2w and s2s

i can awake and sleep in both directions when the screen is on or off

but what i see s2s is not build in yet

if you got this all working then richmondo has somthing to do

still no bugs found alex

only i have still that sudden battery % drops

the standby drain is perfect

screen on is perfect

smartmax

row

keep it up

edit : now it happend again with the wierd drops ,fully charge ..got a sms replayed back .played around a little bit ..100% drop to 96% then it stays there then it dropped to 93%

that was also a reason i was on the xm kernel

ho alex can you please look at this ,i really like your kernel and i don't wanna go back to xm

thats the only bug i can find in your kernel
[HTC One X] Alex-V:
this should be a thing from new s2w....and should be gone if you flash a version with old s2w

mmmhh..can not find a problem actuell....maybe its because i disabled htc pnp in ramdisk (as i want to have the kernel save boot on 1300mhz and not 1500) try to repack with xm ramdsisk and let me know
[HTC One X] X46X:
I mean something is wrong, kernel sucking my batterry like a hell. Only 1:30 hour screen on time..
[HTC One X] Sebby:
alex i only notice that the tap and swipe dont wotk if you take it out of your pocket

i think it has something to do with the pocket protection
[HTC One X] Alex-V:
Lol..you really got more with a other kernel and so much apps..yes 1.5 is not much..my ~ is around 2.5 ....anyway..think about that also those wakelock and battery apps kill the battery..they also running a service in background
[HTC One X] Alex-V:
If you mean sometimes...that is still from s2w i had this also before protection..also with old s2w..I know that kozmick say something in the past about that
[HTC One X] Sebby:
no i don't mean sometimes

i was riding my bicycle for one hour or so ,with my phone in my pocket

then i tap tap does not go on ,must use powerbutton

now i leave my phone on the table at home for a hour or so

then i tap tap and it goes on

so it should do the same thing when it lying on the table for a hour or so (not go on)

but hé if you say so
[HTC One X] Alex-V:
Yes..what is what I mean..same I had before..i know koz was saying about one situation in that s2w btw also dt2w not work...maybe I know he read here no and than he can answer
[HTC One X] Alex-V:
Just made some changes on my accident kernel...for have only dt2w and sleep...(no s2w).I also made changes to only have dt2w and sleep on buttons area to not have problems on gaming etc...(no matter which setting in venum tweaks).i think about to release it as extra kernel
[HTC One X] X46X:
Yes, but I use greenifi for apps like facebook, tumblr etc.. And dont have any critical wakelock..

Send with tapatalk from my immortal Sensation
[HTC One X] Alex-V:
If you don't have critical wakelocks deinstall that program..I also not a friend of those greenify apps...install system tuner pro and have a look on startup apps...you don't believe what apps are in..eg xda app don't be load to ram on start..if you don't use automatic news of pm s..this will bring a lot..

And don't forget...give the kernel some loads
[HTC One X] omar.adel:
wakelock problem.

Thanks [MENTION=1171895]Alex-V[/MENTION] for that great kernel but there is only one problem that I'd like to report..

The phone was held awake for more than 3 hours and the "App usage" is more than 90% even though I didn't use my phone that much.

Also, I had never had that kernel wakelock "power_key_wake_lock" taking that much wakelock time"5h+" on any other kernel I've used including the stock kernel. that problem didn't exist with version 1.5 so I think it's related to that new "pocket protection" in 1.6 "I hope I'm wrong".

My battery never drained that fast on any other kernel, In fact I got 5 hours screen-on time with your previous kernel version 1.5

I hope you fix that problem in your upcoming release without removing "pocket protection" because that feature actually works and it's very useful.

Again thanks for that great kernel and I hope you continue developing for the One X :)
[HTC One X] DeeZZ_NuuZZ:
Yup 1.5 was in battery life really better..... Hope it can be fixed somehow :p but otherwise great job :) really stable kernel :)

Gesendet von meinem HTC One X mit Tapatalk 2
[HTC One X] tukijembz:
Hello, sir. I'm a new user on One X.

For installing this kernel, whether the same way with the other kernel?

just put boot.img and flash via cmd/fastboot, and then flash again on recovery?

Thanks, sir.
[HTC One X] DeeZZ_NuuZZ:
boot.img via fastboot and modules.zip via recovery :P don't forget to wipe cache/dalvik-cache and in fastboot erase cache too...can help often :P
[HTC One X] Alex-V:
mkey ..its very interesting..this can only mean...some phones are better on mpdec and some on other hotplugs .since this is the main diff to 1.5..my battery time is on display on better..but this should be because of the other lightsensor values and psensor updates..and for display of I don't see a difference

Yup...but dalvik cache is not really needed..thx my friend
[HTC One X] Sebby:
awesome alex-v

repacked with xm

viperx 3.7.5

smartmax and my settings

if i keep it up this way i have tommorow morning

3 hours screen on time and 2 days of battery

and not a single drop of 4 or 3% in one go

facebook and email sync and some others

some calls

some sms

some browsing

some playing around

never had that before ever on my one x

and brightness is much better then xm

so big thanks from me alex

can't wait for the next release ,what you come up with...

:good::good::good::good:
[HTC One X] tukijembz:
now i'm confused, i see your post.

Which version for stable and great battery life? I'm using greenfiy apps..

1.6 test kernel 1 or 1.5 test kernel 3?

thanks
[HTC One X] Alex-V:
just flash the latest....lol...as i wrote you can not know before...for some this and for some other....but its a win win for you...as flashing a kernel takes 2 min....so its not an problem :)

with kind regards
[HTC One X] tukijembz:
Hpw to enable d2w? I'm prefer using d2w than s2w :D
[HTC One X] Alex-V:
viper have a button in tweaks for it...but just look into sys/android_touch..you can set this value over a terminal or a init.d script...but if you prefer dt2w...i have a new version for you...its a v2 of an accident version

will have :

-only dt2w (no s2w)

-dt2s (doubletap 2 sleep)

-for this i disable the setting of use own values for display...means its setted only for soft buttons area (to not have display goes off while gaming and double tap display)

-some updates to config files (till now i have 100% of waking over dt2w and no not responce after wake)

this is my favaorite now....

so wait some min. i will upload the boot.img...modules from 1.6 will still work (no need to flash) only over fastboot the boot.img and make a

fastboot erase cache

[MENTION=535343]all[/MENTION]:

ps: i´m still looking for a long tap 2 sleep function....if a dev can help let me know...

should be like dt2w but for display off...

so...it should be like this

if display on......allow long tap 2 sleep....use min 3s for long tap

( thx for idea sebastian15 )

not sure if it should only the buttons area or like normal dt2w

but since my accident v1 i like the way of no slide....as you are closer to the ring to unlock...or just looking for the whatch and long tap again 2 sleep

and since pocket protection..it should be very safe
[HTC One X] Alex-V:
ok..here it is:

http://sourceforge.net/projects/ale...ccident_v2_no-s2w_dt2w_and_sleep.img/download

with kind regards...Alex
[HTC One X] ozzy141:
Thankyou

Just wanna express my gratitude and thanks for your kernel. I am using the Blade ROM and my battery life is great compared to all other kernels.

I never really tried this kernel simply because it was an "accidental kernel" you made for yourself but this kernel is better then pretty much all others I've tried.
[HTC One X] Alex-V:
So i thanks for try and nice feedback
[HTC One X] Sebby:
i see only s2w is disabled

so when the screen is on the sweep 2 sleep will work

or is is complete disabled

-some updates to config files±

so with does changes ,it will always work now

if so then can you make one and add s2w
[HTC One X] Alex-V:
Yes, its disabled and i delete the sysfs files...so it can't be enabled..the same for dt2w slider..not sure why the slider is still there...

And yes...works for me a complete day now without a problem

Tested also with games...
[HTC One X] tukijembz:
I have issues with a new boot.img accident v2.

My screen on, when i'm typing message my screen goes off.
[HTC One X] Sebby:
the slider still works ,because you have still that option in the kernel

oke then i don't flash it

because i have still problem when the back button when i do it to fast the screen goes off

then i wait when you release the one with long tap

or maybe if you ever figure it out:

taptap screen on and slide right to left screen off

so if i am correct and you leave it in your pocket for a hour and you take it out it still works

so what did you change that it still working now

but still i dont find it not a good idea to leave the s2w out

but he it your private kernel

i hope you can figure also out the long tap

if you do please add s2w and the slider option back

it is a shame that i have not so much time to figure out the kernel building

so thanks alex the kernel dev
[HTC One X] Alex-V:
Don't double tap the bottom buttons area...
[HTC One X] tukijembz:
No, i'm was trying with arrow keyboard (usually, im typing withour arrow). When i type, my screen goes off.

Back to s2w for a while :)
[HTC One X] Alex-V:
I figured out that some of the s2w config files btw the stuff inside the files have a other order/sequence...in compare to a other dev..so I changed that

Btw..if you want i can give you a lil tut
[HTC One X] Alex-V:
Lol..I write with my thumb..and I have really a big thumb...and display stays on..:thumbup::thumbup::thumbup::p:beer:

You can try to make a shorter time to dt can be find in sys/android_touch

...anyway..I hope I get this long tap 2 sleep working..to not have such problems
[HTC One X] Juanig:
Hi [MENTION=1171895]Alex-V[/MENTION], can you take a look at the attached log? It rebooted randomly. BTW sometimes when it stays in my pocket for a long time I can´t wake it up and have to force reboot.

Using your number version #113, I can´t remember the exact version.
[HTC One X] Alex-V:
Thx for the not wake..just check my latest version..for a test...as i have no more problems since...
[HTC One X] parkentosh:
Been using 1.6 test 1 since release and it's very good. No problems with answering or ending calls. Pocket protection works very well, i used to have a lot of wakes in my pocket when i exercise but not anymore. Love the speed and smoothness in collaboration with CM 10.1. Battery life is good enough for me.
[HTC One X] Alex-V:
Wow..works with cm 10 after repack ..
[HTC One X] Dexxmor:
Works on Ice Cold Jelly too, nice kernel (of course repacked). The only issue with the repacked one, it boots with 230 mhz...and takes this for around a minute..so everything is slow after a reboot... :D but this is not your problem Alex
[HTC One X] Los Wochos:
DON´T ask for an eta!

If it´s nessecery he will relase an update!

Why you need an update any problems?

Los Wochos
[HTC One X] Sebby:
hi alex

06 kernel running fine

only one thing

the button brightness is not working correct with the viperx

if i reboot the button brightness is full brightness again

till i use the slider in viperx

is it possible to fix that

with the init.d script it is working

but would be nice if it also work with the viperx without the script
[HTC One X] maxwen:
tell the rom devs - this is NOT a kernel issue!
[HTC One X] Sebby:
then you tell me why it is working with the xm 188v4 kernel

it starts up with bright light but if i trun the screen off and on it dims what i have set in the tweaks

with this kernel it stays bright till i move the slider in tweaks
[HTC One X] Alex-V:
înteresting part is i used the patches from xm kernel but from the beta relaeses with auto-bln and not from the stable maybe theres a diff
[HTC One X] Alex-V:
i think a radio can be flashed extra, i flashed the new one from the normal dev thread which work very good

lol..there will be a new update..but if i got time...with auto bln disabled (not the brightness slider) and some other changed thinks
[HTC One X] Sebby:
would also say the kernel running great here ..alex...

thanks alex
[HTC One X] Alex-V:
yeah...nice ....i know that your claims are very high..so i say thx :)

with kind regards
[HTC One X] JohnYang1997:
Can you make sth for cm?
[HTC One X] Alex-V:
Sorry but no...you know its my private kernel and i don't need this
[HTC One X] fario78:
hello, there is a kernel for the new rom base for revolution?

Enviado desde mi HTC One X usando Tapatalk 2
[HTC One X] Iceax123:
This kernel was just used for Alex himself, if he doesn't need it there wont be an update :)

A
[HTC One X] Alex-V:
thx :)

anyway..the 3.20 base have no new kernel and all kernel from 3.14- 3.XX work

with kind regards
[HTC One X] mido.fayad:
What about raising throttling temperature to 85 as it's really very annoying in games and causes lag :rolleyes:
[HTC One X] Alex-V:
i compiled 0.7 a week ago with 85 again instead of 80 but had problems to intigrate normal ums (you now at the moment only viper ums) but had not the time yet to look again....but it will come :)
[HTC One X] essi_baba:
woow its good news,so hope soon you release it.

tik tak tik tak....
[HTC One X] mido.fayad:
thanks alot for ur hard work :)

i'm using viper and hope u release this version soon ;)

and it's the first time for me to stay on kernel for more than 2 weeks without even thinking to change it :D
[HTC One X] Alex-V:
Yeah..fine..that was my thinking why i maked this kernel..thx :)
[HTC One X] essi_baba:
I already had the WiFi problem, I told you in the roms above the new bases. like 3.

your kernel don`t have any problem with this base 3.14.XXX

but on new bases have problem with wifi ,wifi is weak and dont send and receive any bit. :(

i test wifi in ViperX3.5.0 and Android Revolution HD 20.1 and with ver 0.6 have wifi issue, so i think you must be update wifi driver from new base to 3.18.xxx and newer.

thanks man:good:
[HTC One X] Alex-V:
i use viper 3.5.5 and dont have any problem...mmhhh...did you use the radio that come with the rom...?

if i smoke a cigarette on my balcony...i have zero wifi on my laptop so i can good compare...with the hox i still have wifi not much but in compare to laptop zero....

so i know if the wifi is worse or good and for me i did not changed since 3.14...i´m one of those who also dont have problems in 3.18.....

mmhhh...did you try the radio with ril on dev section...

edit_: anyway...last time (about a week ago) i looked for new sources and was not out...if its avaible now i took it on my list and will have a look

with kind regards
[HTC One X] Alex-V:
Nice..thx for report :)
[HTC One X] zhengxiong:
hi,Alex!

Does not work,connect external U disk.
[HTC One X] Alex-V:
The kernel is patched..for use it as CD/usb with an extra app...but

As i know for this function you mean i think it need an extra patch in source....think i saw it on trips kernel
[HTC One X] mushages:
Alex-V you rock this this the best kernel ever I used on Viperx rom with lowest brightness and -75v UV, smartmax 1GHZ UC I get 4 hours screen on time everyday, now I'm on ARHD :( stock look only with sense 5 add-ons lol anyhow Alex I'm not using your kernel now because I need to use VPN on phone a lot these days please fix vpn and save my battery from other kernels. I feel its draining like hell!
[HTC One X] Alex-V:
Will look in next days
[HTC One X] 2WildFirE:
Usb storage works for me on SD 18.9 with Alex 1.6 test 1 kernel
[HTC One X] Alex-V:
must say..that i did not tried before...lol..so i say thx for report :)
[HTC One X] 2WildFirE:
No problem bro I like your Kernel!

Btw ..... Immer wieder gern :thumbup::)
[HTC One X] parkentosh:
Hey,

Just had a random reboot. Phone was on the table when suddenly "bzzzzz (thats the vibrate sound :) )"

I'm on CM 10.1 with UC to 1300mhz (no UV). I'm using deadline and ondemand (should i be using something else?)

This is the last_kmsg: https://www.dropbox.com/s/d5uummah7plbkoc/last.txt
[HTC One X] Juanig:
If you could build 0.8 version with DT2W+pocket protection would be the perfect one I think.
[HTC One X] X46X:
Can you add s2w and some trigger in sys/touch folder for decision between s2w or dt2w, it will be realy nice! Bacause sometimes I hitting back button realy fast in browser or filemanager etc. (and I'm not the only one in my opinion) and screen goes off when I going back to the first page for example. Thank you.
[HTC One X] Alex-V:
I still use interactive...anyway thx for the log
[HTC One X] Alex-V:
Maybe
[HTC One X] Alex-V:
There are still in..if you want s2w back..just flash eg the one on first site
[HTC One X] X46X:
Huh, what is eg, if you mean original 1.6, there is no bln and I can't set button brightnes

Send with tapatalk from my immortal Sensation
[HTC One X] mushages:
Just keep 25mhz and fix vpn :D that would be perfect
[HTC One X] Sebby:
flash this one

http://sourceforge.net/projects/ale...1.6_accident_dt2w_wake_and_sleep.img/download

i use it ..s2w , dt2w , bln...

don't forget to download the one from the first post to flash the modules
[HTC One X] Juanig:
+ gaming governor :D
[HTC One X] swemoza:
Yes it works for me too with your 1.6 kernel.. :)
[HTC One X] Alex-V:
Thx both
[HTC One X] Alex-V:
Work @ the long press 2 sleep ( lp2s) works 85 % atm...hopefully i get the 15 % bugs away..lol
[HTC One X] asp2010:
You could just use interactive. gaming is almost the some, it only has some settings changed, which you could set in Trickster Mod ;)
[HTC One X] X46X:
I have it, but no s2w, only dt2w..

Send with tapatalk from my immortal Sensation
[HTC One X] Alex-V:
http://sourceforge.net/projects/ale...oot_1.6_new_s2w_with_bln_fixed_2.img/download

This one
[HTC One X] Alex-V:
Ok..can be take some time again..lol...it make the phone sleep in a time it can be set via sysfs but it crashes dt2w sometimes...so must have a deeper look again
[HTC One X] zhengxiong:
+1
[HTC One X] Sebby:
i have it for some days running

and i can activate and deactivate s2w in tweaks

---------- Post added at 07:35 AM ---------- Previous post was at 07:31 AM ----------

great alex ,, it is always like that ...you think you got it and then some wierd bug comes around

hope you can fix the problem ,but again great work alex:good:
[HTC One X] X46X:
I have it grey in tweaks..

Alex, it is possible disable back button to dt2w? Only menu and recent apps button.

Send with tapatalk from my immortal Sensation
[HTC One X] Sebby:
thats why alex want to make the long taptap to sleep
[HTC One X] X46X:
I know, but this is easier..

Send with tapatalk from my immortal Sensation
[HTC One X] Alex-V:
Yep..i thougt it can be easy based on the dt2w code...only the other way around..instead of screen off...allow dt2w to make screen on....

It should do...if screen on ..allow long tap..to make screen off

I have copied the complete dt2w code and changed the parameters

It work..this way ...but i have some look again..
[HTC One X] BWA80:
Hi!

Is it me or is v1.6 messing with autobacklight brightness? I'm on viperX 3.7.5 and when I set backlight brightness to lower, then cover the sensor the screen goes bright, and then when taking my finger off the sensor the screen goes dark in normal day light.. I think it should go the other way around? on stock kernel all is good, just came from it.

And button backlights are always on when screen is on, no matter what.

Thanks Alex-V for your great kernel!
[HTC One X] Alex-V:
I had a pm a while ago from a 4pda member with the same thing..i m also on viper but can not reproduce this problem...mmh
[HTC One X] BWA80:
hmm.. that is wierd. I have not installed any mods, just viperX and your kernel... something is messed up somewhere. Haven't had this problem on any other kernel, just yours... and if i remember correctly v1.5 doesn't have this problem.

here is a logcat, if its in any help

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

EDIT: Ok, just flashed your 1.5test3 kernel and all is good, backlight and button lights working like should. If you want I can give you a logcat with kernel 1.5

Thanks!
[HTC One X] totohtc:
Hi Alex I need power to play a Ingress :) you know ? what release you advise me of your kernel?

I use the Viper ROM 3.7.5 .. with CWM.

tanks :laugh:
[HTC One X] Alex-V:
Lol..ok same here

From what the people say...1.6 or 0.8
[HTC One X] totohtc:
Tanks guyyyyyys !!!! :D:good: