• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

Svan987

Senior Member
Mar 10, 2014
179
136
don't wait too long on system app remover software, there hasn't any made for other dynamic partition phones.
I am testing CBR Kitchen dedicated for samsung phones. I contacted @ZonalRipper and he told me he will update "Samsung Rom Disarm" for Snapdragon chipsets. I don't know if TWRP is able to flash the right way a dynamic partition phone and flash the right active partition.
 

riddle13

Member
May 31, 2014
19
1
just flashed twrp when I want to enter it the phone get a bootloop. I need to flash the disabler to bring the phone to life. While flashing twrp should I uncheck the autoreboot option?
 

3mel

Senior Member
Aug 23, 2012
1,312
365
London
just flashed twrp when I want to enter it the phone get a bootloop. I need to flash the disabler to bring the phone to life. While flashing twrp should I uncheck the autoreboot option?
yeah it makes it a little bit easier, it's better if you've got control of the reboot.
leave it plugged in in download mode, hold power and volume down for 7 plus seconds. when the phone reboots you'll the windows disconnected sound, immediately switch to volume up and power until it boots into recovery.
 
  • Like
Reactions: GOOGLE_USER

riddle13

Member
May 31, 2014
19
1
yeah it makes it a little bit easier, it's better if you've got control of the reboot.
leave it plugged in in download mode, hold power and volume down for 7 plus seconds. when the phone reboots you'll the windows disconnected sound, immediately switch to volume up and power until it boots into recovery.
This exactly what I do and the phone gets the loop and it does not boot into the system either. I will keep trying.
 

3mel

Senior Member
Aug 23, 2012
1,312
365
London
This exactly what I do and the phone gets the loop and it does not boot into the system either. I will keep trying.
the phone should either boot into TWRP, boot into stock recovery or boot into system. if it's bootlooping something else is wrong and you should flash stock and start again if it carries on happening once you've let go.
bare in mind you have 2 extra screens at start up now, even for recovery. that threw me off to begin with.
 
  • Like
Reactions: GOOGLE_USER

diegochiva95

Senior Member
Jul 3, 2014
87
22
Jalisco
I read some info on this thread about keeping data encrypted but still have some doubts. Can you enlighten me on this?

- If I choose to keep encryption on, TWRP won't be able to access individual file contents for backup/restore or even flashing onto the /data partition. But flashing or backup/restore of other partitions is possible with OTG storage.
- Are "full partition" backups of /data itself possible onto an external OTG storage? And working restore of course :)

Apart from these encryption limitations, any known issues with the recent builds of android 11?


(my device is the 4G version (G780F/DS) but there is no big reference in its thread about the encryption implications and the TWRP features should be the same)

Thanks!
I also have that model, did it work?
I want to be rooted but my model is the 780G / DS Snapdragon 4G version.
 

Svan987

Senior Member
Mar 10, 2014
179
136
I tried to do a backup on the SM-G780G (super, prism, optics, boot) and I got a "failed" message at the end of the backup. Can not see any files in "File Manager" --> "usb-otg". But when doing an install can see files.

@afaneh92 : please can you add our model to the build would be great.
 

3mel

Senior Member
Aug 23, 2012
1,312
365
London
@Svan987 some of those partitions really don't need backing up as they never be over written. I had a similar issue because the flash drive I used was formatted to VFAT which has a maximum file size of 4gb. backup anything you need off the drive and format it too Ext4 or something else that'll take the bigger files.
 

Svan987

Senior Member
Mar 10, 2014
179
136
@Svan987 some of those partitions really don't need backing up as they never be over written. I had a similar issue because the flash drive I used was formatted to VFAT which has a maximum file size of 4gb. backup anything you need off the drive and format it too Ext4 or something else that'll take the bigger files.
Thanx a lot so nuts :LOL: i was with system files fat32. Just did bakcup of "super" with usb-otg formatted with exFat format. Thanx a lot.
 
  • Like
Reactions: 3mel

Svan987

Senior Member
Mar 10, 2014
179
136
I mounted "system" and trying to delete a directory in "system/system_ext/priv-app/" : process ended with ERROR: 1. Is it a bug or there is way to change permissions and delete files ?
 

kimera87

New member
Sep 27, 2021
2
0
Samsung Galaxy S20 FE
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.
- Haptic feedback is currently not working.

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

Sources:
Kernel tree
Device tree
If i do this, in my phone will not work anymore biometric and face recognition??
 

3mel

Senior Member
Aug 23, 2012
1,312
365
London
fingerprint works fine, I've never heard of anyone saying face unlock doesn't work but I don't use that.
as long as you stay on Samsung firmware everything should work.
 

Full House

Senior Member
Aug 25, 2018
216
64
Samsung Galaxy S20 FE
hii,just bought s20fe 5G snapdragon one,indian version(G781B/DS),I want to root it without any twrp.Tried patched boot.img flash through odin but caused bootloop.Can someone help me :)
hi you have to unlock BL download your latest firmware, extract the boot.img and patch it with magisk apk and odin flash...

Suis le guide d'installation officiel il ya une partie destiné aux appareils Samsung 👇
 

kogkita

Member
Apr 9, 2021
25
4
Samsung Galaxy M31
hi you have to unlock BL download your latest firmware, extract the boot.img and patch it with magisk apk and odin flash...

Suis le guide d'installation officiel il ya une partie destiné aux appareils Samsung 👇
yes unlocked BL and did it,found normal magisk has patching issue,i'm trying with magisk canary,will update when done,thanks.
 

kogkita

Member
Apr 9, 2021
25
4
Samsung Galaxy M31
there is no problem with Magisk stable i just updated to the latest october firmware corrected with Magisk
It worked but I did this with canary build.successfully booted to system and magisk did a quick reboot and setup,need to check root,these google apps take a lot of time to install.Also can you help me to pass safety net check,my CTC fails.Should I go with riru method? or any other way?
 

Full House

Senior Member
Aug 25, 2018
216
64
Samsung Galaxy S20 FE
It worked but I did this with canary build.successfully booted to system and magisk did a quick reboot and setup,need to check root,these google apps take a lot of time to install.Also can you help me to pass safety net check,my CTC fails.Should I go with riru method? or any other way?
I managed to pass for a while but google regularly makes fixes for those that bypass safetynet.

Guys think that now that john.whu (the dev of Magisk) is working in the security section of Google it's going to be harder and harder to get around safetynet...

Follow this thread for safetynet 👇
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    @Svan987 some of those partitions really don't need backing up as they never be over written. I had a similar issue because the flash drive I used was formatted to VFAT which has a maximum file size of 4gb. backup anything you need off the drive and format it too Ext4 or something else that'll take the bigger files.
    1
    Thanks for the details,
    So in order for me to summarize and to double check if i understand correctly,

    Right now i have Magisk only with the stock recovery ( Filesystem is encrypted normally )
    I want to add TWRP without formatting or losing the data and i am accepting to have it working only on USB OTG ( i have a usb type C and type A flash )
    I want to have TWRP mainly for bootloop safety precaution ( that can be caused from LSposed or a Magisk module )

    Is it possible to Flash TWRP ( suing the userdata in Odin ) along with the same session of Patched Maigsk AP + Home CSC + BL + CP ?
    then Enter TWRP and then Flash multidisabler and then reboot to OS and that's it
    ( from the above i understood that flashing mulitdisabler without format is the source of issues )

    If not possible then is there a workaround to Flash same above process but flash Stock AP instead of Magisk patched one then from TWRP flash multidisabler then Magisk ( again without format but the difference this time that multidisabler is flashed over a stock AP )

    Thanks for your assistance in advance

    if you're already rooted you don't even need to touch Odin or a PC, Flashify or a kernel app with flash capabilities will do for recovery, some people even successfully the old TWRP app to flash recovery.

    you could flash TWRP and then multidisabler from TWRP without formatting but as I understand it you might not be able to use TWRP at all because of the encryption still being present.

    if you're already rooted get a memory card, a decent root file browser (X-Plore is excellent) and download OAndBackupX via F-Droid. there's only the settings you like to do again, everything else can be moved or backed up.

    there's no value in not going the whole way. use the root that you have to backup, then use it to flash the recovery image from that's inside the zip. flash multidisabler and then format JUST DATA. root will still be there once you install magisk manager again, but you might need to update it.
    1
    just flashed twrp when I want to enter it the phone get a bootloop. I need to flash the disabler to bring the phone to life. While flashing twrp should I uncheck the autoreboot option?
    yeah it makes it a little bit easier, it's better if you've got control of the reboot.
    leave it plugged in in download mode, hold power and volume down for 7 plus seconds. when the phone reboots you'll the windows disconnected sound, immediately switch to volume up and power until it boots into recovery.
    1
    This exactly what I do and the phone gets the loop and it does not boot into the system either. I will keep trying.
    the phone should either boot into TWRP, boot into stock recovery or boot into system. if it's bootlooping something else is wrong and you should flash stock and start again if it carries on happening once you've let go.
    bare in mind you have 2 extra screens at start up now, even for recovery. that threw me off to begin with.
    1
    @Svan987 some of those partitions really don't need backing up as they never be over written. I had a similar issue because the flash drive I used was formatted to VFAT which has a maximum file size of 4gb. backup anything you need off the drive and format it too Ext4 or something else that'll take the bigger files.
    Thanx a lot so nuts :LOL: i was with system files fat32. Just did bakcup of "super" with usb-otg formatted with exFat format. Thanx a lot.
  • 20
    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.
    - Haptic feedback is currently not working.

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

    Sources:
    Kernel tree
    Device tree
    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
    Changelog:
    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.
    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