Skip to content

Instantly share code, notes, and snippets.

@AndreiLux
Last active December 23, 2015 22:19
Show Gist options
  • Save AndreiLux/6702092 to your computer and use it in GitHub Desktop.
Save AndreiLux/6702092 to your computer and use it in GitHub Desktop.
{
sections:[
{
name:CPU,
elements:[
{
STitleBar:{
title:"CPUFreq scaling"
}
},
{
SSeekBar:{
title:"CPU max frequency",
description:"Set the maximum freqency the CPU scales up to.",
unit:"MHz",
step:100000,
weight:0.001,
min:100000,
max:2000000,
default:1600000,
action:"generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"
}
},
{
SSeekBar:{
title:"CPU min frequency",
description:"Set the minimum freqency the CPU scales down to.",
unit:"MHz",
step:50000,
weight:0.001,
min:100000,
max:2000000,
default:250000,
action:"generic /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq"
}
},
{
SPane:{
title:"IKS scaling"
}
},
{
SSeekBar:{
title:"A7 max frequency",
description:"Set the maximum freqency of the little cores.",
unit:"MHz",
step:50000,
weight:0.002,
min:600000,
max:750000,
default:600000,
action:"generic /sys/devices/system/cpu/cpufreq/iks-cpufreq/CA7_max_freq"
}
},
{
SPane:{
title:"CPU voltage control",
description:"Decreasing voltage will lower power consumption of the CPU. Increasing it on overclocked frequencies improves stability. Too low voltage may cause instabilities and freezes. The Exynos 5410 overvolts by 75mV in cold temperatures if the CPU is at or below 20°C"
}
},
{
STitleBar:{
title:"big cores"
}
},
{
SSeekBar:{
default:1237500,
title:"2000 MHz",
action:"cpuvolt 2000",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1237500,
title:"1900 MHz",
action:"cpuvolt 1900",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1237500,
title:"1800 MHz",
action:"cpuvolt 1800",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1187500,
title:"1700 MHz",
action:"cpuvolt 1700",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1150000,
title:"1600 MHz",
action:"cpuvolt 1600",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1125000,
title:"1500 MHz",
action:"cpuvolt 1500",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1087500,
title:"1400 MHz",
action:"cpuvolt 1400",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1050000,
title:"1300 MHz",
action:"cpuvolt 1300",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:1012500,
title:"1200 MHz",
action:"cpuvolt 1200",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:987500,
title:"1100 MHz",
action:"cpuvolt 1100",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:950000,
title:"1000 MHz",
action:"cpuvolt 1000",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:912500,
title:"900 MHz",
action:"cpuvolt 900",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
SSeekBar:{
default:900000,
title:"800 MHz",
action:"cpuvolt 800",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1362500
}
},
{
STitleBar:{
title:"LITTLE cores"
}
},
{
SSeekBar:{
default:1312500,
title:"1500 MHz",
action:"cpuvolt 750",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:1287500,
title:"1400 MHz",
action:"cpuvolt 700",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:1250000,
title:"1300 MHz",
action:"cpuvolt 650",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:1212500,
title:"1200 MHz",
action:"cpuvolt 600",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:1150000,
title:"1100 MHz",
action:"cpuvolt 550",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:1087500,
title:"1000 MHz",
action:"cpuvolt 500",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:1025000,
title:"900 MHz",
action:"cpuvolt 450",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:975000,
title:"800 MHz",
action:"cpuvolt 400",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:950000,
title:"700 MHz",
action:"cpuvolt 350",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:950000,
title:"600 MHz",
action:"cpuvolt 300",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:950000,
title:"500 MHz",
action:"cpuvolt 250",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:950000,
title:"400 MHz",
action:"cpuvolt 200",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:950000,
title:"300 MHz",
action:"cpuvolt 150",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
{
SSeekBar:{
default:950000,
title:"200 MHz",
action:"cpuvolt 100",
unit:"mV",
weight:0.001,
min:700000,
step:6250,
max:1312500
}
},
]
},
{
name:GPU,
elements:[
{
SPane:{
title:"GPU scaling settings",
description:"By editing the following configurables you can change the performance behaviour of the GPU."
}
},
{
SOptionList:{
title:"GPU max freq",
description:"Set the maximum freqency the GPU scales up to.",
default:480,
unit:"MHz",
action:"generic /sys/devices/platform/pvrsrvkm.0/sgx_dvfs_max_lock",
values:[
700,
640,
600,
532,
480,
350,
266,
177,
]
}
},
{
SPane:{
title:"GPU voltage control"
}
},
{
SSeekBar:{
title:"700 MHz",
default:1137500,
action:"gpuvolt 700",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"640 MHz",
default:1112500,
action:"gpuvolt 640",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"600 MHz",
default:1087500,
action:"gpuvolt 600",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"532 MHz",
default:1062500,
action:"gpuvolt 532",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"480 MHz",
default:1025000,
action:"gpuvolt 480",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"350 MHz",
default:925000,
action:"gpuvolt 350",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"266 MHz",
default:900000,
action:"gpuvolt 266",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
{
SSeekBar:{
title:"177 MHz",
default:900000,
action:"gpuvolt 177",
unit:"mV",
weight:0.001,
min:700000,
max:1150000,
step:6250
}
},
]
},
{
name:Screen,
elements:[
{
SCheckBox:{
description:"Enable inverting the screen colors by quickly pressing MENU button 4 times",
label:"Enable negative toggle",
action:"generic /sys/module/cypress_touchkey/parameters/mdnie_shortcut_enabled"
}
},
{
SPane:{
title:"mDNIe global controls",
description:"mobile Digital Natural Image engine control. Samsungs hardware image post-processor controls virtually any image manipulation. All control master switches, if left as delta controls, will negate the sequence setting if checked. Master sequence has SCR and CS enabled by default."
}
},
{
SCheckBox:{
description:"Register intercept acts like a hook and will enable catching scenario settings and modifying them through delta controls. If a scenario does not have a setting (register) in its base sequence, then it cannot be modified by the hook.",
label:"Enable register hook",
action:"generic /sys/class/misc/mdnie/hook_intercept"
}
},
{
SCheckBox:{
description:"Enabling the master sequence will disable and ignore Samsungs profiles and scenarios, the ROM controls will be disabled.",
label:"Enable master sequence",
action:"generic /sys/class/misc/mdnie/sequence_intercept"
}
},
{
SPane:{
title:"Smearing fix",
description:"i950X devices have an issue with the AMOLED controller in which, if individial pixels get power-gated for true black, they occur a latency delay when getting powered on again, resulting in a visible smearing effect. The following controls provide a method of applying a slight grey on the black channel to avoid this problem."
}
},
{
SSeekBar:{
title:"Greyscale addend",
max:5,
default:0,
weight:0.39,
unit:"% white",
action:"generic /sys/class/misc/mdnie/black_increase_value"
}
},
{
SPane:{
title:"Digital screen brightness",
description:"Uses mDNIe to bypass the backlight driver brightness and decrease brightness by reducing luminance on the the channel RGB values. It allows to reduce brightness beyond the stock minimum."
}
},
{
SSeekBar:{
title:"Brightness reduction",
description:"The amount of luminance to be shaved off from the colour channel components.",
max:128,
default:75,
action:"generic /sys/class/misc/mdnie/brightness_reduction"
}
},
{
SSeekBar:{
title:"Takeover point",
description:"The stock backlight driver ignores brightness values below 10 (0-255) and values below that point do not have any effect on brightness. The takeover point is the point in the brightness curve where the digital brightness reduction takes effect. The brightness reduction is weighted linearly from full configured value to zero on the range of zero brigtness to the takeover point. If the takeover point is beyond 10, then both hardware and digital brightness reduction can take place. This can help with having a less abrupt brightness curve caused by the digital reduction.",
max:64,
default:30,
action:"generic /sys/class/misc/mdnie/brightness_takeover_point"
}
},
{
SSeekBar:{
title:"Auto-brightness input delta",
description:"Positive delta to be applied on top system brightness. Used only for the digital reduction logic during stock ROM auto-brightness activation, can be used to brighten back up the reduction value by shifting the interpreted brightness value without sacrificing minimum brightness in manual mode.",
max:64,
default:20,
action:"generic /sys/class/misc/mdnie/brightness_input_delta"
}
},
{
SPane:{
title:"Digital edge enhancement control"
}
},
{
SCheckBox:{
label:"Enable edge enhancement",
action:"generic /sys/class/misc/mdnie/hook_control/s_edge_enhancement"
}
},
{
SSeekBar:{
title:"Amount",
min:-128,
max:128,
default:0,
action:"generic /sys/class/misc/mdnie/hook_control/de_positive_e"
}
},
{
SSeekBar:{
title:"Radius",
min:-128,
max:128,
default:0,
action:"generic /sys/class/misc/mdnie/hook_control/de_positive_f"
}
},
{
SSeekBar:{
title:"Threshold",
min:-128,
max:128,
default:0,
action:"generic /sys/class/misc/mdnie/hook_control/de_positive_b"
}
},
{
SPane:{
title:"Chroma saturation control",
description:"Chroma saturation works in the HSL colour space, modifying saturation will dilute the hue with white or darken with black. Variations in chroma are achieved by adding different amounts of a neutral gray of the same value as the color you want to alter."
}
},
{
SSeekBar:{
title:"Chroma saturation weight",
description:"Saturation weight/multiplier for RGB/YCM chroma gains",
min:0,
max:40,
default:9,
action:"generic /sys/class/misc/mdnie/hook_control/cs_weight"
}
},
{
SPane:{
description:"Per-channel controls"
}
},
{
SSeekBar:{
title:"Red gain",
min:0,
max:20,
default:18,
action:"generic /sys/class/misc/mdnie/hook_control/cs_red"
}
},
{
SSeekBar:{
title:"Green gain",
min:0,
max:20,
default:14,
action:"generic /sys/class/misc/mdnie/hook_control/cs_green"
}
},
{
SSeekBar:{
title:"Blue gain",
min:0,
max:20,
default:16,
action:"generic /sys/class/misc/mdnie/hook_control/cs_blue"
}
},
{
SSeekBar:{
title:"Yellow gain",
min:0,
max:20,
default:19,
action:"generic /sys/class/misc/mdnie/hook_control/cs_yellow"
}
},
{
SSeekBar:{
title:"Cyan gain",
min:0,
max:20,
default:10,
action:"generic /sys/class/misc/mdnie/hook_control/cs_cyan"
}
},
{
SSeekBar:{
title:"Magenta gain",
min:0,
max:20,
default:16,
action:"generic /sys/class/misc/mdnie/hook_control/cs_magenta"
}
},
{
SPane:{
title:"SCR filters"
}
},
{
SColourPicker:{
title:"Red",
default:"#F71100",
action:"colour scr_red"
}
},
{
SColourPicker:{
title:"Green",
default:"#40F500",
action:"colour scr_green"
}
},
{
SColourPicker:{
title:"Blue",
default:"#0000FF",
action:"colour scr_blue"
}
},
{
SColourPicker:{
title:"Yellow",
default:"#FFF108",
action:"colour scr_yellow"
}
},
{
SColourPicker:{
title:"Cyan",
default:"#2AF0FF",
action:"colour scr_cyan"
}
},
{
SColourPicker:{
title:"Magenta",
default:"#FF14FF",
action:"colour scr_magenta"
}
},
{
SColourPicker:{
title:"White",
default:"#FFF5F6",
action:"colour scr_white"
}
},
]
},
{
name:Audio,
elements:[
{
SPane:{
title:"Headphone Amplification",
description:"Headphone amplification increases volume only on headphones and headsets. The controlled input is the digital input volume for the audio DAC."
}
},
{
SSeekBar:{
description:"Headphone left channel volume",
min:80,
max:150,
unit:"dB",
weight:0.5,
offset:128,
default:128,
action:"generic /sys/class/misc/wolfson_control/headphone_left"
}
},
{
SSeekBar:{
description:"Headphone right channel volume",
min:80,
max:150,
unit:"dB",
weight:0.5,
offset:128,
default:128,
action:"generic /sys/class/misc/wolfson_control/headphone_right"
}
},
{
SCheckBox:{
description:"Enables mono output",
label:"Mono mixer",
default:0,
action:"generic /sys/class/misc/wolfson_control/switch_hp_mono"
}
},
{
SPane:{
title:"Speaker Amplification",
description:"Speaker amplification increases volume on the external speaker and earpiece. Speaker volumes are expressed as deltas to Samsung's audio profiles, so not to completely override them."
}
},
{
SSeekBar:{
description:"Main speaker volume",
min:-8,
max:16,
unit:"dB",
weight:0.5,
default:0,
action:"generic /sys/class/misc/wolfson_control/speaker_volume"
}
},
{
SSeekBar:{
description:"Earpiece volume",
min:-8,
max:16,
unit:"dB",
weight:0.5,
default:0,
action:"generic /sys/class/misc/wolfson_control/earpiece_volume"
}
},
{
SCheckBox:{
description:"Disables the main speaker when audio is outputted via headphones; all audio routed to the speaker is disabled (!!!).",
label:"Privacy mode",
default:0,
action:"generic /sys/class/misc/wolfson_control/switch_sp_privacy"
}
},
{
SPane:{
title:"Speaker tuning",
description:"Speaker tuning uses a hardware equalizer to reshape the signal depending on the frequency response of the speaker to achieve a (as much as possible) flat frequency response. It gives much better sounding speaker output."
}
},
{
SPane:{
title:"HP Equalizer settings",
description:"Controls the hardware equalizer."
}
},
{
SCheckBox:{
description:"Enable headphone equalizer for gain controls.",
label:"Enable headphone equalizer",
default:0,
action:"generic /sys/class/misc/wolfson_control/switch_eq_headphone"
}
},
{
SSeekBar:{
title:"Band 1 gain",
description:"Cutoff-frequency: 96Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_hp_gain_1"
}
},
{
SSeekBar:{
title:"Band 2 gain",
description:"Center-frequency: 273Hz, bandwidth: 551Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_hp_gain_2"
}
},
{
SSeekBar:{
title:"Band 3 gain",
description:"Center-frequency: 784Hz, bandwidth: 1560Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_hp_gain_3"
}
},
{
SSeekBar:{
title:"Band 4 gain",
description:"Center-frequency: 2206Hz, bandwidth: 4409Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_hp_gain_4"
}
},
{
SSeekBar:{
title:"Band 5 gain",
description:"Cutoff-frequency: 6340Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_hp_gain_5"
}
},
{
SPane:{
title:"SP Equalizer settings",
description:"Controls the hardware equalizer."
}
},
{
SCheckBox:{
description:"Enable speaker equalizer for gain controls.",
label:"Enable speaker equalizer",
default:0,
action:"generic /sys/class/misc/wolfson_control/switch_eq_speaker"
}
},
{
SSeekBar:{
title:"Band 1 gain",
description:"Cutoff-frequency: 160Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_sp_gain_1"
}
},
{
SSeekBar:{
title:"Band 2 gain",
description:"Center-frequency: 500Hz, bandwidth: 1050Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_sp_gain_2"
}
},
{
SSeekBar:{
title:"Band 3 gain",
description:"Center-frequency: 2800Hz, bandwidth: 2200Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_sp_gain_3"
}
},
{
SSeekBar:{
title:"Band 4 gain",
description:"Center-frequency: 7600Hz, bandwidth: 4500Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_sp_gain_4"
}
},
{
SSeekBar:{
title:"Band 5 gain",
description:"Cutoff-frequency: 20000Hz",
min:-12,
max:12,
unit:"dB",
default:0,
action:"generic /sys/class/misc/wolfson_control/eq_sp_gain_5"
}
}
]
},
{
name:Battery,
elements:[
{
SDescription:{
description:"Device charging currents are composed of input current coming into the device (Nominal 5V) and charge current fed to the battery (Battery Charge Voltage). Charger detection divides charging cable types into several categories as described below. Input current is the sum of device load and charging load. If charging current exceeds input load, then charging current is dynamically adjusted. For avoiding battery deterioration, charging currents of less than 0.7 Coloumb are advised; ex. 2600mAh (Capacity) * 0.7C = ~1820mA."
}
},
{
SButton:{
label:"Detect live charging source",
action:"charge-source"
}
},
{
SPane:{
title:"AC/Mains",
description:"AC or mains current limits applied to designated dedicated chargers and corresponding cables."
}
},
{
SSeekBar:{
title:"AC/Mains Input Current",
min:400,
max:3000,
unit:"mA",
step:50,
default:1900,
action:"generic /sys/devices/platform/sec-battery/ac_input_curr"
}
},
{
SSeekBar:{
title:"AC/Mains Charge Current",
description:"AC or mains charge current supplied to battery during charging.",
min:400,
max:3000,
unit:"mA",
step:50,
default:1900,
action:"generic /sys/devices/platform/sec-battery/ac_chrg_curr"
}
},
{
SDescription:{
description:"Input and charging current are limited to certain maximas if the screen is turned on to avoid elevated heat generation. Normal charging limits are applied when the screen is off."
}
},
{
SSeekBar:{
title:"AC/Mains Input Current (Screen-on)",
min:400,
max:3000,
unit:"mA",
step:50,
default:1200,
action:"generic /sys/devices/platform/sec-battery/siop_input_limit"
}
},
{
SSeekBar:{
title:"AC/Mains Charge Current (Screen-on)",
min:400,
max:3000,
unit:"mA",
step:50,
default:1000,
action:"generic /sys/devices/platform/sec-battery/siop_charge_limit"
}
},
{
SPane:{
title:"Standard Downstream Port",
description:"Standard Downstream Port current limits applied on plain and compliant USB data connectivity ports."
}
},
{
SSeekBar:{
title:"SDP Input Current",
min:400,
max:1500,
unit:"mA",
step:25,
default:460,
action:"generic /sys/devices/platform/sec-battery/sdp_input_curr"
}
},
{
SSeekBar:{
title:"SDP Charge Current",
min:400,
max:1500,
unit:"mA",
step:25,
default:460,
action:"generic /sys/devices/platform/sec-battery/sdp_chrg_curr"
}
},
{
SPane:{
title:"Dedicated Charging Port",
description:"Dedicated Charging Port current limits applied when detection of a standalone charger happens, or if a USB connector with shorted D+ and D- pins is attached."
}
},
{
SSeekBar:{
title:"DCP Input Current",
min:400,
max:2000,
unit:"mA",
step:50,
default:1000,
action:"generic /sys/devices/platform/sec-battery/dcp_input_curr"
}
},
{
SSeekBar:{
title:"DCP Charge Current",
min:400,
max:2000,
unit:"mA",
step:50,
default:1000,
action:"generic /sys/devices/platform/sec-battery/dcp_chrg_curr"
}
},
{
SPane:{
title:"Charging Downstream Port",
description:"Charging Downstream Port current limits applied on BCS 1.1 special charging USB data connectivity ports."
}
},
{
SSeekBar:{
title:"CDP Input Current",
min:400,
max:1500,
unit:"mA",
step:50,
default:1000,
action:"generic /sys/devices/platform/sec-battery/cdp_input_curr"
}
},
{
SSeekBar:{
title:"CDP Charge Current",
min:400,
max:1500,
unit:"mA",
step:50,
default:1000,
action:"generic /sys/devices/platform/sec-battery/cdp_chrg_curr"
}
},
{
SPane:{
title:"Accessory Charging Adapter",
description:"Accessory Charging Adapter current limits applied to various dedicated USB accessories."
}
},
{
SSeekBar:{
title:"ACA Input Current",
min:100,
max:1000,
unit:"mA",
step:25,
default:460,
action:"generic /sys/devices/platform/sec-battery/aca_input_curr"
}
},
{
SSeekBar:{
title:"ACA Charge Current",
min:100,
max:1000,
unit:"mA",
step:25,
default:460,
action:"generic /sys/devices/platform/sec-battery/aca_chrg_curr"
}
},
{
SPane:{
title:"Miscellaneous charging",
description:"Miscaenellous current limits applied to any other unidentifiable charging source."
}
},
{
SSeekBar:{
title:"Misc Input Current",
min:100,
max:2000,
unit:"mA",
step:50,
default:1700,
action:"generic /sys/devices/platform/sec-battery/misc_input_curr"
}
},
{
SSeekBar:{
title:"Misc Charge Current",
min:100,
max:2000,
unit:"mA",
step:50,
default:1600,
action:"generic /sys/devices/platform/sec-battery/misc_chrg_curr"
}
},
{
SPane:{
title:"Wireless charging",
description:"Wireless input current limit applied to the wireless charging port."
}
},
{
SSeekBar:{
title:"Wireless Input Current",
min:100,
max:1500,
unit:"mA",
step:25,
default:650,
action:"generic /sys/devices/platform/sec-battery/wpc_input_curr"
}
},
{
SSeekBar:{
title:"Wireless Charge Current",
min:100,
max:1500,
unit:"mA",
step:25,
default:750,
action:"generic /sys/devices/platform/sec-battery/wpc_chrg_curr"
}
}
]
},
{
name:LED,
elements:[
{
SPane:{
title:"Brightness",
description:"The notification LED has two brightness modes, depending on the external brightness detected by the light sensor."
}
},
{
SSeekBar:{
title:"Low light environment brightness",
min:1,
max:120,
unit:"mA",
weight:0.125,
default:5,
action:"generic /sys/class/sec/led/led_lowpower_current"
}
},
{
SSeekBar:{
title:"Bright light environment brightness",
min:1,
max:120,
unit:"mA",
weight:0.125,
default:40,
action:"generic /sys/class/sec/led/led_highpower_current"
}
},
{
SPane:{
title:"Blinking effect",
description:"Control the way the LED blinks."
}
},
{
SCheckBox:{
description:"If disabled, the controller bypasses slope generation.",
label:"Enable LED fading",
default:1,
action:"generic /sys/class/sec/led/led_fade"
}
},
{
SSeekBar:{
title:"Fade-in time period",
description:"Sets the time period of the rising slope.",
max:2000,
unit:"ms",
step:50,
default:300,
action:"generic /sys/class/sec/led/led_fade_in_time"
}
},
{
SSeekBar:{
title:"Blink retention period",
description:"Sets the time period of high retention at maximum PWM level",
max:2000,
unit:"ms",
step:50,
default:350,
action:"generic /sys/class/sec/led/led_blink_retention"
}
},
{
SSeekBar:{
title:"Fade-out time period",
description:"Sets the time period of the falling slope.",
max:2000,
unit:"ms",
step:50,
default:1300,
action:"generic /sys/class/sec/led/led_fade_out_time"
}
},
{
SPane:{
title:"Stock ROM notification",
description:"Stock ROM notification controls only apply to the native notification framework, 3rd party apps are not affected."
}
},
{
SSeekBar:{
title:"Blink delay period",
description:"Sets the time period of low retention at zero PWM level",
max:6000,
unit:"ms",
step:250,
default:3250,
action:"generic /sys/class/sec/led/led_blink_delay"
}
},
{
SSeekBar:{
title:"Red value",
max:255,
step:2,
default:0,
action:"generic /sys/class/sec/led/led_noti_r"
}
},
{
SSeekBar:{
title:"Green value",
max:255,
step:2,
default:0,
action:"generic /sys/class/sec/led/led_noti_g"
}
},
{
SSeekBar:{
title:"Blue value",
max:255,
step:2,
default:254,
action:"generic /sys/class/sec/led/led_noti_b"
}
},
{
SButton:{
label:"Apply notification",
action:"led 3"
}
},
{
SButton:{
label:"Stop notification",
action:"led 0"
}
},
]
},
{
name:I/O,
elements:[
{
SPane:{
title:"I/O schedulers",
description:"Set the active I/O elevator algorithm. The scheduler decides how to handle I/O requests and how to handle them."
}
},
{
SOptionList:{
title:"Internal storage scheduler",
default:noop,
action:"bracket-option /sys/block/mmcblk0/queue/scheduler",
values:[
noop,
deadline,
row,
cfq,
]
}
},
{
SOptionList:{
title:"SD card scheduler",
default:row,
action:"bracket-option /sys/block/mmcblk1/queue/scheduler",
values:[
noop,
deadline,
row,
cfq,
]
}
},
{
SSeekBar:{
title:"Internal storage read-ahead",
description:"The read-ahead value on the internal phone memory.",
max:2048,
min:128,
unit:"kB",
step:128,
default:256,
action:"generic /sys/block/mmcblk0/queue/read_ahead_kb"
}
},
{
SSeekBar:{
title:"SD card read-ahead",
description:"The read-ahead value on the external SD card.",
max:2048,
min:128,
unit:"kB",
step:128,
default:128,
action:"generic /sys/block/mmcblk1/queue/read_ahead_kb"
}
},
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment