yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] CJ-Wylde:
[MENTION=2400758]dirtyhank[/MENTION], would it be alright to submit a request to add to your Kernel? I've seen it here and there by other users and have inquired about it myself with other Kernels / setups and would like to know if adding Double-Tap or Single-Tap to Wake would be an option? I saw a gestures control thing on Google Play before that showed if a Kernel added support, it could take it from there allowing end-users to choose how their phone wakes.

I am using Moto Display with the Approach / Wave feature off (It's way too sensitive and wakes too much and Ambient proximity doesn't work all that great with the Stock based ROMs). The phone wakes when I pick it up, but when I'm driving and have it mounted, it would be great to tap or double-tap to wake the screen instead of having to push the power button. I've had a few times where I've tilted the phone from the press, lol. I'm not sure if it would be a battery killer or not though.
[X Style (Pure) Android Development] Ghost9867:
It will be really awesome
[X Style (Pure) Android Development] unitz0mbie:
thanks for the set up ill give it a try, my question is, i noticed when i set the bluactive governor, my cpu's tend to stay at higher freq longer than in interactive. is this an issue?
[X Style (Pure) Android Development] dirtyhank:
http://xdaforums.com/showpost.php?p=64945079&postcount=232
[X Style (Pure) Android Development] Grafidio:
I just went from 0.4 to 0.41 this morning, abysmal battery life, in running the kernel settings that that guy shared, the one with bluactive for both size cores.

I didn't wipe dalvik+cache, should I have done? Also my cpu temp is constantly between 35°c - 42°c with light usage (streaming YouTube, web browsing, messaging)

On 2.5 trupure.

miscellaneous is 31%. Used 1000mah!! Wtf?
[X Style (Pure) Android Development] datkevjames:
Taken from http://androidmodguide.blogspot.com/p/blog-page.html all credits to them & governor creators.

"60. Blu_active

A new cpu governor developed by eng.stk (featured in his Code_Blue kernels) based on interactive with upstream caf patches and ondemand governor bits too. This governor is mainly focused on performance like the other things the developer creates but it is also well balanced for gaming and general usage. "

To answer your question, and this is only my opinion since I'm not all-knowing, I'm thinking it's completely normal considering it's more geared towards performance. This makes me think that the governor will keep the frequencies high or maxed (if there's activity) for a certain timeout & then they'll clock back down after a certain timeout of no activity. I hope I was clear enough and this gave you a better idea.

---------- Post added at 08:49 AM ---------- Previous post was at 08:44 AM ----------

Yes always do a Cache/Dalvik wipe after flashing something, that's the general rule of thumb. With the settings I posted and currently use, battery temp is roughly around 26°c-40°c with my general usage and I've seen it go to 55°c but that's when I had it on the turbocharger and was flashing things in TWRP making it work. If you don't game or run intensive apps and haven't done it yet, I'd recommend underclocking the cores & GPU, I did this myself and the phone is still buttery smooth. Hope this helps.
[X Style (Pure) Android Development] cerobles1:
Any way to add hot plugging? Would be nice to be able to set it in Audiator app.
[X Style (Pure) Android Development] pradeepvizz:
Quite happy with the kernel - got lot of options to play around and modify the settings as per our needs. great work by the Dev!

The best part for me really is the cherry picked optimizations, i have always wanted a elementalx kernel on my device and having something similar to that is quite amazing.

I am still figuring out the best settings for my phone, currently using the Intelliactive governer for the Cpu's.

Love all the options available, specially the color control thing!

Thanks a lot for your time and efforts [MENTION=2400758]dirtyhank[/MENTION]
[X Style (Pure) Android Development] guraki:
Why many users want elementalx governor? Is something special with it?
[X Style (Pure) Android Development] pradeepvizz:
the dev - [MENTION=4684315]flar2[/MENTION] is amazing! he has contributed a lot and done amazing stuff in xda. check http://elementalx.org for his kernels.
[X Style (Pure) Android Development] cangri87:
Wish [MENTION=4684315]flar2[/MENTION] would make a kernel for the Moto X Pure edition.

Hank is doing a great job btw.
[X Style (Pure) Android Development] guraki:
Is it possible this kernel work with cm based roms?
[X Style (Pure) Android Development] WelcomeToTheSkye:
Short answer no
[X Style (Pure) Android Development] stanleyopar2000:
you think SmartAssV2 could be on this? that's my favorite governor
[X Style (Pure) Android Development] saidmsb:
Had this question for long time:

Why OEM don't support Google camera API that gives you manual controls and RAW photos ?

Can this achieved by custom kernels ??
[X Style (Pure) Android Development] dirtyhank:
No, I'm afraid that's at the ROM level. I miss that feature too.
[X Style (Pure) Android Development] unitz0mbie:
can someone give me a good setting for good battery life, i dont play games on my phone. i just want a fluid UI for multitasking and texting and i watch a lot of videos
[X Style (Pure) Android Development] guraki:
Your settings work excellent in terms of performance and smoothness!!! Only to check the battery life....
[X Style (Pure) Android Development] kilgil27:
Whenever I try to install this kernel, TWRP reboots instantly. I've tried v 0.4.1 and v 0.4, both do the same thing. Am I missing something? Using TruPureXMM
[X Style (Pure) Android Development] grifforama:
Has anyone actually managed to change the colors using this kernel? If so, how?
[X Style (Pure) Android Development] sigilizer:
Would it be at all possible to add vibration intensity control to this kernel? The MXPE sounds like a train when it goes off!
[X Style (Pure) Android Development] pradeepvizz:
Color adjustment - yes - what exactly are you trying to do? i have adjusted the gamma on my phone to 2.2, i used display tester app on the play store then tweaks the options available to get my desired results.

ofcourse you should be trying on kernel manager / ex kernel app to make the tweaks :)
[X Style (Pure) Android Development] Sheetzie03:
Delete
[X Style (Pure) Android Development] blackerwater:
Seems to be running great. Is there a way to boost volume yet? I need to jack up my Notifications so I can hear them? Great job by the way
[X Style (Pure) Android Development] grifforama:
Can you share your RGB values?

