These are instructions on how to root Samsung Galaxy Tab 4 8.0 SM-T335 (running on android 5.1.1, built id LMY47X.T335XXU1BOL5) using Odin on Windows Computer.
Requirements: Your Samsung Galaxy Tab 4 8.0 SM-T335 should have at least 30-40 percent of battery to perform the rooting process.
Optional: You can also verify the root status of your device by using the Root Checker App.
[*] Warning: The above tutorial only works for Android 5.1.1 with the built id LMY47X.T335XXU1BOL5.
[*] If your device isn’t running on the same built id LMY47X.T335XXU1BOL5, then you may need to download and flash (install) the firmware based on the same build id. Later try to root your device from the above method.
[*] No data loss process: Your Tablet Data like contacts, pictures, videos, music and etc will be not affected with the above method. In short, no data loss process.
[*] How to Unroot: To unroot your device, Open SuperSU > Settings > Full Unroot.
[*] Samsung Stock Firmware: If you are looking for the original firmware for your device, then head over to Download Samsung Stock Firmware page.
[*] Samsung USB Driver: If you are looking for the original USB Driver for your device, then head over to Download Samsung USB Driver page.
[*] Credits: Big thanks to Chainfire for their CF Auto Root file for Samsung Galaxy Tab 4 8.0 SM-T335. Without using the CF-Auto Root file, the above tutorial was not possible.