Modifications for twrp

Change-Id: I27f1cfdd1b67a378551abebc2252989302f34fc4