{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
IMPORTANT:
Always make necessary backups before flashing anything. In this case backup your stock boot in recovery before proceeding.
I will only consider issues that includes clear steps to reproduce the bug, a logcat or a console ramoops (in case of random reboots) or a dmesg (for other issues), because it provides more info than just saying something doesn't work.
Features:
Latest linux upstream version 3.10.108
Up to date as per AOSP/kernel-common and CAF
Unlocked frequency steps for CPU and GPU
Advanced color (kcal) control
Fingerprint sensor as power or home button by flar2
Sound control by flar2
Sweep2sleep by flar2
Boeffla wakelock blocker driver
Backlight dimmer
Spectrum app support
Flashing Instructions for custom roms:
Download TWRP recovery from here.
First backup boot in TWRP then flash the latest LoonyKernel zip. Reboot to system.
For magisk users, if you have already flashed magisk once, there's no need to re-flash it again after flashing the kernel. Magisk root will be retained.
Subsequent releases can be flashed over the same kernel's older version.
Flashing Instructions for stock rom:
Use only official TWRP for flashing on stock nougat or oreo rom. If you are using elementalx kernel then first restore the stock boot image or kernel then flash this kernel to avoid any potential issues with module(s).
Download official TWRP.
Backup boot in TWRP.
Flash latest LoonyKernel zip and reboot the device to system.
Subsequent releases can be flashed over the same kernel's older version.
Download Links:
Stock rom: 8.1.0 (mirror) || 7.0-EOL (mirror)
For my 64-bit AOSiP 9.0 builds: Sourceforge || AFH
Other pie/oreo custom roms: 64-bit (mirror) || 32-bit (mirror)
Credits: flar2, om0sis, Nathan and many other devs for their work.
XDA:DevDB Information
LoonyKernel, Kernel for the Moto G4 Plus
Contributors
lCrD512
Source Code: https://github.com/loonycrd/kernel_motorola_msm8952
Kernel Special Features: All mentioned above
Version Information
Status: Stable
Current Stable Version: r17
Stable Release Date: 2019-07-31
Current Beta Version: --
Created 2017-12-28
Last Updated 2019-08-10
Changelogs
May 02, Stock 8.1.0 - Release 2
Add digital tv module (isdbt)
Update wifi driver to latest CAF oreo tag 'LA.UM.6.6.r1-11000-89xx.0'
Disable various debugging for release builds
Exclude debug symbols from release builds (reduced kernel size)
Few updates to interactive governor
Update spectrum profiles
R.I.P sched boost feature
Various other fixes for cpufreq, crypto, memory etc.
Old releases
March 20, stock 8.1.0 Release-1 initial release
Changes over stock sources
Upstream linux kernel version.
Upstream sdcardfs.
Fix 0 bytes fize size while copying or moving.
Upstream interactive governor.
Add all LK features from nougat. Touch-boost and Fsync toggle have been removed.
Drop deprecated GCC 4.8/4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Other misc. but relevant fixes/patches (can be seen on github).
Feb 8, 9/8.1 Release-12 for ARM64
NOTE: Those who are using my AOSiP or PixelExperience builds should flash the kernel update from the attachment in release post HERE
Android binder and sdcardfs updates.
Drop deprecated GCC 4.9 and switch to 7.3.0 for code improvements. All relevant code warnings were fixed.
Drop kernel size optimization flag as per AOSPs recommendation. Associated code warnings fixed.
Fixed some minor memory leaks. These were not detected earlier when size optimization flag was enabled.
Bring back 160mhz level for idle state GPU.
Squash some relevant upstream patches for xpad driver.
Merged sdFAT updates.
Disabled cpu hotplugging at lower battery levels.
Slight improvements in i/o operations.
Updates to cpusets and cgroup.
Remove sweep2sleep defaults as it conflicts with pie's swipe up gesture.
Fix a minor derp in zram initialization.
Jan 14, 9/8.1 Release-11 for ARM64
Regular android sdcardfs updates.
Upstream CFQ i/o scheduler.
Fixed some more memory leaks and slight memory management improvements.
Upstream patches to kernel scheduler, perf, rcu and cpu hot-plugging.
Updates to Wireguard.
Updates to LZ4 algorithm.
Fixed minor derps with fsync (on/off) toggle functionality.
Upstreamed and performance improvements to Interactive governor.
Replaced powersave governor with conservative for spectrum battery mode. Powersave governor has performance regressions.
CVEs addressed for EXT4 file system, bluetooth and crypto drivers.
Fixed various instances of uninitialized variables, false positives have been ignored. We are using CONFIG_CC_OPTIMIZE_FOR_SIZE which suppresses the compiler warning of uninitialized variables which can sometimes lead to undefined behavior e.g. memory corruption and panic.
Dec 02, 9/8.x Release-10
Switched to non-debug wifi/wlan driver.
Binder updated and inline with AOSP/google.
Regular sdcardfs upstream, some relevant backports from higher version (3.18+).
Few updates and fixes to interactive governor updates.
Merged some CVE patches from Lineage (CVE-2016-8399/2017-2647/2017-6951/2017-13080-upstream...)
Fixed memory leak in video device driver.
Added ARM64 CRC32 hw accelerated module
Few security updates to crypto driver.
Fix deadlock in sound-core driver due to duplicate ioctl_lock.
Disabled DEVPORT - it is not used as shown by previous SELinux policy changes to blacklist it. It is being unset to reduce the kernel attack surface.
Nov 11, 8.1.0 Release-9
Note: Non-dts builds are discontinued from this release. If dts builds doesn't boot then consider updating your rom. Should work on 9.0 as well. We are now up to date as per CAF, Linux-stable as well as Google/AOSP's kernel updates
Merged latest CAF tag LA.BR.1.3.7-05010-8976.0 (rb1.11)
Merged updates from Google/AOSP kernel-common.
Removed input-boost in favour of touchboost and interactive boost.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Nov 11, 7.0 Release-4:
Removed input-boost in favour of touchboost and interactive boost.
Updated and switched to CFQ i/o scheduler
Misc. power/performance optimizations.
Oct 30, 7.0 Release-3:
Enabled usb tethering.
Removed power optimizer push-pop (popp) restrictions from gpu for potential performance improvements.
Updated spectrum profiles w.r.t qcom-post-boot service on stock rom.
Sep 10, 8.1 Release-8 for custom roms:
NOTE: Balanced profile viz. default is now using performance governor for GPU only to improve ux to some extent. Once the performance gets stable/consistent on oreo roms I'll switch it back to msm-adreno-tz. Users can switch to msm-adreno-tz if they want through kernel managers.
Merged relevant updates from NPJS25.93-14-18.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
Sep 08, 7.0 Release-2:
Rebased over latest 7.0 CAF tag.
Merged NPJS25.93-14-18 sources from Motorola.
Allow mounting cdrom using apps like drivedroid etc.
Slight performance improvements.
August 02, Release 7:
Oreo custom roms:
Rebased kernel source over CAF tag LA.BR.1.3.6-05410-8976.0 (7.1.2) and NPJS25.93-14-15 by Motorola
Merged relevant updates from CAF tag LA.BR.1.3.7-05010-8976.0 (8.1.0) and kernel-common
Properly up-streamed up to Linux stable 3.10.108
Merged recent kernel side updates to Wireguard
Removed some not so important i/o schedulers (cfq, maple and noop are more than enough)
Removed useless debug options to for cleaner and smaller kernel
Removed ondemand and conservative cpu governors (not suitable for big.LITTLE)
Reworked CPU oc/uc support to 403/499mhz levels (anything more lower shall yield no real benefit)
Updated spectrum profiles
7.0 Stock Release 1:
Some kernels have different workarounds for modules, therefore, it is recommended to flash 7.0 kernel only over your stock rom kernel. Don't flash over any other custom kernels. This is to avoid any issues with important modules such as wlan (wifi). Subsequent releases can be flashed over the same kernel's older version.
Based on NPJS25.93-14-15 sources by Motorola
Properly up-streamed up to Linux stable 3.10.108
Updated wifi/wlan drivers from latest 7.0 sources from CAF
Added all features mentioned in 1st post. (list updated in op)
Applicable updates from r7 oreo changelog were also merged.
June 14, v6.2:
Fixed mobile hotspot for both 32/64 bit
Removed conservative cpu governor
Switched too GCC 4.9 (Higher GCC versions are causing issues with data, wifi and hotspot as witnessed by some users)
Final update to katnap governor
NOTE: Since v6, I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles rest you can change. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
No support from my side if you're using some kind of mods that might conflict with above mentioned kernel settings. Fair enough! don't need any false reports where the problem might be because of any such mod.
Might be bitter but had to say this, don't bother reporting problems if you can't do it properly. Haven't seen a single post reporting wlan issues with logs and surprisingly I'am not a god who can guess issues from nothing. XDA is a community where users shall also contribute to make things better. Just coming here and searching for download links then complaining about stuff not working... it doesn't work this way. We don't expect much from users, we only want that if we're putting some efforts then users should also take at least some effort to give proper bug reports and feedback. For someone who doesn't know how to take logs etc. try google, you'll find tons of guides over internet and here at XDA itself. Thank you.
-------------------------------------------------------------------------
June 10, Release v6.1:
Fixed hotspot for 32-bit
Replaced fsync toggle with automatic Dynamic fsync driver 2.1 by boeffla
Replaced fp-boost driver with generic wake boost interface
Renamed loony governor to katnap
Some performance improvements during and after boot
Merged moto specific wlan/prima changes
Added 2 more potential wakelocks to block list just in case
NOTE: Since v6 (previous) release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release came with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
June 05, Release v6:
Switched to GCC 6.4-stable (only 64-bit)
Compiled with cortex-a53 tune flags
Introduced my own custom Loony governor based on interactive and franco kernel tweaks
Added spectrum app support and tuned profiles for various modes
Added 160mhz for gpu in "Battery" mode (using spectrum app)
Removed adreno idler and powersuspend (took me time to realise that these are not really necessary)
NOTE: From this release I recommend using default kernel settings for CPU, GPU, clock speeds and governor profiles. Why? read the explanation below properly...
v6 release comes with spectrum app support which allows to switch between various user modes which are - Gaming, Battery, Balanced (default) and Performance. Thanks to frap129 a.k.a Joe Maples for spectrum. You can use the spectrum app to switch between various modes as per your needs with just a single tap.
For e.g. before starting a game just switch to "Gaming" mode from spectrum app to improve the game-play. After game-play is over don't forget to switch back to "Balanced" mode which is also the default. You can also choose "Battery" mode when you keep your device idle for maximum savings. If you prefer smooth user experience without worrying about battery then "Performance" mode is for you.
Both "Performance" and "Gaming" modes are battery hungry but will improve the user and gaming experience respectively so use them accordingly. Similarly don't expect great performance or smooth user experience from "Battery" mode.
"Balanced" mode is self-explanatory.
----------------------------------------------
May 04, Release v5.1:
Note: Sources moved to github.
Merged updates from NPJS25.93-14-15 (Feb, 2018) moto kernel sources,
Merged updates for wlan prima driver to bring in-line with latest CAF tag LA.BR.1.3.7-05010-8976.0,
Switch back to single build for 64bits. Made compatible with all roms,
Few kernel-common updates.
April 28, Release v5:
32-bit support added!
Changes merged from CAF branch (1.3.6) and Google kernel-common
Removed CRC enable/disable toggle - We know we want CRC disabled by default to avoid ~30% performance cost. So, it doesn't make sense to have a toggle for it as users may unknowingly enable it which defeats the whole purpose of disabling it by default in the first place.
Enable 320k AAC encoding
Tuned CFQ i/o scheduler
Added touchboost which is disabled by default. Enabling it will significantly improve the performance at the cost of battery life. This feature can be enabled using kernel manager (EX kernel manager recommended)
Replaced wakeup boost with Fingerprint Boost driver.
Removed boot and boostpulse sysfs nodes from interactive governor. Neither we were using it nor it is needed, users can enable cpu-boost if needed.
Updates wlan prima (wifi) driver to latest CAF tag LA.BR.1.3.7-04410-8976.0
Using cpu_relaxed_read_long and defining relaxed version of some arm64 specific macros, and functions to improve power efficiency. (this one is only for arm64)
Some cpu-boost code clean-up. Removed migration related boost from cpu-boost. Handled by scheduler and governor now.
Added display state awareness to msm_adreno_tz gpu governor. This aids adreno_idler by reducing the overhead.
Backlight dimmer toggle (disabled, enabling this would allow to lower brightness even more)
Apr 05, Release v4.1:
Restore default gpu clocks
Sdcardfs space leak fixed,
Updates merged from google android kernel-common,
Enabled ARCH_POWER and added toggle to enable/disable the same through EX Kernel Manager,
Nuked gentle fair sleeper toggle and re-enabled gfs. Disabling it was causing cores getting stuck at max freq for most of the time,
Added wake-up boost to avoid or atleast minimise any potential wake-up delays. I've personally never faced this on Oreo but some people reported it recently,
Added some more potential wakelocks in Boeffla wakelock blocker driver,
Wlan driver updates merged from latest caf release LA.BR.1.3.7_rb1.11,
Some efforts towards improving memory management a bit.
03 March 2018, Release 4:
Added new boeffla wakelock block driver,
Added wireguard support,
Added adreno idler - ramp down GPU on idle,
Reverted stuff: zen-interactive, frandom, hid,
Added sweep2sleep feature by flar2
Enabled fp to sleep by default, can be used as home too,
Enabled kernel samepage merge,
Merged latest changes and fixes from upstream teambutter.
Release 3.1:
Jan 14, 2018:
reverted some pre-configurations to default settings
Jan 08, 2018:
fixed notification led on supported roms
added maple i/o scheduler
Release 3:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Release 2:
Dec 29, 2017:
fixed audio
switched to default google toolchain
Dec 28, 2017:
fixed zram
enabled core control
enabled homebutton driver
added sound control
added gpu overclock/underclock support
power efficient workqueue patches
added fiops, sio and zen i/o scheduler
blocked wakelocks by default
enabled cpu boost
added wake-up boost
added /dev/frandom support
added quick wake-up driver
added hid patch
Release 1:
enabled advance color control
added cpu overclock/underclock support
Reserved
Can you do a version which uses fingerprint sensor to sleep?
vitor.cardoso180396 said:
Can you do a version which uses fingerprint sensor to sleep?
Click to expand...
Click to collapse
You can configure that using kernel manager.
Alternative option is to use button mapper app by flar2.
i have a lag after flash this kernel. but thank you
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
kman46 said:
Turbo charger doesn't work for me charges very slowly and phone heats up quickly! Any work around with kernel auditor?
I'll flash version 2 and let you know if anything changes
Click to expand...
Click to collapse
If ur device is at a temp of 42+°c then the turbo charging won't work, let the device cool down and it will work
im already on r1 loony kernal
how to flash r2 ??
is dirty flashing okk????
i have done a dirty flash of r2 over r1 version but ii feel very laggy n i tried reboot couple of time still little laggy
now back to r1 version
im on XT1644 version with magisk 15.1
thanks dev for your hard work????
waiting for a stable release?
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Same problem here
Release 2 update
RobertMVazquez said:
When I play a song or a video the sound is crashing, something like cutting, I give u a log and thanks for the effort
Click to expand...
Click to collapse
Thanks for the logs
I've updated and re-uploaded the new release 2 zip with audio fixed. Links updated in the op.
Also don't forget to enable Mono audio under Settings->Accessibility
Wow 64 bit is getting real ❤❤❤❤
Thanks for the kernel, what is new in loony-r9.1 for nougat?
kevinarol said:
Thanks for the kernel, what is new in loony-r9.1 for nougat?
Click to expand...
Click to collapse
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
For xt1625 users after flashing updated loony my phone hangs at unlocked bootloader warning for minutes. All you need to do is power and volume down boot into fast or bootloader mode whatever you call it and choose start again loads fine after that.
To add HDR is probably not going to ever work with xt1625 that's were the devices are different the plus has a 16 mp camera and I got a 13 mp I've got the camera to work but no HDR option like on my nexus.
lCrD512 said:
Not released use the attached zip for nougat it is stabler than 9.1 but not updated in the directory. Features are more or less same.
Click to expand...
Click to collapse
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
kevinarol said:
Ok, but why recommend me v7 instead of 9.1 for nougat which is available in download section?
Click to expand...
Click to collapse
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
lCrD512 said:
That's not version 7, don't go by the name of zip. It is updated I was using it personally.
Click to expand...
Click to collapse
ahhh thank you ?? Happy New Year!
Update: Release 3
Happy New Year to Everyone!!
Release 3 is out. Download links in first post.
Changes:
Jan 03, 2018:
implement zen-tune: kernel tuning for interactivity
re-added powersuspend driver
zram increased from 512mb->768mb
cpu boost pre-configured
enabled adaptive low memory killer by default
tweaked deadline and row scheduler
tweaked westwood tcp congestion avoidance algorithm
changed default i/o scheduler to zen
added crc check toggle (disabled by default)
added gentle fair sleepers toggle (disabled by default)
slight undervolt and other power efficient optimizations
disabled some debugging
enabled arch power
added suspend_again handler (update for quick wake-up driver)
added led blink support
implement fast idling of cpu on partial system load
optimized console frame buffer to improve performance
other misc. fixes
fixed simple_ondemand crash
Reminders:
Do not reflash magisk if already flashed (root shall be retained). Just flash the kernel zip in twrp and reboot.
Lineage users shall enable mono audio under Settings->Accessibility for audio to work.
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Welcome to my SaberMod CM12.1 project! Inspired by wanting a faster Android experience, the ROM and kernel are both built with the SaberMod toolchain tuned for Cortex-A15 devices with NEON-vfpv4 with Graphite, O3 and GCC Optimizations. I cherry-picked useful tweaks and options from other AOSP based projects that I find useful for a more customizable experience.
ROM Overview thanks to shark jungle
DISCLAIMER: I am not responsible for any damages to your device, always have a nandroid on hand if anything happens.
Features
ROM
Based on the CyanogenMod 12.1 Nightly branch
Compiled with the SaberMod 4.8.5 Toolchain tuned for Cortex-A15 devices with NEON-vfpv4
Enabled -O3, Graphite, OpenMP, and Strict Aliasing Optimizations
Support for unified jflte devices
SGH-I9505
SGH-M919
SGH-I337/I337M
SCH-I545
SPH-l720
SCH-R970
Featuring the Android M Preview 3 bootanimation
Included AdAway, a powerful ad-blocker with black/whitelist capabilities
Built with newer SQLite3 for faster database performance
Built with a newer jemalloc (Bionic's memory allocator)
Added boot service to TRIM /system, /data and /cache partitions
Added boot service to vacuum and re-index SQLite databases
Included ViPER4Android Audio Effects over the stock AudioFX
Smart Pulldown option for the status bar
Switch to hide Superuser icon in the statusbar
Switch to enable legacy notification ticker
Enabled call recording for all regions
Added SasmsungServiceMode apk
Kernel
Compiled with SaberMod 4.9.4 Toolchain tuned for Cortex-A15 devices with NEON-vfpv4
Enabled -O3, Graphite, OpenMP and GCC Optimization flags
Featuring a custom LED boot pattern
Built with XZ compression for a smaller boot.img
Ability to underclock down to 162 MHz
Undervolt capabilities
Added @Faux123's Intelliactive CPU governor and Simple GPU Governor
Disabled Stock MPDecision in favor of @faux123’s Intelli-plug hotplugging solution
Added FauxSound controls
Tuned Interactive governor based on @Temasek’s hlte kernel
Tuned LowMemoryKiller
Added power efficient workqueues
Slimbus overclock for better audio quality
Enabled aggressive multicore power saving
Enabled ARCH POWER
Dyanmic Fsync disabled and Asynchronous Fsync enabled
Westwood TCP Congestion algorithm made default
This is a modified stock kernel that can be tuned with Kernel Adiutor. Feel free to flash any other CM12.1 compatible custom kernel!
Installation Instructions:
Upgrading from a previous build:
Nandroid
Flash the ROM
Flash GApps
Flash any add-ons you want
Reboot into ROM
Upgrading from any other ROM:
Nandroid
Full wipe /system, /data and /cache
Flash the ROM
Flash GApps
Flash any add-ons you want
Reboot into ROM
Note: If you ever find yourself at the Galaxy S4 screen with your LED blinking blue, reboot back into recovery, wipe /system, re-flash and reboot.
F2FS Users! No ROM conversion is necessary.
/system is only support as EXT4, do not try to convert /system to F2FS, it will fail.
/data and /cache are supported as F2FS
How to use F2FS:
"What is F2FS?
Back up all your data. You will fully wipe your phone in order to convert to F2FS
Download @AntaresOne's TWRP with F2FS support
Boot into TWRP
Go to wipe > advanced wipe
Checkbox Data or Cache
Press the "Repair or Change File System" button at the bottom
Press "Change Filesystem"
Press "F2FS"
Swipe to confirm
Do the same for Cache/Data
Flash ROM, GApps and any other addons you want.
Downloads
Latest Build:
SaberModCM12.1-20151107-jflte-f18e215985.zip
Latest Kernel:
SaberModCM12.1-20151107-jflte-Kernel.zip (Already included in ROM)
GApps:
TK GApps (Formerly known as PA GApps)
Archive
Older Builds:
SaberModCM12.1-20151024-jflte-a0a639c033-GCC4.8.zip
SaberModCM12.1-20151024-jflte-ecb6003d89-GCC4.9.zip
SaberModCM12.1-20151015-jflte.zip
SaberModCM12.1-20151005-jflte.zip
SaberModCM12.1-20150913-jflte-test.zip
SaberModCM12.1-20150812-jflte.zip
SaberModCM12.1-jflte-20150722.zip
SaberModCM12.1-20150709-jflte.zip
SaberModCM12.1-20150618-jflte.zip
SaberModCM12.1-20150525-jflte.zip
SaberModCM12.1-20150517-jflte.zip
SaberModCM12.1-20150510-jflte.zip
SaberModCM12.1-20150504-jflte.zip
SaberModCM12.1-20150503-jflte.zip
SaberModCM12.1-20150426-jflte.zip
SaberModCM12.1-20150419-jflte.zip
SaberModCM12.1-20150412-jflte.zip
SaberModCM12.1-20150405-jflte.zip
SaberModCM12-20150328-jflte.zip
SaberModCM12-20150321-jflte.zip
SaberModCM12-20150304-jflte.zip
SaberModCM12-20150224-jflte.zip
Older kernels:
SaberModCM12.1-20151024-jflte-Kernel.zip
SaberModCM12.1-20151015-jflte-Kernel.zip
SaberModCM12.1-Kernel-jflte-20151006.zip
SaberModCM12.1-Kernel-jflte-20151005.zip
SaberModCM12.1-Kernel-jflte-20150812.zip
SaberModCM12.1-Kernel-jflte-20150722.zip
SaberModCM12.1-kernel-jflte-20150709.zip
SaberModCM12.1-kernel-jflte-20150607.zip
SaberModCM12.1-kernel-jflte-20150525.zip
SaberModCM12.1-kernel-jflte-20150525-MakoHotplug.zip
SaberModCM12.1-kernel-jflte-20150517.zip
SaberModCM12.1-kernel-jflte-20150517-MakoHotplug.zip
SaberModCM12.1-kernel-jflte-20150510.zip
SaberModCM12.1-kernel-jflte-20150510-MakoHotplug.zip
Useful Links
My Github Sources
CyanogenMod Gerrit
How to build CM
Source and Credits
CyanogenMod for the great ROM base
OmniRom and AOSPA for Ambient Display settings
SlimRoms for framework tweaks
@AntaresOne for all his help in bringing up this ROM!
@Invisiblek for maintaining our Galaxy S4
@Sparksco for the SaberMod toolchain and Graphite Optimizations
@JustArchi for the time and dedication to find optimizations flags
@Googy_Anas for kernel stuff
@Alucard for kernel stuff
@Kantjer for SaberMod build fixes
XDA:DevDB Information
SaberMod CyanogeMod 12.1 for jflte, ROM for the Samsung Galaxy S 4
Contributors
Synergy510, sparksco
Source Code: https://github.com/xsynergy510x
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod 12.1
Version Information
Status: Stable
Created 2014-08-13
Last Updated 2015-12-14
Changelog Post
Changelog:
November 7, 2015
ROM
Sync up with Android security updates. 5.1.1_r26 base with November Security patches
Updated SaberMod GCC4.9 Toolchain
Change how RIL properties are applied (there may be some issues that arise with this)
Updated sepolicy to allow ViPER4Android to work in enforcing
You still have to switch to a permissive kernel to install. I’m still considering switching to SuperSU to circumvent this.
Set dex2oat thread count for better performance during app optimization
Sync with CM
Included Qcom PowerHAL - This mainly tunes Interactive and OnDemand if you choose them to be set
OnDemand seems to have more tuning options than Interactive at the moment
Kernel
Updated SaberMod GCC4.9 Toolchain
Merge Linux 3.4.110 from caf
Switch internal kernel work to power efficient workqueues
Removed underclocking
Added Intellidemand and Intelliminmax CPU Govs
Added FIOPS I/O scheduler
Removed some LMK commits that caused some slowdowns, systems are much snappier
Updated to CM Adaptive LMK and memory scanning for more stability
Updated LMK Adj RBTree for more memory stability
Sync with cm-13.0 changes
Bugs
It seems that with the new Adreno/msm drivers, Simple GPU Gov cannot be set
V4A Cannot be set with an enforcing Kernel, make the kernel Permissive through the built in terminal (Settings > Dev Options > Local Terminal) Then in the app drawer run the Terminal and input
su
setenforce 0
The interactive governor is tuned to be on the power saving side, you may see lag/stutter during the the installation/updating of apps
Older Changelogs:
October 24, 2015
ROM
Removed loop optimizations. Caused some app issues on GCC4.8 and system wide issues on GCC4.9
Update updater-script output strings and enhancements for block_based builds
SamsungDoze add option to vibrate on notification pulse
Option located in Settings > Gestures > Vibrator Acknowledge
Add optimization fixes for bluetooth_bluedroid and frameworks_av, needed for GCC4.9
Added WiFi filter list
Ability to filter to only see Open or Secured WiFi connections
Removed BookmaksSyncAdapter from build, it’s a flashable zip now
Sync with CM Up until October 24 9AM PST
For more details on this, check here: http://www.cmxlog.com/12.1/jfltexx
Kernel
Add CPU boost to 1.458GHz on screen wake
Fix up Intelli_plug wakeup calls
Disable power savings by default during boot, they will be set afterwards
Ramdisk updates
Use boosted Interactive gov during bootup
Disable thread boosting after boot, more power savings when watching videos
Enable multicore power savings after boot
Enable power efficient workqueues after boot
Sync with CM Up until October 24 9AM PST
For more details on this, check here: http://www.cmxlog.com/12.1/jfltexx
October 15, 2015
ROM
Changes to ART optimization
Bluetooth: Re-reverted upstream commit
Added wakelock blocker
Under Settings > Battery > Wakelock Blocker
Added AOSP Email and AOSP Browser bookmark sync
Bookmark sync will ask for you to sign in. Go into Settings > Account > your gmail account that you want to sync with the Browser and your Bookmarks and switch the Browser toggle until sync errors go away. Reboot to remove the statusbar notification. The Bookmark sync wasn’t intended for Android 4.4+ so that’s why there are issues.
Re-added CM File Manager, CM Wallpapers and Sim Tool Kit
Now the only things excluded from these builds are Sound Recorder and CM Updater. You can grab any other sound recorder from the Play Store, the stock app sounds like garbage
Removed some ART flags causing some micro lags
App optimization will go a lot faster compared to previous builds
Updated AdAway to Oct 9 build
Arter97 updated SQLite to 3.9.0
Arter97 updated jemalloc to 4.0.3
Sync with CM up until Oct 15 10 AM PST
Kernel
Enabled Underclock to 162 MHz
May cause some slowdowns/lags with audio with notification tones especially if you undervolt
Add memcpy optimized for cortex-a15
Enable ARCH_POWER for better power calculations
Improved Async I/O performance
Switch to Westwood TCP congestion
Various other commits
Ramdisk
Tone down interactive values
Enable power efficient workqueues by default
Sync with CM up until Oct 15 10 AM PST
Fix CUBIC TCP Congestion bug
October 5, 2015
ROM:
Mobile radio standby bug incorporated, battery stats are now correct. Source: http://forum.xda-developers.com/xperia-zl/general/cm12-1-cell-standby-mobile-radio-active-t3188147 (Note, this doesn’t improve battery, it only makes battery stats accurate)
Block based build, smaller zip package and faster flashes
boot_trim service TRIMs /data and /cache on every boot
boot_sqlite3 is delayed by 60 secs
Included Viper4Android
Added SamsungServiceMode
Updated Adreno blobs to GPE OH2 source
Built with Arter97's updated SQLite, better database performance
Optimizations:
Using my own GCC4.8.5 SaberMod toolchain optimized for cortex-a15 and neon-vfpv4 devices
Built with L1/L2 cache parameters for more optimization (Correct values this time)
Optimized ART and Bionic
Updated SaberMod Optimization with upstream
IPA Analyzer, scans for dead code and removes it
Added -fmodulo-sched flags for better loop handling
Sync up with CM Upstream up until Oct 4 5:00 PM PST
Steve Kondik calls the new UI handling “superbutter” so look out for smoother UI, and I can vouch for that
Kernel:
Using my own GCC4.9.4 SaberMod toolchain optimized for cortex-a15 and neon-vfpv4 devices
Removed some excess SaberMod flags that may be causing the slowdown/lags when running intensive apps such as Snapchat and Facebook
Tuned interactive governor and CPU Boost based on Temasek’s hlte kernel
Better LMK routines and better LMK RB Tree Optimization
Adaptive LMK for when memory resources gets very tight
Reduced WiFi wakelock period
Added Simple GPU Gov (default)
Added Intelliplug (default)
Disabled MPDecision
Added FauxSound
Added power efficient work queues
Slimbus overclocking
Aggressive Multicore power saving
Disabled CRC check
Disabled Fsync by default
Enabled Asynchronous Fsync
Using BIC TCP Congestion over CUBIC
L1/L2 Cache flag optimization
Ramdisk:
Changes to performance profiles check here: https://github.com/xsynergy510x/and...mmit/4f73aa84d2ba150a27b6b7729b7e59324f2fdf23
Enable adaptive LMK
Change LED bootup pattern
Sync up with CM up and until Oct 4 5:00 PM PST
BFQ updates to make the UI fluid
Fix for Livedisplay not sticking after screen off
Removal of exFat
Change readahead to 512KB
Bugs:
I don't know yet
September 13, 2015
ROM:
Updated SaberMod GCC 4.8 Toolchains
Removed Strict Aliasing Optimization
Reverted some device specific optimization
Built with a slightly optimized Bionic Repo, many thanks to @-+BB+- and the JDCTeam
Built with an updated Jemalloc repo, the memory allocator used with Bionic, thanks to @arter97
Added the Android M Preview 3 Bootanimation
Added Blue/Red/Green/Yellow Google colored LED animation during boot, all credited goes to @AntaresOne for his implementation
Removed Nova Launcher, and added back Trebuchet
Re-added all previously removed apps
Updates for boot_trim: F2FS partitions can now be trimmed at boot
Updates for boot_sqlite3: Add a 60 second delay
Changed the Ambient Display pulse schedule:
Initial pulse is now a bit faster
Pulses stay on for 10 seconds
Once you get a notification you will see: An initial pulse, one 15 seconds after the first disappears, another 30 seconds after the first, and a final pulse 1 minute after the second
Sync with CM Upstream up and until Sept 13 @ 12 noon PST
For the kernel, I've removed many things, so it's just easier to say what I re-added
Kernel:
Change back to latest SaberMod GCC 4.9 toolchain
Intelliactive is the only new CPU gov
BFQ IO scheduler added
BFQ/Interactive is the default config
Built with XZ compression for smaller boot.img
Enabled sched_autogroup for better multitasking support
Added NVIDIA power saving commits
Made LMK a bit more aggressive thanks to @arter97
Still using an RB Tree for the LMK, this needs testing still
August 12, 2015
ROM:
Built with SaberMod GCC4.8 Toolchain build 8/1/2015
Built with strict aliasing optimizations
Slightly Optimized ART
Improved bootanimation
Sped up system animations, also included 0.75x and 0.25x animation times
Powersaving/Balanced/Performance battery profiles will change intelli-plug and other kernel parameters accordingly
fstrim and sqlite3 vaccuum and re-indexing services will activate upon each boot
TRIM only works on EXT4 partitions, F2FS automatically trims.
You can run each service manually using the terminal with root permissions and run "boot_trim" or boot_sqlite3"
Logs for what each service does can be found in /data/local/logs
Sync up with CM upstream up and until August 12 @ 9:00AM PST
Kernel:
Built with SaberMod GCC5.2 toolchain build 8/4/2015 Optimized for cortex-A15 devices
Removed Dynamic/Asynchronous Fsync
Removed CPU/GPU OC, didn't work well and caused excess heat
Improved Low Memory Killer
Changed SmartMax governor parameters to be more powersaving
Enabled Hybla TCP congestion algorithm
Ramdisk updates:
Run boot_trim and boot_sqlite3 on every boot
Disable CPU boost for more power savings, can be re-enabled through a kernel tweaker
TEST Build August 8, 2015
ROM:
Built with SaberMod GCC4.8 8/1/2015 Toolchain
Optimization tweaks
Things not listed in last test build, but are included in both:
Optimized ART
Sped up animations
Sync up with CM Up until Aug 8 @ 5 PM PST
Fix 2G Mobile Data
Kernel:
Re-enabled some optimizations I thought were causing the lags but weren't
Small sync up with CM
TEST Build August 5, 2015
ROM:
Updated SaberMod GCC 4.9 toolchain
Updates to compilation flags for stability
Enabled strict aliasing optimization
Sync up with CM up and until August 5 @ 5:00PM PST
Kernel:
Version compiled with SaberMod GCC 4.9 optimized for cortex-a15 devices
Version compiled with SaberMod GCC 5.2, not optimized, but bleeding edge
People say a "device optimized" doesn't make too much of a difference if you build with the device optimization flags, which I do in both cases of the toolchains
Ramdisk updates
I stripped down the kernel again for stability's sake, I've removed:
Dynamic/Asynchronous Fsync
CPU/GPU OC. CPU OC never worked and GPU OC caused excess heat
Many misc commits
Sync up with CM
New color calibration interface
Interesting added support for low power panel mode, I don't know what it can do yet but I want to figure it out
BUGS:
Sound control: Headphone PowerAmp Gain is broken, I'm trying to find which pieces of the code to disable, but it doesn't hurt us
Reports of calls not working, but I need logs and more people to verify this
Stay on the lookout for freezes/reboots
July 22, 2015
ROM:
Device specific optimizations
Make bootanimation faster and smoother
Sync up with CM upstream up until July 21 6:00PM PST
Kernel:
Updated to GCC 5.2 SaberMod toolchain
Disabled MPDecision in favor of intelli-plug hotplugging by @faux123
SWEEP2SLEEP re-added
New Simple GPU governor
CPU Under/overclocking (Overclocking doesn't work yet) 162-2106 MHz
GPU GPU Steps 128, 200, 360, 600 MHz
Added ability to edit frequency voltages
FauxSound 3.6 drivers added
Dynamic Fsync switch, set off to default
Enabled asynchronous Fsync
Reduce WiFi wakelocks
Low memory killer optimized RB Tree
Enable sched_autogroup for better multitasking
Bugs:
Some random rebooting can happen regarding plugging in headphones while screen off or unplugging headphones while playing music
Some buzzing with audio, it may be fixed in this build but it can still occur
July 9, 2015
ROM:
Removed JustArchi's Optimizations
Updated SaberMod toolchain
Added SaberMod Optimization info in Settings menu, mainly a cosmetic thing
Synced with CM upstream up until July 9 @ 11:00AM PST
Kernel:
Removed Mako Hotplug variant, it never hotplugged correctly anyway
Removed many commits and slimmed down to the essentials for better stability
Updated SaberMod Toolchain
This kernel now only features: Intelliactive, Intelliminmax, SmartMax CPU governors and FIOPS I/O scheduler
Default configuration is now Interactive/FIOPS
Removed SWEEP2SLEEP
XZ Compresion for a smaller boot.img
Synced with CM upstream up until July 9 @ 11:00AM PST
BUGS/FIXES:
Call recording seems to be fixed!
Ambient Display seems to be fixed from being broken in the recent nightlies
June 18, 2015
ROM:
Removal of AOSPA/Omni Ambient Display Implementation
Introduction of Samsung Doze, CM's Ambient Display for Samsung devices
Updated SaberMod Toolchain
Included Google's WebView, reduces build time for me and you guys get a more up to date WebView
Many many upstream merges since May 25 until June 17 6:00 PM PST
Kernel:
Merged stock kernel and Mako Hotplug, a swtich is available to enable Mako, but be sure to disable MPDecision
Low Memory Killer Optimizations thanks to @faux123
Mako Hotplug updates
Quick wakeup driver
Bugs still exist:
Call recording doesn't work
A clean install is highly recommended. You can dirty flash, but don't post about any errors or FCs you face.
May 25, 2015
ROM:
Build with GCC 4.8, resolves many issues and brings better battery life
Removed pthread, introduced openMP, a better flag that handles multithreading
CM Sync up until May 24 5:00 PST
Kernel:
Common: Updated GCC 6.0 toolchain
Mako: Various updates
May 17, 2015
Rom:
Remove pthread GCC flag, a bit better battery life and an intermediate step in the next optimization
Update Nova Launcher to Stable 4.0
Sync up with CM up until May 17 9:00AM PST
Kernel:
Common: Enabled support for exFat and NTFS for kernel
Common: Update to GCC flags
Mako: Attempted to lower the overall screen brightness, it seems that things were already at the lowest
Mako: CPUs go idle faster
May 10, 2015
ROM:
Graphite updates
SaberMod Toolchain update
Better system stability
Sync up with CM up until May 10 3:00PM PST
Kernel:
Common: Tie GPU to touch events for smoother interfaces
Common: Enabled the Deadline IO scheduler
Common: Slimbus overclock thanks to @Tkkg1994
Mako: Add kernel name, you can check in Settings > About Phone
Mako: Updated Ramdisk such that Powersave, Balanced and Performance profiles will set proper tunings to Mako Hotplug
Mako: Updated the Balanced (default) profile's load threshold. The hotplug will stay as a dual-core with low loads, but will more easily go up to quad if the load demands it
Mako: Many many updates and optimizations coming form @franciscofranco's Flo and @Tkkg1994's jf kernels
May 4, 2015
ROM:
Sprint Mobile Data fixes
Change Free Mobile APN to the original
Sync with CM up and until May 4 (minimal changes from May 3)
Kernel:
Updated GCC 6.0.0 SaberMod Toolchain
May 3, 2015
ROM:
Built with SaberMod GCC 4.9.3
Updates to SaberMod and JustArchi Optimizations
Moved radio blobs, and by this, they're ina different location during the flashing process, so I wanted to make sure things were placed properly
Sync with CM up until May 3 12 Noon PST
Kernel:
Updated SaberMod GCC 6.0.0 toolchain
Added BFQ IO Scheduler
Intelliactive updates
Version with Mako hotplug available
April 26, 2015
ROM:
Android 5.1.1
Disabled AwesomePlayer by default - Fixes most Bluetooth issues
Update to SaberMod Optimizations
Re-return of JustArchi's Optimizations
Added 1.5 and 2.5 hours to the duration of priority/none mode (WIP) - I still need to make it look pretty, it rounds up 1.5 -> 2 hours and 2.5 -> 3 hours
Sync with CM 1PM PST
Silent mode available, no notifications, but alarms will still go through
Enable/Disable LEDs in priority/none mode
Privacy Manager notifications take you to the privacy manager settings of the app
Ability to change LCD density
Kernel:
Updated arm-eabi-6.0 toolchain
Remove stack protector flag due to some RR
Reduce IO latency
Enable Sweep2Sleep thanks to @friedrich420 - Bottom right to bottom left, back button to menu button. NO SWEEP2WAKE due to battery rain
Bugs:
Button backlight values don't persist over a reboot
April 19, 2015
ROM:
Temprarily built without JustArchi's Build Optimizations
Enhance the HOST compiler
Updated radio blobs thanks to @AntaresOne
Don't use AwesomePlayer (Dev Options), may fix some bluetooth issues
Sync with CM up and until 9:00 PST
Kernel:
Built with GCC 6.0
Add more SaberMod flags
Compiled with stack protector to build more secure code
Fixed some wifi issues during sleep thanks to @Alucard24
April 12, 2015:
ROM:
Updated SaberMod toolchain
Sync with CM up until April 12th
Fix bluetooth music streaming
Kernel:
Updated SaberMod toolchain
Reduction in GCC flags
Unknown:
Haven't seen the messaging FC
The keyboard FC appeared in SwiftKey for me, it may be gone in the AOSP keyboard, please report on this
Known:
Space between Battery as Text and Signal bars is still big
April 5, 2015:
ROM:
Rebased on the cm-12.1 branch
Rebuilding cache on bootup displays current APK
Re-added CM's opticharger, squashes built-in APK's png files
Kernel:
Re-add kernel pthread and graphite flags
Update GCC flags thanks to @alucard_24
FAQ / Common Issues / Bug Reporting
F.A.Q's
What makes this different from Optimized CM12.1 or CM12.1 Nightlies?
The CM nightlies are the baseline that provides a fast and clean experience. Optimized CM and my SaberMod CM try to take that even further by applying our optimizations to the source code. The difference between Optimized and SaberMod is that the JDCTeam strives to provide the best, polished experience for the Galaxy S4 whereas I’m an enthusiast turning this ROM into a collection of commits and features that I find interesting that I share for you guys.
What is SaberMod?
The SaberMod team provides Android optimized toolchains and ROM optimizations. Their toolchains are based on Google’s and cherry-pick from GNU. They also offer modular optimizations that speed the Android system even further.
Why don’t you use JustArchi’s build optimizations?
The SaberMod optimizations fulfill nearly the same optimizations with a different approach. It’s redundant to include them both.
XXX Doesn’t work for me?
I have the T-Mobile variant SGH-M919 as my daily driver, so I cannot cover every aspect of the ROM. I test enough so that I can run SaberMod CM as a daily driver, but our usage patterns may vary.
Common Issues
How do I enable Developer Options?
Settings > About Phone > Tap “Build Number” multiple times.
How do I remove the “ # “ icon from the statusbar?
You could flash SuperSU as with other ROMs, or you can turn it off in the Settings. Settings > Status Bar > Superuser indicator
*Note: A System UI FC may occur sometime after setting this, this is normal and will only happen once.
Bluetooth share keeps crashing / Bluetooth won’t turn on
Reboot your phone. Once the ROM boots up, wait for Bluetooth to automatically turn on. Make sure you turn it off, or else it will silently crash until you repeat this process.
I don’t have superuser/root
Enable Developer Options and enable Root Access from this menu. Changes in CM make it so that I can’t set root to default, so you have to set this after every clean flash.
I can’t install the ViPER4Android driver!
Temporarily set the kernel to "Permissive" through ADB shell or the local terminal (Enable in Dev Options)
su
setenforce 0
Proceed with V4A driver installation
Audio/Notification lag
If undervolted, try raising voltages
If underclocked, step up the lowest clock frequency
WhatsApp audio lags
There are some errors with the S4 and CM based ROMs due to our audio driver
Bookmark sync will ask for you to sign in
Go into Settings > Account > your gmail account that you want to sync with the Browser and your Bookmarks and switch the Browser toggle until sync errors go away. Reboot to remove the statusbar notification. The Bookmark sync wasn’t intended for Android 4.4+ so that’s why there are issues.
I can’t power on from power off while charging
It’s a known issue. Just unplug, wait for the battery icon to disappear then hold power to boot. Then you can charge once the phone is booting.
How to ask for help / Bug Reporting
Here are some steps to reporting bugs. You must follow these steps to streamline the help process, and it may lead you to finding the solution.
I will eventually ask all of these questions regardless, so let’s save a post or two:
Did you verify the MD5sum of all packages you flashed?
What ROM are you coming from?
Coming from a previous SaberMod CM release did you try wiping /system?
Coming from a different ROM did you fully wipe /system, /data and /cache?
What else did you flash? What modifications do you have?
Xposed: I do not support Xposed or any of it’s modules.
Specify a custom kernels:
Check if your problem persists within the kernel thread, then come here
It’s possible that kernels older than the current SaberMod CM build has some incompatibilities
Other system modifications must be specified
Have you searched the thread? There’s a high possibility that a problem you have in the ROM is being discussed in the latest pages of the thread
Is it in the bugs list? It may be a known problem
If it's an issue no one has reported:
Can you recreate the issue? Try to be as detailed as possible so I can recreate it.
ex. I can't play mp3s in Play Music but I can in PowerAmp
Make a logcat!
Know how to recreate the problem
Acquire software to make a logcat (ADB/CatLog on the playstore)
Do a fresh boot
Begin a logcat via "adb logcat"/start a Catlog
Let the phone settle for a bit
Create the issue
ex. Play a song that will FC/Go to an app that FCs
Stop the logcat
Send it to me over PM/Post with details on what you did
Thanks.. I will try this out
I'd like to thank the 37 people who have downloaded the ROM so far! Your opinions and thoughts are greatly welcomed here.
I'm getting a build ready for tomorrow with 3 new changes:
Tuned in-call and speaker volumes
Dynamic Kernel Tweaker shortcut in Settings App that replaces Performance Settings!
Rebuilt with cortex-a15 flags for a little performance boost
I'm doing a clean build tonight with the new build flag, so I'm hoping to give you guys something tomorrow. I've spent all day working on the Dynamic Kernel Tweaking shortcut in the Settings menu (You can check my github to find the mess in trying to get it right) but I'm very very happy to say that it's finally complete.
For the not-yet convinced on this ROM, it's just CM11 with a few additions which I will highlight in this video:
http://youtu.be/IOQyVimN-Vo
Alright a new one tot try. Nice
Sent from my GT-I9505 using XDA Free mobile app
New build posted 8/14/2014
Hello everyone, my latest build is available for download.
Build 08/14/2014:
Tuned in-call and speaker volumes
Updated Alucard kernel to 2.7.0d
Added cortex-a15 flags to build for a little performance boost
Added Dynamic Kernel Tweaker shortcuts in the Settings Menu! http://imgur.com/gEeUhU9
I would really appreciate if someone with an S-view cover would test to see if it works! Also any feedback, good or bad is welcomed!
Synergy510 said:
Hello everyone, my latest build is available for download.
Build 08/14/2014:
Tuned in-call and speaker volumes
Updated Alucard kernel to 2.7.0d
Added cortex-a15 flags to build for a little performance boost
Added Dynamic Kernel Tweaker shortcuts in the Settings Menu! https://dl-web.dropbox.com/get/Came...AAlDzIPILLWL5BVZmHxhhvtHgQ-Qc9ZmdkZIabIxmyFig
I would really appreciate if someone with an S-view cover would test to see if it works! Also any feedback, good or bad is welcomed!
Click to expand...
Click to collapse
When trying i become the message: Url not found
Sent from my GT-I9505 using XDA Free mobile app
ruud said:
When trying i become the message: Url not found
Sent from my GT-I9505 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I replaced the link
Well I'm downloading now, and as long as it's got lock screen notifications and Heads up I'll try it for a few days and test the ass out of it
Thanks for the rom Synergy510
I think you undersell yourself.
I am downloading this rom and looking forward to its performance.
You have the passion to make something better.
You have learned new skills in the process.
You are now a developer.
---------- Post added at 10:38 AM ---------- Previous post was at 10:18 AM ----------
It won't allow me to access my external SD card.
It only shows /Android and /Data.
sevsman said:
Well I'm downloading now, and as long as it's got lock screen notifications and Heads up I'll try it for a few days and test the ass out of it
Thanks for the rom Synergy510
Click to expand...
Click to collapse
The ROM doesn't have lockscreen notifications. But I can look into implementing it if it isn't too difficult
evansx6 said:
I think you undersell yourself.
I am downloading this rom and looking forward to its performance.
You have the passion to make something better.
You have learned new skills in the process.
You are now a developer.
---------- Post added at 10:38 AM ---------- Previous post was at 10:18 AM ----------
It won't allow me to access my external SD card.
It only shows /Android and /Data.
Click to expand...
Click to collapse
Thank you so much. I really wanted to get the most out of the S4. It's going to last me until the S8
And regarding your external SD. Did you do a full wipe or did you flash over a previous ROM? What app are you using?
Which CM Version or nightly is this Rom based off?
Must say it is a pretty fast ROM. I'm using for a few hours now and I'm quite happy with it :> Although the rom is great, there's one thing that pisses me off - when I pull down the notification bar, it shows me quick settings, not notifications coming (as it's made in other roms, that have quick settings pulled down by two fingers). I understand when there's no notifications it could shows quick settings but not now lol.
Cozmos23 said:
Which CM Version or nightly is this Rom based off?
Click to expand...
Click to collapse
I'm building this off the stable branch of CM11, this should be based on the same sources as the M9 snapshot
Graivite said:
Must say it is a pretty fast ROM. I'm using for a few hours now and I'm quite happy with it :> Although the rom is great, there's one thing that pisses me off - when I pull down the notification bar, it shows me quick settings, not notifications coming (as it's made in other roms, that have quick settings pulled down by two fingers). I understand when there's no notifications it could shows quick settings but not now lol.
Click to expand...
Click to collapse
I did try to implement Smart Pulldown for the notifications, so the logic should be that if there are no notifications, pulling the notification bar anywhere would result in going straight to the quick settings. I know for me Smart Pulldown isn't always as stable as it should be. Do you pull down on the notification bar as soon as the notification comes in? And could you give me an example of where this happens
Let's say you get a notification. SMS from a friend, missed call or anything. You want to see who you got that from. Easiest way? Pull down the notification bar to see what is going on. Surprise! The ROM showed you quick settings instead of notifications.
Did you get what I mean?
#Edit
I do not pull down the notification bar as soon as the notification comes in. Usually I check phone like a few times for an hour. Take the phone out of my pocket to see if there are any notifications, pull down the notification bar and boom I get quick settings :<
Synergy510 said:
Thank you so much. I really wanted to get the most out of the S4. It's going to last me until the S8
And regarding your external SD. Did you do a full wipe or did you flash over a previous ROM? What app are you using?
Click to expand...
Click to collapse
Just tested it and it runs really fast and smooth.
No Problems so far but I couldn't test it any further cos I experienced the same with the SD Card and all my apps and themes and backup stuff are there.
The SD Card doesn't show up in the system. I'm using FX file Explorer with Root Addon.
It was a clean install with full wipe and Dalvik\Cache wipe after install with banks minimal gapps.
But man when I say the Rom is fast I really mean it.
I dont have any problemen with my SD card. I have installed the first rom
Sent from my GT-I9505 using XDA Free mobile app
Graivite said:
Let's say you get a notification. SMS from a friend, missed call or anything. You want to see who you got that from. Easiest way? Pull down the notification bar to see what is going on. Surprise! The ROM showed you quick settings instead of notifications.
Did you get what I mean?
#Edit
I do not pull down the notification bar as soon as the notification comes in. Usually I check phone like a few times for an hour. Take the phone out of my pocket to see if there are any notifications, pull down the notification bar and boom I get quick settings :<
Click to expand...
Click to collapse
When pulling down goes to the wrong menu, it usually happens to me right when the notification comes in. I've been trying to pulldown to see if it gets it wrong, but I'm not getting anything. Did you try messing with the settings? Try to re-apply the setting for Quick and Smart pulldowns and see if that helps.
Cozmos23 said:
Just tested it and it runs really fast and smooth.
No Problems so far but I couldn't test it any further cos I experienced the same with the SD Card and all my apps and themes and backup stuff are there.
The SD Card doesn't show up in the system. I'm using FX file Explorer with Root Addon.
It was a clean install with full wipe and Dalvik\Cache wipe after install with banks minimal gapps.
But man when I say the Rom is fast I really mean it.
Click to expand...
Click to collapse
Thank you, I was hoping it would be fast.
I downloaded FX File explorer and I can see my SD card perfectly. Can you try going into Settings > Storage and seeing if you can see your SD card from there? If you can't, I think I know what could be wrong with yours. Do you happen to know what format your SD card is in? exFat, Fat32... etc If it is exFat, then that's why and I need to apply some patches for you in the next build
S View
Synergy510 said:
Hello everyone, my latest build is available for download.
Build 08/14/2014:
Tuned in-call and speaker volumes
Updated Alucard kernel to 2.7.0d
Added cortex-a15 flags to build for a little performance boost
Added Dynamic Kernel Tweaker shortcuts in the Settings Menu! http://imgur.com/gEeUhU9
I would really appreciate if someone with an S-view cover would test to see if it works! Also any feedback, good or bad is welcomed!
Click to expand...
Click to collapse
Hi Syn,
S View hasn't worked for me. The ROM has not presented any sign that the S View cover was there. So I have uninstalled your ROM as S View is a key funcionality for me.
Anyway, this is fine work! Keep it up, i'm sure you'll sort out the s view issue. I'll be around checking your progress. Thanks! :good:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
EXPERIENCE HALOGEN | EXPERIENCE AWESOMENESS
For Changelogs please see POST #2.
For FAQ please see POST #3.
DISCLAIMER :-
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 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 simply laugh at you.
*/
NOTE :-This kernel is ONLY meant for AOSP/CM ROMs.
This IS NOT MEANT for STOCK ROMs.
Upto R14 Kernel supports Lollipop.
From R15 onwards Kernel supports ONLY Marshmallow.
From R18 onwards Kernel supports Doze + Marshmallow.
From R30 onwards Kernel supports ONLY Nougat.
WHAT IS THIS KERNEL ?This kernel is built especially for these 3 things :- 1. Audio, 2. Performance, 3. Battery Life.
The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do. Go ahead and try this kernel, and it should make your device much better.
FEATURES :-(features of ONLY the latest version is mentioned)
Based on Linux Kernel 3.4.42
Updated with the latest CM14.1 sources
Built with UBER Toolchain GCC-4.9
Any Kernel 2 script used
Kexc Hardboot patched
Built with optimization flags for enhanced performance
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam (thanks to @attack11)
Faux Sound Control v3.5
Headset in high performance profile
Slimbus overclocking for superior audio quality
Enabled CPU boost
Add Frandom
Power effecient work queues enabled by default
Reclaim RAM from loggers
Disable gentle_fair_sleepers for increased I/O
Enable advanced unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
intelliactive, intellidemand, zzmoove cpu governors
intelliplug v4.0 cpu hotplug
enabled advanced tcp congestions
Ability to use your device as USB Keyboard / Mouse
Stereo call record support
psx2usb
KCAL v2 by Savoca
Dynamic FSync
Added optimized square root algorithm
Added optimized ARM_RWSEM algorithm
NEON kernel mode
Ex-FAT support
LONG TERM SUPPORT :-
This kernel will be supported for a long time with updates directly streamed from CM kernel sources i . e . as long as CM keeps publishing updates to its base, this kernel will also be updated.
DOWNLOADS :-(do not mirror my links)[ Latest Version ][ Older Versions ]
INSTALLATION INSTRUCTIONS :-
Reboot into recovery.
Make a nandroid BackUp.
Select Install zip from SD Card.
Select the Downloaded zip.
Then Reboot to System.
Leave your phone untouched for 2-3 minutes after first reboot to allow the kernel to spread it's wings.
RECOMMENDED APPS FOR KERNEL TWEAKING :-
Kernel Adiutor
Faux123 Kernel Enhancement Pro
I do not support any other apps.
CREDITS:-~~Google
~~Motorola for kernel sources
~~Flashhhh
~~hurtsky
~~Luk & Luca -for various fixes
~~Thecrazyskull, DC07 -for cherry-picks
~~Faux123
~~Savoca
~~YoshiShaPow
~~attack11
~~many more.......
Please don't start a war here if I forgot to mention someone. PM me and I will add him / her.
XDA:DevDB Information
HalogenKernel, Kernel for the Moto G 2014
Contributors
zakee94
Source Code: https://github.com/zakee94/halogen_kernel/
Kernel Special Features: Faux sound, Kexec, KCAL, Intelliplug
Version Information
Status: Stable
Current Stable Version: R31
Stable Release Date: 2017-01-07
Created 2015-06-11
Last Updated 2017-01-07
Changelog
CHANGELOG(simplified changelog, for full changelog please look at my GitHub commits.)
R31 --> 07/01/2017
Merged CM Updates
For older changelogs :-
R30 --> 30/10/2016
First Nougat release
For changes please see post #670
R29 --> 24/07/2016
Merged CM Updates
R28 --> 08/06/2016
Merged CM Updates
AROMA installer
Added tripndroid IO Scheduler
CPU optimizations
ARM tweaks and updates
R27 --> 12/05/2016
Merged CM Updates
R26 --> 10/04/2016
Merged CM Updates
R25 --> 16/03/2016
Merged CM Updates
R24 --> 18/02/2016
Reverted the following :-
CPU OC/UC - 1593/96 MHz
CPU UV
LMK tweaks + Agressive LMK mode
Following CPU govs --> lionheart, dancedance, bioshock, alucard
Following Hotplugs --> Mako, Auto-smp
Added the following -->
Merged CM Updates
Built with UBER Toolchain GCC-6.0
R23 --> 19/01/2016
Merged CM Updates
Overhauled boot script
R22 --> 11/01/2016
Rebased kernel on android 6.0.1_r10
Rebuilt kernel from scratch
Merged a lot of CM updates
Added futex updates
Cpu UV added (hardcoded values)
Added 2 new hotplugs :- Auto-smp & Mako
Removed Alucard Hotplug
Overhauled updater script
R21 --> 30/12/2015
Add CPU OC/UC - 1593/96 MHz
Adapt cpu_govs for CPU OC/UC
Merged CM Updates
R20 --> 29/12/2015
Merged CM Updates
R19 --> 23/12/2015
Added 3 new cpu_govs: Lionheart, DanceDance & Bioshock
Enabled CPU boost
Added optimized ARM RWSEM algorithm
ARM updates merged directly from CAF (See Git)
Mutex updates (See Git)
LMK updates (See Git)
Add agressive LMK
Build using -O3 & -graphite flags for enhanced performance
Cortex-A7 optimizations in Makefile
block: Disable add_random
Implemented LoUIS cache
Made bioshock as default gov. in boot script
Many other optimizations (smp, rcu, vfs, vfp, etc... See Git)
R18 --> 20/12/2015
Merged latest CM Updates (support for Doze)
R17 --> 17/12/2015
Merged latest CM Updates
Made interactive as default gov. in boot script
R16 --> 03/12/2015
Fixed FM Radio not working
Fixed Section Mismatches
Enabled pipe flag
R15 --> 27/11/2015
Build Kernel from scratch based on cm-13.0 kernel base
Compiled using Hyper-Linaro 5.1 Toolchain
Kernel version brought down to 3.4.42 temporarily
Revert SE Linux force permissive
Revert use Modulo sched & strict alias flags
Enabled Simple GPU Algorithm
R14 --> 11/10/2015
Merged latest updates
Updated kernel to v3.4.109
Updated bfq to v7r8
R13 --> 6/09/2015
Brought back the following :-
SE Linux tweaks
msm:kgsl tweaks
Enable unaligned_access
DOLBY dap dependency fix
Removed the following :-
Simple GPU Algorithm
New features :-
Update with latest CM sources
Implement Adreno Idler
R12 --> 26/08/2015
Removed the following :-
CPU UC to 96MHz
SE Linux tweaks
USB Fast Charge v2
Added optimized ARM_RWSEM algorithm
msm:kgsl & wcnss tweaks
Optimize square root algorithm
Enable unaligned_access
DOLBY dap dependency fix
Ultrasound & ASoC : qdspv2 tweaks
Changed the following :-
Update 'zzmoove' cpu_gov to v1_beta-8
Set 'zzmoove' as the default CPU Gov
R11 --> 22/08/2015
Merged latest CM updates
R10 --> 13/08/2015
Once again rebuilt the whole kernel !
Updated with latest CM sources
Possibly fix interactive deep-sleep issues
R9 --> 25/07/2015
Updated with the latest CM sources
Rebased and built whole kernel from SCRATCH
Removed useless tweaks
Updated cpu_hotplugs & cpu_govs
Optimized zzmoove profiles again
R8 --> 11/07/2015
Updated with the latest CM sources
Reverted RAM OC to 566MHz
Reverted some power hogging tweaks
Updated hotplugs :- intelliplug, msm-hotplug (neobuddy89 versions)
Added Bricked Hotplug
Optimized zzmoove profiles
R7 --> 30/06/2015
Disabled msm_limiter
zzmoove : add back zzopt & zzmod, zzopt unstable for now.
Introduce kernel cooker
Bug fixes
R6 --> 24/06/2015
Updated kernel version to 3.4.108
Enabled kernel_config_neon
zzmoove : remove profiles 'zzopt' & 'zzmod'
Add strict_aliasing & modulo_sched flags
Add msm:kgsl & wcnss tweaks (see GitHub)
Add MSM Frequency Limiter driver v3.6
Add Ultrasound & ASoC : qdspv2 tweaks (see GitHub)
RAM OC to 566 MHz
And many more I can't fit in here, so please checkout GitHub.
R5 --> 20/06/2015
Added USB Fast Charge v2
Enabled NEON mode
Added Ex-FAT support
SE Linux tweaks (see GitHub)
zzmoove : set default profile to 2
tune up some governors
Enable intelliplug by default
Random / entropy tweaks
R4 --> 17/06/2015
CPU UC to 96 MHz
GPU OC to 533 MHz & UC to 100 MHz
Disabled PowerHal log spam
Reclaim RAM from loggers, increasing default ram to 883 Mb
Disable gentle_fair_sleepers for increased I/O
Enable unaligned_access
Enable arch_power
Use power efficient workqueues for bam_dmux
Optimize square root algorithm
Many tick, clockevents & timer tweaks (see GitHub)
Lower swappiness from 60 --> 45
Added optimized ARM_RWSEM algorithm
Force SE Linux permissive
Added state notifier driver
Enabled quick wakeup
NOATIME and NODIRATIME as default
R3 --> 14/06/2015
CPU Govs removed :- wheatley, nightmare, HYPER, darkness, pegasusq, ondemandplus
Added simple GPU Algorithm
3 new CPU Hotplugs added :- intelliplug, alucard, msm-hotplug.
Power effecient Wqs enabled by default
Reclaim RAM from loggers
devfreq:Add conservative governor
devfreq tweaks (see GitHub)
Dynamic FSync added
Intellithermal v2 added
R2 --> 13/06/2015
New CPU Govs added :-
intelimm, intellidemand, intelliactive, smartmax, pegasusq, alucard, impulse, ondemandplus, wheatley, yankactive, nightmare, HYPER, darkness, zzmoove.
New TCP Congestions enabled :-
westwood, cubic, reno, hstcp, hybla, vegas, veno, scalable, lp, yeah, illinois, hctp, advanced, highspeed.
New I/O Schedulers added :-
fiops, vr, zen, sio, bfq, cfq, deadline, noop, tripndroid, fifo
Added KCAL v2 by Savoca
Optimized slub memory allocation
Increase torch power by 20 mA
Added stereo call recording support
psx2usb
Added NVIDEA Power effecient patches
Changed CFlags = Ofast
Optimize sfck compression
Many sched tweaks and optimizations (see GitHub)
R1 --> 12/06/2015
Initial Release
FAQ
FAQ
This kernel does not have X, Y or Z feature. Please add it !
No such requests shall be entertained.
For this device the closer to stock we are, the better it is. Hence no need for "fancy" useless features/tweaks. The main aim of halogen is to bring performance without compromising stability & battery. And that is what I intend to do.
AND if you really want this or that feature which is not there in halogen, please feel free to compile your own builds.
Oh no ! I encountered a BUG !
Upload the file named last_kmsg that located in /proc/last_kmsg. It contains kernel logs. Clearly state the bug / what you experienced along with your current kernel settings. Bug reports without logs will be ignored.
Recommneded settings ?
Halogen is pre-configured for best. For custom settings please google, do some research and you are encouraged to post your own settings in this forum. You can start here.
My battery drained overnight !! Look at these screenshots...
Not a halogen fault. The kernel does not “drain” battery. On Android devices, the kernel provides a mechanism for keeping the phone awake, called a wakelock. Processes running on the device (e.g. apps and services) can ask the kernel for a wakelock, and the kernel will oblige. So yes, the kernel is technically keeping the phone awake, but only because an app or service has asked it to. It is these apps and services that are misbehaving and causing drain, not the kernel. Doze mode, introduced in Android Marshmallow, is designed to limit the time that apps and services can wake up the device.
All thanks to @flar2 for his excellent post.
Wow,
What is better setting for this Kernel ?
legendsbr said:
Wow,
What is better setting for this Kernel ?
Click to expand...
Click to collapse
There is not much to set in this kernel at present. Leave it as it is. Tweak sound to your hearts desire !
What governors & I/O schedulers are already included? Just the "basic" AOSP kernel ones for now?
Yes...
But updates will come soon !!!
You simply did it! Thank you so much!
There is a long way to go but I hope you can add more stuff, not forgetting the DoupleTap to wake up the screen
Testing
NEW BUILD IS UP !!!
[ 12 June, 2015. Version --> R2 ]
New features added :-
** 14 new cpu govs added !!!(check changelog for their names) **
** New I/O schedulers added (added tripndroid) **
** New TCP Congestions added **
** Stereo call recording **
and MUCH, much more......................CHECK CHANGELOG.
Did you know ? :-
With the release of R2, Halogen Kernel becomes the ONLY kernel with maximum number of cpu govs !!! (among all kernels for stock/cm of titan/falcon).
This kernel has around 20 cpu govs !!!
NOTE :-
Try reading this guide by @gsstudios before selecting out among the many CPU Govs.
E _N_J_O_Y !!!
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
giannis_mathiou said:
This kernel really works for battery life... Smooth and fast and also improves battery life. Appreciate you're work!
Click to expand...
Click to collapse
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
zakee94 said:
Thanks for review...
More updates will come soon !
This kernel mainly focuses on audio and battery life.
Click to expand...
Click to collapse
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
TiGuy82 said:
Thank you so much for the updates!
Can you make a post with the recommended settings for battery life and the best performance possible?
Click to expand...
Click to collapse
Of course I will....
zakee94 said:
Of course I will....
Click to expand...
Click to collapse
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
EDIT: temporarily solved with an init.d script, here it is if someone has the same problem https://www.dropbox.com/s/qmcdlljjj0klzaf/cpufreq.zip?dl=0
ktulu84 said:
there is something terribly wrong... at boot maximum cpu frequency is set to 384MHz, this give terribly long boot time, stuttery bootanimation and longer time for apps optimization after a rom update
Click to expand...
Click to collapse
Even I had been facing the bug...BUT I fixed it out and the BUG IS NO MORE !!!
I will be soon releasing the update ! The problem was with some improperly adapted CPU governors which limited the max cpu freq to 384 at boot. I have removed them and now the cpu clocks @ 11190 during boot.
I appreciate your work with the script. Its good, and I hope you will keep supporting my kernel in the future.
@ktulu84
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Is the kernel stable? i'm using cm12.1 for daily use and some of the kernels i've tried always gave me the problem where the logcat is spammed with something liek "failed to acquire lock" everytime i touched the screen, can someone report?
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Sent from my Moto G 2014 using Tapatalk
Click to expand...
Click to collapse
Yes I m aware... It will be improved in future versions.
However it does not matter much, Linux handles memory in a different way and will release appropriate ram when required. What really matters is whether you are getting a smooth experience or not.
xeraphael said:
Available RAM is less than stock CM12.1 kernel - ~900 MB vs ~860 MB. Pretty sure you're already aware of it, but thought I'd highlight it anyway just in case.
Click to expand...
Click to collapse
Yes, there are changes in that. As the OP said, it depends on the kernel. Since our device has 1024MB RAM, the remaining RAM gets allocated to Graphics, audio processing, etc. If you are familiar with it, its very similar to Intel & AMD's allocation of RAM to Graphic memory in computers.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Dorimanx OP3T Kernel for STOCK 6.0.1 OOS/H2OS 3.5.x
No Oxygen 4.x.x or CM/LineAge SUPPORT!!! GO AWAY NOW!
My PM box, is for Emergency ONLY! do not send me PM's just because you cant post! that is lame, post something useful and post in thread.
My kernel was based on OP3T Stock Kernel 3.5.4.
Kernel Tree is 3.18.57, + OP3T and CAF updates + my tweaks and lots of tuning!
Global Credits!
Flar2 for many kernel mods
Cyanogen/LineAge/Code Aurora for many kernel mods
Andip71
Franciscofranco
SultanXDA
OP3 Devs for Stock kernel base!
To all my sources in GITHUB!
Linus Torvalds for Linux source!
WHAT INSIDE:
Kernel support OOS/H2OS 3.5.x
Kernel compiled with GCC 6.3.0 64Bit adapted for OP3T
Kernel includes all new security patches.
Kernel updated up to 3.18.57 build.
Kernel includes all original last 6.0.1 changes by OP3T Devs.
Kernel operate in 300HZ + all needed fixes to do that.
Kernel has DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
Kernel has swipe to wake features by @FLAR2 (up,down,right,left,and dual tap).
Kernel include Sweep2Sleep allows sweeping from right to left and backwards!
on soft buttons to turn off the screen. by @FLAR2
Kernel has support for screen color change app. (KCAL Interface).
Kernel has support for touch keys light delay, default 6sec. by @andip71
Kernel include KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
Kernel include all latest patches from Code Aurora source for 3.18.y
Kernel include Enhanced TCP methods
Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
Kernel include advanced binder driver from main line 4.10.y kernel.
Kernel include CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
Kernel include latest F2FS driver for 3.18.y with fixes for speed and stability.
Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,SIO I/O govs tuned for SSD.
Kernel includes Elementalx, Blu_active, Interactive, Conservative, Ondemand, Performance CPU GOVS.
Kernel support FSYNC mode for FS. (Off by default)
Kernel includes ARM enhanced performance and battery patches
Kernel support Backlight Dimmer feature.
Kernel supports CPU OverClock/UnderClock for both clusters.
Kernel support thermal driver tuning, max heat for cores, default 70c.
Kernel includes advanced crypto drivers and latest qseecom decryption driver.
Kernel includes updated EXFAT and FUSE + NTFS drivers.
Kernel support for not forcing encryption.
Kernel includes support for CIFS driver.
Kernel includes fast finger print sensor mod when screen is off.
Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
Kernel includes massive code update for sound driver, and @FLAR2 sound/mic gain control interface.
Kernel include boost to I/O by mounting partitions with optimized flags, and updated MMC driver.
Kernel includes updated BT and NET/PPP/VPN/DATA drivers.
Kernel include mode to ignore home and touch keys when finger is pressed against the screen.
Kernel includes Aroma Installer for easy install with few simple changes that can be selected.
Kernel includes many patches to camera, GPU, and screen drivers.
Kernel has OTG enabled by default internally.
Kernel has Notification LED Control driver by @andip71
Kernel include usage of power efficient workqueues in many drivers by @franciscofranco
Added Support For INIT.D Scripts, from kernel 0.5
Kernel will switch to NOOP I/O Sched during screen Off time to save power. by @SultanXDA
Kernel will boost CPU frequency when screen wakeup to improve user experience, by @SultanXDA
Known BUGS!
Post reports, i will fix.
Standard disclaimer:
By installing this kernel YOU will take full responsibility for any damage to your device!
Hardware or software! no one forcing you to install it.
So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.
But you can feel SAFE to use it, as I test every release on my phone!
Before I publish it for download.
Your warranty will be void by installing custom kernel as my.
Kernel Sources:
KERNEL GITHUB
TO DOWNLOAD GO DOWN!!! YES MORE DOWN...(do i need to repeat?)
How To Install:
You will need to have device with Latest Recovery installed! Please install the 3.0.4.1 BUILD!
>>>Here is the Recovery you need!<<<
Old recovery can corrupt your DATA partition as my kernel using latest F2FS driver. new recovery has updated driver.
YOU MUST UNLOCK OEM BOOTLOADER!!! OR YOU WILL BE STUCK ON BOOT!
Refer to other threads for recovery install process and for oem bootloader unlock.
Download kernel, upload it to your SDCARD, anywhere.
Always have STOCK Kernel for your ROM!
Reboot to Recovery.
THINK AGAIN! did you made backup? NO!!!!??? DO IT NOW!
If you had any other Custom kernel, Install STOCK kernel or dirty flash your ROM,
to clean any trace from other kernel. then install ROOT if you wish! then install my kernel.
Do not clean any cache or dalvik (needed for ROM only!).
Reboot!
If you wish to UNINSTALL my kernel, there is a uninstaller ZIP for you.
it's will remove all ramdisk changes, and install last 3.5.4 stock kernel, preserving ROOT if was installed!
Have Fun and report.
Donation Board:
ME donated 140+ hours to update stock to now.
Krija = Dorimanx App updates! (Serious Donation!).
VanderLo
Mirror #1 by willflint
Mirror #2 by GITHUB!
Info for Web Hackers,
in my mirrors, there is nothing to take!
My work is public and for the people!
Please let my mirrors work in peace.
Thanks.
Mirror #1
Mirror #2
More Usefull Links:
Few Apps that you can use.
STOCK Kernel 3.5.4 last OTA
Uninstall Script + Stock Kernel
Change logs:
22/06/17
Kernel 1.1 Final Build for MM 3.5.x
*Updated with 3.18.57 critical patch
*Merged fix for infinite loop in wake boost code.
13/06/17
Kernel 1.0
*Merged security update to prevent hackers using memory access exploits.
*Merged patches 3.18.55 + 3.18.56, changes in:
CHAR,NET,OF,PCI,USB,MM,KERNEL CORE,SECURITY,FS
*Compiled new GCC 7.1.0 kernel toolchain,
and used it to fix many kernel bugs during kernel compile.
*Merged cleanups to unused code for CPU cortex-a53.
*Disabled some TRACING code.
*Merged changed to reduce log spam.
*Merged updates/fixes for FS,SOUND,QCOM,RTC,CPUFREQ,NET,WAKEUP,MDSS,DEVFREQ.
24/05/17
Kernel 0.9
*Merged latest F2FS driver updates, great read/write I/O performance, 20% more speed.
Also better power usage during suspend. Discard and GC threads now sleep too.
*Merged many updates from LOS tree (CM14.1 - 7.1.1) including MMC,SOUND,CORE,TRACE,VIDEO,CAMERA,
MDSS(screen panel),SOC,IPA,KGSL(GPU),ASHMEM,CRYPTO,BINDER,QCOM MODEM,QCOM SUBSYSTEM,
*Merged patch 3.18.54 including NET,USB,TTY,FS,BT,CORE,PADATA updates.
*Merged security fix for SU thread, now hackers will have hard time exploiting ROOT
with apps that didnt asked for ROOT. it's very big step in security with ROOT!
*Merged updates to boost I/O performance and CORE RT tasks.
*Merged better HACK for SafetyNet checks. (if you have ROOT, SafetyNet will not pass the check!).
15/05/17
Kernel 0.8 STABLE
*Changed setting sleep I/O gov to wait 5sec before activating.
*Merged main line kernel patches 3.18.52 + 3.18.53,
included RAM(MM),ARM64,NET,FS,CORE,USB,POWER,LIB,SOUND.
*Merged updates to UFS controller (storage driver)
*Merged new driver that will boost cpu freq when screen wakeup for 5sec.
*Merged updates to cpufreq + cpustats drivers, bugs + ram leaks fixes.
*Merged update to Arm64 code to reduce delay on RAM allocations.
*Merged Memory code updates.
*Merged GPU ION driver security fixes.
04/05/17
Kernel 0.7 STABLE
*Merged new driver that will set NOOP as I/O sched on all mounts when screen goes off.
and restore other I/O gov when screen is ON after 10sec. this will help to reduce power usage
while in suspend, and speedup the wakeup.
*Merged bug fixes for touchscreen driver.
*Merged big patch 3.18.51 from main line kernel.
*Merged few fixes for EXT4 driver.
*Merged fix for L2PC and GPU driver detected by Franco.
25/04/17
Kernel 0.6 STABLE
Kernel 0.5 BETA (deleted, bug in NET code)
*Reverted changes in NET code that triggered kernel crash!
*Merged new updates to FS,Qseecom,MDSS,Camera,USB,KGLS,RCU,SOUND
*Merged new updates to Power,SPMI,SOC,Security,Thermal,MMC,MODEM
*Merged update for CPUIDLE code should help to gain even more power during suspend.
-->>0.5<<--
*Merged updates to WIFI Driver + fixes for non original code changes.
*Tuned touch boost freqs on boot. (1.2ghz + 1.4ghz big cluster)
*Merged MASSIVE code updates for Screen,USB,NET,MODEM,CRYPTO and camera drivers from CM14.1 kernel.
many RAM leaks fixed and few possible critical bugs are gone!
*Merged few updates to Interactive gov.
*Merged Sound Driver updates.
*Merged MMC driver updates.
*Merged QseeCom driver updates.
*Merged update that increase KGSL memory store for GPU.
*Merged new GCC 6.3.0 Kernel compiler with latest Binary updates and tuning.
*Merged MASSIVE update 3.18.49 from main line source.
*Merged MASSIVE update 3.18.50 from main line source.
*Fixed PSTORE not writing logs on boot/crash.
*Added INIT.D support as requested. put your scripts in /data/init.d folder!
it's will be auto added on boot if you select to have INIT.D support in AROMA Installer.
29/03/17
Kernel 0.4 STABLE
*Merged fix for FS code for file permissions.
*Removed timer stats that no one need.
*Fixed wakelock blocker code. now device will deep sleep at last. flat line in battery graph.
*Merged many bug fixes for screen driver (mdss)
*Merged bug fixes for camera, sound, and leds drivers.
*Merged bug fixes for BT, hwmon, qpnp, NET, HID drivers.
26/03/17
Kernel 0.3 BETA.
*Updated BLuActive CPU GOV from dev source.
*Merged change that fools apps and show kernel is in green state (stock)
*Updated Interactive CPU gov, allowed to set max timer rate on screen off,
For now I have set it to 40K default screen on is 20K.
*Fixed timekeeping code bug in suspend.
*Merged many code changes that fix kernel memory leaks in many drivers! Thanks to @sultanxda
*Merged update to kill wakelocks code by @franciscofranco + some improvements in screen on/off code.
*Merged many changes in kernel to silince useless debug mess.
*Merged update for WIFI regional DB.
*Changed F2FS driver to use noinline_dentry by default to support older twrp.
I am STRONGLY advice to install TWRP 3.0.4.1 as it’s including new F2FS driver that don’t mess DATA partition!
*Merged updates to GPU freq driver.
*Merged bug fix for USB code.
*Merged improved CRYPTO optimization for our CPU.
*Enable JUMP_LABEL code to optimize some functions in kernel if possible.
*Added user configuration in AROMA installer for TouchKeys LED delay. And for Wakelocks ON/OFF
Already set as I think best, but you can do whatever you like.
To be able to disable touch keys leds, unselect the touch keys override option.
Please create DATA backup before booting just in case.
Best to use TWRP 3.0.4.1 with this kernel and any other!
15/03/17
Kernel 0.2 STABLE.
*Merged update to Blu_Active CPU GOV from dev @ENGstk
*Merged ability to disable some NET/TIMER wakelocks to save power during suspend by @franciscofranco
I have set to disable the: wlan,timerfd,wlan_extscan_wl,qcom_rx_wakelock,ipa.
*Merged update to binder code.
*Changed kernel to 300HZ timer from 100HZ + corrected critical drivers to use msec to jiffers for there needs.
*Merged updates to vibrate driver, less delay on wakeup using fingerprint unlock. still can be tuned for min/max vibrate force.
*Merged updates to touch boost driver.
*Merged updates to PCI code, will reduce power usage.
*Merged changes by @franciscofranco to many kernel drivers that now will use power efficient workqueue function.
*Merged changes to NET and Kernel Performance drivers that will allow to save more power.
*Merged changes by @franciscofranco to enable screen panel power save functions.
*Merged updates to Interactive CPU GOV, will save more power during screen off.
*Merged updates to scheduling Deadline code.
*Merged many updates to F2FS driver from 3.18.y F2FS stable git, preserving all OP3T needed code + some battery saving changes.
F2FS is now updated up to 4.11.rc1 kernel source.
*Merged change to improve back light curve to max brightness at high sun light. by @franciscofranco
*Changed the default touch keys led time out to 5sec from 6sec.
05/3/17
Kernel 0.1 STABLE.
Initial build Mega Bomb. see what inside list.
XDA:DevDB Information
[MM 6.0.1 OOS/H2OS 3.5.x Kernel 3.18.57][22 JUN] Dorimanx 1.1 PWR CORE, Kernel for the OnePlus 3T
Contributors
dorimanx
Source Code: https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commits/master
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 1.1
Stable Release Date: 2017-06-22
Created 2017-03-05
Last Updated 2017-06-28
Saved For me!
*Kernel can be tuned with Kernel Auditor App.
*Screen Color can be modded with app in my APPS folder. Color-Control-v1.1.apk
*Kernel support Flar2 Kernel app, same for Francisco Franco.
*In time i will add my simple control app for FREE
You can find TWRP recovery in my mirror and supersu.zip + exposed if needed.
Enjoy
Saved For me! #2
First thanks!!!
glad to see you here!! why a MM kernel?
cristianvaz81993 said:
glad to see you here!! why a MM kernel?
Click to expand...
Click to collapse
As he stated in the op
"When there will be EXPOSED for 7.x.x I will build kernel for 4.x.x STOCK"
With the biggest possible font. How did you miss that :laugh:
cristianvaz81993 said:
glad to see you here!! why a MM kernel?
Click to expand...
Click to collapse
I need exposed. and 4.x.x is still bugged. in beta state. i will move to it after some time, it's the only way
But for now i enjoy this monster device with super stable ROM. why to search for problems?
Many think as me. and not all moved to 7.x you will see
I am just flashing stock 3.5.4 because of your kernel <3 thanks for bringing it here .
Really happy to see you here with your awesome work. My g2 is still running your Kernel like a champ.
Welcome
Sent from my OnePlus 3T using XDA Labs
the good old days with the g2....
glad to see you here
thanks and good luck.
also with MM 3.5.3 as i need xposed.
Sent from my ONEPLUS A3010 using XDA-Developers Legacy app
The hero is here.
Welcome master, glad to see long awaited punch, thanks for supporting 3t :fingers-crossed:
Can I flash it over stock 3.5.3?
Sev_07 said:
Can I flash it over stock 3.5.3?
Click to expand...
Click to collapse
Yes, should work fine. But if you decided to stay for now with mm. Update to last build, its very stable.
Sent from my OnePlus 3T
Appreciate the MM support!!!!
Also follow the master from G2 to 3T
Just downgrade my 3t from nougat for xposed and this kernel jumped out!
Thanks master Dori for this great kernel, everything runs very well for now.
only thing I noticed is that button led can't turn off now?
The most stable 0.1 version I've seen
btw can I format cache to F2FS with this kernel? or does that make any sense?
Thanks again.
Been very pleased with your kernel in G2 days, I'm sure this one also live up to expectation... Unfortunately I'm using N now, so I'll keep on watching until Xposed for N is released... Keep up the good work! :good:
Here we are......
Woow! I've used your kernel on my G2 days. Gonna try this out on the weekend. thanks dori!
I noticed that button led can't turn off now also.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
Buying Mi 5 gave me opportunity to spread wings and maintain a (hopefully) better version of Linux kernel for this device.
The idea is to provide two levels of modification, one - the most up-to-date kernel upstreamed with official Linux changes (also Android) repo to provide bug-free and stable experience, second - tweaks and additional features placed in top of upstreamed version to give blazing efficiency and battery friendly experience.
I came with the idea while looking onto linux repo - there are so many fixes and optimizations done to the code which gonna never come up to any Android device. So why not to try and pick some of these changes?
Android device is one of many for which Linux kernel is developed. Adding hardware specific changes will give extra performance and battery backup as it's going to use the phone architecture better instead of generic implementation.
Click to expand...
Click to collapse
Compatibility
It is LOS forked repo so any LOS-based ROM should be compatible (not MIUI compatible).
Do not use it with any custom ROM or additional modifications as I'm not supporting them (and will not).
Of course, you can try flashing, if it works - enjoy.
Downloads
You can use 'Download' tab in the top or download from AFH .
Installation:
- download kernel zip and necessarily check MD5!
- boot into recovery
- flash the zip (always flash on clean ROM!!)
- (optionally you can wipe cache/dalvik)
- reboot to the system and taste the madnesss
Soda-Upstream - stock kernel upstreamed with official repos as much as it is possible.
Features of Soda-Upstream:
- Almost fully updated to v3.18.87
- Compiled with fresh Google's prebuild GCC 4.9
- A lot of official fixes and optimizations
- Updated crypto parts
- Updated lib parts (lots of performance improvements)
- Updated cpuidle
- Updated devfreq
- Updated Android drivers
- Updated pseudo file systems & JBD2
- Updated fs (up to 10% faster I/o)
- Updated arm64 deps
- Updated parts in net
- Miscellaneous scrpits update
- Stock frequency on 32gb model
- Own fix for mitigation task not initialized (testing)
- Other minor updates
Soda Kernel - upstreamed kernel compiled with fresh GCC, arch dependent flags, awesome tweaks and without any useless crap!
Features of Soda:
- All from Soda-Upstream
- Compiled with UBER TC 5.x (can't go higher due to s***ty drivers)
- Added arch optimization flags
- Changes in config
- Enabled by default net governor Westwood
- New IO scheds: ZEN, FIFO, FIOPS, Maple
- New CPU govs: ElementalX, ZZmove, Blu_Active
- Adreno Idler
- Adreno boost
- Disabled CRC
- Mi5 Lite has standard CPU frequency
- Added Frandom
- Backlight Dimmer
- Kcal v2
- Compiled with -O2
- Passing SafetyNet: GREEN
- Optimized functions
- Charge Control
- Boeffla Wakelock Blocker with predefined stuff
- Disabled FG wakelocks: update_sram, update_temp, memaccess, soc_work
- Default noatime mount flag
- Sound Control
- FingerPrint boost (it's not taking a lot of battery, but makes a difference at screen wakeup)
- Higher Slimbus frequencies to provide better sound quality (and truly it's working)
- Gentle Fair Sleepers, Arch Capacity interface
- Dynamic Sync Control 2.0
- USB OTG
- Alucard Hotplug
- IntelliThermal
- PowerSuspend
- Updated CPU boost
- Memory Compaction mechanism
Before you exit:
Don't get dishearten because of 'poor' features list. Main advantage of this kernel is upstream of many parts. Changes in Soda are chosen wisely, I implement thinks that are supposed to benefit. You don't need XYZ, you need Soda
Known issues:
Upstream:
None
Soda:
- Battery idle drain (investigation in progress)
- Speaker gain is broken
FAQ:
Could you add XYZ feature?
I will not add features I personally think are useless or unneeded. I can only promise I'll take it into consideration. If you're so single-minded about that just fork repo and pull request - I'll pick it gladly.
Could you upstream XYZ?
Ok, upstreaming is nice unless you fall into conflicts or totally new code structure. Don't expect me to update the kernel up to 4.13, haha! I'll keep in mind what you're asking me for, but if you're so desperate about this I'm waiting for pull request .
Why should I choose yours upstreamed version?
Don't expect it to change your Mi 5 into S7 edge =)
Think about like that - some time ago Google forked Linux kernel at version 3.18.31 and added their changes, then Qualcomm forked it and added their changes, then Xiaomi forked and added their changes. There are a lot of bugs, memory leaks and other bad stuff in here and probably nobody will take care about it... Oooch, except me! My aim is to keep the code as most up-to-date as possible - so without rewriting a half of proprietary drivers.
Does it make any sense?
In my opinion - yes.
Our phone will be more stable, not vulnerable to newest 0-days and hopefully a bit faster and battery friendlier. The key is bug-free optimized code; magical tweaks do not always take the first place in making a kernel better. As of my experience using upstreamed version gives more battery and smoothness!
"My phone freezees help meeee!!!!!!!11oneoneone..."
Description, logcat, kmesg or GTFO.
Could your changes damage my device?
I don't take any responsibility for broken devices, firing from work or nuclear wars. It's a hobby project maintained in my free time. I carefully pick up changes not to mess up anything and add features that are checked and provided to work correctly. There is a small range of cases when you can loose your phone completely, typically it will just freeze and reboot.
Where is version for MIUI and EAS?
MIUI won't be supported because Xiaomi haven't updated their repo for a long time. Building for MIUI would bring more problems than advantages.
EAS is in testing stage and will be released soon.
Remember to hit like button if you like my work as it motivates me a lot!
Play with it and post your experience please
Firmware:
Now I'm also providing updated firmware flashables.
You can easily download firmware packages from AFH .
Happy flashing!
Telegram:
I created Telegram Group where we talk about everything concerned with Android and kernels. Everyone is welcome!
--- Invite Link ---
Nightlies:
If you want to taste unreleased versions of Soda make sure to join my --- Telegram Channel --- where I post release candidates.
Donation:
I have spent lots of hours on debugging and feature adding. I'm developing this project in my free time but I put my heart and soul into it. I'll be glad to see you appreciate my work!
Buy me a coffee
Thanks to:
All LineageOS team @Lord Boeffla (aka andip71) @ZaneZam @bgcngm @frap129 #engstk @arter97 @jollaman999 @franciscofranco @TheCrazyLex
Special thanks to:
@mlira1 @SkiesOfAzel
XDA:DevDB Information
The Soda Kernel, Kernel for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre/android_kernel_xiaomi_msm8996
Kernel Special Features:
Version Information
Status: Stable
Created 2017-08-20
Last Updated 2017-12-15
The Soda-Upstream Kernel Changelog:
Code:
beta 1.0:
- initial release!
- upstreamed to v3.18.60
- upstreamed crypto section
version 1.1 (no beta anymore):
- upstreamed lib section (it includes a lot of optimizations done to the code)
- minor init fixes
- few block fixes
- updated ZRAM driver (with new LZ4 it's way much faster)
version 1.2:
- updated GCC from google's repo
- updated to linux 3.18.70
- updated cpuidle
- updated a bit in cpufreq
- updated devfreq
- [STRIKE]updated pseudofilesystems (like sysfs, proc etc.)[/STRIKE]
- updated Android drivers (a lot of changes)
- useless Adaptive LMK is removed
- updated sdcardfs
- merged LOS branch
version 1.2.1:
- BIG filesystems update (mainly pseudofilesystems)
version 1.2.2: --IT'S A HOTFIX---
- reverted a lot of crap
- fixed zram issues (need to be updated more carefully)
- minor updates in video, gpu
- minor updates in amba
- merged LOS tree
version 1.3:
- upstreamed to v3.18.84
- upstreamed with base
- updated android drivers (this time it's truly better)
- updated arm64 section
- own fix for broken mitigation task
- now you have stock freqs on 32gb model :)
- updated fs (up to 10% performance spike based on benchmarks)
- updated Linux scripts
- updates in net section (incomplete)
- kernel is now named soda :D
- updated GCC
- minor changes
version 1.3.1:
- fixed problems with F2FS
- fixed problem with kernel name unavailable
version 1.3.2:
- upstreamed with base (fixes potential touchscreen issues)
- upstreamed linux to 3.18.87
- updated AnyKernel2 (smaller package size)
The Soda Kernel Changelog:
Code:
beta 1.0:
- initial release!
- changes in config
- disabled CPU Boost
- disabled useless things
beta 1.1:
- added backlight dimmer
- added Kcal
- added Adreno Idler
- hard disabled CRC
- added frandom
- stock freqs on Mi5 Lite
- added blu active
- deleted LZO
- config changes
- based on newest Soda Upstream
beta 1.2:
- improved square root algo
- added FP boost
- SafetyNet: green
- improved imageblit func
- added parameter to change QC Fast Charge current
- added parameter to change charging current (900mA mod)
- added wakelock blocker
- added Sound Control
- added BL limits parameter
- default to noatime flag
- added Adreno Boost
- merged latest soda-upstream (with LOS changes)
- temporary fix for backlight dimmer (need more investigation)
- passing new flags to compiler
- updated toolchain
- disabled useless stuff in config
- less debugging more power
- higher freqs on slimbus
beta 1.2.1:
- FIXED high ram usage
- enabled bfq and cfq due to requests
- disabled useless wakelocks from FG
- updated blu_active
beta 1.3 (not released yet):
- rebased on top of upstream
added:
- Memory Compaction Mechanism
- Sound control ported to Xiaomi devices
- PowerSuspend
- Alucard Hotplug
- IntelliThermal
- Dynamic Sync Control
- updated and reenabled CPU boost
- removed log spamming
- changes in config (disabled useless things, added OTG support, enabled ondemand, wakelocks garbaging)
- fixed not working AudioFX!!
- tweaks to provide better battery life
- enabled arch capacity
- added knob to manipulate Gentle Fair Sleepers and Arch Capacity
- changed GPU initial power level
- fixed problems with temperature sensor
- introducing own Charging Control module
- minor changes
beta 1.3.1: (not released yet)
- fixed problems with battery drain (finally)
- changed toolchain to ?Linaro? 7.x
- refreshed compiler flags
- updated BFQ to v8r12
- disabled crap from compiling
- frandom is now utilized
- overall random api performance improvement
- c-state aware scheduler
- CFQ and BFQ compiled with hierarchical scheduling
- more silence
Reserved
How to tweak my kernel:
1. Charge control:
Path of all tunables is
Code:
/sys/kernel/fast_charge
You have 3 tunables as follows:
maximum_qc_current (DEFAULT: 2800) - it's very important one, its value controls QC3.0 charging current. Recently there are commons problems with screens and the assumption is that too high current causes that problem. Lowering the value would also make your battery's life longer!
force_fast_charge (DEFAULT: 0) - it's common known knob to force 900mA charging on unknown sources. I tweaked it a bit and now, if it's possible, driver will choose higher values depending on the source.
charge_limit (DEFAULT: 100) - it's very interesting one, its value controls maximum percentage of which your battery will be charged. After given limit charging will be stopped. Lowering this value could benefit in prolonged battery life as capacity wouldn't decrease that fast. Scientific researches recommend charging your battery to 80%.
3.Sound control:
You can tweak it using Kernel Adiutor.
4.Sched features:
I would like to resolve doubts connected with Arch Power. On kernel v3.18 there isn't such a feature. Cherry-picking old interface doesn't change anything in fair scheduler, the only thing you see is magic switch which does... nothing. Our kernel has feature named Arch Capacity which is *let's say* correspondent to previous one so I created two tunables - arch_capacity and arch_power. These are mirrored values so now you can enable/disable it in KA as known Arch Power but please remember that you're changing arch_capacity in fact.
My recommendation is to disable Gentle Fair Sleepers because you can save battery a bit.
You can also tweak it using Kernel Adiutor.
miui support please...
Aosp support ?
Did you add somes cpu governor ? And for you which its the best to have a better battery
Envoyé de mon MI 5 en utilisant Tapatalk
Aleluya! Not much kernel variety on our mi 5, pretty thanks I will test it early dev
cheers
Download link (I've found it, but it would be better in the description)? Governors? SOT?
Great news Sir,
I hope soon we could have good costum kernel with great stability and compability with newer rom.
I wish you could support AOSP based rom too
radnou974 said:
Did you add somes cpu governor ? And for you which its the best to have a better battery
Envoyé de mon MI 5 en utilisant Tapatalk
Click to expand...
Click to collapse
I just started Soda developing so you have to wait sometime for custom tweaks.
According to governors I think the most important thing is to configure it nicely, sth like AKT or GovTuner does. Stock interactive is good.
hans william said:
Great news Sir,
I hope soon we could have good costum kernel with great stability and compability with newer rom.
I wish you could support AOSP based rom too
Click to expand...
Click to collapse
AFAIK AOSP is based on LOS sources, it should work correctly
But some time it doesn't work properly on AOSP based rom, I used DragonXia as default kernel on every rom I flashed, but lately with latest release rom it's doesn't stable.
I hope you could made manually setting on/off the CPU core for better battery life, as hotplugging not save much battery life.
Overclocking was great too
I will test yours beta kernel right now Sir
CPU 0 and CPU 1 are stuck at 1593MHz.
Edit:
It seems like a restart solved it.
Edit2:
setting io scheduler to noop causes freeze.
abyssq said:
Edit2:
setting io scheduler to noop causes freeze.
Click to expand...
Click to collapse
On my phone everything works correctly.
Try typing in terminal/adb:
su
echo noop > /sys/block/sda/queue/scheduler
cat /sys/block/sda/queue/scheduler
If it says noop it's working...
xNombre said:
On my phone everything works correctly.
Try typing in terminal/adb:
su
echo noop > /sys/block/sda/queue/scheduler
cat /sys/block/sda/queue/scheduler
If it says noop it's working...
Click to expand...
Click to collapse
Yes it's working now. The test-iosched scheduler caused the problem.
will you add miui 9 support? miui lack of custom kernel support. thanks for dev gemini kernel.
which features does it have? quick charge? eas ?
"disabled CPU Boost" this is real great, i guess you know what i want. waitinng for a more stable realese and then give it a try
I pushed a first beta of Soda kernel. I added a few useful features, but battery usage reduction should be significant. Try it on your own
Thanks for your work! I will try and report back when possible.
Poor scores
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
List of Supported
Variants
SM-G930S/K/L/F/FD/W8
SM-G935S/K/L/F/FD/W8
ROMs
TouchWiz N base all ROMs (Stock, S8 port ROMs, Note 7/8 port ROMs)
AOSP 7.1.2 & 8.x base all ROMs (Lineage, RR, crDroid & AICP & more...)
Main Features
OSRC's latest Note-FE & S7 source code base.
Using the AnyKernel2(Flashing Tool).
Synapse support.
SELinux Permissive / Enforcing switchable (+ Fake Enforcing Mode).
Linux-stable 3.18.y upstream.
Compile with UBERTC 6.4.1 toolchain.
F2FS support (/data, /cache only).
Optimized for Exynos8890 using the Exynos-M1 flag for compile options.
Gametuner-Mod
Game Booster Mode
intelligent performance enhancement mode in conjunction with Samsung-Gametuner.
Fake KNOX.
chacha20 to random (entropy).
Linaro LSK-v3.18-Energy-Aware Scheduler (EAS) port.
EAS simplifies power and performance management through scheduler-driven tuning to manage more efficiently.
Linux-v3.18 already has EAS installed, but with the LSK-v3.18-EAS, the existing EAS has been further improved and the user can choose between tuning power efficiency and performance.
Linaro v3.18/topic/OPPv2 branch merge.
Lazytime mount options
improved storage performance and longevity.
Similar to DynamicFsync, but operates at the file system level and has no risk of data loss.
CPU/GPU UC & OC.
Limit the maximum overclock range according to the device's ASV value (device yield) to prevent excessive overclocking.
CPU/GPU/BUS voltage control.
GPU Performance Tuning.
Performance/balance/battery separated DVFS user settings.
Thunder Hotplug driver port.
HMP tuning Interface.
Detail charging circuit control allows faster charging.
Added I/O Scheduler 'bfq, fifo, fiops, row, sio, maple, tripndroid, zen'.
Enable Westwood tcp/ip congestion control (not default).
LED FADE control.
PWM Flicker free.
boeffla's generic wakelock blocker driver.
Qualcomm interactive (renamed cafactive) cpu governor porting.
Added battery-friendly 'relaxed' governors, and more.
Provides an add-on that keep kernel settings on unrooted devices.
Synapse: System Tweak add-on available.
Synapse: Provides configuration profile separated by performance/battery/stability.
Many other optimization applications.
How many users are there in this kernel and what is it with custom ROM?
* Go to User Statistics.
With this kernel, the following information is sent once to the developer's server at boot time.
variant, android serial number(not device serial), name of current firmware(ROM), country code, kernel version
* This information is Android apps can see without any special permissions.
* If you suspect other information transfer, open the '/res/synapse/actions/addon' file.
Description for AOSP ROMs
If you are using another developer's custom kernel, or if using ramdisk is corrupted kernel, you may encounter a bootloop or an unknown problem.
If you have a bootloop problem, flash the PRIME kernel after first flashing the builtin kernel in your ROM. (Or flash the ROM again)
This kernel is flashed AnyKernel method, for all kinds of AOSP ROM support.
Download
Latest Version | Older Version
Community
Telegram Group: https://t.me/primekernel
Naver Cafe (for Korean): http://cafe.naver.com/primeusers
How do I enable donation-only add-on features?
Credit (Thanks. to)
@AndreiLux - Perseus8890 kernel.
@tkkg1994 - refer to some Commits.
@arter97 - cafactive & more.
@osm0sis - AnyKernel2.
@jesec - AOSP kernel source.
@Wootever - PWM Flicker Free.
All members of the PRIME-Kernel NaverCafe.
And all of commited in sources & all of xda developers.
XDA:DevDB Information
PRIME-Kernel, Kernel for the Samsung Galaxy S7
Contributors
Hyunwoo AHN
Source Code: https://github.com/dwander/Linaro-base/tree/herolte
Kernel Special Features: Linaro-LSK-3.18-EAS Port, Gametuner-MOD, Intelli-Performance
Version Information
Status: Stable
Current Stable Version: 2.1.2
Stable Release Date: 2017-12-17
Created 2017-09-23
Last Updated 2017-12-17
How do enable donation-only add-on features?
I only receive donations from your heart.
Do not donate if you intend to unlock synapses.
If you are unable to make a donation of 5.0 USD or more due to economic reasons, please do not donate and request me to unlock Synapse. Then you can use all the functions of synapse without donation.
How to request synapse unlock
Please tell [email protected] the following:
- A matter that is difficult for you to donate(eg economically difficult countries, students without money or credit card).
- The first five letters or screenshots of the KeyCode on the Synapse's first screen.
Change Log
v2.1.2
fixed bluetooth issue in AOSP 8.1
Linux upstream to v3.18.88
v2.1.1
Linux upstream to 3.18.87
Add Android O (8.x) support
Add new commit for AOSP support
Changed AOSP build to TouchWiz base (Integrated AOSP and TW kernel source code)
Fixed WiFi-Hotspot issue for N8 porting ROM
Fixed an issue where the charge state switching notification did not work
Note-FE GPU driver (r15p0) build droped
r12p1 GPU driver is built back into the package
Minor bug fixes
v2.0.1
Reuse AutoASV
Over clock limit relaxed
Removing the State Notifier Driver & Using the FB Driver
Fixed a bug where two big cores could not be used (v2.0)
Corrected the overclock value to actually apply when boosting the big core
Synapse: Memory: Z-Swap compression algorithm selection option removed
Synapse: Labs: gms drain patch removed
v2.0.0
base: Re-based on Note-FE source code
linux: upstream to v3.18.83
f2fs: Updated latest from f2fs-stable branch
init: Fixed video playback delay issues reported by some N8 porting users
tcp: Change the TCP congestion control algorithm default to Westwood (stock: bic)
Synapse: Fixed the problem that the Intelli-Performance setting is released after rebooting
GPU: Remove unnecessary ipa update code
exynos: Separate AutoASV in 5 steps
exynos: Changed AutoASV not to participate in overclock value(only used for big Core boosting)
mm: Change Z-Swap compression algorithm default to lzo(stock value)
Synapse: Memory: Added Z-Swap compression algorithm selection option
Synapse: Add Labs tab
Synapse: Storage: Resolve compatibility issues with DualSIM models
installer-zip: Include a RAMdisk for TouchWiz for all supported models in package(no need for stock kernel flashing)
installer-zip: After the kernel flashing is complete, it automatically flashes when Magisk or SuperSU files are found.
v1.9.3
Upstream to Linux 3.18.80
Synapse->Utility: Added Android ID management function
Synapse->Advanced: Added option to switch to Enforcing mode after booting
Synapse Add-on Updated to v6.4.2
selinux, Improved fake Enforcing
Use new random driver functions
Removing Gametuner-MOD from AOSP build
Minor bug fix
v1.9.0
Supported Note 8 Porting ROMs
Backported random(entropy) driver from Linux v4.14.rc7
Updated AnyKernel2 (bug fix)
Updated mptcp(Multipath TCP) driver (0.90.0 → 0.90.3)
installer, Prevent Magisk from being deleted when merging ramdisk
Reduced screen brightness during boot
r12p0/r15p0 GPU driver to separate build, packaged in one
! Please read the 'Attention to the GPU driver' part on the first page.
v1.8.2
Linux upstream to v3.18.78
Merge G935F DQJ1 firmware sources
Merge Note-FE AQI4 firmware sources
Fix SafetyNet bypass issue.
f2fs: fix potential panic during fstrim
selinux: Apply Fake-Enforcing mode
In Enforcing mode, it actually works in Permissive mode.
Thanks to @jesec
Synapse: minor bug fix
v1.8.0
• Linux 3.18.76 upstream.
• fully merged Note-FE AQH3 firmware sources.
- There are very very many improvements(bad sammy!)
- Not applicable for AOSP binaries• Added boeffla's generic wakelock block driver. by @andip71
• Synapse > wakelock: Add generic wakelock.
• Synapse: Some English translation.
v1.7.0
• Linux 3.18.75 upstream
• Added IPA update for cafactive, ironactive, impulse governors.
• Added relaxed CPU governor
- Conservative based battery-friendly governer, with performance degradation.• ironactive, impulse governor removal.
• Synapse: Added EAS-Tune tab.
- Boost support separated by global, top-app, background, and foreground items.
v1.6.0
Linux 3.18.73 upstream.
Selinux: permissive/enforce mode switching support.
Synapse: Improved to work in Enforce mode.
Synapse: Improved the SynapseLoader add-on to work in Enforce mode.
Synapse: Added SELinux Enforce option.
- More complete SafetyNet bypass & KakaoBank compatible.Synapse: Updated addon (v6.4.0)
Install-zip: Prevent Magisk from reverting kernel init files before.
Install-zip: Added init binary hexpatch to support f2fs conversion of cache partition.
v1.5.2
aosp: Reduce the haptic feedback strength default by 50%.
synapse: misc: Added haptic feedback intensity control to AOSP.
v1.5.1
Enable cgroup_schedtune.
- EAS Schedule tuning (energy or performance) automation support options.
- CFS boost setting is removed accordingly.install-zip: Fixed some bugs in the flashing process.
v1.5.0
Linux 3.18.72 upstream.
G935F-DQIC firmware kernel source merged.
Support AOSP 7.1.2 based custom ROMs.
- Tested: LineageOS, crDroid, RRChanged to AnyKernel method.
Updating the f2fs file system on the f2fs-stable branch.
workqueue improvement.
Apply ADJ_RBTREE to LMK.
Using ARM64 logic on SHA256 / 512.
PWM Flicker Free - Thank's to [email protected]
- information: https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739Synapse - Added WakeLock control.
- Some are not supported in MTweaks, I recommend using Synapse.Synapse: Added CPU Voltage margin setting.
There are many more minor changes.
v1.4.0
EAS: Adding a missing commit.
- Fixed temperature rise problem in some high-end games.GPU: DVFS tuning.
Synapse: Correct default settings when selecting maple IO scheduler.
init: cfs_boost Adjust the default value to 0.
zip-installer: Mali-R12P0 & R15P0 Include the GPU driver in the package.
v1.3.2
Linux 3.18.71 upstream.
changed the source code base to G935FXXU1DQH8.
improved crypto.
fs: updated to the latest in the f2fs-stable branch.
f2fs: support for lazytime mounts.
fstab: support f2fs mount (/system not allowed).
ext4: fix fencepost error in lazytime optimization.
ramdisk: unified with G935FXXU1DQHY base without any 'flat/edge/kor/eur'.
v1.3.0
Disable Exynos-Swap, use ZSwap.
- ZSwap's efficiency is better.Enable zswap_writeback.
Changed the toolchain to gcc-6.4.1 (UBERTC 6.4.1).
Remove the 'perfect C-state residency' related commits.
Back to r12p0 gpu driver.
- Battery efficiency issue of r15p0.Fix synaps FC issue.
- In the case of genuine firmware, FC occurs at the first execution.Optimized & bug fixes for old scripts in synapse.
Ramdisk divided build, global model and Korean model.
- Several issues related to global models.
v1.2.0
Updated with DQH8 firmware source code.
Linux 3.18.15 ~ 70 upstream rework.
NIVIDIA CPU Relax Patch removal.
- In some games, FC or loading loop issue.XPAD Joystick driver update (from Google AOSP 3.18 kernel)
ZRAM, KSM off
- ZRAM is duplicates with VNSWAP
KSM is inefficientSynapse: English translation (90%)
Details(Korean): http://enfree.com/prime/?page=changelog&device=G930
New kernel , i'm going to test now
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
DirkStorck said:
Tried both with my S8 ROM port.
Boots very slow
When devices i booted it takes some seconds till phone freezes and than reboots!
Click to expand...
Click to collapse
Tell me the name of your custom ROM and the name of your device model.
Hyunwoo AHN said:
Tell me the name of your custom ROM and the name of your device model.
Click to expand...
Click to collapse
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
DirkStorck said:
My device is SM-G930F and I am using BatMan-Rom V1.3.0
After flashing the kernel I have flashed Magsik 13.6
Thanks
Click to expand...
Click to collapse
Sorry, can you try again with v1.3.0?
Hyunwoo AHN said:
Sorry, can you try again with v1.3.0?
Click to expand...
Click to collapse
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
DirkStorck said:
Sorry, my fault. MTweaks was still running what interfered.
Flashed v1.4 with stock GPU drivers. running fine so far but boot time is still longer than with other kernels.
Could you add a global slider to under volt CPU and GPU by a certain value?
Will try this kernel now and report back.
EDIT:
In Synapse at "Game Tuner MOD" and "Utility" tab the last few settings are not in englisch
Click to expand...
Click to collapse
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Hyunwoo AHN said:
The global slider is hard to implement, because of the UI structure of Synapse.
If you are not comfortable with the Voltage setting, you can get the desired result by returning to Synapse after setting in MTweaks. If you do not know what I mean, try it.
What if it takes a long time to boot? If it is a symptom that only takes longer in the first Bootanimation, it will not be a problem from the second since it recreates the dalvik (ART) cache for some reason.
If it takes a long time to boot each time, it may be because used the G935F ramdisk in this kernel. I tried BatmanROM, but I did not have the problem you said.
In the next version, i will separate ramdisks by variant like v1.3.0.
Korean in the Gametuner-MOD and utility tabs are donation-only functions.
I will translate English donors if they say inconveniences.
Click to expand...
Click to collapse
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
DirkStorck said:
Ok, tried that with MTweaks and noticed that it was already under volted by my previous settings.
Noticed that there is no tab to disable wakelocks. Do you plan to add this?
EDIT: for now I back to my previous kernel...sorry....
Thanks!
Click to expand...
Click to collapse
Kernel-level wakelocks work when requested by an Android system or app.
It is not desirable to force such requests to be ignored.
My Note4 kernel has a wakelock tab. However, it was added because of the deep-sleep problem in some variants of Note4.
If there is a deep sleep (wakelock) problem in our S7, I will add a wake-lock tab.
Again briefly, the wakelock control should not be abused. So, if there are no related problems, I will not add them.
update to v1.5.0
Thanks for supporting AOSP! ?
After flashing 1.5.0 I'm still at 1.4.0 :/
MK73DS said:
After flashing 1.5.0 I'm still at 1.4.0 :/
Click to expand...
Click to collapse
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Hyunwoo AHN said:
If flashing was completed and there were no errors, it is not possible.
If you rooted or unrooted the kernel after flashing, the old kernel would have been restored.
If you do not know, Flash the kernel after rooting.
Click to expand...
Click to collapse
Indeed, I rooted after flashing the kernel, thank you ^-^
you do a fantastic job with all the feature you added in your kernel(thunderplug,eas, pwm flicker free, etc...). v15 is very recommended
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Andrw0830 said:
Hey man, thanks for this kernel! I tried it on AOSP for RR which boots but I noticed that flashing this kernel, disabled the option to adjust vibrate intensity. The option in Sound is there but Settings Force Closes when clicking on it. The reason I need to adjust it, is the vibration is back to really strong vibration when touching a key. Hope this details helps. On latest Prime 1.5.0
Click to expand...
Click to collapse
issue was raised on edge thread.
https://forum.xda-developers.com/s7-edge/development/kernel-prime-kernel-v1-4-0-t3678159/page5