[Nexus 5 General] vincentfarran:
UBER SaberMod 4.10 8/31

LiquidSmooth 8/10 nightly

heavy xposed user, so no ART

and the following uber_v1.2.cfg

#UberKernelConfig

##UBER.CFG v1.2.0

##MERGED WITH [MENTION=5123166]janres155[/MENTION] SCRIPTS AND EDITED BY [MENTION=5123166]janres155[/MENTION]

##Inspired by ElementalX Kernel.cfg

###BLANK VALUES ARE NOT APPLIED

# ===================================================================================

# 0. CHANGELOG

# ===================================================================================

# - Optimal and sync freq have been removed due the potential to cause errors

# on unsupported govs.

# - Rewite, including several variable name changes resulting in a version bumb.

# ===================================================================================

# 1. BOOT SETTINGS

# ===================================================================================

# 1.1 KERNEL SWITCH

# =============================================

# - Enables or disables the use of the config for kernel configuration.

# (NOTE: Turn this OFF if you want to use other methods in configuring the kernel.)

# - Options are: 1 for ON and 0 for OFF

ENABLED=1

# =============================================

# 1.2 GRACE TIME

# =============================================

# - Adds a grace time after boot before changes are applied to prevent errors

# and to not interfere during boot.

# (NOTE: If settings doesn't stick or are not applied, increase grace time to 30.)

# - Default Grace Time: 10 (seconds)

GRACE_TIME=10

# =============================================

# 1.3 WAIT TIMERS

# =============================================

# - Adds time between changing settings to prevent errors.

# - Default Wait Timers: 0.5 (seconds)

WAIT_TIMERS=0.5

# =============================================

# 1.4 FILE SYSTEM TRIM

# =============================================

# - Fstrim is used on a mounted filesystem to discard (or "trim") blocks which

# are not in use by the filesystem.

# - Trims /cache and /data partitions on boot.

# - Options are: 1 for ON and 0 for OFF

FSTRIM=1

# ===================================================================================

# 2. CPU SETTINGS

# ===================================================================================

# =============================================

# 2.1 CPU SETTINGS SWITCH

# =============================================

# - Enables or disables modification to ALL the CPU Settings.

# - Options are: 1 for ON and 0 for OFF

CPU_SWITCH=1

# =============================================

# 2.2 CPU FREQUENCY SCALING

# =============================================

# =====================================

# 2.2.1 CPU FREQUENCY SWITCH

# =====================================

# - Enables or disables modification to ALL the CPU Frequency Settings.

# - Options are: 1 for ON and 0 for OFF

CPU_FREQ_SWITCH=1

# =====================================

# CPU FREQUENCY TABLE (for REFERENCE)

# =====================================

# UC--- 96000 | 1497600

# UC--- 192000 | 1574400

# UC--- 249600 | 1728000

# 300000 | 1958400

# 422400 | 2265600

# 652800 | 2419200 ---OC

# 729600 | 2572800 ---OC

# 883200 | 2726400 ---OC

# 960000 | 2803200 ---OC

# 1036800 | 2880000 ---OC

# 1190400 | 3014400 ---OC

# 1267200 |

# =====================================

# 2.2.2 CPU MAX FREQUENCY

# =====================================

# - Sets the maximum frequency the CPU scales up to.

# - Default Maximum: 2265600

CPU_MAX=2419200

# =====================================

# 2.2.3 CPU MIN FREQUENCY

# =====================================

# - Sets the minimum frequency the CPU scales down to.

# - Default Minimum: 300000

CPU_MIN=300000

# =============================================

# 2.3 CPU GOVERNOR

# =============================================

# =====================================

# 2.3.1 CPU GOVERNOR SWITCH

# =====================================

# - Enables or disables modification to ALL the CPU Governor Settings.

# - Options are: 1 for ON and 0 for OFF

CPU_GOV_SWITCH=1

# =====================================

# 2.3.2 CPU GOVERNORS

# =====================================

# - Sets the governor to be used.

# - CPU Governor determines how the CPU behaves in reponse to changes in workload.

# - If enabled, options are:

# intellidemand | intelliactive | adaptive

# lionheart | abyssplugv2 | nightmare

# ondemandplus | badass | wheatley

# hyper | lazy | pegasusq

# danceDance | darkness | optimax

# uberdemand | conservative | interactive

# adaptive | powersave | smartmax

# smartmax_eps | userspace | ondemand

# performance

# - Default governor: ondemand

CPU_GOV=lionheart

# =============================================

# 2.4 CPU MULTICORE POWER SAVING

# =============================================

# - Try to group tasks into the least cores possible.

# - Options are:

# 0 - disable

# 1 - enable

# 2 - aggressive

CPU_MC_POWERSAVINGS=2

# ===================================================================================

# 3. CPU VOLTAGE SETTINGS

# ===================================================================================

# - Enables the increase or decrease of the CPU Voltages.

# (NOTE: Decreasing voltages will lower heat and power consumption of the CPU.

# Increasing it on overclocked frequencies improves stability.)

# WARNING: Too low voltages may cause instability and freezes.

# - Options are:

# 25 - Overvolt by 25 | -25 - Undervolt by 25

# 50 - Overvolt by 50 | -50 - Undervolt by 50

CPU_VOLT=0

# ===================================================================================

# 4. HOTPLUG SETTINGS

# ===================================================================================

# =============================================

# 4.1 MPDECISION SWITCH

# =============================================

# - Enables or disables the use of show-p1984's msm_mpdecision.

# - This is a in-kernel replacement for Qualcomm's hotplug binary.

# - Options are: 1 for ON and 0 for OFF

MPDEC_SWITCH=1

# ==========================================

# 4.1.1 MPDECISION SCREEN-OFF MAX FREQUENCY

# ==========================================

# - Sets the maximum frequency attainable when the screen is off.

# - Options are: Use the CPU FREQUENCY TABLE at section 2.1.1.

# (NOTE: Settings this to low values, such 300000, can cause distortions

# when listening to music.)

# - Default value: 1190400

MPDEC_SCROFF_MAX_FREQ=1190400

# ==========================================

# 4.1.2 MPDECISION SCREEN-OFF SINGLE CORE

# ==========================================

# - Toggle for allowing single core only mode when screen is off.

# - Options are: 1 for ON and 0 for OFF

MPDEC_SCROFF_SINGLE_CORE=1

# ==========================================

# 4.1.3 MPDECISION TOUCHBOOST

# ==========================================

# - Temporarily boost CPU frequencies when screen is touched.

# - Options are: 1 for ON and 0 for OFF

MPDEC_TOUCHBOOST=0

# ==========================================

# 4.1.4 MPDECISION MAX CPUS

# ==========================================

# - Maximum number of cores allowed to online.

# - Options are:

# 1 - One core only | 3 - Three cores only

# 2 - Two cores only | 4 - Allow all cores

MPDEC_MAX_CORE=4

# ==========================================

# 4.1.5 MPDECISION HOTPLUG CONTROL

# ==========================================

# - Controls how MPDECISION hotplug cores

# - Options are:

# 0 - Slow hotplugging of cores

# 1 - Default hotplugging of cores

# 2 - Fast hotplugging of cores

# 3 - CUSTOM, USE advanced.cfg

MPDEC_HOTPLUG=1

# ==========================================

# 4.1.6 MPDECISION UNPLUG CONTROL

# ==========================================

# - Controls how MPDECISION unplug cores

# - Options are:

# 0 - Slow unplugging of cores

# 1 - Default unplugging of cores

# 2 - Fast unplugging of cores

# 3 - CUSTOM, USE advanced.cfg

MPDEC_UNPLUG=1

# ===================================================================================

# 5. I/O SETTINGS

# ===================================================================================

# =============================================

# 5.1 I/O SCHEDULER

# =============================================

# - I/O schedulers decides how to prioritize and handle I/O requests.

# - I/O schedulers can have many purposes depending on the

# goal of the I/O scheduler, some common goals are:

# To minimize time wasted by hard disk seeks.

# To prioritize a certain processes' I/O requests.

# To give a share of the disk bandwidth to each running process.

# To guarantee that certain requests will be issued before a particular deadline.

# - Options are:

# bfq | noop

# cfq | row

# deadline | sio

# fifo | vr

# fiops | zen

# - Default I/O Scheduler: bfq

IO_SCHEDULER=bfq

# =============================================

# 5.2 I/O READ SPEED

# =============================================

# - Maximum number of kilobytes to read-ahead for the file-system

# - Default value: 1024

IO_READAHEAD=1024

# =============================================

# 5.3 I/O READ SPEED FOR SD CARD

# =============================================

# - Maximum number of kilobytes to read-ahead for the SD card

# - Default value: 1024

IO_SD_READAHEAD=1024

# ===================================================================================

