yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] EtherealRemnant:
If the phone is in operation and needs a reboot, you have to hold down power plus volume up to reboot it. It's nice that they switched it this way too because now if you're fast enough, as soon as it restarts you switch to power plus down to get into hboot. It's tricky but it resolves the constant reboot issue with the M7 that required you to drain your battery before you could enter the bootloader if you weren't able to connect to the phone with adb
[One (M8) Original Android Development] donmarkoni:
Ah... OK. I got it. Misunderstanding. ;)

BTW, I never had that problem on M7, but it's off topic here.
[One (M8) Original Android Development] yblaze8:
I'm also experiencing a decline in battery life (-2hrs of SOT) with 0.10. I have the same setup as before: stock CPU settings, undervolted -45mV, have fsync and the magnetic sensor off. I'm going back to 0.9 to test it out again to be sure that's the culprit.
[One (M8) Original Android Development] EtherealRemnant:
Yeah I just went to InsertCoin 2.5 and went back to the settings I had for 0.9 and I'm going to run it. I did do a battery bench with GFXBench and scored 159 minutes which is 2 minutes more than the stock M8 they have listed there. I've been running graphic intensive benchmarks the whole time it's been off the charger and I'm at 48% right now with 2:12 SOT which is about right. We will see how it fares the rest of the day. The Adreno drains it incredibly fast which is expected behavior. The benchmark for the battery shot my temperature up to 115F so it was really pushing the device. My M7 would be around 15% by now.

I'm wondering if maybe it was a combination of underclocking the GPU and turning off the game boost.
[One (M8) Original Android Development] flar2:
If you're getting worse battery on 0.10, it's due to different settings or something other than the kernel.

All else being equal, 0.10 will definitely give you better battery life than 0.9

The main difference in version 10 is the removal of a compilation option that I had in previous versions. The other changes in 0.10 (enabling HD Audio and the simple_ondmeand GPU governor) won't affect battery life in an of themselves (unless you enable the simple_ondemand gov, which is more aggressive and may use more battery)
[One (M8) Original Android Development] flar2:
Update on the modifications to motion launch gestures:

The news is good, lots of options are coming for wake gestures, and they don't cause battery drain.

You'll be able to choose from stock motion launch gestures, motion launch gestures that work without moving the phone, and traditional s2w/dt2w. Should have pocket detection as well.

I still have lots of work to do to make everything work seamlessly.

Should be ready sometime this week.
[One (M8) Original Android Development] jlevy73:
Awesome flar, looking forward to it. There will be a lot of happy m8 users :)

FYI, been running 0.10 with simple gpu governor and the battery drain is negligible.
[One (M8) Original Android Development] shasen1235:
Awesome!

By the way Flar,do you mind consider to add Faux's LG G2 screen calibration?

M8's screen usually looks good but when watching some videos like NBA highlights,the whole video including players' skin just looks so purple:eek:
[One (M8) Original Android Development] bpdev:
Without hurting battery life?????? That's amazing!!!
[One (M8) Original Android Development] Simer03:
10 is nice but I'm going back to 9! Battery for me just seemed better! Thanks for the kernel!

Sent from my HTC M8
[One (M8) Original Android Development] muppetmaster916:
Wow sir you are a beast, good work and thank you, looking forward to the new build.
[One (M8) Original Android Development] bpdev:
[MENTION=4684315]flar2[/MENTION] so will one of the options basically work like stock except not require the device to be moved?
[One (M8) Original Android Development] Quadrider10:
so will this kernel support Verizon soon?
[One (M8) Original Android Development] bpdev:
Read back a few pages. As of right now.....no
[One (M8) Original Android Development] ThePwnie:
I have an older version of this kernel, do I just install the newer version to update or do I need to do a wipe?
[One (M8) Original Android Development] p50kombi:
Nope..

You can just flash the latest version over the one you got.

Go for it and happy flashing... :)

**********

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] Win_Wizard:
Bose eh. How bout some studios with 5 - 80k hz frequency response (my Sony MDR 7520s) downloading now and have 3500 flac songs on my 128gb microsd
[One (M8) Original Android Development] itzsnookums:
Yeah i love my bose, they don't have much bass but it has the clarity that i like.......but seriously i really dont hear a difference between the non-compressed audio vs. compressed audio.....

