[Galaxy Tab 2 General] MultipleMonomials:
WARNING: Using sections A, B or E will increase your flash counter and thus void your warranty.

NOTE: This device is almost unbrickable so long as you don't mess around with bootloaders, so if something goes wrong post in the Q&A section and we'll help you fix it.

MODEL NUMBER KEY:before you use this guide, you must find your model number.

First digit: 5 for tab 10.1, 3 for tab 7.0

Final three digits: 100 for 3g, 110 for wifi international, 113 for wifi American

SECTIONS:

A. Root stock ICS or JB

B. Install a JB-based ROM

C. Install a ICS-based ROM

D. Install a kernel

E. Restore to stock

F. Flash a file with Mobile ODIN

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

A. Root stock ICS or JB

This should root any gtab2 10.1 or 7.0 model running ICS or JB. It will not wipe any data.

1. Download and install if you don't already have them:

SAMSUNG KIES

Odin v1.83

2. Download the correct ClockworkMod Recovery (CWM) for your device according to model number:

CWM6 for p5100

CWM6 for p5110

CWM6 for p5113

CWM6 for p3100

CWM6 for p3110 and p3113

3. Put the SuperSU installer zip on your MicroSD card or internal storage.

4. Turn off the tablet

5. Hold volume UP (away from power button) for a few seconds

6. Volume DOWN (towards the power button) to confirm that you want to enter download mode

7. Open ODIN

8. Plug in your tablet. A box in ODIN should turn yellow.

9. Click PDA and browse to the recovery file you downloaded in step two.

10. Uncheck Auto Reboot In ODIN

11. Click Start.

12. Hold power until the screen goes black to get out of download mode. Hold power and volume down until you see the "Galaxy Tab 2" screen. If you mess up and the tablet boots normally, start over from step four. If your recovery says "stock recovery <3e>", then you missed a button combo when booting and Clockworkmod was overwritten by your ROM. No harm done, just start over from step 4.

13. Use the volume buttons to navigate to install zip from sdcard, then choose zip from sdcard (or internal storage)

14. Select the zip file you downloaded in step 3 and install it.

15. Click "reboot system now"

16. If you're on 4.0.4 or 4.1.1, you will see a message asking you if you want to delete the OEM/stock recovey. Say yes.

16. You should be rooted!

NOTE: CWM recovery can deleted if you perform a normal boot when your tab is on the 4.0.4 or 4.1 stock ROM. If your recovery is deleted, perform steps 4-12 again to get it back.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

B. Install a JB-based (4.2 , 4.3 or 4.1 ) ROM

THIS WILL WIPE YOUR DATA

JB 4.1 ROM's for the tab 10.1:

CyanogenMax CM10 (p5100 only)

Teamhacksung CM10

AOKP JB

AOSP 4.1.1

ParanoidAndroid

Deodexed Stock JB

Zap Blaster

JB 4.2 ROM's for the tab 10.1:

CM10.1 Nightlies

JB 4.1 ROM's for the tab 7.0:

AOKP JB

Teamhacksung CM10

ButterNutz

Tab2Lite Resurrection (p3113 only)

ParanoidAndroid

TabNex 7 (p3113 only)

Sungsonic

Tsunami X

JB 4.2 ROM's for the tab 7.0:

CM10.1 Nightlies

JB 4.3 ROM's for the tab 10.1:

CM10.2 Nightlies

JB 4.3 ROM's for the tab 7.0:

CM10.2 Nightlies

1. Download the ROM to your tablet's MicroSD card or internal storage

2. Download Google Apps and put it on your tab.

3. Turn off the tablet

4. Hold volume UP (away from power button) for a few seconds

5. Volume DOWN to confirm that you want to enter download mode

6. Open ODIN

7. Plug in your tablet. A box in ODIN should turn yellow.

8. Click PDA and browse to the recovery file that you should have downloaded in section A step 3.

9. Click Start.

10. There should be a green box in the upper left corner saying "PASS". Unplug your device.

11. Reboot into recovery (see above)

12. Go to Backup/Restore and hit backup to external storage (it may take a while)

13. Click wipe data/factory reset

14. Go to install zip from sdcard>choose zip from sdcard or internal storage

15. Find your ROM and hit install.

16. Go to install zip from sdcard>choose zip from sdcard or internal storage

17. Find gapps-jb-20120726-signed.zip and hit install.

18. After it's finished, hit reboot system now.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

C. Install an ICS-based ROM

THIS WILL WIPE YOUR DATA

ICS TW/Stock-based ROM's for Tab 10.1:

4.0.3:

Fry ROM (p5100)

CleanROM (p5113 & p5110)

InfectedROM (p5113 & p5110)

4.0.4:

SRD (Stock Rooted Deoxed) ICS (p5113)

ASERG RUS (p5100) (does not require wipe when coming from stock)

ICS TW/Stock-based ROM's for Tab 7.0:

SRD Base (p3113)

Tab2Lite (p3113)

BAMF Galaxy Cubed

kwbr

ICS AOSP-based ROM's for 10.1: (all are 4.0.4)

Cherry Picked CM9 (p5110) (needs gapps)

Teamhacksung CM9 (all versions of Gtab 2 10.1) (needs gapps)

ICS AOSP-based ROM's for 7.0:

Codename Lungo CM9 AOKP

BlackIce AOKP

AOKP M6

RomsWell

NOTE: If you are on CM9 and want to move to a TW-based ROM, you MUST flash the ADB fix kernel (10.1) or after step 9 in this section.

1. Download the ROM to your tablet's MicroSD card or internal storage

2. (OPTIONAL) If your ROM needs gapps (marked in green), download http://goo.im/gapps/gapps-ics-20120429-signed.zip and put it on your tab.

3. Reboot into recovery (see above)

4. Go to Backup/Restore and hit backup (it may take a while)

NOTE: You can skip the next step if coming from stock and flashing Aserg RUS or RomsWell

5. Click wipe data/factory reset

7. Go to install zip from sdcard>choose zip from sdcard/internal storage

8. Find your ROM (or gapps) and hit install.

9. (OPTIONAL) If your ROM needs gapps, repeat steps 7-8 but with the gapps file.

10. After it's finished, hit reboot system now.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

D. Install a kernel

10.1 kernels (compatible with all models)

TW kernel (for stock and stock-based ROM's):

ADB fix kernel NOTE: This kernel fixes a bug in the stock kernel that prevents ADB from running as root. Otherwise, it is exactly like stock. If you aren't using ADB, you don't need this. (use subsection 1)

CM9 kernel (only for official CM9):

MetalliKernel (use subsection 2)

CM10OC kernel (for CM10 ROM's):

CM10OC Kernel (use subsection 2)

AOKP kernel (for AOKP JB):

AOKP Official OC Kernel (use subsection 2)

CM10.1 kernel (for CM10.1, PAC-ROM, Baked Blackbean):

DhollmenCM (use subsection 2)

CM10.2 kernel (for CM10.2 based ROM's):

NEXT (use subsection 2)

7.0 kernels:

ICS Kernel (for stock and CM9 ICS):

Stock/AOSP OC Kernel (p3113 only) (use subsection 2)

CM9 kernel (only for official CM9):

MetalliKernel (all versions of gtab 7.0) (use subsection 2)

CM10OC kernel(for codeworkxx's CM10):

CM10OC Kernel (all versions of gtab 7.0) (use subsection 2)

AOKP kernels (for AOKP JB):

AOKP Official OC Kernel (all versions of gtab 7.0) (use subsection 2)

CM10.1 kernel (for CM10.1, PAC-ROM, Baked Blackbean):

DhollmenCM (use subsection 2)

Subsection 1: Install an odinable kernel (.tar or .tar.md5 file)

1. Power off, then hold power and volume UP (towards power button) . Then click volume DOWN to get into download mode.

2. Open ODIN. One of the boxes should be yellow.

3. Use the PDA button to select the kernel.

4. Hit Start

5. Enjoy!

Subsection 2: Install a CWM flashable kernel (.zip file)

1. Put the kernel file on your SD card.

2. Reboot into recovery (power + volume DOWN).

3. OPTIONAL: go to backup & restore and click backup.

4. Click install zip from sdcard>choose zip from sdcard

5. Select the kernel file and confirm the install.

6. Go back to the main menu and click reboot system.

7. Enjoy!

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

E. Restore to stock

THIS WILL WIPE YOUR DATA! IT MAY ALSO WIPE YOUR INTERNAL SDCARD, SO BACK ANY DATA ON IT UP!

p5100: http://www.sammobile.com/firmwares/database/GT-P5100/

p5110: http://www.sammobile.com/firmwares/database/GT-P5110/

p5113: http://www.sammobile.com/firmwares/database/GT-P5113/

p3100: http://www.sammobile.com/firmwares/database/GT-P3100/ (PIT files: 16Gb p3100, 8GB p3100

p3113: http://www.sammobile.com/firmwares/database/GT-P3110/

p3110: http://www.sammobile.com/firmwares/database/GT-P3113/

Note: for more language options and versions of stock ROM's for the tab 10, go here.

1. Download the stock firmware matching your carrier/region for your device from the correct link above. This will take a long time. When it's finished, unzip or unrar it.

2. If and only if your device is currently bricked and hasn't been fixed by other stock restore attempts, AND your ROM includes a .pit file, click PIT and open the .pit file you downloaded, and check Re-Partition in ODIN. Skip to step 4.

3. Reboot into recovery and select wipe data/factory reset.

4. Reboot into Download Mode.

5. click PDA and find the stock file (PDA/PLATFORM file, the largest one).

6. OPTIONAL: if you want to flash the bootloader and/or csc, you can select them as well. If you don't know what that means, you don't need to do it.

7. Click Start.

8. Try to boot the tablet. If it hangs, do not panic, just repeat step 2.

9. Enjoy!

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

F. Flash a file with Mobile ODIN

Using Mobile ODIN is recommended for advanced users only. You must have root.

Using Mobile ODIN will NOT increase your flash counter, and therefore your warranty will remain intact.

1. Extract or copy the file you want to flash to your tablet. If you're flashing a ROM, you only want the PLATFORM/PDA file (.tar.md5) (almost always the largest file)

NOTE: There are no .pit files in Mobile ODIN. They are installed along with your flashkernel.

2. Download either Mobile ODIN pro ($5) OR Mobile ODIN lite (does not include EverRoot, so you will need to re-root using ODIN) and the p51xx FlashKernel from here.

3. Click on Open File... in Mobile ODIN and find the file you want to flash.

4. If you're flashing a ROM, click Recovery and click clear on the window that pops up.

5. If applicable, enable EverRoot.

6. Select both Wipe data and cache and Wipe Dalvik cache

7. Click flash firmware.

THANKS: weltwon and Chainfire for root & unroot method, codeworkx for the newer versions of CWM, count dooku for discovering than TW ROM's don't include a kernel the hard way, invisiblek for testing stock ROM on p5113, and all you devs who make custom ROM's and kernels.

If this guide has helped you, please hit the thanks button.