# 6. GPU SETTINGS

# ===================================================================================

# =============================================

# 6.1 GPU SETTINGS SWITCH

# =============================================

# - Enables or disables modification to ALL the GPU Settings.

# - Options are: 1 for ON and 0 for OFF

GPU_SWITCH=1

# =============================================

# 6.2 GPU FREQUENCY SCALING

# =============================================

# =====================================

# GPU FREQUENCY TABLE (for REFERENCE)

# =====================================

# 650000000 -> 650 MHz ---OC

# 533333000 -> 533 MHz ---OC

# 450000000 -> 450 MHz

# 389000000 -> 389 MHz

# 320000000 -> 320 MHz

# 200000000 -> 200 MHz

# 100000000 -> 100 MHz

# =====================================

# 6.2.1 GPU MAX FREQUENCY

# =====================================

# - Sets the maximum frequency the GPU scales up to.

# - Default Maximum: 450000000

GPU_MAX=450000000

# =====================================

# 6.2.2 GPU MIN FREQUENCY

# =====================================

# - Sets the minimum frequency the GPU scales down to.

# - Default Minimum: 200000000

GPU_MIN=200000000

# =============================================

# 6.3 GPU GOVERNOR

# =============================================

# =====================================

# 6.3.1 GPU GOVERNORS

# =====================================

# - Enables or disables the GPU Performance Governor.

# (WARNING: Only use this governor for benchmarking purposes.)

# - Options are: 1 for ON and 0 for OFF

GPU_PERFORMANCE=0

# =====================================

# 6.3.2 GPU UP THRESHOLD

# =====================================

# - Adjusts the threshold to ramp up GPU frequencies.

# - Default GPU up threshold: 50

GPU_UP=50

# =====================================

# 6.3.3 GPU DOWN THRESHOLD

# =====================================

# - Adjusts the threshold to ramp down GPU frequencies.

# - Default GPU down threshold: 25

GPU_DOWN=25

# ===================================================================================

# 7. GAMMA SETTINGS

# ===================================================================================

# =============================================

# 7.1 GAMMA PRESET

# =============================================

# - Enables or disables Chet's gamma profile.

# - Options are: 1 for ON and 0 for STOCK

GAMMA_PRESET=1

# =============================================

# 7.2 BACKLIGHT DIMMER

# =============================================

# =====================================

# 7.2.1 BACKLIGHT DIMMER SWITCH

# =====================================

# - Allows you to adjust the LCD screen brightness lower than is possible

# with stock.

# - Options are: 1 for ON and 0 for OFF

BDM_SWITCH=1

# =====================================

# 7.2.2 MINIMUM BRIGHTNESS

# =====================================

# - Sets Minimum Backlight: Range 1 - 100

# - Default value: 5

BDM_MIN=5

# ===================================================================================

# 8. SOUND SETTINGS

# ===================================================================================

# =============================================

# 8.1 SOUND ENGINE

# =============================================

# - Specify which sound engine is included with the kernel.

# NOTE 1: UberKernel specifies which sound engine is included in the kernel.

# NOTE 2: FAUX AND FRANCO WILL ONLY WORK WITH THE RIGHT KERNEL

# - Options are:

# franco | faux | stock

SOUND_ENGINE=faux

# =============================================

# 8.2 FRANCO SOUND SETTINGS

# =============================================

# =====================================

# 8.2.1 FRANCO MIC INPUT LEVEL

# =====================================

# - Controls the mic input levels

FRANCO_MIC=1

# =====================================

# 8.2.2 FRANCO CALL OUTPUT LEVEL

# =====================================

# - Controls the call output levels

FRANCO_CALL=2

# =====================================

# 8.2.3 FRANCO SPEAKER OUTPUT LEVEL

# =====================================

# - Controls the loud speaker output levels

FRANCO_SPEAKER=2

# =====================================

# 8.2.4 FRANCO HEADPHONE OUTPUT LEVEL

# =====================================

# - Controls the Headphones output levels

FRANCO_VOLUME=1

# =============================================

# 8.3 FAUX SOUND SETTINGS

# =============================================

# =====================================

# 8.3.1 FAUX MIC INPUT LEVEL

# =====================================

# - Controls the mic input levels

# - Default value: 0

FAUX_MIC=0

# =====================================

# 8.3.2 FAUX MIC INPUT LEVEL FOR CAM

# =====================================

# - Controls the camera mic input levels

# - Default value: 1

FAUX_CAM=1

# =====================================

# 8.3.3 FAUX SPEAKER OUTPUT LEVEL

# =====================================

# - Controls the loud speaker output levels

# - Default value: 254

FAUX_SPEAKER=254

# =====================================

# 8.3.4 FAUX HEADPHONE OUTPUT LEVEL

# =====================================

# - Controls the Headphones output levels

# - Default value: 254

FAUX_HEAD=254

# =====================================

# 8.3.5 FAUX POWER AMP LEVEL

# =====================================

# - Controls the Headphones output levels (Lower = LOUDER)

# - Default value: 33

FAUX_POW=33

# =====================================

# 8.3.6 FAUX LOCK

# =====================================

# - Prevents system from resetting to stock if it freaks out

# - Default value: 1

FAUX_LOCK=1

# ===================================================================================

# 9. MEMORY SETTINGS

# ===================================================================================

# =============================================

# 9.1 ZRAM SETTINGS

# =============================================

# =====================================

# 9.1.1 ZRAM SWITCH

# =====================================

# - Compresses ram to speed up read and write speeds when

# a device doesn't have enough ram of its own. (Can slow

# down devices with a lot of ram)

# - Options are: 1 for ON and 0 for OFF

ZRAM_SWITCH=1

# =====================================

# 9.1.2 ZRAM COMPRESSION

# =====================================

# - ZRAM compression algorithm to be used. LZ4 is currently the fastest.

# - Options are: lz4 | lzo

ZRAM_COMPRESSION=lz4

# =====================================

# 9.1.3 ZRAM DISK SIZE (MB)

# =====================================

# - Size of your virtual compressed memory drive.

# - Options are: 256 | 512 | 1024

ZRAM_DISKSIZE=512

# =============================================

# 9.2 VIRTUAL MACHINE SETTINGS

# =============================================

# =====================================

# 9.2.1 SWAPPINESS

# =====================================

# - This control is used to define how aggressive the kernel will swap

# memory pages. Higher values will increase agressiveness, lower values

# decrease the amount of swap. A value of 0 instructs the kernel not to

# initiate swap until the amount of free and file-backed pages is less

# than the high water mark in a zone.

# (NOTE:This also affect how aggressive ZRAM will work.)

# - Swappiness range: 1 - 100

# - Default swappiness: 60

SWAPPINESS=10

# =====================================

# 9.2.2 DIRTY RATIO

# =====================================

# - Contains, as a percentage of total available memory that contains free

# pages and reclaimable pages, the number of pages at which a process which

# is generating disk writes will itself start writing out dirty data. The

# total available memory is not equal to total system memory.

# - Default dirty ratio: 20

DIRTY_RATIO=20

# =====================================

# 9.2.3 DIRTY BACKGROUND RATIO

# =====================================

# - Contains, as a percentage of total available memory that contains free pages

# and reclaimable pages, the number of pages at which the background kernel

# flusher threads will start writing out dirty data. The total avaiable memory

# is not equal to total system memory.

# - Default dirty background ratio: 5

DIRTY_BACKGROUND_RATIO=40

# =====================================

# 9.2.4 DROP CACHES

# =====================================

# - Dropping caches will force rebuild of file system cache based on actual

# app usage rather than boot/startup processes.

# - Use value of 3 for best file system read/write performance or you can

# try something in between.

# - The drop_caches command valid values are:

# 0 - default

# 1 - free pagecache

# 2 - free dentries, inodes

# 3 - free pagecache, dentries, inodes

DROP_CACHES=3

# =====================================

# 9.2.5 FS WRITEBACK DELAY MODE

# =====================================

# - This command delays auto fs writebacks or file system bits cached in

# RAM while Screen is ON. Enable this feature for better performance.

# - Note this adds a slight risk of possible data loss if you phone crashes

# while screen is on.

# - Options are: 1 for ON and 0 for OFF

FS_DELAY=1

# =============================================

# 9.3 KERNEL SAMEPAGE MERGING

# =============================================

# - KSM decreases memory usage by sharing identical memory pages amongst different

# processes.

# - Options are: 1 for ON and 0 for OFF

KSM=1

# ===================================================================================

# 10. WAKE SETTINGS

# ===================================================================================

# =============================================

# 10.1 WAKE CONTROL SWITCH

# =============================================

# - Enables or Disables Modifying the Wake Control Settings.

# - Options are: 1 for ON and 0 for OFF

WAKE_CONTROLS=1

# =============================================

