yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] :
for 1.3devpreview-1.really neat update thanx

2.everything working fine here, i can change every parameter via init.d

3.setting input boost equal to highspeed_freq giving slight smoothness

4.linaro 5.2 is smooth as it was in previous alpha3 version

5. I will stick with this version for long

6. please consider to make it as light version

for 1.3test_1- 1. init.d broken, although in init.rc init.d support was always present in your kernel but i had to add run_parts in postboot.sh for working. [except previous 2/3 versions]

2. got kernel panic i will attach logs below

3. I think forced selinux is causing problem

4.[init: Warning! Service run-parts needs a SELinux domain defined; please fix!]
[Moto G Android Development] DoctorStrange96:
Weird. So the system crashed due to some strange selinux denials. Anyways, yesterday's test builds 1 and 2 have this problem solved (i'll test init.d here).

Haven't had any kernel panic here so far.
[Moto G Android Development] Paget96:
Reason why you need superSU is because script work from su.d folder which have bigger priority than init.d and also can be executed on both selinux states ;)
[Moto G Android Development] DoctorStrange96:
New test build up! This one only brings the Wheatley governor.

The final builds will be available on afh, as usual.

Edit: This build should fix init.d support - by actually creating the init.d folder on /system/etc.
[Moto G Android Development] woozie.2007:
hi, i have 5.1 stock asia dual sim xt 1033, root and twrp, do you think this kernel will made my phone better? without any issue? thanks
[Moto G Android Development] DoctorStrange96:
Gentlemen, I want to introduce you my "optimized stock" kernel.

Consider it as a Kaminari SuperLite version.

What's changed in relation to the stock kernel:

- Compiled with custom Linaro 5.2 toolchain

- Optimized for Cortex-A7 processors

- Bumped to 3.4.110 (Yeah, i know i'm contradicting myself)

- A bunch of optimizations also present in kaminari

- Additional tcp congestion control algorithms

- Vibrator strength, fsync, gentle fair sleepers, arch power & some wakelock controls

- All governors except Interactive have been disabled

- Init.d support

- CPU-Boost is gone (Interactive does fine on its own)

- Runs both on gpe w/ f2fs and stock w/ ext4

- SELinux set to permissive

What's changed in relation to KaminariKernel:

- MPDecision has been brought back from the dead and is the sole hotplugging driver

- PowerHAL is also back

- Kcal, Headset High Perf Mode, Dt2w, adreno idler, and the additional cpu govs and i/o schedulers are all gone
[Moto G Android Development] woozie.2007:
it will works for me, sir? thanks
[Moto G Android Development] khairulez:
This kernel works good on xt1033 dual sims..try it and you won't regret.
[Moto G Android Development] Haggster66:
yeah!! running Kaminari suparLite!! best kernal evar!!1

no, honestly, I like the concept a lot! I might even keep running this one!! IMHO it'd be great to have *this* and the *normal* Kaminari kernels in parallel as a choice for everybody. lovin it.

Now we only need to pay some nerd to port the Moto G 3rd gen 3.10.49 kernel for us and then make a SUPAR-lite version out of it!!

lol, keep it up!

EDIT: ummm... can anyone else please compare the latest Kaminari and the Optimized stock kernel in regards to multitasking? I get DAMN good multitasking performance with Optimized stock (only change: ZRAM to 400, as I always did with Kaminari as well) and I mean *really* good. Basically I got Chrome, plus four other apps constantly in memory without any reloading and I can switch around between them at will - no reloads at ALL. Has anything regarding the memory management or LMK been changed? I got almost as good RAM performance using Kaminari with some versions that had been released back around November, but never as good as now with the Optimized stock kernel.
[Moto G Android Development] woozie.2007:
thank you, i will try right now
[Moto G Android Development] khairulez:
Before you flash this kernel,make sure clear data in tweaks app..flash kernel then wipe cache & dalvik-cache.
[Moto G Android Development] woozie.2007:
where is these? i have twrp 2.8.7.0 is not enough to wipe cache and dalvik?

if you want to reffer at any aplication for tweak the kernel, i dont have one, can i use without that app? thanks
[Moto G Android Development] Haggster66:
If this was a democracy I'd vote for throwing away all unneeded TCP congestion control algorithms from the Optimized Stock kernel as well - and only keep Westwood. I mean seriously... who uses anything else nowadays? Anyway, damn happy about that kernel.
[Moto G Android Development] khairulez:
I mean via recovery.

---------- Post added at 03:42 AM ---------- Previous post was at 03:36 AM ----------

would be better to have it [emoji4]
[Moto G Android Development] woozie.2007:
can you recommend to me one of these? which is better? thank you for your time :)

even if you recommend one, i dont know to use it :))))
[Moto G Android Development] khairulez:
Kernel Adiutor..it's free in play store.

You're welcome.
[Moto G Android Development] woozie.2007:
and busybox too?
[Moto G Android Development] DoctorStrange96:
I'm glad to see that you guys liked the optimized stock kernel. So i'm gonna keep it. And yeah, i'm gonna remove the additional tcp algorithms and keep only westwood. Can't do the same for the i/o schedulers because there're people who use something different than row/cfq (the rom itself uses row)
[Moto G Android Development] woozie.2007:
please tell me sir, if i wont use any app for tweaks, the kernel is already optimized netter then the original ? thanks
[Moto G Android Development] khairulez:
the best way is YES!
[Moto G Android Development] woozie.2007:
uffff, to many settings for me, i dont know what to do there :) few hints please?
[Moto G Android Development] Haggster66:
yeah, that's the point. you don't need to change anything.
[Moto G Android Development] woozie.2007:
so, why i installed tweaks app and busybox? it is too many option, i must to do nothing there? or save or anything else? sorry for my english. Thanks
[Moto G Android Development] Haggster66:
yes, they are too many. uninstall it now. just remove busybox, remove kernel adiutor (or trickstermod, etc.), basically all the apps you installed for this. the kernel runs fine without any of those. just enjoy the performance.
[Moto G Android Development] woozie.2007:
i just tried to understand, i didnt want to bother you :) thanks very much

now i removed the aplication and at startup, the screen is orange about few seconds, dont start normaly, do you have an explication for this ?
[Moto G Android Development] khairulez:
flash kernel again and do wipe cache & dalvik-cache then reboot.
[Moto G Android Development] woozie.2007:
i did, its ok now, thank you sir :)
[Moto G Android Development] rokban:
I was on pure stock 5.1.1 claro Brazil since last 2/ 3 weeks without any tweaks ( after all the adventures with custom ROMs) . yesterday decided to try this kernel ( test build one, with dt2w ) tweaked gov to yankactive,I/o to zen ,zram 400. And I must say its performing and battery backup is amazing . everything is there xposed modules with gravity box etc ,it's like a custom rom now! I have used this kernel before also but this current version is awesome! Great job [MENTION=5736790]kingkaminari[/MENTION]
[Moto G Android Development] :
For opt_stock- 1. Holy grail!!! I think I have found my best kernel, its running perfect

without any tweaking and smoothness is eye popping thank you very much.

One question regarding frequency transition- Does extreme frequency transition from extremely lower to higher affect battery.
[Moto G Android Development] fippo7:
Well now i'm using 1.2.3 kaminari with impulse governor e scheduler noop and goes fast,moreover i'm using xposed with gravity box and amplify and all is perfect
[Moto G Android Development] woozie.2007:
after reboot the screen is orange, redish..for 30 sec, after that its back to normal, how can i do to reboot normaly? i flash the original and is ok, i flashed again this optimised kernel with wipe cache and dalvik, and same problem, orage at boot. Thanks
[Moto G Android Development] DoctorStrange96:
Version 1.3 is up!!!

This one is available in two flavors: Linaro (compiled with my custom Linaro 5.2) and Uber (compiled with Uber 5.3).

Download (Linaro - Recommended) | Download (Uber)

Changes from the last test build from this one:

- Removed Wheatley

- Added back USB Fast Charge

- Added back FauxSound

- Fixed (finished) Stock+Ext4 / GPE+F2FS support

- Fixed I/O scheduler override on stock ROMs

- Changed zram size to 400MB (Dunno if i changed this in a test build)

- Some more changes i dont remember
[Moto G Android Development] DoctorStrange96:
And also, a new Optimized Stock build is up. (Maybe it should be Kaminari SuperLite after all? It's closer to Kaminari than to stock :p . I'll work on another version that's as close as possible to the stock kernel.)

Download

Changes:

- Fixed:

--- Modified init.qcom.post_boot.sh not being pushed to /system/etc

--- I/O scheduler override by init.mmi.rc

- Default I/O scheduler changed to cfq

- All TCP congestion algorithms except Westwood and Reno removed
[Moto G Android Development] woozie.2007:
if it will be like the stock kernel, how it will be better then the stock?

we already have the stock one, we need a better one version then stock :))
[Moto G Android Development] :
V1.3 Uber is running great so far with Yankdemand.
[Moto G Android Development] abeloman:
I'm not able to use the optimized kernel... Everytime I flash, I get soft reboots after 2-3 minutes from booting :(
[Moto G Android Development] DoctorStrange96:
Send me a log if you can and i'll look into it
[Moto G Android Development] Haggster66:
he is compiling it with Linaro, the stock kernel isn't. he's still including optimizations (noatime, etc.), stock doesn't have them, fsync is disabled, in stock it cannot be disabled, he removed unnecessary governors, etc. etc. etc.. all these things together DO make the kernel way better than stock, even though it's *close* to stock, if compared to the regular Kaminari kernel. if you don't like that, then just use the regular Kaminari kernel. but then don't complain that you'll need busybox and kernel adiutor to actually use the kernel's features.

by the way: I've seen no orange screens or bootloops here. and I'm flashing like crazy, without even clearing any caches.
[Moto G Android Development] woozie.2007:
Thanks for explanation, i understand now
[Moto G Android Development] Haggster66:
no problem :)

looking forward to the next superlite one. the only single tradeoff with this one is the battery life (which is normal, since Interactive is a bit more battery hungry and there's no Adreno idler). I can perfectly live with that
[Moto G Android Development] DoctorStrange96:
Here's a little test (nightly?) build for you guys.

Changes:

- Bumped to 3.4.110

- Bricked Hotplug ditched in favor of MSM Hotplug

- Some dt2w fixes (credits to hurtsky)

- Other minor changes (Check the stk-3.4.110 branch)

Bricked has been causing me trouble (read: abnormally lower battery life) so i decided to use msm hotplug instead. If you're also having poor battery life, give this build a try. If you're on KSL (acronym for Kaminari SuperLite / Optimized Stock), then stay with it.

If you wanna build the kernel yourselves, all you've gotta do is clone my git repository (link at the OP)... and download your toolchain, of course (and after that run the build script - it'll automatically clone my custom anykernel git repo). Hell, dont expect me (or my build script) to do all the heavy lifting for you, eh?
[Moto G Android Development] rokban:
Version 1.3 has dt2w? Never mind, installed it, it has !
[Moto G Android Development] DoctorStrange96:
Stay away from Yankdemand in the latest test build. Its causing an enormous "Miscellaneous" battery drain. I'll release another test build using mpdecision (but without powerhal)
[Moto G Android Development] Haggster66:
just wanted to give an update on that superlite kernel (currently using the version from Saturday since it has been released): it's an absolute beast and I love it. please keep maintaining that release since it's so damn good.
[Moto G Android Development] DoctorStrange96:
I'll surely maintain it.
[Moto G Android Development] DoctorStrange96:
Okay fellas. After many tries... Our test build is ready.

Changes:

- Bricked and MSM hotplugs were removed and replaced by MPDecision

- Darkness also removed (Was causing high battery drain when idle)
[Moto G Android Development] DoctorStrange96:
Just some little info. Stable builds are compiled with Linaro. Test/nightly/whatever-ya-wanna-call-it builds are compiled with Uber
[Moto G Android Development] woozie.2007:
when a new version of stock optimized? thanks
[Moto G Android Development] DoctorStrange96:
Only in case of important changes/fixes from cm, or if a Linux 3.4.111 is released. The kernel is great as it is right now
[Moto G Android Development] Haggster66:
I agree. No need to ruin it :)
[Moto G Android Development] DoctorStrange96:
Announcement!

Kaminari will venture into Cyanogen land. For real this time. The first CM13-compatible builds shall be available soon.
[Moto G Android Development] DoctorStrange96:
Yo! Those of you on Cyanogen land! Check this out!
[Moto G Android Development] subhi:
Hi, I have Moto G (XT1033) on 5.1, haven't tried kernels on this build yet. Wasn't even aware that custom kernels were out. Anywho, can anyone tell me how to gain access to builds? Access Denied it shows for me; and which might be a better build for me? The normal one or the lite one? Thanks.

Thanks [MENTION=5736790]kingkaminari[/MENTION] for the hard work.
[Moto G Android Development] DoctorStrange96:
About the Kami + Attacked hybrid... Not happening. Got build errors so i had to get rid of the messed-up sources.

Version 0.99b is coming soon. If i figure out why wifi and anykernel are not working for some people
[Moto G Android Development] AssToast:
This thread is very interesting, I think you should keep an eye on it. Would be tremendous if headset buttons support is added in the future.

http://xdaforums.com/moto-g/general/wip-headset-buttons-detection-t3199094
[Moto G Android Development] attack11:
God luck with this project,if you need help PM me, Check that my WLAN drivers are older,you must update to this one 5.1.1-release-falcon

:good: :good:
[Moto G Android Development] Mchasard:
I tried your kernel under Id crisis rom 5.1 stock but WiFi doesn't work... An idea?

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G Android Development] jonas210678:
Try clean flash! For me it was working, i used the non anykernel kernel
[Moto G Android Development] AssToast:
Did you even search the thread and read before asking questions?

Try dirty flashing your rom and flash the kernel.
[Moto G Android Development] DoctorStrange96:
Guys, sorry for the lack of updates, but college is giving me a hard time, and i'm not really able to update this kernel right now. I'll do that when (if) i get some free time
[Moto G Android Development] guitarfreedom:
Hi, and thanks for your work...can you give a link of the first version of your kernel? I noticed a better battery life than the last one. Thanks
[Moto G Android Development] ivanlau:
Can i ask what is the difference in between any kernel and non-any kernel version?..

I am using xt1033 stock 5.1 asian version...which one should i flash?...thx a lot
[Moto G Android Development] :
Search Anykernel2, and try one and if if doesn't work, try the other.
[Moto G Android Development] Mchasard:
I'm using identity crisis rom 5.1 and with your last 0.99 kernel version WiFi doesn't work....

Envoyé de mon XT1039 en utilisant Tapatalk
[Moto G Android Development] DoctorStrange96:
[MENTION=3308423]Mchasard[/MENTION]: I'll use a different wi-fi module for the next build (i was using the 5.0.2 module, i'll use the 5.1.1 one now, that should solve the issue. I'm surprised that the 5.0.2 module even loaded on 5.1.)
[Moto G Android Development] DoctorStrange96:
Yo, new version up! This time its the first 1.00 alpha.

Changelog:

- Regular and dt2w versions unified

- New wifi driver (0.99 and previous versions were using an older one)

- Attempt to fix the "no wifi" bug on IDCrisis rom (With the anykernel zip)

- Removed intellidemand & intelliactive

- Disabled powersuspend & enabled state notifier

- Added headset high performance mode

- New s2w/dt2w commits

Download links:

Standard | Non-AnyKernel
[Moto G Android Development] abeloman:
If I dirty flash, which one should I download?
[Moto G Android Development] DoctorStrange96:
The same type of version you are using now. If you're using anykernel, flash the anykernel zip. If you're using non-anykernel, then flash the non-anykernel one. You can also try flashing the anykernel zip on top of the non-anykernel zip
[Moto G Android Development] keepercito:
what is the diference between anykernel and non-anykernel???
[Moto G Android Development] DoctorStrange96:
The anykernel version (apart from using anykernel for installation, obviously) includes a few tweaks which are applied at boot time (something that cant happen with the non-anykernel version, but nothing that cant be manually changed later). Thats the sole difference.
[Moto G Android Development] AssToast:
For me on GPE Optimised 1.2b,

AnyKernel works now

WiFi works

I'm wondering how does your implementation of dt2w/s2w work? Does it keep the core [MENTION=1785406]300m[/MENTION]Hz most of the time and what's the difference between half screen and full screen dt2w? I know the name would literally mean what they do but it doesn't seem to make a difference right now. On s2w, I'm not sure how it is implemented but swiping requires it to be from the edge to another edge horizontally. Vertically doesn't seem to work but I recall it can be made to work on my old phone and how far to sweep to activate can be set as well.
[Moto G Android Development] DoctorStrange96:
Answering ur questions:

1. My implementation is based on what hurtsky did with his aosp/cm kernel. It was previously based on powersuspend but now uses state notifier. About the core speed, i havent checked that

2. The name does literally mean what they do. But halfscreen is broken right now. Its a known bug - present since the 0.9x builds. I dont yet know how to fix it. (Maybe its not 100% compatible with stock-based custom kernels?)

