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

Search This thread

tester2

Senior Member
Dec 1, 2006
147
13
Many thanks for the essential and concise information!!

I'll look at Neo Backup.
I'm switching from Android 7+root+xposed (I changed phones once per 5-6 years, because I heavy customize it for my needs). So in phone "configuration phase" my goal is to have low-level backups of a whole system to quickly restore earlier checkpoints when things get messed up. Nandroid fulfilled this perfectly in the setup with old Android 7.
Thank you for the tips on where to continue searching.
 
Imho for device change Neo Backup is of more help than twrp backup. There is another piece of software für this purpose: Migrate NG. Personally I prefer Neo Backup, but I always make a backup with Migrate NG also, just in case of problems to have a second chance. But I never needed it so far.
I also make frequent backups with twrp to 'survive' configuration errors. Fortunately for my device twrp has A12 support.
You can make backup of system partition etc. using twrp and backup of data using Neo Backup. If backup of data partition with twrp is of extreme importance for you, you can configure your system not to encrypt the data partition. But you need to do it before you configure/install anything because data will be wiped. Disadvantage: your data can easily be read when you loose your phone.
 
  • Like
Reactions: tester2

tester2

Senior Member
Dec 1, 2006
147
13
Yes, I must prepare for frequent configuration errors and system crashes, because next few weeks I'll finetune, debloat, deinstall, install magisk/lsposed modules, etc. so probably I'll fu** up my system many times. ;)
Disabling partition encryption to have TWRP nandroid is not an option.
But the question is: can TWRP make bit-to-bit encrypted partitions image (and restore it if needed) on OTG USB flash drive? Without decrypting it?

BTW regards one-time transfering data from old phone to new: why you don't use built-in Samsung's Smart Switch?
I read in this thread "never use Smart Switch" but didn't found yet any arguments why not.
(additionally there is an option to make occasional backups on USB flash drive by Smart Switch in phone Settings - it seems as an built-in alternative to Neo Backup/Migrate NG)
 
I think it is possible to make a data partition bit-to-bit backup in twrp using dd. You need a lot of space since gz to compress is not included in twrp. Probably one can use a binary from termux. But I think there is no riskless way to test the backup and restore using dd. The device should be /dev/block/platform/13d60000.ufs/by-name/userdata.
Probably you could use tar to backup and restore /data with the encrypted names and content.
If you need support to test probably I can find some time to assist. My second device I always could crash (as long as download mode is accessible...) is a S10.

I did not try Smart Switch yet. Isn't it necessary to have a Samsung account (that I don't have and want)? I understood that Smart Switch can only be used to transfer to a Samsung Galaxy One UI. The Samsung devices I have/had are/were all running a variant of LineageOS and my present daily driver isn't a Samsung at all.
 
  • Like
Reactions: tester2

tester2

Senior Member
Dec 1, 2006
147
13
Great tips. Thank you! I'll dig deeper into TWRP and dd and check it out.
Probably I will buy some old S10/Note10 with broken screen for ~$70-80 to only play with nandroid backups. I already spend too much time to configure my current daily driver (and didn't finish it yet) to get the risk starting from scratch. ; )

You didn't need to have Samsung account (at least for backup, but I didn't try restore it yet). You can use Smart Switch app icon or just go to Settings → Accounts and backups and save backup to SD/OTG flashdrive. More info here. It will backup of course One UI and other things too.
 

patrykat

New member
Jan 8, 2023
2
0
hi i have a problem because i downloaded twrp on my s10 with exynos and twrp works normally it starts and i can download custom roms but the stock rom does not start at all what should i do to make it start
 
hi i have a problem because i downloaded twrp on my s10 with exynos and twrp works normally it starts and i can download custom roms but the stock rom does not start at all what should i do to make it start

it starts to fire but stays on the samsung logo and then restarts
Can you start into the TWRP user interface? On newer firmware you need to have an usb cable connected to a desktop computer to start recovery gui. Is the TWRP patched with Magisk?
When you are in TWRP gui, you can solve the problem with formatting the data partition. YOUR DATA WILL GET LOST!! No chance to get it back. YOUR DATA WILL GET LOST!! Press the Wipe button and then Format Data button. You will need to enter 'yes' and confirm that all your data will get lost. Then you can go back to the main screen and press Reboot button and then System. Then your system should boot.
 

Defiant01

