• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][E5823] GreenKernel for Nougat (stock ROM)

Search This thread

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
Green Kernel

Features:
  • Latest CAF source
  • Support WireGuard
  • CPU voltage control
  • Adreno idler
  • KCAL Driver
  • Fingerprint boost tweaks
  • Available CPU governors: blu_active, elementalx, chill, electron, flash, interactive, ondemand, smartmax_eps, bioshock, powersave, performance
  • Available I/O schedulers: deadline, row, cfq, bfq, noop, fifo, fiops, sio, sioplus, maple, zen
  • Remove SafetyNet checks
  • DRM-Fix, Sony RIC disabled, DM-Verity disabled (ramdisk)
  • Built with Linaro Toolchain 7.2.1
  • Kernel for stock ROM

Change log:
Code:
v1.12.70
- Fix video recording
- Updated WireGuard to 0.0.20180304
- Upstream to 3.10.108
- Driver update wlan to 1.141.67.32
- Updating the USB Gadget subsystem
- Add The NEXT generation (TNG) for Android Low Memory Killer
- Printk and friends can now format bitmaps using '%*pb[l]'
- Add Snapdragon Smart Protection and add service "seempd" (activation requires the edit framework)
- Various fixes for stability and optimization

v1.10.28
- Updated BCMDHD driver
- Updated WireGuard to 0.0.20180202
- Minor update network protocol
- swap: Fix value of SWP_FAST
- A lot of changes to eMMC
-- Added Command Queue Support on eMMC
- Updated Binder driver
- Updated TUN network driver
- Built with Linaro Toolchain 7.2.1
- Various fixes for stability
- Lots of different subsystem changes

v1.6.28
- Use power efficient work queues
- Update z3fold
- Fix loading of the cryptographic module QTI HW (version 1.3 violated the module loading)
- Various fixes for energy efficiency and stability

v1.4.14
- Updated crypto modules
- Update LZ4 to v1.7.3
- Update to LA.BF64.1.2.3_rb1.18
- Add support WireGuard
- Other changes for stability

v1.2.31
- Added I/O Schedulers: zen
- Other changes stability

v1.0.0
- Added governor: Electron and Chill
- Maximum frequency default 1651200 and 2016000
- Other changes stability

v0.9.9
- Added eCrypt FS
- Updated driver BT
- Changed the frequency of the interrupt timer to 300
- Other changes stability
- Add support for 32.4.A.1.54

v0.9.4 (hotfix)
- Added eCrypt FS
- Updated driver BT

v0.9.3:
- added RCU
- initial fix MMC
- added CPU governors: flash, blu_active
- fix binder
- fixes network
- other improvements for stability

v.0.8.7:
- ZRam, return 512MB
- Fixes for stability

v.0.8.6:
- Update to LA.BF64.1.2.3_rb1.17
- Driver update wlan to 1.141.67.30 and FW 7.45.59.18 (r718509)
- Added exfat file system driver (rejection of the built-in module)
- Other fixes for stability

v.0.8: 
- Update to LA.BF64.1.2.3_rb1.16

v.0.7: 
- Minor enhancements and performance improvements

v.0.6.5: 
- The transition to opensource Core control driver instead of the built-in module
- CPU voltage control
- Updated WLAN driver to 1.141.67.29 and Firmware 7.45.59.17
- Increased ZRam size to 768 MB
- Add support for 32.4.A.0.160
- Built with Linaro Toolchain 6.4.1

v0.5.1: 
- Added I/O Schedulers BFQ
- Cancelled patch: "dts: msm8994-mdss: Enable power collapse on idle"

v0.5: 
- Added KCAL Driver
- Added Qnovo QNS Interface (not exactly sure about the effectiveness)
- Other improvements

v0.4.2: 
- Enable Governors Bioshock for A53
- Enable I/O Schedulers Maple for internal memory
- Enable Hi-Performance DAC
- Enable Pstore
- Disable Governors USERSPACE

v0.4: 
- Added Governors: Smartmax EPS, Bioshock
- Added I/O Schedulers: FIFO, SIOplus
- Added Fingerprint Boost Driver
- Other minor improvements

v0.3: 
- init.d support
- Enable State Notifier
- Gentle Fair Sleepers Interface
- Arch Power
- Disabled CRC check in MMC for 30% extra performance with IO
- Added Adreno idler
- Added I/O Schedulers: Maple, Switcher
- Other minor improvements

v0.2: 
- Disabled check SafetyNet
- Added ElementalX Governors
- Added I/O Schedulers SIO, FIOPS
- Enabled TCP Westwood
- Reduced Adreno minimum frequency to 180MHz

v0.1: 
- Added DRM-Fix
- Sony RIC disabled
- DM-Verity disabled
- Release based on 32.3.A.2.33
- Built with Linaro Toolchain 6.3.1 (compiler Google 4.9 outdated 2015)

Downloads
Dropbox

Additionally
To configure the kernel, use Kernel Adiutor.
ROOT: Magisk + module init.d (for kernel v.0.6+)

XDA: DevDB Information
Green Kernel, Kernel for Sony Xperia E5823

Contributors
GreyLeshy
Source Code: github.com/GreyLeshy/android_kernel_sony_msm8994_kitakami

Version Information
Current Stable Version: 1.12.70
Last Updated: 2018-03-18
_____
TWRP 3.2.3 | Vulkan API for Adreno 430 | Media Config
 
Last edited:

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
Stock = kernel from last nougat 32.3.A.2.33 ? I think yes looking the source but maybe it's better to add this info ;)
Could I flash over AndroPlusKernel v43?
Based on stock kernel 32.3.A.2.33.
Yes, You can. Part of the patches were taken from AndroPlusKernel.

Is it ok i Flash it My E5803?
This kernel only for E5823, on E5803 operability of a kernel isn't guaranteed.
 
  • Like
Reactions: Dean F

cioce

Senior Member
Sep 21, 2013
353
105
Try to flash that mod and you will see that system ui crash when Android start, I have flashed back androplus kernel and all was back ok.
 

altvolt74

Senior Member
Jan 5, 2011
714
671
Guaynabo
he has to add to commit this change to the kernel to allow system customization to the kernel

+CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1
+CONFIG_SECURITY_SELINUX_DISABLE=y
+CONFIG_SECURITY_SELINUX_DEVELOP=y
+CONFIG_SECURITY_SELINUX_AVC_STATS=y

if not any moded app will crash ...super user mod relay on this changes

also init.d will be nice aswell enable core control

are you merging androplus source whit latest sony ramdisk or your just cherry picking from androplus to stock kernel?
 
  • Like
Reactions: emosis and cioce

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
he has to add to commit this change to the kernel to allow system customization to the kernel
+CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 +CONFIG_SECURITY_SELINUX_DISABLE=y +CONFIG_SECURITY_SELINUX_DEVELOP=y +CONFIG_SECURITY_SELINUX_AVC_STATS=y
if not any moded app will crash ...super user mod relay on this changes
also init.d will be nice aswell enable core control
are you merging androplus source whit latest sony ramdisk or your just cherry picking from androplus to stock kernel?
These parameters are already included in config, except CONFIG_SECURITY_SELINUX_DISABLE=y.
Soon I will add support init.d.
From AndroPlusKernel I took several patches.
 
Last edited:
  • Like
Reactions: emosis

DJHasis

Senior Member
Feb 16, 2015
98
187
34
Turku
Samsung Galaxy S10e
I compiled your kernel myself and it works quite well on my custom AICP rom.
But for some weird reason after a while the screen doesn't take any touch input. Buttons still work at the time.

I installed Green_Kernel_v0.2_e5823.zip and my phone had a bootloop and for some reason I didn't get any logcat informations of the problem.
 
  • Like
Reactions: emosis

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
Updated the kernel to version 0.3.

Who needs root, use Magisk-v13.
Screenshot_20170613.png
For non stock firmware, kernel optimization is not yet in the plans.
 

ModyCZ

