Skip to content

Commit

Permalink
Specify write-offset for bootloader msg in /misc
Browse files Browse the repository at this point in the history
HTC stores more than just a bootloader message in /misc. The bootloader
message is offset to byte 0x800 (2048), verified by choosing "factory
reset" from hboot, finding where "recovery --wipe_data" was written to
/misc and then backing up 64bytes, in accordance with struct
bootloader_message.

Requires the following commits to recovery:
 Do not wipe block misc on bootloader msg update
 I2d2fbdf067282744864a19d404ca7dc12f688a98

 Allow custom bootloader msg offset in block misc
 Id13a23dd41bb7d907b96d657b8e21eb839dfeaa9

Change-Id: I1b088f1819ae27cc48ec571047d0f851a68eb425
  • Loading branch information
mdmower committed Jul 12, 2014
1 parent 954cac0 commit 9d1960b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BoardConfig.mk
Expand Up @@ -69,3 +69,4 @@ TW_NO_SCREEN_BLANK := true
TW_BRIGHTNESS_PATH := "/sys/class/leds/lcd-backlight/brightness"
TW_HTC_LED := true
TW_NO_LEGACY_PROPS := true
BOARD_RECOVERY_BLDRMSG_OFFSET := 2048

0 comments on commit 9d1960b

Please sign in to comment.