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

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 from Stock to Android 11

Search This thread

djibe89

Senior Member
May 24, 2014
799
455
Google Nexus 4
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 from Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 SM-G900F/klte Stock to Android 11 / LineageOS 18.1

This detailed step-by-step guide helps you transform your Samsung Galaxy S5 klte to a powerful one with Android 11.
Make sure your phone is SM-G900F before going further: in Android, go to Settings > About device > Model number is SM-G900F (or model listed below).

Other compatible models:

- SM-G900M
- SM-G900R4
- SM-G900R7
- SM-G900T
- SM-G900V
- SM-G900W8

If not, quit this tutorial.
Disney+ and Netflix are working.


CHANGELOG

v1. Initial release for Android 11


1) DOWNLOAD

- djibe Galaxy S5 klte pack: https://bit.ly/djibe-galaxys5-pack
(contains Samsung tweaked Odin 3.13.1 + Samsung USB drivers + TWRP 3.5.2_9-0 official recovery + Magisk Root + Aurora Store). Unzip files.

+ ROM Official Lineage OS 18.1: https://forum.xda-developers.com/t/...geos-18-1-for-samsung-galaxy-s5-klte.4267517/
Download latest build here: https://download.lineageos.org/klte

+ BitGApps Package ARM 11 (R44+): https://forum.xda-developers.com/t/custom-gapps-bitgapps-for-android.4012165/post-81060605
Download latest build: https://github.com/BiTGApps/BiTGApps-Release/releases

+ a microSD card. Copy ROM, Gapps, Magisk root and Aurora Store on microSD card (FAT32 format) and insert it in phone.

+ Charge phone to 100%


2) BACKUP DATA

Install Samsung drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode.
Collect all .jpg or .mp4

Use app like Backupyourmobile and SMS backup & Restore to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.

Now connect to Wi-Fi, Settings > About device > Download updates manually (wait during process) > The latest updates have already been installed.

Try another SIM card from another provider to make sure you are not SIMlocked.


3) FLASH TWRP 3.5 RECOVERY

Shut down phone.
Boot in Download Mode : hold Home + Power + Volume- until you see Warning's screen and release all buttons.
Confirm access to Download mode by pressing Volume+.

Connect phone in USB, wait during bootloader drivers installation.

Then launch Odin.exe (included in my archive) and wait for Odin indicator ID:COM to become blue.
In options: Verify re-partition and Auto Reboot are NOT ticked while F. Reset Time is ticked.
In Files > PDA > select twrp-3.5.2_9-0-klte.img.tar

### Warranty will be Void after next click ###
Click Start.

When Success green message appears, hold Power button for 10 seconds to shutdown phone.


4) BACKUP IMEI PARTITION AND SYSTEM (Nandroid backup)

Boot in Recovery Mode: Hold Home + Power + Volume+ until you see Samsung's logo then release and wait a few seconds for TWRP recovery to boot.
Recovery asks for Keep System Read Only ? > Swipe to Allow Modifications.

Go to Backup > you can select the partitions you want to save.
Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.
If IMEI is lost during a flash, phone won't be able to reach cellphone networks.
I prefer to backup Modem, Boot, System and EFS.
Now type Select Storage > Select Micro SD card and confirm with OK
Now Swipe to Backup and wait during process.
Go to Home screen and continue with next chapter.


5) FORMAT PARTITIONS

Go to Wipe > Format Data
Type yes and confirm with bottom right icon.

Go to Wipe > Advanced wipe,
select Dalvik, System, Data, Internal Storage (if you really made a backup from step 2), Cache, then Swipe to Wipe,
then back.
### Don't select microSD or you will lose your backup


6) FLASH ROM, GAPPS and MAGISK ROOT

Go back to TWRP Home menu. Then tap on Install > choose LOS18*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active).
then Add more Zips -> bitgapps*.zip,
(Optional) then Add more Zips -> Magisk*.zip,
then Swipe to confirm Flash.
Wait for operation to end.

Then tap Wipe cache/dalvik, swipe to confirm,
then Reboot System.
Wait for the phone to boot during 5 minutes.

### Don't connect to your Google account before setting up root.


7) ROOT ACCESS (Optional)

Launch Magisk app and allow extra Downloads.
Go to Settings: switch MagiskHide ON and Hide it by renaming it (last App option).
Now go to Modules: install liboemcrypto disabler, MagiskHide Props Config and Riru.
Then Install from storage > select safetynet-fix-v2.1.1.zip to install it.
Reboot phone.

Back to Magisk app (renamed) > Use Check SafetyNet and Success! is now displayed.

Back to Android, open the Settings menu > About Phone.
Tap on the "Build number" entry seven times. You are notified that developer settings are now active.
Go to Settings > System > Advanced > Developer options,
Set Animations and transition scales to x 0,5.

If Netflix or Disney+ are not accessible from the Play Store, use Aurora Store (available in my pack).

### If you experience too many problems, uninstall Magisk from the app.


8) STORE YOUR BACKUP IN A SAFE PLACE

Connect phone or microSD to PC.
Open microSD folder and backup TWRP folder to a safe place.
Youe /efs partition is now safe (+/- other partitions if you need to fix some crashes)


Enjoy,
djibe

Thanks: @haggertk, LOS Team, TWRP Team, BitGapps team, topjohnwu
 
Last edited:
  • Like
Reactions: jiabanster

fabin65

Member
Sep 14, 2021
10
1
Honor 8
hello congratulations excellent complete and easy guide even for beginners, followed it all ok except that the bluetooth does not work you know how I can solve it thanks
 

7105

New member
Dec 5, 2021
1
0
How different is the SM-G900I model? Would it be possible to use this method?
Thanks
 

fabin65

Member
Sep 14, 2021
10
1
Honor 8
hello everyone I noticed that to recharge the battery it takes a long time with the phone off, while with the phone on it can't recharge, does it do it to you too?
 

fabin65

Member
Sep 14, 2021
10
1
Honor 8
Ciao, non ho avuto problemi a caricare e spegnere.
Mi dispiace non saperne di più su questo.
Potresti dirci quando lo scopri?
Grazie
hello the phone works fine, only I noticed that to recharge the battery it takes many hours with the phone off, if I then try to recharge it with the phone running it cannot recharge the battery, I tried with different cables and chargers but it is always the same .
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 from Stock to Android 11
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 SM-G900F/klte Stock to Android 11 / LineageOS 18.1

    This detailed step-by-step guide helps you transform your Samsung Galaxy S5 klte to a powerful one with Android 11.
    Make sure your phone is SM-G900F before going further: in Android, go to Settings > About device > Model number is SM-G900F (or model listed below).

    Other compatible models:

    - SM-G900M
    - SM-G900R4
    - SM-G900R7
    - SM-G900T
    - SM-G900V
    - SM-G900W8

    If not, quit this tutorial.
    Disney+ and Netflix are working.


    CHANGELOG

    v1. Initial release for Android 11


    1) DOWNLOAD

    - djibe Galaxy S5 klte pack: https://bit.ly/djibe-galaxys5-pack
    (contains Samsung tweaked Odin 3.13.1 + Samsung USB drivers + TWRP 3.5.2_9-0 official recovery + Magisk Root + Aurora Store). Unzip files.

    + ROM Official Lineage OS 18.1: https://forum.xda-developers.com/t/...geos-18-1-for-samsung-galaxy-s5-klte.4267517/
    Download latest build here: https://download.lineageos.org/klte

    + BitGApps Package ARM 11 (R44+): https://forum.xda-developers.com/t/custom-gapps-bitgapps-for-android.4012165/post-81060605
    Download latest build: https://github.com/BiTGApps/BiTGApps-Release/releases

    + a microSD card. Copy ROM, Gapps, Magisk root and Aurora Store on microSD card (FAT32 format) and insert it in phone.

    + Charge phone to 100%


    2) BACKUP DATA

    Install Samsung drivers (you unzipped earlier).
    Then plug phone to PC in File transfer mode.
    Collect all .jpg or .mp4

    Use app like Backupyourmobile and SMS backup & Restore to backup texts, contacts, etc.
    Check that backup is located on microSD card.
    Then copy the backup on your PC.

    Now connect to Wi-Fi, Settings > About device > Download updates manually (wait during process) > The latest updates have already been installed.

    Try another SIM card from another provider to make sure you are not SIMlocked.


    3) FLASH TWRP 3.5 RECOVERY

    Shut down phone.
    Boot in Download Mode : hold Home + Power + Volume- until you see Warning's screen and release all buttons.
    Confirm access to Download mode by pressing Volume+.

    Connect phone in USB, wait during bootloader drivers installation.

    Then launch Odin.exe (included in my archive) and wait for Odin indicator ID:COM to become blue.
    In options: Verify re-partition and Auto Reboot are NOT ticked while F. Reset Time is ticked.
    In Files > PDA > select twrp-3.5.2_9-0-klte.img.tar

    ### Warranty will be Void after next click ###
    Click Start.

    When Success green message appears, hold Power button for 10 seconds to shutdown phone.


    4) BACKUP IMEI PARTITION AND SYSTEM (Nandroid backup)

    Boot in Recovery Mode: Hold Home + Power + Volume+ until you see Samsung's logo then release and wait a few seconds for TWRP recovery to boot.
    Recovery asks for Keep System Read Only ? > Swipe to Allow Modifications.

    Go to Backup > you can select the partitions you want to save.
    Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.
    If IMEI is lost during a flash, phone won't be able to reach cellphone networks.
    I prefer to backup Modem, Boot, System and EFS.
    Now type Select Storage > Select Micro SD card and confirm with OK
    Now Swipe to Backup and wait during process.
    Go to Home screen and continue with next chapter.


    5) FORMAT PARTITIONS

    Go to Wipe > Format Data
    Type yes and confirm with bottom right icon.

    Go to Wipe > Advanced wipe,
    select Dalvik, System, Data, Internal Storage (if you really made a backup from step 2), Cache, then Swipe to Wipe,
    then back.
    ### Don't select microSD or you will lose your backup


    6) FLASH ROM, GAPPS and MAGISK ROOT

    Go back to TWRP Home menu. Then tap on Install > choose LOS18*.zip,
    (if you don't see the files, tap on Select Storage and make sure Micro SDCard is active).
    then Add more Zips -> bitgapps*.zip,
    (Optional) then Add more Zips -> Magisk*.zip,
    then Swipe to confirm Flash.
    Wait for operation to end.

    Then tap Wipe cache/dalvik, swipe to confirm,
    then Reboot System.
    Wait for the phone to boot during 5 minutes.

    ### Don't connect to your Google account before setting up root.


    7) ROOT ACCESS (Optional)

    Launch Magisk app and allow extra Downloads.
    Go to Settings: switch MagiskHide ON and Hide it by renaming it (last App option).
    Now go to Modules: install liboemcrypto disabler, MagiskHide Props Config and Riru.
    Then Install from storage > select safetynet-fix-v2.1.1.zip to install it.
    Reboot phone.

    Back to Magisk app (renamed) > Use Check SafetyNet and Success! is now displayed.

    Back to Android, open the Settings menu > About Phone.
    Tap on the "Build number" entry seven times. You are notified that developer settings are now active.
    Go to Settings > System > Advanced > Developer options,
    Set Animations and transition scales to x 0,5.

    If Netflix or Disney+ are not accessible from the Play Store, use Aurora Store (available in my pack).

    ### If you experience too many problems, uninstall Magisk from the app.


    8) STORE YOUR BACKUP IN A SAFE PLACE

    Connect phone or microSD to PC.
    Open microSD folder and backup TWRP folder to a safe place.
    Youe /efs partition is now safe (+/- other partitions if you need to fix some crashes)


    Enjoy,
    djibe

    Thanks: @haggertk, LOS Team, TWRP Team, BitGapps team, topjohnwu