yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Haggster66:
doesn't seem like we'll get 6.0 or a 6.0 based kernel before Christmas. but I guess that's fine, as long as the reason for the delay is that Lenovo is using that time to make it a , clean release.

BTW, I absolutely love that Impulse governor... best Android CPU governor I've used so farfar, honestly.
[Moto G Android Development] rey2gato:
Hi, I have a problem, with this kernel the phone is a little faster but is very slow at response. For example when a touch an icon the app doesn't open immediately compared to stock kernel. How to fix that? Is my first time with custom kernels. Also now i have more RAM consumption.
[Moto G Android Development] Haggster66:
you're using the wrong CPU governor then. Make sure you use Interactive if you want it to behave exactly as on the stock kernel in that case. Interactive will boost the CPU to the maximum frequency once you touch the screen. It will do the same if you turn the screen on. Furthermore it will wait a short while until it decreases the frequency again after this, independently of whether the CPU utilization is high or not.

Regarding the RAM consumption: How much higher is it? Are you sure that this is not just cached data? My recommendation: Set ZRAM to 400MB and leave it there. It will give you amazing results. This has been recommended by Intel engineers working on Android optimization for devices with 1GB RAM as well (source: https://01.org/android-ia/user-guides/android-memory-tuning-android-5.0-and-5.1 ). I've been using 400MB of ZRAM since I switched to this kernel and it feels like I got a new phone. It's possible to keep three rather large apps in memory at the same time now and switch between them without any reloading; this includes Chrome (more apps if they are smaller, even). Without any speed penalty either, which is remarkable. On XDA and other places, people have traditionally been writing crap about ZRAM and have been repeating the mantra that using it was bad and that it would only make sense for very old devices with e.g 512MB RAM... just ignore that, set it to 400MB on your device, as recommended by Intel in the linked article, and enjoy the benefits.
[Moto G Android Development] DoctorStrange96:
A little revision to 1.1.2 (original) and 1.0.2 (lite) is up.

Downloads:

Original | Lite

You know where to find the changelog.
[Moto G Android Development] espaciox99:
Its true? O not?

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] DoctorStrange96:
Yo'! New update in the air!!

Clear your kernel tweaker (kernel adiutor or synapse) app's data before flashing this one.

Downloads:

Original | Lite

Merry Christmas!
[Moto G Android Development] kalafior12:
:D

Wysłane z mojego LG-D855 przy użyciu Tapatalka
[Moto G Android Development] abeloman:
Please don't remove intelliplug and mako :(
[Moto G Android Development] DoctorStrange96:
They will be back in the final 1.1.3 release. But the first alpha of 1.2 won't have intelliplug
[Moto G Android Development] Haggster66:
hey kingkaminari, thank you for providing us with updates over Christmas! Very happy user of the latest lite version here.

I'm also glad about the changes that have been made over the last week... I honestly almost don't need to use kernel audiutor anymore, since the standard settings now almost match the settings I always used.

regarding the overclocking issue: this is so funny... I always set the CPU to the stock settings anyway... and I didn't notice any slowdown compared to the overclocked settings... now I know why :D

and damn, I really want to send out a donation for this great work finally, but I'm getting forced to do all kinds of Christmas related things here, lol!

Keep it up! we're gonna have an amazing base for the 6.0 ROM :)
[Moto G Android Development] alihassan1397:
K guys I'm gonna try it on my moto g xt1033 ,on 5.1, hope it will work, remember! Always make a backup of system and boot in twrp just in case you guys get stuck in boot loop, hope it will help you guys

EDIT: WORKED FINE
[Moto G Android Development] khairulez:
And remember ! do not quote whole OP to tell the world that you want to try this kernel.

Happy flashing.
[Moto G Android Development] alihassan1397:
ry I am new to forums so I don't know much stuff about all this, BTW it worked fine and flawlessly ,i just want to ask that if there's a bad side of using fast charging feature ,and also my double tap to wake doesnt work after long time sleep
[Moto G Android Development] :
Read the XDA rules. That's why they are there. I always heard fastcharging any battery wasn't a good idea and the dt2w issue is because power suspend was removed.
[Moto G Android Development] khairulez:
No bad side if you using fast charging feature.BTW this kernel work flawlessly on my xt1033 stock optimized 5.1.
[Moto G Android Development] Haggster66:
I thought the USB fastcharge feature only ensures that the phone gets charged just as fast when e.g. connected to a PC's USB port as it does when it's connected to a charger.

so using the fastcharge option makes the phone charge even faster when connected to a regular charger??! :-O
[Moto G Android Development] DoctorStrange96:
No. It'll only work if you charge your phone using a PC. It won't make the phone charge any faster or slower when using a standard wall charger.
[Moto G Android Development] DoctorStrange96:
Our first 1.2 alpha build is ready. (Maybe I should've named it 2.0?)

Remember: it doesn't matter which kernel tweaking app you use. Clear its data before flashing this build!

Downloads:

Original | Lite

Changes:

- Built from scratch

- No more version bumps - this one will stay at 3.4.42 (Actually these version bumps do more harm than good)

- New hotplug thread infrastructure

- Intelliplug is (kinda) gone - Intelli Hotplug "replaces" it

- Alucard Hotplug is gone

- Added Wheatley governor

- CAF CPU-Boost changes

- Merged some CM fixes

- Some more stuff

Huge kudos to [MENTION=5857055]Flashhhh[/MENTION] and [MENTION=4723408]hurtsky[/MENTION] (I've been essentially cherry-picking commits from them :p )
[Moto G Android Development] Haggster66:
makes me wonder why the guys on the posts above said that "fastcharge = bad for the battery".

this would mean that using your normal, regular charger is bad for your battery too. don't get some people.
[Moto G Android Development] DoctorStrange96:
If anyone has downloaded the first zip, please download the revised one. The old zip contains some wrong VM tweaks that mess up with multitasking.

Remember to clear your kernel tweaker's data!
[Moto G Android Development] DoctorStrange96:
Dt2w, at least in this kernel, relies only on the state notifier driver. Powersuspend was there only because of the hotplugging drivers.
[Moto G Android Development] DoctorStrange96:
Just a little update. Dont use the impulse + bricked hotplug combo. Its causing an abnormally high battery drain when the phone is idle.

Switch to another gov, e.g. smartmax, and change hotplugs too
[Moto G Android Development] fippo7:
any change to have a gps fix?

edit: i think i found a solution
[Moto G Android Development] DoctorStrange96:
The second 1.2 alpha build is ready!

Changes:

- Built with new Linaro 5.2 toolchain

- Merged CM changes

- Powersuspend gloriously returns

- Alucard and Dancedance governors are back

- Yankactive should be enabled now

- Added Darkness, Hyper, Nightmare & Ondemandplus governors

- Some other changes

Download links coming soon.
[Moto G Android Development] DoctorStrange96:
Yo! Teh f1l3z are up!

D0wnl04d5:

0r1g1n4l | Lit3

P.S.: Sorry for the attempt at using leetspeak. I had to. :p
[Moto G Android Development] rokban:
Can this be used without any tweaking?
[Moto G Android Development] Haggster66:
Yes, the default values are close to being perfect now. You don't need to have kernel audiutor, trickstermod or any similar applications installed for this.

Personally, I only adjust the CPU settings now, in order to switch to the impulse governor and activate the multicore powersaving feature, but I leave the rest untouched.

---------- Post added at 10:33 PM ---------- Previous post was at 10:21 PM ----------

OMG, this Linaro update seems to give a strong performance boost! :-o can smbd. please confirm whether this is only placebo from my side or if this makes everything really that much faster?
[Moto G Android Development] DoctorStrange96:
Yo peeps, warning. Don't use the Nightmare gov as it may cause a kernel panic (it did on my phone). Alpha 3 will have it disabled.
[Moto G Android Development] Haggster66:
Nomen est omen.
[Moto G Android Development] DoctorStrange96:
Alpha 3 is here. Have fun.

Download (Original) | Download (Lite)

If you want, you can clear your kernel tweaker's data. Its optional this time :p .

You already know where the changelog is.
[Moto G Android Development] fippo7:
Hey man THX in andvance, i have the last stable release. In order to use this i only have to flash over the previous version?
[Moto G Android Development] khairulez:
Best way is;

-Flash new version.

-Do wipe cache & dalvik-cache.

-Reboot.

Make sure before you flash new version,do clear tweaks apps data & cache first.
[Moto G Android Development] DoctorStrange96:
Yes. And clear your kernel tweaker app's data, no matter which one you use. Thats all you gotta do.
[Moto G Android Development] fippo7:
Another thing why you decide to quit CPU OC?
[Moto G Android Development] khairulez:
Read post #649
[Moto G Android Development] DoctorStrange96:
Our "final" (as I said before... a kernel release is never de facto final :p ) 1.2 build is up!

Changes? Only two. But here they go anyway.

- Compiled using Ubuntu 15.10 (My linux mint installation screwed itself all of a damn sudden)

- Compiled using custom Linaro 5.2 toolchain (The alphas were being compiled using the official / generic toolchain, this one uses a Cortex-A7-optimized toolchain)

Download links: Original | Lite

Happy New Year to everyone!!! :D
[Moto G Android Development] kalafior12:
What did you do? :) Mint is very stable:)