note: im running this without s-off so maybe the songs are still compressed, idk.....
[One (M8) Original Android Development] Win_Wizard:
Also Bose aren't true audio. And uncompressed music really shines at high volume. Also with uncompressed music I personally can hear more of the song because you are hearing more of the soundstage.
[One (M8) Original Android Development] itzsnookums:
ok give me a few minutes i'm going to s-off really quick and see if the updated adsp helps any....that could be the problem

also: i disagree about the bose not being true audio, people bash on bose cause they are expensive, but ill take my bose any day over beats headphones......

next investment is in shure headphones....
[One (M8) Original Android Development] pham077:
Yeah that is true. If your headset/IEMs are average then the difference would be minimal in terms of quality, there should be a slight boost in gain from mp3 to FLAC though, from what I've experienced anyway

Like WW said, you really can tell the difference between uncompressed audio at high volume where the separation & sound-stage are more apparent.

I was doing A/B test the other day before I flashed elemental 0.10... at first I was comparing my stock ARHD with my ipad and the ipad sounded so much better - fuller, clearer and more musical compared to the M8..

Then I flashed elemental and listened again and I felt it was suddenly better!! Other from activating hd audio I am not sure if flar has changed anything else but I am sure I heard an improvement after flashing!

Will test next time when I have time to do a clean flash haha.. very happy with elemental atm, thanks Flar!:cyclops:
[One (M8) Original Android Development] itzsnookums:
I updated the adsp, and then played the flac vs. Spotify........

There is most definitely a difference.....

How am I supposed to listen to spotify anymore lol
[One (M8) Original Android Development] BrandonPrice31:
What is the best setting for min, max, I/O, scheduler I can do for battery life with optimal performance.

I want to underclock my CPU as well.
[One (M8) Original Android Development] steve1996:
Get yourself a 64gb sd card and say goodbye to spotify
[One (M8) Original Android Development] p50kombi:
128 more likely.. My 64 is filling up with flac files at a alarming pace :)

**********

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] BrandonPrice31:
What is a good min/max for battery and decent performance?

What I/O and governer?
[One (M8) Original Android Development] steve1996:
Leave them alone
[One (M8) Original Android Development] shorty1483:
Don't know how much this is kernel related but is it possible to implement at least the tap2wake mod that this feature can also be used with AOSP lockscreen?

The fugly Sense one is not really my thing when thinking back to dashclock... ?

BTW, great work: 7J531065PC995172D

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] flar2:
Thanks!

With the next release you will be able to have double tap or sweep (any direction) to wake independent of the htc motion launch gestures and fully configurable.

However, double tapping to sleep on the lock screen is not done with the kernel
[One (M8) Original Android Development] BrandonPrice31:
I had a cpu tuner previously set and ended up deleting it because you guys recommended I let kernel set my Max and min. Will my kernels settings go back to stock now since I deleted the application
[One (M8) Original Android Development] DeeZZ_NuuZZ:
You need to reboot then...it should be back normal then

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] BrandonPrice31:
How do I go about enabling HD audio in this kernel? Is it done automatically or an option?

I also installed Project ERA sound mod on top of the kernel, is that fine?
[One (M8) Original Android Development] jlevy73:
HD is enabled automatically.
[One (M8) Original Android Development] jaythenut:
Project ERA sound mod is pretty much the same thing so don't think you need to install it
[One (M8) Original Android Development] Shebee:
How can I adjust the color?

I thought this was supposed to come with that.
[One (M8) Original Android Development] elsworth1983:
Wrong place to ask, as this is a kernel thread not a rom thread better go & ask in the correct thread ;)

Sent from space
[One (M8) Original Android Development] Forsaked:
Proven wrong answer!

Use Trickster Mod to adjust the color.
[One (M8) Original Android Development] Shebee:
No this kernel comes with color control, I downloaded trickster mod and it works but how can I adjust it without 3rd party apps?
[One (M8) Original Android Development] elsworth1983:
Missed that ?

