yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] MetalPhoenix45:
The NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 MDP composition will fail sometimes on L . This change

increasess VBP from 1 to 7 to give MDP more time to prefill to address so it make more faster responsiveness but make some flickering like new baseband ￼ I working to fix flickering without remove VBP ￼

Not supported anymore ￼ is only a placebo effect

This is what was causing it. Can you fix it for your kernel? Thanks.
[Moto G Android Development] Flashhhh:
Cm will be updating their sources

I'll be waiting for them to merge this
[Moto G Android Development] MetalPhoenix45:
I'm pretty sure that would be a while, which is why I'm asking you to fix it for your kernel. Sorry if I sound rude.
[Moto G Android Development] Flashhhh:
If i take this in and then cm updates their source then i will have to revert these changes and will have to update my sources with cm again
[Moto G Android Development] MetalPhoenix45:
I don't think it would take that long to revert the changes. Please, I really like using your kernel.
[Moto G Android Development] sathvik07:
Can some one tell me which is the best i/o scheduler and cpu governor....??
[Moto G Android Development] OldYellowBricks:
Lol
[Moto G Android Development] twist3d0n3:
Dat guilt trip
[Moto G Android Development] indrasatrya:
Awesome kernel. Thanks..
[Moto G Android Development] itouchables:
Works amazing on today's version of Bliss pop (08/02)
[Moto G Android Development] gigermunit:
Just flashed over [ROM][Falcon/UNIFIED]XPerience-9.0.2_r1 NIGHTLY [01/02/14] and my wifi doesn't seem to work, am I missing something I should have removed from the zip during flash?
[Moto G Android Development] josfer:
It's because XPerience ROM used WLAN and IRIS modules and this kernel integrate WLAN and IRIS in the kernel directly
[Moto G Android Development] Flashhhh:
This kernel has inbuilt modules.

It won't work on xperience rom bcoz it has separate modules
[Moto G Android Development] Flashhhh:
And guys tell me any features u want in the kernel besides dt2w/s2w!

I'll try to add
[Moto G Android Development] prgprg:
Io schedulers (fiops...), fauxsound... I would take a look to xperience kernel changelog and add what u think will improve LL performance, or battery life... Whatever u want it's your work, your hobby [emoji6]
[Moto G Android Development] Flashhhh:
I just wanted to know what users want!

I know it's my hobby but adding useless stuffs will just make the kernel unstable.
[Moto G Android Development] twist3d0n3:
Fauxsound and dt2w are the 2 most important features for me
[Moto G Android Development] prgprg:
Underclock and undervolt
[Moto G Android Development] star-lord:
Great job !

Will this kernel support Stock Lollipop ?
[Moto G Android Development] Flashhhh:
No it's for cm based roms
[Moto G Android Development] Flashhhh:
Dt2w is not stable for our device. It causes lockscreen freeze!

Well fauxsound and underclock might come in next release!
[Moto G Android Development] twist3d0n3:
Works well enough for me... Only issue I get with it is it sometimes doesn't work at all on xperience, but unlocking normally and relocking fixes that.
[Moto G Android Development] prgprg:
SELinux to permisive
[Moto G Android Development] Flashhhh:
Updated the kernel. Changelog posted in second post

Mirror will be updated shortly.

ENJOY!!!
[Moto G Android Development] owaisnaim:
Using ur Kernel from yesterday And it's working great..

Thank you for ur hardwork..

By the way here is the mirror,

Mod Edit: Links removed

Please respect the OP's request and don't create mirrors.
[Moto G Android Development] srisurya95:
Remove ur link from here...he is talking about the basketbuild mirror which I'm uploading

---------- Post added at 10:01 PM ---------- Previous post was at 09:56 PM ----------

Can be downloaded from the mirror link now ;)

Basket build in the op
[Moto G Android Development] Flashhhh:
Pls don't mirror my work!!

Pls take the link down

Enjoy!
[Moto G Android Development] rokban:
Working great on blisspop, just wondering which governor to choose:p, currently on badass..
[Moto G Android Development] owaisnaim:
[MENTION=5857055]Flashhhh[/MENTION]

Kernel is going good and I prefer this kernel over others If u take request then pls Add SmartassV2 governor coz

The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after. It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq. This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq when screen is on. There's no upper limit for frequency while screen is off . So the entire frequency range is available for the governor to use during screen-on and screen-off state. The motto of this governor is a balance between performance and battery.

Just some knowledge.. :p
[Moto G Android Development] twist3d0n3:
the guy begging you to add a feature, paraphrased "if you don't add it i won't use your kernel"

