yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] jlevy73:
I agree, the last version of hangout is a real drainer. Obviously not a kernel issue but it does provide artificially low battery results.
[One (M8) Original Android Development] Saikat.mondol1:
My hangout haven't sucked till now. Can you tell me when it get stucks?

Anyway. Guys, for some reason I lost HTC Tv after flashing this kernel. How can I get it back?
[One (M8) Original Android Development] p50kombi:
My hangout sucks always.. That's why I don't use it ;)

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[One (M8) Original Android Development] jlevy73:
Sorry for the OT, but what are you using as an alternative for it?
[One (M8) Original Android Development] p50kombi:
Hehe..I was merely remarking on the post of Saikat.. ;)

But I use Whatsapp and since I have unlimited text messages on my provider, I don't really need hangouts...
[One (M8) Original Android Development] Pyr0x64:
Thanks for all your hard work so far flar2 :)

I was wondering if it would be possible to get a CIFS module or built-in support please?
[One (M8) Original Android Development] flar2:
Already built in.
[One (M8) Original Android Development] shohratshankar:
Hey just wanted to give an observation.

I was using viper rom with elemental 0.14 and then 0.15. I was getting large battery drain and only about 3hr SOT. The drain during idle was high.

On seeing your statement that it couldn't be the kernel and must be the rom or other software I flashed Insert coin 2.7.

Using the same kernel 0.15 I was getting high drain.

Then I decided to make only one change.... I went back to kernel 0.10 and suddenly I now have 5-6 hrs SOT

So for now I'm going back to Viper rom with 0.10 and am going to test and update my findings.

Thanks for the great kernel
[One (M8) Original Android Development] ivicask:
There are no drains in this kernel or viper rom , check wakelocks, its probable Google play services, i had 100% wake from latest ones, make sure your using old ones 4.3.24 version, my phone lasts 2-3 days NP with moderate usage using latest Viper + this kernel v0.15.
[One (M8) Original Android Development] djmatt604:
Sorry for off topic but for those of you reporting battery drain, look into the Greenify app if you haven't already. It's amazing.
[One (M8) Original Android Development] shohratshankar:
How can I use old Google play services? It tends to auto update.
[One (M8) Original Android Development] Lostatsea23:
An epic placebo... Lol that applies to C/C++ codes and there's very small amounts of that on Android.
[One (M8) Original Android Development] ivicask:
It doesnt auto update if flashed to system/priv-app only if installed to /data

Remove all play services from phone, than flash this and verify your running 4.3.24, and if it updates after some time..

http://d-h.st/5kA
[One (M8) Original Android Development] shorty1483:
GMSCore 4.3.24 is in priv-app by default on Viper, nevertheless it also updated itself to 4.3.25...
[One (M8) Original Android Development] ivicask:
4.3.25 is also fine, new 4.4.x cause problems..
[One (M8) Original Android Development] flar2:
Kernel is almost entirely C but those optimizations are all well known to kernel devs.

I have been testing linaro gcc 4.9, will probably build next release with it. I'm currently using 4.7 on these releases. I doubt anyone could detect a difference in a blind test.
[One (M8) Original Android Development] Snah001:
To save some time for me : do you have the apk of hangouts that works OK? It nerves me a lot this stupid behaviour of the current version of hangouts.

Sent from my Asus Infinity TF700 with Dock
[One (M8) Original Android Development] bpdev:
[MENTION=4684315]flar2[/MENTION] Is there any way to prevent the recents button from being activated when using your s2s gesture?
[One (M8) Original Android Development] flar2:
The only thing I can suggest is to try not to start the sweep on the recent apps button.
[One (M8) Original Android Development] flar2:
Update!!!!

For GPE based ROMs

Custom wake gestures support has been added. Exactly the same as on the Sense version.

The custom gestures will not start working for a couple minutes after boot to make sure everything initializes properly.

I tried a different toolchain as well. I've been using it for a few days and seems to be working fine. I usually build my own toolchain, but this one looks good: http://xdaforums.com/showthread.php?t=2098133

Update to Sense coming soon, when I have time to switch back to a Sense ROM.

Download:

ElementalX-m8-0.16-GPE

Changes:

-add custom wake gestures

-update slimbus oc (@poondog/@zeroinfinity)