Wysłane z mojego LG-D855 przy użyciu Tapatalka
[Moto G Android Development] Haggster66:
Working very well (lite). I've stopped using kernel audiutor or any other tuning app now since the kernel settings match my old settings anyway. Feels cleaner that way.

I think with the previous kernel version I had one single random reboot; let's see how long the phone will be running stable with this new one. btw, you must've released one of the first 2016 kernels worldwide :)
[Moto G Android Development] LeoKesler:
First time trying your kernel. I have an issue with wifi. It connects OK, but with a "N" network, it is slow. But if I connect to a "G" network, it works fast.

With N network, I get 150-300KBytes/s Download and 1MByte/s Upload. And 300-500ms ping.

With G network, I get 3-4MBytes/s Download and the same speed to upload. And 3-8ms ping.

No issues with stock kernel.

(I have a 50/30 connection, Live TIM)
[Moto G Android Development] :
I have noticed some issues with the last build. Some settings in the init.kaminari.sh aren't being set, like zen i/o scheduler defaults to row, and Impulse governor defaults to interactive. I also wonder why the supposed lmk "tweaks" are stock values except for the minfree kb's which is set to 2867 and stock is 2857. Adaptive lmk is the only tweak. I also get a bootloop when I change almost any settings. It's pointless to have so many unusable settings. I think this kernel has gone down hill since V1.1.1 and I keep ending up going back to that version.
[Moto G Android Development] DoctorStrange96:
I'll look into that. Maybe i'll remove a few stuff as well.

The governor override issue was supposed to be taken care of using a modified init.qcom.post_boot.sh. About the i/o scheduler override, i also have that issue here and i've yet to find the exact cause (maybe it's something in the ramdisk?).

About the bootloops, i'm gonna need a logcat.
[Moto G Android Development] DoctorStrange96:
Err... Another update is available. I guess this one should be the final 1.2 release, but I was too hurried and released that one instead :p . So this'll be our first point release.

Download

Some important changes have been made, so i suggest you flash the stock kernel (dont skip this step!) and clear your kernel tweaker app's data prior to flashing this! Go take a look at the changelog.

And also, the Lite version is now discontinued, since most of the "bloat" (at least for me) has been removed from the original version.
[Moto G Android Development] DoctorStrange96:
And also, the kernel is now XZ-compressed because my uploading speeds are slow, so the zips need to have a small file size. And I did a test here, and it still boots up faster than the stock kernel, which is LZO-compressed. So yeah. We'll stick with XZ from now on.
[Moto G Android Development] Haggster66:
can anybody check the default zram size for this latest version?

I checked directly after installing and it says 250MB - isn't it supposed to be 400 now?
[Moto G Android Development] DoctorStrange96:
Oh, i forgot to say that i reverted that as well. It should be 250 ;)
[Moto G Android Development] abeloman:
Hi king, I have a problem... Since I use GPe with /data f2fs, I won't be able to boot if I install stock kernel (from GPe)... So what should I do?
[Moto G Android Development] DoctorStrange96:
You don't need to boot the rom. Just flash the stock kernel and flash my kernel after it. And then reboot to system
[Moto G Android Development] gabling23:
Is anyone using this kernel with the optimised rom from lost101?

If yes is this any good paired with those rom (in battery life, stability and performance)
[Moto G Android Development] kalafior12:
It is the good combination for daily driver.

Wysłane z mojego LG-D855 przy użyciu Tapatalka
[Moto G Android Development] GarbeVR:
I am using the combination you asked: Optimised 5.1 Stock ROM (EU) and KaminariKernel v 1.0.6r2 with OC [MENTION=1247388]1.6[/MENTION]GHz and DT2W feature... IT'S all good, battery life is equal as stock (even better, depending on settings you choose) and I have a very smooth usage experience with more than 22k points on AnTuTu when needed
[Moto G Android Development] DoctorStrange96:
Updated the kernel to v1.2.2!!

