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

Search This thread

djibe89

Senior Member
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 from Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 klte/klteduos 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 compatible klte model before going further: in Android, go to Settings > About device > Model number is X (model listed below).

klte models:

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

klteduos models: SM-G900FD and SM-G900MD
kltechn models: SM-G9006V, SM-G9008V
kltechnduo models: SM-G9006W, SM-G9008W
kltedv models: SM-G900I, SM-G900P
kltekdi models: SC-04F, SCL23
kltekor models: SM-G900K, SM-G900L, SM-G900S

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


CHANGELOG

v2. Update pack with TWRP, add other S5 variants
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.6.0_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/
klte build here: https://download.lineageos.org/klte
klteduos build here: https://download.lineageos.org/klteduos
kltechn build here: https://download.lineageos.org/kltechn + TWRP https://eu.dl.twrp.me/kltechn
kltedv (use klte TWRP recovery): https://download.lineageos.org/kltedv
kltekdi: https://download.lineageos.org/kltekdi + TWRP https://eu.dl.twrp.me/kltekdi/
kltekor: https://download.lineageos.org/kltekor + TWRP https://eu.dl.twrp.me/klteskt

+ 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.6 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.6.0_9-0-klte.img.tar
### Or klteduos

### 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,
(Optional) then Add more Zips > Magisk*.zip,
### If you don't see the files, tap on Select Storage and make sure Micro SDCard is active.
then Swipe to confirm Flash.

Go to Reboot > Recovery.

Back to Install > bitgapps*.zip.

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:

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 .
 

abduls16

New member
Mar 31, 2022
2
0
Hi, maybe try to flash TWRP in Download mode straight away and keep us informed
Hi thank you for your response and Thank you for the detailed information. I was able to get a Samsung Galaxy S5 - SM-G900W8 to Android 11. I wasn't able to root it, but I think okay without rooting. I mainly needed a newer OS on this device to a few apps compatibility.

When I first looked into upgrading the OS, I got stuck in trying to unlock the boot loader as Fastboot just wasn't seeing the device. ADB would see it, but fastboot commands wouldn't work. I then came across this post and gave it a shot which worked out for me.

Being a newbie and getting to this stage with all your help...feels great!...
Thank you all!
 

djibe89

Senior Member
Hi thank you for your response and Thank you for the detailed information. I was able to get a Samsung Galaxy S5 - SM-G900W8 to Android 11. I wasn't able to root it, but I think okay without rooting. I mainly needed a newer OS on this device to a few apps compatibility.

When I first looked into upgrading the OS, I got stuck in trying to unlock the boot loader as Fastboot just wasn't seeing the device. ADB would see it, but fastboot commands wouldn't work. I then came across this post and gave it a shot which worked out for me.

Being a newbie and getting to this stage with all your help...feels great!...
Thank you all!
Hi,

Samsung devices are great because of Download mode. You nearly cannot hard brick it.

With Samsung, you don't need fastboot and adb things.
Just use Odin and TWRP

Enjoy
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 from Stock to Android 11
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 klte/klteduos 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 compatible klte model before going further: in Android, go to Settings > About device > Model number is X (model listed below).

    klte models:

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

    klteduos models: SM-G900FD and SM-G900MD
    kltechn models: SM-G9006V, SM-G9008V
    kltechnduo models: SM-G9006W, SM-G9008W
    kltedv models: SM-G900I, SM-G900P
    kltekdi models: SC-04F, SCL23
    kltekor models: SM-G900K, SM-G900L, SM-G900S

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


    CHANGELOG

    v2. Update pack with TWRP, add other S5 variants
    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.6.0_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/
    klte build here: https://download.lineageos.org/klte
    klteduos build here: https://download.lineageos.org/klteduos
    kltechn build here: https://download.lineageos.org/kltechn + TWRP https://eu.dl.twrp.me/kltechn
    kltedv (use klte TWRP recovery): https://download.lineageos.org/kltedv
    kltekdi: https://download.lineageos.org/kltekdi + TWRP https://eu.dl.twrp.me/kltekdi/
    kltekor: https://download.lineageos.org/kltekor + TWRP https://eu.dl.twrp.me/klteskt

    + 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.6 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.6.0_9-0-klte.img.tar
    ### Or klteduos

    ### 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,
    (Optional) then Add more Zips > Magisk*.zip,
    ### If you don't see the files, tap on Select Storage and make sure Micro SDCard is active.
    then Swipe to confirm Flash.

    Go to Reboot > Recovery.

    Back to Install > bitgapps*.zip.

    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