yashsingh1/xdaforums huggingface dataset:
[HTC One S] testato:
1. ok for the battery save and for deep sleep, but it do not switch on :)

i can wait for 5, or 10, i wait for 1 minute also, it do not wakeup. it switch on the 3 BNL led, and after 2 second the BNL led return to Off, whitout switch on the lcd. I must reboot by long press the powerbutton. I think it is not a feature :)

2) ok thanks, so you think it is an hardware problem ? on your phone use the gps/gmaps do not create this problem ?

3) i measured the mA current charge by phone. it is at 423mA actually, whit no modification if use Fast charge or not by Trickster (measured with laboratory external power supply and integrated amperometer)

thanks a lot for the answer, also for the answer not kernel related.
[HTC One S] dave il barbaro:
Same for me

I have this configuration

Candykat 1.6.3

Hboot 2.16

Rain kernel 22-11

Radio 1.20

Sent with HTC ONE S
[HTC One S] Rapier:
This is because not all schips are unstable at lower voltages and having lower voltage means lower power consumption, thus better battery life. Thats the main difference. Theoretically if using normal voltage table you should have better battery life, if your device supports it.

Regarding your other question with the lockscreen bug. I didn't encountered it on the 2 ROMs in my sig but they both have option not to rotate display while locked...so I don't know if it's because of that. Also Lollipop does not rotate display while locked by default so it's not present on any Lollipop based ROMs either

And yes, phone gets hot when GPS is used. I cannot say it's so hot I can't hold it but it's hot compared to normal use

Sent from nowhere over the air...
[HTC One S] javelinanddart:
New Release

Hey guys, new release, some big changes

1. New name, Void Kernel instead of Rain Kernel

2. XZ Compression for faster boot times and better performance

3. New default governor, faux123's new intellimm

check my second OP for the new AFH folder or below:

https://www.androidfilehost.com/?w=files&flid=22005

I disabled Module Loading for stability, if you want it, keep using rainkkthanksgiving.zip

Enjoy and Happy Flashing!
[HTC One S] ZioRò:
Kernel flashed right now! Working fine on first boot. I've set new intellimm as governor to test it. Intellidemand gave amazing battery life, but not the smoothest experience. I'm going to test it today and see how it behaves.

Thanks again to javelinanddart!
[HTC One S] rmbq:
there's a sysf somewhere but i don't remember where.. with a file manager with root permission search "charge_level" or "*charge_level*" in all folder (from / ) you should find a file (which mane contain "charge_level", i think it's "fast_charge_level" ) with ONE of these values : "500 700 900 1100 1300 1500".... change that to get higher charge values

the avaiable values are: 500 700 900 1100 1300 1500

after reboot you need to change it again or make a init.d script

EDIT: the file is /sys/kernel/fast_charge/fast_charge_level
[HTC One S] waver1967:
flashed and running :D
[HTC One S] dave il barbaro:
Rain kernel 8,6mb

Void kernel 6mb

Is it normal?

Sent with HTC ONE S
[HTC One S] javelinanddart:
Yes

I used XZ Compression vs GZip Compression

It's more efficient

I've flashed it and it's running well and so are other people
[HTC One S] ZioRò:
No problems with new kernel, but I think I'm going back to intellidemand, it gave me about 2x the battery life I get with intellimm.
[HTC One S] javelinanddart:
Sounds good then. I"ll choose intellidemand by default

would you mind testing an experimental build with intelliplug and see the differences in battery life you can get?

i'm still compiling, i'll post it in about 1 hour
[MENTION=1045770]Rapier[/MENTION] would you mind doing this too?

Intelliplug has had a lot of changes so i want to make sure that i'm using the option with the best battery life out there
[HTC One S] Rapier:
I'm on Lollipop right now, not being able to switch to KK for a while
[HTC One S] ZioRò:
I would be happy to test it! Maybe it's not 2x, but today with Intellimm I have had 2 hours screen on time, 20 minutes calls and 13 hours away from charger. Now I'm at 35%.

Yesterday (using intellidemand) with 1h30min screen on time and all the day out I still had 75% left at 9 PM.

I'd say I get at least 1.5x battery life, but Intellimm gives a good performance/consumption rate! :)
[HTC One S] javelinanddart:
That was the point

all-day battery life without crap performance

I like that

thanks for the feedback

i'd have to agree though, i could get two days with intellidemand with light to medium usage, but i charge my phone every day anyways, so i'll take the better performance
[HTC One S] ZioRò:
Yeah, I got that point! I use to charge my phone everyday too, I don't like to start my day with less than 100% because I don't know how much I'm going to use my phone during the day. Anyway, I prefer to have longer battery life, since I'm often at university and I leave charger at home, and also I don't like to charge my phone more than once a day.. My flat mate charges his (less than 1-year-old) S4 twice or three times a day, I like my (2.5-years-old) One S to show it's still a fantastic phone in every aspect :laugh:
[HTC One S] javelinanddart:
well our phone would be considered an S4 by the villec2 folks ;)

