[Kernel][harpia] SomeFeaK for Moto G4 Play

In the latest release, have you seen any flickers? Please choose your variant.


  • Total voters
    140
Search This thread

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
This is SomeFeaK kernel, based on Squid2's kernel for device codename "harpia".

This is the first time I build a kernel, also, the first time I post something in DevDB. Hope you like this kernel and please expect many releases.

The kernel should work in stock and custom ROMs, with any variant. Tested and working in XT1601 (LATAM).

Disclamier:

Code:
[COLOR="red"]* Include <std_disclaimer.h>
* Your warranty is now void.
* 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 ROM
* 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 laugh at you.
*[/COLOR]

Features:

From squid2's r19 build:

  • Moderately undervolted
  • Updated to Linux 3.10.104
  • Synced with latest CodeAurora changes
  • Improved memory management
  • Improved memory caching backported from Linux 3.15
  • Improved storage performance
  • Optimized ARM crypto routines
  • Updated f2fs and WiFi drivers
  • FIOPS and BFQ I/O schedulers
  • Lionfish CPU governor
  • IntelliPlug CPU hotplug (by faux123)
  • KCAL MDP5 colour control (by savoca)
  • Improved zRAM backported from Linux 4.9
  • Vibration intensity control
  • Compiled with Linaro GCC 6.2 and optimized for Cortex A53
  • Stripped down and optimized configuration

Added by me:

  • Governors: impulse and elementalX, yankactive, zzmoove, darkness and bioshock.
  • Double tap to wake (DT2W).
  • Permanently fixed screen flickering: SELinux works fine in permissive or enforcing mode.
  • Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
  • Drastically improved CPU thermal control: should react approximately from 40°C and end if lower than 35°C are reached. Otherwise it'll keep trying to cool the device, protecting, mainly, the battery.
  • Automatic thermal throttling and CPU cooling driver added and enabled.
  • Enabled CPU current throttling driver.
  • Use the hidden LED as a notification light.
  • Enabled forced consistency checks for F2FS (/data).
  • Multi-Cluster Power Management (less CPU battery drain).
  • KSM (Kernel Samepage Merging).
  • Advanced Power Management (emulated).
  • SMT (Simultaneous Multi-Threading).
  • Fixed temperature handling.

Dev info:

In order to make use of the new hidden LED's available behavior, it's needed that some Java developer (not me, I don't know a thing about Java) to develop an application. Here I'll give you a sort of "API" that you should use to wake up the required triggers for "if there's a notification or not".

To turn on the LED set trigger to default-on:

Code:
su -c "echo default-on > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"

To turn off the LED set trigger to none:

Code:
su -c "echo none > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"

I've also added the required modules for the LED to be able to process a hold on during "x" milliseconds and keep off during "x" milliseconds. To set it do it like as follows.

Switch trigger to timer:

Code:
su -c "echo timer > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"

Now, set time on during 0,5 seconds (500 milliseconds):

Code:
su -c "echo 500 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_on"

Now, set time off during 1 second (1000 milliseconds):

Code:
su -c "echo 1000 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_off"

For now, you must have a charger connected. It seems to be a hardware issue but I'll try to investigate it anyways.
Release history:
Code:
4.80 (stable): June 23, 2017:
Kernel changes:
- sensors/accelerometer: fix bugs and driver random crashes.
- sound/ALSA: fix crashes and crackling, get rid of inifinte loops.
- video/kgsl: general performance and stability improvements.
- power/wake: added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep, better performance and responsiveness after suspend.
- usb: less console spamming.
- networking: speed improvements.
- input/touchscreen: add generic touchboost driver.
- cpufreq/general: prevent random scaling failiures.
Other changes:
- flashing: added Aroma Installer, pick if you want to flash bootlogo or not thanks to Aroma Installer.
- bootlogo: added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
4.70-1 (stable): June 22, 2017:
Kernel changes:
- input/touchscreen: update driver.
- cpu/hotplug: disable thunderplug by default, enable ASMP by default.
Other changes: none.
4.70 (stable): June 21, 2017:
Kernel changes: 
- config: solve kernel panics ;), re-enable mistakenly disabled zRAM support, fix KSM driver.
- cpu/hotplug: remove old thunderplug hotplugging driver, add new quad-core specific driver.
- gpu/clock: overclock a bit more (550 MHz max.).
- thermal: support for manually setting temp. limits on runtime.
- cpufreq: added barry allen, added intel, added conservative, blu active, interactive pro.
- fs/sync: added support for dyanmic fsync.
- prima: update driver.
- wlan: performance and stability improvements, no crashes at all.
Other changes: none.
4.53 (stable): June 16, 2017:
Kernel changes:
- fs: fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
- cpu/hotplug: removed broken lazyplug hotplug driver, better handling for hardware hotplugging.
- cpufreq: added intellidemand, smartmax, wheatley, smartmax_eps, pegasusq, authority.
- input/touchscreen: updated DT2W driver, still not stable, more responsive and stable touchscreen.
- sched: fixed zen, fixed and added sio.
Other changes: first build for osprey coming soon.
4.30 (stable): June 14, 2017:
Kernel changes:
- hotplug: added lazyplug (broken, don't use).
- input/touchscreen: fixing DT2W.
- sched: added sio.
Other changes: none.
4.25 (stable): June 13, 2017:
Kernel changes:
- ksm: updated code and better management, enabled checking before swapping pages, reduce cpu
- swap: updated code, got better management by adding some compression drivers.
- input/soc: added powersuspend driver, this will help DT2W work better.
- random: added frandom support, decrease CPU load for entropy generation.
- mem: enabled memory changes tracking.
- sched: added tripndroid, vr, zen.
- usb: enabled fast charge by default.
Other changes: no tool required to setup anymore, default setup won't overheat your device nor damage it; due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'; new project logo (for DevDB), thanks to @lecron89 .
4.18 (stable): June 12, 2017
- cpu: rolled back extreme overclock, new max clock: 1593 MHz.
- gpu: rolled back extreme overclock, new max clock: 465 MHz.
- cpufreq: fix build for 'darkness' governor.
- cpufreq: added new CPU governors: yankactive, zzmoove, darkness and bioshock.
4.00 (stable): June 9, 2017
- cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
- gpu: overcloked, max freq. 650 MHz.
- flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.
3.90 (stable): June 8, 2017
- usb: use your device as an USB gadget, including keyboard and mouse.
- general: updated defconfig for harpia at source to match new features.
3.81 (stable): June 7, 2017
- wlan: updated drivers, solved remaining crashes and battery drain.
- prima: updated drivers.
- usb: added support for xpad joysticks (XBOX).
- cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.
- cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.
- general: performance improvements for touchscreen, GPU and variables definition.
3.61 (stable): June 4, 2017
- Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
3.60 (stable): June 4, 2017
- In the stock ROM, the audio won't skip anymore (tested).
- The wlan driver shouldn't crash again (updated with Heliox sources).
- Re-added missing Adreno Idler driver. 
3.52 (stable): June 1, 2017
- Hotfix: DT2W won't freeze the screen anymore. 
3.51 (stable): May 31, 2017
- Hotfix: re-added missing hotplug driver (thunderplug). 
3.5 (stable): May 31, 2017
- Reverted patches for sdcardfs (they broke the media scanner).
- USB fast charge.
- FauxSound gain control.
3.11 (stable): May 29, 2017
- Patches for sdcardfs.
- Patches for wlan.
- Patches for less power consumption.
- Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).
3.0 (stable): May 29, 2017
- Added governors: impulse and elementalX.
- DT2W (Double tap to wake).
- Adreno Idler (reduce GPU frequency and resources if inactive).
- Added hotplug drivers: allucard and thunderplug CPU.
2.1 (stable): Februrary 8, 2017
- Rolled back to default SELinux setup.
- Switched default GPU governor from "msm-adreno-tz" to "simple_ondemand" for better battery and performance balancing.
- Fixed screen flickering bug by disabling debugging in graphics card. (SELinux socket overflow).
- Fixed noisy output if using audio MODs by disabling aggressive debugging for sound card. (SELinux socket overflow).
2.0 (stable): February 5, 2017
- Permanently fixed the screen flickering: you won't see any flickers while running SELinux in permissive or enforcing mode. This is going to work even if you build the kernel from source.
1.3 (stable): January 31, 2017
- Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
- Set default TCP congestion manager to "veno" for lesser lags while heavily loading the networking area.
1.2 (beta): January 29, 2017
- Fixed SELinux: permissive mode works again.
- Decreased SELinux activity (even more).
1.1 (beta): January 29, 2017
- Restored previous setup for audio amplifier DAC: switched input gain from 4 to 5. Reason: the output felt like if it is cropping some frequencies.
- Modified CPU cooling driver to get more sensitivity as when to react and how far the temperatures should reach. (experimental, please report if horribly lags)
1.0 (beta): January 27, 2017
- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like [B]Dolby Atmos[/B])
0.3 (experimental): January 26, 2017
- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on.
- Disabled swap pages caching (frontswap).
0.2 (experimental): January 25, 2017
- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).
0.1 (experimental): January 24, 2017
- Initial release.

Downloads:

Click here or go to Downloads tab at the top of the thread.

NEW! Now, if something goes wrong with the XDA download server or you simply want to download from somewhere else, I've been approved as developer at AFH. All downloads will also be posted here.

Code:
[B]Experimental builds: [/B][URL]https://www.androidfilehost.com/?w=files&flid=149407[/URL]

NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak

Bugs:

  • SELinux avc is not working as expected, coming from squid2 sources.* Fixed
  • Screen might flicker sometimes in harpia LATAM variant, this is also a SELinux related problem.* Fixed
  • Advanced Power Management might let the device reach higher temperatures sometimes, it isn't on me and must be fixed in mainstream.

Bugs marked with a "*" will be fixed in the next release.

Testing: (by users and me)

  • Lineage OS (latest build): No bugs found.
  • crDroid: working flawlessly, little lags due to UI bugs.
  • OCT-OS: No bugs found.
  • AOSPExtended: No bugs found.
  • Mokee OS: long boot times, no lags so far. UI might feel unresponsive sometimes if too many tasks at same time (wrongly set build.prop?). Screen flickers sometimes
  • Resurrection Remix (by @jasonmerc): No bugs found.

XDA:DevDB Information
SomeFeaK Kernel for Moto G4 Play, Kernel for the Moto G4 Play

Contributors
facuarmo, chijure, Dark98, squid2, TeamMex
Source Code: https://github.com/FacuM/android_kernel_motorola_msm8916

Kernel Special Features: The kernel features: everything from r19 Squid2's build, KSM (Kernel Samepage Merging), SMT (Simultaneous Multi-Threading), Advanced Power Management (emulated), advanced LED contro, DT2W and impulse and elementalX governors.

Version Information
Status: Stable

Created 2017-01-25
Last Updated 2017-12-10
 

Attachments

  • Screenshot_20170208-155659.png
    Screenshot_20170208-155659.png
    62.9 KB · Views: 16,166
  • Screenshot_20170608-015538.png
    Screenshot_20170608-015538.png
    106.8 KB · Views: 11,552
Last edited:

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
SomeFeaK loves Mokee:

Mokee ROM is compatible with the SELinux patching done by Magisk while keeping Pemissive mode enabled at the core of Android, this means that you can use SomeFeaK's USB keyboard and mouse emulator features without even touching a single thing! Just open USB Keyboard app and you're good to go!

Thanks to their awesome devs! :fingers-crossed:
 
Last edited:
  • Like
Reactions: davypacheco

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
Reserved , will be testing once i got my phone :)

Thanks for testing ;). BTW, phone's booting.

Psst! Adding some governors in the next version :cowboy:.

Remember that, for safety reasons, you might want to load to RAM the kernel first and check if it boots, just not to have to re-flash your device if something goes wrong.

You can do this by unpacking the flashable zip to you computer and fastbooting the zImage.

Code:
fastboot boot zImage
 

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
You can flash in RR ?????
Se puede flashear en RR???

For sure you can flash in RR! It should work in any ROM ;).

Psst! Doing a backup of your boot partition in recovery is always a good practice, just in case :cowboy:.

//////////////////////

¡Claro que puedes flashear en RR! Debería funcionar en cualquier ROM ;).

¡Psst! Hacer una copia de seguridad de tu partición "boot" en recovery siempre es una buena práctica, sólo por si acaso :cowboy:.
 

nick more

Senior Member
Jun 21, 2015
396
56
Madrid
For sure you can flash in RR! It should work in any ROM ;).

