• XDA Forums have been migrated to XenForo. We are aware of several issues including missing threads, logins not working, and more. To discuss, use this thread.

[RECOVERY][OFFICIAL][3.4.0-x] TWRP for Galaxy S10/e/+/5G Exynos

corsicanu

Recognized Developer
May 25, 2012
1,913
12,060
113
Bucuresti


WARNING! THIS TWRP IS NOT COMPATIBLE WITH ONEUI 3.0 BETA - ANDROID 11! DO NOT FLASH IT OR YOU WILL END UP WITH A SOFT BRICKED DEVICE

Official TWRP 3.4.0-* For Galaxy S10/e/+/5G Exynos
Only for exynos variants - G970F / G973F / G975F / G977B (Europe - Global, Single/Dual-SIM), G970N / G973N / G975N / G977N (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.


Kernel Features:
  • latest kernel source release (G97*FXXU8DTH7 / G977BXXU5DTH7)
  • disabled uh/defex/proca/knox/rkp/rooting protection/logging/audit/useless features
  • spoofed config for firmware checks
Recovery Features:
  • built in full 64 mode
  • toybox/busybox support
  • compatible only with Android 10.0
  • full f2fs support (requires compatible rom)
Downloads:
Instructions:
Odin (Windows)
Prerequisites: Samsung USB drivers, Odin v3.14.1
If you already have the bootloader unlocked you can skip to step 6.

  1. Make sure OEM Unlock is ON in developer settings;
  2. Turn off the phone;
  3. Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode;
  4. Long press vol up then confirm you want to unlock bootloader (this is needed one time only);
    * Please be aware all your data will be erased including internal storage and phone will reboot!!
  5. Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
  6. Make sure OEM Unlock is ON in developer settings;
  7. Turn off the phone;
  8. Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
    * If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
  9. Download appropriate TWRP .tar file according to your device
  10. Download avb disabled vbmeta .tar
  11. Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + bixby + power to force it boot straight in TWRP after flashing
!! Only if coming from full stock firmware
  • In TWRP home screen press wipe - format data - yes
  • Download and flash multidisabler-samsung-2.* zip to disable security and encryption.

Heimdall (Linux)
Install heimdall & additional required packages:
Code:
sudo apt-get update
sudo apt-get install heimdall-flash android-tools-fastboot android-tools-adb libusb-0.1-4 libusb-1.0-0 libusb-1.0-0-dev
If you already have the bootloader unlocked you can skip to step 6.

  1. Make sure OEM Unlock is ON in developer settings;
  2. Turn off the phone;
  3. Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode;
  4. Long press vol up then confirm you want to unlock bootloader (this is needed one time only);
    * Please be aware all your data will be erased including internal storage and phone will reboot!!
  5. Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
  6. Make sure OEM Unlock is ON in developer settings;
  7. Turn off the phone;
  8. Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
    * If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
  9. Download appropriate TWRP .img file according to your device
  10. Download avb disabled vbmeta .img
  11. Open your preferred terminal in linux and type (replace red lines with the path of downloaded img files):
    Code:
    sudo heimdall flash --RECOVERY [COLOR="Red"]/path/to/recovery.img[/COLOR] --VBMETA [COLOR="Red"]/path/to/vbmeta.img[/COLOR]
    and press enter - once you press enter grab the phone and press vol up + bixby + power to force it boot straight in TWRP after flashing
!! Only if coming from full stock firmware
  • In TWRP home screen press wipe - format data - yes
  • Download and flash multidisabler-samsung-2.* zip to disable security and encryption.

TWRP

  • Download .img file for your device and install from your current TWRP with Install image - browse to image location and select - Recovery
dd (Requires root)

  • Download .img file for your device, place it in the root of your /sdcard folder, rename it to twrp.img then run the following commands via adb shell or a terminal emulator app:
    Code:
    su
    dd if=/sdcard/twrp.img of=/dev/block/platform/13d60000.ufs/by-name/recovery
!! Only if coming from full stock (magisk patched) firmware
  • In TWRP home screen press wipe - format data - yes
  • Download and flash multidisabler-samsung-2.* zip to disable security and encryption.

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

corsicanu

Recognized Developer
May 25, 2012
1,913
12,060
113
Bucuresti
WARNING! THIS TWRP IS NOT COMPATIBLE WITH ONEUI 3.0 BETA - ANDROID 11! DO NOT FLASH IT OR YOU WILL END UP WITH A SOFT BRICKED DEVICE

Compatibility and changelog:
18.11.2020 - november DTJ* kernel sourcecode
  • Security patch: 2020-11-01
  • Compatibility: only DTJ* firmwares
22.10.2020 - Initial release
  • Security patch: 2020-10-01
  • Compatibility: DTI* firmwares
Misc links:
Further reading:
 
Last edited:

corsicanu

Recognized Developer
May 25, 2012
1,913
12,060
113
Bucuresti
FAQ
Q: Can i use this recovery with other firmware then mentioned in compatibility?
A: Only with same Android version and only if you don't plan to boot rooted with TWRP (some kernels deliver root prebuilt in kernel), or Rollback protection will kick in and you won't be able to pass the lockscreen.

Q: Where do i get vbmeta.img?
A: From here, download the one you need according to install instructions.

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 flashed multidisabler zip / formatted data partition.

Q: How to format data partition?
A:


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. If you still don't succeed, post here some details about your device and previous firmware and we might be able to help.

Q: Why do i need to format data partition?
A: Because old firmware 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.
 
Last edited:

hinxnz

New member
Jul 21, 2009
2,816
2,401
0
Can I just flash this to recovery in ians twrp that I currently have?
What it says on the box...
If you already have TWRP installed, download .img file according to instructions from step 9 from above, and install from your current TWRP with Install image - browse to image location and select - Recovery
 

Norup58

Senior Member
Jan 2, 2015
269
107
43
is this better than the ianmcd 3.4.0.3 TWRP?
My thoughts exactly!
For that matter, is it better than Modpunk's 3.4.0-0?
There are various custom ROM Modders stating use this (name) TWRP - all stating different TWRPs.

Presently we have 3 different Mods versions of TWRPs for the S10- family.
I, for one, have difficulty in seeing the difference between the TWRPs???
 

rubino25

New member
Oct 4, 2010
168
30
0
Carpi, near Modena!
Hi! I have problem with latest samsung firmware and twrp. I can get root and i can install twrp from 0. But recovery can't access data folder (sam folders with strange name) and multi disabler put the phone in a "stack at samsung logo" state! Why?
 

AndrzejDwo

Senior Member
May 26, 2018
977
667
93
Hi! I have problem with latest samsung firmware and twrp. I can get root and i can install twrp from 0. But recovery can't access data folder (sam folders with strange name) and multi disabler put the phone in a "stack at samsung logo" state! Why?
You have to format /data to decrypt your device. Be aware that you'll loose all your data. Read FAQ, it includes all the info you need.

Cheers!
 

turbolukex5

Senior Member
Dec 26, 2015
1,855
4,788
113
Birmingham
My thoughts exactly!
For that matter, is it better than Modpunk's 3.4.0-0?
There are various custom ROM Modders stating use this (name) TWRP - all stating different TWRPs.

Presently we have 3 different Mods versions of TWRPs for the S10- family.
I, for one, have difficulty in seeing the difference between the TWRPs???

If you're not using any modpunk rom (such as his LineageOS) - you'll need to use his twrp - no way around that. - it's really not recommended if you want to run any of the ROMs besides that as it'll likely not work.

Ianmcd twrp is best used on any rom/fw below DTI8 (so anything from DTH7 and below) - This is losing support soon and no longer will be updated.

(tldr: unless you're planning to use my crdroid 7, Ivan's lineage 18 or latest 17.1 - I recommend you keep to this twrp until other roms are updated)

This twrp here (corsicanu) is now the recommended twrp from now on as long as you're on DTI8 or above and flashing DTI8 based roms.