yashsingh1/xdaforums huggingface dataset:
[Moto G Original Android Development] syrkles:
Binary is outdated in older versions. Having an updated SuperSU is kinda neccessity Cuz root apps Dont function right then
[Moto G Original Android Development] wsydgx:
tap2wake Feature Requests

Hi fermasia

love your work,really stable on V3.0

I found this interesting feature:Tap2Unlock.

It's basically like LG's knock code.

Check out this link:

http://xdaforums.com/android/software-hacking/kernel-tap2unlock-tap2wake-feature-t2965344

Please consider implement this feature into this already awesome kernel

thanks
[Moto G Original Android Development] justanicename:
I'm convinced now. Thanks and i just installed the newest version. It solves the TiB problems. :good:

So far the kernel v3.1 for cm11 looks promising. Going to test it for a while.
[Moto G Original Android Development] OldYellowBricks:
Not getting reboots on my side running the cm11 3.1 kernel after changing governor and I should say that battety life has improved a lot!
[Moto G Original Android Development] Dr. Brawler:
safe to run LP kernel on KK rom?
[Moto G Original Android Development] OldYellowBricks:
No no i downloaded the cm11 version before the links were removed. Never run LP kernel on KK
[Moto G Original Android Development] Dr. Brawler:
Didnt even know it was updated. Damn, where have i been? Lol
[Moto G Original Android Development] fermasia:
Sorry, problems were reported so I pulled it back. If we can confirm CM11 3.1 version was Ok about random reboots I'll restore the link.
[Moto G Original Android Development] fermasia:
Doesn't look bad. But first I need to finish working on a more stable base, once that's done I'll try to check that option out :good:
[Moto G Original Android Development] Dr. Brawler:
That's nothing to be sorry for bruh. My fault for not keepin up to date on thread. Still rockin that awesome kkV2 (=
[Moto G Original Android Development] thuva06:
cm12 and flashed 3.1 kernal and i was facing random reboots :)

just letting you know
[Moto G Original Android Development] s.sawrav:
Just read the thread or some post before posting your experiences, just try to read,i guess you can do that :)
[Moto G Original Android Development] fermasia:
Version 3.2 (CM12/Lollipop) Released

Hi again, guys. New version is up, for testing. I'll appreciate feedback about stability/performance/compatibility with roms. The big stuff are random reboots solved (at least I've been testing it for days without trouble, except for ocassional problems when toggling hotplug drivers - root permission and sysfs interface being modified seems to trigger kernel panic when some processes are running, but not every time) and added Intelliplug living alongside AeroHotplug for you to choose what suits you best. Link's on the second post. Enjoy. :good:

Changelog:

