yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] twist3d0n3:
I'm still using 21/02 gapps, so definitely not an issue with those. Quite possibly something to do with the latest update of Blisspop for me i guess, but i'll do some investigation when i get some time later.
[Moto G Android Development] deeplyyoung:
R14 with AICP latest as Primary {MR} working perfectly .... Tnks for kexec support...
[Moto G Android Development] knizmi:
[MENTION=5857055]Flashhhh[/MENTION]

Are you sure powersuspend 1.6 is meant for Moto G? Looking at the source it seems to be shamu (Nexus 6) specific and that´s why people might be having issues with deep sleep on falcon.

Looking at the code, it removes two of the four sleep modes and the comment clearly says:

- autosleep hook removed, not working on shamu
- autosleep and hybrid modes removed
- panel mode is now default
- debug output switchable in defconfig

AFAIK hybrid mode is the best for Moto G and there is no reason to remove it.
[Moto G Android Development] Flashhhh:
I hope you got your answer

And i haven't got deep sleep issues even once

I don't know why people are facing that
[Moto G Android Development] knizmi:
What answer? I don´t see any. Hybrid and Autosleep are not part of your kernel, you removed them in 1.6 (see the source) - Fauxclock offers them probably based on the phone model, not kernel capability.

This can really cause sleep issues for some users - depending on what setting they use and if they even use Fauxclock.
[Moto G Android Development] Flashhhh:
Well i know what i have done

And an app shows things which are present in the kernel

It does not show on phone model basis!!
[Moto G Android Development] rokban:
Guys try pegasusq governor with fiops, something amazing with battery.... Am in cm12
[Moto G Android Development] knizmi:
Allright, allright. I am not saying you are one of those kangists who merge random patches without actually understanding what they do or without even looking at the code.

But would you care to explain how hybrid and autosleep can be part of your kernel when you removed them with this patch? Is there another Powersuspned patch that I had missed that put them back?
[Moto G Android Development] Flashhhh:
Lol i do look at the commits before adding them

That commit just removed some powersuspend patches from original autosleep and hybrid modes

The .c files do exist

And yes i am looking to update it to v1.7 . I am running short on time

Hope u understand
[Moto G Android Development] knizmi:
Once again

-#define POWER_SUSPEND_AUTOSLEEP	0	// Use kernel autosleep as hook
-#define POWER_SUSPEND_HYBRID	3	// Use display panel state and autosleep as hook

simply removes Autosleep and Hybrid. If you look at Faux´s sources he still uses 1.5 on nexus 5 and other devices besides shamu. Guess why... 1.6 is shamu specific and is counterproductive on other devices. Howgh.

Good luck with your kernel...
[Moto G Android Development] Edgarngg:
Sorry to ask this but are you working on a 5.1 kernel yet?
[Moto G Android Development] Flashhhh:
If u look at elementary and TGM kernel sources, Those Devs have v1.6 too. Well they are recognized devs and they do not add things randomly

Well if it isn't working out properly then I'll revert to v1.5

Have u faced deep sleep issues?
[Moto G Android Development] knizmi:
I wouldn´t talk about TGM devs. One of them once told me that CONFIG_WHATEVER=m in defconfig will make the kernel ask you if you want that feature every time you compile it.

(Explanation: CONFIG_WHATEVER=m will always compile that code as a module.)

Regarding deep sleep issues -- I have not used your kernel yet - I wanted to, as it uses some of faux´s patches that I like, but the powersuspend part made me not try it.

To sum up my reasons why updating Powersuspend to 1.6 is a bad idea:

Hybrid mode is superior to display mode only and 1.6 cannot use it. The difference will be small, but it will be there - in 1.5 the phone can be put to sleep by a display hook or by kernel, while in 1.6 the driver only looks for the display state.

This will not cause sleep issues for most users, but I can imagine somebody tweaking the settings in a way that the phone will never sleep as the phone now relies solely on display state.
[Moto G Android Development] Volkan66:
Maybe I have a solution for those guys who have deep sleep issues:

