yashsingh1/xdaforums huggingface dataset:
[Moto E Original Android Development] rainforce279:
Push Update 08 September

Changelogs:

- Build with Hyper toolchain 5.x with variant LxU (Linaro gcc with uber toolchain dependency) (This toolchain from our RD "frap129")

- Fixed warning "WARNING: at net/wireless/nl80211.c:6801 __cfg80211_alloc_reply_skb+0x60/0x68() ..." (This is warning already shown at dmesg from official tree kernel, its not really bug, but its little annoying me when try debuging).

- Add io switcher (When screen is off all block set to noop, when screen is on all block set to previous io scheduler (save power when sleep)) (This feature from our RD "Sultanxda").

- Add dynamic dirty page-writeback

- Bring back Faux Simple GPU algorithm (sorry i forget to picking it from the last).

- Bring back Faux Sound control (sorry i forget to picking it from the last).

- Add Fifo and VR I/O Schedulers

- Sched: gentle fair sleeper/arch power sysfs: make simple (last commit from this feature its really complicated, so make them simple).

- ct406 a.k.a proximity sensor driver: back to lcd notify (last version i put powersuspend to this driver but when try debugging i get spamming "unknown state proximity", so back to lcd notify again).

Note:

i put all previous build in a folder "Old Build"

Download

https://www.androidfilehost.com/?w=files&flid=196522
[Moto E Original Android Development] jeikobu614:
System reboots itself after sleep and I don't know why my older kernels wanished from folder after installing the latest kernel
[Moto E Original Android Development] rainforce279:
no random reboot so far on me,

but i dont understand of your statement "I don't know why my older kernels wanished from folder after installing the latest kernel"

can you tell the detail ?
[Moto E Original Android Development] Rush94:
no reboot

i was having that issue in older version with viperos v3 but i have installed and after 24hrs of use no reboot till now its damm smooth and having 5 hrs of sot and still have 40% of battery left

what else do you need :)
[Moto E Original Android Development] jeikobu614:
I've got two older builds of clarity in /downloads folder and after installing latest version they vanished, don't know why :eek:

About roboots, i can try installing latest version again and see what happens. If it occurs again then I will inform you.
[Moto E Original Android Development] Nav929:
Can you please upload clarity kernel for android 6.0 selinux permissive. I can't use viper4android with selinux enforcing
[Moto E Original Android Development] NPriyo:
Just create a switch in kernel Auditor, or import the setting in it.
[Moto E Original Android Development] Nav929:
Thanks for reply but for that kernel audioter should be installed to change settings after every reboot.
[Moto E Original Android Development] NPriyo:
Kernel Auditor should be installed, yes. But no need to change setting after every reboot. There's an apply on boot option available too.
[Moto E Original Android Development] rainforce279:
i'm not support again for permissive kernel,

it's too risk make kernel permissive by default.

if you want change the kernel to permissive use this app called "Selinux mode changer"

check this -> https://xdaforums.com/showthread.php?t=2524485

and the last version of it read this -> https://xdaforums.com/showpost.php?p=73148538&postcount=816

be aware of changing selinux, it will make your device vulnerable and thats why Google against this way.

use this with your own risk.
[Moto E Original Android Development] Daman5202:
So i flashed this kernel after doing factory reset of my phone in twrp, and now my device is keep rebooting once the screen goes off! I don't know why is this happening, whenever i switch the screen off, the phone instantly boots up, now I have to keep my screen on! :(
[Moto E Original Android Development] Daman5202:
I see you also faced this problem, have you got any solution? I'm on AEX 4.5 no other kernels installed previously
[Moto E Original Android Development] rainforce279:
Push Update 11 september

Changelogs:

- merged Latest commits official tree.

- io switcher: update (preventing from null pointer).

- vmscan: update from caf (related swap/zram/lmk)

- readahead: make context readahead more conservative.

- removed ondemandplus, wheatley cpu governors. (we have stable nighmare which this similiar with ondemandplus, and lionheart similiar with wheatley).

- removed franko fsync control (risk to loss data when system crash!).

- removed franko wakelock control (need re-evaluate, needed or not ?).

- removed dynamic page-writeback (when playing games, feel a bit lags compare without this feature).

- zram: back to original staging (only picking commits from linux 3.12).

- revert "ARM: 7877/1: use built-in byte swap function" (suspected bootloop on specific case, caused conflict with new gcc).

- else.

Download

