[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,973
647
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,613
802
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,613
802
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
12
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

Account currently disabled
Jul 31, 2012
3,909
5,296
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.
  • 46
    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:
    - 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



    Bugs:
    - Encryption not fully working.

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

    Sources:
    Kernel tree
    Device tree
    10
    Changelog:
    02.06.2022 - Update to Android 12 kernel source
    - Fix mount issues
    - Update to TWRP 3.6.2
    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.
    5
    Hi everybody,
    Sorry in advance for this noob question.
    Starting from stock Android12, I went thru all @afaneh92 process and it's working nicely.
    Now I'd like to upgrade to Androi13: do I have to rerun exactly all the process (& so loosing my data)?
    In other words: are BL unlock and avb disable persistent after an Odin flash ?
    Thank you for sharing your skills !
    Note: steps 2-6 are important, missing any will lose your data.

    1. Load all files to their respective slots in odin, pick HOME_CSC instead of CSC.
    2. Uncheck auto reboot in Odin and hit start.
    3. Reboot to download if possible from odin options (not working on all devices), or using buttons combo.
    4. Keep auto reboot unchecked, Flash TWRP in AP slot and vbmeta_disabled.tar in USERDATA
    5. Hold volume down and power until the screen goes black then immediately switch to holding volume up and power to reboot into TWRP.
    6. Disable encryption:
    - Go to Advanced > Terminal, type: multidisabler.
    You will see " - Finished." When it is done.
    7. flash magisk then reboot to system (optional).