[ROM][Kernel][Unofficial][5.1.1] SaberMod CM12.1 for Jflte - Build Nov 7, 2015

What bootloader do you use?

  • Pre-Knox

    Votes: 97 28.8%
  • Knox

    Votes: 240 71.2%

  • Total voters
    337
Search This thread

Synergy510

Senior Member
Sep 4, 2012
574
1,481
sigpic2394329_9.gif.png


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:
  1. Nandroid
  2. Flash the ROM
  3. Flash GApps
  4. Flash any add-ons you want
  5. Reboot into ROM

Upgrading from any other ROM:
  1. Nandroid
  2. Full wipe /system, /data and /cache
  3. Flash the ROM
  4. Flash GApps
  5. Flash any add-ons you want
  6. 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?
  1. Back up all your data. You will fully wipe your phone in order to convert to F2FS
  2. Download @AntaresOne's TWRP with F2FS support
  3. Boot into TWRP
  4. Go to wipe > advanced wipe
  5. Checkbox Data or Cache
  6. Press the "Repair or Change File System" button at the bottom
  7. Press "Change Filesystem"
  8. Press "F2FS"
  9. Swipe to confirm
  10. Do the same for Cache/Data
  11. Flash ROM, GApps and any other addons you want.

Downloads


Archive

Older Builds:


Older kernels:


Useful Links

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
 

Synergy510

Senior Member
Sep 4, 2012
574
1,481
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

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

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://xdaforums.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:
  • 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
 
Last edited:

Synergy510

Senior Member
Sep 4, 2012
574
1,481
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!
    1. Temporarily set the kernel to "Permissive" through ADB shell or the local terminal (Enable in Dev Options)
      • su
      • setenforce 0
    2. 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!
    1. Know how to recreate the problem
    2. Acquire software to make a logcat (ADB/CatLog on the playstore)
    3. Do a fresh boot
    4. Begin a logcat via "adb logcat"/start a Catlog
    5. Let the phone settle for a bit
    6. Create the issue
      • ex. Play a song that will FC/Go to an app that FCs
    7. Stop the logcat
    8. Send it to me over PM/Post with details on what you did

 
Last edited:

Synergy510

Senior Member
Sep 4, 2012
574
1,481
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
 

Synergy510

Senior Member
Sep 4, 2012
574
1,481
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!
 
Last edited:

ruud

Senior Member
May 20, 2005
284
24
Hello everyone, my latest build is available for download.

Build 08/14/2014:
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!

When trying i become the message: Url not found

Sent from my GT-I9505 using XDA Free mobile app
 

sevsman

Senior Member
Mar 24, 2011
777
253
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
 
  • Like
Reactions: popliuc

evansx6

Senior Member
Jun 24, 2008
119
15
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.
 
  • Like
Reactions: popliuc

Synergy510

Senior Member
Sep 4, 2012
574
1,481
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

The ROM doesn't have lockscreen notifications. But I can look into implementing it if it isn't too difficult

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.

Thank you so much. I really wanted to get the most out of the S4. It's going to last me until the S8 :p
And regarding your external SD. Did you do a full wipe or did you flash over a previous ROM? What app are you using?
 
  • Like
Reactions: Chelonee

Graivite

Senior Member
Feb 13, 2013
281
97
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.
 

Synergy510

Senior Member
Sep 4, 2012
574
1,481
Which CM Version or nightly is this Rom based off?

I'm building this off the stable branch of CM11, this should be based on the same sources as the M9 snapshot

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.

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
 

Graivite

Senior Member
Feb 13, 2013
281
97
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 :<
 
Last edited:

Cozmos23

Senior Member
Jan 16, 2014
596
224
LG G8
Thank you so much. I really wanted to get the most out of the S4. It's going to last me until the S8 :p
And regarding your external SD. Did you do a full wipe or did you flash over a previous ROM? What app are you using?

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.
 

ruud

Senior Member
May 20, 2005
284
24
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
 

Synergy510

Senior Member
Sep 4, 2012
574
1,481
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 :<

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.

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.

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
 
  • Like
Reactions: Graivite

jeancca

Senior Member
Jun 20, 2011
80
23
São Paulo
S View

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!

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:
 
  • Like
Reactions: Synergy510

Top Liked Posts

  • There are no posts matching your filters.
  • 105
    sigpic2394329_9.gif.png


    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:
    1. Nandroid
    2. Flash the ROM
    3. Flash GApps
    4. Flash any add-ons you want
    5. Reboot into ROM

    Upgrading from any other ROM:
    1. Nandroid
    2. Full wipe /system, /data and /cache
    3. Flash the ROM
    4. Flash GApps
    5. Flash any add-ons you want
    6. 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?
    1. Back up all your data. You will fully wipe your phone in order to convert to F2FS
    2. Download @AntaresOne's TWRP with F2FS support
    3. Boot into TWRP
    4. Go to wipe > advanced wipe
    5. Checkbox Data or Cache
    6. Press the "Repair or Change File System" button at the bottom
    7. Press "Change Filesystem"
    8. Press "F2FS"
    9. Swipe to confirm
    10. Do the same for Cache/Data
    11. Flash ROM, GApps and any other addons you want.

    Downloads


    Archive

    Older Builds:


    Older kernels:


    Useful Links

    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
    38
    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

    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

    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://xdaforums.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:
    • 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
    23
    Build 2/24

    Sorry for the long wait, I've been testing out some new optimizations. Many lead me to some dead ends and that doesn't really help when a build takes 8 hours to complete. Anyways, here's an updated build!


    SaberModCM12-20150224-jflte.zip

    Changelog:
    • Some new optimizations, check my github for more information
    • New Ambient Display options thanks to AOSPA and OmniRom
    • Updated F2FS kernel drivers
    • Sync with CM 2/24 - New notable features include:
    • Re-organized settings menu
    • Heads Up swipe up puts the notification back in the status bar
    • Per contact MMS ringtones and vibrations

    Still looking into optimizing some more so no need to bump the thread asking for a new build. I'll bump it with a new release when it's ready :)

    *Edit* And for the people who asked, the ROM is now hosted on AndroidFileHost, I'm sorry for all the problems with the previous site
    22
    SaberMod CM12 Build March 4, 2015

    Hey guys,

    I've been really busy in school so no new tweaks for a bit, I'm more focused on staying synced with CM. Lots of new things in CM so here's an update.

    Changelog:
    • Added more SaberMod Optimizations
    • Changed France Free Mobile APN MMS to the preffered IP address
    • Sync with CM March 4th, notable changes include the following:
    • Squashed an audio memory leak
    • Fixed capacitive button backlight settings not sticking
    • Kernel updates
    • Lefthand side quickpulldown

    SaberModCM12-20150304-jflte.zip

    Remember:
    Nandroids
    Give an explanation or logcat to any errors you find
    Thanks don't need a post, just press the thanks button :)
    18
    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