When I flashed this kernel for the first time and make a reboot my phone doesn't enter deep sleep mode.

BUT after doing a normal reboot again, without wiping cache and dalvik, i never have had deep sleep issues again. Maybe it is weird, but this helps.

[MENTION=5857055]Flashhhh[/MENTION]: Btw your kernel is great. Can you please update your wifi modules to the newest commits. Cant enable wifi with your kernel for: Euphoria OS 1.0 Build 20150323 Rom. Thanks. :good:
[Moto G Android Development] MetalPhoenix45:
How is it a kernel issue?? I think it's a issue with blisspop, you guys should install cyanogenmod.

Sent from my XT1032
[Moto G Android Development] -TheKoolAnie-:
Can u add dt2w In ur next build??
[Moto G Android Development] Flashhhh:
I have used all 4 modes of power suspend and i can confirm that deep sleep is working

So i request all members not to post anything related to deep sleep issues

If u r facing it, then try the workaround suggested in #619

Edit: Read the thread carefully before posting anything.
[Moto G Android Development] srisurya95:
Deep sleep works perfectly :D don't know what's the problem with these guys
[Moto G Android Development] .:Crack:.:
That's not the problem. You don't understand the issue.

I'm not a dev nor did Iearn anything about coding. But I'm capable of reading commits and understanding what they mean. So apparently our dev merged a commit that removes the "best" deep sleep config. The problem is not that "deep sleep works perfectly", it's that it potentially might NOT work for some people.

2. This will not cause sleep issues for most users,
but I can imagine somebody tweaking the settings
in a way that the phone will never sleep as the
phone now relies solely on display state.

So just thought logically, why would you change a running system? Everything also worked fine before merging the new commit. Everything most likely still works but it's a risk anyhow. Merging a later version of something doesn't necessary mean merging something better.

Just my two cents.
[Moto G Android Development] MetalPhoenix45:
Deep sleep works! Just maybe switch to cyanogen mod and it will get fixed maybe.

Sent from my XT1032
[Moto G Android Development] CrysiZ:
Your missing the point of what he's saying.To sum it up he's just saying he's opinion on a deepsleep function that was removed .

Being a development forum that is allowed..stop giving answer's that don't really have anything with the subject in matter.

Flashhh should take this matter as an advice to improve the kernel or if it's not good maybe he can clarify why it isn't.
[Moto G Android Development] Flashhhh:
I don't want people to spoil this thread

Tomorrow I'll release an update

Hopefully it will solve all issues

Be patient and enjoy!!
[Moto G Android Development] argo7:
Hopefully with fauxsound :p:p
[Moto G Android Development] CrysiZ:
You should make 2 versions of your kernel: Stable and Beta releases.

Doing that we'll have a version to go back to(this will apply to new users who decide to use your kernel).
[Moto G Android Development] srisurya95:
Dude that won't happen... To try previous versions u can download from the mirror link
[Moto G Android Development] HemanthPHaridas:
Powersuspend

Is Powersuspend turned on by default o.O ??
[Moto G Android Development] HemanthPHaridas:
So

In faux123 app what aettings should i select bro??

User

Space or autosleep o.O ??
[Moto G Android Development] Gonzanob:
f2fs system partition

Hi, does this kernel support the system partition to be f2fs? If not, will it someday support it?
[Moto G Android Development] Flashhhh:
Kernel Update

Updated the kernel to R15

Hopefully all problems will be solved

If u face any,pls report with logs

Enjoy!!

Here's the changelog

-Reverted back to Powersuspend v1.5

-Added Simple GPU Algorithm

-Added couple of schedulers

-Dynamic Fsync Control

-VFP Module Updates

-Headset High Performance Mode
[Moto G Android Development] Langsuir:
Downloading. :cool: Thx Flashhhh for the frequent updates mate, you rock (and your kernel too).
[Moto G Android Development] plantator:
mirror to basketbuild please? coz mediafire down
[Moto G Android Development] MetalPhoenix45:
Mirrors aren't update. [MENTION=5857055]Flashhhh[/MENTION]

Sent from my XT1032
[Moto G Android Development] plantator:
Testing;) hope to good battery life;)
[Moto G Android Development] Flashhhh:
Mediafire is having some issues it seems. Btw mirror link has been updated and it's working
[Moto G Android Development] shashankj150:
Going to flash it on latest PAC MAN build..ny suggestions ???
[Moto G Android Development] Langsuir:
AFAIK Pac-ROM is updated to LP bootloader now so you shouldn't have a problem. Try the recommended settings in the OP as a start, they work pretty well. And from that point start tweaking stuff and testing by yourself, untill you feel satisfied. :)
[Moto G Android Development] shashankj150:
Thank you ..yup installed :) will post tomorrow about battery life..so far its going great
[Moto G Android Development] srisurya95:
Userspace
[Moto G Android Development] sarthakspiker:
Is RAM and app management a kernel thing or should I blame ROM ?
[Moto G Android Development] Flashhhh:
It's related to rom.

I've been using cm12 nightly. It works really well
[Moto G Android Development] sarthakspiker:
Just wondered.. I'm on Resurrection Remix... Is CM better ?

In terms of battery and multitask..
[Moto G Android Development] Flashhhh:
All ROMS are good

It's your own personal choice
[Moto G Android Development] sarthakspiker:
Just asking abt multitask.. Like background apps load smoothly or they reload ?
[Moto G Android Development] srisurya95:
Dude all ROMs are good only

Appreciate their work
[Moto G Android Development] sarthakspiker:
I do.. Every dev deserves appreciation.. Thanx..
[Moto G Android Development] aouerfelli:
Try Alberto97's Android 5.1 ROM. Since you're coming from a custom ROM you'll probably be turned off by the lack of features, but I personally love the minimalism, and the performance, battery life and multitasking are great (>3 apps open w/o closing).
[Moto G Android Development] sarthakspiker:
I've a dual sim device.. And I know someone posted a method to use it as single sim but will I be again be able to use dual sim once I do the procedure.. ?
[Moto G Android Development] MetalPhoenix45:
The rom will work on dual sim.

Sent from my XT1032
[Moto G Android Development] aouerfelli:
I don't really know, but you should do some research. I'm sorry, I don't really have time right now.

I'm pretty sure it won't work on dual sim. Everybody with a dual sim phone have posted that it won't work.
[Moto G Android Development] sarthakspiker:
Ahh.. OK.. Thanx.. ☺. I really wished to use that but not sure how ...
[Moto G Android Development] Josuegrs:
Does Optimus R15 has DTW2? I can't find the option to activate it. I used Performance Control, Fauxclock, Trickster Mod and Kernel Tweaker.
[Moto G Android Development] plantator:
No. (check first post features list)
[Moto G Android Development] Josuegrs:
I did it but I read the changelog and I didn't see any changes related with DT2W.
[Moto G Android Development] Langsuir:
I am using cm12 too and can confirm this is true. Really really smooth. :D
[Moto G Android Development] sarthakspiker:
Is multitasking hood in CM ?
[Moto G Android Development] Langsuir:
With intelliactive governor and the right kernel settings it is almost as stock, IMO.
[Moto G Android Development] sarthakspiker:
Can you share the tweaks... I'm no dev.. Thanx..
[Moto G Android Development] srisurya95:
d2w is removed
[Moto G Android Development] reversegear:
Awesome kernel

With R15 now i can feel the true multitasking ability of moto g :)
[Moto G Android Development] Flashhhh:
Thanks for reporting!!

Always appreciated
[Moto G Android Development] Langsuir:
I'm no dev either... well, not yet. :p It's a matter of trial and error mostly. Here are my settings:

CPU Governor: Intelliactive

Min. CPU Frequency: 300 (I find this makes the scrolling experience better as compared to 96)

Multicore Power Saving: Enabled (or 1)

Hotplug: Intelliplug with touchboost enabled

GPU governor: msm-adreno-tz with Simple GPU Algorithm enabled

Max. GPU Frequency: 450

I/O Scheduler: fiops at 384 read ahead

Kernel Samepage Merging (KSM): OFF to fix camera freeze issue

TCP Congestion Algorithm: westwood

Dynamic Fsync: ON

Everything else: didn't touch it
​

These are my personal settings as of now, I am getting good results but they aren't by any means the best as I am no expert, so better take advice from someone who knows his stuff, lol.

Anyway, good luck. :good:
[Moto G Android Development] Shub77:
Thank you very much for sharing your configuration. May I ask you which tool are you using to set these parameters? I'm using Trickstermod, and I can't find all of the settings you mentioned. In particular:

"GPU governor: msm-adreno-tz with Simple GPU Algorithm enabled"

I can choose the msm-adreno-tz, but I could not find the "Simple GPU Algorithm" setting.

Thank you in advance!
[Moto G Android Development] Langsuir:
I am using Kernel Adiutor right now. :)

It sucks that there isn't a single kernel control app from which you can control everything. There is always a feature or two missing. :rolleyes: For example in Kernel Adiutor there is no control for Z-RAM or High Performance Sound, which can be found in TricksterMOD... I think I will give a look at a few other apps like FauxClock and report if I find one with nothing missing, but don't get your hopes to high, lol.
[Moto G Android Development] lmulli:
You can find that option in Fauxclock (paid), however, having looked at both Kernel Adiutor and Synapse (both free), they too would also appear to support that particular option.
[Moto G Android Development] Shub77:
I have the paid version of trickster and faux, and everytime I want to try a new kernel or a new kernel version I have to try all of them... and often one can do this but can't do that, and so on... now, let's go with Kernel Audiutor, I found the setting missing in Trickster... :) Tomorrow... who knows... :)

Thank you. I tried Faux paid version: I should have taken screenshots, 'cause nearly nothing worked... :( When I saw it, I cried. :crying:

With Faux usually I can set the ZRAM amount, but it seems to apply the settings when he wants, not when I do... :)
[Moto G Android Development] Flashhhh:
Use synapse app

It has all controls inbuilt

You won't need to have 2-3 apps for tweaking the kernel
[Moto G Android Development] Sik-1:
Installed synapse and said no UCI support, but faux and trickster works perfect for me

---------- Post added at 11:25 PM ---------- Previous post was at 11:24 PM ----------

When setting zram u have to turn it off in both apps,but it will show that it's still enable, when this occurs u have to reboot for the settings to take effect

Upon reboot u can go into faux and fix to ur desired zram
[Moto G Android Development] Flashhhh:
You will need to flash UKM.zip first

U will find it on xda

Just google it
[Moto G Android Development] deeplyyoung:
R15
[Moto G Android Development] Langsuir:
It's true. All the settings are there, and more. :D
[Moto G Android Development] jorge_carlos:
Great kernel, want to know if you will come back with the support FauxSond and 2dtw and st2 ??? tb would ask to add the USB fast charging? anyway congratulations for the work
[Moto G Android Development] aouerfelli:
He's trying to find a stable solution first.
[Moto G Android Development] Shub77:
I know this procedure, and sometimes it worked, sometimes not, depending on the kernel (using faux) and on the weather... :)

For example, sometimes, after boot, ZRAM was still on. With stock Cyanogenmod I could not disable ZRAM, even rebooting the right way the right time, etc. With Donkey Kang I could. at first shot.

With Optimus Kernel, which I do like, I did not tried yet, to be honest. :rolleyes:

I still have to understand if ZRAM is useful, I read many articles but each one reports different things.
[Moto G Android Development] aouerfelli:
Did you try this for dt2w/s2w? http://xdaforums.com/moto-g/orig-development/fix-scrfix-fix-dt2w-sw2w-lock-screen-t3061589
[Moto G Android Development] Flashhhh:
Dt2w isn't coming for now

I'll add it later

I have exams now so can't do anything

Hope u all understand!
[Moto G Android Development] aouerfelli:
I understand, sorry. I just wanted to help you out.
[Moto G Android Development] Xup8:
This kernel works with 5.1 without any problem? thanks in advance!
[Moto G Android Development] Flashhhh:
Updated the kernel to R16

Changelog

-Added Bricked hotplug (msm-mpdecision)

-Added Faux sound control

-Few Misc fixes

Bricked hotplug has been adapted for falcon. Few more improvements will come in upcoming releases!!

I recommend all to use synapse to tweak the kernel

Read the op for more instructions
[Moto G Android Development] Flashhhh:
Yes it works on 5.1
[Moto G Android Development] SH1M4BD3:
Awesome fauxsound finally here thanks
[Moto G Android Development] Langsuir:
Nice. :) Can't wait to test how faux sound plays along with ViPER4Android.
[Moto G Android Development] deeplyyoung:
Running on my both Primary & Secondary Roms perfectly ...
[Moto G Android Development] halleybr:
Thanks for very nice kernel, very stable!
[Moto G Android Development] rokban:
For using msm-mpdecision other two options has to be unchecked? (Of course qualcom mp decision is anyway unchecked ) ?
[Moto G Android Development] Flashhhh:
Yes u should use only one of those

BTW Updated the OP. Have a look!
[Moto G Android Development] rokban:
Yup saw just now, using bricked hot plug,BTW device is not going in deep sleep mode somehow? Well, did some tweaks though, still, anyway will report tomorrow again with full settings.
[Moto G Android Development] srisurya95:
New info and the thread looks awesome now

Mirror will be updates later today sorry for the delay
[Moto G Android Development] Flashhhh:
Use recommended settings and report

Bcoz i haven't faced deep sleep issues

And yes also confirm that it's not a google play services issue
[Moto G Android Development] MetalPhoenix45:
Although synapse is good, it made my device extremely laggy to the point of unusable. Kept freezing so I had to force reboot.

Sent from my XT1032

---------- Post added at 07:45 PM ---------- Previous post was at 07:41 PM ----------

Mirror is also not updated.

Sent from my XT1032
[Moto G Android Development] Langsuir:
Tends to happen when you set some setting wrongly. Synapse is working nicely for me. :p
[Moto G Android Development] Flashhhh:
Which rom r u using?

And read the above post by srisurya
[Moto G Android Development] aouerfelli:
In order to use bricked_hotplug, I select user control on Faux, correct? And is bricked more battery-oriented or performance-oriented than intelliplug?
[Moto G Android Development] Langsuir:
Performance. From what I read it is a very tunable version of mp-decision.
[Moto G Android Development] MetalPhoenix45:
Using stock cyanogen mod. And I didn't change much stuff.

Sent from my XT1032
[Moto G Android Development] MetalPhoenix45:
[MENTION=5272996]srisurya95[/MENTION]

Mirror???????

Sent from my XT1032

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

Anyone that had problems with mediafire on phone with bad zip error, I can confirm that it works now.

Sent from my XT1032
[Moto G Android Development] rokban:
Well, deep sleep is working perfect, and device is super smooth, thanks for this wonderful kernel, Kudos :)
[Moto G Android Development] ==vj==:
Hi.. [MENTION=2495416]flasHHH[/MENTION] I have just flashed R16. By default intelliplug is set. To turn on bricked hotplug do we turn on mpdecision..? I noticed at op you have mentioned bricked hotplug with mpdecision in braces. Is it different from original mpdecision...?
[Moto G Android Development] Flashhhh:
Yes it is totally different from mpdecision

