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

[RECOVERY][UNOFFICIAL] TWRP for the Samsung Galaxy S5

Search This thread

PlayfulGod

Inactive Recognized Developer
Sep 28, 2010
1,886
3,059
Dalton
Ok folks, thanks to some leakage, some awesome users/testers, Chainfire and his root magic, and me with so of mine, you all have a fully functioning TWRP Recovery. ;)

Official TWRP

Confirmed working on:
  • G900F
  • G900T
  • G900W8
  • G900I
  • G900P
  • G900M

Confirmed not working on:
  • G900H - exynos - Its recovery can found here
  • G900V - locked bootloader (thanks Verizon!!!)
  • G900A - locked bootloader (thanks AT&T!!)

Note: No one but yourself is responsible for what you do to your device. ;)


People to Thank

  • TeamWin - for their awesome recovery.
  • TeamWin - for their hlte device repo I ported to the klte (kltexxx in this case)
  • ricky310711 - for providing dumps and testing
  • leoaudio13 - for providing access to device and testing
  • utkanos - for his original work on hlte (which all this is based off of)


Known Issues

  • Write permissions to internal storage.


How to install via adb shell
  1. Have USB drivers installed
  2. Connect phone to PC
  3. Open terminal or cmd
  4. Code:
    adb push recovery.img /data/local/tmp/recovery.img
  5. Code:
    adb shell su -c dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery


How to install with Odin
  1. (USB) Disconnect your phone from your computer
  2. Start Odin3-vX.X.exe
  3. Click the PDA button, and select twrp-klte.tar
  4. 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)
  5. (USB) Connect the phone to your computer
  6. Make sure Repartition is NOT checked
  7. Click the Start button
  8. Wait for Android to boot
  9. Done (if it took you more than 30 seconds, you goofed)

NOTE: Sometimes the device does *not* boot into recovery mode. Just do the entire procedure again if this happens. If it still will not install, 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.

The Goods

Official TWRP can be found here.

XDA:DevDB Information
TWRP for the Samsung Galaxy S5, Tool/Utility for the Samsung Galaxy S 5

Contributors
PlayfulGod, leoaudio13, utkanos, biggbiff

Version Information
Status: Stable
Stable Release Date: 2014-04-22

Created 2014-03-28
Last Updated 2014-06-08
 

leoaudio13

Senior Member
Feb 24, 2010
706
215
Somewhere on Earth
Dunno until someone tries it. ;)

PG, for some reason while flashing the CWM swipe, it fked up the platform.xml in /syste/etc/ . That caused Titanium Backup to stop function properly while doing a backup to external SD. Is it the recovery or its a problem with Kitkat ? I got the same problem with Note 3 ( Exynos and SnapDragon too ). The only way to fix was to do like this picture below :

4u6rz5.png

( Source : http://forum.xda-developers.com/showthread.php?t=2537793 )
 

PlayfulGod

Inactive Recognized Developer
Sep 28, 2010
1,886
3,059
Dalton
PG, for some reason while flashing the CWM swipe, it fked up the platform.xml in /syste/etc/ . That caused Titanium Backup to stop function properly while doing a backup to external SD. Is it the recovery or its a problem with Kitkat ? I got the same problem with Note 3 ( Exynos and SnapDragon too ). The only way to fix was to do like this picture below :

4u6rz5.png

( Source : http://forum.xda-developers.com/showthread.php?t=2537793 )

umm I dont see that file in the system dump nor in cwm. So my guess is its a tibu issue. ;)

not to mention, those look like app manifest permissions. And the Write permission overrides the read permission. ;)
 
Last edited:

leoaudio13

Senior Member
Feb 24, 2010
706
215
Somewhere on Earth
umm I dont see that file in the system dump nor in cwm. So my guess is its a tibu issue. ;)

not to mention, those look like app manifest permissions.

Yup maybe. On the Nexus 5 Kitkat, TB made restored apps force closed. But TB team fixed it. But as far as i remember, When i was testing your recovery ( pretty sure it was cwm swipe) after 2 or 3 flashes, problem arose. Ricky and me thought it was an SD card issue ( wrong permission, full sd card or something like that ) but it turned out the problem was the platform.xml . Not so sure as if TB made any change to platform.xml or not.
 

0mega007