https://www.androidfilehost.com/?w=files&flid=196522
[Moto E Original Android Development] WildHadez:
This is happening to me too. Flashed a ROM yesterday, it began to happen in the morning, and I was thinking it was ROM's fault (I've been using Clarity in a while, never had a single problem). I came to the thread because this reboots also erased my data (just the SD card, which I'm using as adoptable storage), and I was going to download the kernel again to reflash it all. Good thing I did not have much on the card. I'll flash today's version and see if it stops.

Edit: it didn't help. Downgraded to 21/08 version and random reboots disappeared.
[Moto E Original Android Development] jeikobu614:
Nope, i'm using older version. 29.08 is stable.
[Moto E Original Android Development] rainforce279:
Please send a log when your device get random reboot or you've feel see a bugs.

i was try to fixing some, but i can't guess one by one commit which lead to bugs while i'm not facing this bugs or problem.

also a little information about your current rom version/name.

not only me will be fixing maybe someone can help us with logs presented.

i'm currently try adopted sdcard with some commits but not ready in latest maybe in the next version.

i was remove initialization io_switcher from dm driver, because this is my mistake put this initial to driver which doesn't have io-scheduler backend.

so far no random reboot or data loss.

this screenshot taken from multiwindows.
[Moto E Original Android Development] dkowalski:
Franco fsync control is very useful.

Each user know the risk i guess (text in KA), I am using fsync disabled and the system is more faster, and i have no crash using lineage or AEX 4.5.

By default ext4 sync data every 5 seconds I guess.

About Franco wakelock control, really I no feel a real change about battery life.

Yes with NOOP in sleep mode, extended my total time from 12-13hs to 16hs with the same screen time 6:30, so, if the pone is in sleep mode, really is useful.
[Moto E Original Android Development] jeikobu614:
What kind of logs do you need? Kernel log?
[Moto E Original Android Development] WildHadez:
Sorry I didn't provide it before. I'm still learning a lot of things, and I had to learn how to do a logcat. :V I'm not sure if that's the kind of log that's needed, but if you need something else, you can tell me. This is from the moment the phone booted (at least I think so) to when it rebooted, using 11/09 version. I'm using crDroid Android, version 3.7, 24/08/2017 build made by Lohanbarth.

(I couldn't attach the file here, because it's bigger than what's allowed.)
[Moto E Original Android Development] rainforce279:
yess no problem.

can you provide dmesg and last_kmsg ? logcat not for kernel.

read this for how to get them https://xdaforums.com/showthread.php?t=1520508

workarround:

try flashing the version indicate lead to random reboot,

and after boot, get dmesg and last_kmsg and provide them to here.

after all you can back where the version stable for you.

thanks
[Moto E Original Android Development] jeikobu614:
Some logs after reboot
[Moto E Original Android Development] rainforce279:
Push update 14 September

Changelogs:

- bring fixes NULL dereference on io switcher (Fixed random reboot on Adopted SDcard users).

- update security (CVE-2017-0648 and CVE-2016-1583)

- Silent spamming log "no longer affine to CPU.."

- Bring back franko fsync control

- staging: android: lowmemorykiller: set TIF_MEMDIE before send kill sig (avoid some race conditions).

Thanks for everyone who reported bugs with Log, its really help us.

random reboot on some case its complict io switcher with adopted sdcard, i was testing this case and no random reboot on adopted sdcard again.

Download

https://www.androidfilehost.com/?w=files&flid=196522
[Moto E Original Android Development] praveen139:
Thanks for this update. I have installed this clarity kernal firs time. I dirty flash it using twrp( Lineage rom+Clarity+Gapps). Now i am not able to toggle the wifi (unable to on). Did i something wrong?
[Moto E Original Android Development] Shaikh Arbaaz:
Just a issue with AOKP N (13th build) rom with latest clarity kernel which is screen freezes sometimes while using apps.

DT2W enabled.

Other than that battery and performance both are good....
[Moto E Original Android Development] rainforce279:
your welcome,

no issue on wifi here,

can you tell me, what lineage version u used ? 14.1 or latest 13.0 from anderson mendes ?

make sure you flash Clarity-N for Nougat (include Los 14.1) and Clarity-M (include Los/CM 13.0) for Marshmallow only.

and post dmesg after you trying enable wifi pls.

hi, sorry for that problem, i'm not yet facing this problem. i'm on viperOS 3.0 now.

but i'm not trying AOKP-N for now, maybe someone can confirm this problem too on some rom ?

i'll try to find solution asap.
[Moto E Original Android Development] praveen139:
Thanks and a query about charging

Thanks rainforce, sorry I installed m version. For lineage 14.1 . now I reinstalled it with N working fine now.

I lost my original charger. Its output was 500ma. Now I am using charger having output 1500ma (yureka plus charger) . can I use it for longterm? Will it not affect mobile or battery peformanance?
[Moto E Original Android Development] hetor99:
Anyone can confirm if the mobil data is working fine with the latest build???

I flashed los latest nigthly+open gapps+clarity la test build+superSU

I dont know if is a problem with superSU

But, after some minutes of turning on móvil data, it doesn't send or recive data enymore, after some reboot, it works again but the problem continues
[Moto E Original Android Development] 007bhushan:
Mobile data on 3g doesn't work correctly ??

---------- Post added at 03:13 AM ---------- Previous post was at 03:11 AM ----------

Can you tell me your best stable kernel version???
[Moto E Original Android Development] Rush94:
The random reboot stopped I don't know about mobile data but everything else is working smooth as it should :)
[Moto E Original Android Development] rainforce279:
Push Update 18 September

changelogs:

- proximity and touch screen driver move to high priority workqueue.

- get rid of magic in proc_namespace.c

- do_add_mount()/umount -l races

- consitify do_mount() arguments

- merged to Linux 3.4.113

- remove sha 224/256 arm neon (workaround for data connection issue)

- revert "update crypto to latest openssl (workaround for data connection issue)

- enable cc stackprotector (strong)

- else in here

Download

https://www.androidfilehost.com/?w=files&flid=196522
[Moto E Original Android Development] hetor99:
I flashed viperOS latest build with clarity kernel, after some minutes that the phone have power on, the mobil data bug still happen, the rom work fine without the kernel, but i need d2tw
[Moto E Original Android Development] praveen139:
I hae also same issue. Now i hae installed paradox kernal R3. It is working fine now. give a try
[Moto E Original Android Development] rainforce279:
i'm working for final version of this, your report has been long be my task, since some people got same problem.

also i'll release lite version for the last and final too.

just wait, i'll push them asap.

thanks.
[Moto E Original Android Development] rainforce279:
Push Final for nougat with lite version

Changelogs:

Hybrid

- Remove unneeded commits

- fixed bugs cellular data connection

- build from fresh repo, only picked important commits.

- all feature always included.

- back to linux 3.4.112

- etc.

Lite

- Latest Source Lineage OS

- Compiled with standart toolchain arm-eabi 4.9.4 (Thanks DU team to provide this standart gcc on github).

- Wake Gesture (DT2W) with Pocket mode (enabled by default)

- no other changes for stability.

Download

Hybrid | Lite

https://www.androidfilehost.com/?w=files&flid=196522
[Moto E Original Android Development] jeikobu614:
Final? Are you planning to stop developing this kernel for some time?
[Moto E Original Android Development] rainforce279:
no, i'm not stop this development dude, i just stop update for nougat and marshmallow since nougat stop at r33 and some rom has reaching final for nougat, i'll look into oreo now, i hope squid2 and anderson mendes helping us again for providing them :)
[Moto E Original Android Development] hetor99:
Thanks for your hard workg [MENTION=5250109]rainforce279[/MENTION]

Mobil data bug is gone, and again, thanks guy

:)
[Moto E Original Android Development] rainforce279:
Thanks again for your donations [MENTION=7549594]electrohippie[/MENTION]