- Solved random-reboots (as far as I've tested, you might get ocassional problems when toggling the hotplug driver).

- Added Faux's Intelliplug and IntelliActive/Demand governors.

- Now the hotplug drivers are toggleable (mpdecision/aero_hotplug/intelliplug) - Aero_Hotplug is located in userspace (!) in Faux's Control App, or if using Trickstermod, Aero-Hotplug will be active if Intelliplug (and mpdecision, of course) are disabled.

- Default combo: AeroHotplug + Ondemand gov

- Better compression optimizations.

- Samepage merging enabled by default.
[Moto G Original Android Development] Flashhhh:
[MENTION=5190317]fermasia[/MENTION] I flashed v3.2 on vanir rom and it is working good!!

Didn't face any random reboot!!

I really like that u added intelliplug!!
[Moto G Original Android Development] iamrafee:
Accessibility option isnt work for me :( it show unfortunately close
[Moto G Original Android Development] sajty:
Flashed version 3.2.Unfortunatelly,changing min freq to 300000 is causing hard reboot.

EDIT: another strange thing.My phone is not asking for PIN code anymore.WTF?
[Moto G Original Android Development] fermasia:
What accesibility option are you talking about? I've tried every menu option on the accesibility menu and everything is working without errors.

Let me know what rom are you using, if you clean flashed, exactly what's failing, and would appreciate logcat or kmesg logs to really know what's going wrong.

Remember that issues happening after dirty flashing can't be reported as bugs. :good:
[Moto G Original Android Development] fermasia:
Both things are working fine for me in latest Anerik's build (tested them as we speak to be sure about it). Have you dirty flashed? What rom are you using? Can you provide a logcat/kmesg?
[Moto G Original Android Development] sajty:
I am on Team UB ROM,flashed 3.2 over 3.0.I will post logcat and dmesg.

EDIT: i have found the problem. Default governor is ondemand. Change governor to interactive and then change min freq to 300000 -> no problem,working. But,try to change min freq,when you have set ondemand governor -> hard reboot.
[Moto G Original Android Development] attack11:
[MENTION=4885250]sajty[/MENTION] no problems here with latest anerik´s build, change the frecuencies without problems, maybe is your rom or the app you are using to swicht frecuencies

[MENTION=5190317]fermasia[/MENTION] the kernel is GREAT , but the only thing weird i found is like i say here a few times, the phone is always working with 2 cores even with the screen off, (it jumps to the 3dr and 4r core without problems) , in the stock kernel of cm12 it works with only 1 core online if we do nothing like just wathcing the screen, if i do that with your kernel the 1st and 2nd core are always on , i guess that can eats some battery or maybe not, if you can take a look please,Thanks in advance
[Moto G Original Android Development] sajty:
You tried change frequencies with ondemand governor set? Interactive is OK,ondemand is crashing.However,its not a problem for me,i am not using ondemand as default.But problem with PIN is still present.I updated SU binary and then flashed Donkey 3.2.After that,PIN is skipped after reboot.I guess its related to SU.
[Moto G Original Android Development] fermasia:
That's how aero is handling the cores. If you switch to intelliplug, it will behave different. Considering how down-tweaked the settings are, it shouldn't mean any important battery drain, and otherwise the phone would become too unresponsive.
[Moto G Original Android Development] fermasia:
Strange. That was reported before, but I tested it and it didn't happen in anerik's (I take his build to test as it's as close as we can get to pure Cm while we are in unofficial builds). Ondemand shouldn't bring any problems at all. And it's weird to see it behaving different accross roms... If you can grab a kmesg and logcat, I'll be thankful.
[Moto G Original Android Development] sajty:
I grabed logcat and dmesg after reboot,but logcat contains only data after reboot :(.

Now,it was different again.I had set interactive and min freq 300000.I changed governor to ondemand and nothing,no crash (crashed first time i did it).So i changed min freq to 192000 and then it crashed.
[Moto G Original Android Development] fermasia:
Thanks. In these cases, what's most useful is last_kmesg, cause you'll find there anything previous to the crash. I dunno if you are pulling logs manually, but a very useful app I've found to get logs on the fly is AndyLogs. In any case, I really appreciae your helpful approach.
[Moto G Original Android Development] attack11:
You are right, thanks :good:
[Moto G Original Android Development] iamrafee:
After Clean Install everything's works fine :) thanks :cowboy:
[Moto G Original Android Development] sajty:
Thanks for the tip.I have catlog for logcat,but dmesg i took via terminal emulator.I wanted post last_kmsg too,but i got some errors and was unable to grab it.

EDIT: last_kmsg attached.And not only min freq is causing crash,max freq is doing the same.
[Moto G Original Android Development] fermasia:
I've already checked and fixed a few things in my source. If that solves it fpr you, I'll be glad. But I can't know what patches/mods/modifications has the rom you are using applied. Their source is unpublished (which is against the rules, btw) and that makes impossible to work on it (and doesn't encourages me either, sharing your source means anybody can take features from you but that's the open source spirit).
[Moto G Original Android Development] sajty:
I am sorry. This last_kmsg is from CrDroid ROM.
[Moto G Original Android Development] fermasia:
No problem, man.
[Moto G Original Android Development] Cruznick:
hi i'm confuse which version should I flash is i'm on kitkat (pacman nightly)
[Moto G Original Android Development] Dr. Brawler:
There u go buddy
[Moto G Original Android Development] fermasia:
V2, for now. I did another Cm11 version from a release that had problems and that I had to put down. Next release will probably have a cm11 rebase too (in a few days).
[Moto G Original Android Development] Cruznick:
ok thanks will try v2 and update in a few days

thanks but no hehe yesterday was abou to do that, but better ask before breaking more estuff
[Moto G Original Android Development] Cruznick:
hahah missread thanks to both
[Moto G Original Android Development] Tamarinde:
I'm using 3.1 without any problems though...
[Moto G Original Android Development] fermasia:
Update: new version 3.5 available

New build up with some important new features you've been asking for and many optimizations. The link's on the second post.

Hope you enjoy it. This will probably be one the last updates of the kernel, except for some fixes or tuning it might need. I'm also finishing a CM11 rebase for v3.5 and I'll upload it when it's ready. I'm done complaining and asking for things. This community works in a way I'm not so comfortable with. But it's not just that, it's simply a hell lot of work, it distracts me from other stuff and I just don't feel like it anymore. If that changes, I'll come back and continue. Maybe when CM goes official or when Motorola releases their source, who knows. That said, BIG thanks to the ones that did collaborate a lot, and those who gave me the first push to get into doing this. I've learnt A LOT. Now, the changelog:

Changelog Version 3.5 - CM12

- Added Double Tap 2 Wake and Sweep 2 Wake (testing) - disabled by default

- Added USB fast charge (testing)

- Added IntelliMinMax governor and adapted/retweaked it for our device

- Added Intelithermal V2 - enabled by default

- Combined LCD Notify and PowerSuspend (when pwsusp is disabled Lcd Notify will operate)

- CPU underclock

- GPU underclock and overclock

- Various sched, lowmemorykiller and workqueues optimiations

- Built with Linaro 4.9.3, and own optimization flags

- Governors optimized and re-tweaked

- More battery saving and stability optimizations
[Moto G Original Android Development] ncmz:
Sorry to read that. Big thanks. Hope you comeback some day and if not, hope you be satisfied with whatever you are going to do. Thanks.
[Moto G Original Android Development] attack11:
Thanks for the update :good: , hope you can continue when you have time, Good Luck! And thank for all the effort you put here!
[Moto G Original Android Development] Dr. Brawler:
Thanx [MENTION=5190317]fermasia[/MENTION] for all ur awesome work. Enjoy your time off bro
[Moto G Original Android Development] sajty:
Great job guys, we did it. Another great dev is leaving Moto G community because users are assholes. Still the same, people complaining, not reading OP, complaining, asking for bullsh*ts and again complaining. I hope, that you are satisfied. I and my Moto G liked Donkey Kang the most and now... just perfect :(. Anyway, big thanks for you fermasia for your work.
[Moto G Original Android Development] dracula1520:
thanks bro,keep your great work. i would like to know your recommend setting for your kernel :))
[Moto G Original Android Development] sajty:
Small bug found. Looks like interactive governor sticks at max frequency. If I set interactive governor, CPU is always running max freq, even when idle. If I set intelliactive, freq drops to 300MHz when idle.
[Moto G Original Android Development] Hwyl.Fawr:
Sad to see you leave [MENTION=5190317]fermasia[/MENTION] but unfortunately understandable. Thank you so much for your amazing work!! Wishing you the best for the future!
[Moto G Original Android Development] OldYellowBricks:
Thanks fermasia for working on our falcon. Know that many appreciate your work! Whatever you do next, Im sure it'll do you best ?
[Moto G Original Android Development] twist3d0n3:
Holy crap, this new build is freakin sweet! So smooth and dt2w :D

Great work fermasia!
[Moto G Original Android Development] fermasia:
Thanks. The whole point is to have many options to choose from according to what you want. Aero Hotplug will probably give you more performance at the cost of a tad of battery, and Intelliplug will let you compromise a bit of smoothness for power. Smartassfalcon also would help you keep battery when screen-on, and the new intellimm will make it more fluid. You need to test until you find your personal balance.
[Moto G Original Android Development] fermasia:
No, I appreciate your concern but I'm not blaming anybody, or trying to punish (?) anybody either. I take things how they are: most people here are used to come, take what they need, and move on - in silence. It's my expectations what's not well synced with that reality. I could blahblah about how I think a community should work, but that's not useful to anybody.

This is a hobbie for me. I've got a job, and a very different profession (miles away from IT stuff) and it's hard to keep up with all what's going on in one's life. But I had to try to figure that out. I had another experience when I owned a different device, and things worked different - not better or worse, just different. You need to be highly motivated to work on anything that will bring you no profit at all, and when that fails, it's hard to do things. That's why I think the best choice is to take a break, and then we'll see.
[Moto G Original Android Development] wts1:
where is Intelithermal V2 ??? is that new governor ? cause cant find that in trickster
[Moto G Original Android Development] methuselah:
Well yeah I understand what you said people here especially in motog community does not understand this . well sad to hear you leaving. But I hope people will learn someday. Devs just work as hobby and people become So demanding... And in return you got nothing. But take a break and come back. Hope you will be back.... Good luck
[Moto G Original Android Development] fermasia:
Intellithermal is a thermal solution developed by Faux123 that modifies msm_thermal (default). You need faux's app to tune it yourself, but I've defaulted it so you needen't do anything.

For the record, you don't need to send a PM urging people to respond to a question you've placed on a thread. Please avoid doing that, it made me doubt if I should even answer to your question at all.
[Moto G Original Android Development] wts1:
i just asked you if you can respond didnt obligate why so angry ... as i saw you are online and dont responde i tought you ignore so asked you in private nicely ... chillout
[Moto G Original Android Development] fermasia:
Didn't answer before cause I was looking into it. You are right, something's been damaged in the boost-step down logic, making it stuck in max afer that level is reached. I'll try to solve it soon but since I've done some heavy tweaking on governors it might get tricky.

Thanks for the feedback :good::good:
[Moto G Original Android Development] fermasia:
Jeez dude, I'm not angry at all. I was pointing out a rude practice so you can get along around here. But go ahead, just keep acting like that and see how it goes. Cheers. :good:
[Moto G Original Android Development] ReaverV2:
Great work on the kernel [MENTION=5190317]fermasia[/MENTION], shame to see you leave, after trying your kernel on anerik's CM12, and loving it so far, slowly tweaking as I go until I get the comfortable options for my use, hope you return soon, but chow for now and thanks for the kernel, It was my first choice when installing CM12, and haven't looked back.

Top dev
[Moto G Original Android Development] Dr. Brawler:
This man makes the best kernel for our device. Patiently wating for cm11 3.5 to drop xD
[Moto G Original Android Development] wagnerdd:
someone can provide kernel modules of xt1033 with version 5.0 of Brazil?
[Moto G Original Android Development] Flashhhh:
[MENTION=5190317]fermasia[/MENTION] I've been using v3.5 on vanir rom from 2 days now and its working flawlessly!!

Thanks a lot!!
[Moto G Original Android Development] fermasia:
Is this the right place to ask for that? Nevertheless, I think you should re-flash the whole rom, un.
[Moto G Original Android Development] wagnerdd:
Maybe yes because Donkey Kang zip installer overwrite original modules.

Anyway, thanks.
[Moto G Original Android Development] fermasia:
But this kernel is for CM12, derivatives and aosp, not for stock (as stated in the op). If you followed that instruction, then you just need to extract the modules from any CM12 zip or dirty flash the rom you have running. If you flashed it over stock... the you messed it up, and now its' not so easy to solve without reflashing the entire rom. I'm not sure if with the new .dat implementation you'll be able to extract the modules alone.
[Moto G Original Android Development] poran123:
I have flash on cm11 m11 and everything is working fine. i have enable ART and its very smooth...:good::good:
[Moto G Original Android Development] ThunderZeus:
How can I set the kernel? Im on the last Paranoid
[Moto G Original Android Development] fermasia:
I think I know what might be wrong (probably recovery issue, I don't use Philz). Easy way out... switch to TWRP and try again (not for my kernel, but TWRP is in my opinion a better choice beyond any doubt). If not, let me get back to you tomorrow (it's late around here). Cheers!
[Moto G Original Android Development] fermasia:
You can use any kernel tweaker from the playstore. Try Trickstermod, and check my recommended settings (specially manually enable Intelliplug, I skipped setting it by default). :good:
[Moto G Original Android Development] jaggu1989:
Wifi not working Mahidi 2.9
[Moto G Original Android Development] OldYellowBricks:
will be sure to try that out
[Moto G Original Android Development] fermasia:
What recovery are you using?
[Moto G Original Android Development] OldYellowBricks:
Have flashed TWRP and then flashed the kernel but still not able to turn on wifi. Isokay, I have a backup of a rom thats running fine. Appart from the wifi thing the kernel runs superb!
[Moto G Original Android Development] sidewalk_:
Nice to see another kernel for the G. How's the battery life?

Thanks.
[Moto G Original Android Development] Flashhhh:
It's working quite well with cm11 latest nightly!!

Thanx for the kernel [MENTION=5190317]fermasia[/MENTION]

Hit thanks if i helped!!
[Moto G Original Android Development] Kai Disobey:
Kernel runs very well on SlimKat 8.9 (XT1032 16GB) very smooth scroll experience :good:

First Antutu Bench 18443 score (Intelliactive/Fiops/Intelliplug/ART enabled) :)
[Moto G Original Android Development] Mchasard:
Sorry it doesn't work with slim Kat ROM .... No boot possible even dalvik cache and cache system
[Moto G Original Android Development] Kai Disobey:
What do you think about that :confused:
[Moto G Original Android Development] AndroZeek:
No issues with PacRom Nightly using Recommended Settings. WIFI and every other things working Great on XT-1033.
[Moto G Original Android Development] Uz986:
wifi not working for me too on mahdi 2.9....i flashed using philz recovery
[Moto G Original Android Development] Flashhhh:
[MENTION=4336339]Uz986[/MENTION] I think it's bcoz mahdi uses gummy kernel as base and as this kernel uses anykernel updater script,The gummy ramdisk is incompatible with this kernel!

Hit thanks if i helped!!
[Moto G Original Android Development] Uz986:
so i cant use this kernel....performance was really good with this kernel...too bad....there is no workaround for this?
[Moto G Original Android Development] Flashhhh:
[MENTION=4336339]Uz986[/MENTION] Its a problem with the ramdisk so u might need to change the rom if u want this kernel!!

Hit thanks if i helped!!
[Moto G Original Android Development] fabus:
Maybe some tip: after flashing kernel over Mahdi 2.9 + xperience kernel 17 I got boot loop...

Flashing Mahdi kernel and then flashing this kernel helped... Everything works like a charm :)
[Moto G Original Android Development] deeplyyoung:
Flashed on my XT1033 Dual Sim using N5XPA n multiROM & so far gng ok… will revert after use it for some time…

Good to see new kernel for our Falcon
[Moto G Original Android Development] xpirt:
just made a guide featured in the portal also how to extract dat files ;)
[Moto G Original Android Development] Sik-1:
Some of us aren't on cm11 or cm12, and I haven't seen you updated anything for stock, can you b so kind to spin a build with all the new goodies??? As I'm using faux's kernel now but he hasn't updated it in months .thanks and best regards
[Moto G Original Android Development] Dr. Brawler:
Kernel is not for stock. Read op. Also dev is taking a much needed break
[Moto G Original Android Development] Sik-1:
I know that, been following for awhile, which is why I asked for an updated version for stock rom with all the goodies
[Moto G Original Android Development] Dr. Brawler:
Have u tried Phantom kernel? I used it b4 Fermasia built this beast. Its great ime
[Moto G Original Android Development] Sik-1:
Says its not for stock, and honestly I don't like cm on this phone, way too many bugs no matter how they try and fix it, simply not as good as stock IMO, and another thing about phantom, it states to flash on a clean install or could def get bugs, ain't nobody got time for that lol seriously. Got way too apps and such to start fresh just for a kernel
[Moto G Original Android Development] Dr. Brawler:
http://xdaforums.com/devdb/project/?id=5025#downloads

1st file is for stock. To flash a kernel, wipe dalvik cache and cache then install kernel and reboot

Ferm is not going to build a kernel for stock lol
[Moto G Original Android Development] Sik-1:
Hey thanks for the link trying out now
[Moto G Original Android Development] reynierpm:
Can any share a good configuration for performance/battery for Lollipo 5.0.2 on CM12? I'm using Trickstermod
[Moto G Original Android Development] fermasia:
To be honest it's not on my plans. Maybe when Motorola releases lollipop source, I'll make a stock version, but for now it'd be getting into something that will be good for a few weeks at most.

Still, Faux kernel is awesome, every single custom kernel for moto g (including this one) has taken tons of stuff from his source. And as motorola source haven't changed since mr2, it's still solid as a rock.

For sure you got options too, you can try as it's been suggested Shivamk's Phantom, or even Blechd0ses aero. This last one is from where I've taken aero_hotplug (I'm still struggling to make it work as it's meant to in kitkat, lol).
[Moto G Original Android Development] fermasia:
If you are battery concerned, use Intelliplug and Intellidemand, for now AeroHotplug is a bit over throttled. Will be tweaking it down in a next release alltogether with some other fixes.
[Moto G Original Android Development] sajty:
Intellidemand is IMHO too slow.Intelliactive is good combination of performance and battery life.
[Moto G Original Android Development] fermasia:
It's all SO subjective, perhaps I shouldn't have tried to answer the question at all :D We can all name opposite configs and we would all be right, actually.