sorry that was terrible xD

anyways, here it is

https://www.dropbox.com/s/2f0hnpvq0xwd25c/voidkkintelliplug.zip?dl=0

i'll test it too but let me know on battery life
[HTC One S] ZioRò:
Eheheheheh, nice one :)

I'll download it now and test it tomorrow since it's almost midnight here in Italy! I'll let you know asap
[HTC One S] javelinanddart:
Alright

With intelliplug, intellimm, stock clock speed, fiops, and nothing else enabled

AnTuTu: 19752

GeekBench 3.2.5: 307 Single-Core Score, 904 Multi-Core Score

Quadrant: 5973

3DMark Ice Storm Unlimited: 5434

3DMark Ice Storm Extreme: 3283

3DMark Ice Storm: 5563

It does feel smoother overall than sleepy plug, graphics performance is a little bit low because intellimm is made to be a smooth lagfree governor with good battery life, not performance
[HTC One S] ZioRò:
Well, I still haven't tried any benchmark yet, but that sounds good.

As I said, tomorrow I'll normally use my One S with new kernel and governor to see how it is in terms of smoothness and battery drain. Then, maybe, I could try some benchmarking too!
[HTC One S] dave il barbaro:
Testing this release too

Edit:intelimm governor with stock frequencies and a bit gpu overclock, so far so good.

Smooth as ondemand governor but a bit more laggy

Sent with HTC ONE S
[HTC One S] javelinanddart:
Alright everyone, after a day of testing, i'm switching to intelliplug

this has nothing to do with [MENTION=4487443]rmbq[/MENTION] or his skills, sleepy plug is great, but i'm getting better battery life with intelliplug and it feels smoother overall

I'm releasing a new version today with intelliplug and Linux 3.4.105, build will be up in 30 min or so, will update this post then

EDIT: Build is done, check my AFH in a minute, uploading right now, named voidkk02122014.zip

Enjoy and Happy Flashing!
[HTC One S] ZioRò:
Here we go with today's report! I'm switching to intelliplug plus intellimm too, it's simply amazing! Gave perfect performance/battery drain ratio, something incredible.

Here are my screenshots:

This is freaking amazing:

4 hours screen on time

6 minutes calls

A lot of Whatsapp, as usual

Tapatalk

Web browsing

Facebook

More than 14 hours on, from 8 AM to midnight (now), I've just plugged in charger since I had 14% left..

Really good job :)
[HTC One S] javelinanddart:
I want to give a shoutout to [MENTION=3332811]faux123[/MENTION] for his amazing dev work with intelliplug and intellimm, send him a donation for all his great work with paypal at reioux@gmail.com

[MENTION=4961470]AKToronto[/MENTION] you should take a look at intellimm

also [MENTION=4981292]ZioRò[/MENTION] thank you for testing it :)
[HTC One S] AKToronto:
Let me know how intellimm works out for you... See https://github.com/faux123/mako/commit/7d1addc3cbb96a1576202c1944f33636851d499b

Faux states the following:

intelliminmax (intellimm) governor is designed to work with the newer SOCs with fixed voltage rails (ie MSM8974+ SOCs). It is designed to work within those

fixed voltage ranges in order to maximize battery performance while creating a

smooth UI operations.

The problem is our SOC is MSM8960.... So this wasnt designed for us. Im sceptical that you wont get a similar performance/ battery with other governors
[HTC One S] javelinanddart:
Actually, Mako has APQ8064, which is very very similar to MSM8960. Test it for yourself if you want, but it offers good battery life and performance. I don't know about other governors, but he also has this code:

#ifdef CONFIG_ARCH_MSM8974
#define DEF_POWER_SAVE_FREQUENCY	(1100000)
#define DEF_TWO_PHASE_FREQUENCY	(1700000)
#define DBS_INPUT_EVENT_MIN_FREQ	(1574400)
#define DEF_FREQUENCY_OPTIMAL	(1190400)
#define DEF_FREQ_DOWN_STEP	(550000)
#define DEF_FREQ_DOWN_STEP_BARRIER	(1190400)
#else
#define DEF_POWER_SAVE_FREQUENCY	(648000)
#define DEF_TWO_PHASE_FREQUENCY	(1296000)
#define DBS_INPUT_EVENT_MIN_FREQ	(1134000)
#define DEF_FREQUENCY_OPTIMAL	(702000)
#define DEF_FREQ_DOWN_STEP	(270000)
#define DEF_FREQ_DOWN_STEP_BARRIER	(702000)
#endif

Which defines options if the SoC is not msm8974, which i tuned for the ville

Just my two cents
[HTC One S] ZioRò:
Well, as you can see from my post, it gave me really good battery life together with smooth performance. Anyway, it got better after enabling intelliplug, because intellimm alone didn't provide such a great battery life..

[MENTION=5795145]javelinanddart[/MENTION] I think I'll test new version tomorrow!
[HTC One S] javelinanddart:
Sounds good man, cya tomorow!
[HTC One S] faux123:
It will also run well on 8960, APQ8064 etc.. basically all newer Qualcomm devices. It was originally designed for 8974 class, but as [MENTION=5795145]javelinanddart[/MENTION] mentioned, I've since added tweaks for other platforms as well.. Enjoy and have fun.. I'm just happy that people are using my open source code :highfive::victory::angel:
[HTC One S] AKToronto:
This is awesome. You rock! And thank you for the open code and consistent development! Seems like I will add this Governor to Ice Code as well. Everybody wins!
[HTC One S] Hipnetix:
I haven't flashed that many kernels and played around with them so maybe this is a silly question. But anyways, how do you change the governor?
[HTC One S] ZioRò:
After flashing the kernel you have to install an app like Trickster MOD which gives the possibility to set governor, scheduler and so on..
[HTC One S] Hipnetix:
By the way, it seems like I can't disabled dt2w. If I disable it now and reboot for it to apply, it re-enables itself.
[HTC One S] Rapier:
Swipe from right in TricksterMOD and in that menu that appears, make sure that first checkbox (Set On Boot - Kernel settings) is checked. Or else any setting you make will not be preserved after reboot
[HTC One S] Hipnetix:
The checkbox is already checked. I've also tried to disable and re-enable that checkbox but it didn't help.
[HTC One S] javelinanddart:
[MENTION=4161803]Hipnetix[/MENTION] You disabled dt2w under screen wake controls under the special category right?

By disable I mean set it to 0

Also no need to reboot to have it apply
[HTC One S] Hipnetix:
[MENTION=5795145]javelinanddart[/MENTION] Thank you for mentioning that you don't have to reboot for it to work (it was like this on my HTC Wildfire). And the settings are correct but I've also uploaded two screenshots so you can see if it's alright.

http://imgur.com/a/Rv1Tn