;)
[Moto G Android Development] Flashhhh:
Ok I'll add
[Moto G Android Development] Flashhhh:
Well it's not a major issue

I don't want to mess up the sources again
[Moto G Android Development] drsiddique5700:
r10 doing great on broken os
[Moto G Android Development] MetalPhoenix45:
Hey come on dude, I would still use the kernel. Its fine if you don't
[Moto G Android Development] Flashhhh:
Well he's just joking

And don't worry cm is working on merging the motorola sources
[Moto G Android Development] twist3d0n3:
Flashhhh gets it ;)
[Moto G Android Development] Dr. Brawler:
Or is broken os doin gr8 on r10? This is my setup as well. Cheers
[Moto G Android Development] drsiddique5700:
yeah its a good combination for both performance and battery backup.
[Moto G Android Development] MetalPhoenix45:
Is it possible to overclock the GPU even more?
[Moto G Android Development] Flashhhh:
No it will be unstable
[Moto G Android Development] sathvik07:
[MENTION=5857055]Flashhhh[/MENTION] On latest billspop build (20150309) with optimus kernel I am getting a lot of system ui fc....It happens at least once in every 30 mins....happens a lot while using YouTube or browser ,...can u plz check it....
[Moto G Android Development] Flashhhh:
It's rom related and not a kernel issue
[Moto G Android Development] sathvik07:
But on billspop's stock kernel it is fine but with optimus kernel it is giving lot of system ui fc Particularly while watching videos....previous Billspop build used to work fine with this kernel ...hope this kernel will work in next Billspop build ..until then i am going back to previous build just to use this kernel ....:o
[Moto G Android Development] ro11er:
Hi latest version bootloops with AOD rom. Previous versions work fine. Great work by the way.
[Moto G Android Development] Flashhhh:
Did u try a clean flash?
[Moto G Android Development] ro11er:
No did not have time. Will try it when i can and let you know
[Moto G Android Development] .:Crack:.:
Hey. My phone's proximity sensor is broken, so the kernel thinks my phone's always in my pocket. DT2W works very rarely (when my sensor works). Maybe you could find a workaround for me? The broken sensor is no software issue. So I guess pocketmode is natively enabled. Can you make it user-toggable ?
[Moto G Android Development] Flashhhh:
Well i can't do much in that

It's a hardware issue
[Moto G Android Development] .:Crack:.:
Yes, I know it's a hardware thing. But if you can somehow let me disable pocket mode I will be able to use DT2W. My proximity sensor thinks my phones is always in my pocket. If DT2W doesn't care about my proximity sensor data (-> pocket mode OFF), everything would be fine.

Thanks
[Moto G Android Development] MetalPhoenix45:
Try to clean the glass in front of the proximity sensor.
[Moto G Android Development] .:Crack:.:
I don't think I have to comment that... I know what I'm doing. Thanks anyhow.
[Moto G Android Development] Flashhhh:
Kernel Update

Updated the kernel

Changelog in 2nd post

Someone pls try it with Multirom

Cheers!!!
[Moto G Android Development] deeplyyoung:
Gr8, sooner revert with reviews :good:
[Moto G Android Development] srisurya95:
Mirror updated :D

R11 working perfectly on teamUB rom

Thank for the inteliplug v4...I ws waiting for someone to add it(saw it in nexus5 of faux kernel sources)

You are too fast in updating the latest stuff

Keep going :D

~regards

~srisurya95
[Moto G Android Development] deeplyyoung:
Flashed R11 with BlissPop using as primary ROM{MR}... Black screen still exist... But through MR settings I'm able to boot on secondary ROMs... Tnks for rapid update....
[Moto G Android Development] Flashhhh:
So how were u able to get through that black screen?

And thanx a lot man for testing it out!!
[Moto G Android Development] ig0r260892:
could you consider providing 2 versions of this kernel, one with PERMISSIVE selinux and other with ENFORCING? how hard would that be for you? sorry i'm a total noob in kernel level programming :(

or is there a way to change the policy back to enforcing, preferable on boot? i can't even change it in terminal :(
[Moto G Android Development] Flashhhh:
Use selinux mode changer from google play store to do that
[Moto G Android Development] deeplyyoung:
Tnks to you bro for giving such rapid updates ... And in MR we have option to manually select which ROM to boot under settings... Using same to switch...
[Moto G Android Development] reversegear:
In terminal type this

su
setenforce 1

