Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,779,915 Members 37,870 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] [HOW-TO] Root Samsung Galaxy Tab 2 7.0 P31XX in Linux

Tip us?
 
jrc2
Old
(Last edited by jrc2; 23rd August 2014 at 07:17 PM.) Reason: add p3100 files and modified instructions accordingly
#1  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
Default [GUIDE] [HOW-TO] Root Samsung Galaxy Tab 2 7.0 P31XX in Linux

This guide will teach you how to root the Tab 2 7.0 P3110 and P3113 running Android version 4.1+ in Linux. I tested this with 4.1.2, but it should work on anything later and possibly ICS (This has not been tested in ICS, but I don't see why it wouldn't work.)


NOTICE: I am not responsible for what happens to your tablet! Make sure you use the correct files for your tablet model. This has been successfully tested on my P3113. THIS WILL VOID YOUR WARRANTY AND IF ANYTHING GOES WRONG COULD BRICK YOUR TAB!!! Proceed at your own risk!

Prerequisites: Admin account on Linux computer and tablet charged to 80% or higher

1. Download and install Heimdall and Heimdall Frontend from http://glassechidna.com.au/heimdall/

2. Download 51-android.rules and 70-android.rules from Files to Root ***.zip at the bottom of this post. Make sure you use the correct file for your tablet model.

3. Copy the .rules files into /etc/udev/rules.d and set as executable. Reboot computer

4. Copy the ***.pit from Files to Root ***.zip at the bottom of this post to the directory of your choice. Again, make sure you use the correct file for your tablet model.

5. Download SuperSU zip and this TWRP file for P311X or this TWRP file for P3100 (click names for links.) This version of TWRP will be able to flash KitKat ROMs. Decompress the TWRP tar.md5 file to get a recovery.img file and copy the SuperSU zip to your tablet.

6. Enable USB Debugging on your tablet and reboot into download mode (power off then hold in power and volume down)

7. Open Heimdall Frontend (make sure you run as admin) and click utilities then detect device. It should say "Device Detected"

8. Go into the flash section. In pit section, select the previously downloaded p311x.pit file. DO NOT check repartition.

9. In partition files section, click "Add." Select RECOVERY from the dropdown and select the recovery.img that you decompressed from the tar.md5 file.

10. Double check everything to make sure it is correct. Check the "No Reboot" box and click "Start."

11. If everything went well, you should get to 100%. Wait 10 seconds and disconnect the tablet from the computer. Reboot into recovery by holding down power and volume up.

12. Select "Install" and navigate to the SuperSU zip file. Flash the file and then click "Wipe Cache/Dalvik." Once that is done, select "Back" and "Reboot System"

You have now rooted your Tab 2 P31XX! If you have any question or need screenshots for something, feel free to post in the thread.
If I missed anything, please let me know!
Attached Files
File Type: zip Files to Root P311X.zip - [Click for QR Code] (1.2 KB, 26 views)
File Type: zip Files_to_Root_P3100.zip - [Click for QR Code] (1.2 KB, 1 views)
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
The Following 2 Users Say Thank You to jrc2 For This Useful Post: [ Click to Expand ]
 
jrc2
Old
(Last edited by jrc2; 23rd August 2014 at 07:19 PM.) Reason: Add Credits page.
#2  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
Credits:

Glass Echidna & @Benjamin Dobell (Heimdall)
@Chainfire (SuperSU)
@Android-Andi (TWRP Recovery)
@jrc2 [me] (p311x.pit file, **-android.rules files)
@statmonkey (P3100 pit file)
AND whoever I found the tutorial from to make the android.rules file way back when...

If this thread was helpful, press the THANKS button!
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
 
jrc2
Old
(Last edited by jrc2; 23rd August 2014 at 07:18 PM.)
#3  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
Default reserved

reserved
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
 
jrc2
Old
(Last edited by jrc2; 8th August 2014 at 01:56 PM.)
#4  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
reserved
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
 
jrc2
Old
#5  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
Over 600 views and no replies or thanks?!?! Hmm, I hope that this thread is still helping people. Bump

Sent from my SGH-T989
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
The Following User Says Thank You to jrc2 For This Useful Post: [ Click to Expand ]
 
statmonkey
Old
(Last edited by statmonkey; 23rd August 2014 at 05:53 AM.)
#6  
Junior Member
Thanks Meter 4
Posts: 12
Join Date: Sep 2012
Location: Phuket
Default Error

Quote:
Originally Posted by jrc2 View Post
Over 600 views and no replies or thanks?!?! Hmm, I hope that this thread is still helping people. Bump

Sent from my SGH-T989
Thanks for this. Very well written guide and thought this would be a breeze ..... but .......

I am having an issue and not sure where to start looking. I have a GT-P3100 that I picked up in Thailand and am connecting from a Linux Debian box. Everything goes well until I try to add TWRP from Heimdall (Step 11). It starts through the process and then stops saying ERROR:Protocol Intialisation failed. Heimdall is still connected, the device seems to be fine and I can reboot into my system with no issues but obviously can't go any farther since TWRP isn't there. I am using the TWRP that you suggested for the 3100 and have used the steps you suggested for that device.
 
jrc2
Old
(Last edited by jrc2; 23rd August 2014 at 07:33 PM.)
#7  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
Quote:
Originally Posted by statmonkey View Post
Thanks for this. Very well written guide and thought this would be a breeze ..... but .......

I am having an issue and not sure where to start looking. I have a GT-P3100 that I picked up in Thailand and am connecting from a Linux Debian box. Everything goes well until I try to add TWRP from Heimdall (Step 11). It starts through the process and then stops saying ERROR:Protocol Intialisation failed. Heimdall is still connected, the device seems to be fine and I can reboot into my system with no issues but obviously can't go any farther since TWRP isn't there. I am using the TWRP that you suggested for the 3100 and have used the steps you suggested for that device.
Did you do the download pit part for the 3100? It might use a different pit file. Also, what version of heimdall and heimdall front-end are you using? Did you run the front-end as root in terminal like this:
[Code]
cd path/to/heimdall (CLICK ENTER)
sudo heimdall-frontend (CLICK ENTER)

Also, if you made a 3100 pit file, could you pm me link to download so I can post it here so other people can use it?

Sent from my SGH-T989
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
 
jrc2
Old
#8  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
I just remembered what was causing that problem for me. After you download pit in Heimdall, disconnect the tab, reboot it, restart Heimdall, and boot back into download mode. Connect the tab to your computer and click on detect device. Put the pit file you downloaded from the tab in the pit space in the flash tab. Add the recovery image and click flash. I forgot in my previous post that after clicking on download pit, you have to reboot back into download mode and restart Heimdall to make it work.

Have a good day,
jrc2

Sent from my SGH-T989
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.
The Following User Says Thank You to jrc2 For This Useful Post: [ Click to Expand ]
 
statmonkey
Old
#9  
Junior Member
Thanks Meter 4
Posts: 12
Join Date: Sep 2012
Location: Phuket
Quote:
Originally Posted by jrc2 View Post
I just remembered what was causing that problem for me. After you download pit in Heimdall, disconnect the tab, reboot it, restart Heimdall, and boot back into download mode. Connect the tab to your computer and click on detect device. Put the pit file you downloaded from the tab in the pit space in the flash tab. Add the recovery image and click flash. I forgot in my previous post that after clicking on download pit, you have to reboot back into download mode and restart Heimdall to make it work.

Have a good day,
jrc2

Sent from my SGH-T989
That makes some sense. When I was trying this before I really didn't grok on what the point was. It actually makes more sense to me that I would need to reset the environment. Anyway, will try and test this out as soon as I can. Thank you for your help and I pm'd that pit file to you.

---------- Post added at 11:02 PM ---------- Previous post was at 10:02 PM ----------

Sorry for the double post but I was a little giddy at the prospect of finally getting this done. Ran out of a dinner party to test this. Anyway, works a treat. Followed the additional notes to the letter and boom like that we are back and rooted. Many thanks!
The Following User Says Thank You to statmonkey For This Useful Post: [ Click to Expand ]
 
jrc2
Old
(Last edited by jrc2; 23rd August 2014 at 07:35 PM.)
#10  
jrc2's Avatar
Senior Member - OP
Thanks Meter 180
Posts: 705
Join Date: Nov 2013
Quote:
Originally Posted by statmonkey View Post
That makes some sense. When I was trying this before I really didn't grok on what the point was. It actually makes more sense to me that I would need to reset the environment. Anyway, will try and test this out as soon as I can. Thank you for your help and I pm'd that pit file to you.

---------- Post added at 11:02 PM ---------- Previous post was at 10:02 PM ----------

Sorry for the double post but I was a little giddy at the prospect of finally getting this done. Ran out of a dinner party to test this. Anyway, works a treat. Followed the additional notes to the letter and boom like that we are back and rooted. Many thanks!
No problem. I'm going to put the pit file you pm'd me in the OP and add you to the credits.

Edit: done! No one else will have the problem you were having since I have the pit file uploaded. Thanks again for it See, who says junior members can't contribute anything? Not I!
My Website (contains just my downloads for now)

My Phone: T-Mobile Samsung Galaxy S2 SGH-T989
My Tablets: Samsung Galaxy Tab 2 7.0 GT-P3113; HP Slate 7 2800


If I helped you, (or if I didnít and you are feeling thankful) please press the THANKS button!

If you would like to donate to me, please send me a PM.

Tags
linux, p3100, p311x, root, samsung
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes