yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
If you're having issues with FRP (Factory Reset Protection) - Uninstall your Google accounts from the device & Boot into Recovery and Wipe Cache - Add your Google accounts back to your device..

Sent from my SM-G975W ??
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] whis3031:
nice but i can't remove accs because i can't boot my device :) i get black screen with that frp error and that's it. so i am trying for last few hours to flash official firmware with odin but it is failing....i don't know what to do next. i tried with ap only, bl, ap, cp, csc and csc home but seems my device is f dead. i read here on forum that removing that oem can cause this and that was exactly i did yesterday before i shutdown my device

thanks for reading
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
Maybe it's failing because you're trying to flash a ROM with an older bootloader (you can't downgrade).
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] whis3031:
seems like that. now i tried with latest firmware and goes ok. no fails or errors. thank you. i didn't think about that and i probably misread a lot of posts etc.

hm fails on hidden.img file. will try something else...again :D

seems it fails with home csc. with csc only pass
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] nassim20:
can you please do the same thing with the latest version ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
The latest version don't have this issue AFAIK.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bleros:
Changelog

https://twrp.me/site/update/2019/04/15/twrp-3.3.0-0-released.html

https://twrp.me/site/update/2019/05/22/twrp-3.3.1-0-released.html

Our device

https://eu.dl.twrp.me/herolte/
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kjaved8:
SECURE CHECK FAIL: recovery

When I try to flash TWRP by ODIN, My device says "SECURE CHECK FAIL". How to solve this issue? My S7 has now U9 bootloader.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
U9???

The most recent is version 5 !

Which ROM do you have ?

Are you using Odin v3.13.3 ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] maccaberry:
Bootloader 9 is for the Snapdragon version of the Galaxy S7 (USA). This thread is referring to Exynos version of the S7. The two do not share ROMs.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] kjaved8:
Thanks for correcting me. But I am still unable to find help for bootloader 9.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Droiderat:
There is no TWRP for bootloader 9.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] darkmyself:
i've tried everything, old versions, new versions, different versions of twrp with different versions of odin, i've tried with the latest (both), but every single time my phone gets a bootloop and i have to flash the firmware again

i'm done, i guess i'm never gonna root this device

PS: SM G930F with Oreo
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
You have to boot to TWRP once flashed, then format data. Then, you should either flash dm no verity if you plan to stay on your ROM, or flash a custom ROM (ALEXNDR is great).
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] The_Halomaster:
Redo the OP

Hey guys.

Can someone edit the OP so that it includes the bit about wiping the data.

That's a really important part!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] krneki10:
Coming from stock non-root, which TWRP is recommended - official 3.3.1 from twrp.me or TTKG1994 twrp-3.2.3? I would flash BlackDiamond (Pie).
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
Official is more up-to-date, TTKG1994 one was needed when official was not updated.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] AoEKiller:
No, don't format data, unless you don't use your device for payment. just boot in recovery after flashing and reboot to keep TWRP installed.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
What ?

If you don't format data, TWRP can't mount it, so it can't make any backup.

Also, I'm using ALEXNDR and I can make payment with Google Pay (not Samsung Pay, but as soon as you have installed TWRP you have tripped Knox and Samsung Pay is gone).
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] G Ch:
s7 booting into recovery and stoping

hello i had custom rom on my s7 and i always used it without a problem but for some reason i headed to get back to stock software but during the process it asked me to format partition and while i was doing that my phone crashed. Now it's just showing teamwin screen and not even allowing me to flash rom or do anything. Can someone please help i would be really thankful. thanks!!!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
If you want to restore stock you need to use Odin, it will remove TWRP.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] G Ch:
yes but the problem is when i use odin it stops and says set partition.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] HusinSam:
[MENTION=5775877]AoEKiller[/MENTION] , it is okay, to "no format data" ?

