Added support for multirom and TWRP.