3. About s2w, yes, its gotta be horizontally. Vertically didnt work with me either.
[Moto G Android Development] Akshay7273:
Kaminari bro...just a feature request....what about simple_ondemand gpu governer?? Nd it will be great if u guyss share ur experience about the best governer present for battery...Thanks
[Moto G Android Development] DoctorStrange96:
If you want to tinker with things and see how the phone performs after that, flash the normal version. But if you want something closer to the stock kernel, but with a few extras baked in, flash the lite version
[Moto G Android Development] rokban:
I was with previous test build, tried this one last night, set gov to Yankactive ,overnight drain in flight mode was 20% :S , but smoothness is better than the previous test build. I have changed it to yankdemand now..
[Moto G Android Development] DoctorStrange96:
Yankactive is indeed crazy. I've noticed something rather weird with yankdemand - there was zero (yes, zero!) overnight battery drain.
[Moto G Android Development] rokban:
Great! Should keep trying different variables... That's the key
[Moto G Android Development] subhi:
Thanks [MENTION=5736790]kingkaminari[/MENTION]. What about the download links? It shows access denied. Really want to try this out. Thanks.

Edit: Got the download links.
[Moto G Android Development] DoctorStrange96:
Updated the kernel to 1.3.1!!

The changes are the same as the last test build. MPDecision returns, a few governors go away.

Download
[Moto G Android Development] Bleak3993:
Thanks mate, but I think in this release the only hotplug is MPDecision, the others are missing, just that, everything else seems fine.
[Moto G Android Development] DoctorStrange96:
Oh sorry, i forgot to clarify it. Mpdecision is indeed the only hotplug from now on. Bricked was not playing well with some governors
[Moto G Android Development] Chandresh204:
what are the best settings and values any one is using?
[Moto G Android Development] TheXorg:
May I request CPU Underclock, maybe to 94MHz (like I have on my Nexus 4), it would increase battery life when screen is turned off but a wakelock is active. Just asking ;)

Sent from Moto G from Webbrowser
[Moto G Android Development] :
[MENTION=5736790]kingkaminari[/MENTION] check this out, working over clock: http://xdaforums.com/showpost.php?p=64876545&postcount=2281
[Moto G Android Development] DoctorStrange96:
I'll put it into the next test builds
[Moto G Android Development] Eurofighter_ty:
Nice!
[Moto G Android Development] DoctorStrange96:
New test build up! This one brings CPU overclocking back. (I'm ready for the "this is just placebo, remove it" comments)

My phone is running a custom ROM at the moment so i cannot test this build. Kindly test it and report the issues, if any.

Download
[Moto G Android Development] Haggster66:
so... nobody replying because everyone's phones went up in flames because of the OC... or is this really safe?

btw, still on the latest supar-lite kernel, which is the best invention ever IMO.
[Moto G Android Development] DoctorStrange96:
Well, i'm my own tester. And i haven't got a single burn so far.
[Moto G Android Development] :
I've been running it since it was posted with no problems.
[Moto G Android Development] Bleak3993:
I did a couple of antutu benchmarks with and without overclock, and the results were the same, so I think is still not working, I didn't take any screens to show tough, I'm sorry, but I have no reasons to lie here lol... Our phone doesn't need overclock if you ask me, it works perfect with this kernel without overclock.
[Moto G Android Development] hurtsky:
how much point you got with OC?
[Moto G Android Development] fippo7:
I've done geekbench test and when i put at 1.3 GHz in multi is 1210 in 1.5 GHz 1180 with lionheart governor
[Moto G Android Development] guitarfreedom:
Hi! I have a xt1032 with gpe 5.1 rom (ext4 data, system). When I try to install this kernel, phone boots but some apps like dialer, whatsapp, camera etc have FCs. I have tryied to clean dalvik/cache but nothing. Flashing gpe stock kernel, all is ok. I've done a fresh flashing.
[Moto G Android Development] DoctorStrange96:
Which version? Some older versions indeed have trouble with gpe roms
[Moto G Android Development] guitarfreedom:
I've tried 1.3.1, latest (with OC), and superlite
[Moto G Android Development] DoctorStrange96:
I'll take a look into it.
[Moto G Android Development] DoctorStrange96:
Here are some updated 1.3.1 zips. This *should* fix problems on gpe.
[Moto G Android Development] DoctorStrange96:
And here are updated test build zips as well (OC'ed and SuperLite).

OptimizedStk is now KaminariSL.

I've decided that making a single zip for both stock and gpe is no longer a feasible solution. Therefore i'll split the zips into stock and gpe from now on.
[Moto G Android Development] guitarfreedom:
Now it works good in GPE rom...no apps FCs. Thanks
[Moto G Android Development] gabling23:
What's new in the superlite?
[Moto G Android Development] DoctorStrange96:
Nothing new. Just a bugfix for gpe roms