I just want to use stock rom, oreo, and magisk, and taichi + XInternalSD ( internal storage is so limited :( ).

So, First install TWRP 3.3.1.0,

Booted into TWRP

Swipe to Allow Changes

No FORMAT data (Type "NO")

Then Flash Magisk 19.3

Please advice and thanks

[MENTION=5561802]mooms[/MENTION], I want to use the samsung encryption, so formating mean that can not use the encryption anymore. cmiiw

PS: i don't use samsung pay

thanks in advance.

EDIT: forget to mention, my phone is SM-G930FD, latest stock rom update, oreo, still virgin (knox untrip) :D
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rybshik:
booting to TWRP without flashing it

I am new to Samsung and moving from Moto G4.

I want to keep stock ROM.

In order to boot to TWRP, do I need to "unlock bootoader" (other than enabling OEM unlock in Developer options)?

I only need to boot to TWRP using PC Windows 7, without flashing TWRP itself .

My goal is to back up and restore the data partition only (Nandroid backup).

So on Moto, booting the device into the recovery mode, I could achieve that with Windows command line

fastboot boot twrp-3.3.1-0-herolte.img

Will Windows 7 CMD <fastboot> work with Samsung?

What is the proper key combo to enter Samsung recovery?

I did read the first post and Steps 6 and 8, but still not sure how to get into the recovery mode.

P.S. Is there any reason NOT to update from Marshmallow stock ROM to Nougat stock ROM?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
The Bootloader on the Galaxy S7 Exynos variant is NOT locked.

Yes you have to Toggle OEM Unlock.

You Flash the TWRP img.tar with Odin 3.13.13.

To Boot into Recovery - Power + Home Button + Volume UP ?

Sent from my SM-G975W ??
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rybshik:
With Odin, can I boot to TWRP, without permanently flashing it?

If I do permanently flash TWRP, will my device still be eligible for OTA, Samsung Pay,etc?

I do not plan to flash non-stock ROM
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
Why do you want to Boot into TWRP Recovery?

Normally people who want to Flash TWRP - It's because they want Root via either SuperSU or Magisk.

When you Flash TWRP img.tar with Odin 3.13.13 - You will PERMANENTLY Trip Knox Flags - FOREVER!!

You can't Boot into TWRP without Flashing it!

The only way to get future OTAs is to Flash the Stock Samsung Firmware with Odin - But REMEMBER - Knox IS GONE from your device!

I'll ask again - Why do you want TWRP?

There's advantages & DISADVANTAGES to Tripping Knox..

I suggest that you give it some thought BEFORE you Flash TWRP.. ??
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rybshik:
to back up /restore data partition only.

But now I know it will modify the device.

Is there any other way back up /restore data partition?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
What data do you want to backup?

Are you talking about user data & apps or?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rybshik:
both. Ideally, everything what is stored in partition \data
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
Just use Samsung's Smart Switch - I use it to backup to the external sd card & Restore after a Factory Reset ? ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rybshik:
Thanks.

Is there any good reason NOT to update from Marshmallow stock ROM to Nougat stock ROM? Does Nougat slows down the device?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] shaggyskunk:
There's no good reason to not update to Nougat - Not to mention that you are missing out on the Security Patch OTAs!

My S7 was Rooted & I was running Pie on it without any problems ?️
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Mohamed El IDRISSI:
In OP I saw this

I have an FXX firmware, is it not gonna disable encryption?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jackowski626:
Thanks a lot!

I had issues with twrp not mounting data on my s7 (superman 8.0 Rom) even if I formatted data. Couldn't flash the img in twrp because it threw errors installed usi g flashify and everything works like a charm. Thank you very much :)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Mohamed El IDRISSI:
What's your baseband version?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jackowski626:
My baseband version is: G930FXXU2DRB6
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ripee:
Try the latest: G930FXXS5ESGC_G930FXXS5ESGB.tar
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Marsu42:
With recent Android security upgrades, some low-level apps like fake gps, some encryption, 3rd party stores and whatnot won't work anymore. Though lot of things were thightened after Nougat, esp. in the Pie.

Speed depends on what apps run in the backgound - with older Android you need 3rd party solutions like Greenify, with recent Android stopping background battery drain is built-in.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] AMelbye:
Hi, I'm trying to install TWRP on my Galaxy S7. I recently installed the most recent stock firmware (nordic) using Odin v3-13.

I'm now trying to install TWRP v 3.3.1 using the same method. I get the following:

Firmware update start..

NAND Write Start!!

SingleDownload.

recovery.img

FAIL

Complete(Write) operation failed.

According to this thread https://xdaforums.com/note-3-neo/help/solved-odin-flash-failed-downgrade-t3343511 this is happening because the file I'm flashing is older than the one one currently on the device. Maybe so? If this is correct, is there a workaround?

EDIT: I just looked at the screen and it says: "custom binary blocked by FRP lock". I guess that's my problem...
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] mooms:
You need to enable OEM unlock, it's stated in the OP.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Dantalionscheriot71:
Root???

I am thoroughly convinced that my Samsung galaxy s7 sm-G930v_8.0.0 cannot be rooted, any advise on methods ?I've tried many things

---------- Post added at 08:34 PM ---------- Previous post was at 08:23 PM ----------

Can galaxy s7 base version G930VVRUACSF2 be rooted I've searched everywhere
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] wild_west:
Wrong thread
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] MangoBoi:
So, I'm trying to root my s7 (sm-930t/t-mobile) with twrp recovery, but from what I understand from the research i did, the t-mobile models have a locked bootloader. I just want to clarify whether the t-mobile s7 models still have a locked bootloader and if I can root my s7 with twrp recovery.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] force70:
There is a forum for the snapdragon S7, this forum is for exynos.

