Open recovery TWRP is now available for the Samsung Galaxy Tab 4 and it is compatible with SM T330, T331, T335, T530, T531, T535 variants.
Download TWRP Samsung Galaxy Tab 4 [SM-T3XX|5XX], Tool / Utility for the Samsung Galaxy Tab 4
TWRP opens gates for doing all sorts of hacks such as ability to install a custom ROM from XDA and so on. You can also install custom kernels for Galaxy Tab 4 if you have a custom recovery installed.
To install it, download this file and put your Tab 4 in download mode. You can do this by pressing and holding home + volume down button together until your tablet restarts and goes into download mode. Then connect it to the computer and fire up ODIN. Browse for the downloaded file and flash it.