diff --git a/audio/oriole/config/audio_policy_configuration.xml b/audio/oriole/config/audio_policy_configuration.xml index 1e71bf3..b7ee8a8 100644 --- a/audio/oriole/config/audio_policy_configuration.xml +++ b/audio/oriole/config/audio_policy_configuration.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -117,6 +143,9 @@ + + + @@ -130,6 +159,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml index 688fc50..19794e1 100644 --- a/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/oriole/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -102,6 +128,9 @@ + + + @@ -115,6 +144,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml index cd4945b..0c36d06 100644 --- a/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/oriole/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -102,6 +128,9 @@ + + + @@ -115,6 +144,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/oriole/config/mixer_paths.xml b/audio/oriole/config/mixer_paths.xml index 11fe950..696b1da 100644 --- a/audio/oriole/config/mixer_paths.xml +++ b/audio/oriole/config/mixer_paths.xml @@ -232,6 +232,10 @@ + + + + @@ -558,6 +562,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + > @@ -605,8 +637,8 @@ - - + + @@ -615,7 +647,7 @@ - + @@ -656,8 +688,8 @@ - - + + diff --git a/audio/raven/config/audio_policy_configuration.xml b/audio/raven/config/audio_policy_configuration.xml index 1e71bf3..b7ee8a8 100644 --- a/audio/raven/config/audio_policy_configuration.xml +++ b/audio/raven/config/audio_policy_configuration.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -117,6 +143,9 @@ + + + @@ -130,6 +159,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml index 688fc50..19794e1 100644 --- a/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/raven/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -102,6 +128,9 @@ + + + @@ -115,6 +144,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml index cd4945b..0c36d06 100644 --- a/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/raven/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -102,6 +128,9 @@ + + + @@ -115,6 +144,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/raven/config/mixer_paths.xml b/audio/raven/config/mixer_paths.xml index 11fe950..696b1da 100644 --- a/audio/raven/config/mixer_paths.xml +++ b/audio/raven/config/mixer_paths.xml @@ -232,6 +232,10 @@ + + + + @@ -558,6 +562,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + > @@ -605,8 +637,8 @@ - - + + @@ -615,7 +647,7 @@ - + @@ -656,8 +688,8 @@ - - + + diff --git a/audio/slider/config/audio_policy_configuration.xml b/audio/slider/config/audio_policy_configuration.xml index 1e71bf3..b7ee8a8 100644 --- a/audio/slider/config/audio_policy_configuration.xml +++ b/audio/slider/config/audio_policy_configuration.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -117,6 +143,9 @@ + + + @@ -130,6 +159,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml index 688fc50..19794e1 100644 --- a/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/slider/config/audio_policy_configuration_a2dp_offload_disabled.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -102,6 +128,9 @@ + + + @@ -115,6 +144,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml index cd4945b..0c36d06 100644 --- a/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/slider/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -55,6 +57,17 @@ + + + + + + + + + + + + @@ -90,6 +113,9 @@ + + + @@ -102,6 +128,9 @@ + + + @@ -115,6 +144,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/slider/config/mixer_paths.xml b/audio/slider/config/mixer_paths.xml index d758204..ed7c2fe 100644 --- a/audio/slider/config/mixer_paths.xml +++ b/audio/slider/config/mixer_paths.xml @@ -196,6 +196,10 @@ + + + + @@ -521,6 +525,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + > diff --git a/audio/whitefin/config/audio_policy_configuration.xml b/audio/whitefin/config/audio_policy_configuration.xml index 6da94d2..31f5c57 100644 --- a/audio/whitefin/config/audio_policy_configuration.xml +++ b/audio/whitefin/config/audio_policy_configuration.xml @@ -56,12 +56,12 @@ flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC"> + channelMasks="AUDIO_CHANNEL_OUT_STEREO" /> + channelMasks="AUDIO_CHANNEL_OUT_STEREO" /> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -50,6 +52,17 @@ + + + + + + + + + + + + @@ -85,6 +108,9 @@ + + + @@ -97,6 +123,9 @@ + + + @@ -110,6 +139,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml b/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml index 7614235..d4955f4 100644 --- a/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml +++ b/audio/whitefin/config/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -11,7 +11,7 @@ limitations under the License. --> - + @@ -20,6 +20,8 @@ Speaker Safe Earpiece Built-In Mic + Telephony Tx + Voice Call And Telephony Rx Speaker @@ -50,6 +52,17 @@ + + + + + + + + + + + + @@ -85,6 +108,9 @@ + + + @@ -97,6 +123,9 @@ + + + @@ -110,6 +139,8 @@ sources="Built-In Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/> + + + diff --git a/audio/whitefin/config/mixer_paths.xml b/audio/whitefin/config/mixer_paths.xml index ea557c9..ee676eb 100644 --- a/audio/whitefin/config/mixer_paths.xml +++ b/audio/whitefin/config/mixer_paths.xml @@ -605,6 +605,9 @@ + + + @@ -634,25 +637,21 @@ - - + + - - + - - - @@ -663,9 +662,6 @@ - - - @@ -676,9 +672,6 @@ - - - @@ -690,9 +683,6 @@ - - - @@ -703,9 +693,6 @@ - - - @@ -716,7 +703,6 @@ - @@ -727,8 +713,6 @@ - - @@ -739,9 +723,6 @@ - - - diff --git a/conf/init.raven.rc b/conf/init.raven.rc index 2c5db8d..6336a93 100644 --- a/conf/init.raven.rc +++ b/conf/init.raven.rc @@ -28,6 +28,9 @@ on fs chown system system /dev/goodix_fp exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g6.app + # Face + exec_background /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app + on property:mfgapi.touchpanel.permission=1 chmod 0600 /sys/devices/virtual/sec/tsp/cmd chown system system /sys/devices/virtual/sec/tsp/cmd diff --git a/media_profiles_oriole.xml b/media_profiles_oriole.xml index aff6517..a396302 100644 --- a/media_profiles_oriole.xml +++ b/media_profiles_oriole.xml @@ -408,20 +408,6 @@ channels="1" /> - - - @@ -539,20 +525,6 @@ channels="1" /> - - - diff --git a/media_profiles_raven.xml b/media_profiles_raven.xml index 909db37..dd0b2e9 100644 --- a/media_profiles_raven.xml +++ b/media_profiles_raven.xml @@ -408,20 +408,6 @@ channels="1" /> - - - @@ -539,20 +525,6 @@ channels="1" /> - - - diff --git a/thermal_info_config_slider.json b/thermal_info_config_slider.json index 02201e6..b4c90a0 100644 --- a/thermal_info_config_slider.json +++ b/thermal_info_config_slider.json @@ -107,16 +107,16 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "TriggerSensor": "vdroop1", + "TriggerSensor": "smpl_gm", "Combination":[ "battery", "battery_cycle", - "vdroop1" + "smpl_gm" ], "Coefficient":[ "-10000", "400", - "1200" + "1400" ], "HotThreshold":[ "NAN", @@ -148,38 +148,6 @@ "Multiplier":1, "Monitor":false }, - { - "Name":"vdroop1", - "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1200, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", - "Multiplier":1, - "Monitor":true - }, - { - "Name":"vdroop2", - "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1200, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", - "Multiplier":1, - "Monitor":true - }, { "Name":"smpl_gm", "Type":"BCL_VOLTAGE", diff --git a/thermal_info_config_whitefin.json b/thermal_info_config_whitefin.json index 02201e6..b4c90a0 100644 --- a/thermal_info_config_whitefin.json +++ b/thermal_info_config_whitefin.json @@ -107,16 +107,16 @@ "Type":"UNKNOWN", "VirtualSensor":true, "Formula":"COUNT_THRESHOLD", - "TriggerSensor": "vdroop1", + "TriggerSensor": "smpl_gm", "Combination":[ "battery", "battery_cycle", - "vdroop1" + "smpl_gm" ], "Coefficient":[ "-10000", "400", - "1200" + "1400" ], "HotThreshold":[ "NAN", @@ -148,38 +148,6 @@ "Multiplier":1, "Monitor":false }, - { - "Name":"vdroop1", - "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1200, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", - "Multiplier":1, - "Monitor":true - }, - { - "Name":"vdroop2", - "Type":"BCL_VOLTAGE", - "HotThreshold":[ - "NAN", - "NAN", - "NAN", - "NAN", - 1200, - "NAN", - "NAN" - ], - "VrThreshold":"NAN", - "Multiplier":1, - "Monitor":true - }, { "Name":"smpl_gm", "Type":"BCL_VOLTAGE",