-build with Linaro GCC 4.9.1 toolchain (@Christopher83)
[One (M8) Original Android Development] flar2:
Could also switch to the sweep right option.
[One (M8) Original Android Development] captainreynolds:
[MENTION=4684315]flar2[/MENTION] - I'm curious, have you had any chance to work on MHL to HDMI output at consistent 60Hz?
[One (M8) Original Android Development] wera750:
.16 working great so far! Anyway to make haptic feedback stronger?
[One (M8) Original Android Development] mrjaydee82:
Awesome work man as always :)
[One (M8) Original Android Development] flar2:
I haven't had time to work on it lately. I will come back to it.

Stronger overall, or just on the wake gestures?

For overall vibration strength, 3100 is the highest.

echo 3100 > /sys/devices/virtual/timed_output/vibrator/voltage_level

Vibration strength for wake gestures, can be set any from 0 to 60. 0 would disable it. 20 is default. 40 would be pretty strong.

echo 40 > /sys/android_touch/vib_strength
[One (M8) Original Android Development] yblaze8:
Great info, I always wanted to disable the vibration for the wake gestures.
[One (M8) Original Android Development] flar2:
Update for Sense ROMs

The main change is this build is compiled with Linaro GCC 4.9.1. I don't think it makes much, if any difference, but let's try it.

Also delayed the custom wake gestures for over a minute after boot.

Download:

ElementalX-m8-0.16-Sense

Changes:

-build with Linaro GCC 4.9.1 toolchain (@Christopher83)

-boot delay for custom wake gestures

__________________________________________________

Update for GPE based ROMs (same as originally posted one page before)

Custom wake gestures support has been added for GPE. Exactly the same as on the Sense version.

The custom gestures will not start working for a couple minutes after boot to make sure everything initializes properly.

I tried a different toolchain as well. I've been using it for a few days and seems to be working fine. I usually build my own toolchain, but this one looks good: http://xdaforums.com/showthread.php?t=2098133

Download:

ElementalX-m8-0.16-GPE

Changes:

-add custom wake gestures

-update slimbus oc (@poondog/@zeroinfinity)

-build with Linaro GCC 4.9.1 toolchain (@Christopher83)
[One (M8) Original Android Development] frankcck:
I was thinking it might take some time while you switch from GPE to sense...

Haha, thanks anyway!

Excellent work!

ViperOne@HTC One M8
[One (M8) Original Android Development] flar2:
I didn't actually switch yet. I hate releasing without testing, but this build should be okay because I was using it on Sense all weekend and the installer hasn't changed.
[One (M8) Original Android Development] wera750:
Stronger wake gesture vibration ftw! Thanks!
[One (M8) Original Android Development] My Beer Belly:
Running .16 kernel on ARHD 6.1 and this is as good as the phone has felt. My wife is impressed enough that I was able to convince her to let me restore my nandroid on her phone. Keep up the great work.
[One (M8) Original Android Development] jlevy73:
Thanks for the update. No real difference, speed wise. Pocket detection and custom wake gestures have been working well.
[One (M8) Original Android Development] BrandonPrice31:
I'm not sure if I understand motion gestures? I already have them in my stock rom? What's the difference
[One (M8) Original Android Development] Onem8:
[MENTION=4684315]flar2[/MENTION] are you in the future going to add more governors ?
[One (M8) Original Android Development] kfasheldon:
.16 up and running on arhd 6.1, normal stock gestures working exact like stock for me , since .12 I was having slow and intermittent results.

Thanks flar , smooth and speedy.
[One (M8) Original Android Development] rbouza1:
no issues at all on .16 gpe
[One (M8) Original Android Development] NJGSII:
Definitely an app issue and I'm experiencing the same thing. Going to downgrade versions till it's fixed. I use a separate app for sms any way.
[One (M8) Original Android Development] mattman83:
They work better (proximity sensor as part of it) and you can disable the ones you don't want. Great for me as I only use swipe up and used to get many pocket wakes. Not now!