If u still have issues flash latest SuperSU it will work
[Moto G Android Development] Flashhhh:
So is it working properly with MR?
[Moto G Android Development] Siekil:
Can you share this application apk? Because my multirom manager didn't like you...
[Moto G Android Development] deeplyyoung:
Except that Black screen it working... as we don't have Rom selection Screen option..have to switch Roms using MR settings...No issues, as switching Rom's are not like doing in every minute..so as of now manageable.... :o:D

---------- Post added at 08:41 PM ---------- Previous post was at 08:40 PM ----------

It's same MultiROM v31
[Moto G Android Development] Flashhhh:
[MENTION=5149175]deeplyyoung[/MENTION] can u take logcat via adb when black screen appears?
[Moto G Android Development] deeplyyoung:
I'll try as have formatted my PC & haven't yet installed all necessary things to get Logcat...
[Moto G Android Development] ig0r260892:
none of this works guys :D and tried combining it with soft reboots and regular reboots, or without rebooting... nothing can change the selinux policy... it always remains permissive
[Moto G Android Development] MetalPhoenix45:
Im really loving this kernel and multirom works perfectly. To fix black screen all you have to do is. Go to recovery mode, settings, multirom, settings, untick Force generic screen code. If it helps just press the thanks button.
[Moto G Android Development] prgprg:
Kernel Adiutor has an option forma this almost in latest beta. I haven't tried but the option is there
[Moto G Android Development] Flashhhh:
But why do u want enforcing?

Thanks mate

