yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] threetwentyfizzle:
Stoked. Flashing now, thanks Flar2!

---------- Post added at 10:57 PM ---------- Previous post was at 10:43 PM ----------

This is butter. Definately the smoothest version of elementalx yet. Maybe it was the gpu fix that is putting that extra smoothness. That stutter on 2.6 is completely gone, and it hasn't even settled in. 2.7 is gold.
[One (M7) Original Android Development] cee43ja1:
Just flashed 2.7. I think scrolling is extremely smooth now; not sure if it's just a placebo effect or not.

But checking gputime_in_state still shows 200 being the only active one. And max_gpuclk is at 200. Tried setting GPU_OC=0 in elementalx.conf, uninstalling setcpu, tried kernel tuner (which didn't allow any gpu changes oddly). It seems like my phone doesn't want to be moved over 200. A last resort would be reflashing the stock rooted rom again.
[One (M7) Original Android Development] iElvis:
+1

This is the smoothest yet. Even the browser (where I was still seeing a bit of lag when scrolling rapidly) is slick as buttered toast.

Just checked mine. I'm at 450.

But I never flashed 2.6. Maybe try another kernel and switch back.
[One (M7) Original Android Development] ryu2964:
I've flashed 2.7 but i found that it still show 2.6 at aroma when flashing , am I flash the wrong one?
[One (M7) Original Android Development] deagleone:
Great dev, great kernel cold beer....

3TF51731725861629

Greetz deagleone

Insertcoin'ed

In the beginning God created dev/null and dev/random. And dev/random was was formless and empty....
[One (M7) Original Android Development] lbell:
Storage? Do you mean MTP or USB Mass Storage?
[One (M7) Original Android Development] wmg316:
Downloaded and started the install...but the change log in Aroma was still referencing 2.6...was that stuff just not updated?

EDIT:

Kernel version in settings shows #27...so it does indeed install 2.7!
[One (M7) Original Android Development] cee43ja1:
Good call on the kernel switch. But unfortunately, ElementalX is still at 200. When on teamSeven kernel, max_gpuclk showed at 400. Maybe I should try Bulletproof next. (EDIT: Bulletproof also reports 400 max_gpuclk. And yes, there is activity with 200 and 320 in gputime_in_state)

It's gonna bother me a bit, but regardless of the gpu issue, ElementalX fits my needs.
[One (M7) Original Android Development] poondog:
The one where your computer sees the phoned internal storage as an sdcard
[One (M7) Original Android Development] wmg316:
[MENTION=4684315]flar2[/MENTION]

I believe this turned out to be a phone problem. I tried everything and continued having the proximity sensor problems (moving in from sun light to normal room light). I got so frustrated I went to the local AT&T store and bought another phone! No issues on the new one. I'll be sending this Dev Edition phone to HTC for repair or replacement I guess....

The problem definitely was NOT your kernel!!
[One (M7) Original Android Development] FangorX:
All you have to do is set it to 400 MHz in Trickster Mod and apply the set on boot option. Problem solved. Its really not a big deal at all.

[MENTION=4379011]poondog[/MENTION] I can access my USB storage while fast charge is enabled.
[One (M7) Original Android Development] poondog:
I am good at being wrong :P That is how it used to be on other devices
[One (M7) Original Android Development] Muxeu:
I have no problem

root@android:/ # cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
3d0.0/kgsl/kgsl-3d0/max_gpuclk <
450000000

Phone in screenoff mode

root@android:/ # cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/gpuclk
cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/gpuclk
200000000

Pnone runs Antutu bench

root@android:/ # cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/gpuclk
cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/gpuclk
450000000

Kernel info:

root@android:/ # uname -a
uname -a
Linux localhost 3.4.10-g6ba05ad #27 SMP PREEMPT Tue Jul 16 23:30:43 EDT 2013 armv
7l GNU/Linux
[One (M7) Original Android Development] hamdir:
so you think the HDR issue will go with the sense kernel source release? and by the way it happens in HDR + low light, regardless of auto flash
[One (M7) Original Android Development] cee43ja1:
Even after benching with antutu, the only activity in gputime_in_state is 200. Forcing it with trickster mod like [MENTION=4376475]FangorX[/MENTION] said does make 450 work and log activity, but I'd rather not use another app on top of setcpu.

Still, it's not going to stop me from using this kernel.
[One (M7) Original Android Development] flar2:
Most likely

Go into /etc/init.d/99elementalx and change the line

sleep 10

To

sleep 15

Make sure the file still had execute permissions after you edit it.

Cheers!
[One (M7) Original Android Development] Bernd_21:
hmm.. looks like every kernel is being used... even if not needed..

Sent from HTC One via XDA Premium

HTC One M7 silver

Rom: TrickDroid 8.0.0

Kernel: ElementalX 2.7

SuperCID: 11111111

S-OFF
[One (M7) Original Android Development] poondog:
Flar you think the lag on the older kernels could be caused by the linaro >4.6 toolchains? Or is this an experimental change :)
[One (M7) Original Android Development] lbell:
I can't find it! In my "Computer" there is only a "HTC One" device, where copying files is buggy, slow, and it doesn't third-party software.
[One (M7) Original Android Development] Sh0X31:
I have a Question:

What happens if I set the clock frequency to 1,3ghz and activate the engergy saving mode, it will reduce to 1,1ghz?
[One (M7) Original Android Development] bLubhimselF:
For me it doesnt redeuce the core clock to 1,1GHz... UC to 1,2GHz and PowerSave Mode on.. using ViperOne Rom ;)
[One (M7) Original Android Development] evilmastr:
Power saving doesn't work for cpu yet afaik.

T9'd from my black HTC One M7
[One (M7) Original Android Development] bLubhimselF:
I does work... but only if you have not set the cpu frequency manualy.
[One (M7) Original Android Development] Sh0X31:
Ok, I set the clock to 1,5ghz and I using InsertCoin 3.0-5.

I understand it correct that the power saving mode not work if I flash a custom Kernel?
[One (M7) Original Android Development] evilmastr:
So the second I set a frequency with trickster mod I break the power saving feature?

T9'd from my black HTC One M7
[One (M7) Original Android Development] Sh0X31:
I think so, you set the frequency with trickster (manualy).

And for me? I flash the kernel, set the max frequency to 1,5ghz. So what happens if I activate power saving?
[One (M7) Original Android Development] flar2:
Powersaving mode works fine, except it doesn't reduce the cpu to 1134 on elementalx.

On Bulletproof, it does reduce the clocks to 1134.

Is this something you guys want me to fix? I'm not a hundred percent sure it can be fixed satisfactorily, but I can try.
[One (M7) Original Android Development] evilmastr:
It would be nice if it worked. I'm using trickster to manually change the frequency as needed right now. Not a big deal, but yes, it would be nice. :)

T9'd from my black HTC One M7
[One (M7) Original Android Development] dgtiii:
I am find without this feature, I would rather let the governor control frequency as I set it up rather than have Powersaver do it. Just my 2 cents.
[One (M7) Original Android Development] jerrylzy:
Yes, it will be much better if it works, for I do not wanna open an app and drag the frequency to 1134 or 1890. :laugh:
[One (M7) Original Android Development] :
how do i see if fastcharge is enabled? is there a symbol or anything like that?
[One (M7) Original Android Development] evilmastr:
Settings, battery. It will show AC plugged in if it's working

T9'd from my black HTC One M7
[One (M7) Original Android Development] :
Hi,

With the Ondemand governor, can you allow to set input_event_min_freq, optimal_freq, sync_freq and two_phase_freq by the user?

I think it's hardcoded in the kernel and there is no SysCtrl because in Trickster Mod if you change the values, they are reset to the original value of your kernel and if we change directly the values via /sys/devices/system/cpufreq/ondemand it's the same thing (and with an init.d script it's the same thing too)...

Thanks in advance ;)

:)
[One (M7) Original Android Development] donmarkoni:
NO! Please don't!

There is bulletproof kernel for those who want powersavings and underclock. ElementalX is for overclocking and maximum power, if I got your idea right.

It would be shame to cripple fastest and most powerful kernel cause of powersavings, as you sad it would be unsatisfactory.

As someone here mentioned Ferrari... You can't drive one and ask for low gas consumption. ;)
[One (M7) Original Android Development] evilmastr:
Many modern cars offer different settings for sport or fuel economy. Just saying.

OP should probably be changed too since "full featured" isn't true if this feature is missing. :)

T9'd from my black HTC One M7
[One (M7) Original Android Development] Skizzy034:
Yea upstate New York is blazing.
[One (M7) Original Android Development] elbos2k:
Yes please!
[One (M7) Original Android Development] dgtiii:
If you want Powersaver to work, then why not just use Bulletproof? ElementalX allows full control over the cpu the way you want, without interference from Powersaver. The kernel is not "crippled" by any stretch of the imagination, and is the most "full featured" kernel I have tried for the One. I am not sure what value you think Powersaver clocking down the cpu will add? Battery life is already outstanding with this kernel, so I am not sure what you think you would gain?
[One (M7) Original Android Development] iElvis:
I never use it. I don't care as long as it doesn't affect the other features.
[One (M7) Original Android Development] jerrylzy:
Making powersaver work has nothing to do with influencing performance, for it just lowers your cpu freq when you checked powersaver button and sets your freq back to max when u leave it unchecked.

I believe most ElementalX users would not play games all day and wanted to have powersaver working to have a good battery life instead of flashing bulletproof when not playing games.

---------- Post added at 08:02 AM ---------- Previous post was at 07:58 AM ----------

For daily use, 1134mhz is far enough to handle. For gaming, use your max freq set in the aroma. Don't you think it is much more convenient to just check the powersaver button than to open an app and drag the frequence down to 1134mhz?
[One (M7) Original Android Development] __:
YES

YES! NECESSARILY! :D

please!
[One (M7) Original Android Development] akarol:
Sorry guys, but I'm confused as to why you wouldn't want PowerSaver fixed on ElementalX? Who cares if it works in Bulletproof. If you don't want it on ElementalX, then don't enable PS. Simple! Why wouldn't you want more features when it's not costing anything to you? Just doesn't make sense to me.
[One (M7) Original Android Development] aamitabh28:
NO mate!

Bulletproof and ElementalX have different different theories and should stay that way!

Anyone who wants powersaver can use Bulletproof

Besides you can always manually set frequencies
[One (M7) Original Android Development] __:
please read the OP

I agree with jerrylzy!

I think this discussion will not end, but one thing is clear:

the OP says:

For the people who do not want the option in ElementalX:

You are not able to only overclock and squeeze every drop out of your device with ElementalX.

You are also able to set all the values to the lowest, for getting best battery life.

Not every ONE owner bought this device to play games day and night.

There are also people who work with it!

Some time ago I searched for a battery friendly kernel and found it in ElementalX.

After I saw there are 2 kernels developed by flar2, I asked him which one I should use to have best battery experience and his answer was:

ElementalX

[MENTION=4684315]flar2[/MENTION] thanks for this kernel

kind regards
[One (M7) Original Android Development] skulldreamz:
I don't think a power save feature makes any sense to optimize on a kernel that is made for people who want max raw power. It would make sense though to add it to bulletproof but not to elementalx in my opinion...
[One (M7) Original Android Development] dgtiii:
I guess, for myself, I do not want to see development on the kernel slowed as flar tries to add a feature that I don't want, is available on his other kernel, and seems counter-intuitive to the customization features of this kernel.
[One (M7) Original Android Development] flar2:
Alright, here's what I'll do.

If I can get powersaver to work and still have control over frequencies, I'll do it. I think it's a nice feature to be able to press one button and reduce frequencies.

I'm anxious to try out a few things after that detour with the stuttering, but I probably won't get to it until at least tomorrow. I have a ball game tonight.
[One (M7) Original Android Development] threetwentyfizzle:
+1. If I want to reduce cpu consumpition, I can just do it manually in venom tweaks or trickster. But to be honest I am getting great battery life with elemental so I have no need to reduce cpu clock with powersaver. I find it a nuisance sometimes
[One (M7) Original Android Development] flar2:
192 can't be done. I could make a lower frequency, but the way the clocks are set up on this device, I think it would be worse for battery than using 384.
[One (M7) Original Android Development] flar2:
You can undervolt and underclock automatically by selecting options in the installer. Or you can run stock speeds (installer defaults). Or overclock if you want.

It has stock voltage by default, it's only undervolted if you select the undervolt option in the installer. Of course, once it's booted up you can change the voltages freely with an app.
[One (M7) Original Android Development] flar2:
Here's the latest beta. Several more optimizations and fixes added.

I upped the highest clockspeed to 2160MHz. That doesn't mean you can run at this speed. If it's unstable, reinstall with a lower frequency.

You can choose from three CPU optimization levels: stock, elementalx, and ultra. They overclock the L2 cache and bus bandwidth, but I didn't set them too aggressively. We'll see how it goes.

I added GPU overclocking to 480MHz. On my phone I get lower benchmarks at 480!!! But my phone sucks, so let's see what happens with yours. If you have lower benchmarks, reinstall at 450.

I added different undervolting levels. I'd be careful with the 750mV setting. If you have reboots, reinstall with a higher voltage.

Download:

ElementalX-m7-0.5

NOTE: On my phone, after the install, it does one bootloop and sometimes sits on the initial HTC splash for a while. Don't panic, it will run normally after that. I'm not sure why it does that, but my installer is very complex so it probably has something to do with that.

Changes:

-GPU overclock to 48MHz (experimental)

-CPU overclock to 2160MHz

-CPU optimization levels: stock, elementalx and ultra

-automatic undervolting to 850, 800 or 750

-compatible with faux sound control

-hsic wakelock fix

-L2W vibrates on sleep/wake

-update to latest HTC sources

-optimized arm rwsem algorithm

-optimized AES and SHA1 routines

-disable usb whitelist
[One (M7) Original Android Development] tfriedrich_:
I'll flash tonight and report back tomorrow. I'm not planning on any overclocking, but mainly undervolting.

Edit: everything flashed smoothly and is running perfect.
[One (M7) Original Android Development] Piotrekk:
Does this mean that we can make the front speakers louder?
[One (M7) Original Android Development] jaythenut:
Hi mate htc logo is not working for me wake/sleep and for some reason
[One (M7) Original Android Development] hugebulge:
I asked him to add support for it. I have the app and don't think it's working
[One (M7) Original Android Development] Lenunited:
Would be cool to get the speakers louder i remember htc saying there capable of 93DB
[One (M7) Original Android Development] lolrenx:
Ii think it could be usefull to post some working values with this template, as I had no clue what to use when I flashed :p (especially voltages).

Here are mine : (feel free to use a template)

CPU

CPU 0: 1998

CPU 1: 1728

CPU 2: 1728

CPU 3: 1728

Voltage

384: 700

486: 800

594: 800

702: 800

810: 800

918: 800

1026: 912

1134: 925

1242: 950

1350: 961

1458: 975

1566: 1000

1674: 1012

1728: 1028

1836: 1050

1890: 1062

1944: 1075

1998: 1137
[One (M7) Original Android Development] olobex:
Flashed 0.5 (oc to 1,89) and it did bootloop once and then booted, but got stuck after a while during first time boot on starting apps screen with the circle still turning, but seemed not to get out of this for many minutes. Phone got hot as hell and lost power from over 40% to 18% within minutes.

I forcefully power cycled the phone and it booted thru without problem, 14% power left.I will charge now and see how it performs during the day.
[One (M7) Original Android Development] the_scotsman:
Flashed update and working here. I did have the boot loop, but after then it booted fine :)
[One (M7) Original Android Development] monkboy24:
V0.5 running pretty solid so far. Im clocked at 1.944mhz
[One (M7) Original Android Development] jlevy73:
So far so good. Flashed v0.5 it bootlooped than started up ok. Running it at 1.89ghz and 450mhz GPU. Went for the elemental L2 bus, UV -25. Everything is running pretty smoothly. Same two issues that unfortunately have plagued every custom kernel: 1) softkeys/vibration sensitivity is significantly reduced 2) Sound through external speakers is reduced by about 50%.

Too bad HTC can't release real source code. Hopefully Aurora will help remedy this.
[One (M7) Original Android Development] tfouto:
2) What do you mean by external speakers. The speakers of the phone, or if you plug your phone to an external sound system?

Isn't a way do extract and decompile htc kernel source? Isn't HTC obligled to release real kernel source code? If HTC would go to trial because of that would be nice i guess...
[One (M7) Original Android Development] kzakaria:
I am getting an error during the installation "/tmp/aroma/..." file not found. First time this happenes. I have flashed all previous versions with no problems at all. I selected all extreme valuse during the installation. The installation didn't start at all and nothing was flashed. Help please :confused:
[One (M7) Original Android Development] flar2:
Sounds like a problem with the installer. Can you save the install log and send it to me so I can fix it?

In the meantime, try installing with different options. I probably made a typo on one of the options.

I won't be able to fix anything until late tonight. I have meetings all day and baseball practice after work.
[One (M7) Original Android Development] kzakaria:
Where could I find the log file?
[One (M7) Original Android Development] jimmydigital00:
Do you know of a custom kernel that does not suffer from these issues? I love the performance gains of a custom kernel but the touch sensitivity is horrible and is something I do not want to deal with. I am running stock arhd 7.2 and the responsiveness is great and the volume is great.

I hope this gets resolved soon. I love this kernel and cant want to see what it matures into.
[One (M7) Original Android Development] kzakaria:
The install log file

Please find the file you want. Thank you so much for your help.:good:
[One (M7) Original Android Development] jlevy73:
Unfortunately all customer kernels will suffer from this.
[One (M7) Original Android Development] __:
THANK YOU

Thank you flar2! :D:good:

kind regards

ps: please check your PMs
[One (M7) Original Android Development] jerrylzy:
If Bulletproof could do gpu oc I would not have asked [MENTION=4684315]flar2[/MENTION] to make powersaver working.

---------- Post added at 09:04 AM ---------- Previous post was at 09:02 AM ----------

It's really funny why some people thought making powersaver work would reduce maxium performance.
[One (M7) Original Android Development] dgtiii:
Sounds good flar. By the way, 2.7 is terrific - unbelievably smooth and the battery performance is amazing!

Enjoy your ball game, have a beer or two on me: Confirmation number: 6YW383757D7585541.
[One (M7) Original Android Development] donmarkoni:
O really? Please... :rolleyes:

Have you even read what flar2 said:

That is the reason for me and other people who were against it to ask him not to do it.

Great solution! :good:

Thank you for even asking for users' opinion, as it's your work, done for yourself, that you decided to share with us. :)
[One (M7) Original Android Development] jerrylzy:
Wow, some people think the performance is worse even when they leave powersaver unchecked and even when they read flar's post about how powersaver works. It's so amazing to see a man with this incredible logic before sleep.
[One (M7) Original Android Development] donmarkoni:
I would rather take his opinion then yours. Sorry...

Have a good night.
[One (M7) Original Android Development] Batskoning:
Maybe a stupid question, i have my One for 2 days now..

With what app u can adjust the cpu freq, intellidemond etc..?

Greetings from the netherlands
[One (M7) Original Android Development] jerrylzy:
Setcpu, system tuner, fauxclock, trickmod, etc
[One (M7) Original Android Development] Batskoning:
Installed Fauxclock :) man,man what an options :P

I toke over youre configuration, it is battery friendly..?

Thanx :)
[One (M7) Original Android Development] nickabbott:
I can confirm that this new kernel works great with Minion Rush, no lag / stutter in the same place as on Bulletproof and on the previous ElementalX's.

Not sure if bulletproof needs this re-build fix or not but Minion Rush definitely plays better on ElementalX, could be because the GPU is 450 not 400 but shouldn't imagine it's that.

The lag is right at the beginning as the minion jumps out and hangs on his friends arms and swings onto the track. Major lag / stutter before but now it's nice and playable!
[One (M7) Original Android Development] flar2:
I installed Minion Rush just to test that, it's a nice reproducible problem. Bulletproof has to be rebased, even after I reverted all my changes and went back to the stock google toolchain, it was still lagging. I was pulling my hair out trying to figure it out. I'll just start fresh and Bulletproof will be fixed when I have a chance, probably tomorrow night.
[One (M7) Original Android Development] boss336:
When is bulletproof getting updated
[One (M7) Original Android Development] nickabbott:
Yeah it's definitely a good test for smoothness!

Really strange why things work like that, makes me hate computers / software! I work with them every day (general IT work) and you can guarantee one of them does something wrong that nothing else does!

I always find that starting from scratch and applying changes from the ground up is best, but definitely the hardest way to do things, or rather time consuming!

Really wish I could sit down and learn some of the stuff you do for kernels but just don't have the time! :( So many things to know / learn so I just browse code and nosey from the sidelines!

Definitely keep up the good work and I really appreciate all you and others do for the ONE. I wouldn't have got this phone if it wasn't for the sweep2wake / tap to wake etc and would have got an..... EEEEK..... S4!
[One (M7) Original Android Development] iElvis:
From the post directly above yours: