yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] SH1M4BD3:
So selinux status was enforcing this time??
[Moto G Android Development] Flashhhh:
No it's permissive
[Moto G Android Development] FelipeBHZ:
I tried it yesterday. XPosed is working, but cool modules are not. One of them got my phone into bootloop lol - But a dirty reflash of rom and kernel solved. Thanks anyway.

XT1033 - CM 12.1 TWEAKED - Optimus Kernel R25
[Moto G Android Development] khensin:
I have test r26, but my screen like loss its sensivity. I cant fast scrolling. On r25 i didnt found this issue. Or maybe i are there mistakes i made? I flash r26 directly from r25

Moto G XT1033

CM12.1 Nightly 0420

Optimus Kernel R25
[Moto G Android Development] Flashhhh:
That's not at all related to kernel. Everything working fine here
[Moto G Android Development] plantator:
on latest SOKP screen works good no problems
[Moto G Android Development] khensin:
I have reflash r26 and my screen issue gone. [emoji3] . i dont know why my screen like that for first flasing.

Moto G XT1033

CM12.1 Nightly 0420

Optimus Kernel R25
[Moto G Android Development] Ann.Vogelfang:
Indeed in CM12.1 is working quite fine.

Gesendet von meinem XT1032 mit Tapatalk
[Moto G Android Development] thuva06:
am running the lasted cm12.1 and i daily update my rom

was never interested in kernels but decided to give a try at this.

so i flashed and set all the settings to the one recommend by OP

is i would like to know the best possible settings that i can use (since few of the options mentioned in the OP aren't in the settings)???
[Moto G Android Development] FelipeBHZ:
Use Kernel Adiutor from Play Store.

:)

XT1033 - CM 12.1 TWEAKED - Optimus Kernel R25
[Moto G Android Development] Shub77:
CM 12.1 is ok with this great kernel.

Here are my options rigth now: battery ok and games ok. Other apps run really smooth. :)

CPU:

Max freq: 1094 MHz

Min freq: 96 MHz

Governor: yankactive

Multicore Pw Saving: Disabled

Input boost freq: 384 Mhz

CPU Hotplog:

All voices disabled (so the kernel uses aero hotpluga and max screen off freq disabled)

GPU:

max: 533

gov: simple_ondemand

I/O

Scheduler: deadline

read-ahead: 384 kb

Misc:

TCP: westwood

Power Suspend Mode: hybrid

KSM LMK and Virtual Memory: untouched and not set at boot.
[Moto G Android Development] ashisharia:
Bliss ROM

will this work with bliss rom 3.1?
[Moto G Android Development] Flashhhh:
Yes it will work
[Moto G Android Development] FelipeBHZ:
I will try this setup. Mine is a bit different. I will give it a shot.

XT1033 - CM 12.1 TWEAKED - Optimus Kernel R25
[Moto G Android Development] Flashhhh:
But remember if u use simple ondemand gpu governor, disable simple gpu algorithm
[Moto G Android Development] HemanthPHaridas:
CPU Overclock

1.6Ghz overclock please :) :D
[Moto G Android Development] FelipeBHZ:
It's not possible. Moto G's processor chipset is hardlocked at ~ 1.2Ghz.

Some says it does overclock, but it's fake.

Only GPU overclock to 533mhz is possible.

XT1033 - CM 12.1 TWEAKED - Optimus Kernel R25

---------- Post added at 04:11 PM ---------- Previous post was at 04:10 PM ----------

I will use my configuration a little bit more. Maybe a few days and soon I will test. I think my configuration is pretty good for me. I will share it later.

XT1033 - CM 12.1 TWEAKED - Optimus Kernel R25
[Moto G Android Development] sharath_babu:
[MENTION=5857055]Flashhhh[/MENTION] , working on zzmoove for moto g ?? ,

, expecting it :) ,ty
[Moto G Android Development] itouchables:
[MENTION=5857055]Flashhhh[/MENTION] can i flash optimus R26 on aosp 5.1.1 ?
[Moto G Android Development] DoctorStrange96:
Yup. Just flashed here and it works very well.
[Moto G Android Development] Flashhhh:
Yes u will get it in next release