sorry for late update.

OP is updated now.
[Moto E Original Android Development] mg_jishad:
Can u able to build for moto g3 osprey.
[Moto E Original Android Development] dkowalski:
A question for somebody that understand about low level hw+sw or can explain it.

In the stock ROM 4.4.4 and 5.1 for condor, the RAM showed is 914, in lineageOS stock kernel 25-9-2017 compilation is 908 (before 909) and in clarity 910.

Where is the rest 4mb? (Independtly of the weird RAM variation).

Something related with zram?

Thanks for any answer.
[Moto E Original Android Development] rainforce279:
Development stoped

hi mate's,

thanks for any support of yours due this development.

sorry now i changed my device,

i selling my moto e, now this development stoped,

but you can use my source for better next development,

feel free pm me if you need assist for kernel development

thanks again, and bye.
[Moto E Original Android Development] electrohippie:
I wish you the best of luck, buddy. Thanks for everything you did to make us enjoy this awesome kernel.
[Moto E Original Android Development] Rush94:
Which device you are switching :victory:
[Moto E Original Android Development] rian_tama:
So sad to hear that. But anyway, thanks for your effort bro, for amazing kernel, and for everything for our little device. Goodluck for your study! ;) We'll miss your kernel development. :crying:

Redmi 4x :D
[Moto E Original Android Development] NPriyo:
Thank you, for everything you did for Moto E and for us. Thank you.

Wish you best of luck for the future.

Hope to get the same device as yours one day, so that I can use your kernel again....

Our beloved Moto E got old :crying::crying:

We won't get Clarity Kernel for Oreo :crying::crying::crying:
[Moto E Original Android Development] spandey65:
Anyone who is using this Kernel can you please confirm, if battery life on this Kernel is better than CM 14.1 Kernel ?
[Moto E Original Android Development] govind1233:
Yes its battery life is much better fr me...bcz i m using it frm 2 days only 1% decreased the whole night whn i left phn.it was 88% in nigjt about 11 pm and when i checked in morning about 7am its 87%...
[Moto E Original Android Development] rainforce279:
Update to 1.3 [stable Hybrid]

check #1 post about new desc

log

- zsmalloc/zram backport from google source

- a bunch of commit virtual memory such as lowmemorykiller, swap and other

- remove power efficient wq for now

check this for complete log

Download

NOTE

D initial for DT2W and ND initial for No-DT2W As requested

https://www.androidfilehost.com/?w=files&flid=133872
[Moto E Original Android Development] Abhimanyu Shekhawat 121:
With dt2w variant touch freezes in telegram app and touch doesn't work on left side of status bar . I have confirmed it with other users too . Can you please check it

P.s. this problem is there from mm days
[Moto E Original Android Development] rainforce279:
Update to 1.4 [stable Hybrid]

changelogs:

- Backport zsmalloc/zram from linux 3.17

- Bring back power efficient wq for minimize power usage

- Update KGSL/GPU from CAF

- Update kernel sched

- Update memory compaction

- a bunch of Fix CPU hotplug callback registration patches

- Added GPU Governor Conservative (an agile and brave GPU governor)

many more

i'm too lazy to make changelogs from git, so if you want to see changelogs check my github :)

Download

NOTE

D initial for DT2W and ND initial for No-DT2W

https://www.androidfilehost.com/?w=files&flid=133872
[Moto E Original Android Development] rainforce279:
i never faced thats problem buddy, i use telegram too, but i never found thats issue
[Moto E Original Android Development] Ujwal Agrawal:
Is there any way to have custom kernel installed even after ROM update ???:silly:
[Moto E Original Android Development] Abhimanyu Shekhawat 121:
Damn

My bad luck ðŸ˜¥
[Moto E Original Android Development] NPriyo:
Just dirty flash the kernel.
[Moto E Original Android Development] booo159159:
[MENTION=5250109]rainforce279[/MENTION] i just installed this kernel and it's awesome... Just one thing I request is conservative or/and smartassv2 (for cpu) because these 2 are known for best battery life and I'd love that so if possible pls add them, and at your convenience of course. Thank you.
[Moto E Original Android Development] hetor99:
is updated with the latest changes on the cyanogenmod kernel??
[Moto E Original Android Development] rainforce279:
yess
[Moto E Original Android Development] hetor99:
Ok guy :) i will flash it and give you a feedback of how is the performance and battery save :)

Thanks for compiling this kernel :D
[Moto E Original Android Development] badduke18:
[MENTION=5250109]rainforce279[/MENTION] can we otus user expect a kernel from you sir??
[Moto E Original Android Development] iamno1monarch:
go to playstore

install cmdownloader

open cmdownloader

go to settings

look for Additional Zip To Flash and select the desired kernel file

THERE YOU GO.......

FROM NOW ON KERNEL WILL AUTOMATICALLY INSTALLED AFTER THE CMUPDATE

ENJOY
[Moto E Original Android Development] Ujwal Agrawal:
Thanks
[Moto E Original Android Development] Daman5202:
Please tell me kernel aduiter settings for better ram management, I'm using clarity reborn running cm14.1
[Moto E Original Android Development] :
The install fails when zip signature verification is on. Is this supposed to happen, if so why?

I am a TOTAL noob on using custom kernels. Any pros and cons list and/or information that I need to know about using them?

Thanks!
[Moto E Original Android Development] rainforce279:
so disable signature check, it's safe buddy but make sure, this is for condor moto E 2014 with cm-14.1 installed, not for other.

so don't try flash this to other device :highfive:
[Moto E Original Android Development] :
Will it also work for other roms BASED on cm 14.1 such as aokp N?
[Moto E Original Android Development] srmarcosx:
I'm using in Cypher OS with Android 7.1.
[Moto E Original Android Development] WickedCool19:
Custom, the word says it all, custom kernels provide a lot more cpu governers, to control the processing the way we want to, for battery vs performance ratio, some are good for battery, some are performance oriented. Some give you handy features like dt2w and s2w.

Hope this clears it up for you. :svetius:
[Moto E Original Android Development] :
Any chance that we can get an added the option to UNDERclock the cpu lower than 300 like say, 96 mhz like in previous builds of this kernel?
[Moto E Original Android Development] herloct:
Any recomended settings for battery life, with decent performance (no gaming)
[Moto E Original Android Development] WickedCool19:
Without gaming, I usually use conservative mode, and lock the frequency at 998mhz, and enable multi core power saving at agressive. And at 40% battery i automate a profile at 770 mhz to increase battery, when listening to music or just browsing.
[Moto E Original Android Development] soaringowl2145:
Anyone care to share their battery life info?
[Moto E Original Android Development] soaringowl2145:
What specs/version are you on?

---------- Post added at 01:35 PM ---------- Previous post was at 01:32 PM ----------

Does DT2W use much battery?
[Moto E Original Android Development] herloct:
I can't find conservative on cpu, is it the gpu setting?

I'm using the DT2W version.

Without any customizations, it add around half to an hour of SoT on my device using cm14.1.
[Moto E Original Android Development] soaringowl2145:
As in you get 30 more minutes of battery life?
[Moto E Original Android Development] herloct:
Yes, i think.

But i do no gaming nor social media.

Mostly for browsing, chatting (whatsapp, hangouts), forum (xda), and sometime youtube.
[Moto E Original Android Development] WickedCool19:
Sorry, that was present in the older MM versions, so I mistyped, now I usually use impulse, it's a better balance between battery and performance just like interactive but has some tweaks to save battery.
[Moto E Original Android Development] Daman5202:
Conservative is only available for gpu

---------- Post added at 07:04 PM ---------- Previous post was at 06:57 PM ----------

For both multitasking performance and battery save, use "Lionheart" in cpu and "conservative" in gpu settings, for extreme battery saving, you can use powersave but with lots of lags, powersave mode caps cpu frequency to 90-100 mega hertz which saves enough battery, better when you're not using your phone and still want your phone in standby mode without even worrying about power consumption
[Moto E Original Android Development] rainforce279:
push 1.5 stabel hybrid

changelogs:

- cherry pick some fixes bugs with wifi

- added badass, smartassH3, clarity governor

- remove intellidemand and intelliactive

- set 256kb only for mmc

- intelliplug remove freq limiter

Download

NOTE

D initial for DT2W and ND initial for No-DT2W As requested

https://www.androidfilehost.com/?w=files&flid=133872
[Moto E Original Android Development] rian_tama:
Wohoo finally released. Clarity Governor :D :svetius:
[Moto E Original Android Development] herloct:
Is it better for battery life (with decent performance)?
[Moto E Original Android Development] rian_tama:
I think, yes. It based on SmartAssH3 whichis it has been tuned to have more efficient frequency scaling (not ramping too high when not needed) which this could potentially result in better battery life. Cmiiw.
[Moto E Original Android Development] :
Thanks! Why are some of the options removed?
[Moto E Original Android Development] ampelift:
Hi and thank you for the awesome kernel...!!!!

Can you add please ,if its possible kcal control ?
[Moto E Original Android Development] rainforce279:
for intelliplug its purpose just control the cpu cores not frequency, and i remove freq limiter from intelliplug because to avoid some race condition by cpu governor such as smartassH3 or clarity cpu governor is using frequency limter when sleep,

also i remove intellidemand/active cpu governor because thats not updated to long.

kcal already added by official source cm, you can use it using kernel adiutor under section "screen"
[Moto E Original Android Development] rainforce279:
push 1.6 stabel hybrid

changelogs:

- Remove Intelliplug for now (suspected not stable)

- Remove Wq power efficient (to many problem because of this)

- Update ondemand and clarity cpu governor

- Added Maple I/O scheduler

- Merge Linux 3.4.y

- Linux 3.4.113

- Some upstream and backport commits

for detail pls check my github, Thanks :)

Happy New Year

Download

https://www.androidfilehost.com/?w=files&flid=133872
[Moto E Original Android Development] mg_jishad:
Thankuuuu happy new year
[Moto E Original Android Development] Shashank Angala:
kernel adiutor settings

can u please provide best kernel auditor settings for performance and battery life(popular and used by most of the users)..........thanks in advance..