yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] aouerfelli:
Google Play Services is the app causing all the wakelock issues on all GAPPs, this has been addressed countless times. If you do some research, you'll find a solution.
[Moto G Android Development] ncmz:
Cool. I know about this, I follow this thread and various threads and I'm aware of GApps bug but I flashed this kernel like 13 hours ago so I come from a crDroid stock kernel (CM12 kernel basically) and I did not have deep sleep issues. So the last change I did since I had fully working deep sleep and now, was flashing a new kernel. We may guess that is related to that and not related to Google Apps, right?

Cheers.
[Moto G Android Development] MetalPhoenix45:
Omg, its not from google play services, I have full modular gapps, and I don't face any deep sleep issues, and even flashhhh said this.

Sent from my XT1032
[Moto G Android Development] aouerfelli:
It might be from an incompatibility issue b/w ROM and kernel then. Just to be sure, when you download DisableServices from the Play Store, and you click on Google Play Services, are SyncServices and SystemUpdateServices checked? If they are, then your deep sleep issues aren't from the Google Play Services.
[Moto G Android Development] Flashhhh:
Kernel Update

Updated the kernel

This one has been compiled using GCC 4.8 toolchain

Here's the Changelog

- Dynamic management of dirty page writebacks

- Dynamic management of timer slack

- LowMemoryKiller management of not killable processes

- Updated -O3 Flags

- Tuned bricked_hotlpug

- Sched Optimizations

Cheers!!
[Moto G Android Development] Sik-1:
Might have to try this kernel, I like the work effort you put in sir.
[Moto G Android Development] twist3d0n3:
e: ignore, thinking it's related to something else after a bit of experimentation
[Moto G Android Development] likurik:
Solucion https://plus.google.com/112425488314892935797/posts/VYzEhov52Ve

Apk https://plus.google.com/112425488314892935797/posts/VYzEhov52Ve
[Moto G Android Development] Darkapolo:
Is This kernel oriented to get better battery life or better performance?.

Is it better in terms of battery efficiency than the stock kernel AOSP 5.1 (Alberto) ROM?. Thanks!.
[Moto G Android Development] aouerfelli:
Both. Use intelliplug for battery, bricked_hotplug for performance. Yes, for me it is.
[Moto G Android Development] Gonzanob:
does this kernel use mtd partition map?
[Moto G Android Development] sharath_babu:
UBERTC

can we get /expect kernel built from UBER tool chain?

I'm great fan of this kernel !!

Its request!

Ty
[Moto G Android Development] Flashhhh:
Ok I'll try to compile with Uber toolchain

But it will take time

No release for a week. Busy with exams

Cheers!!
[Moto G Android Development] Dr. Brawler:
Gud luck bruh
[Moto G Android Development] punith46kumar:
Can anyone give me a profile file for battery backup im using optimus r17 and snapsy im a newbie so didnt configured anything in snapsy.. Kernal is so smooth using in blisspop 2.2 but battery drains fast plz hlp...
[Moto G Android Development] Flashhhh:
Use recommended settings stated in op

If u feel synapse is a bit complex u can use trickstermod or kernel adiutor
[Moto G Android Development] Flashhhh:
Updated the kernel to R18!!

I said there will be no release for a week but i felt that R17 wasn't that stable. So i decided to release R18. I have added MSM hotplug and removed bricked hotplug(msm-mpdecision). Try and report!

Changelog:

- Compiled using updated Linaro 4.9.3 cortex A7 optimized toolchain

- Removed bricked hotplug and added MSM hotplug

- block:disabled add random

- Reverted some patches( they were causing issues)

- Some misc fixes

Cheers!!
[Moto G Android Development] SH1M4BD3:
R16 was good for me..works without issues so far..lets see this newer build
[Moto G Android Development] Flashhhh:
Pls test this one and report
[Moto G Android Development] SH1M4BD3:
Downloading will give you some feedback
[Moto G Android Development] plantator:
For me R17 don't give any errors and was stable? and useing bricked hotplug, but if you say R18 is more stable will try it;)
[Moto G Android Development] jazzh:
No dt2w again?
[Moto G Android Development] plantator:
still no.