Senior Member
Oct 16, 2010
193
73
Kernel works nicely but it seems I've lost notification led. Anyone with the same problem?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Green Kernel

    Features:
    • Latest CAF source
    • Support WireGuard
    • CPU voltage control
    • Adreno idler
    • KCAL Driver
    • Fingerprint boost tweaks
    • Available CPU governors: blu_active, elementalx, chill, electron, flash, interactive, ondemand, smartmax_eps, bioshock, powersave, performance
    • Available I/O schedulers: deadline, row, cfq, bfq, noop, fifo, fiops, sio, sioplus, maple, zen
    • Remove SafetyNet checks
    • DRM-Fix, Sony RIC disabled, DM-Verity disabled (ramdisk)
    • Built with Linaro Toolchain 7.2.1
    • Kernel for stock ROM

    Change log:
    Code:
    v1.12.70
    - Fix video recording
    - Updated WireGuard to 0.0.20180304
    - Upstream to 3.10.108
    - Driver update wlan to 1.141.67.32
    - Updating the USB Gadget subsystem
    - Add The NEXT generation (TNG) for Android Low Memory Killer
    - Printk and friends can now format bitmaps using '%*pb[l]'
    - Add Snapdragon Smart Protection and add service "seempd" (activation requires the edit framework)
    - Various fixes for stability and optimization
    
    v1.10.28
    - Updated BCMDHD driver
    - Updated WireGuard to 0.0.20180202
    - Minor update network protocol
    - swap: Fix value of SWP_FAST
    - A lot of changes to eMMC
    -- Added Command Queue Support on eMMC
    - Updated Binder driver
    - Updated TUN network driver
    - Built with Linaro Toolchain 7.2.1
    - Various fixes for stability
    - Lots of different subsystem changes
    
    v1.6.28
    - Use power efficient work queues
    - Update z3fold
    - Fix loading of the cryptographic module QTI HW (version 1.3 violated the module loading)
    - Various fixes for energy efficiency and stability
    
    v1.4.14
    - Updated crypto modules
    - Update LZ4 to v1.7.3
    - Update to LA.BF64.1.2.3_rb1.18
    - Add support WireGuard
    - Other changes for stability
    
    v1.2.31
    - Added I/O Schedulers: zen
    - Other changes stability
    
    v1.0.0
    - Added governor: Electron and Chill
    - Maximum frequency default 1651200 and 2016000
    - Other changes stability
    
    v0.9.9
    - Added eCrypt FS
    - Updated driver BT
    - Changed the frequency of the interrupt timer to 300
    - Other changes stability
    - Add support for 32.4.A.1.54
    
    v0.9.4 (hotfix)
    - Added eCrypt FS
    - Updated driver BT
    
    v0.9.3:
    - added RCU
    - initial fix MMC
    - added CPU governors: flash, blu_active
    - fix binder
    - fixes network
    - other improvements for stability
    
    v.0.8.7:
    - ZRam, return 512MB
    - Fixes for stability
    
    v.0.8.6:
    - Update to LA.BF64.1.2.3_rb1.17
    - Driver update wlan to 1.141.67.30 and FW 7.45.59.18 (r718509)
    - Added exfat file system driver (rejection of the built-in module)
    - Other fixes for stability
    
    v.0.8: 
    - Update to LA.BF64.1.2.3_rb1.16
    
    v.0.7: 
    - Minor enhancements and performance improvements
    
    v.0.6.5: 
    - The transition to opensource Core control driver instead of the built-in module
    - CPU voltage control
    - Updated WLAN driver to 1.141.67.29 and Firmware 7.45.59.17
    - Increased ZRam size to 768 MB
    - Add support for 32.4.A.0.160
    - Built with Linaro Toolchain 6.4.1
    
    v0.5.1: 
    - Added I/O Schedulers BFQ
    - Cancelled patch: "dts: msm8994-mdss: Enable power collapse on idle"
    
    v0.5: 
    - Added KCAL Driver
    - Added Qnovo QNS Interface (not exactly sure about the effectiveness)
    - Other improvements
    
    v0.4.2: 
    - Enable Governors Bioshock for A53
    - Enable I/O Schedulers Maple for internal memory
    - Enable Hi-Performance DAC
    - Enable Pstore
    - Disable Governors USERSPACE
    
    v0.4: 
    - Added Governors: Smartmax EPS, Bioshock
    - Added I/O Schedulers: FIFO, SIOplus
    - Added Fingerprint Boost Driver
    - Other minor improvements
    
    v0.3: 
    - init.d support
    - Enable State Notifier
    - Gentle Fair Sleepers Interface
    - Arch Power
    - Disabled CRC check in MMC for 30% extra performance with IO
    - Added Adreno idler
    - Added I/O Schedulers: Maple, Switcher
    - Other minor improvements
    
    v0.2: 
    - Disabled check SafetyNet
    - Added ElementalX Governors
    - Added I/O Schedulers SIO, FIOPS
    - Enabled TCP Westwood
    - Reduced Adreno minimum frequency to 180MHz
    
    v0.1: 
    - Added DRM-Fix
    - Sony RIC disabled
    - DM-Verity disabled
    - Release based on 32.3.A.2.33
    - Built with Linaro Toolchain 6.3.1 (compiler Google 4.9 outdated 2015)

    Downloads
    Dropbox

    Additionally
    To configure the kernel, use Kernel Adiutor.
    ROOT: Magisk + module init.d (for kernel v.0.6+)

    XDA: DevDB Information
    Green Kernel, Kernel for Sony Xperia E5823

    Contributors
    GreyLeshy
    Source Code: github.com/GreyLeshy/android_kernel_sony_msm8994_kitakami

    Version Information
    Current Stable Version: 1.12.70
    Last Updated: 2018-03-18
    _____
    TWRP 3.2.3 | Vulkan API for Adreno 430 | Media Config
    8
    Modification for 32.4.A.1.54

    Media Config:
    - Minor changes and adding support for VP9 HW.
    VP9 HW is not work, requires modification of the libraries.

    SoundMod:
    - Sensitivity of the microphone at a call is modified
    - Increased headphone volume
    - Added ZNR
    - Added Apt-X HD for Bluetooth
    - Enabled 24/96khz Bluetooth playback
    - Enabled 24/96khz Headphones playback
    - Enabled 24/192khz USB playback
    7
    Test kernel v0.9.6 for FW 32.4.A.1.54
    Change log:
    - Added changes made by Sony
    - Other changes stability

    The Kernel may contain bugs!
    Please report any identified malfunctions.
    6
    Kernel v0.9.3 (fw 32.4.A.0.160) goes into stable branch.
    6
    I publish the test kernel for 32.4.A.0.160.
    See Github to see what changes included.
    https://www.dropbox.com/s/bh4ok7v2zkju5n6/Green_Kernel_BETA.zip?dl=0

    And for best compatibility flash update fw WLAN/BT. https://forum.xda-developers.com/showpost.php?p=73357962&postcount=11

    Screenshot AnTuTu
    Screenshot_20170911-182726.png
    An_Tu_Tu_Benchmark_6.3.5_2017091120170910.png