[KERNEL][7.x][i9300] Hybrid - Galaxy S III Android Development

Hello everyone! I want to present you this kernel based on Boeffla-Kernel with so many improvements, features and customizations.
For the configuration, I recommend Boeffla Config app. For beginners, just flash this kernel and forget.
If you want to even customize every part of your phone, you can modify INT, MIF and ABB voltages, install Synapse kernel manager
Disclaimer: I am not responsible for anything that happens to your device. This kernel is tested by me but it is not impossible that something bad may happen to your device due to unstable settings.
Features (See the changelog for more details):
Supports both Experimental LineageOS and Official LineageOS (and its derivatives)
Enhanced memory management
FIOPS I/O scheduler
Working magisk hide
Passes the safetynet check
arm optimized instruction set
Compiled using UBERTC GCC 7.2.1
Link time optimization
SELinux set to permissive by default
F2FS: Backported some changes from Linux 4.3
F2FS: Fully backported from Linux 4.2
F2FS Backported from Linux 4.2 (by @arter97). As you know, CM kernels use f2fs backported from Linux 3.17, but this kernel uses a higher and much updated version.
Supports undervolting CPU, GPU, MIF and INT (thx @AndreiLux). Most kernels allow undervolting CPU and GPU ONLY but this kernel allows you to undervolt almost everything.
Adaptive Body Bias Control (thx @AndreiLux)
Supports over clocking up to 1.8GHz
Multicore power saving control
Doze enabled by default
Improved caching and memory management
all Boeffla and Elite Boeffla Kernel goodies
and much more including internal improvements and backports
Credits:
@arter97
@AndreiLux
@Oebbler
@A$teroid
@DerTeufel1980
@Lord Boeffla for his great kernel
Do you like my work? Then a coffee will be of great help for me. :highfive:
https://paypal.me/Pascua706
Addons:
Boeffla Config app
Synapse kernel manager
Downloads:
https://drive.google.com/open?id=1y1w7pBsEFZA-eWIaHdvMD4qxMedGg7ad
XDA:DevDB Information
Hybrid Kernel, Kernel for the Samsung Galaxy S III I9300
Contributors
pascua28
Source Code: https://github.com/pascua28/Elite-Boeffla-Kernel
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 11
Stable Release Date: 2018-06-27
Current Beta Version: 11.2
Beta Release Date: 2018-07-28
Created 2018-02-11
Last Updated 2018-08-01

Changelog (AGNi purecm base) *stopped
v2:
* Added alucard governor
* Msm hotplug
v1:
*vb2 and v4l updates from experimental lineageos kernel
*plane alpha from Exynos7
*backport Mount namespace
*dhd: reduce WiFi wakelock time
*add Boeffla config app compatibility
*apply LOS14.1 patches

Changelog:
For a more detailed information about the changes, please take a look here
Update 11:
* use tripndroid io scheduler
* enhanced power efficiency
* updated rwsem to Linux 3.10
* performance enhancements
* simplified mount namespace support
Update 10:
* use Debian arm-none-gcc (GCC 6.0) compiler
* stability fixes
Update 9:
* updated video driver
* more memory management backport
Update 8:
* power management enhancements
* memory management backports
* added FIOPS I/O scheduler
* block updated to Linux 3.3
Update 7:
* ARM optimizations
* pegasusq: smoother frequency scaling
* disable MobiCore initialization
* timer optimizations
* use glibc version of string and memcopy libs
* enable power efficient workqueue by default
* TTL mangle
* remove kernel logger control
Update 6:
* Remove android logger
* F2FS: applied some changes from Linux 4.3
* F2FS: completely merge F2FS changes from Linux 4.2
* N7100: add interactive and conservative CPU governors
* N7100: enable swap and ZRAM support
* N7105: initial support
* introduce lockless list
* drivers/serial: speed up wakeup
* speedup late resume
* shrinker: fix bug in fs/super.c
* added Synapse support
Update 5:
* nosec optimization
* optimized current_pt_regs() for arm
* tmu: remove memory throttling
* reduced some logging
* ipv4: save cpu cycles from check_leaf()
* update word-at-a-time lib
* net: Performance fix for process_backlog
* ASoC: pcm: use the power efficient workqueue for delayed powerdown
* Enable SECCOMP and SECCOMP_FILTER
* N7100: disable SND_DEBUG
* use Linaro GCC 7.1.x compiler
Update 4:
* LOAD_FREQ (4*HZ+61) avoids loadavg moire
* memory management improvements
* use Joe's RCU
* use 432 HZ timer
* intelli_plug not yet implemented for stability
* implement SECCOMP (secure computation)
* backport mount namespace from Linux 3.8
* revert video driver updates
* N7100: fix proximity sensor
* backport fq_codel packet scheduler from Linux 3.5
* revert vsync driver update to hopefully fix some issues
* use slicing-by-8 algorithm for crc32 and crc32c
* add frandom driver
* N7100: set westwood as default TCP congestion control algorithm
* N7100: add a bunch of TCP congestion control algorithms
* N7100: set AC maximum charge level to 2000mA
* N7100: set 1.6GHz maximum CPU frequency by default
* N7100: Enable overclocking up to 2.0GHz
* vfs: increase shrinker batch size
* superblock: add filesystem shrinker operations
* inode: remove iprune_sem
* superblock: introduce per-sb cache shrinker infrastructure
* superblock: move pin_sb_for_writeback() to fs/super.c
* inode: move to per-sb LRU locks
* inode: Make unused inode LRU per superblock
* inode: convert inode_stat.nr_unused to per-cpu counters
* vmscan: add customisable shrinker batch size
* added support for N7100
* cpufreq: Dynamic voltage stepping
* I9300: removed 2.0GHz and 1.9GHz overclock frequencies
* I9300: set maximum AC charger current to 1500mA, USB current to 1000mA, and wireless charger current to 1000mA. (previously 2100mA)
Update 3:
*fix touchkey light control
Update 2:
*f2fs: enhance multithread performance
*Use stock max frequency and stock governor
*Backport random driver from Linux 3.19+
*video: samsung: fimc: implement noti_ctrl_capture for u1
*[media] V4L: videobuf2: update buffer state on VIDIOC_QBUF
*media: vb2: Add support for synchronization
*media: samsung: fimc: add missing ctrl->cam checks
*Set SELinux to permissive
*lib/checksum.c: optimize do_csum a bit
*fs/buffer.c: remove redundant initialization in alloc_page_buffers()
*mutex: dynamically disable mutex spinning at high load
*lib: add weak clz/ctz functions
*Fix entropy depletion
*Net/neighbor: use power efficient work queue
*Squashed latest lineageos kernel commits
*Update video driver
Initial release:
*Remove ASIX Support
*Remove Network File System
*Remove sunrpc
*Remove joystick support
*Remove exFAT support
*Backport ramdom from Linux 3.17+
*Backport AIO from Linux 3.6
*Backport radix tree from Linux 3.4
*Fix cfg80211 memory leak
*Backport slub from Linux 3.3
*Backport F2FS from Linux 4.2
*Add multicore power saving support
*Add Adaptive Body Bias control
*Add INT and MIF voltage control

pascua28 said:
Hello! Today I release my kernel based on Elite Boeffla Kernel. The goal of this kernel is to have a very good performance and battery life.
This kernel has many improvements to ensure smooth performance.
Disclaimer: I am not responsible for anything that happens to your device. This kernel is tested by me but it is not impossible that something bad may happen to your device due to unstable settings.
Features:
*Compiled using UBERTC GCC 7.1
*Link time optimization
*F2FS Backported from Linux 4.2 (by @arter97)
*Supports undervolting CPU, GPU, MIF and INT (thx @AndreiLux)
*Adaptive Body Bias Control (thx @AndreiLux)
*Supports over clocking up to 2.0GHz (by @Oebbler)
*Multicore power saving control
*all Boeffla and Elite Boeffla Kernel goodies
*and much more including internal improvements and back ports
Credits:
@arter97
@AndreiLux
@Oebbler
@Lord Boeffla for his great kernel
Source: https://github.com/pascua28/Elite-Boeffla-Kernel
Click to expand...
Click to collapse
Sir can compiled n7100 if you want.
Thx this great kernel.

xress7 said:
Sir can compiled n7100 if you want.
Thx this great kernel.
Click to expand...
Click to collapse
Yes I can compile for Note 2 but I can't test it because I don't own a Note 2

pascua28 said:
Yes I can compile for Note 2 but I can't test it because I don't own a Note 2
Click to expand...
Click to collapse
Dont worry i can test and pass log
---------- Post added at 02:09 PM ---------- Previous post was at 02:06 PM ----------
pascua28 said:
Yes I can compile for Note 2 but I can't test it because I don't own a Note 2
Click to expand...
Click to collapse
are you graduation it or program.?

Hello. Thank you for this kernel ! Can i flash this to tw based roms (4.4.4 eclipse rom for example) or is it just for lineage or Cm roms ? thank you very much

Daviddsd said:
Hello. Thank you for this kernel ! Can i flash this to tw based roms (4.4.4 eclipse rom for example) or is it just for lineage or Cm roms ? thank you very much
Click to expand...
Click to collapse
No, only for lineageos

pascua28 said:
No, only for lineageos
Click to expand...
Click to collapse
Thank you very much sir

pascua28 said:
No, only for lineageos
Click to expand...
Click to collapse
Thanks recemmended configuration via boeffla app for better battery life ?

kosmasgr said:
Thanks recemmended configuration via boeffla app for better battery life ?
Click to expand...
Click to collapse
I use zzmoove governor - yank battery extreme. And undervolt cpu and gpu (you can use the undervolt profiles in the app. Just start with -25mV). If you want to even go further, you can undervolt MIF and INT. You can even adjust the abb voltage. But they are more advanced.
I also recmmend using the presets in the app

pascua28 said:
I use zzmoove governor - yank battery extreme. And undervolt cpu and gpu (you can use the undervolt profiles in the app. Just start with -25mV). If you want to even go further, you can undervolt MIF and INT. You can even adjust the abb voltage. But they are more advanced.
I also recmmend using the presets in the app
Click to expand...
Click to collapse
Thanks I stay with -25 UV

Hi guys! Expect for a new build later.

pascua28 said:
Hi guys! Expect for a new build later.
Click to expand...
Click to collapse
Thanks. Much appreciate

Hi)
Have you implemented HWC in your kernel or you planning this in the next releases?

pascua28 said:
Hi guys! Expect for a new build later.
Click to expand...
Click to collapse
Did you remove touchbuttons support by kernel ? There was setting on boeffla / display tab on first build of your kernel to control touch buttons . they remain off even i touch screen. Now not supporting

kosmasgr said:
Did you remove touchbuttons support by kernel ? There was setting on boeffla / display tab on first build of your kernel to control touch buttons . they remain off even i touch screen. Now not supporting
Click to expand...
Click to collapse
You can disable it in the settings. I think lineageos has a setting for it. Just look for buttons-> hardware buttons-> then look for illuminate buttons

xeno_den said:
Hi)
Have you implemented HWC in your kernel or you planning this in the next releases?
Click to expand...
Click to collapse
Yes or maybe?. Because there is also a ROM side implementation. I applied @forkbomb444's commits to this kernel so you can use his experimental lineageos which has a working hwc(only portrait mode)

pascua28 said:
You can disable it in the settings. I think lineageos has a setting for it. Just look for buttons-> hardware buttons-> then look for illuminate buttons
Click to expand...
Click to collapse
Thanks i was talking about touch led settings. As this picture. I illuminated buttons from rom settings and check to control them by kernel. They remain off when i touch screen and work only if i touch them with 3 seconds illumination timeout. Works excellent on your initial build of your kernel.
On 2nd build this setting disappeared from boeffla app . Could you check it please ? Its very important for battery life , the hw buttons to work only when we touch them and no when we touch the screen every time.

kosmasgr said:
Thanks i was talking about touch led settings. As this picture. I illuminated buttons from rom settings and check to control them by kernel. They remain off when i touch screen and work only if i touch them with 3 seconds illumination timeout. Works excellent on your initial build of your kernel.
On 2nd build this setting disappeared from boeffla app . Could you check it please ? Its very important for battery life , the hw buttons to work only when we touch them and no when we touch the screen every time.
Click to expand...
Click to collapse
Okay I'll check it

Related

