yashsingh1/xdaforums huggingface dataset:
[X 2014 Original Android Development] Vinnom:
Please look at your cpu usage table at kernel adiutor. For what I see, this settings he provided keep the phone too much at higher freqs. As you said, although it performances great, the heat and battery leakage isn't good

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] :
Yeah thats what I figured, gonna have to check on my usage table later, it reset my stats after the last reboot.

Do you have any recommendations what I could change to find a good balance between performance and battery life?

Thanks in advance.
[X 2014 Original Android Development] Vinnom:
Here, use mine that I wrote at this post below :)

http://xdaforums.com/showthread.php?p=68183450

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] :
Nice, thanks a lot!

One last question though, what about the other settings, such as cpu interval, sync threshold and so on?

Edit: OK I actually downloaded your profile and applied it through terminal emulator. The only thing that doesn´t get applied is above_hispeed_delay...any ideas?
[X 2014 Original Android Development] Vinnom:
Things regarding cpu impulse I deactivate in order to gain battery savings. Performance is super ok for me here, I didn't saw any reason to use them.

About above_hispeed_delay I'm on the same problrm here... I'm trying to figure it out what to do :/

Edit:

Just to be clear, the problem with above hispeed delay isn't script fault. For some reason, I csn't change its values even manually or using Kernel Adiutor. Strange, but I can't figure it out what is happening, not yet

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] :
So you have all the cpu boost settings, such as input boost and so on, deactivated?

Yeah the above hispeed delay problem is really weird, tried changing it manually too, no luck yet.

Keep us updated if you find something :)
[X 2014 Original Android Development] Vinnom:
Yeah, everything deactivated :)

I'll try to find out what is going on with above hispeed delay

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] :
OK nice, thanks! :)

Just one last question, which cpu governer settings are you currently using since above hispeed doesnt work?
[X 2014 Original Android Development] Vinnom:
I'm not sure if the settings I passed to you was the ones I'm using right now hahaha so below is a link for the most updated interactive settings (above_hispeed_delay now working)

https://www.dropbox.com/s/blzut0jwk8j3tyj/profile.txt?dl=0

Explaining above_hispeed_delay error:

The file expects that the first argument to be a timer only. As I was inserting the value 1267200:20000 (which is freq:timer) first, I was making a logical error, that is why it didn't save.

PS: I'll try to tweak intelliactive governor now (I still follow this thread but I'm not using krait kernel anymore, as I'm not stock and yes, I'm on BrokenOS)

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] :
Thanks, really appreciate it, but I think the link that you posted leads to the same profile as before, cause above hispeed delay is still freq:timer :D
[X 2014 Original Android Development] Flipz77:
Hi people. Came back to stock ROM which I can't use without this awesome kernel, but I'd like a bit of advice on moto display.

If I calibrate my RGB settings aggressively (for example, 218 - 210 - 256) minutes on the clock sometimes get overly bright and yellowy compared to the hours and lock icon which sport the usual greyish white tone. I can't obviously take a screenshot but I hope you understand and I'm probably not the only one getting this weird behaviour.

Thanks in advance!
[X 2014 Original Android Development] Vinnom:
Only the first value needs to be timer only. Others can be freq:time ?

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] kraatus90:
Does it happen on default screen or even when it's landscape ? i guess it has something to do with burnins. happened to my phone as well. but only when it was in portrait mode. (default position)

God i really hate amoled. from burn-ins to crap rgbg to high power usage on light colors to too much saturation. apart from deep black colors it's pretty much inferior and crap compared to ips. :mad: every solid color object looks like it has some wired dots/grainy layer on it.

Too bad upcoming nexus have amoled, i have to go with nexus 5x now it seems. :rolleyes:
[X 2014 Original Android Development] Flipz77:
Well it's not actually a major problem, only an aesthetic issue but it's weird and it only happens with non-stock RGB settings.

I'm sure it's unrelated to burn-in though, as I've tested my screen multiple times recently and I never got these hues in Ambient Display. It's only moto-related (so I've tried any kind of wipe cache, disable-enable, even fiddling with the Xposed module App Settings didn't help)

I personally love amoled, mainly for its ability to light up individual pixels, but as we're seeing it can indeed cause annoyances and I have to say stock calibration on our phone is pretty gross.

Thanks for your support anyway! Our phone would pretty much suck without you.
[X 2014 Original Android Development] Ptikjp:
Hi there. I don't have a big problem with heat. The phone gets toasty when playing video games. I believe the undervolt should help some with the heat. I'd look for an error in the frequency numbers of the target loads setting. The settings i initially posted had an extra zero. I do believe other people are using the revised setting. Or perhaps use another person's profile.
[X 2014 Original Android Development] Ptikjp:
Top frequencies are used very seldom. Look at the frequency chart. Most likely he has a typo in the settings.
[X 2014 Original Android Development] Ptikjp:
Screen shot attached. Well on my way to 4hrs SOT... And this is using LTE. The settings aren't miracle settings by any stretch. You can see the average sot is around 3hrs. The settings perform nicely for me. I do think the phone can heat up but not more than usual (i have another moto x 2014) that i use for comparison.

I play many casual games, but have not this morning.
[X 2014 Original Android Development] Vinnom:
Hmm, I see.

I thought it was freq being bumped up too much, because of your target loads and go hispeed load, but I see I was wrong hahah maybe it was the typo file he got :)

About SOT, I use it as a parameter too (so I can have notion of how things are performing here) but I prefer talking about battery per hour (betterbatterystats give it more accurately), so I see better if my profile is good. I'm testing tuning other governors (I'm not on stock rom + krait anymore) and I'm using batt/hour to see if I need to tune it better

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] onolox:
I installed the beta 2 version of the kernel, but with adiutor I have noticed that some things are not enabled by default, like the fiops or tcp Westwood, is this normal?

And all 4 cores are active all the time, they don't sleep? There are no core hotplug?
[X 2014 Original Android Development] mikivila:
My rgb settings
[X 2014 Original Android Development] onolox:
You know nothing kraatus snow.
[X 2014 Original Android Development] kraatus90:
Haha, yeah because i don't agree with kids these days ? i stated everything what i have seen on this phone's display. and objectivity wise you can't refute anything. aside from deep blacks and slight ppi bump, this device's display is inferior to even 1st gen moto g's ips display.

The biggest problem with amoled is non uniform and uneven sub-pixel sizes (RGBG). a 424ppi oled only has 424 sub-pixel per inch of green color. blue and red are alot less than 424ppi. so technically it's not a 1080p display. that's why if you have good eyes, you can clearly see a fine grain on display, and solid color objects look pretty bad and cardboardish.

but if it had RGB pixel arrangement like ips displays, it would be 424 sub-pixels for all three colors making a true 1080p display. still it will have other issues like high power draw on light colors (mostly white) which is more than 50% of content you see on phones. and burn-ins.

but yeah, i know nothing. :o

what i find surprising is, kids these days can see the difference between 400-550 ppi, but they can't see the grain on 424ppi amoled screen which is alot easier to notice. maybe they should do blind test for 400-550ppi, it will show them that they cannot tell the difference because they can see it, but because they know it. placebo effect at it best. :cool:
[X 2014 Original Android Development] KabalLV:
is there a way to get this working on CM13 ? Because installing that patched boot.img makes my phone go bootloop, even tho no errors for installing kernel nor supersu.
[X 2014 Original Android Development] kraatus90:
Nope, this is only for stock marshmallow firmware. obviously it won't boot in cm13 or any other rom. you should have read the OP first.
[X 2014 Original Android Development] dictionary:
OP? Should have read the thread title before even coming in, lol. You clearly and appropriately labeled the thread, so I can't for the life of me understand why anyone would think otherwise.
[X 2014 Original Android Development] onolox:
Make krait kernel v6 and I agree with you :D
[X 2014 Original Android Development] kraatus90:
Don't have this phone anymore man, currently using motog1, gonna get nexus 5x or pixel, depends if pixel has oled or ips.

So, can't make v6. :p
[X 2014 Original Android Development] Vinnom:
Man, hotpluggage is not good. It makes your cpu0 be used at higher frequencies and higher frequencies means higher battery usage (and higher temperature too). It is better to use more cores at lower freqs, which make the phone better responsive and battery friendly. You just need to tweak your governor and voilà.

MOTO X user since 03/2015 =)

NEXUS 4 user 2013-2015 =/

Current ROM: BrokenOS

Kernel: BrokenOS Stock

Interactive governor tweaked script: SCRIPT
[X 2014 Original Android Development] onolox:
I'm having in a week basis a reboot, it may be the kernel.

This happens when I bluetooth tether.

Something related to the watchdog.

msm_wdt_ctx: tzbsp dump buffer mismatch.
Expected: magic 0x44434151, cpu_count 0, version 2, 3, or 4
Found: magic 0x00000000, cpu_count 0, version 0

*** Might be Secure watchdog bite ***

Attached the last_kmsg.txt
[X 2014 Original Android Development] ordnas888:
Hello ... I'm from xt1092 unlocked !! from stock 6.0 patch in August 2016 performed root successfully. I try v5 flash Kernel but to 'start I lose root .... try again to execute root ... but nothing. When Kernel Recovery stock instead holds the root ??? Solutions ???
[X 2014 Original Android Development] Vinnom:
Hi man!

Try rooting normally. Flash the kernel and then flash superSU. If it doesn't work, then you have to use your stock kernel.
[X 2014 Original Android Development] ordnas888:
Just tried .... but nothing touches return to stock kernel .... hopefully in v6 ....
[X 2014 Original Android Development] Vinnom:
There will be no v6. Development had stopped when Kraatus bought a new phone
[X 2014 Original Android Development] ordnas888:
Another kernel ... with the possibility of lower frequencies CPU ??? thank you
[X 2014 Original Android Development] Vinnom:
I don't have a clue. I stopped using stock a long time ago
[X 2014 Original Android Development] Cocruler:
Can someone post a picture of the CPU governor tunables for the conservative governor?
[X 2014 Original Android Development] papsr6:
Someone to know?

What is krait kernel lite?

Which is the best setup for xt1097?
[X 2014 Original Android Development] ThetaSigma3141:
I flashed the kernel, but none of the new options appeared, what happened?
[X 2014 Original Android Development] papsr6:
I ask second time.

What is the lite kernel.

What is the deference.?
[X 2014 Original Android Development] BootloopedMillennials:
Can I ask why you're considering installing an outdated and never going to be updated again kernel? You are just asking for problems to occur on your phone.
[X 2014 Original Android Development] linckandrea:
Lite is a slim version

Anyway the kernel is outdated

I miss this kernel is very good kernel

(Now i'm working on custom kernel for stock)
[X 2014 Original Android Development] papsr6:
I know is outdated kernel but is the only one and i want something to have better battery.

Thank you for the answers both of you.
[X 2014 Original Android Development] :
any updates about this custom kernel for stock?
[X 2014 Original Android Development] Flipz77:
Why don't you check out Pop kernel? It's working well on my modded stock ROM
[X 2014 Original Android Development] Sgace:
Here is a log of my xt1092 with this kernel after reboot. Hope it helps for the Mac problems

Cheers
[X 2014 Original Android Development] kraatus90:
make a system backup and try this.

https://www.androidfilehost.com/?fid=24369303960685518
[X 2014 Original Android Development] kraatus90:
update

kernel updated to v1.1

added faux sound, vibration control and fixed init.d.(hopefully) :D
[X 2014 Original Android Development] jejeh:
Synapse ok now... But no wifi on xt 1092.

With or without the wifi fix.. Thanks keep up the good work
[X 2014 Original Android Development] juangcardoso:
Installed and working fine on XT1097 (Brazil). I'll test the Kernel :D

Thanks for your work!
[X 2014 Original Android Development] kraatus90:
that's weird, im also using it on xt1092. no issues here.
[X 2014 Original Android Development] Sgace:
Cant download, browser/site says there's a security error, please try later?

Cheers

Edit: downloaded, testing now. Thnx

Edit2: flashed, but wifi not connecting at all anymore and still wrong Mac addres
[X 2014 Original Android Development] jejeh:
Did you flash the wifi fix ?
[X 2014 Original Android Development] Junior Passos:
Thanks so much.

Init.d works now. ;)
[X 2014 Original Android Development] kraatus90:
nope, wifi works without that zip here, i made that for you just to see if it fixes problem. seems like i can't do anything for it. thing is im using stock moto wifi driver, and it's still not working for you i have no idea how to fix it. maybe try factory reset after flashing the kernel zip.
[X 2014 Original Android Development] leninke:
Hi [MENTION=4825505]kraatus90[/MENTION] first of all thank you for your work. Finally a stock kernel for Victara. The download link in the first post doesn't work for me. Would you please give me a link? Thanks in advance.
[X 2014 Original Android Development] gabriel_hart:
Been running for about an hour ... so far so good on my Pure Edition!
[X 2014 Original Android Development] nithin1992:
Losing root after flashing the update over version 1.0. Going back to stock+flashing root+flashing 1.1 still doesn't seem to work for me. Using SuperSU Beta 2.62-3 btw. Any ideas?

EDIT: Root works with Beta 2.66
[X 2014 Original Android Development] Sgace:
That's a bummer m8, would've loved to keep using your kernel but thats not possible without wifi working correctly:(

Still thanks for your effort and the first stock kernel for Victara:laugh::good:

Cheers
[X 2014 Original Android Development] roddem:
I have not tested the battery life as I just flashed it. But I really wanted to control the vibration intensity. Thank you so much for your work. Works perfectly till now. WiFi wasn't working at first but a restart solved it. Will report with battery life in a couple of days.

Cheers
[X 2014 Original Android Development] colourfuldays:
It's a amazing kernel for stock! Now I'm on Krait 1.0,what should i do to update 1.1?direct flash new kernel zip or after wipe everything flash it?
[X 2014 Original Android Development] kraatus90:
just flash it over version 1. :o
[X 2014 Original Android Development] notanoob:
After research I found that the Mac address change can only be possible with a kernel that allows it, its got to do something with NVram and the WiFi config file . I found a bit interesting that your WCNSS_qcom_cfg.ini file has the lines

# Assigned MAC Addresses - This will be used until NV items are in place # Each byte of MAC address is represented in Hex format as XX Intf0MacAddress=000AF58989FF Intf1MacAddress=000AF58989FE Intf2MacAddress=000AF58989FD Intf3MacAddress=000AF58989FC

I am assuming that a random Mac is generated until NVram is populated I guess either Mac is not getting generated by NVram or the kernel is not able to read from NVram and due to the above lines a custom Mac is assigned.

Also only the last three mac variables are getting changed .

Please check. This the first stock kernel of moto x and I don't want to stop using it just for this reason .
[X 2014 Original Android Development] kraatus90:
thanks for info, i want to solve it too but i don't know how , since everything related to wifi is 100% same as stock kernel ( it should be because im using stock driver). maybe it's related to your wifi router too (just guessing here) because not everyone is having this problem. are you using any adblock modules or something ? try disabling it. i'll see what i can do but i can't guarantee for any fix. :(
[X 2014 Original Android Development] notanoob:
Thank you looking forward for a fix. Adblocker updates the host file not the wifi config file :) , i am guessing while building the kernel there might have been a step where this gets allowed . I saw a post for CM 7 that described how a kernel does that this but the paths were reporting to ets folder not etc.

All the best , ill research some more . apart from this kernel is rock solid . awesome work and thank you for taking up this task
[X 2014 Original Android Development] kraatus90:
in your stock rom go to this location - "system\etc\firmware\wlan\prima" and give me that prima folder. (make sure it's original and not that modified one i gave you) there should be 4 files in there. after this i'll make a new build just with wifi changes.
[X 2014 Original Android Development] kraatus90:
To the guys who are using this kernel, i want to know if you are getting more battery life. i mean in terms of screen on time and/or standby time or both. im asking this because im thinking of removing hotplug. because after doing alot of reading it seems like offline/onlining cores takes a hit on battery life as well.( also if you notice cores are going idle very quickly so without hotplug it will be more fluid ) and since everyone's usage pattern is different i want to know if current setup is giving more battery life or not. looking forward for feedback. :)
[X 2014 Original Android Development] notanoob:
Here's my prima folder

Also here's the thread i read about the mac address changes with kernel

http://xdaforums.com/showthread.php?t=1878506
[X 2014 Original Android Development] kraatus90:
thanks , it seems like your WCNSS_qcom_wlan_factory_nv.bin file is corrupted. try this now.
[X 2014 Original Android Development] nithin1992:
Too early to comment on the v1.1 but since not much changes were made to 1.0, I can say that I haven't really had any noticeable improvement in battery life unfortunately.
[X 2014 Original Android Development] fajarlazuarding:
I second this.
[X 2014 Original Android Development] leninke:
Still if I click on download in the op Androidfilehost says file can't find. Can somebody help?
[X 2014 Original Android Development] kraatus90:
here :o
[X 2014 Original Android Development] kraatus90:
thanks , just what i thought cuz im not seeing that much of improvement in SOT either. but standby time has gone up to 3-4 days from 2 days. sot is same 4-4:30 hrs.

it would be helpful if you guys can tell more about your usage(apps etc.). thanks :)
[X 2014 Original Android Development] gianboy:
With version 1.0 I had no problems with WiFi but with v 1.1 i lost it (tried the fix and no luck, restored my kernel and no WiFi )
[X 2014 Original Android Development] kraatus90:
unfortunately in order return to stock you will need to reflash stock rom. i'll make a revert to stock zip later when i go home.
[X 2014 Original Android Development] gianboy:
Dont worry i forgot i had a nandroid backup of my system
[X 2014 Original Android Development] leninke:
Thanks. I have flashed v1.1 and after boot I lost root. Then I went to recovery flash supersu v2.62-3 again and now phone will boot only to bootloader or recovery. It doesn't boot anymore to system. I made a factory reset from Twrp still doesn't boot to system. Anybody has an idea how to fix it?Thanks in advance.
[X 2014 Original Android Development] kraatus90:
flash stock boot.img , than flash whatever root version is working for you than flash v1.1 kernel zip. it should work.
[X 2014 Original Android Development] leninke:
Do you have a marshmallow boot image for XT1092? I could find only for Lollipop.
[X 2014 Original Android Development] kraatus90:
extract and flash via fastboot.
[X 2014 Original Android Development] nithin1992:
Flash the 2.66 beta SuperSU and it'll work. Flash boot.img->flash 1.1 kernel->flash beta 2.66 supersu

---------- Post added at 05:54 PM ---------- Previous post was at 05:50 PM ----------

Well I only ever get about 2-2.5 hours sot with 3g. It's better on WiFi but on mobile data always have a lot of mobile standby battery drain. But then again this is the same as it was on stock so nothing due to this kernel.

As for the apps, I don't use any apps that are known to be bad for battery drain, such as fb etc
[X 2014 Original Android Development] juangcardoso:
Can you please set the minimum CPU frequency tô 100MHz again? The current minimun frequency is 268MHz ;/
[X 2014 Original Android Development] kraatus90:
it's always been that way, 100mhz is for gpu not the cpu.:o
[X 2014 Original Android Development] Vinnom:
I tweaked interactive governor and hotplug a bit, so I getting an average of +50 minutes of battery life in SOT.

Try set IO is busy to 0 and anything that groups request in just one core, disable.

It is good that just one cpu doing thing, while in low freqs are good, but the battery life spent when the freqs goes up is too much. So is better to have 2 or 3 cores doing something in low freq, than 1 core in high freq.

Enviado de meu XT1097 usando Tapatalk
[X 2014 Original Android Development] leninke:
Thank you guys for the help. I'm now V1.1 rooted however it was not easy :). Flash boot img didn't worked so I flashed 5.1 from factory image (my fault I didn't have nandroid backup). Went via ota to 6.0, factory reset, flash newest twrp then made a nandroid backup. Flashed v1.1 then supersu 2.66 bootloop again. Restore nandroid, flash supersu 2.66 bootloop again so I think for me something wrong with su 2.66. Finally I tried with supersu 2.62-v3 with your kernel and it worked :D. Thanks again for your help. It is a good example again, first make a backup ;).

update: with v1.1 wifi is completely dead, I don't see any network. Flashed wifi fix, everything is the same. Flashed v1.0, I see networks only it wouldn't connect. The strange thing is at the first time I have installed your kernel (v1.0) I didn't have this problem.
[X 2014 Original Android Development] kraatus90:
damn :crying:, btw why don't you just flash mm image instead of ota update ? as for the wifi, nothing has changed compared to v1. also the latest 2.66 gives me trouble too. that's why im still on su2.52. it works great.

http://xdaforums.com/moto-x-2014/development/root-root-moto-x-2014-android-t3249105

https://mega.nz/#F!ow8igZRL!Z7vmN8GOpez2bVMYDvEKkg!IkEVHRxS