yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] solrac77pt:
In gsam, the phone radio has the same amount of time has wifi radio, but wifi has been most of the time off. Don't know if this is a bug of gsam or of this kernel. Since 0.13 i've noticed a little more power consumption. I'm on viper one and elemental 0.15.
[One (M8) Original Android Development] NJGSII:
You probably have WiFi always scanning checked under the advanced settings under WiFi. That keeps it on no matter what to help with location.
[One (M8) Original Android Development] Ravenmtx:
First, just want to say thank you for your hard, and always awesome work [MENTION=4684315]flar2[/MENTION].

Second, ever since 0.12, I've been fiddling with all the motion gesture options till I finally found a way to get everything to work flawlessly. At first I couldn't get anything to work. I tried editing all the files in android_touch using various methods, but none of the changes would stick, with or without reboots. So I decided to check the boot scripts and every value I wanted was already set. This led me to believe either the script isn't being executed or something in the system is aggresively overriding values. Btw, I'm on Viper 1.6 with all of the motion gestures in tweaks set to Default.

Executing the script was only temporary as after a reboot, only SOME of the elements worked. Ultimately, how I got things working was by installing SManager from the Play Store and setting it so that the scripts run on every boot. After some testing, uninstalling SManager reverts back to gesture settings being temporary. https://play.google.com/store/apps/details?id=os.tools.scriptmanager

Double Tap works every time. Swipes work. Both without having to move the phone and without a timeout period. Vol buttons open up the camera only after picking up the phone (as it should). And pocket detection isn't giving me any problems so long as no light is getting to the sensor. This all works fine after 2-3 minutes or so after reboot.

Just thought I'd share how I got things working on my end. Hopefully it helps someone who's still having trouble getting gestures working.

Third, battery life is phenomenal as long as I don't pick up the phone to play a game or the random Google Play Services issue. :p
[One (M8) Original Android Development] Lostatsea23:
Doesn't undervolting not save any battery?
[One (M8) Original Android Development] waz675:
Nah, it's more for keeping the device cooler. These are optimised hardware side, UV doesn't have much battery saving, at least from the couple hundred hours of testing I partook with some kernel and ROM devs in the HTC ONE X days.
[One (M8) Original Android Development] cepheid46e2:
Yes undervolting saves battery but it has to work in tandem with Kernel optimizations. Essentially there's almost no app or game that requires anything above a 1.7ghz Quad core processor. The device being cool has nothing to do with battery outside of whether your CPU gets throttled or not which can be changed independent of voltage. You can easily get 10+ hours of screen time out of your phone or you can OC and burn it in half that time at the same real world speed.
[One (M8) Original Android Development] waz675:
The above sounds like you're confusing undervolting with clock speed. As in, you mentioned undervolting then next sentence you mention 1.7 GHz which aren't a direct connection besides if a CPU has enough voltage to run at different clock speeds. At least in the context of the question, under or overclocking has nothing to do with the answer.

Of course out of the context of the question, clock speed does play a fair effect on battery life, but that isn't in the scope of question asked.
[One (M8) Original Android Development] cepheid46e2:
Undervolting saves battery, undervolting and underclocking saves more battery. Correlates, nothing to confuse.
[One (M8) Original Android Development] PhillyFlyer:
Sorry guys New to M8. This kernel works with ARHD?
[One (M8) Original Android Development] aamitabh28:
Yes it does!
[One (M8) Original Android Development] waz675:
And it works brilliantly!
[One (M8) Original Android Development] jlevy73:
Undervolting does very little to save battery. It does help to reduce heat but that's about it. Underclocking has a significant impact on battery life.
[One (M8) Original Android Development] ivicask:
Well if u undervolt by like 30-40mv, thats only 4% voltage less (if 1000 is around default). Means you will get max 4% more battery life and most wont notice it.

But i have undervolted by 100mv, (10%) and i can definitely see extra battery life comming out of it.
[One (M8) Original Android Development] jlevy73:
Most devices aren't stable at -100mv but I see your point. With that level of UV you would notice a difference.
[One (M8) Original Android Development] vegetaleb:
I am using 0.13 for some days and I can confirm there are no more vibrations when talking (voice calls) though the random vibrations screen-off when holding the phone are still there.