Download

Changelog:

- SELinux set back to Enforcing

- Disabled AutoSMP hotplug

- Re-enabled MSM Hotplug
[Moto G Android Development] DoctorStrange96:
Updated the kernel to 1.2.2 Revision 1!

This build fixes a potential issue with ADB on the latest TWRP release. Plus it fixes the broken "adb root" command, and restores the stock behavior (adb root will refuse to run).

Please flash your rom's stock kernel (don't reboot to system yet!) and flash this zip right after (and only then you can reboot).

Download
[Moto G Android Development] madman:
I have noticed that since couple of last releases has a behaviour about minimum frequency fluctuating constantly... I observed this in kernel auditor (without any settings active).. Is this expected behavior?
[Moto G Android Development] DoctorStrange96:
Yes. It's cpu-boost's input boost doing its job. But you can disable it if you want to (you just need to set the input boost frequency for each core to "disabled"). Although i recommend against this, as it may cause lags.
[Moto G Android Development] madman:
Actually I have been noticing good amount of lag in recent build myself without any settings in kernel auditor.. I just changed io scheduler to sio and read ahead to 256... Will try to undo those settings and see if it makes any difference
[Moto G Android Development] abeloman:
Can you get back selinux permissive? Please, I'll be very thankful
[Moto G Android Development] fippo7:
yeah also me it's pretty lagging
[Moto G Android Development] bhumik147:
Fixed OTG for me

Updated to = 1.2.2 Revision 1 from 1.1

Solved : OTG not connecting issue . Thanks!

I hope this report helps
[Moto G Android Development] DoctorStrange96:
Yeah the phone can be laggy as hell during startup. Idk why.

Regarding the settings, i recommend that you keep the read-ahead size on 128kB and use the zen i/o scheduler (idk why the hell Motorola decided to use row). You're free to use any setting you want though.
[Moto G Android Development] DoctorStrange96:
Are you having any problems related to enforcing selinux? I'll only change it back to permissive if a considerable amount of people report problems with the new setting. Otherwise i'll keep it on enforcing - which is the recommended setting anyway.
[Moto G Android Development] madman:
Is adaptive LMK really helping? Any observations? I occasionally see music apps getting killed and relatively the same background killing.
[Moto G Android Development] :
I think performance is better with it disabled.
[Moto G Android Development] DoctorStrange96:
Updated the kernel to v1.2.3!!!

Download

Changes:

- Reverted to Linaro 4.9.4 toolchain

- CPU-Boost is no more (Was causing some unneeded frequency spikes even while the device was idle)

- Powersuspend is no more too (To avoid conflicts with the state notifier)

- Default governor changed to Interactive

- State Notifier updates

- Miscellaneous changes (Check the sources)

Note: Guys, don't blindly trust the default settings, thinking that they'll do miracles. You should tinker around with the available features and create your own setup, and see if you get better performance and/or battery life.

Edit: Credits to flashhhh, hurtsky & others for some of the changes. (Always them :p )
[Moto G Android Development] Haggster66:
yeah, not a fan of the adaptive LMK. I got better multitasking performance before it was introduced, so I'm keeping it turned off (plus ramping zram up to 400MB)

the rest seems to run great. started using zen as my io scheduler now due to the recommendations... is it really better than the rest? seems to work fine for now. looking at the sources, it just seems to be a modified deadline scheduler (tripndroid as well...)
[Moto G Android Development] fippo7:
so it become just like the stock kernel? or something has left from your stable from last year?
[Moto G Android Development] DoctorStrange96:
More or less. The stock kernel still has cpu-boost (although simpler than the one used by this kernel).

I guess this kernel will need a rebase, to see if i get rid of the lag issues
[Moto G Android Development] fippo7:
i want to report you that this update male it unstable infact it boot normally but after 20-30 seconds it pursuit rebooting

edit: in 1 january build there wasn't true lags that ruined daily usage

edit 2: it is a problem with the new twrp, i rolled it back ti the previous version
[Moto G Android Development] :
First of all it is a great kernel but i would like to throw some light on few points-

1.sir , faux sound and intellithermal were great but nowadays devs are ditching

them.

Because you can't change sound_control values via init.d, for full control you have to buy sound control app. Other apps except trickstermod does not lock sound setting bcoz faux implemented something like checksome firewall and you have to run java code for calculation. And for intellithermal nowdays quad CPU rarely goes beyond 60c.

2.our stock kernel is already great it just needs optimizations not features otherwise they become bloat.

3.all tweakable parameters should be changeable via init.d

Current version feedback- 1. Init.d is working otherwise I have to write at postboot.sh.

2.can't disable adaptive lmk via init.d so have to write at postboot.sh

3.can't change zram values via init.d , everything else working good.
[Moto G Android Development] DoctorStrange96:
I'll note down these suggestions and keep them for the next version (it'll likely be 1.3, but if someone manages to get a working Linux 3.10 port, that'll be our Kaminari 2.0 ;) ).
[Moto G Android Development] rodsayd:
Guys, I installed this kernel because my power button is broken and I needed a way to wake my phone. But now I need a way to put it to sleep, where or how can I get for example a "doble tap on status bar for sleep" feature? I'm on stock ROM. Thanks for the kernel [MENTION=5736790]kingkaminari[/MENTION]
[Moto G Android Development] :
You'll need Xposed and Gravity Box or something with that option.
[Moto G Android Development] DoctorStrange96:
I'll give you guys a preview build of 1.3. This one has less features (no dt2w, only one hotplug, no additional governors, no intellithermal, no faux sound...). But first i'll test it here.
[Moto G Android Development] DoctorStrange96:
And also, there's a linux 3.10 port wandering around the interwebs. If i deem it usable/bootable, that'll be the base for kaminari 2.0
[Moto G Android Development] DoctorStrange96:
Here's the preview build.

Changes:

- Built from scratch

- Compiled with Linaro 5.2

- Bricked Hotplug is the sole hotplugging driver

- No more additional governors

- No more DT2W

- No more Intellithermal and Faux Sound

- Kcal is still here

- CPU-Boost is back with some very basic options

- USB Fast Charge is gone

- Adaptive LMK is gone

- No additional I/O schedulers (these will be re-added later)

More builds coming later.
[Moto G Android Development] Snowers96:
Why no more DT2W?
[Moto G Android Development] DoctorStrange96:
We're still in the test builds stage. I might add it back
[Moto G Android Development] abeloman:
Get back permissive please... I use some xposed modules which need it... TIA
[Moto G Android Development] :
It can easily be set to permissive without it being added in the kernel.

Edit: try this, thanks to [MENTION=5514152]Paget96[/MENTION] for the script. Just flash it in recovery as long as you are using SuperSu it should work fine.
[Moto G Android Development] DoctorStrange96:
New test build up!

Changes:

- Added CPU governors: Bioshock, Dancedance, Darkness, Impulse, Intelliactive, Lionheart, Smartmax, Yankactive, Yankdemand

- Added I/O schedulers: bfq, fiops, vr, sio, zen

- SELinux set back to permissive (Forcefully. Don't try to change it back to enforcing.)

- GPE+F2FS / stock+Ext4 support is added differently now

- Init.d support is also added differently now, and should be fixed now that the custom busybox binary is back

No, guys. There's no DT2W in this one.

I think that the feature set is mostly complete. We won't have any more hotplugging drivers, nor faux sound, nor intellithermal. I'm still unsure about dt2w.
[Moto G Android Development] :
I hate to say it, but if dt2w is left out, I may stick with an older build. I've grown quite find of it and never have any issues from it.
[Moto G Android Development] DoctorStrange96:
Err... New test build! This one brings dt2w back.
[Moto G Android Development] :
Thank you very much sir. The last build seemed pretty good, I like the Yankdemand governor. Something was giving me a bootloop until a hard reset or 2 though and unfortunately I'm waiting for a new CPU for my desktop and ram for my laptop so I can't get a logcat right now.
[Moto G Android Development] DoctorStrange96:
Check if you have any broken xposed module (if you use xposed) or something. We shouldn't have any bootloops here. I suspect it might be either the custom fstab (if you're on gpe with data using f2fs or if you're on stock with data using ext4) or init.rc, or init.qcom.post_boot.sh. If you have another bootloop, and if you manage to get a logcat, please do send it to me. I'll look into it.
[Moto G Android Development] koshikas:
if i were you i would look into two options. one is look for sweep2wake option possibly in this kernel as alternative to dt2w (sweep2wake usually comes with sweep2sleep functionality).

if that is not included i would install an app to invoke sleep rather than install xposed module. there are plenty of apps for that in playstore