yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] flar2:
Just a minor fix for the l2w_wakelock issue (a silly mistake I made). You'll still see l2w_wakelock if you use doubletap2wake or logo2wake, but it will be measured in seconds. The wakelock can last up to 500milliseconds for doubletap and 333milliseconds for logo2wake. It will never last longer, because I put a timeout on it. These are good wakelocks, they ensure that the wake functions work reliably every time and have no battery cost whatsoever. The problem before was that sometimes the phone was going back to sleep before the doubletap (or longpress) could simulate a power button press. These very short wakelocks stop the phone from suspending until the screen comes on. So when I say they don't cost you battery, I mean it, because the phone is about to wake up anyway.

Download:

ElementalX-m7-13.4

Changes:

-fix l2w_wakelock
[One (M7) Original Android Development] wasdly:
I assume you are using TWRP 2.7?
[One (M7) Original Android Development] kazemitsui:
What is this feature about f2fs vs ext4?

I see this also for the original Nexus 7 as well, but no one really talked about what it is?

I just know its the format of the disk, like fat32 and ntfs, but what are the benefits of f2fs vs ext4?
[One (M7) Original Android Development] iElvis:
13.4 looks good, thanks.
[One (M7) Original Android Development] synt3k:
I know theres been talk of an update for the GPE version, I'm still running 12 beta that was posted an eternity ago (not really). I tried skimming the thread but didn't see any new releases for GPE. Am I missing something?
[One (M7) Original Android Development] flar2:
Equivalent to latest for Sense (version 13.4) except no gamma. Gamma control causes a bootloop and I didn't look into yet.

Google Play Edition Android 4.4.2

ElementalX-m7-11.5

Changes:

-fix l2w_wakelock

-fix doubletap2wake

-fix logo2wake

-add tunables to governor

-add input boosting

-add f2fs support

-reduce logspam

-reduce wifi wakelocks

-Makefile adjustments

-ROW is default i/o scheduler

-various tweaks and optimizations
[One (M7) Original Android Development] danieldmm:
[MENTION=4684315]flar2[/MENTION] no way to make control on the fly with trickster mod? CPU/GPU stick to aroma settings
[One (M7) Original Android Development] Ktan188:
You'll have to disable pnp manager in aroma to change it on the fly. Best thing to do is just set it to what you want in aroma.
[One (M7) Original Android Development] drsamratroy:
[MENTION=4684315]flar2[/MENTION] a request for whenever you make the next version... kindly add some more thermal throttling as summer is here & the temperature in my place is around 30-35C always now :eek: ...so the phone gets hot & uncomfortable even while doing 30 mins of browsing & playing music...btw my settings are uc to 1.5, GPU at 400, 750mv, gboost disabled, run extra cool & battery saving settings in aroma & i am getting over 5hrs of SOT easily. Hoping you look into it. Thanks for the awesome kernel.
[One (M7) Original Android Development] TheUntouchable:
Will you remove the gama control from the sense kernel too? Getting black screens when waking up the phone sometimes because of that..

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] EaglesGPC:
Oh YES. It's recovery the problem?

Inviato dal mio HTC One utilizzando Tapatalk
[One (M7) Original Android Development] anx.go:
I had the same issue yesterday 2 times on 13.3 and I was forced to reboot. Any other way to exit without rebooting?
[One (M7) Original Android Development] Hoffmanns:
It's really annoying :( stupid htc battery management :( this is after full charge and 30 minutes on green led light...
[One (M7) Original Android Development] guy4jesuschrist:
I have TWRP 2.7 as well, and am planning on flashing 13.4. I'm currently on stock 4.4.2 that I updated via the OTA. Before doing so though, I'm curious; why would the recovery you are using have any bearing on whether the "charging battery" screen stays on when the phone is turned off? I never turn my phone off anyways, but I want to make sure the recovery version doesn't affect the installation of the kernel, just in case I need to downgrade to 2.6.3.3 first.
[One (M7) Original Android Development] TheUntouchable:
Don't think so. Already reported this to faux, first thought it has something to do with faux clock, but he told me its a kernel problem. No fix for this yet and I had reported this for about weeks already in his thread.
[One (M7) Original Android Development] wasdly:
Yes, TWRP 2.7 has a problem with charging while phone is off. Read the last couple of posts in TWRP thread. So your problem is not related to the kernel, downgrade to twrp 2.6.3.3 or 2.6.3.4 then you'll be good.

I don't think twrp 2.7 would have problems flashing this kernel, only the off mode charging bug so far
[One (M7) Original Android Development] Osama Zabin:
I've just flashed the kernel using twrp 2.7

No problems at all
[One (M7) Original Android Development] zoological:
Same here: twrp 2.7 no problems at all.

Nice kernel and first time i try a custom one on my HTC m7, cause i'm looking for a battery life improvement. Anyway really a good job, smooth and piece of cake till now
[One (M7) Original Android Development] Thijssie909:
thank you flar, will test and report back...
[One (M7) Original Android Development] n0j0e:
Flashing 13.2/3/4 Kernel and latest ViperOne Rom with TWRP 2.7.0.0 without any issues. I'm S-Off!

Send with much love & Android. ( HTC One )
[One (M7) Original Android Development] guy4jesuschrist:
What do y'all use to back up your stock kernel? I used a nandroid last time, had issues with Bulletproof, then flashed the nandroid of just the boot, but then couldn't install apps afterwards. I ended up having to factory reset with TWRP and start over. I have backed up my stock kernel with Flashify, but I'm curious of what others doing and if anyone has already tried using the kernel backup and restore feature in Flashify. Also, [MENTION=4684315]flar2[/MENTION], theoretically, shouldn't a dirty flash of a nandroid of the stock boot revert fully back to my stock kernel, or are there other files flashed and settings changed when installing either of your kernels through aroma that wouldn't be overwritten by a nandroid restore of the boot only?
[One (M7) Original Android Development] yeahimdukenukem:
I think there are boot up scripts and such things, maybe even more.

Best way to revert to stock kernel is to dirty flash your ROM again.

And for everytime flashing a kernel, wipe /cache and dalvik-cache before and after flashing.
[One (M7) Original Android Development] xnknown:
why change the i/o scheduler to row?
[One (M7) Original Android Development] Hoffmanns:
Yes , this is the best way to install stock kernel :) I agree with you :)
[One (M7) Original Android Development] n0j0e:
Also, extract boot.img from full Rom and flash with fastboot.exe. ;)

Send with much love & Android. ( HTC One )
[One (M7) Original Android Development] gianton:
There are files remaining with this way. Cleanest way is to dirty flash the ROM.
[One (M7) Original Android Development] guy4jesuschrist:
It would be nice if there were a flashable zip that would remove the additional files, just in case someone is restoring their stock kernel days, weeks, or months later. This way, no texts or other data that has changed or been added will be lost by it being overwritten with old data.

EDIT: This would be especially useful as well, to those who stay stock rooted and want to receive an OTA without doing a factory reset or using an RUU. Does this make sense, and is it easily possible, [MENTION=4684315]flar2[/MENTION]?
[One (M7) Original Android Development] xnknown:
theres an issue with 11.5 that causes the device to bootloop when charging while the device is off, reverted back to 11.4 and issue went away
[One (M7) Original Android Development] Rix70:
problem istallation

Good morning guys, because appears a warning message in first page of istallation process? this informing me that my hardware is not compatible whit your software.

I have an Viperone 5.7 / bulletproof for 4.4.2.

advice please?
[One (M7) Original Android Development] Mr.Nigma...:
You can install this kernel 13.4 wothout a problem! It will work ok! Even though you have bulletproof the installer will replace all the necessary files :)
[One (M7) Original Android Development] Kuroyukii:
A little question: Will I get better battery usage if I keep the GPU at 400 instead of 531mhz?
[One (M7) Original Android Development] flar2:
Really? Versions 11.4 and 11.5 have the exact same ramdisk and I made no changes to the battery stuff.

Does anyone know 100% which kernel is used while the phone is off? Is it recovery kernel or kernel from the boot partition (i.e. ElementalX)?
[One (M7) Original Android Development] tiny4579:
Sounds recovery related and not kernel related.
[One (M7) Original Android Development] tiny4579:
Recovery kernel is used for offmode charging for sure. Not the boot kernel. I know from trying to assist Phil in fixing a bug with his recovery where it'd boot into recovery when charging with the phone off. One fix involved swapping the kernel in recovery.
[One (M7) Original Android Development] flar2:
Thanks for the answer! Then the off mode charging isssue is definitely caused by the latest TWRP update.

FYI, to those who turn their phone off to charge, there is no advantage to doing that. These phones are designed to be on 24/7/365. I never turn mine off.
[One (M7) Original Android Development] Patrics83:
It has been confirmed in TWRP thread as well.