Yes u can
[Moto G Android Development] ne0burn3r:
I'm so lost, you just change settings for cpu gov etc.. xD i don't understand a ****, when u say for example, intellidemand or smartmax. The first one is for battery and second one is for gaming ? xD
[Moto G Android Development] aouerfelli:
Do some research, it's all over the internet. Or better yet, experiment yourself.
[Moto G Android Development] ne0burn3r:
Yeahh i've done research.. anyw..

I got a problem with synpase, i don't see Hybrid mod in power suspend, i got only theses things :

Kernel mode

User mode

LCD hooks

highest level hook
[Moto G Android Development] Flashhhh:
I have mentioned in OP. Do some RESEARCH about the features available. Then try them. For hybrid mode select highest level hook in synapse. Try out and see which settings suit you the most
[Moto G Android Development] Flashhhh:
Kernel Update

Updated the kernel to R27.

Enjoy!

Heres's the changelog

- Removed aero_hotplug

- Added bricked_hotplug(msm_mpdecision) by showp1984

- Tick,Timekeeping and Clockevent updates

- Enable fsync by default

- msm: call quickwakeup clients

- ARM assembly enhancements (credits to [MENTION=5337314]CodyF86[/MENTION])

- Many more tweaks
[Moto G Android Development] sharath_babu:
zzmoove?? , not added??
[Moto G Android Development] Flashhhh:
Tweaked zzmoove governor and default profile has been set to 2. I recommend using profile 2 only!
[Moto G Android Development] h2o64:
Where did you get quickwakeup updates?
[Moto G Android Development] Flashhhh:
Check commit by renderbroken in my git. Basically it's not a quickwakeup update. So thanks for pointing out. Fixed typo
[Moto G Android Development] FelipeBHZ:
Just flashed R27. Let's test it. I will let you know how it goes. On R26 I was getting 5h of SOT on wireless and around 3h of SOT on 3G only. But on R26 I was experiencing some lags and hangs on system, using CM12.1 Tweaked.

Let's play! Haha

XT1033 - CM 12.1 TWEAKED - Optimus Kernel R25
[Moto G Android Development] Flashhhh:
Updated recommended settings. Check OP. I have personally tested these settings and i find it more stable. U can always try to experiment things. But these settings should work well for daily usage!
[Moto G Android Development] pra27:
Is msm bricked hotplug more battery efficient.. ?

Also tell the governors which can be most battery efficient..
[Moto G Android Development] Flashhhh:
U can use Smartmax,ondemand and intellidemand govs for battery. And talking abt hotplug, try bricked hotplug. If u aren't satisfied revert back to intelliplug
[Moto G Android Development] plantator:
It looks like bricked hotplug works well;)
[Moto G Android Development] Flashhhh:
Thanks for reporting!

I am planning on releasing a separate dt2w version of this kernel.

So from now there will be two versions available.

Normal version without dt2w

And prime version with dt2w
[Moto G Android Development] hhp_211:
Fantastic!! :D:D

Some of the best news all week!
[Moto G Android Development] h2o64:
Will you use directly synaptic stuff or the wake lock libs?
[Moto G Android Development] Flashhhh:
Tell me what u want me to do?
[Moto G Android Development] h2o64:
Nothing. I basically just wanna know the commits you'll choose from those features
[Moto G Android Development] Flashhhh:
I'll try a different stuff first. If it doesn't work then back to our original moto g stuff
[Moto G Android Development] HemanthPHaridas:
Best settings??

what are the best settings i can apply in memory manager settings :) ?? using fauxclock :)
[Moto G Android Development] Flashhhh:
I recommend not playing with those settings. But if u would like to, use faux recommended settings
[Moto G Android Development] h2o64:
Merry christmas !

Hello !

Like I said earlier, I built CM12.1 with Optimus Kernel R27 by default (maybe it will fix things, even if I just made that for fun :p)

Here is my fully functionnal build with CM12.1 5.1.1 + Optimus Kernel R27

cm-12.1-20150425-OPTIMUS-falcon.zip - 251.1 Mo

NOTE : For build propices, I disabled intelliThermal v2

NOTE2 : Uses latest Sabermod 6.0 toolchains (available here : https://gitlab.com/SaberMod/arm-eabi-6.0)

NOTE3 : The ROM itself isn't optimized or flagged in any way.

[MENTION=5857055]Flashhhh[/MENTION]
[Moto G Android Development] Flashhhh:
Thanks for that man!
[Moto G Android Development] fire7777777:
D2tw

work the d2tw?
[Moto G Android Development] Flashhhh:
I am working on separate dt2w version. Will be out soon!
[Moto G Android Development] Thecrazyskull:
DELETED
[Moto G Android Development] fire7777777:
ok thank you for the info =D
[Moto G Android Development] MetalPhoenix45:
GPU could be overclocked to 600MHz, you see for yourself in my kernel.
[Moto G Android Development] Thecrazyskull:
Yes it is possible but unrecommended for daily use
[Moto G Android Development] MetalPhoenix45:
Pretty Stable on my kernel though.
[Moto G Android Development] FelipeBHZ:
Yes. It is not recommended, once you will force your GPU and overheating can damage it.
[Moto G Android Development] kijp15:
Been running SmoothGKernel since the first release at 600 GPU and my phone never overheated with heavy usage. Just saying..
[Moto G Android Development] deeplyyoung:
R27 with latest BlissPop

What else we need guys…
[Moto G Android Development] zero995:
an init.d support?
[Moto G Android Development] jglm4u:
& fast charging mode will be awesome!!
[Moto G Android Development] plantator:
hm i think init.d support is from ROM side not kernel?
[Moto G Android Development] Flashhhh:
It's there right?

Sorry. I am not adding it
[Moto G Android Development] alepino1305:
i'd like a bit of help with my issue if you guys could spare a moment.

i'm running cm12.1 (22nd april build) on my xt1033 and whenever i try to flash a new kernel (yes, wiped cache and dalvik cache) after rebooting 2 errors appear non stop : "com.android.phone has stopped working" and system UI has stopped working.

what am i doing wrong?
[Moto G Android Development] Thecrazyskull:
Rom not kernel issue
[Moto G Android Development] khensin:
What recovery you use for flashing?

Moto G XT1033

CM12.1 Nightly 0424

Optimus Kernel R27
[Moto G Android Development] Flashhhh:
Try to reflash rom+kernel or try the kernel on some different rom
[Moto G Android Development] sharath_babu:
[MENTION=5857055]Flashhhh[/MENTION] , heard that moto g 2014 is supported by you sir.... so , are gonna get updates for our 2013 model in future??
[Moto G Android Development] Flashhhh:
I currently support both falcon and titan. Don't worry u will get updates!
[Moto G Android Development] BiraRm:
Thank you, you have been doing a great job, success in your life you deserve it.
[Moto G Android Development] Hagen86:
First off all . The Kernel is working really good and stable. The battery Life is also good.

But I have read that some people get 4-6h Screen on Time. Can someone share his Settings for maximum Battery Life ?
[Moto G Android Development] khensin:
I have test my moto g, but only 30 minute. I hope it can help.

5% battery for 30 minute on lowest brightness level. On this test, i didnt touch my moto g, just set the countdown time for 30 minute.

Sory for my bad english

Moto G XT1033

CM12.1 Nightly 0428

Optimus Kernel R27
[Moto G Android Development] Flashhhh:
Kernel Update

Updated the kernel to R28. It makes use of new cpu hotplug related infrastrucuture. Do report guys what u think abt it.

Here's the changelog:

- MSM_Limiter by neobuddy - More like a Swiss army knife! adds Per-Core Functionality!

- Make use of new infrastructure

- Cpufreq: many changes and upstream optimizations

- cpuboost updates

- Sched and Mutex tweaks

- some more patches
[Moto G Android Development] plantator:
new cpu hotplug will show in adiutor or i must to disable other hotplugs to use new?
[Moto G Android Development] Flashhhh:
I haven't added new hotplug, it's a new infrastructure. And yes msm limiter will show up in synapse only
[Moto G Android Development] padhu1989:
Any recommended setting for the new version? Or old settings are ok?
[Moto G Android Development] khensin:
My cpu didnt want stop using fourth of cores. I using op setting

Moto G XT1033

CM12.1 Nightly 0428

Optimus Kernel R27
[Moto G Android Development] Flashhhh:
Its normal. Don't worry
[Moto G Android Development] plantator:
First thanks for this new options in msm limiter wish it help to get more battery life;) sometimes when try setting it deice restarts but finaly get settings that work good and smooth;) in latest version it is recomended to use msm mpdecision?
[Moto G Android Development] sharath_babu:
no dt2w as you said before??
[Moto G Android Development] Flashhhh:
Yes i personally use msm mpdecision

The prime version is coming soon. Sorry but i am busy with my college stuff. Need to get some free time
[Moto G Android Development] kellerman40:
My cpu UC is resetting to 300 with the latest. Anyone? :)
[Moto G Android Development] plantator:
mine sometimes try but when tap"x" it reverts back what i set, now i try set 2 cores inteliactive and 2 cores ondemand:P
[Moto G Android Development] Edgarngg:
Are both links down right now? Can't load any of them
[Moto G Android Development] Flashhhh:
They are working for me. Check your connection
[Moto G Android Development] plantator:
Removed
[Moto G Android Development] Flashhhh:
If u flashed it directly over previous version, u shld try a dirty flash of rom+kernel
[Moto G Android Development] reversegear:
Did you take permission form [MENTION=5857055]Flashhhh[/MENTION] to post mirror.

This is what i see in OP

PLS DON'T MIRROR THE LINKS
[Moto G Android Development] plantator:
[MENTION=5857055]Flashhhh[/MENTION] hmm checked latest version and seems that msm limiter don't work, for egzample i scale second core to 998MHz by synapse as you said , then check by kernel adiutor and cpu bars shows that it scales normal to 1190MHz it seems that settings for cpu 0 (core1) apply to all cores same values

second chcec scaled cpu1 300-787MHz, cpu2,3,4 96-249 (so very small performance i think) and... subwaysurf works normal and smooth no lags
[Moto G Android Development] sharath_babu:
[MENTION=5857055]Flashhhh[/MENTION] ... plantator is right , msm limiter not Working as expected!
[Moto G Android Development] mangesh511:
:(

no dt2w otherwise running smoothly.
[Moto G Android Development] mato_d007:
Running good on AOSP 5.1.1 by Alberto. Also with multirom and cm12.1 as secondary. The only thing i miss is s2w and dt2w, but this kernel is rock solid.
[Moto G Android Development] Flashhhh:
I'll try to improve it in upcoming releases
[Moto G Android Development] Flashhhh:
Dt2w version will be up shortly!
[Moto G Android Development] Flashhhh:
Due to some personal issues, I'll release dt2w version tomorrow. Sorry for the delay. But I'll release the prime version for sure tomorrow
[Moto G Android Development] sharath_babu:
any other features apart from dt2w?
[Moto G Android Development] Shub77:
Let him breath lol :)
[Moto G Android Development] Flashhhh:
No but i was thinking of using Uber TC for it
[Moto G Android Development] Hagen86:
I got the problem that the minimum frequency change automatically to 300 Mhz.

I try to fix it with a dirty flash (BlissRom 3.2 + R28 Kernel , i don't whip anything)

But in kernel auditor the minimum Frequency still resets to 300 Mhz
[Moto G Android Development] twist3d0n3:
Currently using fauxclock for most settings, trickster for dt2w (as it's not showing in faux) and fauxsound for audio control.

I'll give trickster a looksy and see if it allows control of that 'extra'.

e: nope, trickster doesn't allow control of that feature.
[Moto G Android Development] cesarmanilla:
Great kernel! been using it for a couple days now. I saw Intellidemand is one of the included governors, is there any chance that Intelliactive could be added as well?
[Moto G Android Development] nunogilberto:
+1 for intelliactive :good:
[Moto G Android Development] sundeep97:
Using Optimus Kernel with CM12 Rom on XT-1033 . Awesome kernel. DT2W working (using Kernel Adiutor). Thank you soooo much for this wonderful kernel with a bunch of Goberners .... :)
[Moto G Android Development] sfoot13:
+1 YNWA!
[Moto G Android Development] padhu1989:
This kernel is best kernel for official cm12 so far.. Working like a charm.. I'm using it for couple of days and I didnt face any lag.. D2w is working perfectly fine..
[Moto G Android Development] sathvik07:
Using this kernel with Billspop ROM ..it is working.. But sometimes D2w is unresponsive... I have to tap 4 times to wake... .and the ram is not that good...recent apps r restarting.... Any way to fix these...???
[Moto G Android Development] Flashhhh:
dt2w is little unresponsive. I'll fix that but about the apps restarting, it is the rom problem and not kernel related

I've been using slimlp and there's no ram bug in it!!!
[Moto G Android Development] reversegear:
Can we get the kernel with SELinux permissive.

I'm asking this because xposed for lollipop is out and works only with permissive kernels :)

Right now workaround is to set permissive via terminal and soft reboot ;)
[Moto G Android Development] antarix:
How to set it to permissive via terminal
[Moto G Android Development] reversegear:
su
setenforce 0
[Moto G Android Development] antarix:
Will use lollipop now[emoji1]
[Moto G Android Development] Flashhhh:
Updated the Kernel

Changelog as always in 2nd post

cheers!!
[Moto G Android Development] srisurya95:
Mirror ready ;)
[Moto G Android Development] mattheoh:
I m trying the R4 version since yesterday on Bliss Pop ROM. Everything works perfectly with Kernel Adiutor app. D2W responds very well and I put CPU on intellidemand (will report battery life later).

Thanks for this great job.
[Moto G Android Development] sathvik07:
Tried R5 Kernel.....it is Awesome ...Now D2w is working perfectly on Blisspop....:cowboy::good:
[Moto G Android Development] mallikarjun170:
Could someone suggest the best governor and io scheduler to be used to make better battery and performance.

I'm using badass but seems to be some what drain in the battery.

Thanks
[Moto G Android Development] Flashhhh:
Try using optimax or intelliactive along with noop or deadline or cfq

Intelliactive may drain battery a bit so optimax is good!
[Moto G Android Development] sathvik07:
Can some one tell me how to make the screen to wake up after getting notification or msgs.. I am on billspop...
[Moto G Android Development] abhi0502:
Im getting a problem

Max frequency gets stucks on 300 ya 600. Even i change to 1120 it again goes to 300 to 600. Im using default intelliplug abd had just changed to intellitermal using faux app

Anybody getting this problem?

I will clean flash again and report back
[Moto G Android Development] Flashhhh:
Will be solved in next release. That's related to msm limiter. I got the fix but running short on time.

Sorry!
[Moto G Android Development] Hagen86:
Sounds good :D

Generally : When you release a new Kernel you recommend to whip cache & dalvik or just flash without whipping ?
[Moto G Android Development] sLaughteRguy:
You can whip some cream :P just kidding mate. Personally I flash ROM + new version of kernel with cache and dalvik wipe, because of some issues before, but I guess you can dirty flash a new version on top without wiping anything.
[Moto G Android Development] Flashhhh:
Here's a dt2w test version.

Do report if it's working for u. Bcoz dt2w isn't working perfectly for me

https://basketbuild.com/devs/Anas_Karbila/Optimus Prime Falcon

All credits go to [MENTION=5083850]Anas Karbila[/MENTION] for compiling this for me
[Moto G Android Development] mallikarjun170:
Unablee to download....

Sent from xt1033 using xda
[Moto G Android Development] Flashhhh:
[MENTION=5629511]mallikarjun170[/MENTION] Download it normally. See there's an option below. Don't download using peers
[Moto G Android Development] PeterImmel:
Running it right now. Seems to have the same problem, as any other actual d2tw-kernel:

d2tw works. If i cover the proximity sensor and doubletap it, display doesn't turn on (as it supposted to be) but after that dt2w doesn't work anymore (with uncovered proximity sensor) as long as I don't turn screen on with power button.
[Moto G Android Development] Flashhhh:
Yes that's a known bug. I need to find out a fix for it. That's why i have told that it's a test version. Thanks for testing. I'll probably try to solve it this weekend
[Moto G Android Development] hhp_211:
If on mobile,, rotate screen view to landscape to see download button
[Moto G Android Development] lasuazo:
Hi all quick question, which one u guys recommend synapse or kernel adiutor? Blisspop has kernel adiutor as default in performance settings but if I want to use synapse how should I go in order to not creating a conflict between both? Should I disable Lerner adiutor??? Thanks in advance. Also, the recommended settings back in the op are still the best settings or maybe someone could post their setting for good battery life and performance
[Moto G Android Development] plantator:
with msm limiter synapse only have configs to it synapse not, to use only synapse i deleted adiutor by titanium backup,

this dt2w version is r28+d2tw or more changes? whatsup with msm limiter? currently back to r27 more stability and deepsleep then r28
[Moto G Android Development] Flashhhh:
Dt2w version is R28+dt2w. I haven't faced any issues with battery or Deep sleep in R28. Did u face it?
[Moto G Android Development] plantator:
not much, no strange situation like 20min of nodeepsleep without reason but on r27 have litle litle better;) how works with msm limiter? mayby test version if have some progress?
[Moto G Android Development] Flashhhh:
Will try to get a release tomorrow. Hope some issues will be solved
[Moto G Android Development] ldiomedi:
I just flashed the prime version (whit dt2w). And installed synapse too. And I have errors when I apply the settings for wake. See the picture. But it seems to be working good. The common bugs it's there, but except that, works great..
[Moto G Android Development] zack1175:
there's just a minor problem in original R28 that even the msm limiter can let you set individual frequencies on each core,all the core just follow the frequency of CPU0

all the remining things are awesome:D
[Moto G Android Development] Flashhhh:
Prime Version!

So finally the prime version has been released!

This one contains a different dt2w implementation(All credits to [MENTION=4525074]alin.p[/MENTION]).

More info about it in post #3. So read the post to know how it works.

Changelog: (w.r.t previous dt2w test version)

- Updated to latest CM12.1 Sources

- DT2W V2 With PocketGuard

Enjoy!
[Moto G Android Development] itslels:
Pocket guard is working correctly! Great job!
[Moto G Android Development] plantator:
and no progres with msm limiter?
[Moto G Android Development] PeterImmel:
Thanks a lot. Finally dt2w working on Lollipop as it should. Great.

I also like, that the prime version comes already tweaked. I don't like an app changing my kernel settings everytime I reboot...
[Moto G Android Development] Flashhhh:
Finally dt2w working as expected. I worked a lot to get it working bcoz it was throwing way too many errors. Thanks for reporting.
[Moto G Android Development] Flashhhh:
I am working on it. Will release when i get time
[Moto G Android Development] sharath_babu:
flashhhh , you the man!! ....dt2w working like a charm! , thanks a lot !!

I'm having this thing,

when i swipe my screen from right to left , with screen off .... then double tap n wake the screen , my camera will be open!(bz its lockscreen shortcut) ,

its like my touch sense is working with screen off!! any way it can be dealt with this issue :) ,

any one having the similar issue?? or only just me!!

pls reply ..... ty

xt1033 , resurrection remix 5.4.3 , optimus prime version
[Moto G Android Development] mangesh511:
hey [MENTION=505617]flashh[/MENTION]

no deep sleep with r28 dtw version.

cpu is staying [MENTION=409989]300[/MENTION] is it normal ?
[Moto G Android Development] Flashhhh:
Check your wakelocks and see what's causing that. Use greenify to hibernate those apps. You can even try servicely app by franciscofranco. Both are available on play store
[Moto G Android Development] Flashhhh:
That happens only if u swipe 4-5 times but why do u swipe when the screen is off? I have just added dt2w and not s2w.

U just have to double tap on the screen. That's all