commit | d18a821e009a4e31208541d4c96cd54bd7f313ba | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Mon Dec 14 10:17:00 2015 -0600 |
committer | Ethan Yonker <dees_troy@teamw.in> | Sat Dec 19 08:38:12 2015 -0600 |
tree | 128af8505d486e3176d8f603ad4f6c95aa61bcaa | |
parent | 74db157b9406594a549a70415668dd6cbe17d1d3 [diff] |
Use ioctl to get block device size 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
Team Win Recovery Project (TWRP)
You can find a compiling guide here.