How To Guide how to Root Samsung Galaxy S23/S23+ - Samsung Galaxy S23

How to Root Samsung S23/S23+ *Newbie Guide*
Attention, FYI:
The Root method was performed and successfully tested with a Samsung Galaxy S23 SM-911B/DS.
I do not guarantee that it will work on the other models, I can not test it because I do not have the devices.
However, it would be nice to hear if you have done it on another device model and it all works out, post here in the forum which model you have rooted.
Spoiler: Galaxy S23 - Model Information
SM-S911B -- Europe / Africa / Middle East / Oceania
SM-S911B/DS -- (assumed same as above, Dual SIM)
SM-S911U -- USA
SM-S911U1 -- USA ( factory unlocked )
SM-S911W -- Canada
SM-S911N -- Korea
SM-S9110 -- China / Taiwan / Hong Kong
SM-S911E -- Latin America
SM-S911E/DS -- (assumed same as above, Dual SIM)
WARNING
Before you root your device you must be aware that
This will void warranty.
As of now you will lose Samsung Pay and Samsung Pass forever if you root once, even unrooting won't help.
There are many features stop working when you unlock bootloader other than S pay/Pass like Samsung Health, Secure Folder, Galaxy Watch pairing issue, Issue connecting old gear watch (S3 or earlier), Google Pay etc but ROM is patched for all these mentioned features. Still you may trouble using some bank apps and these may fixed by adding these apps to Magisk Hide
There may be some knox features there which you may not able to use but I can't list those as I never used. Just Google It
Patched featurs are working today when writing this, No idea if it may stop working next moment/tomorrow or later
Also to note, once you root, you can't go back to "pre-rooted" state completely. It is one way!
OTA won't work once you root device.
Once you root the device, you will forever receive the following message: "Access denied - Unauthorized changes have been made to your phone. To get help, contact Customer Service.". Even if you reset the device back to factory settings and lock the bootloader, the message remains !!!! (with root there is a solution).
ROOT with caution.
You can unroot & Relock bootloader after flashing stock firmware, but still your warranty flag remain 0x1 and most of countries it still voids warranty. Also after unrooting & relocking bootloader, some knox features never work again.
First of all you need the following tools.
*A previously unlocked bootloader is the prerequisite!!*
Download last Samsung Drivers.
Download Odin v.3.14.1. (Thanks to realbbb)
Download Frija or Bifrost (Github Info)
Download Magisk v26.1 (Github Info) (Please use only this Magisk APK.)
1. Go into your Phone to developer mode and activate USB-Debugging
2. Install Magisk v 26.1 APK.
3. Download your (new) Firmware in Frija or Bifrost and Unzip File to PC.
4. Unzip Downloaded Firmware.zip.
5. Take from Unpacked Firmware.zip the "AP" to your Phone and open Magisk.
Go in Magisk to Install (from Device Slot) and take file the "AP- Data" from Storage and patch.
6. After Patch go your Download Folder from Device there is a MagiskPatched .tar Data. (your new AP-Data !)
Take the MagiskPatched.tar Data from your Phone to you Computer. (in same Folder like the Firmware files)
7. Open Odin on PC and turn off your Phone. Once your device is turned off > Hold Vol. UP + DOWN and Connect your USB-C cable from PC to your Phone. (Now start your Phone in Download Mode.) > Klick 1 time Vol. UP to start Download Mode.
Now in Odin your Device must be connected like "0:COM (Number)" in blue.
8. Now take from Unpacked Firmware.zip >
BL to BL
AP to MagiskPatched.tar
CP to CP
CSC to ***Read Attention***
*** Attention important!!! ***
#CLEAN - If you flash the first time Magisk clean on your device you must use the "CSC_OXM". (Accordingly, you lose all data and must set up your device again!!!)
#Update_Firmware - If you already have Magisk on your device and only make a firmware update take only the "HOME_CSC_OXM" !!! With the "HOME_CSC_OXM" you will not lose any data!
Start the Flash in Odin. (it takes 5 - 10 minutes!!!) Make sure that the cable is not accidentally touched / disconnected. It is best to use the supplied cable! Make sure that the cable has no loose contact and is seated correctly!
9. When the flash is finished, Odin says 1/Successful.
Your device will now restart automatically.
10. Once your device is successfully booted, open Magisk-App and you are successfully rooted. (A further reboot is automatically performed by Magisk!)
Finish !!! Gratulation !!!
If you have rooted your device I recommend the following Magisk extensions:
- Magisk Bootloop Protector v1.8.1-10015 - Safe you from Bootloop if u add wrong Magisk Module.
- BusyBox v1.0.4 - must have...
- SafetyNetFix v.2.4.0 > to pass SafetyNet and use Apps like Banking, etc.
- digitalkey_disabler_afaneh92 v1.0 > to FIX pop-up message "Access denied - Unauthorized changes have been made to your phone. To get help, contact Customer Service.". Even if you reset the device back to factory settings and lock the bootloader, the message remains !!!! (with root there is a solution)."
- ***Knox Patch v.0.5.0 (Thanks to BlackMesa123) > to FIX any Samsung Apps.
***For the KnoxPatch you need LSPosed v.1.8.6-6712-zygisk-release + KnoxPatch-APK + the KnoxPatch-Magisk modul.
Attached I have created a folder where I upload more Magisk extensions and APK tools for the S23. I will try to maintain it. If something useful is added I will pin it directly.
Root-Tools-Collection
If I have forgotten something, complement me.
Greetings Ramme

Do you have experience with ROM tool from Dr.Ketan? In this Magisk module there is an AdFree option and a lot customization. I thought that then KnoxPatch isn't needed because the fixes are also included.

waterpolo said:
Do you have experience with ROM tool from Dr.Ketan? In this Magisk module there is an AdFree option and a lot customization. I thought that then KnoxPatch isn't needed because the fixes are also included.
Click to expand...
Click to collapse
Yes, I personally use the Dr.Ketan Pro version. However, I try to work without the ROM-tool this time.
There is the ROM-tool-apk and if you pay the ProTwearks-extension-apk.
The problem is that you have to reset all settings in both tools after each system update, so I personally see no advantage in the ROM tool. With the last firmware update I was a little too hasty and have even shot me the ROM tool.
Unfortunately, Dr. Ketan makes no FULL ROM for the S23/S23+ so you have to live with it.
The Pro version is personally only for debloat.
On the subject of AD-Free, this is a nice extension, but this is a non-configurable AD-blocker, so you can not set personal configurations such as adding exceptions. So the classic and well working way use AdAway.
For AdAway there are some sources, I recommend if you are lazy the GoodbyeAds source + Own Exceptions.
Regarding the Knock Patch, I can't say anything about it, I use the file I pinned + LS-Posed (as a shortcut) and it works fine.
My SafetyNet is PASS.

Hello will this work on galaxy s23 sm-s911n ?
If not, do you have root instructions for sm-s911n

cashmonkey said:
Hello will this work on galaxy s23 sm-s911n ?
If not, do you have root instructions for sm-s911n
Click to expand...
Click to collapse
If you have the possibility to unlock the bootloader, it should work. The steps do not change.
However, I can't guarantee that it will work, so you have to try it at your own risk.
As far as I know, the bootloader cannot be unlocked on the US models, so you have no possibility to root there.

Ramme said:
If you have the possibility to unlock the bootloader, it should work. The steps do not change.
However, I can't guarantee that it will work, so you have to try it at your own risk.
As far as I know, the bootloader cannot be unlocked on the US models, so you have no possibility to root there.
Click to expand...
Click to collapse
Thank you for the prompt reply!
I'm in USA T-Mobile and purchased the galaxy s23 sm-s911n so I can get the 512gb version
I'll let you know when I get the phone and try the rooting to see if it works.
Fingers crossed
Thanks

hello there
after a further reboot automatically performed by Magisk,i lose root again,how to fix it
thanks

zeroabcdezero said:
hello there
after a further reboot automatically performed by Magisk,i lose root again,how to fix it
thanks
Click to expand...
Click to collapse
Did you use Magisk S23 version.
Last week my S23 rooted with the procedure in OP and have still root.

zeroabcdezero said:
hello there
after a further reboot automatically performed by Magisk,i lose root again,how to fix it
thanks
Click to expand...
Click to collapse
I had exactly the same problem, so it is very important to use exactly this Magisk version, which I have linked. Also, after installing Magisk, do not update Magisk for the time being.

Ramme said:
I had exactly the same problem, so it is very important to use exactly this Magisk version, which I have linked. Also, after installing Magisk, do not update Magisk for the time being.
Click to expand...
Click to collapse
Succeded!
Thank you again.

Ramme said:
I had exactly the same problem, so it is very important to use exactly this Magisk version, which I have linked. Also, after installing Magisk, do not update Magisk for the time being.
Click to expand...
Click to collapse
is the APK you linked the same as the canary version from the official Magisk GitHub?

Enddo said:
is the APK you linked the same as the canary version from the official Magisk GitHub?
Click to expand...
Click to collapse
No this is the APK which was posted in the "How to Root" topic by Dr. Ketan. This is currently the only Magisk APK that works with the S23 models.
For more info about the Magisk(KlickME). (Thanks to @BlackMesa123)
I have only uploaded everything separately in my cloud, on the one hand so that I can find the data quickly, on the other hand so that I can always keep the data up to date.

The only thing stopping me from rooting is losing Samsung Pay, which allows me to pay for public transportation without needing to unlock/authenticate.
Is there a way to retain Samsung Pay after rooting?

Gymcode said:
The only thing stopping me from rooting is losing Samsung Pay, which allows me to pay for public transportation without needing to unlock/authenticate.
Is there a way to retain Samsung Pay after rooting?
Click to expand...
Click to collapse
No there is (currently) no possibility to use SPay, there probably won't be.
You can use GPay as an alternative.
But it is also all described above in the topic. Please read it carefully before questions are asked. Alternatively, use a translator...
If new special possibilities come, I will of course share them with you, if you discover important features, please share them with me as well.

Adway is updated:
Releases · AdAway/AdAway
AdAway is a free and open source ad blocker for Android. - AdAway/AdAway
github.com

Hello all,
I'm running into an issue rooting S23 Plus that im not finding any information about online.
My boot loader is unlocked, I've followed the process to root. After installing the patched file from Magisk, the phone boots fine and gives me the setup, but I get an error at the portion where I accept Samsung terms. I just get -45
If I erase the phone back to the default FW, the setup completes without issue.
Has anyone ever seen this error before?

balbosta said:
Hello all,
I'm running into an issue rooting S23 Plus that im not finding any information about online.
My boot loader is unlocked, I've followed the process to root. After installing the patched file from Magisk, the phone boots fine and gives me the setup, but I get an error at the portion where I accept Samsung terms. I just get -45
If I erase the phone back to the default FW, the setup completes without issue.
Has anyone ever seen this error before?
Click to expand...
Click to collapse
Unfortunately not yet seen/had.
Try to reset your device according to my instructions, but for the first time without Magisk. Do not use the Home_CSC, but the normal CSC for the first time.
If your device can be set up and you get into the system, repeat the flash process with Odin, but now use the patched AP file and the Home_CSC file.
Now your device should boot, is set up and it should also have Magisk on it.

Ramme said:
Unfortunately not yet seen/had.
Try to reset your device according to my instructions, but for the first time without Magisk. Do not use the Home_CSC, but the normal CSC for the first time.
If your device can be set up and you get into the system, repeat the flash process with Odin, but now use the patched AP file and the Home_CSC file.
Now your device should boot, is set up and it should also have Magisk on it.
Click to expand...
Click to collapse
Okay, so just to confirm I'm doing this all correctly, since I'm fairly new to rooting.
I've downloaded the stock FW from Samfrew.
It contains 5 files.
AP, BL, CP, CSC, and HOME_CSC
On a clean install, I need to transfer AP to the phone and use Magisk to patch. After patch, I move back to my PC.
In Odin, I should be using AP from Magisk, then BL, CP, and HOME_CSC files from stock FW.
Is this correct?

balbosta said:
Okay, so just to confirm I'm doing this all correctly, since I'm fairly new to rooting.
I've downloaded the stock FW from Samfrew.
It contains 5 files.
AP, BL, CP, CSC, and HOME_CSC
On a clean install, I need to transfer AP to the phone and use Magisk to patch. After patch, I move back to my PC.
In Odin, I should be using AP from Magisk, then BL, CP, and HOME_CSC files from stock FW.
Is this correct?
Click to expand...
Click to collapse
Download your ROM in Frija.
Take out all the data.
Flash as follows:
BL, AP, CP, CSC. ( do not use the magisk-Patched-AP data)
Boot your device, set it up.
Once it's set up, install the Magisk APK version I post above and launch Magisk.(Dont Update Magisk!)
Drag the AP file to your device, patch the AP into Magisk and make it back to your PC.
Now flash BL, (Magisk-AP), CP, Home_CSC.
Then your device should boot normally and magisk is installed.

Ramme said:
Download your ROM in Frija.
Take out all the data.
Flash as follows:
BL, AP, CP, CSC. ( do not use the magisk-Patched-AP data)
Boot your device, set it up.
Once it's set up, install the Magisk APK version I post above and launch Magisk.(Dont Update Magisk!)
Drag the AP file to your device, patch the AP into Magisk and make it back to your PC.
Now flash BL, (Magisk-AP), CP, Home_CSC.
Then your device should boot normally and magisk is installed.
Click to expand...
Click to collapse
I tried this step by step.
After flashing with BL, Magisk-AP, CP, and Home_CSC, the phone will not boot. Eventually it tells me I need to factory reset. If I factory reset, the phone will boot to the setup, but im still met with "-45" when the phone should activate.

Related

Question about installing Magisk through Odin

So I've already used magisk on my A520F. But the thing is I had to use TWRP to flash it- So that meant that the binaries changed from Samsung Official to custom and things like Knox tripped as it detected I had tampered with the OS (because of TWRP, not Magisk)
So recently I started to search for a way to flash magisk on the ROM I have without the need of using a tool like TWRP, and I just read the official thread but, as I'm almost a noob on these things, I have some questions to ask:
1- I know how to extract boot.img- but then what? What is to patch it? I didn't understand that quite well
2- Lets say I have a firmware(official) which I flashed into my phone. If I extract the AP file and get the boot.img from there, as it's the same file It's supposedly flashed onto my phone, can I use that boot.img to install magisk?
A third thing, not related to magisk but I would be intrested to know
I've installed a UK firmware which turned out to be a Carrier firmware- I had to delete hidden.img to make it flash. I entered into downlaod mode to check everything was in 'official mode' and then I just realised that a new line had appeared in the Download mode list
RMM STATE: Prenormal
Can someone explain what is it?
Thanks anyone who helps me.
Okay, I've already figured out what to do with the boot.img
Tho I still need answer for the second question
carlosmedia said:
So I've already used magisk on my A520F. But the thing is I had to use TWRP to flash it- So that meant that the binaries changed from Samsung Official to custom and things like Knox tripped as it detected I had tampered with the OS (because of TWRP, not Magisk)
So recently I started to search for a way to flash magisk on the ROM I have without the need of using a tool like TWRP, and I just read the official thread but, as I'm almost a noob on these things, I have some questions to ask:
1- I know how to extract boot.img- but then what? What is to patch it? I didn't understand that quite well
2- Lets say I have a firmware(official) which I flashed into my phone. If I extract the AP file and get the boot.img from there, as it's the same file It's supposedly flashed onto my phone, can I use that boot.img to install magisk?
A third thing, not related to magisk but I would be intrested to know
I've installed a UK firmware which turned out to be a Carrier firmware- I had to delete hidden.img to make it flash. I entered into downlaod mode to check everything was in 'official mode' and then I just realised that a new line had appeared in the Download mode list
RMM STATE: Prenormal
Can someone explain what is it?
Thanks anyone who helps me.
Click to expand...
Click to collapse
RMM state: This probably stands for Remote Monitoring & Management. RMM seemingly manages to prevent users from installing a custom binary on their devices while its active.
How RMM works?
There’s more to it than just that though. Say, your device was stolen, or you dropped it and someone found it but decides to use it himself. He’ll wipe your device probably, and when he does, RMM will make it a requirement that the device is connected to the Internet after the first boot. Otherwise, the person, or the thief, won’t be able to get past the setup screen. If he does connect to the Internet, the device will ask for your Google account instead of letting any account be used. Your account information is saved on an FRP partition the device. Since he can’t flash any custom binaries at all, there’s no way for him to get rid of it.
Same Situation
carlosmedia said:
Okay, I've already figured out what to do with the boot.img
Tho I still need answer for the second question
Click to expand...
Click to collapse
Can you help me on how you manage to flash the boot.img of magisk along with the stock ?

Root [TWRP + Magisk] kills device Security :: Pin/Fingerprints broken

Hello XDA, I'm going to keep this short and sweet - I was able to root my device using the TWRP + Magisk method and some online guides. I believe after experimenting and flashing over the weekend, there is a bug, race condition, or something that prevents bio metrics and security from properly working on the Note 9.
If I set a pin, as it's required for me to add my fingerprints - when I later try to unlock the phone, the device will say the wrong pin. Deleting the cache, reading guides etc will only get you in a bootloop.
I'm in a state right now where I'm rooted with no device security, as adding a pin will effectively brick the device until flashing with Stock Android again.
_______
I was able to root last week Friday. I didn't bother setting a pin as I was happy to have root. Yesterday, I decided to go ahead and set my pin and soon enough, was prompted to use it to disable security.
I really thought I had mistakenly confirmed a stray character in my pin, and after toying, researching, and flashing my device over the weekend, Ive come to a crux where I could use some expert assistance.
Some guides I used had links to an RMM disabled or some ****, another guide had two zips for a different type of disabler. I'm not linking them, because apparently none of them work, but I believe this is where the problem lies. I think one of the zips is to remove the OEM Integrity Check or some **** Samsung wrote to secure the device. One of the packages I flashed took all those packages but nothing has worked.
Setting your pin during setup, or later in settings yields the same results - you will lock yourself out until you flash Stock Android to restart the process.
We're almost there guys, just need to be able to lock my device like a normal cellhpone user - thank you
dekalbcountyman said:
Hello XDA, I'm going to keep this short and sweet - I was able to root my device using the TWRP + Magisk method and some online guides. I believe after experimenting and flashing over the weekend, there is a bug, race condition, or something that prevents bio metrics and security from properly working on the Note 9.
If I set a pin, as it's required for me to add my fingerprints - when I later try to unlock the phone, the device will say the wrong pin. Deleting the cache, reading guides etc will only get you in a bootloop.
I'm in a state right now where I'm rooted with no device security, as adding a pin will effectively brick the device until flashing with Stock Android again.
_______
I was able to root last week Friday. I didn't bother setting a pin as I was happy to have root. Yesterday, I decided to go ahead and set my pin and soon enough, was prompted to use it to disable security.
I really thought I had mistakenly confirmed a stray character in my pin, and after toying, researching, and flashing my device over the weekend, Ive come to a crux where I could use some expert assistance.
Some guides I used had links to an RMM disabled or some ****, another guide had two zips for a different type of disabler. I'm not linking them, because apparently none of them work, but I believe this is where the problem lies. I think one of the zips is to remove the OEM Integrity Check or some **** Samsung wrote to secure the device. One of the packages I flashed took all those packages but nothing has worked.
Setting your pin during setup, or later in settings yields the same results - you will lock yourself out until you flash Stock Android to restart the process.
We're almost there guys, just need to be able to lock my device like a normal cellhpone user - thank you
Click to expand...
Click to collapse
did you encrypt your device? when you reboot, do you see an animation of a pad lock?
bober10113 said:
did you encrypt your device? when you reboot, do you see an animation of a pad lock?
Click to expand...
Click to collapse
Bober, first of all thanks for taking YOUR TIME to respond - as a senior member I feel like we can make progress
No, my phone is not encrypted - there is no lock when booting up, just the Stock Samsung animation
I do not use any system encryption or anything like that. I’m a hardware first guy, and use a suite of my own private encrypted cloud software
I played with my Note 9 before I rotted cow TWRP + Magisk - all tutorials out there mentioned flashing various encryption/security zips which I have - I think those zoos are geared for Knox
After you root the phone, you cannot set any type of biometric security or pin or you will be stuck in a bootloop/lock loop as the device is unable to authenticate your pin
dekalbcountyman said:
Bober, first of all thanks for taking YOUR TIME to respond - as a senior member I feel like we can make progress
No, my phone is not encrypted - there is no lock when booting up, just the Stock Samsung animation
I do not use any system encryption or anything like that. I’m a hardware first guy, and use a suite of my own private encrypted cloud software
I played with my Note 9 before I rotted cow TWRP + Magisk - all tutorials out there mentioned flashing various encryption/security zips which I have - I think those zoos are geared for Knox
After you root the phone, you cannot set any type of biometric security or pin or you will be stuck in a bootloop/lock loop as the device is unable to authenticate your pin
Click to expand...
Click to collapse
Are you using Snapdragon or Exynos?
mmjs14 said:
Are you using Snapdragon or Exynos?
Click to expand...
Click to collapse
Sir, I am using a
Galaxy Note 9
SM-N960F Internationals Unlocked
Alpine White
Exynos
Boot loader is TWRP and OEM Unlock is staying open permanently
I have all the hardware required, just need to overcome this software quirk so I can lock my phone when I’m not using it
dekalbcountyman said:
Bober, first of all thanks for taking YOUR TIME to respond - as a senior member I feel like we can make progress
No, my phone is not encrypted - there is no lock when booting up, just the Stock Samsung animation
I do not use any system encryption or anything like that. I’m a hardware first guy, and use a suite of my own private encrypted cloud software
I played with my Note 9 before I rotted cow TWRP + Magisk - all tutorials out there mentioned flashing various encryption/security zips which I have - I think those zoos are geared for Knox
After you root the phone, you cannot set any type of biometric security or pin or you will be stuck in a bootloop/lock loop as the device is unable to authenticate your pin
Click to expand...
Click to collapse
ive never seen this. what firmware are you on?
have you tried to download the very latest and completely wipe your phone? use samfirm tool 0.3.6 do dl the latest.
fill up all the slots with the md5 files u dled with samfirm and flash using odin( in csc slot use csc.md5 instead of home_csc.md5.)
go dl
magisk zip:
https://github.com/topjohnwu/Magisk/releases/download/v19.2/Magisk-v19.2.zip
and apk:
https://github.com/topjohnwu/Magisk/releases/download/manager-v7.2.0/MagiskManager-v7.2.0.apk
ketan oem fix +root
https://www.androidfilehost.com/?w=files&flid=281291
once back on latest stock firmware root again using twrp 3.2.x.x tar
flash it with odin but go to option and uncheck autoreboot
and flash twrp.tar in the AP slot.
once successful, manualy reboot phone to recovery( dont let it boot to homescreen! so hold vol up + Bixby +power
once in twrp swipe to get in recovery. go to wipe button and Format ( type yes) and go to reboot button and choose reboot to recovery
once back to recovery go again to wipe button and choose factory wipe.
once done flash dr ketan oem and root zip. ( within the aroma setup of that zip choose yes to both option for root and kernel)
once finished you can now flash the latest magisk.zip as dled earlier.
now reboot and setup your device. once done you can install magisk manger .apk that was dled earlier.
Bober, I did your steps exactly as described and used the links you provided and got it working w/ Biometric Security
I've flashed my phone like 20 times so the process took like 15 minutes max - this was also the first time I flashed all the files in the firmware download. Other guides out there tell me I only need to load the AP slot when flashing for this phone.
The "ketan oem fix +root" is the only security/system level zip I flashed using TWRP - besides looking like an early 2000s rootkit, the Terms of Use had an old version listed and said the binary was from 2015
I couldn't take screens, but everything went well when I checked the version
Thank You so much - in the future, will this root method hold for the life of the Note 9? Like when the new Android after Pie is released, will it be as simple as
1. Backing Up Phone
2. Flashing Android 10 Stock via Odin
3. Reflashing TWRP and Rooting
or is there a more streamlined approach to this? Thanks mate
dekalbcountyman said:
Bober, I did your steps exactly as described and used the links you provided and got it working w/ Biometric Security
I've flashed my phone like 20 times so the process took like 15 minutes max - this was also the first time I flashed all the files in the firmware download. Other guides out there tell me I only need to load the AP slot when flashing for this phone.
The "ketan oem fix +root" is the only security/system level zip I flashed using TWRP - besides looking like an early 2000s rootkit, the Terms of Use had an old version listed and said the binary was from 2015
I couldn't take screens, but everything went well when I checked the version
Thank You so much - in the future, will this root method hold for the life of the Note 9? Like when the new Android after Pie is released, will it be as simple as
1. Backing Up Phone
2. Flashing Android 10 Stock via Odin
3. Reflashing TWRP and Rooting
or is there a more streamlined approach to this? Thanks mate
Click to expand...
Click to collapse
actualy the root method that dr ketan created is just a way to bypass an issue that not all phones have(rmm state aka binaries error when booting.
but technically the method should be;
flash twrp, format, reboot again to recovery and flash official magisk .zip
you can also rely on rom developpers to flash their version instead of stock android via odin. this allows you to not always have to go through the twrp/root procedure each time and also rom devs include nice additional features.
anyways glad i could help.

Note 8 soft bricked

Salutations everybody. I haven't had a phone from sammy in a while. Finally invested in a SM-N950F note 8. It's oreo. Tried to root earlier today using the pinned guide in the Guides forum. After going through the process, and flashing twrp. Then formatting data. And rebooting it to twrp (which I did a couple of times) (May been where I messed up,but it doesn't seem likely to me) I flashed the oreo n950f oem issue zip and rooted with magisk. Upon rebooting & enabling dev options. The oem toggle was missing. The guide didn't say what to do in the event that it was missing. Just that it was safe to reboot if it was there, and enabled.
Me being rushed for time rebooted anyway, and now when I try to boot up I get only official released binaries may be flashed, and the phone shuts off.
I'm aware I can restore to stock via odin. But I have a couple of questions.
A. Can I use the same odin version I used for the root process to return to stock, or do I need a different one?
And
B. There are loads of options for country and carrier on sammobiles site. I bought the phone used and have no idea of its country of origin. There is a version that says unknown for country and (bat) for carrier. Is that one safe to use, and is there any difference between the firmwares other than carrier setting being preinstalled (would be my guess of the only difference.)
Thanks in advance for any help you can provide.
This msg Only official released binaries are allowed to be flashed cause of the new security patch lock which called RMM or KG and since u were rooted before then u got this error that's cause you flashed a new BL to your device or you were connected to internet before editing kernel to prevent samsung to add the new lock to your device anyway a normal flash through odin will solve your problem and your device will be ready to use it again without any problems but also without any custom files like TWRP and Magsic which means u will not be able to root your device before editing kernel to remove the new security patch lock
ZeroXO said:
This msg Only official released binaries are allowed to be flashed cause of the new security patch lock which called RMM or KG and since u were rooted before then u got this error that's cause you flashed a new BL to your device or you were connected to internet before editing kernel to prevent samsung to add the new lock to your device anyway a normal flash through odin will solve your problem and your device will be ready to use it again without any problems but also without any custom files like TWRP and Magsic which means u will not be able to root your device before editing kernel to remove the new security patch lock
Click to expand...
Click to collapse
Okay I was thinking I might of missed something. The patch for oem issue I thought covered that.
Is the unknown (bat) firmware the one I need to flash to stock?
Sent from my OnePlus6T using XDA Labs
TheLogicalGamer said:
Salutations everybody. I haven't had a phone from sammy in a while. Finally invested in a SM-N950F note 8. It's oreo. Tried to root earlier today using the pinned guide in the Guides forum. After going through the process, and flashing twrp. Then formatting data. And rebooting it to twrp (which I did a couple of times) (May been where I messed up,but it doesn't seem likely to me) I flashed the oreo n950f oem issue zip and rooted with magisk. Upon rebooting & enabling dev options. The oem toggle was missing. The guide didn't say what to do in the event that it was missing. Just that it was safe to reboot if it was there, and enabled.
Me being rushed for time rebooted anyway, and now when I try to boot up I get only official released binaries may be flashed, and the phone shuts off.
I'm aware I can restore to stock via odin. But I have a couple of questions.
A. Can I use the same odin version I used for the root process to return to stock, or do I need a different one?
And
B. There are loads of options for country and carrier on sammobiles site. I bought the phone used and have no idea of its country of origin. There is a version that says unknown for country and (bat) for carrier. Is that one safe to use, and is there any difference between the firmwares other than carrier setting being preinstalled (would be my guess of the only difference.)
Thanks in advance for any help you can provide.
Click to expand...
Click to collapse
Using odin 13.1.3 is recommended.
As you have the N950F, it is part of the multi OXM CSC, so you can flash the filmware for you country and carrier if desired (N950F)
If you want to root, I suggest just flashing a custom rom or kernel, as they have been patched for the RMM KG state issue.

[S21 SM-G991U/U1/W_Snapdragon]-[Upgrade Easily Firmware Using Odin]-[Automatically Root Remove Forceencrypt Patch Bluetooth And Fix Safetynet]

Must Have An Unlocked Bootloader To Do This!
This An odin tar file I have created to flash along with stock odin firmware to automatically install TWRP recovery along with Disable VBMETA image. The tar file will also automatically install magislk root along with remove force encryption and patch bluetooth library file. It will also patch safetynet. No flashing of zips is required
Info For Bootloader Unlocks Can Be Found In Post 2
I Do Not Recommend Mixing Bit 1 With Higher Firmware!!!!
Unless Using Bit Safe Firmware That Is Patched​
Downloads
SM-G991U/U1/W- Model
USERDATA_AIO_G991_FORCE_WIPE_NO_BL_10_10_21.tar.md5
This will force a wipe of data no mater what.
Full Odin 3.1.1 Bit1 Safe Firmware
G991USQU4AUFD_BIT1_SAFE.7z
This are odin files and will safely update all image files too bit 4 and keep bit 1 bootloaders. Unfortunately this will wipe data this is beyond my control as it seems to be a side affect of mixing firmware it causes data not to mount and therefore my AIO will format it. This is full firmware with USERDATA_AIO. This will put you on U firmware. Before flashing I recommend removing your google account and make sure in download mode you are not frp locked
If above USERDATA_AIO_G991_FORCE_WIPE_NO_BL is newer than the one in this zip use the newer one from above
Odin3_v3.14.1_3B_PatcheD.zip
S21+ SM-G996U/U1
S21 Ultra SM-G998U/U1
TWRP Recovery Provide by @Mentalmuso
Be prepared to have your data wiped. The process tries to determine if you do or do not need to have data wipe but as a precaution just assume your data will be wiped. Especially if using U1 or W firmware
Install Instructions For Newly Unlocked Devices
You must be OEM Unlocked Bootloader
1. On Initial unlock of phone you must through setup and be signed into your google account.
2. Reboot phone too download mode and make sure KG STATUS=CHECKING (see pic) and not PRENORMAL. If PRENORMAL then do step 1 again
View attachment 5217631
3. Use patched 3.14 odin and load file USERDATA_SLOT_G99*U_**.tar.md5 you must choose one of the FORCE_WIPE files and load in the USERSDATA slot of odin and flash file
4. Phone will reboot to TWRP and remove encryption which will wipe phone. Phone will reboot back too TWRP to finish install then reboot to setup
Install Instructions For Updating Firmware On Phone Already Unlocked
1. Reboot phone too download mode and make sure KG STATUS=CHECKING. If not see above
2. Use patched 3.14 odin and load stock firmware in appropriate slots use regular CSC file in the CSC slot and load file one of the USERDATA_SLOT_G99*U_**.tar.md5 in the USERSDATA slot of odin and flash firmware. Do not use the User Data file that comes with firmware.
3. Phone will reboot to TWRP and check for encryption and remove if needed which will wipe phone. If phone is not encrypted data will not be wiped. Phone will reboot back too TWRP to finish install then reboot to setup if data was wiped or reboot normally if it was not
Install Instructions If Updating Images With TWRP
1. When done flashing images in TWRP Reboot phone too download mode and make sure KG STATUS=CHECKING. If not see above.
2. Use patched 3.14 odin and load file USERDATA_AIO_G99*_NO_WIPE_NO_BL.tar.md5 in the USERSDATA slot of odin and flash file.
3. Phone will reboot to TWRP and check for encryption and remove if needed which will wipe phone. If phone is not encrypted data will not be wiped. Phone will reboot back too TWRP to finish install then reboot to setup if data was wiped or reboot normally if it was not.
4. Alternatively to using USERDATA_AIO_G99*_NO_WIPE_NO_BL.tar.md5 in odin you can use AIO_Magisk_22_S20_Series.zip found in post 2
Features
No patches or mod zips are needed phone will already be rooted
Bugs
Samsung Pay, Secure Folder and Samsung Pass do not work as on most Samsung Rooted Roms
Thanks To People That Make My Life Easier
elliwigy
klabit87
Krog18
me2151
stang5litre
Raymonf for modified odin
rayan-refoua for boot animation
TheMadScientist
afaneh92
kdrag0n for safetynet fix
3arthur6 for bluetooth patch zip
JDBarlow for test S20 stuff
Xylvion for testing s21
dark11b for testing s21
Info For U Model Bootloader Unlocking Can Be Found
[Android][UNSAMLOCK] Bootloader Unlock for Samsung US/Canada Devices
This thread is @svetius approved Important notice: Do not update to April 2023 security update (XXXXXXXXXXWCX) or later. Examples: G998USQS6EWCA, N986USQU4HWD1. Samsung has patched the bootloader unlock again on those updates. NOTE: The OneUI...
forum.xda-developers.com
Below US snapdragon devices can be bootloader unlocked with above service as long as bootloader version meets below criteria. Bootloader version can be determined from the 5th character from the right on the baseband version or build number, in some cases from kernel version
Z Fold2 5G BL V1
Fold 5G BL V1-4
Fold BL V1-4
Z Flip 5G BL V1
Z Flip BL V1-3
Note series 20 BL V1
S20 series BL V1
S20 FE 5G BL V1-2
Note 10 series BL V1-5
S10 Lite BL V1-3
Note 10+ 5G N976U BL V1-4
Note 10+ 5G N976V BL V1-5
S10 5G BL V1-5
S10 series BL V1-4
Note 9 BL V1-7
S9 series BL V1-9
Tab S6 BL V1-3
Tab S7 BL V1
Tab S7+ BL V1
A71 5G BL V1-2
A51 BL V1-5
A51 5G BL V1-4
A50 A505W BL V1-A
A50 A505U BL V1-B
S21 BL V1
A32 5G BL V1-3
Tab Active Pro 10.1 BL V1-4
XCover Pro BL V1-7
Hi @jrkruse I dont see anything in Post #2. Might you share "Info For Bootloader Unlocks Can Be Found In Post 2"
991U1 USA Snapdragon
I finished unlock with afaneh and then I flashed USERDATA_AIO_G991_FORCE_WIPE_NO_BL.tar.md5 but ended up with bootloop.
https://imgur.com/WG7uFma
I then went back to post to read. Was I supposed to flash both stockfirmware and the tar file? I only did the tar file in USERDATA slot.
EDIT: Nvm. The black download links download the S20 (981) tar file and that's what I ended up flashing. Fixed by flashing the orange links for the S21 (991).
So I was sent here from the unlocked samsung bootloader's group in telegram because someone's been helping me there for the last day and a half trying to get my Samsung Galaxy watch 3 to pair with my wearables app on my unlocked and rooted s21 ultra and we've had no luck so I guess my question is how does this work? and what do I need to do?
jmac052002 said:
So I was sent here from the unlocked samsung bootloader's group in telegram because someone's been helping me there for the last day and a half trying to get my Samsung Galaxy watch 3 to pair with my wearables app on my unlocked and rooted s21 ultra and we've had no luck so I guess my question is how does this work? and what do I need to do?
Click to expand...
Click to collapse
Were you successful pairing you galaxy watch? I was able to pair mine after receiving help from Ali. 3 files need to be modified. If you still need help I have the files and would be willing to share with you so you can see what needs to be edited.
Jnewell05 said:
Were you successful pairing you galaxy watch? I was able to pair mine after receiving help from Ali. 3 files need to be modified. If you still need help I have the files and would be willing to share with you so you can see what needs to be edited.
Click to expand...
Click to collapse
Man Ali helped me alot but still we aren't being able to connect yeah I would love the files...I'm willing to give anything a try at this point! Thanks for reaching out!
jmac052002 said:
Man Ali helped me alot but still we aren't being able to connect yeah I would love the files...I'm willing to give anything a try at this point! Thanks for reaching out!
Click to expand...
Click to collapse
There is a updated version of the galaxy wearable fix in the telegram chat. I am rooted with magisk so i used root explorer to navigate to vender/etc/vintf/ here are two files that need modifying called manifest_lahaina.xml and manifest_shima.xml. Following the guide from the telegram you can execute 3 a few commands in terminal. Or just replaced the files included in the zip and reset the permissions. Permissions need to be rw-r--r--.
Jnewell05 said:
There is a updated version of the galaxy wearable fix in the telegram chat. I am rooted with magisk so i used root explorer to navigate to vender/etc/vintf/ here are two files that need modifying called manifest_lahaina.xml and manifest_shima.xml. Following the guide from the telegram you can execute 3 a few commands in terminal. Or just replaced the files included in the zip and reset the permissions. Permissions need to be rw-r--r--.
Click to expand...
Click to collapse
Also shared by Ali was fix for smart view and shealth, it's not part of this flashable in OP but think gear fix should be at least discussed. You'll have to modify system/build.prop
Ali stated "For screen sharing and S health following need to be in build prop : ro.config.tima=0
ro.config.iccc_version=iccc_disabled
wlan.wfd.hdcp=disable"
I also edited ro.config.nox=v30 changed it from 30 to 00 so that secret mode works in the samsung browser. See screenshot. And again set permissions to rw-r--r--
Hope this helps!!
I don't suppose any of this watch trickery is in any way applicable to samsung pass?
Does not help samsung pass. I don't know exactly details but samsung pass looks at knox trip and will not work once tripped. Have looked around for a fix but have not had any luck.
Updated files in OP fixed sum bugs. Added new safetynet patch and I think wearable fix now works
Worked like a charm the 1st try. It feels good to be rooted on a Samsung device again. My previous Sammy with root was the s5. Thank you very much!
Are you going to update this to the June patch? I'm hoping to get the Heat issue fix which June addressed.
How do I check to see which bootloader version I have?
The link is incorrect in the OP and links to the SM-996U1. Does anyone have the updated link?
Can you or anyone confirm this works on already magisk rooted G9910?
I just finished setting up the phone and temporarily lost root when i renamed the Magisk app, had to reflash the patched IMG with HOME_CSC and thank god i didnt lose settings
My whole reason for TWRP is the backup/restore functions, so i never have to suffer this kind of heart attack again
I'm on OneUI 4.1 .. is that what "DONT MIX BIT 1" means? should i avoid?

Rooting device?

If I root this device to use titanium backup and root for apps like gsm battery - if i were to upgrade using samsung services, would this undo my root or lock my phone from future updates in some way?
Is it advised against updating if one were to root in the future?
Lastly why can't I call record?
zetsui said:
If I root this device to use titanium backup and root for apps like gsm battery - if i were to upgrade using samsung services, would this undo my root or lock my phone from future updates in some way?
Is it advised against updating if one were to root in the future?
Lastly why can't I call record?
Click to expand...
Click to collapse
I will try to answer....
First, IF you Root, one is Not able to do the OTA updates! ( Meaning, you will not be able to update the phone from within the devise)
Second one- The Hard Q to address - Only due to the fact that Everyone is Different. Everyone uses their phone differently. Plus, add in the fact that Samsung has stated, that the S20 FE will receive regular security updates and a few OS updates as well!! (When Purchased in January I has Android 10. A couple of weeks later, it was February, Samsung updated to Android 11. (Knowing later this year, if not next, we will be on Android 12, says something, about the devise!))
Now all that said, knowing XDA People, in time, we should be able to have Our beloved Root, as well as, Updates that come from Google and Samsung.....
I had to check my phone (recent update, things have changed a bit...) in my case, I no longer have call recording (stock) on the phone! It has disappeared!!!
if you don't mind downloading and manually flashing the latest update via Odin, keeping root would mean taking the boot.img (I think) from the tar file and patching it via magisk and then putting it back into the tar file and flashing the whole thing.
3mel said:
if you don't mind downloading and manually flashing the latest update via Odin, keeping root would mean taking the boot.img (I think) from the tar file and patching it via magisk and then putting it back into the tar file and flashing the whole thing.
Click to expand...
Click to collapse
so the stock updated rom is available here? on this sub foruM? i'm fine with that for now. as long as i can keep my seetings and not hav et o resetup everything
zetsui said:
so the stock updated rom is available here? on this sub foruM? i'm fine with that for now. as long as i can keep my seetings and not hav et o resetup everything
Click to expand...
Click to collapse
not available from here yet, you'd have to download the firmware from one of the Samsung firmware sites / apps. don't quote me on these names, Samfirm, Sammobile and Frija. and again don't quote me, do your own searches here to confirm but if you use the HOME_CSC file instead of the regional one your data won't be wiped.
you'd lose root if you didn't also patch the boot.img file and copy that back to tar archive.
3mel said:
not available from here yet, you'd have to download the firmware from one of the Samsung firmware sites / apps. don't quote me on these names, Samfirm, Sammobile and Frija. and again don't quote me, do your own searches here to confirm but if you use the HOME_CSC file instead of the regional one your data won't be wiped.
you'd lose root if you didn't also patch the boot.img file and copy that back to tar archive.
Click to expand...
Click to collapse
you're confusing me now. so what's the order if I do want to update and keep root?
Root->magisk patch after its released for current upgrade (any eta on time after samsung releases)->upgrade?
my last Samsung was fully custom rom and I only ever flashed radio and bootloader, I got those from links in forums. I think firmware is pretty quick in being made available on these sites / apps but I've not used them myself.
so imagine your phone is already rooted (that first initial root is more involved as there's a data partition wipe), new firmware comes out.
* download that firmware
* open the archive tar of that firmware and copy boot.img file to your phone (I've only read this once so confirm I have the correct file name).
* from your phone install magisk v22
* open magisk and options for direct install will lead you to patching the boot.img
* when that's done, move the patched file back to your computer and replace the original version with the patched one. it might be handy to keep a copy of the unpatched file safe in case you need it one day.
* from your computer flash the contents of that tar archive, you'll need to read a proper guide for this, the correct files need to be assigned to the correct partitions in Odin (the flash app for Samsung) and the names aren't all obvious. also you need drivers for Odin too, and a good version that works for this phone.
* one of those files that needs to assigned is called the CSC file, that deals with the region your phone is going to be (put simply). if you use your phones correct CSC file for the region of firmware you downloaded the data partition will be wiped.
to avoid that you can use the HOME_CSC file and data will not be wiped. on your initial first root you will have to wipe though to make sure your storage is not encrypted.
* you really want to follow guides for everything you're doing for the first time, don't rely on previous experience. Samsung phones are different to Pixels etc. some guides are written as if you'll know half this stuff already, if you don't it doesn't hurt to ask someone.
lol, I haven't actually rooted my own phone yet. I'm waiting to borrow a laptop plus seeing how things develop with TWRP / mods / new procedures.

Categories

Resources