diff --git a/sample/src/main/java/io/runtime/mcumgr/sample/fragment/mcumgr/ImageUpgradeFragment.java b/sample/src/main/java/io/runtime/mcumgr/sample/fragment/mcumgr/ImageUpgradeFragment.java
index c9637a0e..ae9af77c 100644
--- a/sample/src/main/java/io/runtime/mcumgr/sample/fragment/mcumgr/ImageUpgradeFragment.java
+++ b/sample/src/main/java/io/runtime/mcumgr/sample/fragment/mcumgr/ImageUpgradeFragment.java
@@ -128,7 +128,7 @@ public View onCreateView(@NonNull final LayoutInflater inflater,
// Fill default values.
if (savedInstanceState == null) {
final SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(requireContext());
- binding.advancedEraseSettings.setChecked(preferences.getBoolean(PREF_ERASE_APP_SETTINGS, true));
+ binding.advancedEraseSettings.setChecked(preferences.getBoolean(PREF_ERASE_APP_SETTINGS, false));
binding.advancedSwapTime.setText(getString(R.string.value_int, preferences.getInt(PREF_ESTIMATED_SWAP_TIME, 10)));
binding.advancedWindowCapacity.setText(getString(R.string.value_int, preferences.getInt(PREF_WINDOW_CAPACITY, 4)));
memoryAlignment = preferences.getInt(PREF_MEMORY_ALIGNMENT, 4);
diff --git a/sample/src/main/res/layout/fragment_card_image_upgrade.xml b/sample/src/main/res/layout/fragment_card_image_upgrade.xml
index 75cec0b9..b7953606 100644
--- a/sample/src/main/res/layout/fragment_card_image_upgrade.xml
+++ b/sample/src/main/res/layout/fragment_card_image_upgrade.xml
@@ -128,7 +128,7 @@
android:id="@+id/advanced_erase_settings"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:checked="true"
+ android:checked="false"
android:text="@string/image_upgrade_erase_storage"
app:layout_constraintEnd_toStartOf="@+id/advanced_erase_settings_info"
app:layout_constraintStart_toStartOf="@+id/file_name_label"
diff --git a/sample/src/main/res/values/strings_image_upgrade.xml b/sample/src/main/res/values/strings_image_upgrade.xml
index b8f82936..c7092bfc 100644
--- a/sample/src/main/res/values/strings_image_upgrade.xml
+++ b/sample/src/main/res/values/strings_image_upgrade.xml
@@ -33,7 +33,7 @@
The value is invalid.
Help
- Enabling this feature will cause the application settings to be erased after the new firmware has been sent successfully. This is equivalent of Factory Reset.\n\nEnable when switching applications or upgrading by a major version with incompatible settings structure.\n\nEnabled by default.
+ Enabling this feature will cause the application settings to be erased after the new firmware has been sent successfully. This is equivalent of Factory Reset.\n\nEnable when switching applications or upgrading by a major version with incompatible settings structure.
A time required by a device to swap the images. When used with Test & Confirm, the app will delay reconnection given number of seconds to avoid timeouts on reconnection.\n\nBy default 10 seconds.
The number of net_bufs to allocate for mcumgr. Multiple buffers allow sending packets in parallel, without waiting for their responses, which improves the upload speed.\n\nThis is configured as MCUMGR_BUF_COUNT in KConfig in Zephyr and default equal to 4.
Enabling this will cause each packet to be truncated to fit the device\'s flash alignment. This is only relevant with pipelining, that is with Concurrent buffers count greater than 1, and is ignored otherwise.\n\nIf a device uses internal flash buffering this can be disabled.