# 10.2 DOUBLE TAP TO WAKE

# =============================================

# - Double Tap on the screen to wake up the device.

# - Options are:

# 0 - Disable

# 1 - BOTTOM half of screen

# 2 - FULL screen

DT2W=0

# =============================================

# 10.3 SWEEP TO WAKE/SLEEP

# =============================================

# - Swipe across the nav bar to sleep/wake

# - Options are:

# 0 - Disable

# 1 - Sweep To Wake and Sweep to Sleep

# 2 - Sweep To Sleep Only

S2WS=0

# =============================================

# 10.4 POWER KEY SUSPEND

# =============================================

# - To stop wake controls when screen is turned off by power key

# - Options are: 1 for ON and 0 for OFF

PWRKEY=0

# =============================================

# 10.5 WAKE TIMEOUT

# =============================================

# - Stop wake controls after screen is left off for some time.

# - Options are: time (in seconds)

TIMEOUT=0

# ===================================================================================

# 11. MISCELLANEOUS SETTINGS

# ===================================================================================

# =============================================

# 11.1 TCP CONGESTION CONTROL

# =============================================

# - Sets the algorithm of internet congestion avoidance, to

# possibly improve speeds and load times.

# - Options are:

# - bic | cubic | highspeed | htcp | hybla | illinois | lp

# - reno | scalable | vegas | veno | yeah | westwood

TCP=veno

# =============================================

# 11.2 DYNAMIC FSYNC

# =============================================

# - If enabled, this will defer the sync operations of the filesystem while screen

# is on, which can improve the device performace. When the screen is off, a flush is

# called to synchronize all outstanding writes keeping your data safe.

# - Read more from here: http://xdaforums.com/galaxy-s3/orig-development/thread-closed-t1949904/post33731930

# - Options are: 1 for ON and 0 for OFF

DYNAMIC_FSYNC=1

# =============================================

# 11.3 POWER SUSPEND

# =============================================

# - Power suspend is a new Kernel Power Management Driver which replaces the

# deprecated Early Suspend PM driver for older Android/Kernel combinations.

# - It has several modes. Userspace mode allows user to control power suspend

# on/off manually. All other modes, the power suspend is controlled by kernel

# automatically.

# - Recommended On for better battery savings while screen is off.

# - Options are:

# 0 - AUTOSLEEP | 2 - LCD_PANEL

# 1 - USERSPACE | 3 - HYBRID

POWER_SUSPEND=1

# =============================================

# 11.4 VIBRATION INTENSITY

# =============================================

# - Adjusts the vibration intensity

# - Default vibration intensity: 63

VIB=100

# =============================================

# 11.5 USB FAST CHARGE

# =============================================

# =====================================

# 11.5.1 FAST CHARGE SWITCH

# =====================================

# - If enabled, device will charge faster when connected through USB.

# NOTE: Enabling this will disable access to phone storage via USB.

# - Options are:

# 0 - OFF

# 1 - ON

# 2 - CUSTOM (set FC_LEVEL below)

FAST_CHARGE=2

# =====================================

# 11.5.2 FAST CHARGE LEVEL

# =====================================

# - Fast charge voltage configuration.

# - WARNING: Incorrect use of voltage can damage your phone or USB ports

# - Options are (in mA):

# 500 | 900 | 1200 | 1500 | 2000

# - Recommended voltage configuration:

# 500 as MAX for USB 2.0

# 900 as MAX for USB 3.0

# 1500 as MAX for Wall Charger

FC_LEVEL=1500

# =============================================

# 11.6 BATTERY LIFE EXTENDER

# =============================================

# - It is used to set a limit for the capacity to which the battery will be charged,

# preventing the battery to wear out fast.

# - Currently not working correctly from what I've heard for this device.

# - Default Value: 97

BLX=100

# ===================================================================================

# 12. MODULES

# ===================================================================================

# =============================================

# 12.1 FRANDOM

# =============================================

# - Frandom is a Linux kernel random number generator, which is 10-50 times

# faster than what you get from Linux' built-in /dev/urandom. And it uses very

# little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so

# it is very useful for applications that require a handy source for lots of

# random data. Read more @ http://billauer.co.il/frandom.html

# - Options are: 1 for ON and 0 for OFF

FRANDOM=1

# =============================================

# 12.2 EXFAT

# =============================================

# - This module is used to read/access mass storages that are formatted in ExFAT

# - Options are: 1 for ON and 0 for OFF

EXFAT=0