I suggest heading to the correct forum to better the odds of getting your question answered ( if i knew i would have just told you, just pointing you to the right place is best i can do)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] wild*rainbow:
nevermind. got it.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] msprenger:
Hi [MENTION=9350973]All[/MENTION],

i have a question..i followed the Installation op to the letter, but i cannot boot my phone...

Steps i took

1. installed twrp via latest odin

2. flashed the dm-verity disabler

3. reboot

Bootloop and couldnt Start because veryfication did not work

What did i wrong?

Please help

Thanks in advance
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] force70:
Did you format data?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] msprenger:
Yes now it works..

Thank you..maybe this step could be included in the Op?

Second question..how can i debloat my phone..even with having root now it does Not work:silly:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] force70:
Glad it worked for you.

This step is in the video linked in the OP which anyone not familiar with this procedure should watch before flashing. For most of us formatting data is a well known part of the deal which is likely why its not mentioned...its sort of a given lol.

There are multiple ways to debloat but that is way OT For this thread, hit that search button my friend!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] wild*rainbow:
Edit: I finally got them both working. but now I'm on an 8.1 rom that I don't like. can someone point me in the direction of a stock 8.0 or stock 8.1 rooted rom?

-----------------------------------------------------------------------------------------------------------

So I did this perfectly on 2 phones. and they were fine, I deleted something dumb in Titanium Backup and it messed up the phones. it wouldn't flash anything in twrp so I decided to redo the whole thing, now I have one phone that gets stuck in the samsung bootloop and one phone keeps getting ERROR 1 when I try to flash the no-verity and is stuck there. HELP! I don't know what to do from here. any help would be awesome. they are two S7's running oreo and they are the W8 from Canada.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] NaTopp:
Seems like this won't be added in the near future, right? Anyways, can someone tell if I'm able to use other kind of encryption or am I'm not able to use encryption at all?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rzr86:
can i use this method on a s7 sm-g930f device with android 8.0?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jkeuclid:
Yes, as a matter of fact I just updated my G930F (BTU) this evening with v twrp-3.3.1-0 ;)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] rzr86:
sorry for bothering you again but in the TWRP site it says this:

This device uses dm-verity!

This means that swiping to allow system modifications will prevent you from being able to boot if you are using the stock kernel. In order to bypass dm-verity's boot prevention, you will have to install a kernel that has dm-verity disabled in the fstab.

my question is can i flash supersu via TWRP without changing kernel?

i have stock kernel

also this is the site

https://twrp.me/samsung/samsunggalaxys7.html

edit: also what is the difference between twrp-3.3.1-0-herolte.img and PGP Signature twrp-3.3.1-0-herolte.img.asc ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] jkeuclid:
No bother at all, is what we all do best here. To answer your question, yes you can as I have. See this post for greater detail.

.asc files are script files that are used for secure transmission (PGP, Gpg4win etc.), see here.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] BryanF:
Tried 3x, failed, until I read above to wipe data and now it works....
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ocgw8ost9a:
I think I f*d up. Following through the procedure (skipping SU, as I wanted to us Magisk later), I think, I wiped to much. Not being to carefull I booted after installing dm-verity. Too late I saw TWRP saying, "no os installed". Now I am stuck at "powered by android" and cannot reboot the phone, no connection via adb, but odin seems to have connection. Any hints?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] Gargoyles:
This twrp is older, we can now install twrp more easier. I suggest you to download the stock rom and flash it with Odin. After that, find latest twrp available in tar file and flash it through odin also. Good luck!
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] KevMetal:
if you have odin connection ..download the new twrp .tar ...flash via odin

dont boot to system

boot to twrp with hardware combo

volume up

power

home

hold them all simultaneously

easiest is then to download a modded stock file flashable via twrp and flash that in twrp
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ocgw8ost9a:
Thanks for your suggestions, but I cannot get the Odin connection to fully work. Odin log shows me added/removed when I plug/unplug the USB cable. But the transfer of files is not starting. "Setup Connection" always ends with a fail. I have tried Odin 12.3, 13.1, and 13.3. Tried to flash a firmware or just TWRP, different USB cables, different USB plugs.

As I cannot restart the phone by any combination of keys, I will let the battery run down to a stop and see, if I can restart it afterwards and if I can get into download mode. Except, I get another idea from this forum :)
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] psyalemao:
Hold Vol up + Vol down + Power for some long seconds, it will turn off the screen (if I remember right it will vibrate once to warn that it does powered off), then quickly hold Vol down + Home button + Power while it is trying to reboot. It will show samsung logo (keep holding the buttons) and enter to download mode, confirm pressing Vol Up and then flash again using odin.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] guillefs:
for the International SM-G935FD ???
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ocgw8ost9a:
Thanks again. After few trials, I have managed to load G930FXXS6ESH1_G930FDDX6ESH1_DTM to the S7 using Odin 3.13.