About first impressions: on AOSP 5.1 my moto get wings :P angel wings :D

much faster and response;)

will test much

Edit: don't know why but sometimes i think your new hotplug brake cpu max freq, sometimes it can get down to 0.3GHz intstead wiat i check 1.2Ghz ennoying
[Moto G Android Development] Flashhhh:
So msm hotplug working good for you?

It's unstable and a battery hog. Not adding it
[Moto G Android Development] SH1M4BD3:
R18 works good, whole work perfectly here thanks Flashhhh
[Moto G Android Development] SH1M4BD3:
Mine hotplug sets
[Moto G Android Development] Flashhhh:
You should not use two hotplugs at a time! Use any 1 only
[Moto G Android Development] SH1M4BD3:
I do...last screebshot before ive switch from intelli to msm
[Moto G Android Development] Flashhhh:
Maybe u shld dirty flash rom+kernel if u have any issues
[Moto G Android Development] plantator:
but on intelliplug by faux work perfect, on this new hotplug have situation:

playing angrybirds transformers, everything work smooth and after few minutes game starts lagging, go to synapse and what i see? max cpu freq from 1,2GHz is changed to 600MHz and sometimes to 300!

on intelliplug don't have this situation
[Moto G Android Development] Flashhhh:
Guys i need reports on R18

And yes i have found that while using msm hotplug , the hotplugging of cores is really agressive. So if u find battery drain pls use intelliplug for now. I'll fix it in next release.

Do report guys!

Cheers!
[Moto G Android Development] Flashhhh:
Read my above post

Will be fixed in next release. Use intelliplug for now
[Moto G Android Development] plantator:
ok will w8, but on r18 moto is even faster then r17 so good work;)
[Moto G Android Development] Flashhhh:
Yes performance has increased noticeably. I'll add back bricked hotplug in next release. It was quite stable.
[Moto G Android Development] punith46kumar:
Installed r18 performence increased ,,thanks for that battery also stable. But issue gpu somtimes automatically changed values to 240 235 210 in snapsy and cpu also automatically min300 and max to 600 with inteliplug enabled.. Waiting for next rocking update awsome work tried all available kernals to my moto g bliss 2.2 but this one is the best awsome and stable kernal ..good work !!!
[Moto G Android Development] Shub77:
I can't mention particular bugs or improvements, except that the feeling is that now CM12 is much more responsive and "fast". This is for sure.
[Moto G Android Development] Flashhhh:
Thanks for reporting!
[Moto G Android Development] FelipeBHZ:
Flashed R18 and seems my Moto G XT1033 is much faster and stable. When using R17 it seems to be lagging from time to time and sometimes screen was black and not responding. Now its ok. I used recommended settings from 1st post. ROM is most recent Liquid Smooth build. I can't say about battery yet.
[Moto G Android Development] Flashhhh:
If u use simple gpu algorithm make sure u have msm adreno governor enabled

Using it with simple ondemand governor won't do any good
[Moto G Android Development] PeterImmel:
Yes, dowloaded from gdrive.

I also can't see the option/s with kernel adiutor
[Moto G Android Development] Flashhhh:
U deleted the old R3 version u downloaded before ??

Make sure u r not flashing the old version again!
[Moto G Android Development] PeterImmel:
Yes, i did so
[Moto G Android Development] jamesro1208:
They are showing up for me in trickster mod. Thanks for the updated kernel!
[Moto G Android Development] Flashhhh:
Every1 is getting the option so i think u deleted the wrong file!

Delete all versions and download from gdrive and flash!

U will surely get
[Moto G Android Development] ncmz:
Hello there. For saving battery would you use intellidemand over interactive? How much "read aheadd buffer size"? As far as I knew, interactive + fiops were the best combination between perfomance and battery saving. I really want to hear about if I'm wrong so I can change this. Thanks for your work.

Cheers.
[Moto G Android Development] dntevnlft:
Will this kernel work on SlimLP? Very interested in trying it out!

Also, is there a way to back up the current SlimLP kernel to flash back just in case this one doesn't work out?
[Moto G Android Development] ncmz:
Yes, there is. In TWRP you go to Backup and tick Boot only, leave the rest unticked and there you backup only boot partition.

Cheers
[Moto G Android Development] dntevnlft:
Thanks!

Just flashed the kernel on SlimLP 02/10 nightly, seems to be running stable so far. D2W not working, must be a SlimLP thing.

Edit: D2W working fine, I forgot to turn it on in kernel settings app. Apologies for my idiocy.

Edit 2: D2W very inconsistent (1 out of every 7-8 double-taps turned the screen on) so I turned the feature off. Everything else seems ok.
[Moto G Android Development] ncmz:
Same here. I turned off too because of being unstable. Just testing kernel's battery performance with everything else on default.

Cheers
[Moto G Android Development] Flashhhh:
I need to add some more commits about dt2w which I'll do later!

I'll make it usable in deep sleep!

But for now pls cooperate

And u need to change the default settings for the kernel!

For battery i guess intellidemand+noop is the best
[Moto G Android Development] twist3d0n3:
Aside from deepsleep/dt2w not working properly, this kernel is absolutely FLYING on blisspop.

Great work dude!
[Moto G Android Development] Flashhhh:
I am adding commits right now to make dt2w work accurately so there will be a release within an hour!
[Moto G Android Development] Flashhhh:
Updated the kernel!

Improved dt2w and some more things

Cheers!
[Moto G Android Development] srisurya95:
Basketbuild server has some problems now....mirror link will be updated later ;)

Edit:- uploaded
[Moto G Android Development] pra27:
Thanks

Will report you after flashing r4 on official cm12 11 Feb nightly.

Edit - kernel works fine. DT2W and stw sts work fine too.
[Moto G Android Development] twist3d0n3:
Testing now, thanks for the quick update :)

Yup, working as it should! Good job again!
[Moto G Android Development] prgprg:
Working fine as usually [emoji4] thanks
[Moto G Android Development] dntevnlft:
DT2W working great now on SlimLP 02/10 nightly! Great work!

Any chance of adding IntelliMM governor?
[Moto G Android Development] FelipeBHZ:
Thank you. Just changed to msm-andreno.
[Moto G Android Development] plantator:
Today have same situation but with intelliplug, max freq changed to 600 and say to me gtfo, reverted back to r17 and w8 for new update

Cheers
[Moto G Android Development] Flashhhh:
Which rom r u using?

I haven't faced anything like that on RR 5.4.0
[Moto G Android Development] SH1M4BD3:
[MENTION=5196311]flash[/MENTION]..will this work on stock gpe 5.1??will you??
[Moto G Android Development] Flashhhh:
This won't work on gpe 5.1. It's only for cm based roms
[Moto G Android Development] SH1M4BD3:
Van you make it one based stock kernel
[Moto G Android Development] Flashhhh:
When I'll have time, I'll do it

I think I'll just leave it over here for users interested in battery

More than 12 hrs of standby and 3 hrs sot and still 50% left
[Moto G Android Development] Dizzyrul3z:
Damn nice one. What settings U R using? From 1st post?
[Moto G Android Development] Flashhhh:
I am using interactive governor and row io scheduler with intelliplug.
[Moto G Android Development] deeplyyoung:
Running buttery smooth with AICP 5.1r3
[Moto G Android Development] punith46kumar:
Can u add d2w and s2w in next update plz then it would be awesome ..... Im quite asking u more but addng more features is making others jealous... :-p
[Moto G Android Development] plantator:
I think first to do is to fix current problems/ more stability, I think dt2w will be added but later;)

I flash again R18 with vipe cache/dalvik, useing intelliplug and test it will down max frequency again,

