[Galaxy S 4 i9505 Android Development] Synergy510:
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://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:

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 [MENTION=5576897]-+BB+-[/MENTION] and the JDCTeam

Built with an updated Jemalloc repo, the memory allocator used with Bionic, thanks to [MENTION=4898097]arter97[/MENTION]

Added the Android M Preview 3 Bootanimation

Added Blue/Red/Green/Yellow Google colored LED animation during boot, all credited goes to [MENTION=5464206]AntaresOne[/MENTION] 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 [MENTION=4898097]arter97[/MENTION]

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 [MENTION=3332811]faux123[/MENTION]

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 [MENTION=3332811]faux123[/MENTION]

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 [MENTION=5899304]Tkkg1994[/MENTION]

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 [MENTION=3292224]franciscofranco[/MENTION]'s Flo and [MENTION=5899304]Tkkg1994[/MENTION]'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 [MENTION=4401403]friedrich420[/MENTION] - 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 [MENTION=5464206]AntaresOne[/MENTION]

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 [MENTION=2199706]Alucard24[/MENTION]

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 [MENTION=4899086]alucard_24[/MENTION]