I can see 0.14 is not better so I will wait for next version, may the force be with you flar :good:
[One (M8) Original Android Development] CrazyCypher:
Volume buttons to open the camera doesnt work...

I tried wiping caches. I selected all stock, except disable to move phone to make gestures, remove swipe down gesture, disable magnetic for cover,

and I didn't change anything in toolbox. My volume keys do nothing when I press them no matter what position the phone is.

Any thoughts?
[One (M8) Original Android Development] steve1996:
Did you choose the correct settings in aroma?
[One (M8) Original Android Development] CrazyCypher:
I searched the topic and after reading a couple of suggestions I must say everything is working great!

All I did was restart and when inserting PIN, I LEFT THE SCREEN ON for cca 2-3 mins so everything booted.

After that turned off the screen and volume keys are working and also everything!

Except the toolbox seems it doesnt change the correct keys.. for example I select swipe left for messages but it unlock the phone, and suddenly swipe up is bringing up messages... It seems I cant correctly set up this, so I have disabled this in toolbox for once.. but everything else is working great! :)

Thank you for great kernel :)
[One (M8) Original Android Development] StuMcBill:
Hi all,

Where can I find 0.13? The op only has 0.10?

Stewart

Sent from my Amiga 500 using Workbench
[One (M8) Original Android Development] zebidybob:
I assume you are talking about the sense6 toolbox? If so I remember reading in the thread that gestures are only working with the m7
[One (M8) Original Android Development] iggdawg:
He's been releasing test version in the body of the thread. I'm guessing they don't end up in the OP since they're mostly for testing and troubleshooting. In any case, the latest one (0.15 at the time of this post) can be found here:

http://xdaforums.com/showpost.php?p=52640225&postcount=1149
[One (M8) Original Android Development] StuMcBill:
Thanks, 0.15 downloaded and installed on ARHD!

Sent from my Amiga 500 using Workbench
[One (M8) Original Android Development] twoeleven99:
Where can I get the latest ? 0.15 I see you guys talking about

Android Revolution HD M8
[One (M8) Original Android Development] zebidybob:
Look one post up. Was it really that hard?
[One (M8) Original Android Development] lukes91:
[MENTION=4684315]flar2[/MENTION] i just flashed 0.13 (better battery life than .14 or .15 in my opinion) and gestures on dot view cover seem to work better: they don't stop working after some tries...

Sent from my Venomed Mate
[One (M8) Original Android Development] The_Blue_Bomber:
When I install .10 on my tmo m8, it only gives me the option to undervolt the MPU in the trickster app. (And the Voltage Control app is FC central.) Why not CPU? Or am I a dumbdumb?
[One (M8) Original Android Development] lukes91:
Yes,, after some hours of testing i can state that gestures works better with .13 than .15... And battery Life is better...

Have a nice weekend all :)

Sent from my Venomed Mate
[One (M8) Original Android Development] kfasheldon:
On insert coin rom 14 and 15 giving random force close and reboots .. all on default settings, switched to stock last night no problems ... Any ideas
[One (M8) Original Android Development] DeeZZ_NuuZZ:
Awesome batt. Life thanks

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] aamitabh28:
My kernel has been keeping awake a lot.I cant figure out why.Ive done the usual bbs and gsam stuff and couldnt figure it out.

Any insight would be helpful.Ive tried fresh install also
[One (M8) Original Android Development] CrazyCypher:
I'm getting 1% / h drain when not using the phone with this kernel.. is that normal? I went to sleep with 100% and wake up with 90%.

In aroma I selected everything default...

Here is the pic...
[One (M8) Original Android Development] orochi9999:
“an extra mount option hardcoded into the HTC software has to be accommodated in the driver” Could you explain it in detail?
[One (M8) Original Android Development] flar2:
Placebo effect. Battery life is the same on everything from .10 on.

Also, I have the dot view case now and it doesn't work very well even on stock. I will test .13 and try though.

Wipe and clean install. The kernel has no battery issues and is 100% stable. I do not release kernels publicly that have any chance of being unstable (if I do, it would come with a warning)

Reboot

I think you're dumbfounded :o
[One (M8) Original Android Development] The_Blue_Bomber:
Okay so what am I not understanding? Why does it show up as MPU and not CPU for voltage control in Trickster Mod?
[One (M8) Original Android Development] flar2:
For texfat module? vold, which handles volume (as in disks) management, expects some non-standard mount options. I can't remember what it is:) offhand, but check faux's github, as he added it to the open source exfat driver.
[One (M8) Original Android Development] flar2:
I don't know, maybe it's a typo. But these are the cpu voltages.

If you get fc's, it's because you're undetvolting too much. It works fine for me.
[One (M8) Original Android Development] The_Blue_Bomber:
This is strange to me if it is a typo. But MPU is Microprocessor. So I'm just a little lost. I apologize if I am a hassle.
[One (M8) Original Android Development] CrazyCypher:
I already rebooted, but my battery drain is still 1% / h with this kernel... I saw on the picture that there is no apps seen so there must be android system that is causing this...
[One (M8) Original Android Development] Giblet-dono:
As has been mentioned many a time in the thread. if you have a battery drain it's not the kernel.

It could be the rom, it could be apps, it could be your own wrongdoing.

The only way to "remedy" drain is to just go back to stock rom, install no apps, install this kernel with default options and check drain then!

If your drain is gone, you know the cause is one of the above.

If your drain is the same you can come back and ask the developer!

(aside from this, is 1% per hour really this big of a deal!?)

---------- Post added at 04:09 PM ---------- Previous post was at 04:07 PM ----------

Please use google..

The definition of Microprocessor give by Wikipedia:

A microprocessor incorporates the functions of a computer's central processing unit (CPU) on a single integrated circuit (IC),[1] or at most a few integrated circuits.[2] All modern CPUs are microprocessors making the micro- prefix redundant.

In other words.. the Microprossecor IS the CPU, the MPU Voltages ARE the CPU voltages
[One (M8) Original Android Development] tiho5:
Flar, I finally got some time and played again with this. I chose:

Mode 3

Pocket detection set to on

Only swipe up and dt2w selected

Tried both types of approach after reboot

*selected gestures work - OK

*not selected do not work – OK (indeed repeating them too quick gets mistaken for dt2w)

*after unlocking with swipe up or dt2w proximity wasn’t working on first few calls

[FONT=&quot]*pocket detection was working every time - OK[/FONT]
[One (M8) Original Android Development] aamitabh28:
Flar i was talking abt this before.Any ideas why kernel keeps the processor/system awake?
[One (M8) Original Android Development] tim.ton:
Are there any plans for vzw support?
[One (M8) Original Android Development] Savant:
You can use it on Verizon . I know people that have been using it without any problems.
[One (M8) Original Android Development] flar2:
Is the partition layout the same on Verizon?

It could be instaaallling to some other partition. Who knows what it could be overwriting.
[One (M8) Original Android Development] tim.ton:
I searched this thread and came across people having issues with Viper. Do you know if those issues still exist?
[One (M8) Original Android Development] jlevy73:
I think I remember baadnewz saying the partition layout for verizon is different. Will double check with him.

Update: Yes, it is indeed different.
[One (M8) Original Android Development] tiho5:
I believe that boot partition is

mmcblk0p43 for Verizon

mmcblk0p42 for gsm

They are not the same as system is also different (46 for Verizon and 45 for gsm). The layout is the same up to mmcblk0p40 but then it is displaced.
[One (M8) Original Android Development] Giblet-dono:
As I have mentioned (a few posts) above:

The kernel functions perfectly, any wakelocks or drains are not the kernels fault.

They are most likely the fault of the rom, certain apps, or user error.

The only thing I can see in the screenshot is a, higher than normal "keep awake" time

Which can be explained by any number of apps, services or misconfigurations on your end.

I use the same kernel and only have a 6s keep awake time, so it's something on your end.

We can;t help you because we don;t know about your device, apps, services and configuration

And frankly if we were to help everyone with this problem, we wouldn't have time for ourselves.

In other words: You ahev to figure this out yourself if it's really that important for you.

Return to stock rom (complete stock)

Install JUST the kernel

And install GSam

No other apps, services and accounts.

Check your batterylife and wakelocks

If they are still present: Tell us, because that could be a kernel problem

If they are no longer present: It's not the kernel!

---------- Post added at 05:01 PM ---------- Previous post was at 05:00 PM ----------

Be more specific: what problems?

are they really related to viper or present on all roms?

anyway to answer your question: I use ViperOne 1.6.0 and I have no problems at all