Sent from space
[One (M8) Original Android Development] DeeZZ_NuuZZ:
You can't without 3rd party apps...use trickster mod and tweak the colour if you don't want to leave the colour stock! ..lol

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] rohorubo:
What color settings are you guys using? Whats the benefit?

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] jlevy73:
I haven't touched color settings as my screen looks good to me out of the box.
[One (M8) Original Android Development] Johnny424:
Yeah agreed ..coming from nexus devices where adjusting color is a must. I don't see the need with the m8
[One (M8) Original Android Development] -juanito-:
Is there any recommended settings for best battery life ?
[One (M8) Original Android Development] Shebee:
Possible to add more screen adjustments? Like gamma, the m8 screen is so badly calibrated.
[One (M8) Original Android Development] GSLEON3:
Yes. The recommended settings. Default.
[One (M8) Original Android Development] michagol2:
Just speaking from my own experience with this kernel v0.10 and taking some advice through searching, the best battery and most stable performance will come from the initial setup provided by flar2. Ill post screenshots soon but I've been getting ~6 hours SOT with 2.5 hours on phone about 1 Day 7 hours total.

During setup the tips I would offer

Underclock to 1.7 - I am completely lag free and have lots of power to spare, several in this thread have attested to this

UV -45 - this will only under volt the minimum freq, but you are at the freq for a majority of the time

leave max screen off freq where it is

dont enable simple_ondemand gov, flar2 has stated its more aggressive and could use more battery

I havent seem too much of a difference with under clocking GPU but its an option, only do 1 step down

Use the htc power saving settings if you want to underclock further (i think it UC to 1.2), dont use trickster

Im still looking to learn more but thats what I see as of now
[One (M8) Original Android Development] bentez2003:
What's wrong with using Trickster?
[One (M8) Original Android Development] steve1996:
Nothing, you just need to know which settings are suitable, for example under clock with trickster won't work, colour and under volt works well on trickster
[One (M8) Original Android Development] michagol2:
Yea, thanks for elaborating on that. As Steve said there is nothing wrong with Trickster but if you start using underclocking min freq theres a chance that a or higher freq will get stuck. This quote below is directly from Flar2 and is what I was trying to say.

"I strongly suggest that you don't try to set frequencies with apps. Sometimes pnpmgr sets the min freqency higher to ensure smooth performance. If you happen to set with TricksterMod while the min frequency is boosted, it can get stuck there.

Beyond that, it is far better to let the governor, mpdecision and pnpmgr work as they are intended to work. They have been optimized first by HTC, then by me, to be as smooth and balanced as possible. There is no reason ever to change the min frequency, and if you want to temporarily lower the max frequency, just use power saving mode."

UV is fine on trickster but just UV the min freq should be more than enough. Too much UV can cause stability issues.
[One (M8) Original Android Development] sachinaik:
Hi Flar2,

If I flash this kernel on Asian (Indian) M8, will it underclock M8 from 2.5Ghz to 2.3Ghz ?
[One (M8) Original Android Development] captainreynolds:
[MENTION=4684315]flar2[/MENTION] - don't know if you saw this, but this looks like a very cool system modification that is very simple allowing a 3 finger tap to lock the screen. It seems our phone supports all sorts of gestures when the phone is unlocked.

Currently it only does the 3 finger swipe up to choose media output. mohammed, who does a whole bunch of xposed stuff, made this. http://xdaforums.com/showthread.php?p=52429983

It would be awesome if you could add it as an option in the aroma installer, in addition to the sweet to sleep option. It seems mohammed's version locks the phone rather than sleep it but I'm sure that it doesn't have to work like that.
[One (M8) Original Android Development] Vandam500:
Do you know if there is a way that I can disable "simple_ondemand gov" after I've already enabled it or should I flash the kernel again and just not enable it then?
[One (M8) Original Android Development] cepheid46e2:
You can use one of the CPU Throttle programs in GPlay store to change the governor on boot. Conservative works well for battery life without slowdown.
[One (M8) Original Android Development] GSLEON3:
Actually a day or two ago [MENTION=4684315]flar2[/MENTION] touched on all the possibilities regarding tap/sweep/gesture options on the M8 & said to look forward to many options. Personally, I will wait. Much rather have Flar2's solution & eliminate the need for Xposed & modules.
[One (M8) Original Android Development] Vandam500:
Doh! Totally forgot about that. Downloaded Trickster and changed the govenor. Thanks!
[One (M8) Original Android Development] flar2:
Sounds like a useful feature, but I don't want to add non-kernel stuff to the installation, people can add this module later if they like. With xposed you can do pretty much anything.

