[RECOVERY][UNOFFICIAL] TWRP for Galaxy S20 FE 5G (Snapdragon)

Search This thread

Tendor83

Senior Member
Jul 7, 2015
72
25
if you have your firmware for your phone sitting on your PC this version of 7zip can open both .tar archives and .LZ4 archives
that means you can go the slightly less painful route to patch with magisk by extracting the boot.lz4 from the AP archive and extracting the boot.img after that.
use magisk to patch just the boot.img on your phone and then flash the patched version with TWRP to the boot partition.
Thank you. I found a detailed guide on this russian forum (https://4pda.to/forum/index.php?showtopic=1027599&view=findpost&p=109398039) and eventually manage to obtain root.
 

3mel

Senior Member
Aug 23, 2012
1,638
528
London
has anyone who has updated to OneUI 4 noticed that the stock recovery still comes back sometimes even if you do everything right ? flashing multidisabler does show in TWRP that the environment appears to be android 11 instead of 12.
i think i'll flash back to 3.1 for now

edit: didn't flash back in the end, tried a few things before deciding just to flash CleanOS and not worry for now. then i saw *****ieboy's comment above. so it's just the key combo that we can't use then it's all OK? strange measures Samsung keep throwing out there. pretty soon it's not gonna be worth the hassle with more and more crap to remember just to get things the way we like it.
 
Last edited:
  • Like
Reactions: saoudien07

Ubimo

Senior Member
Dec 22, 2011
1,468
755
I'm on oneui4 and flashed latest CleanOS Snap 5G. Then magisk beta 24.
Magisk cannot boot into download mode anymore.
Also, the key combo (vol down and power) does not work.
Also, plug in cable and vol down and power does not work.
How do I get into download mode?

Edit:
Ah, found the correct instructions to get into download mode:
Power off the phone. Press and hold vol+ and vol-. Now plug in the USB cable in your phone. When in download mode, press vol+ to continue in download mode.
 
Last edited:

Ubimo

Senior Member
Dec 22, 2011
1,468
755
Backup does not work anymore.
S20 FE 5G stock rom

Screenshot_2022-02-12-12-20-09.png
 
  • Like
Reactions: saoudien07

0xNet

Member
Feb 20, 2022
11
2
home.png
backupname.png

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
 * Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or your getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* 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.

Supported Models:
Galaxy S20 FE 5G G7810, G781B, G781N, G781U, G781U1, G981W and G780G (4G).

US/Canada bootloader unlock thread:
here

Download & Guide:
1. Unlock your bootloader.
2. Download S20 FE 5G: r8q.
3. Reboot to download mode and flash vbmeta_disabled.tar in AP slot and reboot. Device will reboot to stock recovery mode prompting you to wipe data so wipe data and reboot to download mode again.
4. Put the TWRP tar for your device with Odin in the AP slot and click start.
5. Reboot to recovery via recovery key combo.
6. Disable encryption:
Or:
- Go to Advanced > Terminal, type: multidisabler.​
If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​
- Type: multidisabler again. will see - Finished. when done.​
7. Go back to Wipe > Format Data > type yes.
8. Reboot to recovery.
9. Flash magisk apk in twrp.
10. Reboot to system, Enjoy.

Note:


Support:
Live support is available via #twrp on Freenode with your IRC client or just click this link.

Telegram group

Bugs:
- Encryption not fully working.

Thanks:
TWRP team
@ooobs007 for testing on S20 FE 5G G781B
ianmacd for multidisabler

Sources:
Kernel tree
Device tree

Does twrp-3.6.0_11-6_afaneh92-r8q.tar support SM-G780G (4G) Model?
 
  • Like
Reactions: saoudien07

kprasadrao

Member
Sep 8, 2021
10
2
Changelog:
29.11.2021 - Update to TWRP 3.6.0
- Add Symlinked dynamic partitions to fstab
- Updated to latest kernel source
- Update multidisabler
- fstab clean up
- Fix haptic feedback
23.05.2021 - Update to latest TWRP source, update kernel to G781BXXU3CUD6.
03.03.2021 - Update to latest TWRP source, Add terminal multidisabler script. fstab cleanup.
22.01.2020 - Fix USB-OTG for Q & R builds.
15.01.2020 - Initial build for Android 11
31.12.2020 - Update TWRP to 3.5.0
15.11.2020 - Add TWRP fastbootd support, Move kernel to gz format.
11.11.2020 - Initial Release.
Please can you update to latest kernel source 🙏
 
Has anyone else encountered issues when flashing the multidisabler file? I am experiencing this issue below:

Code:
Mounting /system_root...
Attempt Faileed. Mounting at /system_root...
mount: '/dev/block/dm-0'->'/system_root': Invalid argument
Even that attempt failed. Aborting...

I have unlocked my bootloader successfully as it says OEM Lock: OFF (U), and I have the G7810 Model. Flashing CleanOS just gives me a bootloop and I can't boot to my OS. TWRP warns me that "No OS is installed" whenever I select reboot to recovery or system.

Any help is appreciated, thank you.
 
  • Like
Reactions: saoudien07

afaneh92

Senior Member
Jul 31, 2012
3,149
4,727
Has anyone else encountered issues when flashing the multidisabler file? I am experiencing this issue below:

Code:
Mounting /system_root...
Attempt Faileed. Mounting at /system_root...
mount: '/dev/block/dm-0'->'/system_root': Invalid argument
Even that attempt failed. Aborting...

I have unlocked my bootloader successfully as it says OEM Lock: OFF (U), and I have the G7810 Model. Flashing CleanOS just gives me a bootloop and I can't boot to my OS. TWRP warns me that "No OS is installed" whenever I select reboot to recovery or system.

Any help is appreciated, thank you.
use my instructions
 
  • Like
Reactions: saoudien07

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Please Please 🙏 can you update to the latest kernel source I am waiting for so many times, this smartphone gets an android 12 update🥺🙇‍♂️🙇‍♂️
    this current version works fine on OneUI 4/4.1
    1
    Hi all.

    I have a Galaxy S20 FE 5G SM-G781B/DS.
    Once rooted, is the unlock of apps (like banking apps or other apps) with fingerprint works ?

    Thanks.
    that will depend on the app, if you successfully hide root from your banking app it should work fine. there are a few banking apps that are harder to hide magisk from, they look at more things or the request root access to test the system.
    it's probably quicker to search for the names of your apps plus magisk hide.
    not really the right place for this question.

    make a thread in the questions and answers section or even better in the android general section, then ask if your specific named banking apps work for others if you can't find the info yourself.
    1
    Hello, is the SM-G780G/DS the same as G780G? All I know is that the DS model is Dual Sim, but idk if it's any different.
    Also does rooting delete any data?
    as far as TWRP goes they are the same yes.
    rooting does not wipe data but unlocking the bootloader does and flashing multidisabler (so that twrp isn't overwritten) requires a format of the data partition afterwards.
  • 31
    home.png
    backupname.png

    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Code:
     * Your warranty is now void.
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or your getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * 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.

    Supported Models:
    Galaxy S20 FE 5G G7810, G781B, G781N, G781U, G781U1, G981W and G780G (4G).

    US/Canada bootloader unlock thread:
    here

    Download & Guide:
    1. Unlock your bootloader.
    2. Download S20 FE 5G: r8q.
    3. Reboot to download mode and flash vbmeta_disabled.tar in AP slot and reboot. Device will reboot to stock recovery mode prompting you to wipe data so wipe data and reboot to download mode again.
    4. Put the TWRP tar for your device with Odin in the AP slot and click start.
    5. Reboot to recovery via recovery key combo.
    6. Disable encryption:
    Or:
    - Go to Advanced > Terminal, type: multidisabler.​
    If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​
    - Type: multidisabler again. will see - Finished. when done.​
    7. Go back to Wipe > Format Data > type yes.
    8. Reboot to recovery.
    9. Flash magisk apk in twrp.
    10. Reboot to system, Enjoy.

    Note:
    To disable encryption manually:
    You need to replace fileencryption=ice with encryptable=ice only in userdata line (maybe rest lines) in vendor/etc/fstab.qcom
    To avoid stock recovery restoration manually:
    Rename system/recovery-from-boot.p to recovery-from-boot.p.bak

    Support:
    Live support is available via #twrp on Freenode with your IRC client or just click this link.

    Telegram group

    Bugs:
    - Encryption not fully working.

    Thanks:
    TWRP team
    @ooobs007 for testing on S20 FE 5G G781B
    ianmacd for multidisabler

    Sources:
    Kernel tree
    Device tree
    9
    Changelog:
    29.11.2021 - Update to TWRP 3.6.0
    - Add Symlinked dynamic partitions to fstab
    - Updated to latest kernel source
    - Update multidisabler
    - fstab clean up
    - Fix haptic feedback
    23.05.2021 - Update to latest TWRP source, update kernel to G781BXXU3CUD6.
    03.03.2021 - Update to latest TWRP source, Add terminal multidisabler script. fstab cleanup.
    22.01.2020 - Fix USB-OTG for Q & R builds.
    15.01.2020 - Initial build for Android 11
    31.12.2020 - Update TWRP to 3.5.0
    15.11.2020 - Add TWRP fastbootd support, Move kernel to gz format.
    11.11.2020 - Initial Release.
    7
    @afaneh92 just checking in to ask what if any sources to you want / need to help you ?
    I'm on the Samsung open source site now and downloading a zip for G781BXXU2CUD1 but I've no idea if it's kernel sources inside (280mbs ish). another page I saw here mentioned using the inquiry tab to submit a request.

    if you can tell me exactly what you want I'll more than happily put in a request for it, I'm sure others would too.

    I'll edit this later and add the zip files full name that I've downloaded and if you want that I'll put it mediafire or similar.

    SM-G781B_SEA_RR_Opensource.zip is the archive name, taken from clicking on G781BXXU2CUD1 which matches my current baseband and buildnumberView attachment 5299763
    I will start working on the new kernel source soon.
    4
    @QRCode please consider making a thread about the exact method it required, resources needed and your experience with it.
    this sort of thing will be useful to others. particularly of interest is the features that don't work currently.
    I'll do my best still testing everything compiling my data etc