I have it looking fairly decent, but it's still pretty cold looking.

---------- Post added at 03:04 AM ---------- Previous post was at 03:03 AM ----------

Best thing is the XTREMEMusic mod.
[X Style (Pure) Android Development] blackerwater:
Is that an app in the market or a hack on xda?

---------- Post added at 05:24 PM ---------- Previous post was at 05:12 PM ----------

Found it thanks!

http://xdaforums.com/showthread.php?t=3029951

[SUPER MOD][4.3+/6.0][ v7.0.3 ] XTREMEMusic™ THE SOUND THAT YOU'VE NEVER HEARD!
[X Style (Pure) Android Development] grifforama:
http://xdaforums.com/showthread.php?t=3029951
[X Style (Pure) Android Development] SpasilliumNexus:
Why not ViperAtmos stock? It's a minimal mod and all that's needed for a volume boost is enabling normalization in the Dolby Atmos app.

XtremeMusic is overkill IMO.
[X Style (Pure) Android Development] blackerwater:
XtremeMusic is overkill and checking install statues of drivers always reported 0 so I'm not sure it actually works . I'll try ViperAtmos next. Just gotta find it now :/
[X Style (Pure) Android Development] Gilbert_vanguard:
Pretty good!! Added the kernel name in my signature! :)
[X Style (Pure) Android Development] desiaddict:
Friends I flashed this kernel with TWRP.. sorry for being noob but now what I have to do.... Also I want to increase blue tone little bit.... Please guide me. I have rooted.

Edit: i have installed Ex Kernel Manager but don't know what all changes should i make. Only checked Graphics/high brightness mode enabled but it keeps going to disabled.
[X Style (Pure) Android Development] ccic2491:
I'm on AICP and installed this latest kernel (0.4.1). I can't get WiFi to work. Any ideas other than the obvious (switching back to stock kernel)?
[X Style (Pure) Android Development] sbcrumb:
AICP is CM based not stock this kernel wont work.
[X Style (Pure) Android Development] ccic2491:
That's what I thought but someone suggested it on the AICP thread to get better battery life. Oh well.
[X Style (Pure) Android Development] Digital Cha0s:
Maybe flash the modem for your phone then let us know if everything is still working as expected
[X Style (Pure) Android Development] dirtyhank:
Since v0.4 I've made some changes (hopefully for the better) that required a full re-compilation of all modules. Unfortunately one of the modules (core_ctl) is proprietary and closed source so there's no way to recompile it, that means stock hotplugging won't work. The good news is I've been able to port an open source hotplug (bricked) that seems to be working fine. On top of that, since I don't want to modify system partition I've had to implement a hack to make the new modules available to the kernel without breaking anything.

Long story short, changes have been significant under the hood so I'd rather have you guys do a test run before pushing it to the OP. Here's the changelog

Update to Linux Kernel 3.10.95

InteractiveX governor (as patches to the interactive gov)

Bricked Hotplug

KSM and UKSM (disabled by default, use Kernel Adiutor to enable)

Many minor optimizations

WiFi module optimizations

Modules recompilation

