[AT&T Samsung Galaxy S 5] AptLogic:
Rooting the G900A

*Note for Mods: if you could sticky this thread that would be great, I think its really helpful ;)

NO THIS DOES NOT WORK ON THE G870A

Updated with even newer-er method on 03/04/2017

DISCLAIMER:

Your warranty is now void. I nor XDA is responsible for the effects this may have on your device or your life, whether that be bricking, loss of data, combustion, nuclear war, or the election of businessmen as President (wait what).

Remember, its not root that puts your device in danger, its how you use it.

If you don't know what a locked bootloader is, or think that Chainfire is a new video game, you shouldn't be here, go read a little about Android and the Galaxy S5 before continuing

So let's begin:

What You'll Need:

This *experimental* firmware: https://androidfilehost.com/?fid=745425885120704448 (Thanks [MENTION=7533813]NavSad[/MENTION] !)

The SuperSU APK, Towelroot, and FlashFire, all available from this zip: https://www.androidfilehost.com/?fid=673368273298935990 Mirror

This modified "from-noship" pre-rooted OF3: https://www.androidfilehost.com/?fid=673368273298933039

What To Do:

Step 1: Goin' Wayy Down

Use ODIN to flash the experimental firmware.

MASTER CAUTION: This will wipe ALL data on the device!! Backup your stuff before proceeding. I nor XDA is responsible for loss of your memes!

Simply flash the .TAR.MD5 file in the zip using the AP slot in ODIN, and then wait for the phone to boot (which is literally all of 10 seconds).

Step 2: Our Old Friend

After the OS is installed, go to the file manager and install Flashfire, SuperSU, and TowelRoot.

Run towelroot. Simply hit "make it ra1n" and 3 seconds later you'll have the root binaries installed.

Now open the SuperSU app and hit "new user", let it do its thing and then update the SU binaries (don't worry, its safe to reboot!)

At this point you've got root! Now, let's get back to the present!

Step 3: Back to the Future!

Open FlashFire, grant it root access, and flash the modified OF3 with these settings:

Mount /system read/write

A wipe isn't required, but it is recommended (if you do wipe, make sure to put that card B E F O R E the flash zip/ota card!)

Hit "flash", let it flash, reboot, and load.

Guess what? You're done! That's right, you've done all the steps!! Simpler than before, right?

The OLD Method:

This method is not recommended and is only here for historical purposes.

--TESTED WORKING ON BASEBAND G900AUCU4COI5, if ya don't have it, go get it!--

WARNING: THIS ROOT METHOD ONLY WORKS ON BASEBAND VERSION G900AUCU4COI5, IF YOU DON'T HAVE IT, GET IT IN POST #2!

ANOTHER WARNING: THIS IS A TEMP ROOT ONLY, REBOOTING WITHOUT FLASHING THE PREROOTED OF3 WILL RESULT IN A BOOTLOOP!!

Bootlooped? Flash the AP file in the OI5 repair ZIP to get going again. Flashing the AP slot ONLY will save your data ;)

Here's some instructions to get you going:

STEP 1.

Install:

- Kingo ROOT v4.1.9

- KingRoot v4.8.1

- SuperSU

- SuperSUme v6.0

- FlashFire

- Any Root Checker app

STEP 2.

Disable these:

- WiFi

- Location

- NFC

- Sync

- Powersave mode of any kind

STEP 3.

- Open KingRoot

- It will say "root method available", click the blue root button, the process will fail ***THAT IS OKAY***

- Root using Kingo ROOT v4.1.9

It will also fail **THIS IS OKAY**, what this is doing is installing the binaries for KingRoot to hijack.

NOTE: Kingo ROOT must not show Install Recommended App below Android version.

If it does, you didn't disable the above toggles. Clear from Multi-Task and start this step over.

STEP 4.

- Open KingRoot v4.8.1

It should show you the Security Index page where you see the big blue numbers. Press the button saying Fix Now/Continue.

Let it run its course...

STEP 5.

- Uninstall SuperUser (installed by Kingo ROOT)

Just press and hold the app in the app drawer and drag to uninstall. Simple step.

STEP 6.

- Open Super-Sume

KingRoot should ask you for permissions. Allow it.

Tap the big blue button and let it run.

Congratulations, you've got temp root!

STEP 7.

- Use FlashFire to get on the PreRooted OF3 ROM (zip is in Post 3)

Flash Order:

- Wipe All (Wiping internal storage is recommended but not required).

- Select the pre-rooted OF3 zip

Upon selecting, an options screen pops up. Toggle Mount /system read/write.. Important..

Begin the flashing process.

* Why do I have to use KingRoot 4.81? KingRoot 4.82 and above blocks the use of Supersume.

Thanks [MENTION=7533813]NavSad[/MENTION], [MENTION=7958871]DejaVuAgain[/MENTION], and everyone else for their help and hard work!