Senior Member
Dec 28, 2011
563
37
PG, for some reason while flashing the CWM swipe, it fked up the platform.xml in /syste/etc/ . That caused Titanium Backup to stop function properly while doing a backup to external SD. Is it the recovery or its a problem with Kitkat ? I got the same problem with Note 3 ( Exynos and SnapDragon too ). The only way to fix was to do like this picture below :

4u6rz5.png

( Source : http://forum.xda-developers.com/showthread.php?t=2537793 )

this was on a SM-G900H?

Did the recovery worked?

I just want it to completely wipe the phone before install new roms. so this bug doesnt matter to me if it worked
 

gimmick56

Senior Member
Oct 2, 2012
2,048
2,291
Greven
Hi mate,
many thanks for the S5(G900F) TWRP recovery,
i have a question about the backup to extSD, it do not work
Error code:
E: Unable to create folder: /external_sd/TWRP/BACKUPS (error13)
E: Faild to make a backup folder
I have set this folder manuelly but the error comes again
Backup to internal SD works ok (big file with 3,4GB without set all Apps)
thanks in advance
 

Top Liked Posts

  • There are no posts matching your filters.
  • 67
    Ok folks, thanks to some leakage, some awesome users/testers, Chainfire and his root magic, and me with so of mine, you all have a fully functioning TWRP Recovery. ;)

    Official TWRP

    Confirmed working on:
    • G900F
    • G900T
    • G900W8
    • G900I
    • G900P
    • G900M

    Confirmed not working on:
    • G900H - exynos - Its recovery can found here
    • G900V - locked bootloader (thanks Verizon!!!)
    • G900A - locked bootloader (thanks AT&T!!)

    Note: No one but yourself is responsible for what you do to your device. ;)


    People to Thank

    • TeamWin - for their awesome recovery.
    • TeamWin - for their hlte device repo I ported to the klte (kltexxx in this case)
    • ricky310711 - for providing dumps and testing
    • leoaudio13 - for providing access to device and testing
    • utkanos - for his original work on hlte (which all this is based off of)


    Known Issues

    • Write permissions to internal storage.


    How to install via adb shell
    1. Have USB drivers installed
    2. Connect phone to PC
    3. Open terminal or cmd
    4. Code:
      adb push recovery.img /data/local/tmp/recovery.img
    5. Code:
      adb shell su -c dd if=/data/local/tmp/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery


    How to install with Odin
    1. (USB) Disconnect your phone from your computer
    2. Start Odin3-vX.X.exe
    3. Click the PDA button, and select twrp-klte.tar
    4. 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)
    5. (USB) Connect the phone to your computer
    6. Make sure Repartition is NOT checked
    7. Click the Start button
    8. Wait for Android to boot
    9. Done (if it took you more than 30 seconds, you goofed)

    NOTE: Sometimes the device does *not* boot into recovery mode. Just do the entire procedure again if this happens. If it still will not install, 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.

    The Goods

    Official TWRP can be found here.

    XDA:DevDB Information
    TWRP for the Samsung Galaxy S5, Tool/Utility for the Samsung Galaxy S 5

    Contributors
    PlayfulGod, leoaudio13, utkanos, biggbiff

    Version Information
    Status: Stable
    Stable Release Date: 2014-04-22

    Created 2014-03-28
    Last Updated 2014-06-08
    5
    Test imgs!!!!!!

    Reserved
    4
    The external SD card write problem that I was experiencing on the Sprint variant is due to the TWRP source being used as the base doe not include exFAT support.

    I have the same issue w/ SM-G900T, flashed ODIN tar, formatted card on phone and can't TWRP doesn't put backups on external SD card. How does SD card have to be formatted for this to work?

    I might can fix that, give me a few minutes. ;)


    twrp-klte.tar

    someone test that for exfat sdcards. ;)
    4
    oops good point.

    I used the recovery.img.md5 from the first post.

    mainly for the convenience of using odin vs manual.

    If that didn't work I was planning on flashing the ones on the second post, but it worked...So I didn't. should I?

    Sent from my SM-G900M using Tapatalk

    k thanks. I am just trying to help get things good for Dees_Troy to ship official TWRP.

    The klte.test.tar is what needs verified working so I can push my changes, Dee merged them into his repo and do a build and get it tested and verified. ;)

    If you or anyone else doesnt mind testing, it would be much appreciated.
    4
    :) kewl I'll put it in the downloads tab.

    Sent from my Galaxy Nexus using Tapatalk