Disabled core_ctl (due to broken module after some internal changes to kernel)

Voltage readings (any attempt to modify values is silently ignored)

Download test version. I strongly suggest you download .md5 file as well so TWRP can detect any file corruption.

WARNING: this is a potentially unstable release. Don't even try if you lack the skills to recover from SNAFUs.
[X Style (Pure) Android Development] MrMeeseeks:
Test build is failing at Dumping/Splitting images. Verified md5 in TWRP.
[X Style (Pure) Android Development] dirtyhank:
Are you installing over v0.4? Can you please flash stock and test over it? If you could send me the /tmp/recovery.log (whie still in TWRP, right after fail) it'd be great.
[X Style (Pure) Android Development] MrMeeseeks:
Sure thing. I'll report back in a few.

---------- Post added at 03:15 AM ---------- Previous post was at 03:04 AM ----------

Sorry, there was another problem on my end. I was trying to use the test build of twrp with encryption because I like the updated ui. That was the problem. It flashed fine over v0.4.1 with twrp 2.8.7.1. It's optimizing now since I wiped caches. I'll let you know how it's running later.
[X Style (Pure) Android Development] Adnansaeedhamed:
running with no issues till now with v5.
[X Style (Pure) Android Development] Ghost9867:
The v5 is out ?
[X Style (Pure) Android Development] unitz0mbie:
Installed over .41 without wiping caches and no issues. Can you please explain what ksm and uksm are
[X Style (Pure) Android Development] Ghost9867:
Can i know what is new in version 5?

Edit: i find it
[X Style (Pure) Android Development] Adnansaeedhamed:
I noticed much smoother after enabling KSM
[X Style (Pure) Android Development] zhoy19:
Installed v5 over 0.4.1 without issues. Feels way more smooth too.
[X Style (Pure) Android Development] dirtyhank:
In a nutshell there's a process scanning memory pages and when it detects several identical copies of the same page it creates a shared page and releases the memory used by the other copies. This works because many process use same libraries/code base and so it's quite likely that there are many pages with same content. KSM is the standard kernel module, UKSM is a more efficient implementation.

The good news is you can reclaim quite a lot memory, the bad news is CPU usage increases because of memory scanning. I've done some tests and I'm not really convinced what's the best setup, that's why I disabled it by default.
[X Style (Pure) Android Development] dirtyhank:
Well, I think that's more a placebo effect than real. If anything, KSM should make the device a little bit less smooth, since there's a background process continuously scanning memory pages.

In theory KSM should make multitasking better, since more memory is available for the apps and less reloading is required.

However, v0.5 is smoother than v0.4 under same circunstances. At least on my device ;)
[X Style (Pure) Android Development] Makalicious:
No more touchboost disabled option?

Also wanted to point out custom values entered under interactive governor seem to be sticking instead of resetting frequently.
[X Style (Pure) Android Development] MrMeeseeks:
Running good here.

Edit: [MENTION=2400758]dirtyhank[/MENTION] I noticed that the big cores always revert to interactive. Any ideas?
[X Style (Pure) Android Development] guraki:
Way more smooth especially on scrolling!!! I can't find though interactive x governor...
[X Style (Pure) Android Development] dirtyhank:
Yep, that was part of the stock hotplug mechanism I had to disable. You can still control touchboost though, just use the Input Boost Frequency by Core settings.
[X Style (Pure) Android Development] dirtyhank:
Interactive is actually InteractiveX, I just patched it. If you look at the tunables you'll see there's an option to limit CPU frequency while screen off.
[X Style (Pure) Android Development] Makalicious:
Sorry for being a noob but I am assuming changing the value to 0 has the same effect as disabling?

Where's the donate button dude, I want to buy you a case of beer for this great work my phone is an ice cube
[X Style (Pure) Android Development] dirtyhank:
Sort of, use Kernel Adiutor: CPU tab, bottom of the screen. To disable just make sure all cores "Input Boost Frequency" is set to Disabled.
[X Style (Pure) Android Development] Ghost9867:
ehy guys when i try to flah the v 5 my recovery reboot automatically

Any fix ? with the v 4.1 it work good

edit: sorry it was a bad download now it work
[X Style (Pure) Android Development] dirtyhank:
Probably a side effect of hotplug when both BIG cores go offline, I'll look into it.

Edit: it doesn't happen with bluactive, which governor were you using?
[X Style (Pure) Android Development] guraki:
So What is the parameter that gave so smooth performance???
[X Style (Pure) Android Development] MrMeeseeks:
I was using bluactive. I don't know but it is sticking now but I watched it revert several times earlier. It seems to have corrected itself. Sorry about that. I guess I'm just having an off day.
[X Style (Pure) Android Development] dirtyhank:
I don't think it can be tied to a single change.
[X Style (Pure) Android Development] guraki:
Any recommendations on settings for better battery life?
[X Style (Pure) Android Development] Naddict:
"better" is a subjective term and is dependent on many things, as an answer to this is really an individual opinion...I am providing this link for the users in here who have asked the above on more than one occasion...

http://androidmodguide.blogspot.com/p/blog-page.html

Please take time to read and understand about cpu's their settings, and what may or may not work for you and your situation...Cheers!
[X Style (Pure) Android Development] unitz0mbie:
Little cores 1248

Big cores 1536

Minimum on both 302

GPU Max 300mhz

Interactive gov

Cpu boost frequencies disabled, no touchboost.

My phone feels fast and can go through a whole day of heavy use (5-6 hours), mostly watching videos, music . I don't do games often. And still have over 30 percent when I get home, of course you need to use a decent brightness. I also lowered my resolution to 1080p. For apps don't use Facebook or messenger. Use folio for Facebook. For launcher I use zeam launcher. Extremely light on ram and fast. Not a lot of customization but does not bother me. No moto display, or ambient display.

Edit: also I use naptime with aggressive doze, and amplify.
[X Style (Pure) Android Development] saidmsb:
How you lowered the resolution??
[X Style (Pure) Android Development] Hitti2:
There is a thread about changing the res.

http://xdaforums.com/moto-x-style/general/increase-battery-life-lowering-screen-t3190234

I was thinking bout doing it but i dunno if qhd enabled apps will crash.
[X Style (Pure) Android Development] grifforama:
Xtrememusic is amazing. It's totally configurable. My music sounds 1000% better because of it.
[X Style (Pure) Android Development] Sheetzie03:
Dolby Atmos FTW

---------- Post added at 02:28 PM ---------- Previous post was at 02:27 PM ----------

Which app is this ?
[X Style (Pure) Android Development] revolagoy:
Do you guys know where I can find a copy of the stock MM kernel image or zip that can be flashed in twrp? I want to compare to 4.1. Thanks!
[X Style (Pure) Android Development] unitz0mbie:
Is it really worth it? I listen to a lot of spotify but I just don't want equalizers to lower the volume

---------- Post added at 09:33 PM ---------- Previous post was at 09:30 PM ----------

It does not, and it runs great and there's is no difference in my eyes,
[X Style (Pure) Android Development] grifforama:
It doesn't lower the volume. It boosts the volume. And there's a lot of sound tweaks as well. It enhances my music listening massively.
[X Style (Pure) Android Development] Digital Cha0s:
Never mind that isn't MM but this is

http://xdaforums.com/showthread.php?t=3224833

[FiRMWARE] XT1575 PuRE FiRMWARE aNd STuFF
[X Style (Pure) Android Development] Sheetzie03:
Try dolby Atmos, its simple, improves sound quality and volume ...
[X Style (Pure) Android Development] WelcomeToTheSkye:
I absolutely abhor Atmos it never has any good usage all the stock profiles all sound like crap just my opinion tho... I personally like viper with all settings disabled extra-loud set to extreme
[X Style (Pure) Android Development] chindynasty:
Lost WiFi after flashing v4.1. Can't turn the WiFi on. WTH?

Edit: flashed truepure and v4.1. WiFi is back on..
[X Style (Pure) Android Development] lafester:
Can we get an image file for v5 so it can be flashed in the latest twrp build?
[X Style (Pure) Android Development] dirtyhank:
What do you mean?'I'm on latest official TWRP build and it works just fine.
[X Style (Pure) Android Development] SpasilliumNexus:
There's a test build floating around for those who are encrypted and/or using internal storage with their SD cards which was fixed. Apparently it has a new UI too. I'm guessing that build is where these issues are coming from: http://xdaforums.com/showthread.php?p=65045112
[X Style (Pure) Android Development] dirtyhank:
Oh, I see. I've flashed that recovery and the problem is the boot device path is different.

Stock TWRP is:

/dev/block/platform/f9824900.sdhci/by-name/boot

Test build is:

/dev/block/platform/soc.0/f9824900.sdhci/by-name/boot

In the end both point to /dev/block/mmcblk0p36. Can you guys confirm that's you boot partition too? Please report your device as well. Thanks.
[X Style (Pure) Android Development] lafester:
Not sure how to confirm...
[X Style (Pure) Android Development] felek73:
Version 0.5 is great , fast and battery friendly, one thing is strange though. After flashing 0.5 my widget that show wifi transfer (zooper widget) doesn't work anymore , still showing 0.kb I flashed back version 0.4.1. and was OK , flashed 0.5 again and no wifi transfer is count. Can anyone confirm to make sure that it's not my end ?
[X Style (Pure) Android Development] dirtyhank:
While in recovery connect from computer vía "adb shell" and execute:

find /dev/block/platform/ -iname boot -exec ls -la \{\} \;
[X Style (Pure) Android Development] dirtyhank:
Well, I disabled most debug and tracing in the WiFi module so it might be related.
[X Style (Pure) Android Development] SpasilliumNexus:
I've decided to flash it and share the output. Here you go. This is on the Pure Edition (XT1575) and can confirm mmcblk0p36.

~ # find /dev/block/platform/ -iname boot -exec ls -la \{\} \;
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
lrwxrwxrwx 1 root root 21 Jan 2 1970 /dev/block/platform/soc.0/f9824900.sdhci/by-name/boot -> /dev/block/mmcblk0p36

root@clark:/ # ls -al /dev/block/bootdevice/by-name
lrwxrwxrwx root root 1970-01-01 23:56 boot -> /dev/block/mmcblk0p36
[X Style (Pure) Android Development] Cowbell_Guy:
Anyone care to share their settings on trupure 2.5? I'm having a bit of stock lag
[X Style (Pure) Android Development] Adnansaeedhamed:
I am facing wrong behaviour with cell standby with v5

Anyone else?
[X Style (Pure) Android Development] dirtyhank:
This happened to me with stock as well depending on the reception and usage. I don't think this has anything to do with the kernel, after all, the RIL and Modem firmware are not part of the kernel.
[X Style (Pure) Android Development] Adnansaeedhamed:
See here updated screenshots, I have not used the phone that much, and cell standby getting #1 of battery consumption, might need to reflash the modem.
[X Style (Pure) Android Development] newHere:):
Yay! :)

Another kernel is always welcomed!

Thank you :)
[X Style (Pure) Android Development] guraki:
What's the reason for over clocking???
[X Style (Pure) Android Development] dirtyhank:
I've only been able to test it on 100% stock ROM. I'll take a look at the boot.img of TruePure and see what's different.
[X Style (Pure) Android Development] dirtyhank:
Performance (see the OP). If you don't want it you can always set the maximum frequency to whatever you like with a kernel control app.
[X Style (Pure) Android Development] guraki:
I have already set it to the cpu default values and runs really great till now! Thanks for your work and help!!!!
[X Style (Pure) Android Development] patt2k:
Sounds good thanks. I flashed back vadims kernel and phone booted. Just an FYI
[X Style (Pure) Android Development] MrMeeseeks:
Mine wouldn't boot on stock. I had to flash SuperSU v2.60 after the boot.img to get it to boot.
[X Style (Pure) Android Development] patt2k:
TruePure has SuperSu 2.6.6
[X Style (Pure) Android Development] MrMeeseeks:
But if you flash the zip it will patch the boot.img or you will get bootloops. I think the boot.img needs the modifications to allow root.
[X Style (Pure) Android Development] patt2k:
I see. Makes sense. Maybe OP will update it soon :)
[X Style (Pure) Android Development] jeboo:
Nice work man! I meant to get around to posting a stock kernel myself, but time has been limiting. I did port kernel patches over though, feel free to grab em:

https://github.com/jeboo/kernel-msm/commits/marshmallow-6.0.0-release
[X Style (Pure) Android Development] cerobles1:
Version 6 of the bellow kernel. Again I'm running Lolipop, and I do realize your kernel is for MM.

http://xdaforums.com/showthread.php?t=3227689
[X Style (Pure) Android Development] Adnansaeedhamed:
Nice work man, keep it up, working great till now ... :good:

try to get kernel Updated to 3.10.94, https://github.com/Nimrodsv

---------- Post added at 09:24 AM ---------- Previous post was at 09:17 AM ----------

i think you look into v6 of lollipop
[X Style (Pure) Android Development] dirtyhank:
I've been taking a look at TruPure boot.img and the only difference I can see in the ramdisk is the sepolicy. I've created some test boot images with this sepolicy, can anyone test on TruPure?

http://www.mediafire.com/folder/45ul2qlc9edo6/sepolicy-test

Thanks!
[X Style (Pure) Android Development] guraki:
The kernel so far seems really impressive at all aspects!!! I use the stock rom which in my opinion is by far the best... Battery life is superb till now!!! Can't wait for the next release!!! Excellent work my friend
[X Style (Pure) Android Development] MyDarkThrone:
Tested both and phone automatically restarts in recovery