[RECOVERY][OFFICIAL][3.4.0-x] TWRP for Galaxy S10/e/+/5G Exynos

cicci0

Senior Member
Aug 20, 2010
155
9
48
Pompei (NA)
hi guys.
i have rooted my s10+ g975f with patched AP and magisk.
now I'm in this situation.
(Powering up normally) → (System with no Magisk)
(Power + Bixby + Volume Up) → (Bootloader warning) → (Release all buttons) → (System with Magisk)
(Power + Bixby + Volume Up) → (Bootloader warning) → (Keep holding volume up) → (Actual recovery).
Is there any way to always boot with root?

following this guide, I managed to get the recovery, but once started, the smartphone restarts after a few seconds.
I cleared cache, and dalvik cache. Nothing. Continuous reboots after loading the home screen.
I'm on this firmware.
G975FXXU9DTJA_G975FOXM9DTJB_ITV
I am using the latest version of twrp.
Solutions?
 

Philnicolls89

Senior Member
Jun 28, 2019
476
172
43
31
A.C.T
hi guys.
i have rooted my s10+ g975f with patched AP and magisk.
now I'm in this situation.
(Powering up normally) → (System with no Magisk)
(Power + Bixby + Volume Up) → (Bootloader warning) → (Release all buttons) → (System with Magisk)
(Power + Bixby + Volume Up) → (Bootloader warning) → (Keep holding volume up) → (Actual recovery).
Is there any way to always boot with root?

following this guide, I managed to get the recovery, but once started, the smartphone restarts after a few seconds.
I cleared cache, and dalvik cache. Nothing. Continuous reboots after loading the home screen.
I'm on this firmware.
G975FXXU9DTJA_G975FOXM9DTJB_ITV
I am using the latest version of twrp.
Solutions?
The only way to always boot with root (not using key combo) is to flash a custom kernel that comes pre rooted with magisk. Such as cruel or thunderstorm.

The latest version of twrp is correct for DTJA firmware, what steps exactly did you do to install twrp?
Since you are already rooted, you only need to patch the twrp file with magisk. Convert it to a .tar file and flash in the AP slot of Odin along with the other files (bl,cp,home csc)

Alternatively you can patch the twrp file with magisk, open your patched AP file and replace the stock recovery with new one and then flash the AP file through odin along with the other files.

Remembering that the first time you boot to twrp it will do a few things then reboot, so when it reboots make sure to not let system boot but again boot to recovery using key combo and flash multidisabler. Then use the menu button to reboot to recovery, which will boot the phone with magisk.
 

lukjod

Senior Member
Aug 12, 2004
143
13
38
Warsaw
If using also edxposed You can nstall perfect addon for rooted Samsung firefds and also set default booting action and modify power actions and buttons as You like among other things

Wysłane z mojego SM-G975F przy użyciu Tapatalka
 

cicci0

Senior Member
Aug 20, 2010
155
9
48
Pompei (NA)
The only way to always boot with root (not using key combo) is to flash a custom kernel that comes pre rooted with magisk. Such as cruel or thunderstorm.

The latest version of twrp is correct for DTJA firmware, what steps exactly did you do to install twrp?
Since you are already rooted, you only need to patch the twrp file with magisk. Convert it to a .tar file and flash in the AP slot of Odin along with the other files (bl,cp,home csc)

Alternatively you can patch the twrp file with magisk, open your patched AP file and replace the stock recovery with new one and then flash the AP file through odin along with the other files.

Remembering that the first time you boot to twrp it will do a few things then reboot, so when it reboots make sure to not let system boot but again boot to recovery using key combo and flash multidisabler. Then use the menu button to reboot to recovery, which will boot the phone with magisk.
Thanks for the reply.
I ran the guide but this step is not described in the guide.
So much so that I don't know how to convert a file in .tar (perhaps with 7zip?).

now i'm on rom with root, but i can't install magisk modules because i don't have twrp.

wanting to stay on stock rom and root, how can I uninstall bloatware (titanium backup for example does not remove the apps, when I restart the phone I always find them installed).

---------- Post added at 05:00 PM ---------- Previous post was at 04:57 PM ----------

Thanks for the reply.
I ran the guide but this step is not described in the guide.
So much so that I don't know how to convert a file in .tar (perhaps with 7zip?).

now i'm on rom with root, but i can't install magisk modules because i don't have twrp.

wanting to stay on stock rom and root, how can I uninstall bloatware (titanium backup for example does not remove the apps, when I restart the phone I always find them installed).
wanting to install the twrp, from the position where I am (root with AP stock patched with magisk), should I still perform a wipe data?
 

yuri76

Senior Member
Jun 8, 2011
588
63
28
milano
hi guys.

i have rooted my s10+ g975f with patched AP and magisk.

now I'm in this situation.

(Powering up normally) → (System with no Magisk)

(Power + Bixby + Volume Up) → (Bootloader warning) → (Release all buttons) → (System with Magisk)