M.
[One (M8) Original Android Development] Hedi86:
Download didn't start for me... :( Any other Links ?
[One (M8) Original Android Development] NJGSII:
You have to click or touch "begin download" and then wait 10 secs for the links to appear.
[One (M8) Original Android Development] Hedi86:
Yes i know... thanks. No Mirror starts only blank site
[One (M8) Original Android Development] NJGSII:
Are you trying to download from the phone or pc? If one isn't working try the other.
[One (M8) Original Android Development] Hedi86:
both didn't work...
[One (M8) Original Android Development] NJGSII:
Ok, lastly if your are using WiFi try your data connection instead to see if that will work.
[One (M8) Original Android Development] Hedi86:
Aaaah it works !!! :D Thx ! ^^
[One (M8) Original Android Development] NJGSII:
You got it.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
All ppl who talk about the problem they have with hangouts...try to greenify them...I greenified and using latest version and I have no problems...my wakelock apps aren't showing problems with hangouts or so

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] jlevy73:
Yes of course the problem with that being I don't get notified of new message notifications. Greenified is excellent for ram whoring apps like Chrome that only need to be used then shut down (and then started up again when launched). You're solution isn't a bad one just not ideal for those that use it all the time. Thanks though.
[One (M8) Original Android Development] DeeZZ_NuuZZ:
I just bought the donation app and I'm using xposed...so I enabled the option even when the app is greenified I can get the push notifications, so I can see them normally :)

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] flar2:
No. The reason EX kernels are successful is because I optimize, optimize, optimize rather than adding lots of stuff.
[One (M8) Original Android Development] frankcck:
That's exactly why we love your works so much!

ViperOne@HTC One M8
[One (M8) Original Android Development] BrandonPrice31:
0.16 gets me drastically better battery life then 0.10 on GPE.

This kernel works FLAWLESSLY on GPE.

Flar, you're the man!

For the swipe left/right on status bar, is that only when the phone is off?
[One (M8) Original Android Development] kfasheldon:
Got to say battery life is great on .16 no problems at all so far, thanks
[One (M8) Original Android Development] Giblet-dono:
Did you see the PM I sent you?
[One (M8) Original Android Development] jlevy73:
I agree with all the posts about improved battery life. I was on absolute garbage 1 bar 3G reception all day and battery life was really good (about 2%/hr). Great kernel as always.

---------- Post added at 06:26 PM ---------- Previous post was at 06:24 PM ----------

Thanks for the tip.
[One (M8) Original Android Development] flar2:
How are the gesture options working out on .16?

I'm hoping the last changes fixed the sensor initialization issues.
[One (M8) Original Android Development] Saikat.mondol1:
after flashing v0.16 all of my phones motion gestures have stopped working. So, I select don't edit motion gestures then all gestures command were taking a lot time to work. I revert back to v0.10 and its fine now. I've M8 Europe (as CPU-Z says) please fix this. Thanks
[One (M8) Original Android Development] tiho5:
Tried version 0.16

Mode 2:

Every gesture selected

Pocket detection selected

Gestures left, right and up result in working proximity on call. Improvement for me!

Gestures down and DT2W, break proximity on call for the first few calls (note: swipe down doesn't unlock the phone for me. Only the screen is lit up and a second gestures is needed to unlock, as I don't have voice dial installed)

If DT2W is used, the proximity on call isn't working for the first few calls always, but if I immediately lock the phone and unlock using swipe up, left or right, proximity on call works OK the FIRST time.

So I think there's a pattern:

If I have done a gesture on lockscreen when the screen is lit up, somehow this results in proximity on call to break for the first few tries. Because:

A. the gestures which immediately unlock aren't a problem

B. Proximity isn't working on first few calls even if I wake the phone with the power button and use a gesture to unlock it.

Tested Mode 3 too:

Swipe up & DT2W only selected

Pocket detection selected

Proximity isn't working on first few calls. Even if I wake the phone with the power button. Gestures only wake the phone here. Then a new gesture is used to unlock it. So the same pattern is valid.

DT2W still needs more adjustment to respond only for shorter times between the 2 traps, I think.

I feel like the black sheep from the flock...

But I really want to help making this work flawless.
[One (M8) Original Android Development] jlevy73:
As long as I let the phone stay on for about a minute upon first boot gestures work fine. I also find that toggling the power button once or twice after the first minute helps too.
[One (M8) Original Android Development] flar2:
First, you need to provide more info. Sense or GPE for starters.

Second, did you try rebooting? And did you wait for a few minutes after boot to try them?

I feel like you're rushing to change settings before investigating why they aren't working properly.
[One (M8) Original Android Development] jlevy73:
Wow, really detailed analysis. Even if you are the black sheep, this kind of feedback will definitely help Flar isolate the issue.
[One (M8) Original Android Development] flar2:
Thanks for the detailed report.

