Revert "Revert "add twrp support""

This reverts commit 98ff4624941253dd520258556801782ef6cc6d27.