I'm on AOSP 5.1 all the time
[Moto G Android Development] Flashhhh:
I can't see any problems besides msm hotplug which will be fixed in next release. U found any other bugs?
[Moto G Android Development] eddydc1:
R18 + AOSP by alberto is awesome, this phone has never been so smooth
[Moto G Android Development] plantator:
Ok same review about r18

Playing angry birds transformers, game start lagging, I go to synapse and there I see that max frequency was changed to 600....

Intelliplug hotplug, AOSP 5.1

Cheers
[Moto G Android Development] Flashhhh:
Ok I'll try fixing that in R19

Btw i also play games (clash of clans) I haven't faced that.

Try it with stock kernel if it's happening or i recommend u to do a clean flash of rom+kernel. I assume u are not using any battery saving applications
[Moto G Android Development] plantator:
yeah with clash of clans don't have simmilar situation, on this two games already, with R17 everything was allright with any game, it looks like when you have ~10minutes hight cpu load its going down but why? noone knows

No battery saving aplications, just greenify and no more
[Moto G Android Development] Flashhhh:
Have u greenified angry birds?

Bcoz greenify will automatically do cpu scaling after some time
[Moto G Android Development] plantator:
when playing too?? wit autohibernation off? never know about this, i have them greenifed, when i'm playing they are in state w8 for hibernation and when i turn off game use greenify by hand no automatically, actually testing on r17 and see if it do same thing
[Moto G Android Development] kijp15:
Playing games with Optimus Kernel R18 I have no lags at all and yet I play games from EA Sports! :)

R18 is a beast!

Great work flashhhh! :)
[Moto G Android Development] hhp_211:
Just my .02 on dt2w,,, I used it on dirty unicorns 4.4.4,, they had it included in their stk kernel build

these are just some items that came up when I searched their git

https://github.com/DirtyUnicorns/android_kernel_motorola_msm8226/search?utf8=✓&q=dt2w

I only mention it because I used that ROM from Sept until just the last month when the cdma working 5.0.x / 5.1 ROM versions have had 3G data working. [[ phones Xt1031 and xt1028 cdma only versions ]]

it worked flawlessly and I never noticed any noticeable drain on the battery I often got over 5 hrs SOT, using similar settings as what I use with your kernel.

Maybe there are different implementations of dt2w??? If so,, this style was stable.

Still it's completely your decision and I for one will understand if you choose not to do it.

below are the "pics or it didnt happen" proof! :p

http://i.imgur.com/9kQms4W.png

http://i.imgur.com/xDII5md.png

http://i.imgur.com/L3SpqSs.png

http://i.imgur.com/rkjuAWT.png

.
[Moto G Android Development] Flashhhh:
No one is having problem except you. I think it's rom related or some app that u r using
[Moto G Android Development] Flashhhh:
Are u sure u didn't have lockscreen freeze?

People who have dt2w turned off usually have screen freeze
[Moto G Android Development] hhp_211:
I dont recall using with the d2tw feature turned off. I personally use/like the feature.

I never experienced freezes when using dt2w.
[Moto G Android Development] twist3d0n3:
I'm using it on decepticon kernel and haven't experienced any lags either.
[Moto G Android Development] antarix:
How did you get synapse to work.

It always throws an error of uci support not detected for me.
[Moto G Android Development] PeterImmel:
see first Post:
[Moto G Android Development] hhp_211:
in the OP

Synapse or Kernel Adiutor

Flash UKM.zip from the below link: (credits to [MENTION=5658634]apb_axel[/MENTION])

http://xdaforums.com/android/software/zip-synapse-script-universal-kernel-t2736986

And then install synapse from play store

---

ninja'd again!! :good::highfive:

.
[Moto G Android Development] Flashhhh:
Can u share the link of decepticon kernel source?
[Moto G Android Development] -TheKoolAnie-:
DT2W

Can u add dt2w. In ur next build
[Moto G Android Development] itslels:
Something tells me he's gonna say no.
[Moto G Android Development] twist3d0n3:
http://www.htcmania.com/showthread.php?t=880869
[Moto G Android Development] abhi0502:
Yeah me too no freeze ya lag with d2w in decepticon kernel
[Moto G Android Development] Flashhhh:
I have a new release ready with fully working dt2w.

I will release it if things go as expected!
[Moto G Android Development] srisurya95:
Dt2w ;-;
[Moto G Android Development] Flashhhh:
Kernel Update

Guys updated the kernel

It will work on 5.1 roms(not stock rom though). I have added back dt2w support. Use of synapse is strictly recommended

enjoy!!

Heres the changelog

- Added back DT2W,S2S &S2S support with pocketmode

- Updated MSM_HOTPLUG

- Added back Optimax Governor

- Some misc fixes
[Moto G Android Development] pra27:
What If we don't use synapse?
[Moto G Android Development] Flashhhh:
You have to use 2 or 3 apps for tweaking the kernel

And if u have set on boot option for all these apps enabled, They will just clash and it's not recommended
[Moto G Android Development] pra27:
I think most of the options (general options) can be tweaked by kernel adiutor.
[Moto G Android Development] plantator:
Oh flashhhhhh you! ;) I just reflashed rom and R18 kernel and you update to R19 :P thanks for your work will test it hard
[Moto G Android Development] Flashhhh:
Yes if u don't want to do advance tweaks, kernel adiutor will be enough

Use of intelliplug is recommended

MSM Hotplug is still a WIP
[Moto G Android Development] itslels:
dt2w doesn't seem to work once pocket guard is activated. I tried this by covering up the sensor and tapping the screen. It doesn't turn the screen on as expected, but once i uncover the sensor, double tapping wont wake it up.

s2w has the same behavior.
[Moto G Android Development] plantator:
I have technical question : it is option to make a real cpu freq more than 1.2 GHz? Or it is hard blocked by qualcomm?
[Moto G Android Development] taadow1030:
+1... I've been curious as to why Moto G kernels have no true over clock to 1.6 ghz
[Moto G Android Development] plantator:
I have tested adre pruma kernel for stock rom, there is 1,6 OC but only fiction, cpu stats show that proc use of 1,3 1,4 1,6 GHz but when testing in antutu score not rised so it was fake, and no performance rise, will se what [MENTION=5857055]Flashhhh[/MENTION] say ;)
[Moto G Android Development] eddydc1:
Blocked by qualcomm, no way to oc
[Moto G Android Development] kucingbaik2:
i use pc man rom, and i was flash optimus kernel ver 19

so my quetions

how to use this kernel or just flash it...

i didnt see option like the first page ..

so what should i do..

thx
[Moto G Android Development] NeoPreacher:
best way is to install a kernel with a clean rom install. you can try with an install afterwards wiping cache and dalvik/art. second method is a bit trial and error so make a backup, but in most cases it works too
[Moto G Android Development] pattyboi:):
the chip itself (MSM8226 in general) is capable of 1.6,as clearly shown by other devices running the chip at such frequencies STOCK,no mods,nothing. But,as we all know,not all chips are equal ;)
[Moto G Android Development] Flashhhh:
Overclock is not possible. It's hard locked at 1.2 GHz
[Moto G Android Development] Flashhhh:
If u cover the sensor and then tap the screen it's not gonna wake up

It's pocket guard. It's used for preventing accidental wake ups in pocket.
[Moto G Android Development] itslels:
I'm saying after I uncovered the sensors, it still wouldn't wake up.
[Moto G Android Development] Flashhhh:
That's strange. It's working for me

I need more reports on this. Try a reboot
[Moto G Android Development] drsiddique5700:
dt2w and s2w comes preactivated or do we need to enable them manually?i would prefer to keep them off
[Moto G Android Development] itslels:
I have tried rebooting. It is hit and miss in my pocket. Sometimes it works, sometimes it doesn't. Maybe the sensor isn't being covered enough in the pocket sometimes, dunno.
[Moto G Android Development] Flashhhh:
It's turned off by default