It just doesn't make any logical sense. There is no difference if you use double tap or swipe, the code is the same either way.

The proximity either works or it doesn't. There is no explanation why it would not work and then start working at some later point.

I think I'm n going to abandon the custom gestures, as they are too finicky and there seems to be no way I can make b them work for everyone.
[One (M8) Original Android Development] tiho5:
Thank you! I did the waiting after reboot too as necessary.

And as for the battery comment you made, I agree! Ever since 0.10 I some times have 0,2% per hour. Fantastic. With all stock setup. He's making everything ready for us. Can't be happier. I'm sure it will be the same on ver 0.16, as nothing on that was changed, but still refrain using it.
[One (M8) Original Android Development] Saikat.mondol1:
I rebooted my phone twice. Though I rushed at first. But then I went to venom tweaks to reduce CPU speed. After then I tried for a few minutes but the double tap 2 awake and Swype up are taking 3-5 seconds to unlock. Also when unlocking, I could see that the nav bar is coming up slowly. Never happened before. Flashed 0.16 twice. Same result. but even though I rushed to check double tap to wake on 0.10 on third try. It was working smoothly like before. I dunno if there is something that I did wrong. But 0.10 is perfect and stable trust me. I'm using Viper One M8 . It's sense based Rom I guess
[One (M8) Original Android Development] tiho5:
No!

You're almost there.

Damn HTC. Especially with HTC One m8 they really went over the edge with the use of different hardware. Look at the S-Off issue.

I'm sure you'll get the idea of what's the cause. How can I help?
[One (M8) Original Android Development] Vandam500:
For people with Hangouts battery issue looks like Google is aware and working on a fix: http://www.droid-life.com/2014/05/2...ve-amount-of-battery-google-working-on-a-fix/
[One (M8) Original Android Development] flar2:
It's not the same. It allows the phone to charge faster when you have it hooked up to a usb port on a computer (as long as the computer is able to provide the current). Normal is 500mA, I changed it to 1100mA.

It works, I've tested it.

This kernel makes no difference in the charge rate when you use the AC adapter. However, other things can affect that charge rate (eg: the adapter, the cable, battery temperature)
[One (M8) Original Android Development] nunyabiziz:
There is a difference in charging rates between the Sense and GPe stock kernel. I have tested by restoring between the kernels. By default the stock GPe charges faster and at the a higher rate using the same charger. Would it be possible for you to look into tweak for the Sense version? Thank you.
[One (M8) Original Android Development] Onepagebook:
Excuse me a bit, I just can't find the pvs bin in /sys/fs

did I miss something or there is any path I can look for?

and also..0.4 kernel is very good but just a bit confused that if I have 8974ac, then can we have higher OC freq. :p

Appreciate the hard work!!

OPB
[One (M8) Original Android Development] Freak07:
http://xdaforums.com/showthread.php?p=51698153

;)

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] Electronic Punk:
Is there a downside to this? Why is it never included by default? :(
[One (M8) Original Android Development] Onepagebook:
you're the man!!
[One (M8) Original Android Development] meleelord:
I shall do a fresh install later on and report
[One (M8) Original Android Development] sille:
Got no WiFi on beta 4... Back to stock kernel ;(

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] flar2:
I don't get it. Maybe you could save the installation log?

Try wiping caches?

My installer copies the correct WiFi driver, make the symlink, sets the permissions. It should work. It works for me on stock, viper, arhd, and stock gpe.
[One (M8) Original Android Development] flar2:
The reason it's capped at 500 is that is the USB standard. There might be a scrappy motherboard out there that tries to deliver more current than it can handle, but the vast majority of computers out there can easily handle it.
[One (M8) Original Android Development] sille:
Yeah wiped caches too but nothing.... Can't enable the WiFi always says off... When I'm at home I save the installation log

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] jimmydigital00:
Same problem on my AT&T M8. I manually cleared all cache several times and selected multiple installation options. Still no wifi

Thanks for your work on this and cannot wait until it is perfected. I have been using your kernels for quite some time now and love them.
[One (M8) Original Android Development] flar2:
For those without WiFi, could you please reflash your Rom, boot into it to verify its working, then install elemental.

If you still have no WiFi, please do the following as root in the terminal or adv shell:

insmod /system/lib/modules/wlan.ko

dmesg > /sdcard/dmesg.txt

And then send me dmesg

You could also do this:

ls -al /system/lib/modules

