• Ethan Yonker's avatar
    Mount system as read-only by default · eb32b1ff
    Ethan Yonker authored
    Mounting system as rw can prevent future OTA updates. The purpose
    of this patch set is to prevent TWRP from mounting sytem as rw on
    the first boot. Device maintainers should update their twrp.fstab
    files on these devices to include an additional line:
    /system_image emmc /dev/block/../system
    
    This line will allow TWRP to create a raw system image backup to
    ensure that the user can return to an original state for future
    OTA updates.
    
    Change-Id: I8929d85bc3a5b96cc564bc7f734b58d5612ec833
    eb32b1ff
partitions.hpp 22.5 KB