yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy Note5] madsquabbles:
It may be a pain carrying and extra device, but you could achieve this with a TL-WR802N nano router. Grab an external battery pack and you'll be good to go. It supports WISP.

I use one at home to switch between tether and wired connections easily. I used it mainly for my Karma Go, but after they reneged on how they were marketing I use it for the phone. My boss even emailed Karma asking if it was ok to hook up a router and their response was that they didn't have a way yet, but if he figures it out let them know.
[Sprint Samsung Galaxy Note5] imaDG17:
I am also having the same issue trying to play rainbow six seige on PC with my s5 (rooted) over hot spot. Cannot seem to get an open NAT

I have tried a few rooted apps, including wifi tether router (this app even had a DMZ zone option, but no luck)

I have an app that allows port forwarding, but I do not understand the difference between source and destination ports.

I believe this could be achieved if I port forward the correct ports, but I'm currently stuck. Maybe someone here can help me with the port forwarding.
[Sprint Samsung Galaxy Note5] DataRip:
I just saw this. but I tried it out and yeah. Open nat type on every game now. Awesome
[Sprint Samsung Galaxy Note5] CSamsel11:
How does this work? Do you connect it to your Hotspot as a range extender and then connect your devices to the extender? I'm trying to get my NAT to change from Strict to Open.
[One (M8) Q&A, Help & Troubleshooting] MVZE:
I'm probably wording this wrong, but I need some help. Its kinda simple for anyone with experience in this category.

