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

Search This thread

alnevex

Member
Mar 31, 2023
5
2
Thanks for a great tutorial I followed this and now have Lineage 19 running on my Galaxy S5 G900f but I made a MISTAKE and allowed phone to reboot too early.

I have flashed with lineage and magisk but then rebooted phone before finishing the instructions.

(Go to Reboot > Recovery.

Back to Install > gapps*.zip.

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

now when I try to load TWRP i can only access down load mode.

Any suggestions on how I can fix this is there a way to wipe the partitions etc..
I am a total noob so sorry if this has been answered in a previous thread but my searches over the last couple of hours have not been sucessful.
 

djibe89

Senior Member
May 24, 2014
1,122
582
Samsung Galaxy Tab S2
Google Pixel 4a
Thanks for a great tutorial I followed this and now have Lineage 19 running on my Galaxy S5 G900f but I made a MISTAKE and allowed phone to reboot too early.

I have flashed with lineage and magisk but then rebooted phone before finishing the instructions.

(Go to Reboot > Recovery.

Back to Install > gapps*.zip.

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

now when I try to load TWRP i can only access down load mode.

Any suggestions on how I can fix this is there a way to wipe the partitions etc..
I am a total noob so sorry if this has been answered in a previous thread but my searches over the last couple of hours have not been sucessful.
Hi.
Reboot to recovery, format all partitions.
Restart fresh.
 

alnevex

Member
Mar 31, 2023
5
2
the problem i have is that i can't reboot to recovery only into odin mode.
When i press volume + home and power i cant access TWRP recovery.
have been looking for a solution to this for hours now so thanks for your response.

I flashed the Lineage19 plus magisk then got totally con fused. I do have a full TWRP backup but Not much use if I can't use twrp in recovery. followed everything and was doing great up till it says go to reboot>recovery,
i didn't follow the steps from there so now twrp doesn't respond.
sorry but i know this is a noob mistake just want to save the day if at all possible.
 

djibe89

Senior Member
May 24, 2014
1,122
582
Samsung Galaxy Tab S2
Google Pixel 4a
the problem i have is that i can't reboot to recovery only into odin mode.
When i press volume + home and power i cant access TWRP recovery.
have been looking for a solution to this for hours now so thanks for your response.

I flashed the Lineage19 plus magisk then got totally con fused. I do have a full TWRP backup but Not much use if I can't use twrp in recovery. followed everything and was doing great up till it says go to reboot>recovery,
i didn't follow the steps from there so now twrp doesn't respond.
sorry but i know this is a noob mistake just want to save the day if at all possible.
Sutdown phone.

Hold Power + Volume+ + Menu for 3 seconds and release.

If it doesn't work, flash TWRP again from Odin with Download mode.
 
  • Like
Reactions: alnevex

alnevex

Member
Mar 31, 2023
5
2
Thanks for getting back to me again. I had tried this and flashed sucessfully with twrp-3.7.0_9-0-klte.img but still couldn't get past Odin download mode.
So instead I flashed with the stock firmware for my device via Odin, then followed the tutorial again but didn't add Magisk and I have no idea how to use adb etc... Plus I was unsure about versions etc... So just Flashed with the lineage19 and Gapps and everything seems to be running fine.
Want to try android 13 next but the current which I did try [ lineage-20.0-20230215-UNOFFICIAL-ks01ltexx ]
which I downloaded returned an error, probably because I have wrong version (ks01ltexx?) , Total noob but I am happy that for now my phone is able to access google play and apps are downloading. Camera works though very basic, bluetooth, wifi, dialler etc.. all good.
Thankyou for taking time to help a noob and for your great work.

So it looks like my dilemma is solved for now.
 

calvin4242

Member
Sep 2, 2022
13
1
Hello djibe89,
As i can see, the LOS version you propose here "is taken" from this thread:

Have you implemented anything new to this version? Or is it completely the same?
You don't mention what is not working. But maybe everything is working well? So if it is the really same version as I said before, NFC is not working at all, not only on LOS 20 unofficial. Also there is very low light in front camera mode, so need to use another apk.
 
Last edited:

djibe89

Senior Member
May 24, 2014
1,122
582
Samsung Galaxy Tab S2
Google Pixel 4a
Hello djibe89,
As i can see, the LOS version you propose here "is taken" from this thread:

Have you implemented anything new to this version? Or is it completely the same?
You don't mention what is not working. But maybe everything is working well? So if it is the really same version as I said before, NFC is not working at all, not only on LOS 20 unofficial. Also there is very low light in front camera mode, so need to use another apk.
Thx.
I'll be more precise ans update tutorial ASAP.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 from Stock to Android 12
    [GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S5 klte/klteduos Stock to Android 12.1 / LineageOS 19.1

    This detailed step-by-step guide helps you transform your Samsung Galaxy S5 klte to a powerful one with Android 12.
    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-G900F
    - 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

    v3. Upgrade to Android 12.1
    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 Unofficial Lineage OS 19.1: https://forum.xda-developers.com/t/unofficial-lineageos-19-1-android-12l.4427639/
    klte build here: https://androidfilehost.com/?w=files&flid=333588&sort_by=date&sort_dir=DESC
    klteduos build here: https://androidfilehost.com/?w=files&flid=333591&sort_by=date&sort_dir=DESC
    kltechn build here: https://androidfilehost.com/?w=files&flid=333589&sort_by=date&sort_dir=DESC + TWRP https://eu.dl.twrp.me/kltechn
    kltedv (use klte TWRP recovery): https://androidfilehost.com/?w=files&flid=334307&sort_by=date&sort_dir=DESC
    kltekdi: https://androidfilehost.com/?w=files&flid=334308&sort_by=date&sort_dir=DESC + TWRP https://eu.dl.twrp.me/kltekdi/
    kltekor: https://androidfilehost.com/?w=files&flid=334309&sort_by=date&sort_dir=DESC + TWRP https://eu.dl.twrp.me/klteskt

    See official Android 11 builds here: https://download.lineageos.org/klte

    + MindTheGApps ARM 12.1: https://androidfilehost.com/?fid=15664248565197177718

    + 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 lineage*.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 > gapps*.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) EXTRA

    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
    1
    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
    1
    Thank you so much for the tutorial I was able to install it to my SM- G900V after a couple of tries!!!.
    The only issue I have now is: I don't know how to unlock my SIM so I can use with another carrier. Any HOWTO/ TUTORIAL for this?
    When I had my Galaxy S I, I remember I just changed modem using ODIN. I do not know if that is the solution to unlock for a different carrier in this phone.
    Hi,
    normaly you must desimlock before flashing new ROM.

    You should call your network provider (Orange, AT&T ...). With some operators you just have to enter your IMEI online to get your unlock code.
    1
    Don't follow the guide, when the phone version is
    SM-G900f ?
    Soooorry.

    Of course G900F is compatible !
    I fix it right now
    1
    the problem i have is that i can't reboot to recovery only into odin mode.
    When i press volume + home and power i cant access TWRP recovery.
    have been looking for a solution to this for hours now so thanks for your response.

    I flashed the Lineage19 plus magisk then got totally con fused. I do have a full TWRP backup but Not much use if I can't use twrp in recovery. followed everything and was doing great up till it says go to reboot>recovery,
    i didn't follow the steps from there so now twrp doesn't respond.
    sorry but i know this is a noob mistake just want to save the day if at all possible.
    Sutdown phone.

    Hold Power + Volume+ + Menu for 3 seconds and release.

    If it doesn't work, flash TWRP again from Odin with Download mode.