[RECOVERY][UNOFFICIAL] TWRP for Galaxy S20/S20+/S20 Ultra

Search This thread

[email protected]

Senior Member
Aug 24, 2010
90
13
Hi,
i use crdroid 7.6 on my s20. Does twrp backup and recover work with a lineageos based rom, and can i install a crdroid.zip with twrp?
To install crdroid i installed the lineage recovery but with these i can´t create backups.
 
Aug 12, 2012
26
3
delhi
I flashed the TWRP mentioned in the post by skysurfer1111 but that .tar is for Galaxy S20 Ultra (Z3S)
Now i can't flash any ROM for my S20+ (Y2S) as my device now recognizes as Z3S
Please help me revert back to Y2S or can you give me the link for TWRP for S20+ (Y2S)

 

JellyLP

Member
Sep 29, 2017
8
2
Hello,
I'm using a G986BXXU7DUE1 OneUI 3.1 ROM on my galaxy S20+5G, and I think nobody has installed TWRP on this ROM yet, but rather on the *DUB5 version, especially with this file : https://androidfilehost.com/?fid=17248734326145739647. The issue is that I can't install this older DUB5 ROM.
Please, does anyone know how to install TWRP on my version ?
Thanks.
is there no one who can help
would also like to install twrp and if that really doesn't work then i won't try at all
 
Last edited:

JellyLP

Member
Sep 29, 2017
8
2
@kemick
No I have not tried it yet because I do not want to do anything wrong. But I would like to install TWRP.
I have a Samsung Galaxy S20 Ultra with the version G988BXXS8DUE4.
 

WOhly

New member
Oct 27, 2020
1
1
Hi,

Isn't it theoretically possible to change the router config to redirect the OTAServers to local network, so we can download "official" updates from our local network and install custom roms through that maby bootloader too? Then the Knox shouldn't be triggered... maby you can test it guys.. Just wondered if this is possible in any way...

Greetings
Kai




Herunterladen

Download-Link geht nicht mehr

Translation: Download link no longer works
 
Last edited by a moderator:
  • Like
Reactions: skirmish90

DonRichie

Member
Oct 18, 2014
9
7
  • Like
Reactions: 1jkan and loxub

loxub

New member
Jun 14, 2021
3
1
Hello my friends,

are you searching for a working recovery to install zip files, but TWRP is still down and outdated?

For now you can use Lineage Recovery from this Thread: https://forum.xda-developers.com/t/...s-18-1-for-samsung-galaxy-s20-series.4225013/

To install it I did:
1. rename lineage-18.1-20210521-recovery-y2s.img to recovery.img
2. compress it using lz4 so it is now called recovery.img.lz4
3. tar it up to recovery.img.tar
4. install via odin in the AP slot
Dear sir, how can i compress something into lz4?
 

DonRichie

Member
Oct 18, 2014
9
7
Dear sir, how can i compress something into lz4?
On Windows:
1. Download lz4 win64 zip from here: https://github.com/lz4/lz4/releases
2. unzip into your favourite directory
2. Then Press Windows + R -> type "cmd" and press Enter
3. type "cd <directory where you extracted>
4. type "lz4.exe -B6 --content-size imagefile.img outfile.img.lz4"

On Linux:
1. Install lz4 using your package manager
2. type "lz4.exe -B6 --content-size imagefile.img outfile.img.lz4"
 
Last edited:
  • Like
Reactions: 1jkan and loxub

loxub

New member
Jun 14, 2021
3
1
On Windows:
1. Download lz4 win64 zip from here: https://github.com/lz4/lz4/releases
2. unzip into your favourite directory
2. Then Press Windows + R -> type "cmd" and press Enter
3. type "cd <directory where you extracted>
4. type "lz4 imagefile.img outfile.img.lz4"

On Linux:
1. Install lz4 using your package manager
2. type "lz4 imagefile.img outfile.img.lz4"
I did as you said, but when I try to flash it with Odin, it says the compression is invalid.

