Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,266 Members 45,472 Now Online
XDA Developers Android and Mobile Development Forum

[GT-I9500] CF-Auto-Root

Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 27th May 2013 at 10:07 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 48858
Posts: 8,985
Join Date: Oct 2007

 
DONATE TO ME
Default [GT-I9500] CF-Auto-Root

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 - ! NOT OPERATIONAL ON THE GT-I9500 !
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.
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 207 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 23rd May 2013 at 10:15 PM.)
#2  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 48858
Posts: 8,985
Join Date: Oct 2007

 
DONATE TO ME
Default 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.
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 89 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 27th May 2013 at 10:06 PM.)
#3  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 48858
Posts: 8,985
Join Date: Oct 2007

 
DONATE TO ME
2013.05.20 --- CF-Auto-Root

SuperSU: v1.30

Download

GT-I9500: CF-Auto-Root-ja3g-ja3gxx-gti9500.zip

Other models

International Qualcomm Snapdragon GT-I9505: http://forum.xda-developers.com/show....php?t=2219803
Canadian: http://forum.xda-developers.com/show....php?t=2293800
Sprint: http://forum.xda-developers.com/show....php?t=2291827
T-Mobile: http://forum.xda-developers.com/show....php?t=2294005
AT&T: Bootloader locked, do not use CF-Auto-Root on it
VZW: Bootloader locked, do not use CF-Auto-Root on it

Special thanks

Special thanks to supercurio, djembey, and avicohh for their assistance and testing. Tthis model deviates from all others in image format, took a while to figure out and fix, which would not have been possible without these guys.

History

2013.05.20: SuperSU v1.30
2013.03.03: SuperSU v1.25
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 96 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Akhil
Old
#4  
Akhil's Avatar
Senior Member
Thanks Meter 976
Posts: 1,309
Join Date: Jan 2012
Location: 21.14N 81.38E

 
DONATE TO ME
Nice to see you back from vacations.
Thank you for supporting I9500.

Sent from my GT-I9500 using xda premium

If I have helped you ,don't say thanks ,press the button

Primary phones:- Black Nexus 4, White Galaxy S4.
Secondary phones:- White Xperia S, White Iphone 5.
The Following 3 Users Say Thank You to Akhil For This Useful Post: [ Click to Expand ]
 
jaidev.s
Old
(Last edited by jaidev.s; 23rd May 2013 at 10:40 PM.)
#5  
jaidev.s's Avatar
Senior Member
Thanks Meter 658
Posts: 964
Join Date: Nov 2011
Happy to see you , Thanks mate,
Could not run TRIANGLE AWAY, it says device is not supported yet
The Following 2 Users Say Thank You to jaidev.s For This Useful Post: [ Click to Expand ]
 
maranello69
Old
#6  
maranello69's Avatar
Senior Member
Thanks Meter 171
Posts: 802
Join Date: Apr 2011
Location: EU
just what i was waiting for, now i can finally "own" my S4
SGS4 i9500
Rom: WanamLite v1.8
Recovery: TWRP v2.6.1.0
Kernel: Perseus alpha v12.2


iPhone 5S 64GB
iOS7 v7.1.1

Asus Transformer Prime TF201
For games & tv shows

iPad Air 128GB
iOS7 v7.1.1 - For Megapolis
 
olavopb
Old
#7  
Senior Member
Thanks Meter 60
Posts: 250
Join Date: Sep 2010
Quote:
Originally Posted by Akhil View Post
Nice to see you back from vacations.

Sent from my GT-I9500 using xda premium
x2!!!

Mobile Odin will be the next!!
 
Safar_Ibrahim
Old
#8  
Safar_Ibrahim's Avatar
Senior Member
Thanks Meter 117
Posts: 276
Join Date: Jan 2008
Excellent
 
shaq1907
Old
#9  
shaq1907's Avatar
Senior Member
Thanks Meter 1011
Posts: 1,245
Join Date: Jun 2011
Thanks for supporting S4
The Following User Says Thank You to shaq1907 For This Useful Post: [ Click to Expand ]
 
sorg
Old
(Last edited by sorg; 24th May 2013 at 12:24 AM.)
#10  
Senior Member
Thanks Meter 565
Posts: 689
Join Date: Sep 2006
Location: 台灣
I believe, Triangle Away is not possible anymore with stock bootloader on I9500.
Boot block now has hardware write protection till next power on and will be re-protected by bootloader with every boot.
see /sys/block/mmcblk0boot0/ro_lock_until_next_power_on

The possible workaround is to use engineering version of bootloader (can be googled), or hacked one (but probably won't be possible to flash through odin).
Engineering bootloader doesn't set ro_lock_until_next_power_on flag, but it has generic "SAMSUNG" logo instead of "Samsung Galaxy S4" (thus not for warranty claim)
Samsung Galaxy S4 SHV-E330S: Optimus ROM (TW 4.4.2) & Kernel. CPU OC 2.7GHz, GPU OC 645MHz, non-KNOX bootloader, UHD/SM/360 Camera.
Samsung Galaxy S4 GT-I9500: Optimus ROM (TW 4.3), Perseus Kernel. CPU No-OC, GPU OC 700MHz, non-KNOX bootloader.
Past models: Samsung Galaxy SIII SHV-E210K & GT-I9300, Samsung Galaxy SII GT-I9100.

The Following 6 Users Say Thank You to sorg For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes