Fix torch
Add support for TWRP