I want to root my Android 12 device . Samsung Galaxy Tab 7

Why? What do you think it'll get you?

Check out the XDA Developers Forum for that kind of stuff. Thats more of their game.
 
Welcome to Android Central! I moved this from the Android 12 forum to the Tab S7 forum for more specific traffic.