I've just noticed that the grace period is set to 10 minutes, does that have any influence to my problem?
[HTC One S] javelinanddart:
[MENTION=4161803]Hipnetix[/MENTION], the grace period determines how long the app gives the settings to apply. I have it set to 1 min just so i don't have to waint for 10 min for the settings to apply. 10 min means you have to test dt2w after 10 min
[HTC One S] Hipnetix:
[MENTION=5795145]javelinanddart[/MENTION] I've put it to 1 minute, waited a couple minutes and tried again. But I can still double tap the home button to wake my phone. Is it maybe something that activated within CM? (I don't think so because it started this morning when I flashed the kernel.)
[HTC One S] javelinanddart:
It shouldn't be. That's really weird. I guess try not to do that. reboot and try again, make sure the little toast comes up saying superuser granted to TricksterMod
[HTC One S] Hipnetix:
I've rebooted a few times and every time the toast comes up but the problem is still occuring. To be honest, I don't mind the dt2w but I've had it a lot of times turning on in my pocket. I'll try to find some kind of solution and if it works, I'll post it here.

Anyways, thanks to all of you for the help. :good:
[HTC One S] javelinanddart:
Pocket Detection should fix that, but idk then. If you find one, please do post it and PM me as well.
[HTC One S] derkleinebroicher:
Just to be completely sure, you use trickster mod correctly: if you make any changes in settings, there will appear a hook on top in the tool bar. You have to tap this in order to confirm the changes you made. Otherwise everything is reset to default as soon as you go back. You did that?
[HTC One S] Hipnetix:
Yes, I've used that tick to apply the settings in trickster mod. When I have time this evening, I'll try to wipe cache to see if it helps.

EDIT: Wiping cache and dalvik cache didn't help.
[HTC One S] ZioRò:
Today's report won't be provided since I've had a chaotic day.. I had my phone looking for signal for 3 hours since I was at university where there's no signal. In addition I had a strange wakelock related to multiple apps, I'll look more into it in case it happens again. Anyway I've had a good battery life, and performances are great as always. Maybe I'll try a bit of overclock, but it's not necessary, phone is already smooth!
[HTC One S] javelinanddart:
Sounds good man

I know how you feel, my first battery report was done with about 9 hours in and out of a deadzone but it still got me through about 15 hours of juice with a little web browsing and streaming music

Except I was on the powersave governor and I underclocked it to 1GHz and disables the screen wake controls and any other potentially power draining features
[HTC One S] Jd.93:
S2w on kk

I tried this kernel with one plus one Rom, but the s2w (dt2w also) doesn't work properly, it seems like after a while it stop working, then i have to use the power button..someone else notice that?
[HTC One S] Rapier:
[MENTION=5795145]javelinanddart[/MENTION] now you'll probably understand why AKToronto took s2w/dt2w out from IceCode.

Sent from nowhere over the air...
[HTC One S] Hipnetix:
So I've tried IceCode where dt2w and s2w are disabled by default and came to the conclusion that my problem is kernel based and not rom based.

I already want to excuse myself because of what I'm going to ask. I appreciate the work and effort you've put into this kernel and our device. But would it be possible to make an extra kernel where dt2w and such are disabled by default, so I can enjoy your masterpiece without my device turning on every time it's in my pocket. I completely understand if you don't want to do it.

Anyways, thanks for everything you've done already and will be doing in the future!
[HTC One S] javelinanddart:
Sure. Will post tomorrow or later today

EDIT: I'm going to make 2 builds, One with a possible "fix", and one with s2w, s2s, and d2w disabled

Would someone mind testing both??

Also I switched back to GZIP compression because it has faster boot times apparently (thanks [MENTION=4487443]rmbq[/MENTION]!)

Alright, the two builds are attached and uploaded to AFH and MEGA

Also, I have a new MEGA Mirror, for those who prefer it or for when AFH is down. Check the post under my OP for the MEGA Mirror
[HTC One S] Hipnetix:
I've tried the possible fix. The dt2w doesn't work anymore when you disable it but the buttons still vibrate when the screen is of. Your fix has worked in some way, thanks!

EDIT: Just tried the version where it's disabled completely and it works perfectly! Thank you!
[HTC One S] Jd.93:
Fix

Thanks, maybe tomorrow or if I can i try it this afternoon!
[HTC One S] ZioRò:
I'll try the new one with the fix, but I had those features already running fine in previous build!

Yesterday I had another chaotic day, so it was not good for a report. Only strange thing I noticed was that I had a freeze after opening Vodafone app and had to reboot my phone. After that battery % dropped a lot, but I don't know if it's rom related..

Despite this episode, I keep getting the best performance and battery drain with your kernel :)
[HTC One S] javelinanddart:
Hmm....

Could be an issue with the Vodafone app

I had a random reboot because its been days since I last rebooted it, but it was a single occurance. What ROM are you on? I'm on CM11 M12
[HTC One S] ZioRò:
Im on latest LiquidSmooth (KitKat), but it's likely to be a problem with Vodafone app. Anyway, I've started playing a bit of Football Manager Handheld, so I'm also testing battery life while playing :)
[HTC One S] javelinanddart:
Then the reason it wasn't working is I tried to add DT2S and the code didn't work but I left it in there. I removed it in the fix so thank you for reporting on it :)

I will post a new build with the "fix" applied today

Keep using the nos2w one if you don't want it at all
[HTC One S] ZioRò:
I still haven't flashed new version with fix, so this is a report with previous version.

As you can see it has been on from 10 AM and battery died after these screenshots at 10.30 PM or so. As usual there has been Whatsapp, Tapatalk, Facebook, web browsing. In addition I played quite a lot (1h20min). FM worked flawlessly, even though it is not one of the heaviest games for Android. I also got more than 3 hours screen on time.

Well, battery life has proved once again to be great. Now only benchmarks are missing :)
[HTC One S] javelinanddart:
I did benchmarks with stock clock speeds and intellimm, intelliplug, and no intellithermal or any other features enabled. It's pretty good, but scores are little lower than would be with the performance governor

It was posted a couple pages back

Also, with mild-moderate usage, I got 17.5 hours AND still had 40% left

I Might try to tweak the values even lower to save more battery
[HTC One S] Jd.93:
I'm testing the fix kernel, it's working fine! Sometime I have to swipe twice or more, but probably it's me, not a problem of the kernel, thanks!!

A question, can this kernel have problem whit art? Because I tried to switch to art the oneplusone rom....big disaster! xD
[HTC One S] javelinanddart:
ART has nothing to do with the kernel, It's a high level runtime, a kernel is a low level peice of software that lets the hardware interact with the software

the having to sweep twice is the Deep Sleep mode, it happens no matter what.

What gapps were you using?? Try using PA GAPPS and then try to switch to switch to ART

Here's the heirarchy of Android and what parts are how high level. You can replace Dalvik with ART in the image shown below

[IMG="How Android Works"]http://elinux.org/images/c/c2/Android-system-architecture.jpg[/IMG]
[HTC One S] Jd.93:
Oneplusone have internal gapps, don't need to flash them.

Deep Sleep it's probably why sometimes s2w doesn't work, but in 2 days i had to use power button only two times, that seems to be good!! :D
[HTC One S] javelinanddart:
[MENTION=4144671]Jd.93[/MENTION] Then the GAPPS are probably not ART Compatible. Try flashing PA GAPPS and then try switching to ART
[HTC One S] waver1967:
any new developments ?
[HTC One S] javelinanddart:
No

Working on lollipop (sort of)

I'll get it soon enough

If you have any feature requests let me know please
[HTC One S] letsurock:
This features is so cool. Can you implement it?

http://xdaforums.com/android/software-hacking/kernel-tap2unlock-tap2wake-feature-t2965344
[HTC One S] Rapier:
It's not finished and not polished enough to be implemented in a daily driver kernel...just if it can be disabled by a switch (I've seen in the thread there is a way by writing 0 in the config file). There are two main concerns for me at this point:

