Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
  • Ethan Yonker's avatar
    d18a821e
    Use ioctl to get block device size · d18a821e
    Ethan Yonker authored
    AMLogic based device uses paths like /dev/block/recovery and the
    stock init binary either deletes or does not create mmcblk0p12
    which breaks TWRP because TWRP cannot match up the path / name.
    The ioctl method is probably more reliable anyway and certainly
    should be faster.
    
    Change-Id: I73f981dcec637cdf5b189bdefa00ea15b924b500
    d18a821e
    Use ioctl to get block device size
    Ethan Yonker authored
    AMLogic based device uses paths like /dev/block/recovery and the
    stock init binary either deletes or does not create mmcblk0p12
    which breaks TWRP because TWRP cannot match up the path / name.
    The ioctl method is probably more reliable anyway and certainly
    should be faster.
    
    Change-Id: I73f981dcec637cdf5b189bdefa00ea15b924b500
Loading