diff --git a/WCNSS_qcom_cfg.ini b/WCNSS_qcom_cfg.ini
index 9f945f1..3397494 100644
--- a/WCNSS_qcom_cfg.ini
+++ b/WCNSS_qcom_cfg.ini
@@ -313,7 +313,7 @@ g_enable_probereq_whitelist_ies=1
# g_probe_req_ie_bitmap_0=0x00000000 #[] (default)
# g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63]
g_probe_req_ie_bitmap_0=0x0000000B
-# g_probe_req_ie_bitmap_1=0x00000000
+g_probe_req_ie_bitmap_1=0x00040000
# g_probe_req_ie_bitmap_2=0x00000000
# g_probe_req_ie_bitmap_3=0x00000000
# g_probe_req_ie_bitmap_4=0x00000000
diff --git a/audio_platform_info_tavil.xml b/audio_platform_info_tavil.xml
index 101c821..219f7dc 100644
--- a/audio_platform_info_tavil.xml
+++ b/audio_platform_info_tavil.xml
@@ -122,18 +122,24 @@
+
+
+
+
+
+
-
-
-
+
+#include
+#include
+#include
+#include
+
+// Wipes the provisioned flag as part of data wipe.
+static bool WipeProvisionedFlag() {
+ // Must be consistent with the one in init.hardware.rc (10-byte `theme-dark`). The magic is at
+ // 0x3048 in vendor space, or (0x800 + 0x3048) since the start of /misc.
+ const std::string wipe_str(10, '\x00');
+ constexpr size_t kProvisionedFlagOffsetInVendorSpace = 0x3048;
+ if (std::string err; !WriteMiscPartitionVendorSpace(
+ wipe_str.data(), wipe_str.size(), kProvisionedFlagOffsetInVendorSpace, &err)) {
+ LOG(ERROR) << "Failed to write wipe string: " << err;
+ return false;
+ }
+ LOG(INFO) << "Provisioned flag wiped successful";
+ return true;
+}
+
+class WalleyeDevice : public Device {
+ public:
+ WalleyeDevice(ScreenRecoveryUI* ui) : Device(ui) {}
+
+ // Hook to wipe user data not stored in /data.
+ bool PostWipeData() override {
+ // Try to do everything but report a failure if anything wasn't successful.
+ bool total_success = true;
+ auto ui = GetUI();
+ ui->Print("Wiping provisioned flag...\n");
+ if (!WipeProvisionedFlag()) {
+ total_success = false;
+ }
+ return total_success;
+ }
+};
+
+Device* make_device() {
+ return new WalleyeDevice(new ScreenRecoveryUI);
+}
diff --git a/self-extractors/extract-lists.txt b/self-extractors/extract-lists.txt
index 099f866..4ec19ed 100644
--- a/self-extractors/extract-lists.txt
+++ b/self-extractors/extract-lists.txt
@@ -26,7 +26,6 @@
system/lib64/lib-imsvtextutils.so \
system/lib64/lib-imsvt.so \
system/lib64/lib-imsvtutils.so \
- system/lib64/libiperf.so \
system/lib64/librcc.so \
system/lib/com.qualcomm.qti.imsrtpservice@1.0.so \
system/lib/libdiag_system.so \
@@ -36,8 +35,6 @@
system/lib/lib-imsvtextutils.so \
system/lib/lib-imsvt.so \
system/lib/lib-imsvtutils.so \
- system/lib/libiperf.so \
system/lib/librcc.so \
- system/xbin/iperf3 \
"
;;
diff --git a/self-extractors/qcom/staging/device-partial.mk b/self-extractors/qcom/staging/device-partial.mk
index 49293f3..b0c2f16 100644
--- a/self-extractors/qcom/staging/device-partial.mk
+++ b/self-extractors/qcom/staging/device-partial.mk
@@ -35,7 +35,6 @@ PRODUCT_COPY_FILES := \
vendor/qcom/walleye/proprietary/lib64/lib-imsvtextutils.so:system/lib64/lib-imsvtextutils.so:qcom \
vendor/qcom/walleye/proprietary/lib64/lib-imsvt.so:system/lib64/lib-imsvt.so:qcom \
vendor/qcom/walleye/proprietary/lib64/lib-imsvtutils.so:system/lib64/lib-imsvtutils.so:qcom \
- vendor/qcom/walleye/proprietary/lib64/libiperf.so:system/lib64/libiperf.so:qcom \
vendor/qcom/walleye/proprietary/lib64/librcc.so:system/lib64/librcc.so:qcom \
vendor/qcom/walleye/proprietary/com.qualcomm.qti.imsrtpservice@1.0.so:system/lib/com.qualcomm.qti.imsrtpservice@1.0.so:qcom \
vendor/qcom/walleye/proprietary/libdiag_system.so:system/lib/libdiag_system.so:qcom \
@@ -45,6 +44,4 @@ PRODUCT_COPY_FILES := \
vendor/qcom/walleye/proprietary/lib-imsvtextutils.so:system/lib/lib-imsvtextutils.so:qcom \
vendor/qcom/walleye/proprietary/lib-imsvt.so:system/lib/lib-imsvt.so:qcom \
vendor/qcom/walleye/proprietary/lib-imsvtutils.so:system/lib/lib-imsvtutils.so:qcom \
- vendor/qcom/walleye/proprietary/libiperf.so:system/lib/libiperf.so:qcom \
vendor/qcom/walleye/proprietary/librcc.so:system/lib/librcc.so:qcom \
- vendor/qcom/walleye/proprietary/iperf3:system/xbin/iperf3:qcom \
diff --git a/thermal-engine.conf b/thermal-engine.conf
index ef41dad..fa98894 100755
--- a/thermal-engine.conf
+++ b/thermal-engine.conf
@@ -59,6 +59,15 @@ thresholds_clr 49000 51000 53000
actions cluster0+cluster1+gpu+report cluster0+cluster1+gpu+report cluster0+cluster1+gpu+report
action_info 1094400+1190400+414000000+1 883200+902400+342000000+1 300000+300000+257000000+1
+[MNH-MONITOR]
+algo_type monitor
+sampling 2000
+sensor back_therm
+thresholds 50000 52000
+thresholds_clr 49000 51000
+actions mnh mnh
+action_info 3 4
+
[BATTERY-MONITOR]
algo_type monitor
sampling 2000
@@ -72,8 +81,8 @@ action_info 3
algo_type monitor
sampling 1000
sensor back_therm
-thresholds 56000
-thresholds_clr 55000
+thresholds 58000
+thresholds_clr 57000
actions shutdown
action_info 1
diff --git a/thermal_info_config.json b/thermal_info_config.json
new file mode 100644
index 0000000..25f95d0
--- /dev/null
+++ b/thermal_info_config.json
@@ -0,0 +1,214 @@
+{
+ "Sensors":[
+ {
+ "Name":"tsens_tz_sensor1",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor2",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor4",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor3",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor7",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor8",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor9",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor10",
+ "Type":"CPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"tsens_tz_sensor13",
+ "Type":"GPU",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ 95.0,
+ "NAN",
+ "NAN",
+ 125.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1
+ },
+ {
+ "Name":"battery",
+ "Type":"BATTERY",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ "NAN",
+ "NAN",
+ "NAN",
+ 60.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.001
+ },
+ {
+ "Name":"usb_port_temp",
+ "Type":"USB_PORT",
+ "HotThreshold":[
+ "NAN",
+ "NAN",
+ "NAN",
+ "NAN",
+ "NAN",
+ "70.0",
+ "NAN"
+ ],
+ "HotHysteresis":[
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 0.0,
+ 5.0,
+ 0.0
+ ],
+ "VrThreshold":"NAN",
+ "Multiplier":0.1,
+ "Monitor":true
+ },
+ {
+ "Name":"back_therm",
+ "Type":"SKIN",
+ "HotThreshold":[
+ "NAN",
+ 40.0,
+ 47.0,
+ 50.0,
+ 52.0,
+ 54.0,
+ 56.0
+ ],
+ "HotHysteresis":[
+ 0.0,
+ 2.0,
+ 2.0,
+ 2.0,
+ 2.0,
+ 2.0,
+ 2.0
+ ],
+ "VrThreshold":52.0,
+ "Multiplier":1.0,
+ "Monitor":true
+ }
+ ],
+ "CoolingDevices":[
+ {
+ "Name":"thermal-cpufreq-0",
+ "Type":"CPU"
+ },
+ {
+ "Name":"thermal-cpufreq-1",
+ "Type":"CPU"
+ }
+ ]
+}
diff --git a/walleye/BoardConfig.mk b/walleye/BoardConfig.mk
index 66725e3..cd1e5c2 100644
--- a/walleye/BoardConfig.mk
+++ b/walleye/BoardConfig.mk
@@ -33,3 +33,10 @@ BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
# VTS DTBO Verification. This kernel cmdline parameter should be added by the bootloader
# for all future devices.
BOARD_KERNEL_CMDLINE += androidboot.dtbo_idx=3
+
+BOARD_EXT4_SHARE_DUP_BLOCKS := true
+
+TARGET_RECOVERY_UI_LIB := \
+ librecovery_ui_walleye \
+ libbootloader_message \
+ libfstab
diff --git a/walleye/overlay/frameworks/base/core/res/res/values/config.xml b/walleye/overlay/frameworks/base/core/res/res/values/config.xml
index 93d1a80..bae87f1 100644
--- a/walleye/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/walleye/overlay/frameworks/base/core/res/res/values/config.xml
@@ -186,6 +186,10 @@
true
+
+ 50
+
true
diff --git a/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml
index 3fac0ad..d1c664d 100644
--- a/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml
+++ b/walleye/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -169,7 +169,7 @@
- - 23.69
+ - 19
- 131.397
diff --git a/walleye/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml b/walleye/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
new file mode 100644
index 0000000..4114c28
--- /dev/null
+++ b/walleye/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
@@ -0,0 +1,22 @@
+
+
+
+
+ false
+