I use the device in combination with the DotView case which works (nearly) perfect.
[One (M8) Original Android Development] kfasheldon:
OK clean install ic 2.7 , no CPU apps , no odd stuff , .10 kernal all day no fc or reboot, now will flash .15 see if OK.

As for dot view .10 exactly as stock, responsive and works 99% 1st time for me. Will check .15 , I know it seemed sluggish before and took time to settle.. Let's see now on clean ROM.

Thanks flar .. Battery is amazing , appreciate the work
[One (M8) Original Android Development] wera750:
So this does work on Verizon as long as it is flashed to the correct partition?
[One (M8) Original Android Development] tim.ton:
I'm not sure. I did try to flash the kernel, but the about screen still shows my previous kernel installed.
[One (M8) Original Android Development] Stanimir Komitov:
Stupid question - does UV affect performance in terms of CPU speed? I want to gain some more battery stats, but don't want to decrease the power of this beast :)
[One (M8) Original Android Development] DeeZZ_NuuZZ:
How should the voltage affect the performance? Also you won't really get much more battery life if you UV...it's so less that you won't notice it

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] strikerdj2011:
is 0.10 still the latest for GPE thanks
[One (M8) Original Android Development] Lefteris Fragiadakis (Frago):
For me .15 has better battery
[One (M8) Original Android Development] Nekromantik:
Anyone else have bam demux kernel wakelock? I loose battery like anything. Might be due to HTC mail sync.
[One (M8) Original Android Development] Savant:
If you look up the wake lock its about poor reception and other various things.
[One (M8) Original Android Development] Nekromantik:
It's also there for Wi-Fi. I saw thread from March and people say is app trying to keep device awake.
[One (M8) Original Android Development] treIII:
Hey flar2 would you come over to the tmobile thread in android development and pull the kernel from the boot.img of the firmware ota update that was released and make it stock flashable? It would be great if you would. Not a lot going on over there except a couple devs. And thank the Lord for them. If not thanks any how. It be nice to have stock and then another with all your stuff.

Sent from my HTC One_M8 using Xparent Blue Tapatalk 2
[One (M8) Original Android Development] Pure+:
I skimmed through pretty quickly and therefore may have missed it if this has already been asked but... Would you post your personal kernel configuration as far as what you have oc and uv set to?

Thanks.

Sent from my nV:M8
[One (M8) Original Android Development] flar2:
Stock
[One (M8) Original Android Development] 1ManWolfePack:
I've been dying for vzw support on this kernel, so if you don't mind, what's happening the peeps flashing it?

Sent from my HTC6525LVW
[One (M8) Original Android Development] tim.ton:
It doesn't do anything for me. I'm still running the kernel I had prior to my attempt to flash elemental.

Sent from my HTC One M8 vzw
[One (M8) Original Android Development] wera750:
Have you tried editing the installer script so that it flashes the correct partition?
[One (M8) Original Android Development] wera750:
On .9 GPE
[One (M8) Original Android Development] kfasheldon:
.15 on ic ROM has stayed stable since last night but drain with screen on seems higher than on .10 could just be because its sunny and so auto brightness is high all time will see today .
[One (M8) Original Android Development] Giblet-dono:
how about flashint the boot.img trough fastboot (fastboot flash boot boot.img)

and copy pasting the modules with twrp file manager?

(I am not responsible for bricks)
[One (M8) Original Android Development] Nekromantik:
Quick question, in the elementalx init script, it gets the PVS number for the phone and puts it into the elementalx log file.

I looked in the log file and it says PVS 14. Cant be right can it? I thought PVS only goes from 0 - 6?
[One (M8) Original Android Development] zebidybob:
0-15
[One (M8) Original Android Development] BrandonPrice31:
0.15 for GPE, please come soon :D
[One (M8) Original Android Development] Saikat.mondol1:
I'm new to android. So, don't know much. I've flashed Viper One. But it's kernel settings are locked, so I figured I need a custom kernel. Tell me, do I need to S-off? Will all my installed apps will wipe? And I've a stupid charger with 200mah capability. Will it support fast charging?
[One (M8) Original Android Development] DeeZZ_NuuZZ:
If in the OP is nothing about s-off or so you can just flash it normally...for flashing different kernel you don't need s-off...and with this kernel you don't need to use fastboot as it flashed directly in recovery...flashing kernels never wipe anything...but it's better to wipe the cache afterwards ..

Read OP it supports fastcharge

Gesendet von meinem HTC One_M8 mit Tapatalk
[One (M8) Original Android Development] Savant:
Why would it matter if the previous version works perfectly fine.
[One (M8) Original Android Development] Nekromantik:
Oh must have changed from m7. Higher the better right?
[One (M8) Original Android Development] zebidybob:
Higher number better over clocking (in theory) but higher voltage leak (better performance), lower number less oc less voltage leak (better battery life). iirc.
[One (M8) Original Android Development] dukat0s:
High pvs is obviously better battery life causs u can undervolt much lower + best benches cause lower heat :) highest voltages=more heat to your cpu
[One (M8) Original Android Development] Nekromantik:
Yeah that's what I thought. Higher binned CPU needs less voltage. Ergo higher oc possible and higher uv.
[One (M8) Original Android Development] Giblet-dono:
You don;t need S-OFF

It will not wipe anything

But a charger with 500Mah will never support fast charging!

The mobile might support it but the charger doesnt
[One (M8) Original Android Development] Johnny424:
Which method are you guys using to find pvs bin? Everything I try doesn't work out for some reason. Also looked through the elemental file via init.d but it also doesn't display the bin #
[One (M8) Original Android Development] zebidybob:
Data/local/tmp/elementalx.log

---------- Post added at 07:13 PM ---------- Previous post was at 07:00 PM ----------

Meant current leakage.
[One (M8) Original Android Development] The_Blue_Bomber:
What is a really good setup for this kernel for battery life and performance. I've read people getting over a day of usage on this kernel and someone stating 10 hours of screen time. I checked my pvs and it said 10. Not sure what that means. But I'm sure you guys know. Thank you.
[One (M8) Original Android Development] -juanito-:
Mine is 13
[One (M8) Original Android Development] idrOiding:
Stock setup is good,

No need to change any thing .
[One (M8) Original Android Development] waz675:
While kernel settings may be great or not for your particular phone setup, as we all have different ROMs, apps installed, various variations of hardware parts, if you have apps and/or system stuff giving battery drain, you need to trace this and see what you can do, delete, check it's settings, maybe even need to replace it with a similar acting app to try to optimise your own battery consumption for your individual setup.
[One (M8) Original Android Development] The_Blue_Bomber:
So I don't need to OC or UV?
[One (M8) Original Android Development] jlevy73:
UC will give you good battery savings. You could probably run at 1.7ghz without seeing a difference and get another 1-2 hrs SOT. But that's up to you. As for UV, my two cents is leave it stock. You can see some marginal gains by UV'ing a lot, but you also increase your chances for system instability by doing so.
[One (M8) Original Android Development] waz675:
You don't need to, but overclocking will only potentially be worse battery for maybe better phone performance, not always, especially with our powerhouse phone. You could under clock and not actually suffer actual noticeable performance loss, our phones are great..

I wont comment on voltage as I have in the recent past and said what I feel from experience of testing another HTC.
[One (M8) Original Android Development] itzsnookums:
This would be epic...just saying

http://xdaforums.com/showthread.php?t=2754997
[One (M8) Original Android Development] BrandonPrice31:
Get this working, I would be impressed!
[One (M8) Original Android Development] Saikat.mondol1:
Thanks a lot
[One (M8) Original Android Development] guyd:
Thanks for posting the location.

PVS 15 here :)
[One (M8) Original Android Development] flar2:
I already do those kinds of optimizations and have experimented with all kinds of build flags and toolchains. Most of that stuff applies to buildings ROMs, and most of that stuff makes a bigger difference on ROMs than kernel.
[One (M8) Original Android Development] Mikee4fun:
Any solution on the high CPU's when using Hangouts version 2.1.100? Using Hangouts version 2.0 and older the CPU's don't get stuck using Elemental X.
[One (M8) Original Android Development] twolfekc:
Ya, reading through that guys posts I got that it is optimizations on the system platform and not the kernel, although it might be interesting to see how they work in conjunction with each other.
[One (M8) Original Android Development] flar2:
There's nothing I can do about that, it's not a kernel issue.

This kernel is actually very close to stock. I just added a few features and some optimizations.
[One (M8) Original Android Development] Mikee4fun:
Strange, eh, I guess I will just stick with the older version of hangouts then because I can't live without your kernel.