aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-29 17:15:18 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-09-30 17:54:32 +0200
commit0ef20819b71445598e672efa15348ab997041a54 (patch)
treeae6e12823c7685287162c4ac89c1ffdeeb168475
parenta57758f8cac5a2fb86d192e9dc23cd1428df259a (diff)
downloaddevice_samsung_i9100-0ef20819b71445598e672efa15348ab997041a54.tar.gz
device_samsung_i9100-0ef20819b71445598e672efa15348ab997041a54.tar.bz2
device_samsung_i9100-0ef20819b71445598e672efa15348ab997041a54.zip
fstab: Add misc partition
In Replicant 6 we have the following in rootdir/fstab.smdk4x12 in device/samsung/i9300: /dev/block/platform/dw_mmc/by-name/OTA /misc emmc defaults defaults And without this patch, the Replicant 11 recovery complains about a missing /misc partition. Once the recovery is booted we see the following on the bottom of the screen on the GT-I9300: E:Failed to clear BCB message: failed to find /misc partition And when we select "Apply update from ADB" in the menu, we have the following on the bottom of the screen: E:Failed to clear BCB message: failed to find /misc partition E:Failed to WriteUpdateInProgress: faile d to find /misc partition Now send the package you want to apply to the device with "adb sideload <filena me>"... With this fix all these warnings disappear on the GT-I9300. And while the Replicant 6.0 fstab of the GT-I9305 doesn't have a similar entry, the GT-I9305 also has an OTA partition. The OTA/misc partition seems to be used for communicating with the recovery by writing some binary data on the first 32 bytes of it[1]: "If the device uses an unmodified AOSP recovery image, the bootloader reads the first 32 bytes on the misc partition; if the data there matches boot-recovery, the bootloader boots into the recovery image." [1]https://source.android.com/devices/bootloader/updating Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--fstab.smdk4x121
1 files changed, 1 insertions, 0 deletions
diff --git a/fstab.smdk4x12 b/fstab.smdk4x12
index ccb65ca..f5f63eb 100644
--- a/fstab.smdk4x12
+++ b/fstab.smdk4x12
@@ -19,4 +19,5 @@
# Recovery
/dev/block/platform/soc/12550000.mmc/by-name/BOOT /boot emmc defaults recoveryonly
+/dev/block/platform/soc/12550000.mmc/by-name/OTA /misc emmc defaults recoveryonly
/dev/block/platform/soc/12550000.mmc/by-name/RECOVERY /recovery emmc defaults recoveryonly