Bricked hotplug is a.k.a msm-mpdecision

Use synapse. U will get it under hotplug options. Use only 1 hotplug at a time. And u qouted the wrong guy. My name is Flashhhh
[Moto G Android Development] ==vj==:
Tried SYNAPSE, but it says no UCI supported. Screenshots attached. Any suggestion to bypass through this..?
[Moto G Android Development] Flashhhh:
Read the op

I have instructions there. Flash UKM.zip from the link provided and then install synapse

Cheers!!
[Moto G Android Development] ==vj==:
Wow..! This app Synapse is tremendous :highfive: Thank you for R16 and wonderful suggestion :laugh:
[Moto G Android Development] vsr625:
Hello [MENTION=5857055]Flashhhh[/MENTION] can u give some info about zram.....

What it is.,.

What r the pros and cons...

And what size should it be.....
[Moto G Android Development] Flashhhh:
In ZRAM unnecessary storage resources are compressed and then moved to a reserved area in the fixed RAM (ZRAM). So a kind of swap in memory.

The only thing that ZRAM brings is more RAM

Pros: More RAM

Cons: Affects battery

It slightly affects performance
[Moto G Android Development] vsr625:
What should be the ideal size for it
[Moto G Android Development] Flashhhh:
384 is the default value and i recommend u to keep it as it is
[Moto G Android Development] srisurya95:
Mirror updated
[Moto G Android Development] devanshkumar:
Weird problem

I am on RR 5.3.9 latest build with R16. Phone is heating up more than usual and is hanging a lot. It was fine before on previous versions. I have set Min and max freq as 300mhz and 1.2ghz respectively. But when I check synapse it says 194 mhz(min) and 300 mhz (max) and when i change the values it doesn't let me change it. It lags like hell and heats up a lot during this period. But after sometime it automatically goes back to 300 and 1.2ghz and heat reduces a bit.. It's happening again and again. Any solutions? :/

EDIT - Also, when I use the wall charger - It starts lagging. After removing the charger, same thing happens as mentioned above. It gets better automatically after sometime. USB charging is fine though.

EDIT 2 - It seems it was because of the wall charger only. But still its weird. Any explanation would be appreciated.
[Moto G Android Development] Flashhhh:
Try a clean flash and report

Or else try some other rom
[Moto G Android Development] MetalPhoenix45:
[MENTION=5857055]Flashhhh[/MENTION] I'm trying to build my own kernel and I need some help, how do you add intelliplug to a kernel?

Sent from my XT1032
[Moto G Android Development] eddydc1:
Check this maybe, 2nd post

http://xdaforums.com/showthread.php?t=2880399
[Moto G Android Development] Flashhhh:
Pm me
[Moto G Android Development] likurik:
Th GPS work on R16?
[Moto G Android Development] twist3d0n3:
Just posted in the Blisspop thread, but figured i'd put it here as well. Just upgraded to lollipop bootloader, stuck r16 and blisspop 28th build on, and wow! smooth, very few redraws and very snappy. great update :)
[Moto G Android Development] plantator:
yes quite good
[Moto G Android Development] aouerfelli:
Here are the settings that I use (for anyone who cares for this type of stuff). My settings are more oriented towards performance, but battery life is stellar as well. I'm using bricked_hotplug, so that's why the 2nd screen is redundant. For FauxSound, I use the default settings, but ramp up the TPA6165 extension.
[Moto G Android Development] ncmz:
Kernel is great. But I I'm one of those experiencing not going into deep sleep... Any suggestion? Already hibernate Google app. What's the name of process so I can block it from Wakelock Blocker cm feature?

Cheers.
[Moto G Android Development] aouerfelli:
Google Play Services, not Google App.
[Moto G Android Development] ncmz:
Well...if that is the case, Google Play services is not waking up my phone at all. Normal battery consumption from those services according to android battery stats. But Google App is.

Cheers.