Skip to content

Commit

Permalink
various fixes and potential fixes;)
Browse files Browse the repository at this point in the history
Change-Id: I48d2c905db32c6080f91cf21977f2d1cc6f73182

Conflicts:
	ril/telephony/java/com/android/internal/telephony/LgeW7RIL.java
	rootdir/init.w7.rc
  • Loading branch information
Highwind1991 authored and judas77 committed Aug 8, 2015
1 parent ae2a14f commit 6d748bf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 23 deletions.
2 changes: 1 addition & 1 deletion overlay/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
64 - Volume rocker
For example, a device with Home, Back and Menu keys would set this
config to 7. -->
<integer name="config_deviceHardwareKeys">65</integer>
<integer name="config_deviceHardwareKeys">71</integer>

<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
This integer should equal the sum of the corresponding value for each
Expand Down
8 changes: 4 additions & 4 deletions prebuilt/etc/mixer_paths.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
<ctl name="DEC2 Volume" value="84" />
<ctl name="DEC3 Volume" value="84" />
<ctl name="DEC4 Volume" value="84" />
<ctl name="IIR1 INP1 Volume" value="60" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP2 Volume" value="60" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP3 Volume" value="60" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP4 Volume" value="60" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP1 Volume" value="84" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP2 Volume" value="84" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP3 Volume" value="84" /> <!--LGE changed 84==>>60 -->
<ctl name="IIR1 INP4 Volume" value="84" /> <!--LGE changed 84==>>60 -->
<ctl name="COMP0 Switch" value="0" />
<ctl name="COMP1 Switch" value="0" />
<ctl name="COMP2 Switch" value="0" />
Expand Down
17 changes: 6 additions & 11 deletions rootdir/init.w7.rc
Original file line number Diff line number Diff line change
Expand Up @@ -550,13 +550,13 @@ 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/cpu0/cpufreq/scaling_governor "intelliactive"
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor "intelliactive"
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor "intelliactive"
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor "intelliactive"
write /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay 20000
write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 75
write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 1094400
write /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load 70
write /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq 600000
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
Expand Down Expand Up @@ -584,11 +584,6 @@ on property:sys.boot_completed=1
write /sys/block/mmcblk1/queue/scheduler fiops
write /sys/block/mmcblk0/queue/scheduler fiops
stop mpdecision
swapoff /dev/block/zram0 > /dev/null 2>&1
write /sys/block/zram0/reset 1
write /sys/block/zram0/disksize 251658240
mkswap /dev/block/zram0 > /dev/null 2>&1
swapon /dev/block/zram0 > /dev/null 2>&1
write /sys/kernel/power_suspend/power_suspend_mode 1
write /sys/block/mmcblk0/queue/read_ahead_kb 512
write /sys/block/mmcblk1/queue/read_ahead_kb 512
Expand Down
8 changes: 1 addition & 7 deletions system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.opengles.version=196608 \
ro.sf.lcd_density=240

# GPS
PRODUCT_PROPERTY_OVERRIDES += \
ro.gps.agps_provider=1 \
ro.qc.sdk.izat.premium_enabled=1 \
ro.qc.sdk.izat.service_mask=0x5 \
persist.gps.qc_nlp_in_use=1 \
persist.loc.nlp_name=com.qualcomm.services.location

# NITZ
PRODUCT_PROPERTY_OVERRIDES += \
Expand Down Expand Up @@ -132,6 +125,7 @@ telephony.lteOnCdmaDevice=0
ro.telephony.default_network=0
persist.lg.data.autoprof.msim=true
ro.lge.irrc.type=sw
drm.service.enabled=true

# Sensors
ro.qualcomm.sensors.qmd=false
Expand Down

0 comments on commit 6d748bf

Please sign in to comment.