Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
Change-Id: I78385b292921c1194baa8a4a2156961fc44c2adb
  • Loading branch information
Highwind1991 authored and judas77 committed Aug 8, 2015
1 parent 4d33eaa commit 8097400
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
28 changes: 21 additions & 7 deletions overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@
autodetected from the Configuration. -->
<bool name="config_showNavigationBar">false</bool>

<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">5</integer>

<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>40</item>
Expand Down Expand Up @@ -301,11 +298,10 @@


<!-- MMS user agent string -->
<string name="config_mms_user_agent" translatable="false">Nexus5</string>

<!-- MMS user agent prolfile url -->
<string name="config_mms_user_agent_profile_url" translatable="false">http://gsm.lge.com/html/gsm/Nexus5-M3.xml</string>
<string name="config_mms_user_agent" translatable="false">Nexus4</string>

<!-- MMS user agent prolfile url -->
<string name="config_mms_user_agent_profile_url" translatable="false">http://gsm.lge.com/html/gsm/20130914.xml</string>

<!-- Screen brightness when dozing -->
<integer name="config_screenBrightnessDoze">17</integer>
Expand All @@ -320,5 +316,23 @@
<bool name="config_doze_enabled_by_default">false</bool>
<bool name="config_dozeAfterScreenOff">true</bool>

<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">1</integer>

<!-- Minimum screen brightness allowed by the power manager. -->
<integer name="config_screenBrightnessDim">1</integer>

<!-- Default screen brightness setting.
Must be in the range specified by minimum and maximum. -->
<integer name="config_screenBrightnessSettingDefault">80</integer>

<!-- Indicate whether to allow the device to suspend when the screen is off
due to the proximity sensor. This resource should only be set to true
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
Otherwise, the device may fail to wake out of suspend reliably.
The default is false. -->
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>


</resources>
17 changes: 1 addition & 16 deletions rootdir/init.w7.rc
Original file line number Diff line number Diff line change
Expand Up @@ -544,21 +544,6 @@ on property:sys.boot_completed=1
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu2/online 1
write /sys/devices/system/cpu/cpu3/online 1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay 20000
write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 90
write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1094400
write /sys/devices/system/cpu/cpufreq/interactive/io_is_busy 1
write /sys/devices/system/cpu/cpufreq/interactive/target_loads 90
write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 40000
write /sys/devices/system/cpu/cpufreq/interactive/sampling_down_factor 100000
write /sys/module/cpu_boost/parameters/boost_ms 20
write /sys/module/cpu_boost/parameters/sync_threshold 998000
write /sys/module/cpu_boost/parameters/input_boost_freq 1094400
write /sys/module/cpu_boost/parameters/input_boost_ms 40
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 300000
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 300000
Expand Down Expand Up @@ -588,7 +573,7 @@ on property:ro.bootmode=chargerlogo
write /sys/devices/system/cpu/cpu1/online 0
write /sys/devices/system/cpu/cpu2/online 0
write /sys/devices/system/cpu/cpu3/online 0
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "interactive"
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "intellidemand"
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Expand Down

0 comments on commit 8097400

Please sign in to comment.