I am not sure, what kind of recovery has survived. It says "Android Recovery" by samsung/heroltexx/herolte. It's not TWRP.

Odined TWRP 3.3.1-0 and installed no-verity 6.1 and everything seems fine.

I am having a try on Magisk next.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dejan-:
quick question. If i follow all full steps for root and want SuperSU, will this delete my data, or can i root my S7 without any data loss?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] KevMetal:
flashing twrp using odin will wipe your data ..... if you just patch boot with magisk with wipe data when you unlock bootloader to flash boot ..so im not aware of any way to root without losing your data

however you can backup your data using samsung smart switch ..root ..restore with samsung switch ...read up on it ..
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] ocgw8ost9a:
Installung SuperSU or Magisk will not delete you data. But you need TWRP on your phone for either. But flashing TWRP will.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] KevMetal:
he is asking in the twrp recovery thread if his data will be wiped if he follows all the steps ...the answer is yes ...

if he installs magisk via patched boot his data will also be wiped unless he has twrp installed

moral of the story he cant root unless he flashes a recovery ..he is in the recovery thread to flash a recovery cos he wants root , which is the first step

why try to be pendantically technical and try to make it seem like he can root his phone without wiping data by stating the obvious ..which is if he has twrp he wont need to wipe data ..

this is silly since to get twrp he would get his data wiped ...ie ..first step to root ...unlock bootloader ( wipes data ) ....second step ...install recovery ..

oh no dont worry ...once you have twrp installed you dont need to wipe data ..:rolleyes::silly:
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dejan-:
That I know, i flashed galaxy i9000 100 times, now I would need root on s7 for android auto (for mirroring) [emoji848]

Poslano z mojega SM-G930F z uporabo Tapatalk
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] HusinSam:
This is my First times to root samsung device, I only have experience with xiaomi and sony,

so I want to ask, after reading this thread: My device is SM-G930FD, latest update Oreo 8, version G930FXXS6ESH7.

I have download the latest twrp image from https://twrp.me/samsung/samsunggalaxys7.html

QUESTION:

if for the first time, I flash recovery new "twrp-3.3.1-0-herolte",

does it still need to flash "no-verity-opt-encrypt-6.1" after magisk ?

does need to format "data" partition ?

EDIT: I will use Magisk

Thanks
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] KevMetal:
yeah flash the no-verity even if you use magisk ...but first ...flash twrp ( WITH ODIN FROM AND FOLLOWING OP) then don't boot to system ...using the hardware keys as explained boot directly to twrp ..swipe to allow modifications ...INSTALL NO VERITY FIRST ...then reboot RECOVERY ..then flash magisk ...then boot to system ..
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] MB525:
You don't need to "swipe to allow modifications" and trip Knox to do this. TWRP and Magisk do not alter system partition.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dejan-:
Does this mean, that OTA updates works even with root?

Poslano z mojega SM-G930F z uporabo Tapatalk
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] bouke:
i've been using root on any of my devices, until now, on my s7.

the main reason for me, is that i dont know if wireless payments are safe, or are working, if i root my device.

since i mostly use my phone nowadays to take care of my payments, and using 2 bank apps, i want to be sure its safe before rooting my device.

is there anyone, who can tell me its still safe after rooting my s7 edge ?

many thanks
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] migudent:
I think, most oft banking apps didn't work on a rooted custom rom (Santander&Targo for me), sorry.
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] KevMetal:
did you try magisk hide ... works for some banking apks
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] dejan-:
ok, i finaly decided to root my S7 (because updates obviously won't come anymore...), after almosts 4 years.

i followed "FULL STEPS FOR OBTAINING ROOT"... well, first i had bootloops... what i had to do (after step 9) was:

- manualy Factory reset in TWRP

- first flash "no-verity-opt-encrypt-6.1"

- then flash SuperSU

now it's working :o

i have 1 question tho...if official update will come and i flash it via odin (even without deleting data and settings)...root will be gone, right ?

and after rooting again..my settings and data will be gone again...

Backup in TWRP...is it enough if i backup only Data partition and after rooting, restoring it ?
[Samsung Galaxy S7 (Exynos) ROMs, Kernels, Recoveri] KevMetal:
well you should have flashed magisk ...what official update ? ...custom roms usually get security patches too ..if you want an update flash a pie port or pie custom rom via twrp ..now that you have a custom recovery stop messing about with odin ...just flash whatever it is you want in twrp ..if samsung released a pie update for s7 which they will never ..someone would make a twrp flashable version ...you lost four years by not rooting ..dont lose more ...if i were you i would flash a stock modded rom via twrp ( debloated) and replace Su with Magisk ..for best results without losing functionality ...if you don't use heart rate monitor just flash any custom rom..there are treble gsi up to android 10 available ..

also update twrp by flashing newest available twrp as .img in twrp recovery by selecting - install- image