I found this argument and it worked with Odin: "lz4.exe -B6 --content-size recovery.img recovery.img.lz4"

But once I get to the recovery, when I tap "Install update", it gives me an error saying "error opening /storage/emulated: permission denied".

I think it is due to encryption, but I don't know how to proceed
 
  • Like
Reactions: DonRichie

DonRichie

Member
Oct 18, 2014
9
7
I did as you said, but when I try to flash it with Odin, it says the compression is invalid.

I found this argument and it worked with Odin: "lz4.exe -B6 --content-size recovery.img recovery.img.lz4"

But once I get to the recovery, when I tap "Install update", it gives me an error saying "error opening /storage/emulated: permission denied".

I think it is due to encryption, but I don't know how to proceed

Yes you are right, I also used those options. I edited my previous answer accordingly.

Unfortunately I can't give you an answer directly out of my knowledge what you need to do now, but for TWRP I also found out that it is possibly an encryption issue.

Possible Solutions:
- Use an external microsd card to read the zip from there
- Wipe Data in recovery
- use "adb sideload" in recovery

Wiping data of course erases all of your data.
 
  • Like
Reactions: loxub

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hello my friends,

    are you searching for a working recovery to install zip files, but TWRP is still down and outdated?

    For now you can use Lineage Recovery from this Thread: https://forum.xda-developers.com/t/...s-18-1-for-samsung-galaxy-s20-series.4225013/

    To install it I did:
    1. rename lineage-18.1-20210521-recovery-y2s.img to recovery.img
    2. compress it using lz4 so it is now called recovery.img.lz4
    3. tar it up to recovery.img.tar
    4. install via odin in the AP slot
    2
    Dear sir, how can i compress something into lz4?
    On Windows:
    1. Download lz4 win64 zip from here: https://github.com/lz4/lz4/releases
    2. unzip into your favourite directory
    2. Then Press Windows + R -> type "cmd" and press Enter
    3. type "cd <directory where you extracted>
    4. type "lz4.exe -B6 --content-size imagefile.img outfile.img.lz4"

    On Linux:
    1. Install lz4 using your package manager
    2. type "lz4.exe -B6 --content-size imagefile.img outfile.img.lz4"
    1
    Hi,

    Isn't it theoretically possible to change the router config to redirect the OTAServers to local network, so we can download "official" updates from our local network and install custom roms through that maby bootloader too? Then the Knox shouldn't be triggered... maby you can test it guys.. Just wondered if this is possible in any way...

    Greetings
    Kai




    Herunterladen

    Download-Link geht nicht mehr

    Translation: Download link no longer works
    1
    On Windows:
    1. Download lz4 win64 zip from here: https://github.com/lz4/lz4/releases
    2. unzip into your favourite directory
    2. Then Press Windows + R -> type "cmd" and press Enter
    3. type "cd <directory where you extracted>
    4. type "lz4 imagefile.img outfile.img.lz4"

    On Linux:
    1. Install lz4 using your package manager
    2. type "lz4 imagefile.img outfile.img.lz4"
    I did as you said, but when I try to flash it with Odin, it says the compression is invalid.

    I found this argument and it worked with Odin: "lz4.exe -B6 --content-size recovery.img recovery.img.lz4"

    But once I get to the recovery, when I tap "Install update", it gives me an error saying "error opening /storage/emulated: permission denied".

    I think it is due to encryption, but I don't know how to proceed
    1
    I did as you said, but when I try to flash it with Odin, it says the compression is invalid.

    I found this argument and it worked with Odin: "lz4.exe -B6 --content-size recovery.img recovery.img.lz4"

    But once I get to the recovery, when I tap "Install update", it gives me an error saying "error opening /storage/emulated: permission denied".

    I think it is due to encryption, but I don't know how to proceed

    Yes you are right, I also used those options. I edited my previous answer accordingly.

    Unfortunately I can't give you an answer directly out of my knowledge what you need to do now, but for TWRP I also found out that it is possibly an encryption issue.

    Possible Solutions:
    - Use an external microsd card to read the zip from there
    - Wipe Data in recovery
    - use "adb sideload" in recovery

    Wiping data of course erases all of your data.
  • 31
    Team Win Recovery Project 3.4.0

    https%3A%2F%2Fwww.maketecheasier.com%2Fassets%2Fuploads%2F2019%2F01%2Ftwrp-featured.jpg

    Exynos ONLY.
    In NO way it is compatible with Snapdragon variants including but not limited to American(U/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.


    Special Notes:
    1. DON'T FORGET TO ENABLE "OEM UNLOCK" (located in Developers options).
    2. KNOX will be tripped once you flashed custom binaries to your phone.
    (Your warranty may be voided. However this may not affect you if your country forces Samsung to provide hardware warranty regardless of software status.)
    3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
    (You can flash custom ROMs if you want to keep the OS up-to-date.)
    4. All apps that use KNOX like Samsung pay, Secure Folder and maybe more will no more work


    Download: S20/S20+/S20 Ultra(Exynos variants)
    Download

    Sources:
    Kernel source
    TWRP source
    Device Tree: Sorry are not under GPL License since are my own so they will not get released :(

    Changelog:

    06.12.2020

    - Updated TWRP Source
    - Adb Push works now without disable MTP in settings
    - Fixed the bug where TWRP dont saved settings
    - Updated DTB and DTBO for boot on One UI 3.0 (Use Magisk 21.1 for root One UI 3.0)
    - Boot only with USB Cable or USB OTG connected (THX samsung for this stupid change in the bootloader)
    - Removed decrypter from download folder (use Multidisabler 2.6 instead)

    03.09.2020
    - Twrp boots now without nulled Vbmeta.img

    03.09.2020
    - Fixed Optics and Prism Backup and Restore
    - Brightness is now no more at max
    - CPEFS error is gone
    - Sec-EFS added in the FStab

    19.08.2020
    -Initial Release

    Bugs:
    -MTP and Encryption (ADB PUSH WORKS when you disable mtp in TWRP mount settings!)

    XDA:DevDB Information
    [RECOVERY] TWRP for Galaxy S20/S20+/S20 Ultra, Kernel for the Samsung Galaxy S20

    Contributors
    geiti94
    Kernel Special Features:

    Version Information
    Status:
    Stable
    Stable Release Date: 2020-08-19

    Created 2020-08-19
    Last Updated 2020-12-06
    25
    Guide:
    1. Go to Developer settings and enable oem unlock
    2. power off the device and boot in download mode with vol up+ vol down buttons and plug in the usb (make sure usb cable is connected to the pc)
    3. in download mode you see the long press vol up option for unlock bl
    4. unlock the bootloader (that will wipe your device so be sure you made a backup of your data)
    5. after bootloader unlock boot up the phone and make sure it is connected to the internet or he triggers rmm prenormal
    6. setup the phone without google account etc
    7. reboot in download mode and flash twrp tar for your device with odin in the AP field
    8. hold vol up + power button while odin is flashing until you are in twrp.
    9. format data in twrp and install multidisabler (you find it here on xda!)
    10. Flash Latest Magisk
    11. press reboot to system in twrp.
    9
    someone said MTP on s20 twrp? :p
    9
    so update for One UI 3.0 is uploaded. like all time patched vbmeta is not needed for boot twrp. if you mods somethings in system or vendor then its needed that you flash a patched vbmeta


    Changelog:

    06.12.2020

    - Updated TWRP Source
    - Adb Push works now without disable MTP in settings
    - Fixed the bug where TWRP dont saved settings
    - Updated DTB and DTBO for boot on One UI 3.0 (Use Magisk 21.1 for root One UI 3.0)
    - Boot only with USB Cable or USB OTG connected (THX samsung for this stupid change in the bootloader)
    - Removed decrypter from download folder (use Multidisabler 2.6 instead)
    8
    so BTH5 TWRP is released. Only updated is the kernel source