How to Root Samsung Galaxy Tab 2 10.1 Running XXBLK4 Android 4.0.4 Firmware
Samsung Galaxy Tab 2 10.1

Samsung Galaxy Tab 10.1 (P5100) users who have updated to the latest Android 4.0.4 (Ice Cream Sandwich) (ICS)) firmware (XXBLK4) can now root the device as well. Users need to flash the CF-Auto-Root package in order to obtain root access for the Galaxy Tab 2 10.1. IBTimes UK warns its readers it will not be held responsible for any damage to the device during installation. We also warn readers the Galaxy Tab 10.1 (P5100) loses warranty once it has been rooted.

Pre-Requisites 

    • Enable USB debugging option
    • Install appropriate USB drivers on the PC
    • Ensure 80 percent battery charge

Files Required   

CF-Auto-Root

Odin 3.07

To Root Galaxy Tab 2 10.1 (P5100) Running XXBLK4 firmware

    • Download and extract contents of CF-Auto-Root and Odin .zip files
    • Switch the device off and re-start in Download mode (to do so, press and hold Volume Down while pressing Power. On the subsequent warning screen, press Volume Down to proceed into Download mode
    • Open Odin and connect the device to the PC (a successful connection is indicated with a message - Added - and the COM port displaying a number against a yellow background)
    • Click PDA and choose theCF-Auto-Root-espresso10rf-espresso10rfxx-gtp5100.tar.md5file
    • In Odin, ensure Auto Reboot and F.Reset Time checkboxes are selected
    • Click Start to begin the flashing process
    • Once the flashing completes, a Pass message will be seen. The device will now reboot
    • Unplug the USB cable to disconnect the device from PC

The Samsung Galaxy Tab 2 10.1, running XXBLK4 Android 4.0.4 firmware, should now be rooted.

[Source: Android Jinn]