Sent from my HTC One
[One (M7) Original Android Development] Rix70:
i don't see 13.4 versione of elementarX,sorry,misunderstanding...bullerproof is installed in my device and work perfectely! but i would istall ElementarX...but the versione 10.3 for 4.4.2 (is my version) do not install because appaers an warning message for incompatible hardware and advice me for eventually hard Problem after installlation..

why this?
[One (M7) Original Android Development] superleeds27:
Using 13.5 GPE.

Had some kind of strange drain. Might have been Faux Same-Page Merge causing it. I lost 10% but wakelocks showed nothing wrong.

Ill charge back up to 100 and disable page merge.

One other thign ive noticed is that statusbar icons have turned to orange a couple of times, but have soon gone back to white.

Other then that. Great job :)
[One (M7) Original Android Development] Tetsumi06:
It has an off button? When did you add that? On 2nd thoughts don't bother. I'd never use it anyway :)

----------------------o('_')o----------------------

Sent from an HTC One with using xda app:

InsertCoin over ElementalX
[One (M7) Original Android Development] tiho5:
Why ppl turn off their phones and charge them?

I guess because it's known that charging your phone when it's turned off is noticeably quicker.

That's true I think.

But it's almost the same to turn airplane mode on and charge it.

I advice ppl who have little time and want to get as much charge as possible quicker, to use the airplane mode.
[One (M7) Original Android Development] Mr.Nigma...:
As far as i have tested overclocking the gpu uses more power and produces more heat than overclocking cpu! So you can overclock to 1.9Ghz stock and get better baytery life than 1.4ghz and oc gpu! Theese are anly my tests!
[One (M7) Original Android Development] guy4jesuschrist:
What are your thoughts on this, [MENTION=4684315]flar2[/MENTION]?
[One (M7) Original Android Development] Rad ryan:
I used faux kernel for a while and this kernel and never had this issue, BUT I did have it quite often when I was using the teamseven kernel, which doesn't have gamma control if I'm not mistaken. So I am not so sure that gamma control is the culprit. Plus, I love gamma control.
[One (M7) Original Android Development] GibMcFragger:
Wow. I think the newest beta is broken. Insane battery life. I think you fixed the WiFi wakelocks, lol.

HTC One, Unlocked, S-off, Super CID, ARHD ROM, ElementalX Kernel
[One (M7) Original Android Development] guy4jesuschrist:
Is this using the default aroma installation settings?
[One (M7) Original Android Development] GibMcFragger:
Indeed it is. :) Before I played with it a bit, it was as low as 0.8%/h while sleeping. That is on Wi-Fi.

HTC One, Unlocked, S-off, Super CID, ARHD ROM, ElementalX Kernel
[One (M7) Original Android Development] Rad ryan:
If you wouldn't mind, would you hit the app sucker button (vacuum looking button) or app usage and post a screenshot of it + the main Gsam screen? I ask bc I noticed that your app usage is 23% and I can't really get a good idea of the battery life with the new fixes and governor tunables flar2 added without knowing what kind of apps your running (some apps are very heavy and others light) to get that battery life. My app usage in Gsam is usually between 80% - 98%, more often closer to 98% and my apps are very heavy, usually 3D games like NBA Jam. It's cool if you would rather not though.
[One (M7) Original Android Development] GibMcFragger:
I've been surfing a bit, so it's gone up to 2.2%/h, but here you go.

Bear in mind also that the stats I posted were idle/sleep while I was at work. I have had it off the charger for 12.5hrs, but I rebooted around noon to flash a different startup animation.

HTC One, Unlocked, S-off, Super CID, ARHD ROM, ElementalX Kernel
[One (M7) Original Android Development] synt3k:
[MENTION=4684315]flar2[/MENTION]: Time to update the title/op yet?
[One (M7) Original Android Development] poondog:
I reckon faux gamma is not 100% open source, or something cause no matter what I do with his existing code, it doesn't work 100%

Or something needs to be redone

Or, flar, tbalden etc have it wrong which I highly doubt :P
[One (M7) Original Android Development] flar2:
Added gamma control, that's the only change from 11.5

Google Play Edition Android 4.4.2

ElementalX-m7-11.6

Changes:

-add gamma control (credit: faux123)
[One (M7) Original Android Development] amirjeegar2005:
Which kernel is lower power consumption ElementalX or Bulletproof ?