[KERNEL] [LP/MM/N] Dark One v1.1 for ANDROID ONE aka SPROUT

Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Dark One kernel is Based on ThunderZap kernel By @varunchitre15
I just patched it for nougat.
ALSO COMPATIBLE WITH LP/MM
the features of kernel are
Insecured
adb runnable as root
ThunderSonic Sou[/COLOR]nd Control Engine
ThunderCharge Fast Charge Driver
ThunderPlug CPU Hotplug replacement
WiFi Power management control
Full GPU control
DoubleTap2Wake and Sweep2Wake
Dynamic Fsync Control
Improved filesystem mounting flags - NOATIME and NODIRATIME
ThunderQuake Engine 1.0 - Vibration Intensity Controller for MTK vibrators
Huge update to kernel.org mainline 3.10.89
init.d support
Automatic busybox installation
Disabled Gentle fair sleepers
Enabled arch power
Optimizations to SLUB memory allocator
Patches to block and mm to significantly improve ssd IO performance.
Dynamic entropy setting based on usage
Dynamic management of dirty page writebacks
block: Added SIO IOScheduler
block: Add BFQ IOScheduler
block: Add fiops scheduler
cpufreq: ThunderX power saving CPU governor
fs: added Samsung's F2FS support
Reduce logger device RAM allocation to 128K
Set MM Linux read ahead size to 256K
Patches from upstream to optimize memory writeback
Disabled CRC check in MMC for 30% extra performance with IO
Reduced VFS cache pressure for better battery
Optimized square root algorithm
Governors enabled: ondemand, interactive
Speedup /proc/net/unix interface access
Mali GPU cache Optimizations
Mali: Increase L2 cache max read size
Mali: Disable state tracking
Mali: Reduce GPU utilization timeout
Mali: increase kernel memory buffer size
Aggressive multicore power savings
ARM: Cortex A7 compiler optimizations
MTK: removed HUGE HUGE trail of stupid MTK kernel logging
ARM: Removed various debug traces
DOWNLOAD LINK(v1.1)(3.10.104)
older versions:
Version 1.0 (linux version :3.10.101):DOWNLOAD
INSTRUCTIONS
just flash the zip file from the recovery
and njoy.
Credits and thanks to:
Varun Chitre
Version information:
Status: Statble
Version: 1.1
linux version: 3.10.104
Created on : Jun 9, 2017
Thanks for the kernel... Awsm one with superb battery backup and very reponsive d2tw..... Does this kernel support otg in sprout devices.... If not then is it possible????
sheikhmuzaffarhussain said:
Thanks for the kernel... Awsm one with superb battery backup and very reponsive d2tw..... Does this kernel support otg in sprout devices.... If not then is it possible????
Click to expand...
Click to collapse
Not possible. Hardware issues.
@nageen9211
A request
Can you fix camera fast....
:fingers-crossed:
Can any one help me to install apps on sd card in aq4502 marshmallow without formatting it as a internal storage the privilage given to samsung devices.....
Thanks bro
I love electrablue can you patch it for nougat plz
sheikhmuzaffarhussain said:
Thanks for the kernel... Awsm one with superb battery backup and very reponsive d2tw..... Does this kernel support otg in sprout devices.... If not then is it possible????
Click to expand...
Click to collapse
no ..its not possible...our device doesnot provide current to otg...which is required to read it
tanu548 said:
Your kernel is awesome but need sio ,zen I/O and intellidemand Governor with latest Linux security patch
Click to expand...
Click to collapse
thanks....
but i have left the work now... if you or anyone is interested ,
Then , can continue it at source
source dark one kernel
@nageen9211
I am interested in developing a kernel for our 'Beloved Sprout',
I am Recently developing AzurE kernel for YUreka and YUreka+,
I would like to take some help from you,
Thank You,
There are random reboots in marshmallow based roms.is there any fix plz help
navjot703 said:
There are random reboots in marshmallow based roms.is there any fix plz help
Click to expand...
Click to collapse
Nope its working flawless

[Kernel][osprey] SomeFeaK for Moto G 2015 (3rd gen.)

This is SomeFeaK kernel, based on Squid2's kernel for device codename "osprey".
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.
Click to expand...
Click to collapse
Release history:
Code:
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.
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.
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
Bugs:
Doubled frequency on GPU clocking (465 MHz step repeats).
You tell me.
Bugs marked with a "*" will be fixed in the next release.
XDA:DevDB Information
SomeFeaK Kernel for Moto G 2015 (3rd gen.), Kernel for the Moto G 2015
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-06-17
Last Updated 2017-06-27
Changelog (v4.53):
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.
* added smartmax.
* added wheatley.
* added smartmax_eps.
* added pegasusq.
* added authority.
input/touchscreen:
* updated DT2W driver, still not stable.
* more responsive and stable touchscreen.
sched:
* fixed zen.
* fixed and added sio.
selinux:
* only show errors.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25196
Alternative link: https://www.androidfilehost.com/?fid=745425885120742248
Finally, thanks! Testing
Laloo' Hdez said:
Finally, thanks! Testing
Click to expand...
Click to collapse
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
facuarmo said:
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
Click to expand...
Click to collapse
Testing
facuarmo said:
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
Click to expand...
Click to collapse
Don't booting on MokeeROM 20170616
facuarmo said:
No problem . Test and report back, please. I'd like to know if it's working.
Don't forget to join our Telegram group if you're interested on chatting, asking for features, help, etc.
Click to expand...
Click to collapse
It's not booting on official RR for osprey.
It's not booting on Viper OS 2.0...
Thanks for testing, an experimental hotfix will be up in some minutes.
Changelog (v4.53-1):
EXCLUSIVE BUILD: only for osprey, fixed boot (cpu not starting).
Kernel changes:
None.
Other changes:
config:
* fixed defconfig for osprey.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25198
Alternative link: https://www.androidfilehost.com/?fid=889764386195909633
I'm very thankful with everyone who had flashed and tried it.
@facuarmo, it still won't boot on official RR. I flashed the kernel, wiped cache and dalvik. It doesn't go past the boot logo.
adityak1303 said:
@facuarmo, it still won't boot on official RR. I flashed the kernel, wiped cache and dalvik. It doesn't go past the boot logo.
Click to expand...
Click to collapse
Thanks for reporting, please stay tuned at the Telegram group, I'm gonna throw away some exp. builds for you to test so I stop bothering with non-working builds. Please help .
facuarmo said:
Thanks for reporting, please stay tuned at the Telegram group, I'm gonna throw away some exp. builds for you to test so I stop bothering with non-working builds. Please help .
Click to expand...
Click to collapse
No problem. I'm there to help.
It's not booting up. Aosp extended 4.3 build. Doesn't get past to the boot logo.
it still won't boot on aospxtended. I flashed the kernel, wiped cache and dalvik. It doesn't go past the boot logo. Is the xt1543 variant
Changelog (v4.80):
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. (only harpia)
* 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.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25334
Alternative link: https://www.androidfilehost.com/?fid=673368273298966924
Code:
MD5: 6de0da7f970db0b98321604a4ccb7dc8
facuarmo said:
Changelog (v4.80):
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. (only harpia)
* 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.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25334
Alternative link: https://www.androidfilehost.com/?fid=673368273298966924
Code:
MD5: 6de0da7f970db0b98321604a4ccb7dc8
Click to expand...
Click to collapse
It works! thank you so much
I'm in MokeeROM 71.2 20170624
Laloo' Hdez said:
It works! thank you so much
I'm in MokeeROM 71.2 20170624
Click to expand...
Click to collapse
WOAH!!! THANKS FOR REPORTING. Finally got this booting on osprey, hope you enjoy it :fingers-crossed:.
facuarmo said:
WOAH!!! THANKS FOR REPORTING. Finally got this booting on osprey, hope you enjoy it :fingers-crossed:.
Click to expand...
Click to collapse
Booted on lineage os 14.1 official
---------- Post added at 06:04 AM ---------- Previous post was at 05:52 AM ----------
@facuarmo, the kernel is working on official RR for osprey. DT2W is also working fine for now. Would you recommend any particular governer or settings for good performance?

[Kernel][merlin] SomeFeaK for Moto G 2015 (3rd gen.)

This is SomeFeaK kernel, based on Squid2's kernel for device codename "merlin".
The kernel should work in stock and custom ROMs, with any variant.
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.
Click to expand...
Click to collapse
Release history:
Code:
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.
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.
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
Bugs:
You tell me.
XDA:DevDB Information
SomeFeaK Kernel for Moto G 2015 (3rd gen.), Kernel for the Moto G 2015
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-06-27
Last Updated 2017-06-27
Changelog (v4.83):
Kernel changes:
boot/harpia:
* fix kernel panics on Dirty Unicorns due to outdated kernel and ramdisk base.
NOTE: Don't forget to pick "Yes" in the installer if using that ROM.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25359
Alternative link: https://www.androidfilehost.com/?fid=889764386195911816
MD5: 8cb898cf0bf07c22f922a65ea8e151aa
Not working
Phone is not booting after flashing this kernel
I am on aex 4.3 merlin
---------- Post added at 12:08 PM ---------- Previous post was at 12:03 PM ----------
facuarmo said:
Changelog (v4.83):
Kernel changes:
boot/harpia:
* fix kernel panics on Dirty Unicorns due to outdated kernel and ramdisk base.
NOTE: Don't forget to pick "Yes" in the installer if using that ROM.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25359
Alternative link: https://www.androidfilehost.com/?fid=889764386195911816
MD5: 8cb898cf0bf07c22f922a65ea8e151aa
Click to expand...
Click to collapse
Please fix the issues
Its not booting
Changelog (v4.90):
Kernel changes:
power/harpia:
* fixed dead sleep, again.
power/osprey:
* fixed dead sleep, again.
power/surnia:
* fixed dead sleep, again.
power/merlin:
* fixed dead sleep, again.
config/merlin:
* update config, try to get it booting.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25363
Alternative link: https://www.androidfilehost.com/?fid=673368273298967591
MD5: 76aede9e9ca7889d169e47325b492db2
facuarmo said:
Changelog (v4.90):
Kernel changes:
power/harpia:
* fixed dead sleep, again.
power/osprey:
* fixed dead sleep, again.
power/surnia:
* fixed dead sleep, again.
power/merlin:
* fixed dead sleep, again.
config/merlin:
* update config, try to get it booting.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25363
Alternative link: https://www.androidfilehost.com/?fid=673368273298967591
MD5: 76aede9e9ca7889d169e47325b492db2
Click to expand...
Click to collapse
This build is also not booting
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=25375
Alternative link: https://www.androidfilehost.com/?fid=745425885120744934
MD5: 7cbba91717ef62284226e8a198b7a5b0
facuarmo said:
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=25375
Alternative link: https://www.androidfilehost.com/?fid=745425885120744934
MD5: 7cbba91717ef62284226e8a198b7a5b0
Click to expand...
Click to collapse
Not booting this version also
Please fix
Changelog (v6.00):
Kernel changes:
kernel/general:
* Updated to 3.10.105 Linux kernel.
To @Dark98 , you are the savior for all the users waiting for a Linux source update, including me. I don't even knew from where to start and my laziness hasn't helped. He made a pull request to the SomeFeaK repo, but I preferred to make it noticeable writing this.
config/harpia:
* updated to match new features.
config/merlin:
* disable hotplugging at all to test if now booting, please test.
cpufreq/governor:
* added preservative.
* aded lionheart.
gpu/kgsl:
* report correct GPU frequency to sysfs.
sched/core:
* fix racing methods.
* fix SMP ordering racing.
crypto/all:
* update code.
* revert skcipher full code implementation as it's not building (wrongly setted pointers).
kvm/general:
* updated most parts of the code.
pm/devfreq:
* fix incorrect type issue.
arm/general:
* general code updates.
* fix suspend/resuming for some devices.
alsa/all:
* improve sound quallity.
* reduce crackling.
* buffer improvements.
usb/all:
* improvements to chip connection.
* gadget handlign improvements.
* serial optimization.
* validate packet handling.
thermal/monitoring:
* properly report critical temperatur in sysfs.
ipv6/general:
* routing improvements.
* fix conflicts while routing.
ipv4/general:
* general performance and stability improvements.
tcp/general:
* general performance and stability improvements.
net/general:
* remove warnings.
* general performance and stability improvements.
mmc/block:
* don't kill very old MMC cards.
pm/sleep:
* fix leaks for test_suspend.
pstore/ram:
* improve log saving from old buffer.
mm/ksm:
* fix endless loop while allocating memory when ksm was enabled.
framebuffer:
* fix 16 color palette calculation.
lib/genalloc:
* removed unnecesary 'end_bit' variable declaration.
prima/general:
* disable panic on bug.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25398
Alternative link: https://www.androidfilehost.com/?fid=673368273298968433
MD5: b967afeb820dbd71f15ae670cd74e07e
Sorry for double posting, please skip this post.
Changelog (v6.00):
Kernel changes:
kernel/general:
* Updated to 3.10.105 Linux kernel.
To @Dark98 , you are the savior for all the users waiting for a Linux source update, including me. I don't even knew from where to start and my laziness hasn't helped. He made a pull request to the SomeFeaK repo, but I preferred to make it noticeable writing this.
config/harpia:
* updated to match new features.
config/merlin:
* disable hotplugging at all to test if now booting, please test.
cpufreq/governor:
* added preservative.
* aded lionheart.
gpu/kgsl:
* report correct GPU frequency to sysfs.
sched/core:
* fix racing methods.
* fix SMP ordering racing.
crypto/all:
* update code.
* revert skcipher full code implementation as it's not building (wrongly setted pointers).
kvm/general:
* updated most parts of the code.
pm/devfreq:
* fix incorrect type issue.
arm/general:
* general code updates.
* fix suspend/resuming for some devices.
alsa/all:
* improve sound quallity.
* reduce crackling.
* buffer improvements.
usb/all:
* improvements to chip connection.
* gadget handlign improvements.
* serial optimization.
* validate packet handling.
thermal/monitoring:
* properly report critical temperatur in sysfs.
ipv6/general:
* routing improvements.
* fix conflicts while routing.
ipv4/general:
* general performance and stability improvements.
tcp/general:
* general performance and stability improvements.
net/general:
* remove warnings.
* general performance and stability improvements.
mmc/block:
* don't kill very old MMC cards.
pm/sleep:
* fix leaks for test_suspend.
pstore/ram:
* improve log saving from old buffer.
mm/ksm:
* fix endless loop while allocating memory when ksm was enabled.
framebuffer:
* fix 16 color palette calculation.
lib/genalloc:
* removed unnecesary 'end_bit' variable declaration.
prima/general:
* disable panic on bug.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25398
Alternative link: https://www.androidfilehost.com/?fid=673368273298968433
MD5: b967afeb820dbd71f15ae670cd74e07e
Not booting I'm on lineageos 7.1.2
And I'm using somefeak6.0
Not booting.
Stock MM
Merlin
problem
When I charge the cell phone when it is turned off, it restarts constantly and does not show the charging percentage
Is the only problem
moto g turbo with android stock marshmallow
andres_castellanos said:
When I charge the cell phone when it is turned off, it restarts constantly and does not show the charging percentage
Is the only problem
moto g turbo with android stock marshmallow
Click to expand...
Click to collapse
I'm almost sure it's related to the ROM, how about stock?
Changelog (v6.53):
Kernel changes:
config/harpia => cpu/hotplug/thunderplug:
* prevent stuck hotplugging driver and only one CPU up.
cpu/hotplug/alucard:
* fix max CPU number default setting.
* disable temporarily.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25439
Alternative link: https://www.androidfilehost.com/?fid=889764386195913288
MD5: 96e84b1c1a4a1f1031ebf5134a9adbc3
facuarmo said:
Changelog (v6.53):
Kernel changes:
config/harpia => cpu/hotplug/thunderplug:
* prevent stuck hotplugging driver and only one CPU up.
cpu/hotplug/alucard:
* fix max CPU number default setting.
* disable temporarily.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25439
Alternative link: https://www.androidfilehost.com/?fid=889764386195913288
MD5: 96e84b1c1a4a1f1031ebf5134a9adbc3
Click to expand...
Click to collapse
Not booting
This version also
facuarmo said:
Changelog (v6.53):
Kernel changes:
config/harpia => cpu/hotplug/thunderplug:
* prevent stuck hotplugging driver and only one CPU up.
cpu/hotplug/alucard:
* fix max CPU number default setting.
* disable temporarily.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25439
Alternative link: https://www.androidfilehost.com/?fid=889764386195913288
MD5: 96e84b1c1a4a1f1031ebf5134a9adbc3
Click to expand...
Click to collapse
Kernel changes and improvements are useful only if it boots
facuarmo said:
I'm almost sure it's related to the ROM, how about stock?
Click to expand...
Click to collapse
You can overclock this kernel
andres_castellanos said:
You can overclock this kernel
Click to expand...
Click to collapse
It comes with overclock, you can control it using Terminal or easy apps like Kernel Adiutor, Kernel Toolkit, EX Kernel Manager, etc.
facuarmo said:
Changelog (v6.53):
Kernel changes:
config/harpia => cpu/hotplug/thunderplug:
* prevent stuck hotplugging driver and only one CPU up.
cpu/hotplug/alucard:
* fix max CPU number default setting.
* disable temporarily.
Other changes:
None.
Download:
Main link: https://forum.xda-developers.com/devdb/project/dl/?id=25439
Alternative link: https://www.androidfilehost.com/?fid=889764386195913288
MD5: 96e84b1c1a4a1f1031ebf5134a9adbc3
Click to expand...
Click to collapse
Not booting
Stock MM
Merlin

[kernel] [7.x.x] [Lineage/Aosp] Paradox Kernel R4 [condor]

Paradox Kernel​
HTML:
#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 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 laugh at you.
*/
Hello everyone...This is my first step towards developement...I created Paradox kernel for learning and after adding many features, its time to release it to community...Paradox kernel is based on latest Lineage 14.1 sources and supports LineageOs 14.1 and all other lineage based Aosp (7.x.x) roms...My moto is to make a stable and balanced kernel having better performance as well as good battery life with usefull features
Once again, Paradox kernel is for NOUGHT ONLY (LINEAGE 14.1 and AOSP 7.X).
Features
* Based on latest lineage 14.1 sources
* Compiled using Linaro 5.4.1 toolchain
* Added cpu governores
-Impulse
-Smartmax
-lionheart
-ondemandplus
-wheatly
* Added i/o schedulors
-Sio
-Tripndroid
-zen
*Wake gestures (DT2W,S2W,Pocket Mode)
* Faux sound 3.4
* Franco Fsync control (enabled by defualt)
* KCAL colour control
* Powersuspend and LCD Notifier
* Power efficient workqueues
* Optimised crypto routines
* Push readahead to 512kB
* Optimized square root algorithm
* Lz4 compression
* Many Zram tweaks
* Disable crc check for faster performance (upto 30% increase in i/o operations)
* Blocked some wakelocks for extra battery life
* Added many tcp controllers
default : westwood
Many more features to be added...so stay tuned
Installation Instructions
Note:- If you are coming from other kernel, flash your rom before installing it(dirty flash will work too) to avoid any conflicts.
Also if you are updating to latest release of paradox kernel,you must flash your rom before flashing latest paradox kernel.
Steps to flash :-
- reboot to twrp recovery
- clean cache and dalvik cache
- flash paradox zip
- reboot
- enjoy
Downloads
For download link and changelogs have a look at post #2
Credits
@LineageOs @google @savoca @faux123 @fransiscofranco @rainforce279 @hurtsky @xda community
I am doing it as my hobby in free time...and i am asking for just one thing in return...press the thanks button...it will encourage me to make this kernel better and better.
Click to expand...
Click to collapse
XDA:DevDB Information
Paradox kernel, Kernel for the Moto E
Contributors
DarkElf
Source Code: https://github.com/Akshay7273/MotoE
Kernel Special Features: DT2W,S2W,KCAL colour control
Version Information
Status: Stable
Current Stable Version: R4
Stable Release Date: 2017-10-10
Created 2017-08-27
Last Updated 2017-10-10
Downloads + Changelogs
Downloads
Download latest release :- Paradox Kernel R4
Changelogs
*Paradox R4 10/10/17)
Merge latest lineage changes
Optimized ARM RWSEM algorithm (RWSEM implementation for ARM using atomic functions)
Lock the initial TCP window size to 64K
Optimize copy_page for modern ARM platforms
Entropy : random write wakeup thresh to 256)
Selinux : permissive
Silence some selinux logs
Older changelogs:-
*Paradox R3 (04/09/17)
Added Ondemandpus and Wheatly cpu governors
Added Conservative gpu governor
Enable lionheart cpu governor (forgot to enable in last update)
Revert KCAL commit (it was already integrated,i readded it by mistake and thus some conflicts occured...But now its fixed)
zram: set default compressor to lz4
lib/int_sqrt.c: optimize square root algorithm
init: don't force selecting debug
mm: push readahead to 512kB
proc: much faster /proc/vmstat
block: scheduler: add ZEN
USB: android: Fix memory leak in mass_storage_function_init()
sync: don't block the flusher thread waiting on IO
writeback: fix occasional slow sync
writeback: fix race that cause writeback hung
readahead: make context readahead more conservative
its not over...many other patches
*Paradox R2 (30/08/17)
Switched to Linaro 5.4.1 toolchain
Remove anykernel method and using new template zip (thanks to @rainforce279)
Added wake gestures :-
DT2W
S2W
Pocket mode for dt2w
Added KCAL colour control
Added lionheart cpu governor
Added fsync on/off support
Enable fsync by default
arm: crypto: Add optimized SHA-256/224
crypto: arm/aes update NEON AES module to latest OpenSSL version
sched: cpu_power: Add controls for sched features
sched: archpower: disabled by default
bfq-sched: Forcefully lookup entities when the cache is inconsistent
some more patches
*Paradox-R1-08/26/2017
initial release
merged latest lineage 14.1 sources
added cpu governors :- impulse,smartmax
added i/o schedulors :- sio,tripndroid
added faux sound 3.4
added powersuspend and lcd notifier
disable crc check (faster performance)
added power efficient workqueues
block some driver wakelocks
added many tcp congestion controllers
set default tcp controller to westwood
FAQ section
FAQs
[Q] This kernel works in stock rom?
NO, this kernel is based on lineage sources and works on Lineage 14.1 and all other AOSP 7.x.x roms.
[Q] Got errors during flashing/after flashing this kernel...what to do now?
Well if you are coming from any other kernel you must dirty flash your rom once to avoid any conflicts.After dirty flashing your rom flash this kernel and you won't face any problems.Also use twrp latest version (recommended)
[Q] I am having some random reboots/bugs...what to do?
Just report it with last_kmsg which is located in /proc/last_kmsg or in case of any bugs report it with logcat and proper information about how you encountered it.I will do my best to resolve it asap.
[Q] how to tweak this kernel for advanced features (like dt2w on/off,s2w on/off or changing cpu governor or i/o sechdulors) ?
Use kernel adiutor app for playing with the kernel and change the settings according to your own taste.
[Q]How to ask for any features ?
You can ask in this thread...if I find feature useful and logical then it'll be added...I would appreciate if you link me with commit. It's really hard to dig in the sources and find the exact commit.
Double tap to wake is there ??
No i have not added it yet...but i am planning to add it soon...many more features are going to be added
Update R2
Hello guyss...here comes a big update Paradox R2.Many features have been added and many things have changed to make it better.
Remember to dirty flash your rom before installing this update
*Paradox R2 (30/08/17) Download here
Changelogs -
Switched to Linaro 5.4.1 toolchain
Remove anykernel method and using new template zip (thanks to @rainforce279)
Added wake gestures :-
DT2W
S2W
Pocket mode for dt2w
Added KCAL colour control
Added lionheart cpu governor
Added fsync on/off support
Enable fsync by default
arm: crypto: Add optimized SHA-256/224
crypto: arm/aes update NEON AES module to latest OpenSSL version
sched: cpu_power: Add controls for sched features
sched: archpower: disabled by default
bfq-sched: Forcefully lookup entities when the cache is inconsistent
some more patches
after installing it my screen looks green and calibrated the colors and returns to look green
Luis Infante said:
after installing it my screen looks green and calibrated the colors and returns to look green
Click to expand...
Click to collapse
Luis actually its LiveDisplay conflicting with KCal...turn off live display from settings>> Display >> LiveDisplay ...after that display willbe normal. Thanks for trying my kernel by the way...
DarkElf said:
Luis actually its LiveDisplay conflicting with KCal...turn off live display from settings>> Display >> LiveDisplay ...after that display willbe normal. Thanks for trying my kernel by the way...
Click to expand...
Click to collapse
Ok i Will try it but i like use live display, another solution? And s2w is not working
Luis Infante said:
Ok i Will try it but i like use live display, another solution? And s2w is not working
Click to expand...
Click to collapse
Edit :- Ok guyss...i figured out the real issue...it was a tiny mistake by me and that's why when kcal colour was caliberated it automatically turned back...All is well now nd i will be updating it in an hour...this time the changelogs is gonna be huge.
S2W is working without any issues...its just disabled by default...if you want to use it then enable it first by kernel adiutor app.
Update R3
Paradox kernel R3
Download here
Remember to dirty flash your rom before installing this update (as always)
Changelogs
Added Ondemandpus and Wheatly cpu governors
Added Conservative gpu governor
Enable lionheart cpu governor (forgot to enable in last update)
Revert KCAL commit (it was already integrated,i readded it by mistake and thus some conflicts occured...But now its fixed)
zram: set default compressor to lz4
lib/int_sqrt.c: optimize square root algorithm
init: don't force selecting debug
mm: push readahead to 512kB
proc: much faster /proc/vmstat
block: scheduler: add ZEN
USB: android: Fix memory leak in mass_storage_function_init()
sync: don't block the flusher thread waiting on IO
writeback: fix occasional slow sync
writeback: fix race that cause writeback hung
readahead: make context readahead more conservative
its not over...many other patches
Nice kernel
Update R4
Yo guysss...its time for an update... I have been pretty much busy due to exams...finally its over and i'm back to developement.
This is the build for 7.x.x only...i haven't started on oreo yet...but i will do that shortly.
Paradox kernel R4
Download Here
Dirty flash you rom once before flashing as always...
Changelog
Merge latest lineage changes
Optimized ARM RWSEM algorithm (RWSEM implementation for ARM using atomic functions)
Lock the initial TCP window size to 64K
Optimize copy_page for modern ARM platforms
Entropy : random write wakeup thresh to 256)
Selinux : permissive
Silence some selinux logs
DarkElf said:
Yo guysss...its time for an update... I have been pretty much busy due to exams...finally its over and i'm back to developement.
This is the build for 7.x.x only...i haven't started on oreo yet...but i will do that shortly.
Paradox kernel R4
Download Here
Dirty flash you rom once before flashing as always...
Changelog
Merge latest lineage changes
Optimized ARM RWSEM algorithm (RWSEM implementation for ARM using atomic functions)
Lock the initial TCP window size to 64K
Optimize copy_page for modern ARM platforms
Entropy : random write wakeup thresh to 256)
Selinux : permissive
Silence some selinux logs
Click to expand...
Click to collapse
I have installed this and working fine.
sherindroid said:
Nice kernel
Click to expand...
Click to collapse
praveen139 said:
I have installed this and working fine.
Click to expand...
Click to collapse
Thanks for trying and using it mates...i'm happy my work is being used by moto e community...
Can you add FAUX SIMPLE GPU CONTROL please?
sherindroid said:
Can you add FAUX SIMPLE GPU CONTROL please?
Click to expand...
Click to collapse
Yes sure...i'll add it in next update...
DarkElf said:
Yes sure...i'll add it in next update...
Click to expand...
Click to collapse
Thanks
Viper OS + Paradox
Can anyone tell the battery life after installation of this kernal....?

Triton-kernel [EAS] [Treble] [android-10^][4.9] [Redmi4A | Redmi5A]

Triton-kernel for Redmi4a & Redmi 5a [Treble] [EAS/HMP]
Code:
/*
* 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.
*/
Triton-kernel is custom or stock kernel for redmi 4a. Based on CAF with stock device drivers and some additional features .Triton now supports linux v4.9 with the flavour named Triton-Storm. Triton kernel has both support for HMP and EAS scheds with different flavours. Triton-Atmosphere Indicates the stock verison of Triton a pure CAF kernel with HMP sched with some modifications for battery and performance and Triton-Ebella Indicates an other stock version kernel with EAS sched with some modifications for battery and performance. And the New Triton-Storm indicates that its based on 4.9 yes linux v4.9 .
Code:
Triton is focused on battery more than performance so it has very least features .
Toolchain - Proton-Clang v12
* Link Time Optimization
* LLVM Polly Optimization
* ld lld support
- Memory Optimizations
- QNS for better charging
- Schedutil governor
- optimized Interactive governer
- optimized cpufreq
- boefla wl blocker
- dts-eagle
- optimized zram
And many more which cant be listed here :)
If you are currently in ROM with 3.18 kernel You need yo flash 4.9-fixes.zip to fix some issues no need if your in 4.9 tree
DOWNLOAD
Support - paypal
Enjoy Triton!
Click to expand...
Click to collapse
XDA:DevDB Information
Triton-kernel [EAS] [Treble] [android-10^][4.9] [Redmi4A | Redmi5A], Kernel for the Xiaomi Redmi 4a
Contributors
Thago
Source Code: https://github.com/Thagoo/platform_kernel_xiaomi_msm8917/tree/tr-4.9-rova
Kernel Special Features: EAS
Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2020-04-02
Created 2020-04-03
Last Updated 2020-11-08
New update pushed for Triton-Atmosphere 08/06/2020 (DD/MM/YYYY)
Changelogs
Enable QNS Battery charging driver
Enable cpufreq as default gpu governor untill fix msm-adreno-tz(not using its maximum freq)
Implement optimised IP checksum helpers
Optimized Console FrameBuffer for upto 70% increase in Performance
Use optimized memcmp
Link updated Download " Triton-Atmosphere" above
**************************************
Triton-Storm 4.9 Update Oct 30 2020
Changelogs
* Merge linux stable v4.9.241
* Fix dt2w for goodix touchscreen users
* Fix gpu freq were not showing
* Fix offline leds
* Improvemens for stability
* Merge aosp common android-4.9-q
* Stabilize charging for rolex
* add cpu EAS governor pixel_smurfutil
* Add anxiety i/o scheduler
* Enable more thermal governors
* Set read ahead kb value to 256
* Set low limits as default thermal governor
* TCP westwood is there and default
* Add state notifier driver used by the new cpu governor
* kernel: time: reduce ntp wakeups
* Added support for custom post_boot script adding some modifications by me like (T-Weaks)
* Enable some power saving features.
* Rebased kernel source
* Add blu-schedutil EAS governor and set as default
* Enforce EAS
* Enable Energy model
* Add bfq iosched and set as default for our potato
* Enable and set default tcp Westwood
* Add boefla wakelock blocker
* Improved lz4 and set as default zram compression algorithm
* Add kcal and k lapse
* Nuke sched_boost feature
*******************************
*******************************
Triton-Strom 4.9 Update Oct 31st 2020
Toolchain - Proton-Clang-v12
Changelog
* Fix LED light issue for Redmi 5a
* Undervolt min and max microvolt.
* Set GPU idle timeout to 64 ms
* Add back tps65132 regulator configurations
* mm: Disable readahead by default
* perf: Restrict perf event sampling CPU time to 5%
* sched: Do not use IPIs for remote wakeups if idle
* sched: Allow aggressive remote task interruptions
* sched: Handle remote wakeups on remote CPUs
* block: Queue requests on their origin CPU
Click to expand...
Click to collapse
*****************************************†**************
Triton-Storm
new update released
Nov 07 2020
Unified | Rolex | Riva
- linux v4.9.241
Compiler - Proton clang v12 with LTO, ld.lld and llvm polly optimizations
Changelogs
* Fix previous lags when gaming caused by gpu
* Fix IR blaster for rolex and riva
* Add gpu boost
* BACKPORT: cpuidle: lpm_levels: Wakeup biased cpu
* lpm-levels: Allow enforcing deepest cluster idle state selection
* cpuidle: Add cpuidle_use_deepest_state_mask() helper function
* UPSTREAM: cpufreq: schedutil: Make iowait boost more energy efficient
* cpufreq: schedutil: Use exponential frequency selection
* BACKPORT: mm: fix pageblock heuristic
* UPSTREAM: cpufreq: schedutil: Make iowait boost more energy efficient
Click to expand...
Click to collapse
THUG_O the real thug.
rohitsinha12 said:
THUG_O the real thug.
Click to expand...
Click to collapse
Thank you sir
m4ulana said:
Awesome kernel by pro, awesome dev! :good: Use Triton kernel since Atmosphere version. Keep up the good work! :highfive:
Click to expand...
Click to collapse
Thanks for your support report bugs if you found any
What difference between Atmospher vs. Ebella kernel in battery backup in more detail?
suzver said:
What difference between Atmospher vs. Ebella kernel in battery backup in more detail?
Click to expand...
Click to collapse
I have written it in thread you can read it
Is this kernel compatible with Pixel expierence rom 9? It has very poor SOT (2h). Wonder to flash kernel,to improve sot.
dzincha said:
Is this kernel compatible with Pixel expierence rom 9? It has very poor SOT (2h). Wonder to flash kernel,to improve sot.
Click to expand...
Click to collapse
Yes ,you can backup boot.img if you are unsure about booting and can restore boot.img to revert to old kernel if anything goes
Which one's best for our device? Based on what I've read so far it looks like EAS is the better one
dzincha said:
Is this kernel compatible with Pixel expierence rom 9? It has very poor SOT (2h). Wonder to flash kernel,to improve sot.
Click to expand...
Click to collapse
Yes
Triton-Ebella development discontinued, new versions not planned?
Just for info - tried with crDroid ROM and it does not work. Boots ok (no loop), but many apps stop responding. Nova launcher restarts continuously, making the phone unusable.
suzver said:
Triton-Ebella development discontinued, new versions not planned?
Click to expand...
Click to collapse
Yes, Ebella has discontinued and focusing more on HMP you can get latest build here
Buvarz said:
Just for info - tried with crDroid ROM and it does not work. Boots ok (no loop), but many apps stop responding. Nova launcher restarts continuously, making the phone unusable.
Click to expand...
Click to collapse
Because you are not using the latest version please check whether you using latest version before posting issue with a logcat the latest version of Triton
New update available
Download
Changelog
* Merge tag LA.UM.8.6.r1-04700-89xx.0
* Fix Disable hw navigation dont working (hw navigation was actives even toggles it to disable)
Tester - taseer(goodix) , shieknabil (focaltech)
Thago said:
New update available at telegram
Downloadhttps://t.me/tboxxx/192
Changelog
* Merge tag LA.UM.8.6.r1-04700-89xx.0
* Fix Disable hw navigation dont working (hw navigation was actives even toggles it to disable)
Tester - taseer(goodix) , shieknabil (focaltech)
Click to expand...
Click to collapse
can give a sourceforge link
Redmi 4A abdal said:
can give a sourceforge link
Click to expand...
Click to collapse
[https://sourceforge.net/projects/tr.../download]Triton-Atmosphere-51-2020-08-28.zip - 13.3 MB[/URL]
Thago said:
Triton-Atmosphere-51-2020-08-28.zip - 13.3 MB
Click to expand...
Click to collapse
thanks, i hope it will work for SuperiorOS Phoenix
Triton-Storm 4.9 Update Oct 30 2020
Changelog
* Merge linux stable v4.9.241
* Fix dt2w for goodix touchscreen users
* Fix gpu freq were not showing
* Fix offline leds
* Improvemens for stability
* Merge aosp common android-4.9-q
* Stabilize charging for rolex
* add cpu EAS governor pixel_smurfutil
* Add anxiety i/o scheduler
* Enable more thermal governors
* Set read ahead kb value to 256
* Set low limits as default thermal governor
* TCP westwood is there and default
* Add state notifier driver used by the new cpu governor
* kernel: time: reduce ntp wakeups
* Added support for custom post_boot script adding some modifications by me like (T-Weaks)
* Enable some power saving features.
* Rebased kernel source
* Add blu-schedutil EAS governor and set as default
* Enforce EAS
* Enable Energy model
* Add bfq iosched and set as default for our potato
* Enable and set default tcp Westwood
* Add boefla wakelock blocker
* Improved lz4 and set as default zram compression algorithm
* Add kcal and k lapse
* Nuke sched_boost feature
DOWNLOAD

Categories

Resources