yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] Chainfire:
Check your device model ! Settings -> About device -> Model number. See the third post for exact supported model numbers. If your device is a totally different model, it will not work (may even brick) !

CF-Root is the root for "rooting beginners" and those who want to keep as close to stock as possible. CF-Root is meant to be used in combination with stock Samsung firmwares, and be the quickest and easiest way for your first root.

Donate

CF-Root has been available for many devices and has clocked over 8 million downloads. This is not even counting custom ROMs that already include it. Don't be a leech, buy me a beer (and use the "Thanks" button!). Imagine if every CF-Root user has donated me $1...

What's installed

- SuperSU binary and APK

- Stock recovery

Installation and usage

Flash the CF-Auto-Root package as PDA in ODIN (details on how to do that are in next post), and your device should reboot into a modified recovery (signified by a large red Android logo) and it will install SuperSU for you and restore the stock recovery, and reboot back into Android.

If you don't get to the red Android logo, boot into recovery manually ("adb reboot recovery", or boot while holding Power+VolUp+Home).

Using this root increases your flash counter. You should run Triangle Away (see below) after rooting to reset the counter. Note that if you want to run custom kernels or custom recoveries, your flash counter will be set to 1 at every boot. Either configure Triangle Away to reset the counter at every boot (Play version only) or only reset the counter when you need to go into warranty.

Did you see the red Android logo during rooting, but SuperSU does not appear? This may sometimes occur due to left-over files and settings, however, you can usually install SuperSU from Google Play at this stage and it'll just work.

Not included - Triangle Away

Triangle Away can be used to reset the flash counter after installing CF-Root. The flash counter keeps track of how many custom firmwares you have flashed, as this voids warranty. (No idea what this about ? Read up on it, you will want to use this !)

Not included - adbd Insecure

As this CF-Root does not include a custom kernel, adb shell does not have root access by default (you can still get it by typing su inside the shell), nor is adb remount supported, nor will adb push and adb pull work on system files. adbd Insecure can be used to remedy this situation. (No idea what this is about ? Don't worry about it !)

CF-Auto-Root homepage

http://autoroot.chainfire.eu/

CF-Auto-Root main thread

[CENTRAL] CF-Auto-Root

For requests for new roots and generic discussion - please keep device specific discussion in the thread you are viewing now.
[Galaxy Tab 2 7" Android Development] Chainfire:
ODIN Installation (detailed)

- Follow these instructions to the letter. Do not touch any buttons or checkboxes that are not listed below to touch!

- Unzip the attached Odin3-vX.X.zip file

- Download and unzip the CF-Auto-Root-....zip file (see posts below this one)

- If you end up with a recovery.img and cache.img file, you've extracted twice. You need to end up with a .tar.md5 file - don't extract that one

- (USB) Disconnect your phone from your computer

- Start Odin3-vX.X.exe

- Click the PDA button, and select CF-Auto-Root-....tar.md5

- Put your phone in download mode (turn off phone, then hold VolDown+Power to boot - if it asks you to press a button to continue, press the listed button, or run adb reboot download command)

- (USB) Connect the phone to your computer

- Make sure Repartition is NOT checked

- Click the Start button

- Wait for Android to boot

- Done (if it took you more than 30 seconds, you need practise!)

- NOTE: Sometimes the device does *not* boot into recovery mode and root your device. Just do the entire procedure again if this happens. If it still will not install root and such, make sure that in Odin "Auto Reboot" is not checked. Then after flashing, hold VolUp+Power (for several seconds) to boot into recovery manually. This will start the install process.

New to Samsung? Unfamiliar with Odin? Think all the above is a hassle? Get used to it. It's very simple, and us Samsung folk use Odin (or Mobile ODIN ;)) for everything! It's so very very convenient once you get used to it. Notice the 30 second comment above? For experienced users, the entire process indeed takes only 30 seconds!

You may now optionally want to install and run Triangle Away to reset the flash counter.
[Galaxy Tab 2 7" Android Development] Chainfire:
Download

2013.05.20 --- CF-Auto-Root

SuperSU: v1.30

Download:

GT-P3100: CF-Auto-Root-espressorf-espressorfxx-gtp3100.zip

GT-P3110: CF-Auto-Root-espressowifi-espressowifixx-gtp3110.zip

GT-P3113: CF-Auto-Root-espressowifi-espressowifiue-gtp3113.zip

--- History ---

2013.05.20: SuperSU v1.30

2013.02.20: SuperSU v1.05

2012.12.02: SuperSU v0.98

2012.10.26: SuperSU v0.96
[Galaxy Tab 2 7" Android Development] nfribeiro:
Thanks Chainfire!!! You are the man.

I will try later on my P3110.
[Galaxy Tab 2 7" Android Development] scottx .:
We love you chainfire. Thanks.
[Galaxy Tab 2 7" Android Development] Drkstar81:
I've bought 3 of your apps so far. Thank you for all of your hard work.
[Galaxy Tab 2 7" Android Development] nfribeiro:
Flashed without problems with mobile Odin.

But everytime I boot it shows Android system update ... open aplications for about 5 seconds.
[Galaxy Tab 2 7" Android Development] thedeamon:
Thank you CF for this recovery method...hope you have taken care of the new stock recovery protection scheme that seems to be in place for JB 4.1.x.

I bought you one of the best app "ChainFire3D" & appreciate all the work you are doing for Android gadgets......all of your tools are brilliant work.

Wish I would have programming skill like yours...LOL
[Galaxy Tab 2 7" Android Development] joe2262:
Samsung noob here, what HOME button and what battery?
[Galaxy Tab 2 7" Android Development] Chainfire:
Sorry, thats the phone procedure. I have adjusted the text for tablets :)
[Galaxy Tab 2 7" Android Development] joe2262:
How long does take? 25+ min my tab still says "Do not turn off target"

What should I do?
[Galaxy Tab 2 7" Android Development] Chainfire:
Do you have a blue progress bar on screen below the Android ?

If it's full, just reboot the phone.
[Galaxy Tab 2 7" Android Development] joe2262:
45 min, may have a problem? HELP!
[Galaxy Tab 2 7" Android Development] Chainfire:
Just reboot your phone. Pull the battery, hold power button, whichever works. Then see what happens.

DONT PANIC. Nothing bad has happened.
[Galaxy Tab 2 7" Android Development] joe2262:
No.
[Galaxy Tab 2 7" Android Development] Chainfire:
Ehh, silly question, did you use ODIN and uploaded the file? Because then you should definitely get a progress bar.
[Galaxy Tab 2 7" Android Development] joe2262:
it's rebooted. Try again?

---------- Post added at 03:10 PM ---------- Previous post was at 03:04 PM ----------

started ODIN , clicked PDA, selected file and hit START.
[Galaxy Tab 2 7" Android Development] Chainfire:
And nothing happened in ODIN, or on-screen?
[Galaxy Tab 2 7" Android Development] joe2262:
Not the tab, but ODIN had a bunch in the lower left. succeed 0/failure 0 and the last was please wait.

I think it's a driver problem as I did root something else a few weeks ago? But there was a SAMSUNG driver in device manager with no exclamations.
[Galaxy Tab 2 7" Android Development] joe2262:
Was a driver problem in win7 64b. Rooted now and Ti backup works great. Thanks a bunch.
[Galaxy Tab 2 7" Android Development] thierryb:
Was your problem specific to you ?

If not please describe what you have done to solve it because i will root soon, and i have only a 64bit seven pc.

Thanks.
[Galaxy Tab 2 7" Android Development] joe2262:
I think so. Even though device manager listed a Samsung driver it was the driver for another device I rooted.
[Galaxy Tab 2 7" Android Development] joe2262:
If Samsung releases a JB OTA update will users of CF-Auto-Root get it?
[Galaxy Tab 2 7" Android Development] karaern:
cannt root french version (XEF) p3110

anyone succeeded to root lates jb french version using auto root? i tried everything ...no success.:p
[Galaxy Tab 2 7" Android Development] Einril:
No problem for me on my P3110. Flashed via Odin on a clean install.
[Galaxy Tab 2 7" Android Development] mrcreativity:
Works perfectly on my 3100. Too bad installing custom recovery isn't as easy as on the SII.

Im actually a little surprised a lot more people haven't tried this method. Its do easy.

I'll have to reroot once the JB update comes though right? Can I use this to root the Indian 4.1.1 OTA?

Love your work on the S2.
[Galaxy Tab 2 7" Android Development] chunlianghere:
no worry.. can work on jelly bean 4.1.1.

after than i flash clockworkmod recovery.
[Galaxy Tab 2 7" Android Development] Chainfire:
I have updated all the CF-Auto-Root downloads. The scripts have been slightly improved, the roboto font is now used, and SuperSU has been updated to v0.98 !

There is no need to flash the updated version if you are currently successfully rooted (you'll have gotten the latest SuperSU from Google Play updates already).
[Galaxy Tab 2 7" Android Development] FlynnErik:
Searched the central thread and this one....

If we use this method to root, can we still get the official OTA without having to flash them?

The reason most can't do it after getting root (from what I have read, and I still am learning) is because of the custom recovery, since your method has the stock recovery that should in theory allow for the update to happen normally correct?

I am asking because I am thinking of returning to stock then rooting my P3113 with your method to remove CWM so I can get the updates naturally. Unless someone has a better way of doing that.
[Galaxy Tab 2 7" Android Development] Limitz Cash:
I just got my galaxy tab 2 today, and this worked perfect! Thank you!
[Galaxy Tab 2 7" Android Development] sliders7:
Wow... Huge Thanks to Chainfire!

This is the easiest way to root my tab !! :good::good:
[Galaxy Tab 2 7" Android Development] stevuna:
Thank you, rooted perfectly!!
[Galaxy Tab 2 7" Android Development] mrcreativity:
I've noticed that the recovery is now different from the stock JB recovery. :confused:

Also, the system status changed from modified to original after a hard reset. :thumbup:
[Galaxy Tab 2 7" Android Development] GAMaus:
Thank You Very Much!!

Works like a charm on

GT-P3100 with Stock 4.1.1 (P3100XXCLJ3)
[Galaxy Tab 2 7" Android Development] chis51hd:
Sir, is there a way to un-root from CF auto root? Currently running 4.1.1 official firmware that I flashed (UK version). Thanks.
[Galaxy Tab 2 7" Android Development] drmotto:
4.2.1

This works well with the new 4.1.2 P3100XXCLL2?
[Galaxy Tab 2 7" Android Development] doublechan:
P3110 File Damage

After downloaded, the file size only 7K and can't unzip it. Please help to repair the link, thanks you.
[Galaxy Tab 2 7" Android Development] Droidlover123:
Chainfire you are simply great...all your developments are masterpiece...

Thanx for everything....

I have tried both triangle away,cf auto root both worked like charm.

Hats off!!!!!!!!

:thumbup::thumbup::thumbup::thumbup::):)
[Galaxy Tab 2 7" Android Development] travisjshepherd:
will this root the new 4.1.1 update for the p3113?
[Galaxy Tab 2 7" Android Development] Caldair:
Yessir!:good:
[Galaxy Tab 2 7" Android Development] phirman:
My Tab Running JB 4.1.2 successfully rooted, thanks mr. chainfire :)
[Galaxy Tab 2 7" Android Development] libove:
encryption (Device & extSdCard) with CF-Auto-Root?

I used CF-Auto-Root on my GT-P3100 (Android 4.0.3, Spain "PHE" market code; no updates are available either through Kies nor OTA).

BEFORE rooting, I had successfully encrypted the device.

Rooting (I understand from Chainfire that this was expected on an already encrypted device) did a factory reset, so the device became un-encrypted again.

But after rooting, all attempts to encrypt the device fail.

Attempting to encrypt the device gives me the green outline Android icon, but never shows the completion percent counter. After the usual screen timeout, the screen turns off; I can tap the power button, enter the unlock password, and I see the Android icon again ... but it never does anything. Eventually, I long-press the power button, reboot the device, and it comes back fine ... with no encryption having occurred.

Attempting to encrypt the SD Card is more nuanced. I CAN turn on encryption of NEW files. That seems to work properly. However, attempting to encrypt the rest of the SD Card immediately returns an encryption error. I go back to Settings -> Security -> Encrypt SD Card and "unencrypt" the card, and the card comes back to life (new files are still being encrypted) but none of the existing files are encrypted.

Help, please?

Thanks,

-Jay
[Galaxy Tab 2 7" Android Development] _Variable:
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

Brick proof?

__________________

Sweet Devil >_<

GT-P3100

Android 4.0.4 ICS

Sun Cellular

"LG should go bankrupt"

GApps+ | Not your typical Gapps.zip
[Galaxy Tab 2 7" Android Development] :
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

Yes, it does. Just used it on mine with the JB update.
[Galaxy Tab 2 7" Android Development] _Variable:
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

Will it work here?

__________________

Sweet Devil >_<

GT-P3100

Android 4.0.4 ICS

Sun Cellular

"LG should go bankrupt"

GApps+ | Not your typical Gapps.zip
[Galaxy Tab 2 7" Android Development] :
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

See the third post in this thread for the correct file to use, but yes your device is listed.
[Galaxy Tab 2 7" Android Development] libove:
reformatted SD Card and now it is encrypted, but Device remains no...

An update, I copied off all of the files from the external SD Card, formatted the SD Card, and then was able to turn on encryption of the whole SD Card (and copy back my files).

But of the Device itself, no progress - I can't encrypt it.

Help, please?

Thanks!

-Jay
[Galaxy Tab 2 7" Android Development] _Variable:
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

Hai all

__________________

Sweet Devil >_<

GT-P3100

Android 4.0.4 ICS

Sun Cellular

"LG should go bankrupt"
[Galaxy Tab 2 7" Android Development] mamatechdroid:
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

I just tried that three times (to make sure) because I had a similar problem as he did. But this is what mine said:

Enter CS for MD5

Check MD5..do not unplug the cable....

Please wait

CF-Auto-Root-Express.....

Checking MD5 finished successfully

Leave CS..

All threads completed. (succeed 0/ failed 0)

http://db.tt/tQOrN5fU

http://db.tt/GOMqRipQ

http://db.tt/EIYVlulx

http://db.tt/MGZ7GWeT

It went into ondin mode in red on the phone. Gave me the option to continue so I did. Then got stuck on " downloading, do not turn target off"

I read the whole thread. Tried rebooting but nothing. No blue status bar.

on my computer a bubble on lower right popped up and said driver installation unsuccessful and listed this:

- OMAP4430 driver not installed.

Have a full description so hopefully that will help anyone who can help me? :(

update: I'm rooted!!!! took some time but i just had to find the right drivers and i did find them all on my own!!!!! yay!!!!!!!!!!!!! felt like i was sweating bullets for a little while but

mr. chainfire, you made this possible with this method. everyone was right. this method is whassup!!! thank you!!! :p
[Galaxy Tab 2 7" Android Development] keithross39:
Re: [2012.12.04][GT-P31xx] CF-Auto-Root

I've had bad experiences with Odin, but this looks too simple not to try.....my son has the tab and has seen the benefits of rooting by seeing what my phone will do.....will have to research this some more and take things from there.....

Sent from my GT-I8150 using Xparent Green Tapatalk 2
[Galaxy Tab 2 7" Android Development] coolSERAZ:
Works great! My data didn't get deleted. Supremely easy method if a noob like me can do it :D

Edit: I just to want to know how to install CWM and remove Stock recovery. Or is it possible to install CWM over stock recovery? Could anybody tell me that?

Edit v2.0 : never mind got it installed.
[Galaxy Tab 2 7" Android Development] bodomar:
process seems to start but then no response !!!

please see photo attached .......
[Galaxy Tab 2 7" Android Development] Chainfire:
All CF-Auto-Root's have been updated with SuperSU v1.05 today !
[Galaxy Tab 2 7" Android Development] Adi Shakthi:
Re: [2013.02.20][GT-P31xx] CF-Auto-Root

U r the light for whole android community.......
[Galaxy Tab 2 7" Android Development] ady_uaic:
i'm trying to root a friend's tablet p3110 but i cannot connect, i'm getting:

normally i know that it's a cable issue, but someone can provide me the right usb drivers (win 7 x64) in order to be 100% sure?
[Galaxy Tab 2 7" Android Development] feralicious:
I have a brand new P3113 running 4.1.1 that has an OTA notification on it, presumably 4.1.2, that I have not accepted yet. Will I still be able to root on 4.1.2? I saw a post of someone on a different model that was able to, so I most likely will be fine, but I don't want to get stuck.
[Galaxy Tab 2 7" Android Development] noobSU:
& how did you do that?? After flashing CF-auto root just Flashed the CWM.tar.md5 file via odin?? M i ryte??
[Galaxy Tab 2 7" Android Development] livefree79:
Re: [2013.02.20][GT-P31xx] CF-Auto-Root

Anyone know if this works on 3113 4.1.1 just bought mine yesterday and this is what firmware it shipped with. If not im taking it back to Costco. Personally im disappointed in its limited storage space. Other then that I love this little tab. Also has anyone has any success with swapoing the internal sd card for external I've seen a few treads on this topic. Thanks for you help.
[Galaxy Tab 2 7" Android Development] nfribeiro:
Re: [2013.02.20][GT-P31xx] CF-Auto-Root

Yes, it will work with any 31xx.
[Galaxy Tab 2 7" Android Development] dagothe9:
Ok guys so i used the latest version for P3100 and it worked perfectly. it was my first odin flash for the p3100 so the counter raised. what i do not understand is why it says custom binary, but i think it is normal. thanks chainfire!!
[Galaxy Tab 2 7" Android Development] drsiddique5700:
u always can set it to 0 by triangle away.I used it recently to bring back my warrenty
[Galaxy Tab 2 7" Android Development] dagothe9:
yes i know, but due to his delicate operation i prefer to just wait the "need" of warranty to use it. anyway can triangle away remove the "BINARY: CUSTOM"?

thanks
[Galaxy Tab 2 7" Android Development] Skazzy3:
yes it can
[Galaxy Tab 2 7" Android Development] keithross39:
Re: [2013.02.20][GT-P31xx] CF-Auto-Root

My faith in odin has increased (slightly....lol)

SG Wonder......fail

SG S2..........fail

SG Tab 2.7 (3110)......success....YAAAY....lol

Thankyou Chainfire :)

Sent from my GT-I9100 using Xparent Green Tapatalk 2
[Galaxy Tab 2 7" Android Development] Droidlover123:
Re: [2013.02.20][GT-P31xx] CF-Auto-Root

Do this cf root package works with 4.1.2????
[Galaxy Tab 2 7" Android Development] dagothe9:
yes i used it on 4.1.2 OTA
[Galaxy Tab 2 7" Android Development] kailashnj:
Hi Guys,

I have a question.. can we keep the Samsung Recovery and only root the mobile. This will ensure that the counter does not raise. On my Galaxy Note 2 - I was able to root and then install custom roms using mobile odin. That way I am not loosing my warranty and also the counter does not increase.

Please let me know if that is possible. Thanks a lot for your efforts Chainfire, without you and all the other developers, the Android would not have been what it is today.

Regards,

Kailash
[Galaxy Tab 2 7" Android Development] Skazzy3:
Re: [2013.02.20][GT-P31xx] CF-Auto-Root

This cf auto root keeps Samsung recovery. Also you can always use triangle away to reset the counter.

Sent from my GT-P3113 with xda app.
[Galaxy Tab 2 7" Android Development] kailashnj:
Thanks a lot for the information, I appreciate it a lot.
[Galaxy Tab 2 7" Android Development] Samik13:
I tried using it with heimdall as I own only mac. I will post succesfull guide that was working for me.

Im not responsible if you brick or ruin your device im just providing guide that worked for me under MacOS 10.8.3.

!!If you are not 100% sure what you are doing then don`t do it!!

1. Install Heimdall 1.3.2 (google it, if you don`t know how to find it then you shouldn`t try to root your phone in first place)

2. It will ask for restart after install, so restart your Mac

3. Start heimdall and choose utilities

4. Put your tab to download mode

5. Connect it with cable and press Detect device, if it says device detected its good to go

6. Set destination and name of the file in Download pit section and hit download

7. If heimdall says !Claiming interface failed! you probably have installed Kies. If you don`t have this error jump to step 11.

8. You need to run these three commands in terminal

sudo kextunload -b com.devguru.driver.SamsungComposite
sudo kextunload -b com.devguru.driver.SamsungACMData
sudo kextunload -b com.devguru.driver.SamsungACMControl

9. It will ask your password, after it completes close terminal and Heimdall

10. Start heimdall and repeat steps 3 - 6, download of Pit should be succesfull now

11. First unzip CF-Auto-Root-espressorf-espressorfxx-gtp31XX.zip you`ve downloaded, then Untar CF-Auto-Root-espressorf-espressorfxx-gtp31xx.tar.md5

12. You will get Recovery.img and Cache.img

13. In heimdall go to flash, hit browse and choose your Pit file you downloaded previously in steps 3 - 6.

14. Then hit Add and choose Cache in partition name, hit browse under it and choose Cache.img you unpacked before

15. Hit Add again choose Recovery and choose Recovery.img

16. Tick NO REBOOT - this is important

17. Hit Start it will flash recovery succesfully but after flashing cache it will type an error that your device is not responding(or something like that), you will see like 1/3 of statusbar of flashing on your tablet screen

18. Hold power off, unplug the device and hold Volume up + Power until you will get to "recovery" it will tell you that it is writing SU after it will end it will reboot your tablet

19. After your tablet starts it will say upgrading android(or something like that) after that you will see SuperSU in your aplications.

Strange was that after 1st time i hitted start it made some error so i rebooted my tab with holding Volume UP and Power button it jumped to stock recovery. I rebooted if from there and there after tab booted there was no super used so i switched back to download mode reset counter was 0 so there maybe is a way to root this device without increasing flash counter (like there is a way with i9100).

Thanks to Chainfire for CF-auto-root, Scott Wallace for Getting Heimdall to work on your Mac and also thanks to makers of Heimdall
[Galaxy Tab 2 7" Android Development] maRRRco89:
So, does it work with any 3110 with 4.0.4, 4.1.1 and 4.1.2 ?

Actually I'm in 4.0.4 and I'm searching for a simple root method ... :)
[Galaxy Tab 2 7" Android Development] neil05:
yes it will wrk :)
[Galaxy Tab 2 7" Android Development] maRRRco89:
Works like a charm ...

Thank you so much !!

p.s does it install busybox somewhere ?

I don't find it in bin or xbin ...
[Galaxy Tab 2 7" Android Development] Samik13:
Nope, it just roots device. You can install busybox afterwards from play store.
[Galaxy Tab 2 7" Android Development] tyvar1:
https://play.google.com/store/apps/details?id=stericson.busybox :)
[Galaxy Tab 2 7" Android Development] Lubensius:
[Q] Backup of stock recovery

[MENTION=631273]Chainfire[/MENTION]

Hello,

I have a question on the working principle. As I understand it the way is:

update the recovery with a unrooter

start this unroot recovery

replace the unrooter with stock recovery

Question is: were does this recovery come from? Is it a backup of my recovery or could it happen that I get a different version afterwards?:confused:

If it is a backup, is the file on my sdcard, so that I can store it away for later use?

Because I want a to backup the firmware of my new GT-3110 in the delivery state.:angel:

Thx

Lubensius