New member
Jun 19, 2023
1
0
Hello. I have a few questions, I am hoping that I can get answered if anyone is willing to help. I have a Sammy s10 exynos running rooted (w/magisk) android 10 & ianmcld version of TWRP. I would like to upgrade to android 12 (for newer security). I understand that I need a new twrp version. I also believe it is a good idea to upgrade to android 11 first then to android 12 (am I right or wrong?).

I am planning to patch twrp with magisk and ap file. insert patched twrp named recovery where the oem recovery is (after deleting of course). Is that all I need to do considering I already have the phone rooted (currently with magisk v 25.)?

I have been searching around a while (months) and haven't found a direct answer.
Also what version of TWRP for android 11 and which one for android 12?

Thank you very much in advance for your help in this matter.
 

MetropolisPt1

Member
Apr 17, 2018
11
3
Hi all
I am using my G975F with Android 13 (LineageOS 20) and would really appreciate having a TWRP supporting this version fully. Is there anything around?
thx!
 

suicyko

Senior Member
Aug 23, 2016
119
25
coming from firmware OEM WC1 magisk rooted. Following rules from ianmacd and corscanu.

just flashed twrp 3.7.0_9-2 (first patched with Magisk app) / vbmeta on my G970F (s10e)
format /data on twrp to avoid bootloop and removing encryption ( WARNING because loss of ALL installed APP / pictures / downloads / docs .... and cleaning user preferences).

first long boot because environment is re-created by the system.
restore all ! working.
booting in recovery mode with magisk app ==> magisk applied
booting in recovery with buttons combination (vol up + bixby + power) ==> twrp

flawless victory !
 

lngur

New member
Sep 3, 2023
2
1
The Recovery image is twrp_3.7.0_9-2-beyond0lte.img
The system is lineage-20.0-20230831-nightly-beyond0lte-signed.
Installation of multidisabler failed, but flashing vbmeta with heimdall seemed to be ok.
3.jpg


When installing or backuping images the error is
"Failed to mount '/vendor' (Invalid argument)";
"Failed to make backup folder".
1.jpg


2.jpg
 

suicyko

Senior Member
Aug 23, 2016
119
25
The Recovery image is twrp_3.7.0_9-2-beyond0lte.img
The system is lineage-20.0-20230831-nightly-beyond0lte-signed.
Installation of multidisabler failed, but flashing vbmeta with heimdall seemed to be ok.


When installing or backuping images the error is
"Failed to mount '/vendor' (Invalid argument)";
"Failed to make backup folder".


View attachment 5994335

What ROM u come from ? Seems that /data is encrypted
 

Top Liked Posts

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


    Official TWRP 3.6.1-* For Galaxy S10/e/+/5G
    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
    • 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 with Android 10.0 and above
    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-3.* 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 /path/to/recovery.img --VBMETA /path/to/vbmeta.img
      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-3.* 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-3.* zip to disable security and encryption.

    Sources:
    Credits:
    • TeamWin, geiti94, jesec, dyneteve, ianmacd, testers, donors and anyone else involved in making this possible
    As always, if you like what i do, you can always send me some pizza/coffee/drugs/drinks or anything else via paypal.me/corsicanu
    17
    Compatibility and changelog:

    07.03.2022 - TWRP 3.6.1
    • Security patch: 2022-02-01
    • Compatibility: only GVA*/GVB* firmwares, OneUI 4.0

    09.01.2022 - android 12 support
    • Security patch: 2022-01-01
    • Compatibility: only GUL* firmwares, OneUI 4.0
    08.01.2021 - android 11 support
    • Security patch: 2020-12-01
    • Compatibility: only ETL* firmwares, OneUI 3.0
    27.12.2020 - TWRP 3.5.0 bringup - december release
    • Security patch: 2020-12-01
    • Compatibility: only DTK* and DTL* firmwares
    09.12.2020 - december release
    • Security patch: 2020-12-01
    • Compatibility: only DTK* and DTL* firmwares
    05.12.2020 - Initial release
    • Security patch: 2020-11-01
    • Compatibility: DTJ* firmwares

    Misc links:
    Further reading:
    11
    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:
    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. 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.
    9
    Android 11 TWRP is up already for a while, in case you didn't notice it yet grab it from twrp.me.
    Don't forget to use targeted TWRP for your android version and release, read more about compatibility in second post of this thread.
    Regards!
    6
    TWRP 3.6.0_9-2 is up and it has full A12 support.
    First posts got updated too, i strongly suggest you to use from now on my updated fork of multidisabler for A12 compatibility, code and downloads are available here.

    Regards!