Nexus 9 corrupt OS

I recently got a broken nexus 9 for free and I want to fix it! when I turn it on it says that the OS is corrupt and continues to boot loop for about 10 mins then it comes to the recovery!

Is there a way to install TWRP?

any questions, just ask!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:05crwdne2944067:0:

I turned it on after a long time and it said that encryption was unsuccessful!

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

it booted a couple of times and not i can set it up!

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

oh, google account protection is enabled!

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

its started boot looping again!!!

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

i got it to boot not i am trying to do a frp bypass!

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0