Sorry actually I figured it out apparently I just needed to do a complete wipe of all data and reinstall the OS in recovery mode and now everything is good !
open