- as AKToronto mentioned, our phone cannot have digitizer turned on independently from display. That means if this will be implemented, we'll have the display turned on all the time and that will eat alot of battery not mentioning side effects

- it is also stated in the OP of the thread you quoted that: "Note : even during a call u have to press power button , pattern then open to attend call". To be honest, I don't like to have the basic functions of the phone obstructed by some fancy turn on function that doesn't do anything practically and it's just for show off.
[HTC One S] javelinanddart:
In that case, I'm going to hold off. Thanks for the info!
[HTC One S] javelinanddart:
[MENTION=4981292]ZioRò[/MENTION]

Hey guys, I compiled a new build with the SaberMod GCC 4.9.3 Toolchain and I want to see if there's any performance gain. I have the build in my AFH and MEGA named voidkksmtchain.zip

For those of you on Lollipop, I'm working on it, I took a quick break here to test this build. If anyone wants to run benchmarks with intellimm, fiops, no OC, no zRAM, no intellithermal and intelliplug enabled, and post them, I posted the ones with these settings on the Linaro build a couple pages earlier.

Thanks!

P.S. I'll run them too, just wanted to have a second opinion
[HTC One S] javelinanddart:
Alright, Benchmarks for SaberMod Toolchain

AnTuTu: 20179 (improvement of 427)

Geekbench: 501 Single Core Score (Improvement of 194), 869 Multi Core Score (Decrease of 65)

Quadrant: 5940 (Decrease of 33)

3DMark Ice Storm Unlimited: 5170 (Decrease of 264)

3DMark Ice Storm Extreme: 3296 (Increase of 13)

3DMark Ice Storm:

Let me know if I should switch or stay with Linaro. I have no preference, I can build both.

[MENTION=1045770]Rapier[/MENTION]

[MENTION=4961470]AKToronto[/MENTION]

[MENTION=4981292]ZioRò[/MENTION]

Your feedback is much appreciated
[HTC One S] AKToronto:
Interesting. Ill check it out too and let you know.... How recent is the sabermod toolchain?
[HTC One S] Rapier:
I cannot test right now on KK, I have all the backups on PC cause I've cleaned sdcard.

In my opinion Linaro is better if the ROM is also Linaro optimized (like LS for ex). For other ROMs could be not much of a performance increase.

Sent from nowhere over the air...
[HTC One S] ZioRò:
Me too, I have no particular preference and I can't test it since I'm trying Candy5 at the moment.. :/

Edit: If you need some testing on LP kernel I'd be happy to help you :D
[HTC One S] Jd.93:
AnTuTu:

Voidpossiblefix 19007

This 19012

Quadrant:

Voidfix 6363

This 5913

The others bench give me errors...
[HTC One S] javelinanddart:
The SaberMod toolchain is from December 7th

https://github.com/SaberMod/arm-eabi-4.9

Use the master branch
[HTC One S] javelinanddart:
FYI

Hey guys, bad news,

I have to start from scratch for Lollipop because some of the changes rmbq made are causing it not to boot. [MENTION=4961470]AKToronto[/MENTION], if you'd like to try to make my kitkat branch work with lollipop somehow, please try, but I doubt it's going to work.

This will take a while to do, hopefully on Christmas I'll have it ready. I also might start building some ROMs soon, any requests? I'm going to do a pure AOSP build already

I'll still be around if any kitkat users remain.

Thanks,

javelinanddart
[HTC One S] javelinanddart:
If anyone wants to make a pull request, github is at:

https://github.com/javelinanddart/android_kernel_aosp_ville

branch lollipop
[HTC One S] Hai96:
if you are interrested in building an aosp rom euphoria os is a very good choice, iam using it on my n7 and it runs brilliant and has many features. the rom is made by the creators of mhadi rom

PS: here are some links :D

https://github.com/Euphoria-OS/android_manifest

https://plus.google.com/communities/116795582851167273031