(Power + Bixby + Volume Up) → (Bootloader warning) → (Keep holding volume up) → (Actual recovery).

Is there any way to always boot with root?



following this guide, I managed to get the recovery, but once started, the smartphone restarts after a few seconds.

I cleared cache, and dalvik cache. Nothing. Continuous reboots after loading the home screen.

I'm on this firmware.

G975FXXU9DTJA_G975FOXM9DTJB_ITV

I am using the latest version of twrp.

Solutions?
Si con crue kernel

Yes with crue kernel

S10-plus Cardhdrom
 

Philnicolls89

Senior Member
Jun 28, 2019
476
172
43
31
A.C.T
Thanks for the reply.
I ran the guide but this step is not described in the guide.
So much so that I don't know how to convert a file in .tar (perhaps with 7zip?).

now i'm on rom with root, but i can't install magisk modules because i don't have twrp.

wanting to stay on stock rom and root, how can I uninstall bloatware (titanium backup for example does not remove the apps, when I restart the phone I always find them installed).

---------- Post added at 05:00 PM ---------- Previous post was at 04:57 PM ----------



wanting to install the twrp, from the position where I am (root with AP stock patched with magisk), should I still perform a wipe data?
You can find .tar converter programs on Google, that's probably the simplest way
Otherwise just get your patched AP file and open it using 7zip, delete the original recovery and add your magisk patched twrp .img file (renamed to 'recovery') and flash the whole AP file with the other files using home csc to retain data. No data wipe needed. Formatting is only needed when installing magisk from scratch.
Also titanium backup doesn't work for me a lot of the time to delete apps etc. I use it to find where the files are located and manually delete with a root Explorer such as mixplorer.
*Edit* the disable vbmeta file in the instructions is used for flashing twrp without root, also some of the steps assume you are not yet rooted, eg performing a data format. Its much simpler if already rooted as I said above.
Hope this helps:)
 
Last edited:

cicci0

Senior Member
Aug 20, 2010
155
9
48
Pompei (NA)
You can find .tar converter programs on Google, that's probably the simplest way
Otherwise just get your patched AP file and open it using 7zip, delete the original recovery and add your magisk patched twrp .img file (renamed to 'recovery') and flash the whole AP file with the other files using home csc to retain data. No data wipe needed. Formatting is only needed when installing magisk from scratch.
Also titanium backup doesn't work for me a lot of the time to delete apps etc. I use it to find where the files are located and manually delete with a root Explorer such as mixplorer.
*Edit* the disable vbmeta file in the instructions is used for flashing twrp without root, also some of the steps assume you are not yet rooted, eg performing a data format. Its much simpler if already rooted as I said above.
Hope this helps:)
Updates.
I was on stock firmware with root.
I downloaded the latest version of twrp, patched it in recovery.img, converted to recovery.tar.
From odin I have installed BL, AP (with recovery.tar), cp, csc and homecsc.
Something is wrong because the phone only starts in downloadmode with the words:
recovery: error validating footer. (0)
recovery: error verifying vmeta image: invalid vbmeta header (6).
custom recovery g975fxxu9dtja, 35343968a

---------- Post added at 11:50 AM ---------- Previous post was at 11:44 AM ----------

I had omitted this factor.

Download avb disabled vbmeta .tar
Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + bixby + power to force it boot straight in TWRP after flashing.

So, now I got the recovery, and flashed the multidisabler.

We hope well.

---------- Post added at 11:51 AM ---------- Previous post was at 11:50 AM ----------

I had omitted this factor.

Download avb disabled vbmeta .tar
Open Odin v3.14.1 and place the downloaded TWRP .tar file in AP tab, downloaded vbmeta .tar file in CP tab and click Start - once you press start grab the phone and press vol up + bixby + power to force it boot straight in TWRP after flashing.

So, now I got the recovery, and flashed the multidisabler.

We hope well.
 
  • Like
Reactions: Nathanielvk

cicci0

Senior Member
Aug 20, 2010
155
9
48
Pompei (NA)
nada...
i'm stupid or what?

i deleted everything, redid root with masigk (ap patched).
I patched the recovery, flash in AP with vmbeta in CP, bl with the original bl and csc.
I have twrp recovery but the sartphne does not start .. bootloop on the samsung logo.
What am I doing wrong?

---------- Post added at 01:22 PM ---------- Previous post was at 12:58 PM ----------

after doing all of the above, i had got a bootloop.

Sure I have done everything accurately, I tried to make a "format data" confirming with the writing YES from recovery.

At that point I flashed the multidisabler.zip.

I rebooted and finally the phone booted normally, I followed the first boot, language, date and time, etc ...

Now I have installed magisk manager again, from which I got the root (magisk has configured the rootm by rebooting the phone autonomously).

I finished? I have both root and recovery. All right? Can I use the phone and in this case, if I now perform a full backup from twrp recovery, would a subsequent restore from twrp bring me back to the conditions I am in now?

Also, can I use terminal disabler (magisk plugin) now ?.
Thanks for the tips.
 

messia74

Senior Member
Dec 12, 2008
887
187
63
Roma... la CAPITALE
good Morning, a noob question please.
  1. Let the phone boot normally, pass the setup and connect to internet (wireless or mobile data) in order to unlock RMM;
  2. Make sure OEM Unlock is ON in developer settings;
  3. Turn off the phone;
  4. Use vol down + bixby key + usb cable plugged to a pc to start the phone in download mode, short press vol up to confirm you want to go to download mode;
    * If by any chance you see RMM state=Prenormal or KG state=Prenormal, redo from step 5!
What is RMM?? Thanks in advcnce
 
  • Like
Reactions: DerSteppo

drinks_rootbeer

New member
Dec 17, 2020
1
0
1
Hello! I'm new to android ROMs. I'm attempting to flash LineageOS alongside Magisk. I tried this a few months back but due to some hardware issues I needed to return the phone and order a new one. Here I am, at it again.

So I came to the XDK forums and found the LineageOS 18 thread and started following the instructions there, as well as these recommended TWRP thread instructions. In this TWRP thread I clicked the download link for S10+ and the instructions said to first root with Magisk, then pre-root a TWRP image before flashing it to recovery. It linked me to the john wu instructions. So these are the instructions I've followed:
  1. Make sure OEM unlock is on
  2. Turn phone off
  3. Boot into download mode
  4. Flash stock firmware (obtained via Frija, version G975FXXS9DTK9 / SM-G975F_1_20201116171140_gnww4vsynz_fac zip.enc4
  5. Repeat 1-3
  6. Long press volume up to unlock bootloader
  7. Repeat 1-3
I then followed John Wu's instructions available here. My phone's ramdisk result was "no", so I skipped to the Samsung System as Root section.

Unlocking Bootloader

This was done previously, so I read through it but ended up skipping all the instructions. I confirmed that in dev settings the OEM Bootloader option is greyed out and set to "on".

Instructions

I followed all of these. Once Odin3 finished flashing the Magisk patched AP file my device rebooted. It is now stuck in a bootloop.

After arriving here, I did some googling and got my phone back into download mode, then reflashed the stock firmware. The device boots properly into the Samsung setup screen and now will gracefully boot once shutdown.

What did I do wrong? Why are these instructions so unclear?

Thanks in advance.

EDIT:

So I took a break for a day, and looked up some further guides and reading. I reflashed the stock firmware after trying the above process again, then followed these instructions. I got as far as step 10 (and made sure to untick "auto-reboot" in Odin3), but during this process my phone got stuck in a boot loop AGAIN. reflashed with stock firmware AGAIN. I have no idea why this isn't working, some help would be greatly appreciated since apparently this isn't as straightforward as following the simple instructions from one of 3 or 4 different guides that all say the same ****. Before anyone asks, when I flashed the magisk-patched file, YES, I also added in the stock BL, CP, CSC files (CSC, not HOME_CSC).
 
Last edited:

Philnicolls89

Senior Member
Jun 28, 2019
476
172
43
31
A.C.T
EDIT:
So I took a break for a day, and looked up some further guides and reading. I reflashed the stock firmware after trying the above process again, then followed these instructions. I got as far as step 10 (and made sure to untick "auto-reboot" in Odin3), but during this process my phone got stuck in a boot loop AGAIN. reflashed with stock firmware AGAIN. I have no idea why this isn't working, some help would be greatly appreciated since apparently this isn't as straightforward as following the simple instructions from one of 3 or 4 different guides that all say the same ****. Before anyone asks, when I flashed the magisk-patched file, YES, I also added in the stock BL, CP, CSC files (CSC, not HOME_CSC).
The steps to install root (magisk) are quite simple, so I'm not sure why it isn't working for you. Just to clarify these are the steps you took:
1. Unlock developer options and turn on OEM unlocking.
2. Turn off phone, boot to download mode and unlock boot loader. This will do a data format (wipe everything on ur phone)
3. Turn on phone, set up phone and install magisk manager
4. Download firmware from frija or sammobile
5. patch the AP file with magisk
6. Download the correct twrp for ur firmware and patch twrp with magisk (different TWRP versions are needed for different firmware versions)
7. Rename patched twrp to 'recovery', then open patched AP file using 7zip, replace stock recovery with new recovery file
8. Flash AP file using odin along with the other bl,cp and csc or home_csc files
9. Restart to twrp using key combo and flash multi disabler
10. Using twrp select restart to recovery and allow phone to boot
11. Open magisk manager, magisk should now be installed or ask you to finish the set up process.
12. Enjoy

This is a basic guide and if its what you already did and are still experiencing bootloops please let me know and I'll point you in the right direction.
Once u are rooted with twrp you can then go about installing your custom roms etc.