yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] Hb20032003:
Can we flash the unified version on RR as the zip name says AOSP? Which version should I flash then?

(Sorry I am new here)
[Moto G Android Development] johan111:
I have flashed unified alternative version today morning and it works like a charm on RR, so go ahead.
[Moto G Android Development] DoctorStrange96:
For those wondering/worrying about LineageOS compatibility: Fret not. The kernel will work with Lineage too.
[Moto G Android Development] DoctorStrange96:
A wild test build appeared! This one has:

- Overclock (the old method, up to 1.6 GHz)

- AutoSMP and cpu-boost instead of mpdecision and powerhal (I'll explain why I disable them in another post)

- Extra cpu governors from hurtsky's old valkyrie kernel (impulse, smartmax, yankactive, zzmoove)

You might need to mess around with the governor tunables to get good results. You should give GovTuner a try.
[Moto G Android Development] DoctorStrange96:
And now explaining why I do away with mpdecision and PowerHAL:

1. Mpdecision wasn't designed to work with anything but interactive and the stock frequencies. Try changing governors and/or min/max frequencies and mpdecision will bork and fail to turn CPU cores on/off.

2. PowerHAL: same as above. Only works with interactive. Plus, all falcon roms (and roms for other moto msm8226 devices as well) come with CM's version of it, which depends on the CMSDK. They have CM's version because, well, most if not all of them rely on CM's device tree. And some of these roms (DU, AOSP, CypherOS...) do not implement the CMSDK, so we have a "broken" PowerHAL that'll flood your logs with a message saying that no power profile was selected, because it needs a power profile to be set by some part of the SDK (haven't found which part yet). So I decided to just disable PowerHAL and enable cpu-boost instead.

AOSP- or CM-based roms which do actually implement the SDK (CM/Lineage, Vanir, crDroid...) do not suffer from this PowerHAL problem but they do work fine with PowerHAL disabled. You just won't have the power profile selection, you'll have Android's standard battery saver instead.
[Moto G Android Development] Guillosd:
I will test on Slim?
[Moto G Android Development] agofly75:
I am not able to download the last build.... dunno why?
[Moto G Android Development] DoctorStrange96:
Which one? The test build or R7?
[Moto G Android Development] agofly75:
This one
[Moto G Android Development] DavidKirsch:
Cara*** cara, melhor presente de 2017 que jï¿½ recebi kkk Eu estava querendo muito uma versï¿½o com overclock de novo, muito obrigado.

English: Best gift of 2017 so far. I was looking for this version with oc, thank you very much.

Edit: It's working on my XT1033
[Moto G Android Development] Guillosd:
Working smoothly on Slim
[Moto G Android Development] himu_joy:
sorry, a noob here just asking to know about "usb fast charge" features.

does it like charge device from computer via usb cable?
[Moto G Android Development] DoctorStrange96:
You're welcome!

De nada!
[Moto G Android Development] DoctorStrange96:
It makes your phone charge faster than it usually would when plugged to a computer.
[Moto G Android Development] DoctorStrange96:
Here's another test build. It's the same thing as the overclock build, except no overclock.
[Moto G Android Development] lucastracq:
the only difference with the R7 alternative are the CPU governors, right?
[Moto G Android Development] DoctorStrange96:
Yes. And it has GPU over/underclock as well
[Moto G Android Development] lucastracq:
ah nice, i missed that. thanks a lot!
[Moto G Android Development] justbfree:
This build with OC is just the best, with zzmove addition i just love it! Please stay on this direction, your kernel is the best for me. My phone is smooth again! Big thanks !
[Moto G Android Development] DavidKirsch:
Hi. Is just me or anyone else is having issues setting a different profile for zzmoove? I do edit the tunable but it doesn't change from "1"
[Moto G Android Development] justbfree:
I can change the profile number with no problems, i´m using number 2.
[Moto G Android Development] DavidKirsch:
Thanks, maybe is a conflict with GovTuner
[Moto G Android Development] DoctorStrange96:
For those who decided to test/use MIUI: I'm not sure if my kernel works with it. It probably does. I'll test.
[Moto G Android Development] portagira:
How can i overclock cm 13 alternative kernel? In kernel adiutor the max freq available is 1190mhz
[Moto G Android Development] DoctorStrange96:
You need a build which supports CPU overclock. I'll be uploading one soon (cant tell you exactly how soon)
[Moto G Android Development] RahulSeen:
Tested Unified Standard kernel with MiUi on falcon, bootanimation comes up and then turns into dark screen. Pressing power button soft booting
[Moto G Android Development] DoctorStrange96:
Well, it worked here. I clean flashed though.
[Moto G Android Development] Hiraethic:
I have a problem but it's not related to this Kernel. My battery acts weirdly. If I use it for 2 hours at once the battery only reduces by 25 to 30 which is brilliant. However if I leave my phone after that then the battery drastically starts to decline with sometimes reaching up to 30%.

Is this a ROM problem, a calibration problem or simply because my device is 2 year old?
[Moto G Android Development] DavidKirsch:
The build for CM14.1 doesn't work for me in the the LOS
[Moto G Android Development] DoctorStrange96:
It can be any of them. Or maybe all three at the same time.

1. Which rom are you using?

2. Have you replaced and/or calibrated your phone's battery recently?
[Moto G Android Development] DoctorStrange96:
"Doesn't work" how? Does it even install to begin with?
[Moto G Android Development] DavidKirsch:
I'm sorry my lack of details. It installs but after I boot is like it didn't installed because the kernel doesn't change. I'm going to try again to see if I can gather more information.

Edit: I did use the version KaminariAOSP_20170104.154824_Falcon_Overclock and it didn't installs even showing on twrp that it was sucessfull installed.
[Moto G Android Development] aldanopolis:
You have to put zip on /sdcard

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] DavidKirsch:
I did it.
[Moto G Android Development] Hiraethic:
CrDroid for now.

No i did not replace my battery and used lspeed calibration option some days back
[Moto G Android Development] DoctorStrange96:
Hm... It might be the calibration you did recently. Give it a few days.
[Moto G Android Development] Hiraethic:
It has been happening before that as well
[Moto G Android Development] hunting_:
good work bro great kernel

plz anyone give me a best kernel setting
[Moto G Android Development] matthias1976:
i've got those battery drops on stock cm/lineageOS kernel with android 7 too
[Moto G Android Development] DoctorStrange96:
Regarding LineageOS.

Since Lineage is essentially, basically, CyanogenMod rechristened, this kernel should work with both the old nightly/snapshot CM builds and the new LineageOS nightlies (and weekly RCs when they're ready).
[Moto G Android Development] DoctorStrange96:
Release 8 is now out!

The changes from the previous test builds (AutoSMP, new governors...) are now official. Also, this release has been tested on LineageOS and it works.

I've improved the rom detection script a bit. The following roms are now properly detected:

- LineageOS

- Resurrection Remix

- crDroid*

- AOSP Extended

- AOSiP

- MIUI

*Not sure, haven't tested

Download
[Moto G Android Development] justbfree:
OC?

Hi, is this new build with OC ? I'm on Reaper OS with your kernel but the previous OC version.

Download[/QUOTE]
[Moto G Android Development] :
Is this build having OC?
[Moto G Android Development] DoctorStrange96:
This one has
[Moto G Android Development] DavidKirsch:
This version works for me on LineageOS :D
[Moto G Android Development] :
Thanks!! Works great on AOSP Extended.
[Moto G Android Development] agofly75:
Hi, which version do you recommend with rom-aospextended-rom-v3-1 ?
[Moto G Android Development] DoctorStrange96:
R8 standard
[Moto G Android Development] Joel Oliveira:
Port to Peregrine?
[Moto G Android Development] NinjaFlood:
Are there any plans to update the IDCrisis kernel project to R8 ?
[Moto G Android Development] tomgar:
This version works with Omni Rom 7.1?
[Moto G Android Development] NinjaFlood:
Yes, it should work because Omni is based on CyanogenMod. If it gets stuck on a boot loop just dirty flash Omni ROM in order to restore the default kernel.
[Moto G Android Development] Bludwurst:
I'm using it on Omni 7.1 ;)
[Moto G Android Development] jbanti:
[/QUOTE]

Reaper Os ??

---------- Post added at 04:31 AM ---------- Previous post was at 04:23 AM ----------

Thanks Man For update.

it's for M/N??
[Moto G Android Development] DoctorStrange96:
Reaper Os ??

---------- Post added at 04:31 AM ---------- Previous post was at 04:23 AM ----------

Thanks Man For update.

it's for M/N??[/QUOTE]

Yes. All builds starting with R7 are unified until someone reports a major problem with one specific Android version, said problem being directly caused by the kernel.
[Moto G Android Development] DoctorStrange96:
Release 9 is being tested right now. I'll upload it when I see that it's stable enough to be a daily driver.

Changes:

- Rebased upon latest LineageOS sources with 3.4.113 patch

- Dt2w & s2w say goodbye (sorry guys but they haven't caused anything but trouble to me, even when disabled)

- Added Simple GPU Algorithm

- Replaced Powersuspend implementation (away with hurtsky's, replaced with faux's)

- Added Dynamic & Asynchronous Fsync from [MENTION=3332811]faux123[/MENTION]'s kernel (They're both old but they still work :p )

- More roms detected: Slim and Omni

- Updated AnyKernel 2 backend

- Kernel image now packed like in the old times (zImage-dtb)

Due to the last two changes, you'll have to flash your rom's stock kernel before flashing this release, otherwise you'll get that dreaded "Fall-through from normal boot mode" error.
[Moto G Android Development] Aguys:
Could you separate release? No dt2w one and with dt2w one... :D
[Moto G Android Development] DoctorStrange96:
That's my plan
[Moto G Android Development] DoctorStrange96:
S2W and DT2W fans, I have some news for you.

These features will be available only in the "Prime" version, which also includes CPU overclock. Despite the name, it will be available free of charge, as always.
[Moto G Android Development] hunting_:
where from i Download release 9?
[Moto G Android Development] DoctorStrange96:
It's still being tested. But I didn't run into any issues so far. Therefore, R9 will be available in a few moments
[Moto G Android Development] Klirioth:
Thank you for your work. When will it be released?
[Moto G Android Development] Guillosd:
Soon, otherwise he wouldnt have released the changelog, but you must not ask for ETAs
[Moto G Android Development] hunting_:
thats cool thanku for your hardwork:good::highfive:
[Moto G Android Development] Klirioth:
Can I use kaminare R8 in the last snapshot of CM 13?
[Moto G Android Development] lucastracq:
yes, you can.
[Moto G Android Development] Mister Muscle:
Why file name is R2 ? :confused:
[Moto G Android Development] lucastracq:
wrong one
[Moto G Android Development] DoctorStrange96:
Release 9 is now available! Sorry for the delay. Had some real life stuff to take care of.

The changelog is the same as the previous one. I also fixed some stuff (no kernel mode NEON, etc.) caused by a defconfig change on the CM side.

But what really matters is what goes below.

Downloads:

Standard | Overclocked | Prime
[Moto G Android Development] Klirioth:
Thanks for the update!:D
[Moto G Android Development] Bludwurst:
The differences being that overclocked ia, well, overclocked, and prime is both overclocked and with dt2w included, correct?

Otherwise the same?
[Moto G Android Development] DoctorStrange96:
Correct
[Moto G Android Development] lucastracq:
it could be the almighty power of suggestion, but this feels a lot faster. thanks a lot!
[Moto G Android Development] sideswipeer:
I would suppose so, deciphering from what the Op posted.

Thanks for the update!
[Moto G Android Development] Ann.Vogelfang:
Downloaded standard one and so far is working great!
[Moto G Android Development] EpochVoyager:
Where are the all the other Zzmove profiles? ZZ Gaming would be an amazing addition to this.
[Moto G Android Development] DoctorStrange96:
Dunno if any of the other falcon kernels has updated zzmoove. My kernel's version comes from hurtsky's kernel, which hasn't been updated for quite a fair amount of time
[Moto G Android Development] GeekyTanuj:
special request to kingkaminari;(

Can u please , please make a custom kernel for the Moto x 2013 1st generation since in one way or so,we have been plagued by the battery life troubles at times since after the lollipop update!

Suggestion:-work well appreciated in Advance if u make the custom kernels for the 6.0 and 7.1+ based roms(like aosp,xperience,lineage), waiting for your positive response!

Already fan of ur work for the Moto g (user of I'd crisis 6.0) btw ur kernel gives my Falcon a great,monstrous battery life and he couldn't even kill it by the end of the day!????✌
[Moto G Android Development] Bludwurst:
Turns out I cannot read. Ignore this.
[Moto G Android Development] DoctorStrange96:
I cannot develop a custom kernel for a device I don't own. Sorry about that.

I made an exception for peregrine (Moto G 4G) because it's essentially a falcon (Moto G) on light steroids. Ghost is totally unfamiliar for me (different chipset, et cetera).
[Moto G Android Development] DoctorStrange96:
I believe some of you might have experienced random reboots - myself included. Whilst searching for the root cause, I saw that /proc/last_kmsg was present - which is indicative of a kernel panic. And analysing the file led me to conclude that the reboots were caused by the MSM watchdog. What causes the watchdog to reboot the device, I still don't know.

Causes:

1. Kernel panic without stack trace (probably a "bark timeout", according to the MSM watchdog documentation)

2. Hard reset with stack trace. last_kmsg shows a line similar to this: "CPU0: TZ: Non-secure watchdog bite". Documentation refers to this as a "bite timeout".

I have tried disabling all build optimisations in a private build (possible public R10 beta), but to no avail. Shortly before writing this post, a random reboot (of the first type - kernel panic / bark timeout) occurred. I believe the problem is at the base (LineageOS) sources. Can someone here test the stock kernel which came with your ROM, or another LOS-based kernel?

Here's the last_kmsg from the latest random reboot. I'll be appreciated if somebody more technically knowledgeable sheds me some light here.
[Moto G Android Development] BryanByteZ:
No random reboots on stock LOS kernel from RR N. I am testing a lot of kernels/ROMs because of battery draining too fast without reasons( I've tested CrDroid, XOS and a few others).
[Moto G Android Development] DavidKirsch:
I don't know if that will help, but, even though that I had some random reboots with your kernel and with the Evolution Kernel (around 1 per day) I don't have the file /proc/last_kmsg.

I think I just had one reboot in a week with the ZER0 Byte Kernel. What could be consequence of the OC that I'm using at 1.6 :)

I do have tomorrow kind of free, so if there's anything that I can do to help. I could use the original kernel but since I'm not having reboots with the ZER0 Byte kernel I don't think that with the stock kernel I will.

Add Info:

lineage-14.1-20170321

open_gapps-arm-7.1-pico-20170323

Busybox-1.26.2-YDS-ARM

ZER0+Byte+Kernel+r2+CM13-14.1+N+Falcon+2017-02-05

GovTuner_3.9.2_Beta_9

SR3-SuperSU-v2.79-SR3-20170114223742

I'm also using Kernel Adiutor Mod and L Speed alpha

PS: [MENTION=5842893]BryanByteZ[/MENTION] Test the latest alpha from L Speed with GovTuner, their ramp down on the frequences of the processor is very good and may help on your battery life.
[Moto G Android Development] BryanByteZ:
Thanks for the tip i will try.
[Moto G Android Development] hadi_rena:
I'm using LOS stock kernel and sometimes got random reboot, i can provide logs or etc but don't know how to do it.
[Moto G Android Development] Urbs97:
I'm using crDroid 2.5 which is based on LineageOS.

And i'm also getting reboots but only every time when my phone is charging and reaching 100% (very weird).

Now i'm searching for an Kernel which can fix this ^^
[Moto G Android Development] Guillosd:
Same here
[Moto G Android Development] hortas:
I'm on the latest weekly Lineage and had not a single random reboot over the last few weeks with the standard Kernel, although its heavily tuned via L-Speed. I must say that the standard Kernel is a blessing in terms of stability and endurance.

Maybe your reboot problems are somehow related to the Gapps, since I don't have them installed anymore... And getting rid of Google was a personal decision that I absolutely do not regret. :)
[Moto G Android Development] DoctorStrange96:
I have some more bad news for you guys. The hard drive containing my (X)Ubuntu installation gave up the ghost, and of course took all my data with it. (I forgot to back them up). That means there'll be no more builds until I find a suitable machine to do the job.

My laptop has Ubuntu GNOME installed but it's quite slow, so I don't think I'll use it for building. Sorry about that, folks.
[Moto G Android Development] GeekyTanuj:
Will this kernel work on aospextended(7.1.1)'s latest build of 9th April?

And if it does,what according to you(@Kamin4ri) would the best battery based config settings?

Thanks in advance and yeah,keep up the good work!
[Moto G Android Development] rahul1892:
Yes, I'm on AospExtended v4.0 and kaminari's​ kernel works like a charm. I haven't tweaked anything apart from D2W and i get 4~5 SOT.
[Moto G Android Development] GeekyTanuj:
assistance appreciated!

Thanks man!
[Moto G Android Development] Jude Aranha:
Hey OP, great kernel you got here, i recently got my paws on a falcon after my onyx retired, I like the prospective of your project. You said that your linux machine broke down, so will this get anymore updates ? Its okay if it takes longer, but I'd love to see a new update. Thanks.
[Moto G Android Development] kaku:
May I which version of this kernel is better Standard, over clock or prime?

Does over clocked versions cause battery drain and CPU overheating?
[Moto G Android Development] memontalha:
Dt2w/s2w is not working Rom AOSP extended 4.2
[Moto G Android Development] Allstargaurav:
Did you enable it form kernel auditor

Which version are you using?
[Moto G Android Development] rahul1892:
It's working fine here. For D2W to work, you need to download the prime version.
[Moto G Android Development] memontalha:
i know that it requires prime version but when i enable D2W it starts bootloop:(
[Moto G Android Development] rahul1892:
It's cuz of D2W functionality that I'm still using it even though it has not been updated for a while and it's working fine here. If it creating bootloop then you can use the zero byte kernel. It also has D2W feature.
[Moto G Android Development] DoctorStrange96:
Here's one of my (formerly) private R10 betas. Changes from the last release:

- Synced with LineageOS upstream

- S2W/DT2W

Sorry for being away for so long. Real life did hit. But I'm still alive, and the same goes for this project.

Anyways. Happy flashing.

Download
[Moto G Android Development] emil_515:
Getting this error while installing r 10th beta. Am on crdroid 7.1.2. Dirty flashed ROM before I tried this
[Moto G Android Development] rahul1892:
I got the same error. Maybe because I'm on stable version and this is a beta version. :rolleyes:
[Moto G Android Development] DoctorStrange96:
Flash the zip from /sdcard, and not /sdcard/Download or any other subfolder.

And send me the output of /tmp/recovery.log if the error persists.

Edit: Nevermind. There was a little derp in the update-binary. Fixed.
[Moto G Android Development] LenAsh:
Thread cleaned - if any member finds the efforts of others not to their taste, either do your own builds, or simply walk away. There is no need to enact your inner child here.
[Moto G Android Development] mrbojangle69:
Can Kaminari kernel R10 beta 5 be used on the final ViperOS 7.1.2 NJH47F build?

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] DoctorStrange96:
Yes. And sorry for the late reply. It should work on any non-stock ROM as long as it's based on Marshmallow or Nougat.
[Moto G Android Development] DoctorStrange96:
Hey peoples. I'm still alive. And I got some days off (precisely, a little more than a week - Christmas & New Year's break).

I don't build kernels for so long that even I don't know what's changed between the last build and this new one. So there might be some features missing. But at least it's up to date with LOS sources. And no, it doesn't work with Oreo yet. I didn't do any testing, but it probably doesn't work. Heck, there're barely any ROMs for our device, and they're not even fully functional. Oreo-compatible builds will come after LineageOS uploads the 15.1 kernel branch to their repository. I believe an Oreo-ready build could be made using the Nougat sources, but they would need some adjustments - and I don't know which adjustments are these.

Sorry for the long absence, and take this early Christmas gift. Report if there's anything strange.

Edit: Here it is. AFH is down, so you'll have to download from XDA.
[Moto G Android Development] koshikas:
just wanna know whether the R10 release contains mods included in your prime versions earlier.

merry christmas!!!
[Moto G Android Development] tutul2336:
dirty flashed over r10 beta.. working fine on aosp extended 4.6...
[Moto G Android Development] rahul1892:
Yes, it has all mods of prime version.
[Moto G Android Development] DoctorStrange96:
Only DT2W. No CPU overclocking.
[Moto G Android Development] koshikas:
just what i wanted, many thanks.

Happy new year bro!!!
[Moto G Android Development] DoctorStrange96:
Happy new year for you too!
[Moto G Android Development] DoctorStrange96:
R11 is up for those of you who want to test my kernel on Oreo ROMs.

After some digging through XPerience's kernel sources, I discovered that all that's needed to get the kernel working on O is a defconfig change (I hope so, actually). The relevant patch has already been cherry-picked into my sources.

AFH is up again, so you can download it from there. This is, as usual, a unified build - a single flashable zip for both Marshmallow, Nougat and now Oreo. Have fun.

OREO USERS: REMEMBER TO BACK UP YOUR STOCK KERNEL BEFORE FLASHING MINE!

Download!
[Moto G Android Development] Allstargaurav:
I was about to suggest that you should take a look at this https://github.com/motog2014devteam/android_kernel_motorola_msm8226 (maintained by luk)

But Nevermind
[Moto G Android Development] DoctorStrange96:
I'll take a look at it, thanks!
[Moto G Android Development] Johny Cipeli:
Man, thanks for this, its good to see you back!!
[Moto G Android Development] hbxntsxw:
Could you please make it support CIFS (Common Internet File Systems) and NFS (Network File System) ? Many Thanks!
[Moto G Android Development] DoctorStrange96:
Don't know about that, but I'll take a look into it.
[Moto G Android Development] juanlc18:
If I install cm 12.1 should I go for R1 or for a newer release?

Same question for krexus 6.0. Cm 13 or newer one?
[Moto G Android Development] DoctorStrange96:
My kernel does no longer support Lollipop, at least for now. For Krexus, which is obviously based on Marshmallow, you can use the latest release just fine.
[Moto G Android Development] BhavikRB:
Yo Guys , IT'S NOT A BUG ! IT'S FEATURE IMPLEMENTED BY OUR CM MAINTAINER.

WHEN SCREEN ON : MIN FQ : 787 (SO TASK GET COMPLETED EARLY) ACCORDING TO CAF GUIDELINE

WHEN SCREEN OFF : MIN FQ : 300

http://review.cyanogenmod.org/#/c/127220/

READ HERE ::
[Moto G Android Development] espaciox99:
Thanks

Enviado desde mi Moto G mediante Tapatalk
[Moto G Android Development] radogost:
This kernel is working great. Highly recommended to flash. :)
[Moto G Android Development] DoctorStrange96:
I've got a new test build ready. I just forgot to upload it :p . Gimme a couple o' hours. xD