Reflashing would work, or you can edit /etc/elementalx.conf to choose the stock gov
[One (M8) Original Android Development] flar2:
UPDATE!!!!

This release allows customization of the Motion Launch Gestures. There were a lot of little things to take care of, and a huge combination of options. I think I have everything covered. This is a beta, there will probably be a few things that need to be fixed up.

You can leave the gestures completely stock if you want, in which case, this kernel is identical to 0.10.

Or you can use my custom wake gestures, which don't require the phone to be moved in order to work. Enabling the gestures does not cause battery drain. The custom gestures will work with the HTC Motion Launch actions. For example, sweep right goes to blinkfeed, sweep up unlocks, etc. If you don't want this, and just want the gestures to wake the screen, you can select "Traditional S2W/DT2W" in the installer.

If you select the custom gestures, you will have the option of enabling or disabling each gestures (sweep right, sweep left, sweep up, sweep down and doubletap). And you can enable or disable haptic feedback upon successful gestures.

There is experimental pocket detection, but I didn't put the option in the installer. It works, but not consistently. You can enable it by editing /etc/elementalx.conf. It seems to take about 5 or 10 seconds after the screen goes off before the proximity sensor starts working. One time, it kept reporting that the proximity sensor was covered, and the gestures stopped working temporarily (I just turned the phone on the traditional way, i.e. with the pwr button)

I've also modified sweep2sleep, you can choose sweep right, sweep left, or both.

GPE version will come later, I'm very busy lately.

Download:

ElementalX-m8-0.11-Sense

Changes:

-add wake gestures

-add sweep2sleep options

-update installer
[One (M8) Original Android Development] Gamesoul Master:
Just installed 0.11 (over 0.10, using InsertCoin), selected the new option to use gestures without moving the phone, but now the phone won't wake at all using gestures (none of them) or double-tapping. Only the power button wakes it.

Still goes to sleep with a navbar swipe, and it does work going in either direction now.

I'm gonna attempt the install again in case I somehow clicked a wrong option... lol.

Edit: Definitely selected the correct options, still not working to wake the phone. I saved the log in case you want it, but I imagine it may not be useful in this case?
[One (M8) Original Android Development] flar2:
the gestures don't work for a minute or two after boot. You have to wait for the Easy Access service to start up.

Make sure the options are actually enabled.

Check /sys/android_touch folder. wake_gestures should be set to 1 , doubletap2wake should be 1 and sweep2wake should be between 1 and 15.
[One (M8) Original Android Development] Gamesoul Master:
Well, I just installed using the "traditional" option for S2W and DT2W, and those work without having to move the phone, but as specified they don't do the actual launch gestures (so they all take me to the lockscreen).

I will install with the other option again and follow your advice on it. I did keep trying it for about 5 minutes before giving up, but I'll check to see for that service to start before testing again, just to be sure.
[One (M8) Original Android Development] flar2:
I only tested on Viper, which modifies the service. I guess I'll have to install some others.
[One (M8) Original Android Development] jlevy73:
Same problem. Removed gestures to work with motion and it won't wake the device anymore. I checked the wake_gestures folder and it's set to "1"

Update: I'm using insert coin rom.
[One (M8) Original Android Development] Gamesoul Master:
Everything is as you say it should be, except I don't see the Easy Access service at all. Well, at least I don't see it as part of any of the running processes. Not aware of an easier way to look for it on my phone. I know it's on my phone though, because I see EasyAccessService in the AppOps lists.
[One (M8) Original Android Development] jlevy73:
Which rom are you on?
[One (M8) Original Android Development] Gamesoul Master:
InsertCoin 2.3.3.
[One (M8) Original Android Development] jlevy73:
That's an old one, IC is now at 2.5.0. Thanks for the quick response :)
[One (M8) Original Android Development] Gamesoul Master:
Yeah, there hasn't been any reason to update it, so I haven't bothered yet... :D Been thinking about doing it sometime soon though, since I finally have off work for a day or two. This kernel though... Every time an update comes out, there's always something new and cool about it that I want to have :D
[One (M8) Original Android Development] jlevy73:
Well I've tried everything and can't get the option of disabling wake gestures to work. I'm sure [MENTION=4684315]flar2[/MENTION] will get it figured out.
[One (M8) Original Android Development] Gamesoul Master:
Just installed with the stock HTC gestures option. With that one, only swiping right works to wake the phone. But it works without any motion needed. And it doesn't do a gesture launch, merely wakes the phone. Very weird... lol.

Also just noticed, looks like you shortened the distance needed to swipe on the navbar? Loving that, since now I can very easily swipe the phone to sleep. Thanks for that, in addition to everything else :)
[One (M8) Original Android Development] Garmig:
I've installed version 11 with no motion options and when I put the phone in my pocket with the screen off, it activates Google search. I'll check more later.
[One (M8) Original Android Development] p50kombi:
Hi guys..

I am wondering if this interferes with the function of my dotview case.

The module that was discussed earlier in this thread to control motion unlock does interfere and causes the dot view case swipes not to work properly.
[MENTION=4684315]flar2[/MENTION] please keep that in mind so maybe also have an option to keep all stock and don't change any motion launch items for future development.

Thanks...
[One (M8) Original Android Development] shorty1483:
Unfortunately the gestures are not working here with AOSP lockscreen on Sense ROM. [MENTION=4684315]flar2[/MENTION]

Edit: No motion option works! Thanks m8. Dashclock is back ?

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] tominozh:
I 've installed .11 with stock gestures, but no motion on viper and works without issue. I didn't get to test pocket detection. I'll test and report back later.

Sent from my m8
[One (M8) Original Android Development] shasen1235:
Nice job Flar!

Everything is working fine here

Able to use motion launch on the table is just awesome:D
[One (M8) Original Android Development] topjohnwu:
Confirmed that motion launch without moving decice works on Viper rom. A little feature request is that is there any way to remove the 5 second timeout between each gestures? Thanks a lot!!!

Edit: Found a problem, the phone's button vibration seems to be set lower even if I didn't choose lower button vibration in aroma installer. I checked your scripts and found out that this option won't do anything instead of printing "reduced button vibration" in aroma. The config file and the init.d script has nothing related to button vibration.

And btw is there a way to change vibration value manually??(maybe something under /sys/)
[One (M8) Original Android Development] flar2:
There is a conflicting setting in the installer for vibration.

It can be fixed temporarily like this:

echo 2700 > /sys/devices/virtual/timed_output/vibrator/voltage_level
[One (M8) Original Android Development] flar2:
I had a backup of ARHD, and the custom gestures work perfectly, so perhaps the problem is specific to InsertCoin?

I also have stock downloaded will try later, but AFAIK, ARHD is same as stock for the gestures.
[One (M8) Original Android Development] flar2:
The kernel can't do anything in that scenario, it is not aware of what you have on your screen. That needs to be implemented in ROM.

I don't have a dot view case , but everything should work fine with the stock option.
[One (M8) Original Android Development] flar2:
Yes, the sweep distance is shorter.

It sounds like there is something overwriting your settings. You have a script or app that is setting /sys/android_touch/sweep2wake to 1

This would completely explain the behaviour you are seeing.
[One (M8) Original Android Development] topjohnwu:
Yeah, it's much better now, but the vibration strength in fauxclock app is still 74%, not 100% as usual.

And this temporary fix seems not to stick after reboot, any way to make it stick??

Add: I found out that the 5 second timeout is already gone using the custom motion launch :)
[One (M8) Original Android Development] rohorubo:
I'm on ARHD 5.0 and the wake up gestures didn't work. But for me not a problem, I like the ones HTC provided. One gesture I really like was the one to start the camera while display off and that didn't work at all so I decided to reflash the 0.11 version again, all stock but - and this is for me a huge improvement - with the option swipe left for screen off.

Thank you [MENTION=4684315]flar2[/MENTION] for this kernel. Really great!!