add TWRP support and slow rom flash fix