for rom Android Revolution HD 52.0 ?
[One (M7) Original Android Development] gruntparty:
WARNING: I am having bootloop problems with GPE 11.6. TWRP 2.6.3.3. Just letting you and others know. 11.5 works beautifully.
[One (M7) Original Android Development] duhhh:
Great battery life on v.13.4
[One (M7) Original Android Development] duhhh:
I use those :good:

http://xdaforums.com/showpost.php?p=50991190&postcount=9658
[One (M7) Original Android Development] Hussainally:
Dear flar2 why does my wifi keep showing it's on even when it's off?

On 13.4...maximus hd rom
[One (M7) Original Android Development] Osama Zabin:
Is the option " scanning always available " ticked or no?
[One (M7) Original Android Development] Hussainally:
Was off

---------- Post added at 09:32 AM ---------- Previous post was at 09:30 AM ----------

Ok dude my bad.. Switched off and issue solved.. Cheers mate
[One (M7) Original Android Development] donkeykong1:
I got this suspend _backoff wakelock. Does anyone know what is that?
[One (M7) Original Android Development] CronoTr:
Do you use Chrome or Dolphin Browser? That happened to me with those browsers, don't know why...
[One (M7) Original Android Development] donkeykong1:
No. Stock browser. I saw somwhere it's Crome related, but I don't have it
[One (M7) Original Android Development] Thijssie909:
What are your settings?

---------- Post added at 09:51 AM ---------- Previous post was at 09:48 AM ----------

Which I/O scheduler is everybody using? Read somewhere that ROW should be one of the best?
[One (M7) Original Android Development] hasan_abeer:
thanks a lot sir for your kindly reply .......hopefully soon........
[One (M7) Original Android Development] sassafras_:
How does this kernel control hotplugging? Strictly through mpdecision or does it depend on the CPU governor? If it uses the governor logic, which of the included governors are multiprocessor aware?

Thanks.

sassafras
[One (M7) Original Android Development] Golv:
[MENTION=4684315]flar2[/MENTION]

ElementalX 0.11,

Phone rebooted and stopped at the logo HTC_ONE after connecting the USB charging from computer.

Log - attached.
[One (M7) Original Android Development] m0nz:
GPU OC Question

Question for mr genius flar2... or anyone for that matter;

Does your gpu overclock increase voltage in some way? How does the S600 control GPU voltage? Is it separate from the CPU voltage?

Also, it can be said that a higher frequency at the same voltage = more heat output. Is the GPU governed at a certain temperature?

As an amateur programmer but semi-pro electronic engineer, I would love some tips on where I can look for managing these settings. I have compiled kernels in the past on a Gentoo box but I never touched voltages... Could you point me in the right direction so that I can help you with development?

Lastly, thank you for your great work flar... Amazing stuff. You can guarantee that I will promote you to my peers.:good:
[One (M7) Original Android Development] pan466:
Flar your latest kernel is really great!!

I cannot say anything about batterylife yet bc i didnt even charge my phone yet but trying lionheart governor and this is by far the smoothest of One smoothness:D

Regarding to batterylife I guess lionheart won't decrease battery consumption as it decreases the clock speed pretty fast after it does its job and ramps up really quick, So my bet is it may even increase battery life by a little margin
[One (M7) Original Android Development] hamdir:
what is the best way to go back to stock kernel with this kernel?

since its using aroma the changes it makes are quiet complex, so i guess the best way is to flash the original ROM again?
[One (M7) Original Android Development] ali1984:
My phone reboot when i receive a call... :thumbdown

Stock voltage 1840mhz cpu gpu 450mhz

Elm. 0.11

Gesendet von meinem HTC One
[One (M7) Original Android Development] m0nz:
Does it still happen without the overclock and no gpu overclock?

Chances are it's not the kernel that cause it. Which ROM are you on?

---------- Post added at 04:51 AM ---------- Previous post was at 04:46 AM ----------

I believe you can pull the boot.img from the rom you are using and fastboot flash with adb flash boot boot.img
[One (M7) Original Android Development] :
What is a good frequency and governor setting?
[One (M7) Original Android Development] godofwar424:
Well, only people who have my issue will get problems. Haven't seen anybody else with this problem though :(
[One (M7) Original Android Development] Golv:
And you must pull all files from \system\lib\modules\ from the rom that you are used before flashing kernel (or from backup of rom you are used) and and replace everything in \system\lib\modules\ of your phone.

You can make a zip file and flash from Recovery.

But even better flash the original ROM again without wipe...
[One (M7) Original Android Development] m0nz:
If you choose the options flar set in the aroma flash process, you'll have good luck as a base line. Choose to set each core seperately with the first at 1836 and the rest at 1728... This allows for the main core to have a decent boost and the others to do what they were intended to do without added heat and unneeded boost in frequency (voltage and more battery drain) ... In other words that's a good sweet spot. You could also do an even lower setting like 1566 for core one and 1350 for the others for a bigger power savings without a huge hit in performance.

Also, note that undervolting is the best way to save battery life without losing performance. You can experiment with 50-100mv decreases in voltage on each frequency and see if it's stable by running antutu if you want.

The governer is going to be based on your usage preferences...

I recommend intellidemand for normal use, conservative for aggressive battery conservation without the need to change the cpu clocks and then msm-dcvs for games that aren't quite smooth enough as it is.
[One (M7) Original Android Development] ali1984:
On arhd 9.2

This problem i have with 0.10 and arhd 9.0 9.1 too...

With buletproof its always good... :)

Gesendet von meinem HTC One
[One (M7) Original Android Development] ineedone:
This happened to me also but only the first call I made after flashing the kernel (v11) not happens since, until now. Stock settings, no overclocking

Verstuurd van mijn HTC One met Tapatalk
[One (M7) Original Android Development] hamdir:
nah its not this easy the kernel changes a lot of other files as well

safest way is to reflash the ROM ;)
[One (M7) Original Android Development] Golv:
If you are attached file from /proc/last_kmsg after you had the problem, then the developer would be easier to find and fix this bug! :o

Here is a easy way to get it after you have the problem promptly reboot your phone:

adb pull /proc/last_kmsg ./last_kmsg.txt

This will spawn a .txt file in the directory your shell. Compress this .txt file with zip or rar and attach it to your message.
[One (M7) Original Android Development] ineedone:
Delete
[One (M7) Original Android Development] m0nz:
Thanks golv and hamdir for the corrections. I'm still getting into this and I need to be careful about what I say.

I blame it on my One. If it wasn't for that, I wouldn't still be awake commenting where I would normally have the sense to he quiet! What can I say? We both love xda. (My phone and I)

:)
[One (M7) Original Android Development] Hopie:
i had reboots, when i put the phone to usb dockingstation and remove from it
[One (M7) Original Android Development] Mr.Nigma...:
They are really similar but elementelx offers more tweaking undervolting so after optimal tweaking elementalx offers lower power consuption
[One (M7) Original Android Development] DSC05:
I guess you wear your device in your trousers with the display towards your legs ;) and you've enabled touch or sweep 2wake. Every time the display is touched you'll get that wakelock. Otherwise the device wouldn't know if you want to switch it on. Pocket detection just prevents it from switching on not from waking the device.
[One (M7) Original Android Development] donkeykong1:
But this wasn't happening with Elemental 13.0
[One (M7) Original Android Development] DSC05:
Sure? I wouldn't think so, but honestly I didn't try. Maybe you just wear now thinner trousers :)

Gesendet von meinem HTC One mit Tapatalk
[One (M7) Original Android Development] donkeykong1:
I'm 100% sure and it all makes sense now. Flar said that he fixed l2w as it wasn't working properly on V13.0. You had to press twice on logo to wake the phone after deep sleep. Now it eorks fine but it prevents the phone to go to deep sleep. Perfect sense. I disabled l2w and will see what happens and report. Thank you for your help
[One (M7) Original Android Development] zoological:
I have a noob question: is there an app or a fast way to change the kernel settings like tap2wake, cpu/gpu clocking, etc ?
[One (M7) Original Android Development] gianton:
Try Trickster Mod app.
[One (M7) Original Android Development] zoological:
Does it work with ElementalX kernel? Anyone already tried it?
[One (M7) Original Android Development] tiny4579:
40 minutes of suspend_backoff in a day isn't what I'd consider preventing deep sleep. Are you sure your phone isn't sleeping properly?

Pocket protection prevents the phone from waking and a suspend_backoff wakelock results from it.

If you turn off pocket protection the wakelock will be gone but you may end up with the screen on if your phone is in your pocket.
[One (M7) Original Android Development] donkeykong1:
Yes it does. I use it and it works fine. Only thing that bothers me is that my GPU frequecy won't stick but I reflash kernel with desired freq in aroma and that's it

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

It wasn't showing while my phone was in deep sleep. It started to show after I used my phone for about half hour at 10 AM. So, it means 40 minutes in about 3 hours. I think that is too much. Anyway, I disabled l2w and now I will see what happens
[One (M7) Original Android Development] gianton:
Yes I use it and works great.