Psst! Doing a backup of your boot partition in recovery is always a good practice, just in case :cowboy:.

//////////////////////

¡Claro que puedes flashear en RR! Debería funcionar en cualquier ROM ;).

¡Psst! Hacer una copia de seguridad de tu partición "boot" en recovery siempre es una buena práctica, sólo por si acaso :cowboy:.

Thx
Gracias
 

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
0.2 (experimental): January 25, 2017

----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
BROKEN BROKEN BROKEN BROKEN BROKEN BROKEN
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----


Changelog

- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).

WARNING! This release is broken: Wi-Fi card isn't working.

----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
BROKEN BROKEN BROKEN BROKEN BROKEN BROKEN
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
 
Last edited:

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
0.3 (experimental): January 26, 2017

Changelog

- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on. Check for more info at the first post.
- Disabled swap pages caching (frontswap).
 
  • Like
Reactions: nick more

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
1.0 (beta): January 27, 2017

Changelog

- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like Dolby Atmos)
 
  • Like
Reactions: nick more

spiked_mistborn

Senior Member
Nov 28, 2012
280
127
@facuarmo can you give more info on the SMT feature? Isn't that usually a hardware feature of a CPU? I was going to just check the code out, but I'm not very good with github and couldn't find the commit for this feature.
 

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
@facuarmo can you give more info on the SMT feature? Isn't that usually a hardware feature of a CPU? I was going to just check the code out, but I'm not very good with github and couldn't find the commit for this feature.

Yes, SMT is a hardware feature, supported by the smartphone's hardware. It comes as a feature like the Per-cluster power management.

You can check more here: https://en.m.wikipedia.org/wiki/Simultaneous_multithreading
 

spiked_mistborn

Senior Member
Nov 28, 2012
280
127
Yes, SMT is a hardware feature, supported by the smartphone's hardware. It comes as a feature like the Per-cluster power management.

You can check more here: https://en.m.wikipedia.org/wiki/Simultaneous_multithreading
I'm familiar with what smt is, just curious about your particular implementation.

The arm a53 core is a very basic in-order design and I've never heard anything about it supporting multiple threads per core, I.e. presenting more virtual cores to the operating system than there are physical cores (like 4 core/8 thread in Intel). Features like that require hardware for state storage, register remapping, large caches etc. that use a lot of power. I can't picture any of that in the tiny a53 that was designed for low power and efficiency above all else.
 

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
I'm familiar with what smt is, just curious about your particular implementation.

The arm a53 core is a very basic in-order design and I've never heard anything about it supporting multiple threads per core, I.e. presenting more virtual cores to the operating system than there are physical cores (like 4 core/8 thread in Intel). Features like that require hardware for state storage, register remapping, large caches etc. that use a lot of power. I can't picture any of that in the tiny a53 that was designed for low power and efficiency above all else.

Sincerely, I haven't debugged the whole kernel yet. But SMT has been compiled and is up and running, I don't know how, I mean, I know it's working and enabled but I don't know if it has some kind of effect in the system.
 

facuarmo

Senior Member
Apr 13, 2014
572
995
21
Pilar
Special post!

Now every commit is automatically built by Travis CI testserver. Once compiled the latest build is uploaded to a server. That server will hold all the experimental builds until the final version is released.

Check it here:
https://www.androidfilehost.com/?w=files&flid=149407

Please note that this server might be unstable as it's running in a free hosting service, please don't be evil and don't overload it.