Working for me. Don't know what's wrong with you.
[Moto G Android Development] punith46kumar:
Flashhhhhhhh!! I am happy that u hav made a grt update i jst asked d2w and s2w features and thought it will not be avail.. But u for godsake ur insane .,,, massiv update everything wrks fine but msm hotplug is not stable and wake control d2w wake feather control value changes its self wen gng back to snapsy and some values like cpu sync thershold values also changes wen playing asphlt 8 ...testing will report more abt battry... Grt work though big thankz....
[Moto G Android Development] Flashhhh:
Msm hotplug is still a WIP. Use intelliplug for now.
[Moto G Android Development] vaibhavcoolm:
Can I use it over stock lollipop optimised 1.1 (lollipop boot loader)
[Moto G Android Development] plantator:
Sometimes after use dt2w screen do not response to touch fully or partially and need to lock and unlock it again

it is cm12/AOSP based roms no stock...
[Moto G Android Development] itslels:
It seems to be working now. I did a clean install after flashing a different rom. I previously installed it over R18.
[Moto G Android Development] Flashhhh:
Known issue

Clean flash is always recommended. Dirty flashing same rom+kernel also works. Btw thanks for reporting
[Moto G Android Development] aouerfelli:
Nope. Not for stock ROMs.
[Moto G Android Development] aouerfelli:
If any of you are having touchscreen issues, try this: http://xdaforums.com/moto-g/orig-development/fix-scrfix-fix-dt2w-sw2w-lock-screen-t3061589
[Moto G Android Development] ==vj==:
One word for R19.

Awesome...!
[Moto G Android Development] plantator:
Tried this and still sometimes lockscreen do not response properly, and sometimes dt2w goes off until next screen relock
[Moto G Android Development] aouerfelli:
I don't know then, never experienced this issue (ever). Did you try HurrSky kernel's implementation?
[Moto G Android Development] Flashhhh:
Well we both have same implementation. [MENTION=5127197]plantator[/MENTION] Try dirty flashing rom+kernel
[Moto G Android Development] plantator:
I have done this , cleanflash with all wipe of ROM (again) +kernel, set in synapse, use this scrfix, first few unlocks don't work well so I posted issue, but now it looks like it works, even after few time will post later how things do;) I feel like kernel tester:P

before clean flash i have much issues with performance and stop working, now looks fine and fast;)

Edit: I forget about this:
[Moto G Android Development] Flashhhh:
Thanks for that!
[Moto G Android Development] mallikarjun170:
Can i install on AICP 5.1 rc3?
[Moto G Android Development] sanchit0403:
i flashed r19 over 5.1 but i am facing a bug while calling call end button is working ever when the screen is off this bug cause trouble while calling i guess theis bug is due to DT2W patch please remove it
[Moto G Android Development] itslels:
Thought it was working at first, but sadly, still the same issue
[Moto G Android Development] plantator:
but you can turn off Dt2w or it is not help with your bug? Or use previous version of kernel

Hm with me DT2W starts now working good, sometimes after long screen off need to tap 3-4 times but screen turn on, no problems with locksreen response
[Moto G Android Development] Flashhhh:
Can u pls elaborate your issue?
[Moto G Android Development] plantator:
Ok [MENTION=5857055]Flashhhh[/MENTION] found issue with dt2w, especially with pocket mode: after hide moto in pocket, and remove from it dt2w stops working, pocket mode permanently turn off dt2w, even after covering sensor by finger and uncovering then try to knock knock not working dt2w sadly
[Moto G Android Development] Flashhhh:
I need a little more time.

Can't do anything now

Will try to solve it
[Moto G Android Development] Ricsanm:
Gotta love how this guy asks for a feature to be removed because he is inconvenienced.
[Moto G Android Development] sanchit0403:
I am just asking because this feature is causing trouble in lollipop roms to remove or not to remove is devs call i just kept a suggestion here. if you can't post helpful comments then please also don't post rubbish comments n spoil the thread