I'll add it in the 1st post
[Moto G Android Development] MetalPhoenix45:
No problem.
[Moto G Android Development] Flashhhh:
[MENTION=5149175]deeplyyoung[/MENTION] can u confirm the above workaround to fix black screen issue??
[Moto G Android Development] deeplyyoung:
Force generic screen code is by default uncheck... Not working for me...[emoji20]
[Moto G Android Development] ig0r260892:
i dont use xposed.. it sucks on moto g :( makes everything laggy. maybe on a better hardware it is okay but not on ours.

that is the main reason people want permissive se.

and besides that, just locking the door in your house is enough to sleep well, but having an allarm system set up, (even if nobody will ever try to break into your house) make you feel sefer and sleep even better :D that's why i want selinux enforcing..
[Moto G Android Development] owaisnaim:
Where is SmartassV2 governor??? :confused:
[Moto G Android Development] Flashhhh:
But nobody is gonna break into your house

If u don't use xposed that's not a reason why u want enforcing

Leaving it to permissive is not a big problem
[Moto G Android Development] Flashhhh:
It is in my mind

Don't worry i will add it
[Moto G Android Development] Flashhhh:
Then check it and try :p
[Moto G Android Development] ig0r260892:
having it in permissive is pretty much the same as not having selinux at all.....
[Moto G Android Development] MetalPhoenix45:
Which multirom are you using? Try v31 and twrp 2.8.5 version. It worked for me.
[Moto G Android Development] Flashhhh:
If u really want it to be enforcing

U can use the kernel that comes with the rom
[Moto G Android Development] MetalPhoenix45:
Oh and also install using the zip and uncheck inject multirom and do it manually.
[Moto G Android Development] ig0r260892:
seems like i will have to.

not being able to switch policies is bad, i dont know how you implemented the permissive policy(seems hardcoded), but when something isn't working in my code the very first thing to do is to fix it.. it's like the programmers most important instinct :D

you prefere to ignore it... ok, it's sad, but it's your choice.
[Moto G Android Development] Flashhhh:
Well this is the only way to get it to permissive

I tried some other ways but they didn't work

I recommend u to use the inbuilt kernel
[Moto G Android Development] deeplyyoung:
tried that too struck at bootlogo

---------- Post added at 11:43 PM ---------- Previous post was at 11:42 PM ----------

same me too using
[Moto G Android Development] MetalPhoenix45:
[MENTION=5149175]deeplyyoung[/MENTION]

http://download.pac-man-rom.de/twrp/multirom_falcon/

Try and use this version of this multirom, also install this version of twrp. Then please try my fix, it should be enabled by default then uncheck. Make sure to disable inject multiboot patch.

---------- Post added at 06:15 PM ---------- Previous post was at 06:14 PM ----------

Stuck at bootlogo?? Its supposed to be a black screen. You probably messed up your boot partition. Erase boot using fastboot then flash this kernel and then use my fix.
[Moto G Android Development] deeplyyoung:
Bro is there any other MR in working conditions for our Falcon??:confused:

i'm using the same.. but still I'll try your trick..:good:
[Moto G Android Development] MetalPhoenix45:
It works for me. I used cyanogenmod as primary and secondary ROM to test and they both boot up perfectly.
[Moto G Android Development] abhi0502:
I have a problem here I have installed primary ROM and then after reboot multirom manger comes but touch remains unresponsive and directly boot(I cannot cancel 'boot primary rom ')

Also during recovery when I lock the phone and unlock touch becomes unresponsive

Can anybody help?
[Moto G Android Development] MetalPhoenix45:
Go to recovery and disable autoboot. Settings>MultiROM>Configure Autoboot.
[Moto G Android Development] abhi0502:
Thanks BTW im not getting blankscreen after i disable autoboot

I can select rom from multirom manager now.

And touchscreen still remains unresponsive in mutirom manager.I need to use volume down button to move and power button to select rom
[Moto G Android Development] Flashhhh:
So it works for you?

Apart from touch issues
[Moto G Android Development] abhi0502:
Yes no problem
[Moto G Android Development] MetalPhoenix45:
I sent you the fix. You could add it to you kernel post now.
[Moto G Android Development] hiu115:
Camera froze when taking a picture with the rear camera, though it wasn't because of the camera app not responding, it didn't display the dialog at all.

I experienced this issue the last time I was using the Xperience kernel on 4.4.4, got a fix? I don't know the first time the camera froze, as I rarely use my rear camera. It works fine when using the front facing cam though.
[Moto G Android Development] hiu115:
Would the google camera work normally again or do I have to use the stock camera app?
[Moto G Android Development] abhi0502:
It has Motorola camera and gallery not Google

And it will not replace the Google camera after flashing
[Moto G Android Development] antarix:
[MENTION=5857055]Flashhhh[/MENTION] may you add pegasusq governer to the kernel?

i find it best for battery and performance.
[Moto G Android Development] PratsPro:
Confused

how to disable dt2w and s2w. using faux app. also on resurrection 5.3.7 when screen goes off phone reboots.:confused:
[Moto G Android Development] Flashhhh:
Use trickster mod for that

Btw It's already disabled if u haven't enabled it yet

Use RR 5.3.8

It's quite stable
[Moto G Android Development] thoughtblocked:
Flashhhh, what do you think of Android Tweaks such as L Speed?

I know that one in particular does a lot of heavy modification to everything, and wonder if it would impede on what you've currently optimized.
[Moto G Android Development] SH1M4BD3:
Works good so far awesome work, keep it up!!!
[Moto G Android Development] Flashhhh:
Well u can try that mod i think
[Moto G Android Development] MetalPhoenix45:
[MENTION=5857055]Flashhhh[/MENTION]

Can you add voltage control? Its in aero kernel but that's for stock ROM.
[Moto G Android Development] ro11er:
Flashhhh hi,

I am experiencing high idle drain of about 2% per hour. On latest aod rom. Can anyone else confirm if they do also?
[Moto G Android Development] Flashhhh:
I am on cm nightly dated 8th

Not facing the idle drain

Use recommended settings

And yes i use interactive+cfq
[Moto G Android Development] twist3d0n3:
There's an issue with gapps and deepsleep atm, that might be the problem
[Moto G Android Development] Flashhhh:
Can u pls elaborate?
[Moto G Android Development] aouerfelli:
There's a wakelock problem with GAAPs at the moment, I think it's because of the Play Services. Check the PA GAAPs thread, there are complaints everywhere.
[Moto G Android Development] mattheoh:
GAAPS last version only ?
[Moto G Android Development] twist3d0n3:
Even banks gapps are giving the wakelock, denying deepsleep entirely. Rather annoying but what can you do, eh
[Moto G Android Development] aouerfelli:
Last couple I believe. And it's not only PA GAPPs, it's all GAPPs.
[Moto G Android Development] Flashhhh:
I can't do anything in that

Use greenify or wakelock blocker
[Moto G Android Development] ==vj==:
Try Deep sleep battery saver app if deep sleep isn't taking place. Yes deep sleep isn't taking place on R11 version. But it did earlier.
[Moto G Android Development] SH1M4BD3:
Does this kernwl changed selinux status, found it changed enforcing to permissive, is that okay??
[Moto G Android Development] methuselah:
As per security reason it is not recommend. But to make xposed working you need to change kernel to permissive.
[Moto G Android Development] twist3d0n3:
i just re-flashed the 21/02/2015 pa gapps and have deepsleep again :)
[Moto G Android Development] SH1M4BD3:
Thats clear sir, thanks
[Moto G Android Development] Flashhhh:
Use old gapps for now to avoid deep sleep issues

It's not a kernel issue!
[Moto G Android Development] Langsuir:
How do you guys check if deep sleep is working as it should? Thanks in advance.
[Moto G Android Development] twist3d0n3:
TricksterMod, better battery stats, etc will show you
[Moto G Android Development] Langsuir:
Thank you. I found in TricksterMod the following:

So I guess it is not working. I'm not sure what GAPPS I am using to be honest, so first thing I'll just flash the good ones to be sure.
[Moto G Android Development] twist3d0n3:
21/02 works perfectly for me, the ones after didn't allow deepsleep.
[Moto G Android Development] sfoot13:
Hi [MENTION=5857055]Flashhhh[/MENTION]! Thank you so much for this great kernel, you're doing a good job.

Flashhh, could be possible a kitkat version? I'm still using cm11 (by quarx) and would be great use your kernel on kk. if not, don't worry, I'll keep using your kernel on lp.

Thanks for your hard work :)
[Moto G Android Development] Langsuir:
Yes, I read your post above so those are the ones I flashed. I'm guessing (correct me if I'm wrong) I have to leave my phone rest for a while before it enters Deep Sleep, so that's what I'll do. Any idea of how much time it takes?

Will report later.
[Moto G Android Development] hiu115:
Flashing the moto camera didn't work.

The last time the rear camera worked was when I was using Kernel R9, when I flashed R10 and R11 the camera won't save the picture to gallery, it just freezes after I snapped the picture, even though I can still navigate the google camera app.

I figured this is a kernel-side problem, since I had the same problem when using xperience. Perhaps it has something to do with the optimizations you made in R10?
[Moto G Android Development] ==vj==:
I did the same. Deep sleep is fine now. Thanks.
[Moto G Android Development] Langsuir:
In my case, I still wouldn't get Deep Sleep after flashing the old GAPPS. Then I realized I had location on, turned it off and it seems like it's working now. :silly:

So I presume it's normal that it doesn't work with location setting on? Someone enlighten me. :)
[Moto G Android Development] Dr. Brawler:
My camera works fine on r11..
[Moto G Android Development] Flashhhh:
This kernel uses any kernel method

U need ROM's default kernel before flashing this

I think u flashed it over xperience kernel which i think broke the camera
[Moto G Android Development] hiu115:
Well, the camera worked fine before R10...

I'm going to flash another rom and see if it fixes the problem
[Moto G Android Development] Flashhhh:
Hello guys

Cm has done a total rebase of their kernel sources so u guys might have problems when u flash R11 or previous versions on today's nightly or later ones

Pls be patient and remember i have to do all stuff again

So pls cooperate and enjoy!

And yes screen flicker problem will be solved too
[Moto G Android Development] deeplyyoung:
[MENTION=5857055]Flashhhh[/MENTION] with latest today's PAC build & R11- wifi not working..

HERE is Logs FYR
[Moto G Android Development] Flashhhh:
Read my above post^^
[Moto G Android Development] srisurya95:
[KERNEL] [CM12][ANYKERNEL][FALCON] Optimus Kernel R11 [DT2W] [S2W]

Please do it as soon as possible
[Moto G Android Development] deeplyyoung:
Saw & got it too...:good:

EDIT: so i'm holding my horses until your new release, as I need kexec support Kernel for my Primary Rom & If I update my Rom with today's build then gonna loose wifi with R11... so waiting....

Hope kexec support will be on your new build as well....
[Moto G Android Development] Flashhhh:
Yes it will make it to the new release

But u have to wait for a day or so
[Moto G Android Development] MetalPhoenix45:
Oh my god thanks!!!!!
[Moto G Android Development] deeplyyoung:
Have just dirty flashed AICP over last build & screen flickering gone...wow..

now eagerly waiting for R12 with kexec support to flash it on my primary Rom & as well as on my secondary Rom's too....:D​
[Moto G Android Development] Flashhhh:
Well u will get it early than expected
[Moto G Android Development] deeplyyoung:
Rite now my both secondary Roms having no screen flickering I.e. AICP & PAC... Now waiting for R12 for my primary BlissPop...[emoji106]
[Moto G Android Development] Flashhhh:
Some sad news for u

I think multirom devs took back their source

I am unable to access their source

So can't add multirom now

Need to have a little chat with them
[Moto G Android Development] deeplyyoung:
Ohh that really sad, lemme too ask MR Dev regarding this...
[Moto G Android Development] Flashhhh:
I think they are also working on new sources

So will have to wait for them
[Moto G Android Development] deeplyyoung:
Let's wait & watch as [MENTION=3132221]sub77[/MENTION] surely gonna help to get it done... My faith..[emoji4]