• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GT-N51xx] CF-Auto-Root

Search This thread

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,442
87,712
www.chainfire.eu
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 (Galaxy S1, Galaxy Tab 7", Galaxy S2, Galaxy Note, Galaxy Nexus, Galaxy S3, and many more) and has clocked over 13 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.

Why isn't this just called CF-Root
The traditional CF-Root's included a custom recovery (CWM, TWRP, etc) and were meant for devices that had a single kernel/recovery combination. CF-Auto-Root doesn't include a custom recovery and is meant for devices that have kernel and recovery separate (so you can manually install any custom recovery you wish). The Auto part comes from the fact that a large part of the process is automated (though it constantly needs adjusting)

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.
 

Chainfire

Moderator Emeritus / Senior Recognized Developer
Oct 2, 2007
11,442
87,712
www.chainfire.eu
ODIN Installation (detailed)

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

- 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+Home+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, pull the battery, and boot with VolUp+Home+Power button 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.
 

civato

Inactive Recognized Contributor
Apr 20, 2011
4,296
19,222
Donate
CF-Root has been available for many devices (Galaxy S1, Galaxy Tab 7", Galaxy S2, Galaxy Note, Galaxy Nexus, Galaxy S3, and many more) and has clocked over 13 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...
I know the feeling so here you go.
confirmation number:54D50944TB911162T.
Enjoy and thanks for your work. Already include it in my custom rom.
 

GSLEON3

Retired Senior Moderator
Didn't need it but feel all warm and fuzzy just because it's available. :good:

Confirmation number: 0S082403JU0355833.

Didn't need it? This is just a bonus result of the work for Triangle Away! Glad to see you got the info Chain! See, I told you it would be easy since you had already done the Note 10.1!

Thanks again buddy!
 

TarKin

Senior Member
Sep 17, 2006
158
4
Hey,

i have two questions regarding the whole process and hope that someone is able to enlighten me a bit.

1. The flashing to gain root seems pretty simple. But what if i want to unroot the device again? How does one achieve that?
2. I´m a bit confused as Chainfire states in another thread that
some people like me prefer stock so we can keep the counters at 0/official...
. In the opening post over here he mentions that
What's installed- SuperSU binary and APK- Stock recovery
. So what i don´t get: Does that mean that the counter remains at 0 after flashing this, or does it increase. And if so: why? :)

Thx in advance for any headsup :)
 

wase4711

Senior Member
May 9, 2010
13,466
6,554
Outside of Phoenix, AZ
Hey,

i have two questions regarding the whole process and hope that someone is able to enlighten me a bit.

1. The flashing to gain root seems pretty simple. But what if i want to unroot the device again? How does one achieve that?
2. I´m a bit confused as Chainfire states in another thread that . In the opening post over here he mentions that . So what i don´t get: Does that mean that the counter remains at 0 after flashing this, or does it increase. And if so: why? :)

Thx in advance for any headsup :)

quoted from the OP, so not sure how you missed this...

"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".
 

TarKin

Senior Member
Sep 17, 2006
158
4
quoted from the OP, so not sure how you missed this...

"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".

Don´t get me wrong, but that does not answer my question.
As you quoted he mentions custom kernels of custom recoverys. But as i quoted (and is also mentioned in the opening post) the package includes the stock recovery and (as i assume) no custom kernel.
 

wase4711

Senior Member
May 9, 2010
13,466
6,554
Outside of Phoenix, AZ
well, I havent rooted this device yet, but, I have rooted many others; generally, if you want to go back to stock, you have to grab the original image, usually a .tar file, and flash it via Odin...I assume this would be what you do to return this device back to its non rooted state..
 

mayday2

Senior Member
Dec 3, 2007
237
71
Don´t get me wrong, but that does not answer my question.
As you quoted he mentions custom kernels of custom recoverys. But as i quoted (and is also mentioned in the opening post) the package includes the stock recovery and (as i assume) no custom kernel.

let me quote (from OP) again:

"Using this root increases your flash counter."

"Flash the CF-Auto-Root package as PDA in ODIN ..., and your device should reboot into a modified recovery ... and it will install SuperSU for you and restore the stock recovery, and reboot back into Android."

hope this help.
 
Last edited:

TarKin

Senior Member
Sep 17, 2006
158
4
let me quote (from OP) again:

"Using this root increases your flash counter."

"Flash the CF-Auto-Root package as PDA in ODIN ..., and your device should reboot into a modified recovery ... and it will install SuperSU for you and restore the stock recovery, and reboot back into Android."

hope this help.

Oooops, guess who feels really stupid now :)
Thanks a lot for clearing that up!
 

NoobieExtraordinare

Senior Member
Oct 9, 2012
491
125
Did the autoroot. Installed triangle away. Reset flash counter. Clicked on software updates. Says checking for software updates but stays there forever. Am I doing something wrong? 5110

Sent from my GT-N5110
 

Top Liked Posts

  • There are no posts matching your filters.
  • 106
    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 (Galaxy S1, Galaxy Tab 7", Galaxy S2, Galaxy Note, Galaxy Nexus, Galaxy S3, and many more) and has clocked over 13 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.

    Why isn't this just called CF-Root
    The traditional CF-Root's included a custom recovery (CWM, TWRP, etc) and were meant for devices that had a single kernel/recovery combination. CF-Auto-Root doesn't include a custom recovery and is meant for devices that have kernel and recovery separate (so you can manually install any custom recovery you wish). The Auto part comes from the fact that a large part of the process is automated (though it constantly needs adjusting)

    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.
    53
    ODIN Installation (detailed)

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

    - 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+Home+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, pull the battery, and boot with VolUp+Home+Power button 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.
    44
    2013.05.20 --- CF-Auto-Root

    SuperSU: v1.30

    Download

    GT-N5100: CF-Auto-Root-kona3g-kona3gxx-gtn5100.zip
    GT-N5110: CF-Auto-Root-konawifi-konawifixx-gtn5110.zip
    GT-N5120: CF-Auto-Root-konalte-konaltexx-gtn5120.zip

    History

    2013.05.20: SuperSU v1.30
    2013.04.13: SuperSU v1.25
    7
    I will say it did not work for me aswell. Su 'stop working'
    I am not a newb to rooting. ..
    What direction did you do in the direction of odin? Did you just root while installing a recovery?
    Could you please link me in the correct direction...thanks

    1) Install Odin on your computer (I used Odin 3.07)
    2) Download TWRP (you want the file n5110-twrp-2710-build2-ODIN.tar)
    3) Use Odin to install TWRP
    -put your device into download mode (Press and hold Volume Down + Home + Power Buttons for 5-8 seconds, when it asks, press Volume Up to continue)
    -plug your device into the computer, let it get recognized, etc.
    -put the .tar file into the "PDA" section in Odin, hit Start. Once it reboots, it should be done
    4) Use TWRP to install SuperSU 2.02
    -download SuperSU 2.02
    -save it to your internal or external card, somewhere you'll remember it
    -launch TWRP by pressing and holding Volume UP + Home + Power Buttons
    -go into Install and find the "UPDATE-SuperSU-v2.02.zip" file, and install that.
    5) Reboot and enjoy! :)
    4
    Added GT-N5120 Note 8 LTE version :)