Rooting the latest Samsung Galaxy S5 firmware

ironass

Well-known member
Mar 9, 2015
5,356
816
113
ROOTING YOUR GALAXY S5

Samsung have started rolling out their newest monthly Android 5.0 firmware update, OK5, to the international G900F model, on a much higher changelist, #6364590, than even the Android 5.1.1 releases which Samsung has, thus far, chosen to bypass on their own Galaxy S5 models. This update includes loads of firmware improvements, bugfixes, new bootloader and the all important latest security updates.

To check your model of phone go to... Settings > About device > Model number

To quickly, (about 30 sec's), easily and simply root this new Samsung release for the G900F model on the new OK5 bootloader, carefully and thoroughly read the instructions in posts #1, #2 and #3 of this guide...

[SM-G900*] CF-Auto-Root


(N.B. The above rooting method, or any other, will NOT work on the AT&T, G900A, model or the Verizon, G900V, model as these carriers do not allow rooting. See #1.6 of 41 Galaxy S5 models - Dummies Guide)
 
Last edited:
CUSTOM KERNEL

Once you have rooted your stock worldwide Samsung model, G900F, you may like to install a custom kernel.

One that works very well on stock TouchWiz Lollipop 5.0 releases is Lord Boeffla's [KERNEL] [SM-G900F] [Samsung Stock LP] Boeffla-Kernel.

This allows for a whole host of configurations via the Boeffla-Config V2 app, such as, presets for Power extreme right down to Battery saving, under/over clocking, over/under volting, a range of governors and schedulers, sound and display tweaks, plus lots, lots, more!

"Features
Full integration with Boeffla-Config V2 configuration app (get it from Boeffla-Kernel - Boeffla-Kernel for Samsung Galaxy S3 and n8010) to configure all kernel settings
Additional governors: zzmoove (Note: not considered stable at the moment, you might face reboots!!!), intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, nightmare, lionheart, pegasusq
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid, zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Wake up gestures implemented (double-tap-to-wake, swipe to wake)
Boeffla-Sound engine (Headphones and speaker volume configurable)
Configurable vnswap
zSwap configured fix to Samsung stock value of 1280 MB
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
CPU Overclocking up to 2.84 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU Overclocking up to 678 MHz
GPU governor selection support
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported (default is off)
Android logger (logcat) configurable
Kernel logger (dmesg) configurable
Charge rates for AC charger, USB and wireless charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, Important: make sure you unchecked option "Mount namespace separation" in SuperSU settings; do not mount inside /data or /storage)
NFS support (module)
NTFS support (module)
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Swap supported (but not recommended, zSwap used already)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Automatic EFS backup
Full support for mpdecision for best compatibility and smoothness
(Important: use Boeffla-Config to configure min/max CPU frequencies + governors + schedulers only - or explicitely allow other apps/processes to overwrite this in Boeffla-Config settings, but expect weird side effects)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Google gcc 4.8 toolchain used for best stability
Initramfs of latest Samsung firmware
Based on latest Samsung sources
Kernel runs with SELinux enforcing by default, just as Samsung stock kernel for S5 - but can be configured to work in permissive mode in Boeffla-Config settings
Knox and Samsung rom security warnings removed
"

Please read post #1 of the developers thread, carefully and thoroughly, before proceeding. TOP TIP: Make a nandroid backup first.
 
Last edited:
VOLUME BOOST MOD

I am sure that some of you will have come across this simple mod to increase the overall volume of your S5, before but it has been updated to include Lollipop, Android 5.0...

[MOD][S5] Volume Boost [G900F] Multi TW / CM / Lollipop by stalli0nUK

In spite of the title, the mod should work on most rooted S5 device models in this forum, (not the, "H", octa core). It is just a simple flash via your custom recovery, CWM or TWRP. I am currently using the TouchWiz version on the latest Lollipop firmware, OK5, and find that v4 Lite + Headphone Increase is plenty loud enough and does not offer any distortion.

You must select your mod according to your ROM... either TouchWiz or AOSP and KitKat or Lollipop. If you are unsure which you have, see your particular ROM developer's thread. There is also a flashable .zip file to return the normal sound settings in case you want to revert back.

As with all mods... please take a nandroid backup before flashing and carefully and thoroughly read the dev's thread, linked above.




ironass motto... "Flash in haste... repent at leisure!" ;)
 
MARSHMALLOW ANDROID 6.0.1 unofficial

For those of you that cannot wait for Samsung to release the official stock firmware for Android 6.0, Marshmallow, which is probably around 3 months away yet, you can download and install the unofficial CyanogenMod Marshmallow build, now!

CyanogenMod is well known to those in the rooting community for their AOSP builds on near stock Google Nexus firmware. These unofficial releases are not for the inexperienced users and require reading, carefully and thoroughly, of the thread linked below. These are beta releases and so you can expect some issues. The unofficial build has been released by the renowned developer, albinoman887.

As mentioned in the first post of the thread linked to, below, this build covers not only the international model, G900F, (klte), but also a range of both GSM and CDMA Galaxy S5 models also. This ROM requires a FULL WIPE+FACTORY DATA RESET before installation.

Here is the main xda developers link...

[ROM] CyanogenMod 13.0 | Android 6.0.1 Marshmallow | [12/18/2015]

Here is a short video...

https://www.youtube.com/watch?v=ruNyZPfT36c


ironass motto... "Flash in haste... repent at leisure!"
 
Last edited:
MARSHMALLOW ANDROID 6.0.1 official

"The Samsung Galaxy S5 is scheduled to get Marshmallow eventually, but some models only received Android 5.1.1 in October, meaning most customers are in for quite the wait. Even when the changes do arrive, they may ultimately taste quite a bit like TouchWiz, and that's not a flavor everyone likes having on their tongue.

Fortunately the good old standby option, flashing a custom ROM, is still around, reminding us of the perks of Android's open source foundation. CyanogenMod nightlies running Android 6.0 have made their way to the Galaxy S5, codenamed klte. The full download comes in at 286MB, not counting the GApps package you will probably want to grab as well.

Now for the caveats. These are nightlies, so they may not provide the most stable experience. Whether that bothers you or not, you will need a GSM model to dive in right away. That said, this is not intended for AT&T carrier versions, nor is it going to work for Sprint (kltespr), Verizon (kltevzw), or US Cellular (klteusc) devices. Hopefully they will get the goods at some point, but considering only the Sprint model received CyanogenMod 12.1, maybe not.
"

Source

CyanogenMod website

CyanogenMod Wikipedia

Download

Google apps (gapps)

N.B. This is for experienced and competent users and may not be suitable for everyday use. AT&T and Verizon users will not receive CM13, or any other custom ROM, as they have unrootable carrier firmwares


ironass motto... "Flash in haste... repent at leisure!"
 
I am surprised at how stable these CM13, Marshmallow, Android 6.0.1 nightly releases are. There are some very nice features in Android 6.0.1, not the least of which is the treatment of the external SD card as an extension of the phone's memory. As you can see from the screenshot below, it has the latest, 1 January 2016, security patch as well.