ls -al /system/lib/modules/pronto

And send me that output
[One (M8) Original Android Development] dark2099:
I think that can help, my first try flashing 0.4 I didn't have Wi-Fi, when I flashed again without undervolting and wiping caches, it worked.
[One (M8) Original Android Development] rbouza1:
im using latest version on gpe converted att. everythings smooth. no oc either
[One (M8) Original Android Development] gjlowe:
Yes!! exFAT working! Thanks [MENTION=4684315]flar2[/MENTION]! Great work!

---------- Post added at 12:14 PM ---------- Previous post was at 12:12 PM ----------

Is it possible to use Trickster Mod to switch fast charging back and forth?
[One (M8) Original Android Development] manup456:
I'm on Viper rom and have the at&t version no WiFi issues at all great on this so far.
[One (M8) Original Android Development] meleelord:
Just reflashed Viper, and it works fine with the wifi now. Not sure what was wrong before :)
[One (M8) Original Android Development] lyapota:
Stock rooted ROM, no problems with Wi-Fi here.

Good work :good:
[One (M8) Original Android Development] tim.ton:
What file would I need to edit?
[One (M8) Original Android Development] jlevy73:
Good to know!

---------- Post added at 07:51 PM ---------- Previous post was at 07:46 PM ----------

Just my two cents, but from 0.10 to 0.16 I've gone from no custom gestures working to all of them working perfectly. It goes without saying that custom gestures makes up about 0.001% of the reason I've used your kernels for the last two years. While I hope you don't abandon them I appreciate all the work you have put into it.
[One (M8) Original Android Development] NJGSII:
That's my reddit post in that article!
[One (M8) Original Android Development] 420SYN:
I just flashed .16 a few hrs ago and alot of the time the gestures won't work when I pull it out of my pocket. I have the same settings I had with .15 and didn't notice it there. Sense version
[One (M8) Original Android Development] GelullaBarr:
yeah, you are right...I like your style.
[One (M8) Original Android Development] jzd5032:
Likewise
[One (M8) Original Android Development] blacklistedcard:
So far no issues with v0.16 and the 4.9 toolchain. Nice
[One (M8) Original Android Development] 420SYN:
I rebooted and it seems fine now. I didn't reboot after the first run of .16 so maybe that's why?
[One (M8) Original Android Development] jzd5032:
Just rebooted and tried, still having issues. Only thing working is double tap, swiping right to unlock when screen is off, and swiping navbar to shut off screen. The other gestures don't work for me. I even tried setting them in venom tweaks but still nothing
[One (M8) Original Android Development] p50kombi:
For me using custom gestures on .16 makes my screen not turn off during phone call when putting phone to my ear.. Back to stock gestures.

**********

Sent from a tin of baked beans using some chewing gum, tinfoil, a piece of string and a manual written by MacGyver
[One (M8) Original Android Development] jzd5032:
Also confirming this issue
[One (M8) Original Android Development] fix-this!:
Am i missing it or has there not been updates in awhile? Any chances of adding the elementalx govenor?
[One (M8) Original Android Development] waz675:
Last update was v16 in the past 24 hours or so.

Post #1334
[One (M8) Original Android Development] flar2:
You could send me your phone....

No, I'll make a kernel for you with a bunch of debugging messages and get some logs.

But its not looking good for custom gestures. I don't want the thread to be constant complaints about the gestures not working. There are other things I want to work on as well.
[One (M8) Original Android Development] Ravenmtx:
Flashed 0.16 Sense. Mode 2. Viper 1.6. Everything is working perfectly for me. Swipes, double tap, pocket detection. The morning coffee making feature doesn't seem to be functioning, however. :P
[One (M8) Original Android Development] jreyno10:
Yeah same. That's a super useful feature, wish he could get it working [emoji1]

But in all seriousness, v16 is running great. No issues so far.

Sent from my M8
[One (M8) Original Android Development] BrandonPrice31:
Having a really weird issue with GPE 0.16.

My wifi is off, however, it is on.

The phone settings show the wifi toggle to be off, and it says it's turned off. However my battery is draining more then normal and betterbatterystats and the stock battery monitor show that wifi is running?

Did not have this before flashing 0.16.
[One (M8) Original Android Development] bamboosensei:
Go into Wi-Fi settings and then the advanced settings. Is the Wi-Fi always scanning option ticked? If yes, then turn it off.