• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[RECOVERY][OFFICIAL][3.3.1-x] TWRP for Galaxy S9 and S9+ Exynos

Search This thread

corsicanu

Recognized Developer
May 25, 2012
1,941
12,958
Bucuresti
Ae08b8N.png

Official TWRP 3.3.1-* For Galaxy S9/S9+ Exynos
Only for exynos variants - G960F (Europe, Global Single-SIM); G960FD (Global Dual-SIM); G960N (South Korea); G965F (Europe, Global Single-SIM); G965FD (Global Dual-SIM); G965N (South Korea);
Disclaimer
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this recovery before flashing it!
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.


Features:
Code:
- built from Android 10 kernel source
- built from android-9.0 recovery sources
- built in full 64 mode
- fully compatible with Android 9.0/10.0

Downloads:

Instructions:
Odin

  1. Download latest Odin zip from downloads.corsicanu.ro/samsung
  2. Download and install Samsung Drivers (if you have them installed you can skip this step)
  3. Go to settings/Developer options and enable OEM unlock (If you don't see developer settings, go into Settings/About phone/Software info and tap "Build number" 10 times to show Developer options menu)
  4. Download TWRP_*.tar
  5. Switch off the phone
  6. Use Bixby Key+Volume Down+Power to enter Download Mode and connect the device to usb
  7. Open Odin and untick autoreboot in "options" tab. Also make sure that your device is detected
  8. Put TWRP_*.tar.md5 file into AP tab
  9. Click Start
  10. When Odin shows "PASS", take your device in hands, disconnect the usb cable and press simultaneously the "Bixby key" + "Vol. Down" + "Power" buttons until the downoad mode disappears
  11. At the precise moment the screen becomes black, immediately release the "Vol.Down" button and press the "Bixby key" + "Vol. UP" + "Power" buttons during 10 to 15sec to forcefully enter TWRP
  12. If it didn`t worked, redo the steps from #1 more careful this time.

TWRP
  • Download TWRP_*.img, push it into phone storage, choose install image in your current recovery, navigate to downloaded *.img file, select it, select to flash as recovery.
After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
If for any reason you fail to install TWRP multiple times/different methods, make sure you check this thread


Sources:
Credits:
  • TeamWin, jesec, geiti94, dyneteve, testers, donors and anyone else involved in making this possible
 
Last edited:

corsicanu

Recognized Developer
May 25, 2012
1,941
12,958
Bucuresti
FAQ / Further reading
Q: TWRP can't mount data partition, what to do?
A: Make sure you formatted data partition.

Q: Phone is not booting even after 20 minutes
A: Try to reboot. If still not booting, make sure you formatted data partition.

Q: How to format data partition?
A:
ymlnQUE.jpg


Q: Phone is showing only Samsung logo
A: Try to reboot. If still not booting, consider installing an older TWRP build or a more recent firmware.

Q: I get "Failed to mount /preload message", what to do?
A: From wipe menu select Advanced Wipe, select preload partition to be wiped and reboot recovery.

Q: Why do i need to format data partition?
A: Because old rom encrypted your data partition and new rom can't decrypt and use that content / root needs access to data partition to place misc files / phone not booting after flashing root until data partition gets formatted.
 

jamaljmys

Senior Member
Dec 16, 2007
911
48
thank you bro its working well
but when i go to TWRP i fount the data still encrypted and cannot be mounted although i did full data format and wipe. everytime i need to use TWRP i need to format data.
any solution around?
thanks
 

kridster

Senior Member
Feb 28, 2012
87
15
thank you bro its working well
but when i go to TWRP i fount the data still encrypted and cannot be mounted although i did full data format and wipe. everytime i need to use TWRP i need to format data.
any solution around?
thanks

I think I have a similar problem. These were my steps:
  1. flashed TWRP through Heimdall
  2. booted into TWRP
  3. wiped data
  4. flashed the no verity opt encrypt zip
  5. flashed LineageOS (official nightly from May 1st), gapps and Magisk

After that I booted the system and encryption was forced during boot. When I rebooted into recovery I was prompted to enter the password, which was not successful (decrypt failed because it took too long).

Before all that I was running an official and up-to-date Android 10 Samsung (April security patch).
 

mrjoy

Senior Member
Aug 24, 2012
2,472
168
The Heaven Of Punjab
Hi. I need emergency help. I'm new on s9+ & flashed twrp as well formatted data partition then flashed no-verity-opt-encrypt-6.1 but whenever entered to system then returned to recovery mode then i lost internal storage again again & again. Please help me. I'm on latest android 10 firmware.
 

D_Vovan_238

Senior Member
Sep 21, 2014
464
302
34
Ivano-Frankiws'k
Hi ?

Will you update the SHRP to latest TWRP Base ?
And will be very good if you will support the Orange Fox Recovery :)
I like those two recoveries because of password protection and they have more features…
Thanks for your work for our devices!
 

NotNotJustin

New member
Jul 8, 2020
1
0
Seems the dl link isn't working. I tried connecting to the dl site on my phone and my PC and both returned with a "This site can't be reached" error.

I just tried contacting TeamWin through the contact form on the TWRP website and it seems as though the submit file for the form was deleted.
 
Last edited:

Physics Joke

New member
Sep 8, 2020
1
0
Lineages os not support encryption ..so that why you have it problem like that...feel free to check on telegram support group So you will understand

So are you saying that LOS does not support disabling encryption? I tried the whole procedure multiple times and it seems that the patch fails because the fstab entries are not found in LOS.
Could an encrypted data partition cause issues recognizing the sim card? I find this hard to imagine, but I have both issues pretty persistently.

Cheers
 

moocou

Senior Member
Feb 7, 2013
137
42
The OP says:

Download TWRP_*.tar
Switch off the phone
Use Bixby Key+Volume Down+Power to enter Download Mode and connect the device to usb
Open Odin and untick autoreboot in "options" tab. Also make sure that your device is detected
Put TWRP_*.tar.md5 file into AP tab

I've downloaded twrp-3.3.1-1-starlte.img.tar (as recommended elsewhere for my S9) but how do I do the last part?

What is TWRP_*.tar.md5 file? How do I get it?
 
Last edited:

sacharja

Member
Dec 27, 2014
38
13
Is there anyone who got TWRP 3.4.0 working with encryption on a Samsung Galaxy S9?

My experiences after 1 hard week:
1. On Stock: TWRP always showed an unlock option via PIN, but it was never able to decrypt (neither default_password, nor disabling lockscreen, nor setting another PIN/Password in locksetings helped)
2. On Magisk: TWRP never showed an unlock option & was never able to decrypt
3. Only option was to disabled encryption --> the old encryption disabler from OP doesn't work, updated Disable_Dm-Verity_ForceEncrypt_03.04.2020 has to be used ( https://forum.xda-developers.com/an...rceencrypt-t3817389/post77091359#post77091359 ) --> patter lock & fingerprint cannot be used in the future

A little disappointing considering that the unlock option of TWRP & changelog suggests that decrypting should work.

@moocou
BTW: Put TWRP_*.tar file into AP tab
 
Last edited:
  • Like
Reactions: Tarar

Top Liked Posts

  • There are no posts matching your filters.
  • 26
    Ae08b8N.png

    Official TWRP 3.3.1-* For Galaxy S9/S9+ Exynos
    Only for exynos variants - G960F (Europe, Global Single-SIM); G960FD (Global Dual-SIM); G960N (South Korea); G965F (Europe, Global Single-SIM); G965FD (Global Dual-SIM); G965N (South Korea);
    Disclaimer
    I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
    Please do some research if you have any concerns about features included in this recovery before flashing it!
    YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.


    Features:
    Code:
    - built from Android 10 kernel source
    - built from android-9.0 recovery sources
    - built in full 64 mode
    - fully compatible with Android 9.0/10.0

    Downloads:

    Instructions:
    Odin

    1. Download latest Odin zip from downloads.corsicanu.ro/samsung
    2. Download and install Samsung Drivers (if you have them installed you can skip this step)
    3. Go to settings/Developer options and enable OEM unlock (If you don't see developer settings, go into Settings/About phone/Software info and tap "Build number" 10 times to show Developer options menu)
    4. Download TWRP_*.tar
    5. Switch off the phone
    6. Use Bixby Key+Volume Down+Power to enter Download Mode and connect the device to usb
    7. Open Odin and untick autoreboot in "options" tab. Also make sure that your device is detected
    8. Put TWRP_*.tar.md5 file into AP tab
    9. Click Start
    10. When Odin shows "PASS", take your device in hands, disconnect the usb cable and press simultaneously the "Bixby key" + "Vol. Down" + "Power" buttons until the downoad mode disappears
    11. At the precise moment the screen becomes black, immediately release the "Vol.Down" button and press the "Bixby key" + "Vol. UP" + "Power" buttons during 10 to 15sec to forcefully enter TWRP
    12. If it didn`t worked, redo the steps from #1 more careful this time.

    TWRP
    • Download TWRP_*.img, push it into phone storage, choose install image in your current recovery, navigate to downloaded *.img file, select it, select to flash as recovery.
    After booting in TWRP download and flash no-verity-opt-encrypt-6.1 zip to disable data partition encryption
    If for any reason you fail to install TWRP multiple times/different methods, make sure you check this thread


    Sources:
    Credits:
    • TeamWin, jesec, geiti94, dyneteve, testers, donors and anyone else involved in making this possible
    10
    FAQ / Further reading
    Q: TWRP can't mount data partition, what to do?
    A: Make sure you formatted data partition.

    Q: Phone is not booting even after 20 minutes
    A: Try to reboot. If still not booting, make sure you formatted data partition.

    Q: How to format data partition?
    A:
    ymlnQUE.jpg


    Q: Phone is showing only Samsung logo
    A: Try to reboot. If still not booting, consider installing an older TWRP build or a more recent firmware.

    Q: I get "Failed to mount /preload message", what to do?
    A: From wipe menu select Advanced Wipe, select preload partition to be wiped and reboot recovery.

    Q: Why do i need to format data partition?
    A: Because old rom encrypted your data partition and new rom can't decrypt and use that content / root needs access to data partition to place misc files / phone not booting after flashing root until data partition gets formatted.
    1
    Is there anyone who got TWRP 3.4.0 working with encryption on a Samsung Galaxy S9?

    My experiences after 1 hard week:
    1. On Stock: TWRP always showed an unlock option via PIN, but it was never able to decrypt (neither default_password, nor disabling lockscreen, nor setting another PIN/Password in locksetings helped)
    2. On Magisk: TWRP never showed an unlock option & was never able to decrypt
    3. Only option was to disabled encryption --> the old encryption disabler from OP doesn't work, updated Disable_Dm-Verity_ForceEncrypt_03.04.2020 has to be used ( https://forum.xda-developers.com/an...rceencrypt-t3817389/post77091359#post77091359 ) --> patter lock & fingerprint cannot be used in the future

    A little disappointing considering that the unlock option of TWRP & changelog suggests that decrypting should work.

    @moocou
    BTW: Put TWRP_*.tar file into AP tab