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

Search This thread

deeklogic

New member
Jan 15, 2023
2
0
Thank you for your quick response, I also have the G781B model and was wondering if it would work with android 13. Now that I have the answer, I have another question. I'm also looking forward to installing a custom kernel, (That's why I was wondering if twrp would work with android 13) what would you say is the best custom kernel for my model when it comes to performance and battery because I want a good balance between good battery and good performance. Form what i have collected the best kernal are primekernal, bandido and kimbokernal. So what would you say is the best kernal when it comes to balance between good performance and good battery life?

Thank you in advance.
 
Thank you for your quick response, I also have the G781B model and was wondering if it would work with android 13. Now that I have the answer, I have another question. I'm also looking forward to installing a custom kernel, (That's why I was wondering if twrp would work with android 13) what would you say is the best custom kernel for my model when it comes to performance and battery because I want a good balance between good battery and good performance. Form what i have collected the best kernal are primekernal, bandido and kimbokernal. So what would you say is the best kernal when it comes to balance between good performance and good battery life?

Thank you in advance.
I really dont know what about other kernels, but now I can say that Bandido works pretty well, you can try Prime and tell me what about that cause Im looking for that experience too, sorry ^^
 
  • Like
Reactions: deeklogic
Nov 5, 2017
37
14
Rennes
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 !
 

afaneh92

Senior Member
Jul 31, 2012
3,668
5,104
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).
 

javisky

Member
Nov 3, 2014
16
3
Hi everybody,
I've got a S20FE SM-G781B snap 5G with Android12 / One UI 4.1.
Thank to @afaneh92 and many people here, BL unlock, TWRP install and root with Magisk ran perfectly.
For about 1 month now, Android13/ONE UI 5.0 stock FW is available. As a noob, I have some questions about upgrading my phone:
1 - We have to upgrade manually with Odin. But do we have to reflash the vbmeta_disable tar file after (or during) FW upgrade ? (guess the FW flash will enable the verified boot check)
2 - The same way: I imagine that the stock FW flash will overwrite the recovery so we have to reflash TWRP ? May be we can avoid this rebooting on existing TWRP after FW flash and before 1st system boot ?
Is afaneh92's TWRP Rev. 3.7 compatible with Android13/ONE UI 5.0 ?
3 - Is root cancelled by the upgrade ?
As a last question, is there a chance to keep our data thru this procedure ?
Sorry for this bunch of questions but I prefer prevention to fixing if I do something wrong...
Thanks guys ! :)
+1
I have the same doubts about upgrade from android 13 without losing data to the last OTA Android 13 (january) (already downloaded with frija and generated patched AP with magisk GVK6)

i'm already in Android 13 (previous version from December or so), unlocked and rooted...
Thanks!


EDIT:
Following your steps : All OK

Using patch AP from magisk method: nevers works for me (bootloop)

Thanks!
 
Last edited:
  • Like
Reactions: tombbb

HelltioEVGS

Member
Nov 24, 2022
23
4
In my old j7 device the system ui sounds were ok and every single one of then sounded perfectly,however in s20 the charging sound cuts off like for example the sound is like 6 seconds and only sounds 3,what could be the problem?,the rest of the modify sounds are ok even the power on and power off wich is similar to charging sound 6 seconds or 5.
 

kaliko1991

Member
Jun 12, 2017
11
1
Samsung Galaxy S20 FE
Hi, I'm currently on Android 13 One UI 5, clean install after a failed update from Android 11 One UI 3.1 in which I had bootloop and had to do a full wipe of all my personal data and lost everything. I want to root my device again, can someone please provide a detailed guide to do it without messing everything up again? My device is an SM-G780G (the 4G Snapdragon).
 

3mel

Senior Member
Aug 23, 2012
1,810
599
London
Hi, I'm currently on Android 13 One UI 5, clean install after a failed update from Android 11 One UI 3.1 in which I had bootloop and had to do a full wipe of all my personal data and lost everything. I want to root my device again, can someone please provide a detailed guide to do it without messing everything up again? My device is an SM-G780G (the 4G Snapdragon).
just follow topjohnwu's instructions, flashing a patched AP archive is preferred over flashing a renamed apk.

 

kaliko1991

Member
Jun 12, 2017
11
1
Samsung Galaxy S20 FE
just follow topjohnwu's instructions, flashing a patched AP archive is preferred over flashing a renamed apk.

So I need to follow the Samsung part in that link, got it. But what do you mean with flashing a patched AP instead of a renamed apk? is it for Magisk or what part is that?
 

3mel

Senior Member
Aug 23, 2012
1,810
599
London
So I need to follow the Samsung part in that link, got it. But what do you mean with flashing a patched AP instead of a renamed apk? is it for Magisk or what part is that?
it's covered in the guide, Samsung divides their firmware into 4 archives AP, CP, BL and CSC (or HOME_CSC which is the same as csc but doesn't wipe the phone).
the recommended method to root is copying the AP archive to your phone, patching it with the magisk app, copying I back to PC and flashing it along with the other archives in Odin.
 

kaliko1991

Member
Jun 12, 2017
11
1
Samsung Galaxy S20 FE
it's covered in the guide, Samsung divides their firmware into 4 archives AP, CP, BL and CSC (or HOME_CSC which is the same as csc but doesn't wipe the phone).
the recommended method to root is copying the AP archive to your phone, patching it with the magisk app, copying I back to PC and flashing it along with the other archives in Odin.
Ohhh I understand now, I'm going to do the process later tonight, thanks a lot!
 

HelltioEVGS

Member
Nov 24, 2022
23
4
If you change the system sound,try not to change the charge battery,it works but it has a problem.Sounds that are like 5 or 6 seconds it won't play the whole sound,it will only play a little part of it like 2 and a half or 3 seconds,so if you change it make the sound last 2 or 3 seconds,not far from that,it's weird since my j7 didn't have any problems with the sounds i made for the charge battery.
 

carlitolegay

New member
Feb 18, 2023
1
0
hola colegas, tengo un problema con mi g780g se me borro el imei y se quedo sin señal! ustedes tendrias una copia de efs y qcn para ver si lo puedo recuperar, ya lo flashe con stock rom y nada, el problema empeso cuando quise hace una copia de efs y qcn con z3x, me tiro error parece que se daña la efs y de arrato sereinicia el equipo!! si me pueden ayudar se los voy a agradecer
 

Top Liked Posts

  • There are no posts matching your filters.
  • 39
    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

    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
    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.
    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