So, I am planning on getting an HTC One M8 (

Boost Mobile Version

)and I would LOVE to have CM 12.1 on it (I'd prefer CM 13, but I heard that's buggy, so let's stick with 12.1.) I have a Samsung Galaxy S III Sprint and its ready to be retired. Alas, I remember having to download a CyangenMod made SPECIFICALLY for the Sprint version, and I was wondering,

Is it the same way for the HTC One M8, or do they all use the same version? This is going to REALLY help me, so please reply and help me ASAP.

Thank you EVERYONE, you guys are amazing geniuses!
[Moto G Android Development] DoctorStrange96:
This project is no longer being maintained. I'm no longer developing for the G1/G2 family.

KaminariKernel​

#include "std_disclaimer.h"

/*
* Your warranty is now more void than it already was.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will simply grab my popcorn and laugh at you.
*
* Tl;dr: if your device crashes and burns, and if that gets you in trouble, it's entirely your fault. [STRIKE]Might be my fault as well, because I'm not a developer, but I don't care. lol[/STRIKE]
*/

Hiya fellas.

This is a sister project to my original (and ridiculously outdated) kernel for stock ROMs only. The version in this thread is the one designed to work with anything that isn't the stock firmware, i.e., AOSP, AospExtended, LineageOS, Resurrection Remix,... You name it. Even MIUI, which can be a b**** to get custom kernels supported on.

XDA:DevDB Information

KaminariKernel (AOSP/LineageOS, Falcon), Kernel for the Moto G

Contributors

kingkaminari

Source Code: https://github.com/Kamin4ri/KaminariKernel/

Kernel Special Features:

Version Information

Status: Abandoned

Current Stable Version: R12

Stable Release Date: 2018-03-04

Created 2016-01-13

Last Updated 2018-05-17
[Moto G Android Development] DoctorStrange96:
Reserved
[Moto G Android Development] DoctorStrange96:
Okay... Last reserved.
[Moto G Android Development] DoctorStrange96:
Our first test build is up! Link is at the OP.

It's still a very early test build and it may (and probably does) contain issues (serious or not). You've been warned.
[Moto G Android Development] DoctorStrange96:
This build should fix PowerHAL not being disabled.
[Moto G Android Development] n0ts0smart:
Great work. Zero bugs in the short time since flashing. Thanks.
[Moto G Android Development] BhavikRB:
Hello King Kami Nari , , , Kami nari Kami Nari

What hotlplug is provides in your kernel ??

King Kami Nari
[Moto G Android Development] DoctorStrange96:
MPDecision.
[Moto G Android Development] BhavikRB:
Sir King Kami Nari ,

Have you modified Interactive ?
[Moto G Android Development] espaciox99:
Lol? xd :P

So far so good with the kernel thanks!
[Moto G Android Development] sfoot13:
[MENTION=5736790]kingkaminari[/MENTION] Wow, finally! flashing it right now, thank you so much!

I hope to see the rest of the features present on 5.1 here on M :D and Thank you so much!
[Moto G Android Development] espaciox99:
[MENTION=5736790]kingkaminari[/MENTION]

Will not let me change the minimum frequency of the CPU whenever I lay below 787 MHz to 5 minutes switches to the same, Tube to disable the "MPDecision" so that the frequency is not changed (sorry my english im use google traductor)
[Moto G Android Development] DoctorStrange96:
Yeah :p . There's this little derp with the dates lol
[Moto G Android Development] DoctorStrange96:
Didn't have that problem here. My phone's minimum frequency stays at 300MHz all the time. Try another governor. And don't disable mpdecision
[Moto G Android Development] DoctorStrange96:
No. Interactive has been left untouched.
[Moto G Android Development] DoctorStrange96:
If you come from Hurtsky's Hybrid Kernel or Flashhhh's Optimus Kernel, don't forget to re-enable MPDecision - just rename /system/bin/mpdecisionbak to /system/bin/mpdecision.
[Moto G Android Development] espaciox99:
Try and several governors and feel the same, the only solution is to disable "MPdecision" :(

EDIT: The problem is when you lock the phone, no matter how infrequently the minimum of changes to 787mhz cpu :( and if I turn off the mpdecision not happen
[Moto G Android Development] n0ts0smart:
I actually was having a similar problem to this not long ago but not this particular kernel.

Just fooling around I found that if I flashed any kernel after rebooting system I would have the problem you described, however if I flashed the ROM, Gapps, and kernel in recovery all together before initial boot everything works as it should.

Not sure why this is but I have experimented and it is the only solution I have found so far.
[Moto G Android Development] FernandoJjr:
Kaminari, you kernel has a problem with the instalation binary (show me a error in TWRP)
[Moto G Android Development] SalarX:
Can you grab the screenshot? (volume down+power button in twrp, thr rightmost button on navbar shows logs.)
[Moto G Android Development] ipwrslv:
I can confirm same error message when trying to flash latest kernel
[Moto G Android Development] koshikas:
i'm speculating that this has something got to with you guys flashing the file not in '/sdcard/' but in the '/sdcard/Downloads/' directory/folder. traditionally this has always caused errors with Kamerneri Kernels while loading modules.

so flash the files while they are in '/sdcard/'
[Moto G Android Development] ipwrslv:
Nope, I'm flashing directly from sd card
[Moto G Android Development] DoctorStrange96:
Try this.
[Moto G Android Development] ipwrslv:
This one flashed succesfuly

edit: no wifi after flashing, before you ask - I've flashed it directly from sd card, always does.
[Moto G Android Development] DoctorStrange96:
Here's an old R3 beta. The final R3 should come later today. I only need to merge cm's latest commits.
[Moto G Android Development] DoctorStrange96:
Kernel updated to R3. Same thing as the old beta but with cm's latest patches.

This is for aosp 6.0.1 / cm13 only. Cm12.1 guys please wait a bit longer.

Edit: I forgot to say that the download link is in the OP. My bad.
[Moto G Android Development] NinjaFlood:
Awsome work, k4mi. Running great so far, zero issues.

Tuned it a bit and got 5 hours SOT on a normal day usage.

Only WiFi, Snapchat and Whatsapp, Spotify over bluetooth, Netflix and Tuga Browsing.

MM Vanir ROM.

Row 128 I/O scheduler, 64/128 R/W entropy. Balanced Govtuner Mod.

Edit: awsome SOT.

¿Is it draining battery before entering to deep sleep?
[Moto G Android Development] giboto91:
Thanks for your work, i really like your kernel. Its have good battery life and performance. Good to see you still working for our beloved moto g
[Moto G Android Development] zeratos:
Can I overclock CM13 with this kernel?
[Moto G Android Development] Guillosd:
Can you post images of kernel configs? Or a link to them?
[Moto G Android Development] NinjaFlood:
Stock config but I set the I/O scheduler and the entropy like I wrote before. Also I switch between balanced and battery govtuner mod profiles.

Note that I only used the phone indoors to get those almost 7 hours sot. 100% of the time I was on WiFi, I did nor recieve 0 calls, and the GPS was always off.

If i go outside I'm getting 4-5 hours sot on an every day normal usage.
[Moto G Android Development] DoctorStrange96:
For those of you who have a daredevil spirit and decided to flash the unofficial CM14 builds, imma tell you guys something: A test build is bound to come. I'll wait till the rom gets less buggy (read: at least 75% or 80% daily-driver material). The CM14 kernel will use a CM14 base (duh) and will have pretty much the same feature set the CM13 version has (it will depend on the compatibility between the existing modifications and the new codebase).
[Moto G Android Development] Guillosd:
Osum
[Moto G Android Development] Maxnoodle:
can i have little help for my problem with this kernel on my motog1° with cyano13 08/07 since I installed the kernel I slowdowns problems and cpu always 100 %

clearly confident in the excellent functionality of the author work :)

someone who can give me some advice to solve ? because now I find myself with continuous reboot >_>

I repeat: it will definitely be something that conflicts and not on the good work he did Kamin4ri
[Moto G Android Development] DoctorStrange96:
First R4 beta is available.

Changes:

Those who want an overclock ready version, hold on a bit.

Download
[Moto G Android Development] DoctorStrange96:
After nearly a month later, the second R4 beta comes.

Changes:

1. New source (forked off of the CM14 kernel, so it works with Nougat-based roms now)

2. Applied some patches from kwoktopus

3. Nuked mpdecision and cm's powerhal, replacing them with autosmp (from hurtsky's kernel)

4. CPU boost is back (because powerhal is gone)

Download

For those of you who didnt like changes 3 and 4, download this alternative version. It has good ol' mpdecision and powerhal untouched.
[Moto G Android Development] FernandoJjr:
Wow, thaanks for this amazing update. Will test right now.

Cheers.
[Moto G Android Development] tonibm19:
Peregrine

No CM14 peregrine version? :(
[Moto G Android Development] DoctorStrange96:
Is CM14 even available for peregrine? (Just asking, mate. xD)

A peregrine version is in my plans. Someday its gonna see teh light of day :p
[Moto G Android Development] tonibm19:
Yeah, it is.

http://xdaforums.com/moto-g/4g-development/rom-cyanogenmod-14-0-t3469103

Well, do it if you want.

I'm sad we have no 7.0 custom kernel at the time, and only one 6.0 custom kernel for CM.

Peregrine lacks custom kernels.
[Moto G Android Development] DoctorStrange96:
I'll do it. No ETA, but i will
[Moto G Android Development] TheXorg:
Will you add overclock to the CM14 version?
[Moto G Android Development] Pierre2324:
Works on aosp 7?
[Moto G Android Development] DoctorStrange96:
affirmative
[Moto G Android Development] Hiraethic:
i was on vanir mm.Decided to give this a try.So i made a nandroid twrp backup.now after flashing the kernel ,i cant restore the backup.It gets stuck at boot.bootloop that is :/
[Moto G Android Development] DoctorStrange96:
Try to get me a logcat, if you please. It works fine on my phone. Official CM13 though.
[Moto G Android Development] Hiraethic:
I flashed the ROM again and started from scratch.

On that ROM I had flashed a keyboard zip and had changed boot animation manually,could that be the reason?
[Moto G Android Development] DoctorStrange96:
Probably. Check if your build.prop has been messed with. My kernel definitely doesnt touch it.
[Moto G Android Development] Hiraethic:
as i said i flashed rom after resetting so everything fine now.

although if u want a logcat after the nandroid restore that was leading to bootloop,i will upload,just tell me how:p
[Moto G Android Development] DoctorStrange96:
Just a quick note regarding CM14.1. I believe R4 beta 2 should work with it. I havent' had time to test CM14 yet so i'm not completely sure
[Moto G Android Development] DoctorStrange96:
I'm glad to announce that the final 4th release is ready. Here it is.

Not much has changed from the last beta, except some wi-fi driver patches. This release should also work with CM14.1.

Note: The Normal and Alternative versions' hotplug setups have been swapped. This means the Normal version has mpdecision & powerhal; the Alternative version, autosmp & no powerhal. Alt version is coming soon.
[Moto G Android Development] DoctorStrange96:
Probably not. I've been having a hard time making it work
[Moto G Android Development] Orlando2434:
Hi friend, I have seen in different forums that recommend your kernel greatly! I would be grateful to know what time of "normal" use of approximate battery has the Moto G Falcon. I'm using a completely new battery and that that part is no problem. And I also like to know the sound quality using headphones! Excuse my English, I am using a translator >. <!
[Moto G Android Development] DoctorStrange96:
Today we'll have two releases (5 and 6).

R5 will be the last release to work with Marshmallow. R6 and later releases will work only with Nougat. The M source will be available as the "marshmallow" branch if any of you guys want to build the kernel yourselves.

R5 changelog:

- Reverted a fair bunch of commits which were intended only for Nougat

R6 changelog:

- Based on R4 but sync'ed with CM14.1 upstream

Links coming when the releases are ready.
[Moto G Android Development] DoctorStrange96:
Hey you lot, bad news. Ran into some problems with my linux installation and will have to reinstall everything. But i'll wait till fedora 25 is out (which should be next week). The ubuntus simply dont work properly with this grandpa PC i have here (old, integrated graphics card, you know. No hardware acceleration). I'm thinking about giving arch linux a try, but i'm not sure yet I'll give linux mint a try. If i like it, i'll keep using it, and builds should be out soon
[Moto G Android Development] DoctorStrange96:
Change of plans. Now, there'll be M and N releases (for 6.0 and 7.0). The new naming scheme is "Rx.y-z", where:

R - "Release", obviously

x - major release number

y - minor release number (used only in case of emergency revisions)

z - either "M" (for a marshmallow release) or "N" (for a nougat one)"

You will not try to install an N release to a device running marshmallow or vice-versa. Even if you try, the installation will fail. I'll include a compatibility check for that.

New builds shall be coming 22 November or later (or whenever Fedora 25 is released. Read previous post).
[Moto G Android Development] DoctorStrange96:
Good news. I've got a working linux installation again (Xubuntu 16.04.1). Im cloning my repo right now. Builds shall be out later today (or tomorrow if im feeling too lazy or if something important pops up).
[Moto G Android Development] rokban:
I found version r5 in your android filehost , which I flashed and running smooth :)
[Moto G Android Development] DoctorStrange96:
Our fifth Marshmallow release is now ready. Code-wise, its the same thing as the R5 zip some of you guys downloaded from my AFH folder. But i've put a compatibility check into the flashable zip, so it'll install if - and only if: your phone is a Moto G (duh), your phone has a Marshmallow rom installed, AND your phone's rom is NOT idcrisis. Same goes for the N releases: they'll only install on Nougat.

The check isnt entirely secure (one can still spoof their Android version via modified /system/build.prop), but fair reminder: its not gonna be my fault if your phone crashes and burns because you circumvented the bloody test and installed an N release into a device running M (or vice-versa). You've been warned.

Downloads:

- Standard version (MPDecision + PowerHAL)

- Alternative version (AutoSMP, no PowerHAL)

Note: Don't try enabling MPDecision if you're using the alternative version. It won't work.
[Moto G Android Development] DoctorStrange96:
Peregrine owners, rejoice! KaminariKernel is now available for your phone too!
[Moto G Android Development] DoctorStrange96:
Our first Nougat-only release is ready! And since its the very first, it will be called R1-N.

This build's feature set is identical to that of the latest M release. But as I said earlier, this build will only install on phones running Nougat.

Downloads:

- Standard (MPDecision + PowerHAL)

- Alternative (AutoSMP, no PowerHAL)
[Moto G Android Development] aldanopolis:
Hi, thanks for your amazing work. I tried both nougat versions, but after flash reboot to fastboot

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] JuanHZ96:
What happen? :confused:

Running Dirty Unicorns 7.0 release 20161120
[Moto G Android Development] ArjunSindhya:
Same problem on AOSP 7.0
[Moto G Android Development] aldanopolis:
Because SDK version

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] DoctorStrange96:
Dont download the Nougat zips. I forgot to build the proper dt.img, and the compatibility check is broken, as reported by you guys.

Ive gotta get me some sleep (5:10AM here). I'll try and get those issues fixed in R1.1.
[Moto G Android Development] Allstargaurav:
How to uninstall the kernel?
[Moto G Android Development] hhp_211:
Simplest way is to dirty flash the ROM that you are running.

That will reinstall the kernel included with it.
[Moto G Android Development] DoctorStrange96:
Kernel updated! Versions R5.1-M and R1.1-N.

These revisions should:

[Both releases] Fix broken compatibility check (works only on CM)

[N only] Fix wrong dtb problem

Links at the OP.
[Moto G Android Development] Allstargaurav:
What is the difference between standard and alternative version? Which should I flash?
[Moto G Android Development] DoctorStrange96:
Standard uses mpdecision + cm's powerhal. Alternative uses autosmp (from hurtsky's kernel) and has powerhal disabled.
[Moto G Android Development] DavidKirsch:
Sorry, but I didn't find on google exactly what PowerHal does, could you explain me, or just tell me which is better for performance?
[Moto G Android Development] TheKsprx:
Does any of the two versions have OC? I installed alternative version and don't see the option in kernel adiutor.
[Moto G Android Development] DoctorStrange96:
Kernel updated to R6! (Marshmallow only)

The only change is that the kernel is now compiled using the Uber toolchain instead of Linaro.

The N zips will come later. I'm too damn sleepy right now. And you'll find the links at the OP.
[Moto G Android Development] cris_webb:
Quick question.

In the latest version of Nougat release come with the other governors mentioned in the OP?

Like smartmax, dancedance, zzmoove, etc?
[Moto G Android Development] Allstargaurav:
Does it support double tap to wake?
[Moto G Android Development] DoctorStrange96:
R2-N is now up. Like R6-M, it was compiled with the Uber toolchain. And the compatibility check is fixed (I hope).

To anyone who downloaded the alternative R6-M zip, please redownload. Install script error in the first zip.
[Moto G Android Development] portagira:
In terms of performances which kernel is better? Alternative or standard?
[Moto G Android Development] methuselah:
It is depend on your personal preferences. Just flash out and check yourself
[Moto G Android Development] Guillosd:
Its not personal preferences, but no one knows how to tell wich is better
[Moto G Android Development] anzhaki:
I flashed both version on krexus rom and didn't find any difference on daily use.
[Moto G Android Development] DoctorStrange96:
Sup guys! I'm back. (Sort of, at least)

Here's a new test build. This is for both Marshmallow and Nougat, built from my latest Nougat source code. If it works fine on both, then there will no longer be separate M and N builds. At least until some CM commit screws everything up.
[Moto G Android Development] Fedray:
Good to see you back. Change log? Testing peregrine version.

Enviado desde mi XT1040 mediante Tapatalk
[Moto G Android Development] DoctorStrange96:
Synced with latest CM code.
[Moto G Android Development] DoctorStrange96:
And here's another test build. With this one, I followed kwoktopus' path and started using gcc 6.x. (Kudos to him for discovering that our 3.4 series kernel can be actually built with gcc >= 6.0 without applying too many hacks :D )

This has been compiled with Linaro 6.2 (gcc version 6.2.1) and has a bunch of patches from kwok's kernel as well. No issues so far.

Peregrine versions will be posted on their own thread.
[Moto G Android Development] Fedray:
I'm using the peregrine version you released for the past day and working so good without problems, did my own settings with kernel auditor and getting insane battery life with a really good performance, good job! What changes with the version you will release later for peregrine o the one you released for falcon? I did read but I mean in terms of performance. Thanks a lot.

Edit: I don't have CPU Hotplug option in Kernel Adiutor or Kernel Toolkit. Intentional? Peregrine version.

Enviado desde mi XT1040 mediante Tapatalk
[Moto G Android Development] Aguys:
Nice bro, excellent performance:good:
[Moto G Android Development] :
kamin4ri script not working as init.d not working in cm14.1 and even script at sbin or init.rc not working ,only work on permissive selinux and permissive selinux is big security hole.
[Moto G Android Development] DoctorStrange96:
Thats quite expected. We all know selinux can be (and most of the time, it is) a right pain in the ***. You might want to use Kernel Adiutor ;)
[Moto G Android Development] DoctorStrange96:
As you may all know, CyanogenMod is no more. And since my kernel's source tree was forked from CM's, I do not know what will happen next. The msm8226 kernel repo is still available, but I don't know how long it'll stay available for. If it's eventually taken down, I'll have to fork the kernel tree off of LineageOS (if they create an msm8226 kernel repo) or some other rom.
[Moto G Android Development] BryanByteZ:
LOS already have our repo in but I still forking cm repo just in case.
[Moto G Android Development] DoctorStrange96:
Good. I'll be rebasing the kernel upon Lineage's sources then.
[Moto G Android Development] BryanByteZ:
From what I've seen the LOS source is the same as the zombie CM so I've cancelled the backup. (But some changes still going up on old CM).
[Moto G Android Development] DoctorStrange96:
Happy (belated) New Year, guys!

Here's a new build. Like the previous test build, it's unified Marshmallow/Nougat.

Downloads:

1. Standard

2. Alternative
[Moto G Android Development] DoctorStrange96:
And now, read this message (or would it rather be an appeal?) from your developer.

You know, working on this kernel can be (and most of the time, it is) time-consuming. Updating sources, checking for bugs, waiting for the builds to finish... It all takes a fair load of my time. I do it all by myself, with my 7 yr old computer (it's old, but faster than my absolute POS laptop, and does the job fine). But my computer will die someday lol.

My phone is also old, I have it for a bit more than two years now (purchased it new in late 2014). It already sustains a fair load of damage (broken SIM1 slot, malfunctioning USB, cracked screen). And I feel I'll be in need of a new phone relatively soon.

So... If you wanna help me out, send a donation my way. Every dollar (or Real, or Euro) means a lot to me. You'll find the donation links in my sig ;)

Thanks a lot! And once again, Happy New Year to you all!