[SPH-L710] CF-Auto-Root

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,439
87,667
263
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 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.

No CWM and such ?
I have personally moved away from permanent custom recoveries, and I am no longer supporting them. On newer devices they cause flash counter and OTA flashing issues. If you really want one, others do provide versions of CWM and TWRP for most devices. Personally I just use Mobile ODIN to install ZIPs and Titanium Backup for my backup/restore needs. I do always want root though, and as such I'm still supporting CF-Auto-Root as quick way to root.
 
Last edited:

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,439
87,667
263
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!
- 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+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.
 

Attachments

d0g

Senior Member
Aug 24, 2009
975
102
0
Los Angeles
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) !
Sorry, where is the "third post for exact supported model numbers"?

Oh I found it -- I was looking in the thread. For other blind people: http://autoroot.chainfire.eu/
 
Last edited:

BWFBezerk

Senior Member
Jan 16, 2011
218
36
0
NY
www.youtube.com
Triangle away does not reset the counter anymore.

I think you should take away the part that states it will.

If I am misinformed please correct me so I don't spread false information, but I tried it two days ago and it didn't work on LJ7.

Sent from my SPH-L710 using xda app-developers app
 
Last edited:

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,439
87,667
263
www.chainfire.eu
Sorry, where is the "third post for exact supported model numbers"?

Oh I found it -- I was looking in the thread. For other blind people: http://autoroot.chainfire.eu/
Third post lists the download for "SPH-L710". That's the only model this file should be used for.

Triangle away does not reset the counter anymore.

I think you should take away the part that states it will.

If I am misinformed please correct me so I don't spread false information, but I tried it two days ago and it didn't work on LJ7.
How exactly did it not work? Did you press the "Reset flash counter" button? Did it reboot? Did you then tell it to reset the counter again? Did you then proceed by checking actual download mode for the current counter (as the app will always say at least 1 on this device, never 0). Are you running a non-stock kernel and/or recovery?
 

d0g

Senior Member
Aug 24, 2009
975
102
0
Los Angeles
Thanks! This worked like a charm, on a Mac, through Parallels, no less.

Is it possible to flash a custom ROM (e.g., the odexed LJ7 stock from this forum) at all?
 

BWFBezerk

Senior Member
Jan 16, 2011
218
36
0
NY
www.youtube.com
How exactly did it not work? Did you press the "Reset flash counter" button? Did it reboot? Did you then tell it to reset the counter again? Did you then proceed by checking actual download mode for the current counter (as the app will always say at least 1 on this device, never 0). Are you running a non-stock kernel and/or recovery?
Running stock kernel, but not stock recovery. My count stays at 2 and says custom firmware. Triangle Away resets it, but after a reboot it's back to what it was.

Does having a custom recovery cause an issue with it resetting?



Sent from my SPH-L710 using xda app-developers app
 

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,439
87,667
263
www.chainfire.eu
Running stock kernel, but not stock recovery. My count stays at 2 and says custom firmware. Triangle Away resets it, but after a reboot it's back to what it was.

Does having a custom recovery cause an issue with it resetting?
Seeing as the description on Play, the first post of the Triangle Away thread, and even the program itself tells you exactly this before you reset... I'm going to go with "yes".
 

BWFBezerk

Senior Member
Jan 16, 2011
218
36
0
NY
www.youtube.com
Seeing as the description on Play, the first post of the Triangle Away thread, and even the program itself tells you exactly this before you reset... I'm going to go with "yes".
I didn't see in the description where it says having a custom recovery will stop it from resetting the counter. The description does say it will reset the counter to 0, but in this thread you say it will never say 0, so I was just a little confused as what to expect, sorry.

Sent from my SPH-L710 using xda app-developers app
 

Nubbleet

Member
Mar 9, 2011
35
1
0
The issue with triangle away not resetting the counter has something to do with LJ7 boot loaders if I'm not mistaken. Try the ICS boot loaders.
 

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,439
87,667
263
www.chainfire.eu
I didn't see in the description where it says having a custom recovery will stop it from resetting the counter. The description does say it will reset the counter to 0, but in this thread you say it will never say 0, so I was just a little confused as what to expect, sorry.
From the OP:

"Please also note that some devices set the counter to 1 at every boot if you are running a custom kernel or recovery."

From Play:

"Please also note that some devices set the counter to 1 at every boot if you are running a custom kernel or recovery. On these devices, Triangle Away may always display 1 - make sure to check the counter in actual download mode."

Popup inside the app:

"! Please note some devices keep resetting the counter to 1 as long as you are not running both a stock kernel and stock recovery !"


The app does indeed set the counter to 0 succesfully, but after that, it performs a reboot, and if you're not running a stock kernel and recovery, that reboot will increase the counter to 1 again. It's really not all that complicated and explained many times. I'm sorry for picking you out like this, it's nothing personal, no offense intended, etc, but I get this exact question some twenty times a day. I have given up on humanity and it's skill to interpret the written word.
 
Last edited:
  • Like
Reactions: jamcar

April_Fool_79

Member
Aug 21, 2010
15
0
0
So apparently this isn't completely "noob proof", because I can't get it to work. I ran Odin, and got a message that "<OSM> All threads completed. (succeed 0 / failed 0)", and it didn't reboot. So I tried it again, this time with the Auto Reboot unchecked. It went through:

<ID:0/006> Added!!
<OSM> Enter CS for MD5..
<OSM> Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> CF-Auto-Root-d2spr-sphl710.tar.md5 is valid.
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/006> Odin v.3 engine (ID:6)..
<ID:0/006> File analysis..
<ID:0/006> SetupConnection..
<ID:0/006> Initialzation..
<ID:0/006> Get PIT for mapping..

And now it's just sitting there. Start and Reset on the Odin Control Panel are greyed out, and I'm scared to turn off the phone because it looks like Odin is still working. What did I manage to do wrong?
 

April_Fool_79

Member
Aug 21, 2010
15
0
0
Yeah, it had the "Downloading, don't turn off target" or whatever the message was. I pulled the battery and rebooted it, but didn't get a red Android logo like it says I should have, so I don't know happened, even though I followed the steps *EXACTLY*.