Switched to AFH.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    This is SomeFeaK kernel, based on Squid2's kernel for device codename "harpia".

    This is the first time I build a kernel, also, the first time I post something in DevDB. Hope you like this kernel and please expect many releases.

    The kernel should work in stock and custom ROMs, with any variant. Tested and working in XT1601 (LATAM).

    Disclamier:

    Code:
    [COLOR="red"]* Include <std_disclaimer.h>
    * Your warranty is now void.
    * 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 ROM
    * 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 laugh at you.
    *[/COLOR]

    Features:

    From squid2's r19 build:

    • Moderately undervolted
    • Updated to Linux 3.10.104
    • Synced with latest CodeAurora changes
    • Improved memory management
    • Improved memory caching backported from Linux 3.15
    • Improved storage performance
    • Optimized ARM crypto routines
    • Updated f2fs and WiFi drivers
    • FIOPS and BFQ I/O schedulers
    • Lionfish CPU governor
    • IntelliPlug CPU hotplug (by faux123)
    • KCAL MDP5 colour control (by savoca)
    • Improved zRAM backported from Linux 4.9
    • Vibration intensity control
    • Compiled with Linaro GCC 6.2 and optimized for Cortex A53
    • Stripped down and optimized configuration

    Added by me:

    • Governors: impulse and elementalX, yankactive, zzmoove, darkness and bioshock.
    • Double tap to wake (DT2W).
    • Permanently fixed screen flickering: SELinux works fine in permissive or enforcing mode.
    • Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
    • Drastically improved CPU thermal control: should react approximately from 40°C and end if lower than 35°C are reached. Otherwise it'll keep trying to cool the device, protecting, mainly, the battery.
    • Automatic thermal throttling and CPU cooling driver added and enabled.
    • Enabled CPU current throttling driver.
    • Use the hidden LED as a notification light.
    • Enabled forced consistency checks for F2FS (/data).
    • Multi-Cluster Power Management (less CPU battery drain).
    • KSM (Kernel Samepage Merging).
    • Advanced Power Management (emulated).
    • SMT (Simultaneous Multi-Threading).
    • Fixed temperature handling.

    Dev info:

    In order to make use of the new hidden LED's available behavior, it's needed that some Java developer (not me, I don't know a thing about Java) to develop an application. Here I'll give you a sort of "API" that you should use to wake up the required triggers for "if there's a notification or not".

    To turn on the LED set trigger to default-on:

    Code:
    su -c "echo default-on > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"

    To turn off the LED set trigger to none:

    Code:
    su -c "echo none > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"

    I've also added the required modules for the LED to be able to process a hold on during "x" milliseconds and keep off during "x" milliseconds. To set it do it like as follows.

    Switch trigger to timer:

    Code:
    su -c "echo timer > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"

    Now, set time on during 0,5 seconds (500 milliseconds):

    Code:
    su -c "echo 500 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_on"

    Now, set time off during 1 second (1000 milliseconds):

    Code:
    su -c "echo 1000 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_off"

    For now, you must have a charger connected. It seems to be a hardware issue but I'll try to investigate it anyways.
    Release history:
    Code:
    4.80 (stable): June 23, 2017:
    Kernel changes:
    - sensors/accelerometer: fix bugs and driver random crashes.
    - sound/ALSA: fix crashes and crackling, get rid of inifinte loops.
    - video/kgsl: general performance and stability improvements.
    - power/wake: added wakelock toggles for wlan_rx, wlan_ctrl, wlan and bluesleep, better performance and responsiveness after suspend.
    - usb: less console spamming.
    - networking: speed improvements.
    - input/touchscreen: add generic touchboost driver.
    - cpufreq/general: prevent random scaling failiures.
    Other changes:
    - flashing: added Aroma Installer, pick if you want to flash bootlogo or not thanks to Aroma Installer.
    - bootlogo: added built-in SomeFeaK's official bootlogo, made by @jasonmerc . P.S.: thank you so much.
    4.70-1 (stable): June 22, 2017:
    Kernel changes:
    - input/touchscreen: update driver.
    - cpu/hotplug: disable thunderplug by default, enable ASMP by default.
    Other changes: none.
    4.70 (stable): June 21, 2017:
    Kernel changes: 
    - config: solve kernel panics ;), re-enable mistakenly disabled zRAM support, fix KSM driver.
    - cpu/hotplug: remove old thunderplug hotplugging driver, add new quad-core specific driver.
    - gpu/clock: overclock a bit more (550 MHz max.).
    - thermal: support for manually setting temp. limits on runtime.
    - cpufreq: added barry allen, added intel, added conservative, blu active, interactive pro.
    - fs/sync: added support for dyanmic fsync.
    - prima: update driver.
    - wlan: performance and stability improvements, no crashes at all.
    Other changes: none.
    4.53 (stable): June 16, 2017:
    Kernel changes:
    - fs: fsync will now be enabled by default (prevents data loss if a kernel panic occurs).
    - cpu/hotplug: removed broken lazyplug hotplug driver, better handling for hardware hotplugging.
    - cpufreq: added intellidemand, smartmax, wheatley, smartmax_eps, pegasusq, authority.
    - input/touchscreen: updated DT2W driver, still not stable, more responsive and stable touchscreen.
    - sched: fixed zen, fixed and added sio.
    Other changes: first build for osprey coming soon.
    4.30 (stable): June 14, 2017:
    Kernel changes:
    - hotplug: added lazyplug (broken, don't use).
    - input/touchscreen: fixing DT2W.
    - sched: added sio.
    Other changes: none.
    4.25 (stable): June 13, 2017:
    Kernel changes:
    - ksm: updated code and better management, enabled checking before swapping pages, reduce cpu
    - swap: updated code, got better management by adding some compression drivers.
    - input/soc: added powersuspend driver, this will help DT2W work better.
    - random: added frandom support, decrease CPU load for entropy generation.
    - mem: enabled memory changes tracking.
    - sched: added tripndroid, vr, zen.
    - usb: enabled fast charge by default.
    Other changes: no tool required to setup anymore, default setup won't overheat your device nor damage it; due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'; new project logo (for DevDB), thanks to @lecron89 .
    4.18 (stable): June 12, 2017
    - cpu: rolled back extreme overclock, new max clock: 1593 MHz.
    - gpu: rolled back extreme overclock, new max clock: 465 MHz.
    - cpufreq: fix build for 'darkness' governor.
    - cpufreq: added new CPU governors: yankactive, zzmoove, darkness and bioshock.
    4.00 (stable): June 9, 2017
    - cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
    - gpu: overcloked, max freq. 650 MHz.
    - flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.
    3.90 (stable): June 8, 2017
    - usb: use your device as an USB gadget, including keyboard and mouse.
    - general: updated defconfig for harpia at source to match new features.
    3.81 (stable): June 7, 2017
    - wlan: updated drivers, solved remaining crashes and battery drain.
    - prima: updated drivers.
    - usb: added support for xpad joysticks (XBOX).
    - cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.
    - cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.
    - general: performance improvements for touchscreen, GPU and variables definition.
    3.61 (stable): June 4, 2017
    - Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
    3.60 (stable): June 4, 2017
    - In the stock ROM, the audio won't skip anymore (tested).
    - The wlan driver shouldn't crash again (updated with Heliox sources).
    - Re-added missing Adreno Idler driver. 
    3.52 (stable): June 1, 2017
    - Hotfix: DT2W won't freeze the screen anymore. 
    3.51 (stable): May 31, 2017
    - Hotfix: re-added missing hotplug driver (thunderplug). 
    3.5 (stable): May 31, 2017
    - Reverted patches for sdcardfs (they broke the media scanner).
    - USB fast charge.
    - FauxSound gain control.
    3.11 (stable): May 29, 2017
    - Patches for sdcardfs.
    - Patches for wlan.
    - Patches for less power consumption.
    - Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).
    3.0 (stable): May 29, 2017
    - Added governors: impulse and elementalX.
    - DT2W (Double tap to wake).
    - Adreno Idler (reduce GPU frequency and resources if inactive).
    - Added hotplug drivers: allucard and thunderplug CPU.
    2.1 (stable): Februrary 8, 2017
    - Rolled back to default SELinux setup.
    - Switched default GPU governor from "msm-adreno-tz" to "simple_ondemand" for better battery and performance balancing.
    - Fixed screen flickering bug by disabling debugging in graphics card. (SELinux socket overflow).
    - Fixed noisy output if using audio MODs by disabling aggressive debugging for sound card. (SELinux socket overflow).
    2.0 (stable): February 5, 2017
    - Permanently fixed the screen flickering: you won't see any flickers while running SELinux in permissive or enforcing mode. This is going to work even if you build the kernel from source.
    1.3 (stable): January 31, 2017
    - Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
    - Set default TCP congestion manager to "veno" for lesser lags while heavily loading the networking area.
    1.2 (beta): January 29, 2017
    - Fixed SELinux: permissive mode works again.
    - Decreased SELinux activity (even more).
    1.1 (beta): January 29, 2017
    - Restored previous setup for audio amplifier DAC: switched input gain from 4 to 5. Reason: the output felt like if it is cropping some frequencies.
    - Modified CPU cooling driver to get more sensitivity as when to react and how far the temperatures should reach. (experimental, please report if horribly lags)
    1.0 (beta): January 27, 2017
    - Automatic thermal throttling and CPU cooling driver added and enabled.
    - Enabled CPU current throttling driver.
    - Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like [B]Dolby Atmos[/B])
    0.3 (experimental): January 26, 2017
    - Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on.
    - Disabled swap pages caching (frontswap).
    0.2 (experimental): January 25, 2017
    - Enabled swap pages compression.
    - Enabled swap pages caching (frontswap): better RAM management.
    - Enabled cleancache for faster swap handling.
    - Decreased SELinux activity and removed almost every security check.
    - Enabled F2FS forced consistency checks.
    - Enabled Multi-cluster power management (even better power management and less temperature).
    0.1 (experimental): January 24, 2017
    - Initial release.

    Downloads:

    Click here or go to Downloads tab at the top of the thread.

    NEW! Now, if something goes wrong with the XDA download server or you simply want to download from somewhere else, I've been approved as developer at AFH. All downloads will also be posted here.

    Code:
    [B]Experimental builds: [/B][URL]https://www.androidfilehost.com/?w=files&flid=149407[/URL]

    NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak

    Bugs:

    • SELinux avc is not working as expected, coming from squid2 sources.* Fixed
    • Screen might flicker sometimes in harpia LATAM variant, this is also a SELinux related problem.* Fixed
    • Advanced Power Management might let the device reach higher temperatures sometimes, it isn't on me and must be fixed in mainstream.

    Bugs marked with a "*" will be fixed in the next release.

    Testing: (by users and me)

    • Lineage OS (latest build): No bugs found.
    • crDroid: working flawlessly, little lags due to UI bugs.
    • OCT-OS: No bugs found.
    • AOSPExtended: No bugs found.
    • Mokee OS: long boot times, no lags so far. UI might feel unresponsive sometimes if too many tasks at same time (wrongly set build.prop?). Screen flickers sometimes
    • Resurrection Remix (by @jasonmerc): No bugs found.

    XDA:DevDB Information
    SomeFeaK Kernel for Moto G4 Play, Kernel for the Moto G4 Play

    Contributors
    facuarmo, chijure, Dark98, squid2, TeamMex
    Source Code: https://github.com/FacuM/android_kernel_motorola_msm8916

    Kernel Special Features: The kernel features: everything from r19 Squid2's build, KSM (Kernel Samepage Merging), SMT (Simultaneous Multi-Threading), Advanced Power Management (emulated), advanced LED contro, DT2W and impulse and elementalX governors.

    Version Information
    Status: Stable

    Created 2017-01-25
    Last Updated 2017-12-10
    11
    Changelog (v4.81):

    Kernel changes:
    • power/wake:
      * solve dead sleep (device not turning on after some huge time suspended).
    • config/surnia:
      * solved panics due to wrongly implemented and unsupported CPU hotplugging drivers.
    • config/osprey:
      * updated to match latest improvements.

    Other changes:

    • flashing/harpia:
      * fixed official bootlogo flashing feature.

    Download:

    Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25344

    Alternative link: https://www.androidfilehost.com/?fid=817550096634781691

    MD5: a1fad1cad67db0a80596a29924880d20
    10
    Enough faith in society.
    9
    Changelog (v4.00):

    - cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
    - gpu: overcloked, max freq. 650 MHz.
    - flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.

    Download:

    Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25077

    Alternative link: https://www.androidfilehost.com/?fid=745425885120739076
    9
    Changelog (v4.93):

    Kernel changes:
    • config/harpia:
      * include touchboost driver.
    • power/charging:
      * silence debugging messages for charger.
    • gpu/clock:
      * revert 550 MHz overclock.
      * revert 465 MHz overclock.
      * overclock up to 650 MHz.
      * undervolt max bus voltage from 1.6 volts to 1.4 volts (-200 mV).
      * fix and improve speed vectors.
      * solved low FPS on UI.
    • gpu/power:
      * improve wakeup time.

    Other changes:

    • None.

    Download:

    Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25372

    Alternative link: https://www.androidfilehost.com/?fid=673368273298967774

    MD5: 58114c85f1b0ea3e15e4fa5d7f934180