• Tao Bao's avatar
    recovery: Add support to brick a device. · b0838186
    Tao Bao authored
    When recovery starts with --brick, it tries to brick the device by
    securely wiping all the partitions as listed in /etc/recovery.brick.
    
    This is designed to support bricking lost devices.
    
    Bug: 27253717
    Change-Id: Ib0bd4f0a3bdaca4febc91fce6b682e3ec74354e2
    (cherry picked from commit 862a4c11)
    b0838186
recovery.cpp 57.5 KB