How To Guide Guide to root Galaxy A22 5G, unlock bootloader and flash official firmware (noob friendly) - Samsung Galaxy A22 5G

Code:
Your warranty is now void.
If you root your device, Your KNOX status will be tripped.
You can still pass the safety net after you root if you follow the instructions.
I am not responsible for bricked devices, dead SD cards although it is not really possible
Please do some research if you have any concerns about doing this to your device
How to flash official firmware? (not the root and unlock bootloader part!)
You will need:
A Galaxy A22 5G and common sense
Samsung Odin (the flashing tool of the official firmware)
https://dl2018.sammobile.com/Odin3-v3.14.1.zip
You need to extract the zip file and you are going to use the file Odin3_v3.14.1.exe inside the folder.
Samsung Android USB Driver for Windows
Samsung Android USB Driver | Samsung Developers
You need the driver only if you are developing on Windows and want to connect a Samsung Android device to your development environment over USB.
developer.samsung.com
Double-click and install the exe file.
Samsung Official Firmware
Release 1.0.3 · zacharee/SamloaderKotlin
Contribute to zacharee/SamloaderKotlin development by creating an account on GitHub.
github.com
Download the platform you want to download to. (Windows)
You need to extract the zip and double click open the file Bifrost.exe inside the folder.
You need to fill in the Model, Region, press the Check for Updates button and the Download button.
How to find the Model: on your phone → Settings → About Phone → The third row says the Model number and you need to remove the part with the part of /xx, for example, SM-A226B/DS and you only need to type SM-A226B
How to find the Region: You can check the Region at this link https://samfrew.com/model/SM-S908B/
You need to find find a three-letter word depending on your carrier and country and type it in Bifrost, for example, EVR
Press the Check for Update button and download it with the Download button.
Put it to a place you can easily find, ie. Desktop.
After downloading it, find the file SM-xxxxx_x_xxxxxxxx_xxx.zip.enc4 on the place you put it and change the document format from .enc4 to .zip. Then, double click and extract the file.
Open Odin3_v3.14.1.exe and turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Go back to Odin3_v3.14.1.exe:
-Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select AP_xxxxxxxxxxx.tar.md5
-Click on CP and select CP_xxxxxxxxxx.tar.md5
(If you want to keep your data don't flash CSC).
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
-Click on USERDATA and select HOME_CSC_OMC_xxxxxxxxxx.tar.md5
Press Start to flash the firmware, after done, your device will automatically reboot to the system.
How to unlock the bootloader?
Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”
Go in Settings → Developer options → enable OEM unlocking
Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.
When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.
How to root your phone?
After you unlock your bootloader, you set up your phone and make sure you do not sign in google account first. Install Magisk https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk on your phone. Oh yes, in case you do not know, you need to allow the app to install apps so that you can install the apk.
Transfer AP_xxxxxxxxxx.tar.md5 in the firmware you download from your PC/Laptop to your phone.
Open Magisk on your phone and press the install button in the Magisk column. Select 'Select and Patch a File', 'Let's Go' and find the AP_xxxxxxxxxx.tar.md5 and select it. You can have a cup of coffee if you like when you waiting for the patching of the file.
After finishing the patching, you need to transfer the file magisk_patched-24xxx_xxxxx.tar in the Downloads folder back to your PC/Laptop.
Turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Open Odin3_v3.14.1.exe on your PC/Laptop:
Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select magisk_patched-24xxx_xxxxx.tar
-Click on CP and select CP_xxxxxxxxxx.tar.md5
(If you want to keep your data don't flash CSC).
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
-Click on USERDATA and select HOME_CSC_OMC_xxxxxxxxxx.tar.md5
When it finishes flashing it, it will automatically reboot and you can gain root access.
Optional: If you want to have the safety net passed (most of the banking apps use it), then you need to install the zip
as a Magisk module in Magisk https://github.com/kdrag0n/safetynet-fix/releases
How? Go to Magisk → Modules → install from storage and select the zip you downloaded.

Or you could just get your AP file and extract your boot.img.lz4 (use lz4 from github), put it on your phone and patch it with Magisk, then flash the VBMeta that this thread has in Odin, reboot and erase the cache and data in the stock recovery, rebooting to download mode again and flashing your magisk patched boot img in a tar file.

Platypus Enthusiast said:
Or you could just get your AP file and extract your boot.img.lz4 (use lz4 from github), put it on your phone and patch it with Magisk, then flash the VBMeta that this thread has in Odin, reboot and erase the cache and data in the stock recovery, rebooting to download mode again and flashing your magisk patched boot img in a tar file.
Click to expand...
Click to collapse
I agree with you. You can also use this way. However, using Magisk does all the jobs makes life easier and I am a bit lazy

Hi! I'm new into rooting and I just wanted to know, What's the risk of bricking when using magisk? I've rooted an old phone successfully via TWRP tho this way seems a bit more direct, and can I choose any region during the official firmware download?

MateoElias said:
Hi! I'm new into rooting and I just wanted to know, What's the risk of bricking when using magisk? I've rooted an old phone successfully via TWRP tho this way seems a bit more direct, and can I choose any region during the official firmware download?
Click to expand...
Click to collapse
The worst that would happen is a bootloop, which you can easily fix with a factory reset (not a good solution, but at least it works). The only dangerous part is installing the wrong TWRP version or a failed Odin flash, but no bricks. Odin mode will almost always work. Just make sure you have a charger in good condition.
As for picking regions, I'd just pick the phone's original region, if I were you. I'm not actually sure if region is tied to the device itself but better safe than sorry.

Greetings...
To check your Buld Number or Build Version, before you proceed doing any stuffs, type on the phone keypad this >>> *#1234#* and it will show on your device screen

Just tried to follow the guide, but I'm getting an error while flashing:
Custom binary blocked by OEM Lock: vbmeta
Firmware used:
A226BXXU4AVB1_A226BOXM4AVB1_NEE
Patched AP with Magisk 24.3.
Edit: NVM, LONG press volume up...

tried to follow the guide my A22 is rooted. But i have problem.
no application recognizes the root. I installed root checker and he says my phone is rooted but superuser binary files it not installed
Any one can help please?

Alpa475 said:
tried to follow the guide my A22 is rooted. But i have problem.
no application recognizes the root. I installed root checker and he says my phone is rooted but superuser binary files it not installed
Any one can help please?
Click to expand...
Click to collapse
I suppose you may have installed to sbin, but I am not really sure

Can you update the link to the Magisk release?

Leonardo Green said:
You can root Galaxy A22 and A22 5G in TWRP.
Click to expand...
Click to collapse
I am not familiar with the A22 series, but I will say this: I'm rather wary of questionable root solutions, especially those that aren't open source. This is why I personally prefer Magisk - it is completely open source, so anyone who would like to examine the code can do so.

Sorry, when i See this tutorial, my phone has updated to android 13. Could this step possible to do now with this android version?

Very much thank you for the information!

have successfully run the tutorial above. even already using GSI rom android 13 from pixelExperience. but the network you get is stuck on 4G. are there any tools or tutorials to restore the 5g network.

Williamtung said:
Code:
Your warranty is now void.
If you root your device, Your KNOX status will be tripped.
You can still pass the safety net after you root if you follow the instructions.
I am not responsible for bricked devices, dead SD cards although it is not really possible
Please do some research if you have any concerns about doing this to your device
How to flash official firmware? (not the root and unlock bootloader part!)
You will need:
A Galaxy A22 5G and common sense
Samsung Odin (the flashing tool of the official firmware)
https://dl2018.sammobile.com/Odin3-v3.14.1.zip
You need to extract the zip file and you are going to use the file Odin3_v3.14.1.exe inside the folder.
Samsung Android USB Driver for Windows
Samsung Android USB Driver | Samsung Developers
You need the driver only if you are developing on Windows and want to connect a Samsung Android device to your development environment over USB.
developer.samsung.com
Double-click and install the exe file.
Samsung Official Firmware
Release 1.0.3 · zacharee/SamloaderKotlin
Contribute to zacharee/SamloaderKotlin development by creating an account on GitHub.
github.com
Download the platform you want to download to. (Windows)
You need to extract the zip and double click open the file Bifrost.exe inside the folder.
You need to fill in the Model, Region, press the Check for Updates button and the Download button.
How to find the Model: on your phone → Settings → About Phone → The third row says the Model number and you need to remove the part with the part of /xx, for example, SM-A226B/DS and you only need to type SM-A226B
How to find the Region: You can check the Region at this link https://samfrew.com/model/SM-S908B/
You need to find find a three-letter word depending on your carrier and country and type it in Bifrost, for example, EVR
Press the Check for Update button and download it with the Download button.
Put it to a place you can easily find, ie. Desktop.
After downloading it, find the file SM-xxxxx_x_xxxxxxxx_xxx.zip.enc4 on the place you put it and change the document format from .enc4 to .zip. Then, double click and extract the file.
Open Odin3_v3.14.1.exe and turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Go back to Odin3_v3.14.1.exe:
-Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select AP_xxxxxxxxxxx.tar.md5
-Click on CP and select CP_xxxxxxxxxx.tar.md5
(If you want to keep your data don't flash CSC).
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
-Click on USERDATA and select HOME_CSC_OMC_xxxxxxxxxx.tar.md5
Press Start to flash the firmware, after done, your device will automatically reboot to the system.
How to unlock the bootloader?
Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”
Go in Settings → Developer options → enable OEM unlocking
Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.
When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.
How to root your phone?
After you unlock your bootloader, you set up your phone and make sure you do not sign in google account first. Install Magisk https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk on your phone. Oh yes, in case you do not know, you need to allow the app to install apps so that you can install the apk.
Transfer AP_xxxxxxxxxx.tar.md5 in the firmware you download from your PC/Laptop to your phone.
Open Magisk on your phone and press the install button in the Magisk column. Select 'Select and Patch a File', 'Let's Go' and find the AP_xxxxxxxxxx.tar.md5 and select it. You can have a cup of coffee if you like when you waiting for the patching of the file.
After finishing the patching, you need to transfer the file magisk_patched-24xxx_xxxxx.tar in the Downloads folder back to your PC/Laptop.
Turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Open Odin3_v3.14.1.exe on your PC/Laptop:
Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select magisk_patched-24xxx_xxxxx.tar
-Click on CP and select CP_xxxxxxxxxx.tar.md5
(If you want to keep your data don't flash CSC).
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
-Click on USERDATA and select HOME_CSC_OMC_xxxxxxxxxx.tar.md5
When it finishes flashing it, it will automatically reboot and you can gain root access.
Optional: If you want to have the safety net passed (most of the banking apps use it), then you need to install the zip
as a Magisk module in Magisk https://github.com/kdrag0n/safetynet-fix/releases
How? Go to Magisk → Modules → install from storage and select the zip you downloaded.
Click to expand...
Click to collapse
Hi, Thanks for sharing this but unfortunately my camera is not working after doing all this. Please suggest what should i do

Praveenbha said:
Hi, Thanks for sharing this but unfortunately my camera is not working after doing all this. Please suggest what should i do
Click to expand...
Click to collapse
Have you tried Universal Safetynet fix? https://github.com/kdrag0n/safetynet-fix

I rooted the phone according to your guide
But after everything I can't connect to the internet
Youtube, system update doesn't work
MAGISK itself was able to update without any problem
Chrome will turn on pages, but without images and displays error about unsecured connection

Related

[Guide]How to root Samsung Galaxy C9 pro (SM-C9000)

Hi! After struggling in rooting my C9 pro (SM-C9000, TGY) due to the lack of a proper guide, I decided to provide my guide to the community.
Of course, I don't take responsibility for damages etc. etc. Read the entirety of the guide before doing anything.
Useful shortcuts: Holding down power+volume down for a couple seconds force reboots from almost anywhere. Vol up+home+power while booting boots into recovery. Vol down+home+power boots into download (odin) mode.
Step 1) Fetch the required files(sorry I can't post direct links):
Nougat 7.1.1 firmware from sammobile
Oreo 8.0 firmware from sammobile
Odin https://www.xda-developers.com/update-firmware-any-samsung-phone/
Magisk Manager https://www.xda-developers.com/how-to-install-magisk/ (The link that says "Download the latest Magisk Manager APK here")
ADB https://www.xda-developers.com/install-adb-windows-macos-linux/
CROM Service apk from apkmirror
Step 2) Prepare the files
Unlock developer options on your phone by spamming Build Number in Settings> About Phone> Software Information. Enable USB debugging from developer options. Connect your phone to your PC via cable. Extract ADB (platform-tools) on your desktop (or other location). Extract Oreo firmware. There should be 5 files. Copy the one that starts with AP into platform-tools folder. Open the platform-tools folder. Hold down shift and right click inside the folder. Choose "Open PowerShell window here" from the context menu. Type or copy-paste
Code:
.\adb devices
to start ADB. On your phone, check "always allow on this PC" and click OK when prompted. Enter the code again and check if a device appears on the list. Then type
Code:
.\adb push AP_C9000ZHU1CSC1_CL14667562_QB22709761_REV00_user_low_ship_MULTI_CERT_meta.tar.md5 /sdcard/
.(Change the name of the file corresponding to yours. You can change the destination to another folder in your phone. Ex. /sdcard/download/) This will transfer the file from your PC to your phone. Do not drag and drop the file. This might corrupt it, causing a bootloop upon installiation. (Happened to me initially. Recovered & used the push command to get it to work.). Transfer Magisk Manager's apk to your phone or download it directly from your phone(you can drag and drop this one, as it won't install if corrupted(it won't corrupt)). Install Magisk Manager on the phone(Enable sideloading if asked). In the app, touch the topmost install button and touch install again in the next screen. You will have two options: "Download zip only" and "Select and patch a file". Choose "Select and patch a file", then locate the AP file you transferred to the device. Magisk manager will patch the file and generate magisk_patched.tar in /sdcard/download/. In ADB, type
Code:
.\adb pull /sdcard/download/magisk_patched.tar
This will transfer it to the platform-tools folder. Again, don't use windows explorer to transfer. That will most certainly corrupt the file.
Step 2.5) Backup
Backup your data (you can use smart switch desktop program paired with mobile app to backup most of the stuff). Remove your google account from the device.
Step 3) Install Nougat 7.1.1
Extract Nougat 7.1.1 firmware. Extract odin. Run Odin.exe (might have version in name). Click OK. Factory reset your phone (You can do so from settings or recovery mode.). After the reset, reboot into download mode. It will ask if you're sure you want to install unofficial software, choose continue (If I don't recall incorrectly, the button for that was vol up). Plug your phone into your PC. Odin log should say "added!!" and you should see your device in one of the rectangles above. Now select the tar.md5 files extracted from the 7.1.1 firmware. Click the BL button, locate the BL_etcetc.tar.md5 file, click open. It will check the md5 for a second then let you click the next button. After choosing the BL(bootloader), AP(system), CP(radio) and CSC(localization) files (USERDATA button should remain empty, HOME_CSC file has no use) make sure only F.reset time and auto reboot are selected in options. Click start to begin. After flashing, it will do another factory reset and show you the setup.
Step 4) Unlock Bootloader
Skip everything in setup, then unlock develper options and you should see "OEM Unlocking" option that was removed in OREO firmware in there. Enable it. Next transfer the CROM service apk to your device (or download it directly). Install the app. Open it. Unlock the bootloader. (This step is required because C9000 is a Chinese phone)
Step 5) Install Oreo again
Boot into download and connect to odin. You can use the reset button to empty the buttons. Now select BL, CP and CSC files from the extracted oreo firmware. For AP, choose magisk_patched.tar . Start. If the installiation fails, you didn't unlock the Bootloader properly. The phone will reboot and factory reset a couple times. When it boots up, you'll have magisk installed.
Step 6) Things to do after rooting(optional)
First of all, magisk can hide root from Google, but not Samsung. Samsung Health, Knox secure container, Maximum power saving mode and Samsung pay won't work after you root. NFC will keep turning on on its own unless you uninstall Samsung pay. A samsung package (I'm not sure about the name but I think it was security log agent) will keep sending an unblockable notification offering to unroot. Uninstall that too, and you'll have a stable experience.
Recovering from fails:
If download mode refuses to install because of unofficial binaries, the bootloader isn't properly unlocked. Wait a couple seconds and force reboot with the key combination. Since it couldn't flash the system, that should reboot back to download mode (or recovery. in that case, choose "reboot to bootloader"). Install the official firmware, unlock bootloader and try again.
If the magisk_patched.tar file gets corruped and you flash the corrupted file successfully, your device will get into a bootloop. After the install, odin orders the phone to reboot into recovery to factory reset, but since the system image is corrupted, it won't be able to boot and produce a kernel panic. This will cause the phone to reboot, which will fail and cause it to try to reboot again. Since the phone doesn't get past the splash screen, this bootloop cannot be interrupted by button shortcuts. You should wait for the battery to die out for the bootloop to end. (It should take a day at max. Wrap a towel around it to block the vibration sounds if you want) After battery gets depleted, you need to perform a quick maneuver. You should plug the phone into a power supply (preferably your computer) while holding down volume down+home+power buttons. If you do it right, it will boot into download mode. (Otherwise, it will bootloop again. Simply unplug, wait for it to stop and try again) Flash the official firmware and repatch the AP file. Just in case you run into this issue, I recommend having less than 10% charge in your phone while flashing, just to make the wait time shorter.
Important: Check your firmware's baseband version from settings before flashing. In C9000ZHU1CSC1, CSC1 is the system and U1 is the bootloader version. Compare the bootloader version to the firmware you're going to flash and make sure they match. You can't downgrade bootloader versions. Flashing a previous version will brick your phone. (Probably permanently) This shouldn't be an issue since sm-C9000 has only one bootloader version, but check it anyways just to be sure.
Lojcs said:
Hi! After struggling in rooting my C9 pro (SM-C9000, TGY) due to the lack of a proper guide, I decided to provide my guide to the community.
Of course, I don't take responsibility for damages etc. etc. Read the entirety of the guide before doing anything.
Useful shortcuts: Holding down power+volume down for a couple seconds force reboots from almost anywhere. Vol up+home+power while booting boots into recovery. Vol down+home+power boots into download (odin) mode.
Step 1) Fetch the required files(sorry I can't post direct links):
Nougat 7.1.1 firmware from sammobile
Oreo 8.0 firmware from sammobile
Odin https://www.xda-developers.com/update-firmware-any-samsung-phone/
Magisk Manager https://www.xda-developers.com/how-to-install-magisk/ (The link that says "Download the latest Magisk Manager APK here")
ADB https://www.xda-developers.com/install-adb-windows-macos-linux/
CROM Service apk from apkmirror
Step 2) Prepare the files
Unlock developer options on your phone by spamming Build Number in Settings> About Phone> Software Information. Enable USB debugging from developer options. Connect your phone to your PC via cable. Extract ADB (platform-tools) on your desktop (or other location). Extract Oreo firmware. There should be 5 files. Copy the one that starts with AP into platform-tools folder. Open the platform-tools folder. Hold down shift and right click inside the folder. Choose "Open PowerShell window here" from the context menu. Type or copy-paste to start ADB. On your phone, check "always allow on this PC" and click OK when prompted. Enter the code again and check if a device appears on the list. Then type .(Change the name of the file corresponding to yours. You can change the destination to another folder in your phone. Ex. /sdcard/download/) This will transfer the file from your PC to your phone. Do not drag and drop the file. This might corrupt it, causing a bootloop upon installiation. (Happened to me initially. Recovered & used the push command to get it to work.). Transfer Magisk Manager's apk to your phone or download it directly from your phone(you can drag and drop this one, as it won't install if corrupted(it won't corrupt)). Install Magisk Manager on the phone(Enable sideloading if asked). In the app, touch the topmost install button and touch install again in the next screen. You will have two options: "Download zip only" and "Select and patch a file". Choose "Select and patch a file", then locate the AP file you transferred to the device. Magisk manager will patch the file and generate magisk_patched.tar in /sdcard/download/. In ADB, type This will transfer it to the platform-tools folder. Again, don't use windows explorer to transfer. That will most certainly corrupt the file.
Step 2.5) Backup
Backup your data (you can use smart switch desktop program paired with mobile app to backup most of the stuff). Remove your google account from the device.
Step 3) Install Nougat 7.1.1
Extract Nougat 7.1.1 firmware. Extract odin. Run Odin.exe (might have version in name). Click OK. Factory reset your phone (You can do so from settings or recovery mode.). After the reset, reboot into download mode. It will ask if you're sure you want to install unofficial software, choose continue (If I don't recall incorrectly, the button for that was vol up). Plug your phone into your PC. Odin log should say "added!!" and you should see your device in one of the rectangles above. Now select the tar.md5 files extracted from the 7.1.1 firmware. Click the BL button, locate the BL_etcetc.tar.md5 file, click open. It will check the md5 for a second then let you click the next button. After choosing the BL(bootloader), AP(system), CP(radio) and CSC(localization) files (USERDATA button should remain empty, HOME_CSC file has no use) make sure only F.reset time and auto reboot are selected in options. Click start to begin. After flashing, it will do another factory reset and show you the setup.
Step 4) Unlock Bootloader
Skip everything in setup, then unlock develper options and you should see "OEM Unlocking" option that was removed in OREO firmware in there. Enable it. Next transfer the CROM service apk to your device (or download it directly). Install the app. Open it. Unlock the bootloader. (This step is required because C9000 is a Chinese phone)
Step 5) Install Oreo again
Boot into download and connect to odin. You can use the reset button to empty the buttons. Now select BL, CP and CSC files from the extracted oreo firmware. For AP, choose magisk_patched.tar . Start. If the installiation fails, you didn't unlock the Bootloader properly. The phone will reboot and factory reset a couple times. When it boots up, you'll have magisk installed.
Step 6) Things to do after rooting(optional)
First of all, magisk can hide root from Google, but not Samsung. Samsung Health, Knox secure container, Maximum power saving mode and Samsung pay won't work after you root. NFC will keep turning on on its own unless you uninstall Samsung pay. A samsung package (I'm not sure about the name but I think it was security log agent) will keep sending an unblockable notification offering to unroot. Uninstall that too, and you'll have a stable experience.
Recovering from fails:
If download mode refuses to install because of unofficial binaries, the bootloader isn't properly unlocked. Wait a couple seconds and force reboot with the key combination. Since it couldn't flash the system, that should reboot back to download mode (or recovery. in that case, choose "reboot to bootloader"). Install the official firmware, unlock bootloader and try again.
If the magisk_patched.tar file gets corruped and you flash the corrupted file successfully, your device will get into a bootloop. After the install, odin orders the phone to reboot into recovery to factory reset, but since the system image is corrupted, it won't be able to boot and produce a kernel panic. This will cause the phone to reboot, which will fail and cause it to try to reboot again. Since the phone doesn't get past the splash screen, this bootloop cannot be interrupted by button shortcuts. You should wait for the battery to die out for the bootloop to end. (It should take a day at max. Wrap a towel around it to block the vibration sounds if you want) After battery gets depleted, you need to perform a quick maneuver. You should plug the phone into a power supply (preferably your computer) while holding down volume down+home+power buttons. If you do it right, it will boot into download mode. (Otherwise, it will bootloop again. Simply unplug, wait for it to stop and try again) Flash the official firmware and repatch the AP file. Just in case you run into this issue, I recommend having less than 10% charge in your phone while flashing, just to make the wait time shorter.
Important: Check your firmware's baseband version from settings before flashing. In C9000ZHU1CSC1, CSC1 is the system and U1 is the bootloader version. Compare the bootloader version to the firmware you're going to flash and make sure they match. You can't downgrade bootloader versions. Flashing a previous version will brick your phone. (Probably permanently) This shouldn't be an issue since sm-C9000 has only one bootloader version, but check it anyways just to be sure.
Click to expand...
Click to collapse
Have you tried this method and phone working fine will there will be any problem if i use this method for rooting c9000?
khankk42 said:
Have you tried this method and phone working fine will there will be any problem if i use this method for rooting c9000?
Click to expand...
Click to collapse
Yes, I did root my SM-C9000 using this method, and it is working nicely. Obviously I lost access to Secure Folder and Samsung Pay. You should be able to install the Play Store version of Samsung Health. Maximum Power Saving froze the phone the first two times I enabled it, but it's working fine now. One unexpected caveat is that mobile hotspot started to turn itself off if mobile data is enabled even though my carrier has no restrictions on using hotspot. You can't share your data connection using Bluetooth or usb cable neither. You can still use the hotspot for creating a local network. Other than those, I didn't experience any problems after rooting. While I was rooting, I did the mistake of using MTP to transfer the image and as a result my phone bootlooped for half a day but if you follow the instructions, that won't be a problem.
Of course, I don't guarantee anything and don't take responsibility, but there is no reason anything should go wrong.
My base band R16NW.C9000ZHU1CSC1, model number SM-C9000, android 8.0.0...
I have never rooted any phones in my life. What should i do? I search on internet but i didnt found any spesific things about "R16NW.C9000ZHU1CSC1" can you help me? Those options will work for me to ?
otocu said:
My base band R16NW.C9000ZHU1CSC1, model number SM-C9000, android 8.0.0...
I have never rooted any phones in my life. What should i do? I search on internet but i didnt found any spesific things about "R16NW.C9000ZHU1CSC1" can you help me? Those options will work for me to ?
Click to expand...
Click to collapse
Sorry for responding late. Yes, that is the exact model that I have and rooted using the method in the post. If you feel confident, you can follow trough it and root your phone. You can grab the required firmware from Sammobile. Keep in mind that after rooting some features might stop working (like hotspot and knox-related features). Good luck!
I got the same model of Samsung phone. I follow the steps but till step five, when i press open the files in odin and press start button, the odin will disappear in my computer. Then i try again and it failed. My phone shows: unsuppoted dev types. Here are my photos. Do you have any ideas? And i dunno how can i redo it again to root my phone. Would love to see helps from you, thanks!
cherrio128 said:
I got the same model of Samsung phone. I follow the steps but till step five, when i press open the files in odin and press start button, the odin will disappear in my computer. Then i try again and it failed. My phone shows: unsuppoted dev types. Here are my photos. Do you have any ideas? And i dunno how can i redo it again to root my phone. Would love to see helps from you, thanks!
Click to expand...
Click to collapse
Sorry for the late response. Searching that on the internet, it seems you might be using an old version of Odin. Please make sure you're using 3.13.1 and try again

(ROOT) How to root your galaxy A20/A20e using Magisk

THIS WILL VOID YOUR WARRANTY OR MAY BRICK YOUR PHONE IF NOT DONE CORRECTLY.
I made this because i wanted to play AR games on an unsupported phone, so i want to help other people.
Follow this tutorial CLOSELY, or you'll mess up your phone
WARNING: THIS POST IS DIVIDED IN TO PARTS, IF YOU'RE HERE FOR THE A20e ROOT GUIDE, PLEASE CLICK (Coming soon)
1.0: Preparing.
1. Get your firmware from Sammobile or other sites
Get the NEWEST firmware that is from YOUR COUNTRY.
2. Download and install samsung mobile drivers.
3. Download ODIN Flash tool.
1.1: Unlocking your bootloader.
From this point on, you are taking a risk. You will void your warranty if you continue, i cant stress this enough.
1. Open the settings app, and navigate to: Device Info>Software Information and press Build number 7 times in a row. You will now have access to the developer settings.
2. Navigate back to settings, scroll down and press on "Developer settings"
3. Now, you should see a button called "OEM Unlock". PRESSING THIS WILL WIPE ALL OF YOUR DATA. (Which is normal.)
4. Go through the inital setup, and dont enter your data YET. Dont turn on wifi aswell, since youre going to wipe your data again later.
5. Now, turn off your phone.
6. When your phone is turned off, hold the Volume UP and DOWN button, and plug in your USB-Type C cable.
7. Now, hold the volume UP button for 8 seconds, until the screen changes. Press the volume UP button afterwards. Your data will get wiped again.
8. Go through the initial setup AGAIN, connect to wifi, but DONT enter your google/samsung account data just yet.
You have now unlocked your bootloader.
1.2: Unpacking your boot image.
1. Once you have the firmware, extract it using 7-Zip (Or any other extraction program).
2. You should now have a file called "boot.img.lz4"
3. Download the LZ4 Program on Github.
4. -Extract the zip in any EMPTY folder.
-Put the "boot.img.lz4" into the folder.
-Open CMD. Navigate to the folder you extracted LZ4 into.
- use this command to extract it: "lz4.exe -d boot.img.lz4 boot.img
- Done, now put the "boot.img" to your phone storage.
1.3: Patching the boot image.
1. After you copied the "boot.img" to your phone storage, open magisk manager.
2. Now, select the Install button on the TOP. Press "Patch an image"
3. Select the "boot.img" file you copied from your PC.
4. Wait.
5. Done. Copy the "magisk_patched.img" file to your computer.
6. Convert the ".img" file into a ".tar" file.
2.0: Rooting: Flashing the .tar to your phone.
Follow closely.
1. Turn off your phone, and hold the volume UP and Power button at the same time. After you booted into the recovery, select "reboot into bootloader".
2. Open odin, and firstly go to "options" and untick "Auto reboot". Then, press the "AP" Slot, and select the "magisk_patched.tar" file.
3. Connect your USB Cable, and press "start".
4. it should now say "PASS"
2.1: Rooting
1. hold the volume DOWN and Power button for 7 seconds.
2. QUICKLY hold the volume UP and Power button
3. Select "Wipe data". Press yes.
3. Now, go through the initial setup. You can now enter your data, since we arent wiping our phone anymore.
3. Final Touches
1. Download Magisk Manager again. Open it, and it will install a zip. It will automatically restart.
2. Open magisk manager. If there is a GREEN tick on the top, Well done! You've made it!
You are done with rooting your phone! you can now leave, or continue if you want to play AR games.
Other: AR Compatibility
1. Open magisk manager, press the 3 lines on the top left, and select "downloads"
2. Search "ARCore"
3. Install it, and reset your phone.
4. Now, go to the play store and install "ARCore"
5. You have AR access! Download games like "FNaF AR" or anything else.
This guide will get updated every week.
anyone can confirm this'll work?
Chiryn said:
anyone can confirm this'll work?
Click to expand...
Click to collapse
I tried it, but it didn't work. I think I downloaded a bad firmware tho. I am going to try it now. Btw. if you want an easy firm download I highly recomend Frija v.1.3.0. - only easy, fast and WORKING (at least for me) firmware downloader.
I am stuck at odin saying NAND Write Start!!.
Could anyone help me?

[Guide] [Root] Samsung Galaxy a7 2018 (a750fn) Root Guide + Working Secure Folder & Samsung Health

How to Root Samsung Galaxy A7 2018 (a750fn) + Working Secure Folder & Samsung Health
Hello, this is a guide on how to root Samsung galaxy A7 2018 (a750fn). I've tried to simplify the guide as much as I can but I still suggest to root your phone only if you know what you are doing! Also if you have any questions or problems, just ask.
Note: Sorry for any grammatical or spelling mistakes. English is not my native language.
!Disclaimer!
- You do this at your own risk! I am NOT responsible for bricked devices, stuck on bootloop etc.!
- Backup your device before proceeding forward!
- This guide WILL trip Knox so your warranty will be void!
- The Knox-dependent applications like Secret Folder and Samsung Health will stop working but in this guide, there are two other miniguides that will explain how to enable them even after tripped Knox. - All of these steps have been tested on my phone - Samsung Galaxy A7 (2018) (a750fn) where they worked without problems.
Required Software/Resources:
- Odin (for flashing) - Download
- Samsung USB Drivers - Download
- 7zip (for archives) - Download
- Firmware with the last security patch from 2020 (for me, the patch was from November 2020) - Download
- TWRP Recovery - Download
- Magisk (for root) - Download
- DM-VERITY, FORCED ENCRYPTION, AND DISC QUOTA DISABLER (Disable_Dm-Verity_ForceEncrypt.zip) - Download
- A MicroSD card
Setup the Software/Resources:
1. Install 7zip
2. Install the Samsung USB Drivers
3. Extract Odin to a folder and put it on the Desktop
4. Extract the firmware to a folder and put it on the Desktop
In the firmware there'll be 5 files:
- BL_FIRMWAREVERSION
- AP_FIRMWAREVERSION
- CP_FIRMWAREVERSION
- CSC_OMC_OXM_FIRMWAREVERSION
- HOME_CSC_OMC_OXM_FIRMWAREVERSION (delete this one)
Delete the files starting with HOME_CSC.
5. Change the Magisk extension from .apk to .zip (Ex. Magisk_ver.apk --> Magisk_ver.zip)
6. Put the Magisk_ver.zip in the MicroSD card
7. Put the Disable_Dm-Verity_ForceEncrypt.zip in the MicroSD card as well
8. Insert the MicroSD card in the phone
Steps to Root:
NOTE: BEFORE PROCEEDING FORWARD, BACKUP YOUR DEVICE!
1. Enable Developer Options (by clicking 7 times the build number of your phone)
2. Open Developer Options and find the option OEM Unlock
3. Enable OEM Unlock (this will factory reset the phone)
- After the factory reset the OEM Unlock option will be enabled and this will allow
flashing custom recoveries and etc. to the phone.
4. After the factory reset, when the phone boots up, turn it off
5. Connect the phone to you PC/Laptop via USB cable
6. While the phone is completely turned off, hold the buttons Volume UP + Volume DOWN until Download mode shows up
7. Press Volume UP again to confirm that you'll be modifying your device
8. On your PC/Laptop open Odin
9. On the left side in Odin there are 3 tabs: Log, Options and Pit
10. Open Options and remove the checkmark on the Auto Reboot option, then go back to Log
11. In the middle of the program there are 5 slots:
- BL (Bootloader)
- AP (Application Processor)
- CP (Modem)
- CSC (Consumer Software Customization)
- USERDATA
12. Click the first slot and navigate to the location where you extracted the firmware
- The start of the names of each firmware file corresponds to the names of the slots in Odin
13. Place each firmware file in the correct Odin slot that corresponds to their names
(Ex. BL_FIRMWAREVERSION is inside the BL slot)
14. With your phone connected, press the Start button to flash the firmware
- After the firmware has been flashed successfully, your phone will be downgraded to the last security patch from 2020 which fixes possible bootloops or other issues when rooting/disabling forced encryption.
- The firmware is successfully flashed when the top left bar is green and above says PASS!
After flashing the firmware DON'T boot in Android yet!
15. After flashing, hold the Volume DOWN + Power button for around 7 seconds, immediately when the screen goes black switch to holding Volume UP + Volume DOWN
- You will enter back in Download mode
16. In Odin, press the Reset button and again uncheck Auto Restart in Options
17. In the AP slot, select the TWRP Recovery (which is in .tar archive)
18. With your phone connected to your PC/Laptop in Download mode, press Start on Odin
- This will flash the custom recovery to the phone
19. You can now disconnect the phone from your PC/Laptop
Again, after flashing the recovery, do NOT boot into Android yet!
20. After flashing the custom recovery, hold the Volume DOWN + Power button for around 7 seconds, immediately when the screen goes black switch to holding Volume UP + Power button
- This will boot the phone into the custom recovery (TWRP in this case)
22. Inside TWRP Recovery, go to Wipe, select Format Data and type 'yes' to confirm
23. After the format, go to Install, select the MicroSD card and find where you've put the Magisk_ver.zip file, select it and install it
- This will root to the device!
24. After you have installed Magisk, go back to Install, select the MicroSD card and find where you've put Disable_Dm-Verity_ForceEncrypt.zip and install it
- This will disable the forced encryption!
- If there's an error when installing the zip that says 'Failed to mount '/odm' (no such file or directory)", simply ignore it and proceed forward.
25. Go to Reboot, select System and wait around 5-10 minutes till Android fully loads
- After Android has loaded, proceed through the setup process.
26. Go to all apps and find the application called Magisk
- When you open it, it'll ask you to complete the installation of the Magisk app.
- It may also ask to reboot, to fully complete the installation.
27. After the application has been fully installed, your device will be Rooted and with disabled forced encryption!
Fix Secure Folder & Samsung Health
Note: TWRP Backup is recommended in case something fails
Samsung Health:
Required Software:
- A build.prop editor like this
Steps:
1. Install a build.prop editor from the play store
2. Give the build.prop editor root access
3. Open the editor and search for the line - ro.config.tima=1
4. Change the 1 to 0
(Ex. ro.config.tima=1 --> ro.config.tima=0)
5. Save and Reboot the device
6. After the reboot Samsung Health should work as expected
Secure Folder:
Required Software:
- Smali Patcher - Download
Steps:
2. Extract Smali Patcher.zip into a folder
3. Run as administrator
- Wait until it says 'idle..' at the bottom left of the program
4. Uncheck everything checked (like Mock locations, Mock providers, High volume warning etc.)
5. Check Samsung Knox
6. Enable USB Debugging on your phone
7. Connect your phone to your PC/Laptop
8. Press the ADB PATCH button
- A prompt will appear on your phone that asks if you allow your pc to do debugging mode operations on your phone.
9. Press allow on the prompt on your phone
- Wait until Smali Patcher is done.
- After Smali Patcher is done there should be a Magisk module inside it's folder.
10. Copy the Magisk module created by Smali Patcher to your phone
11. Open Magisk and go to Modules (the puzzle piece icon)
12. Tap on the button saying 'Install from storage'
13. Find the location where you've copied the module
14. Install the module
15. Restart your phone
16. If all done correctly, you should be able to set up and use Secure Folder
everything worked, thank you for the nice explanation and your help (A750F)
beytullahgol said:
everything worked, thank you for the nice explanation and your help (A750F)
Click to expand...
Click to collapse
Glad I could help
this one works! thx
Ive no idea which firmware link ot try
*EDIT* Im just waiting for first boot now. So far so good. IIRC first boot takes a while after all this so hopefully job done.
Thanks for guide
Ah ****e, magisk isnt working, says NO for ramdisk.
Root works though so I dunno what the craic is.
Works perfect, thanks!
Thanks, everything works perfectly.
Hello,
I have problem with:
26. Go to all apps and find the application called Magisk
Where I can find it, maybe I'm looking wrong, I can't find it. I didn't have error during install Magisk by TWRP, I don't have root device, what's going on, any can help me?
I installed the same firmware (the patch was from November 2020).
Tubeczka said:
Hello,
I have problem with:
26. Go to all apps and find the application called Magisk
Where I can find it, maybe I'm looking wrong, I can't find it. I didn't have error during install Magisk by TWRP, I don't have root device, what's going on, any can help me?
I installed the same firmware (the patch was from November 2020).
Click to expand...
Click to collapse
Did you flash Magisk v21.4 via TWRP?
Zanci19 said:
Did you flash Magisk v21.4 via TWRP?
Click to expand...
Click to collapse
Yes, I had to restart phone (or I have to longer waiting after configure and first start system)
Maybe someone will have a similar problem
5. Change the Magisk extension from .apk to .zip (Ex. Magisk_ver.apk --> Magisk_ver.zip)
Click to expand...
Click to collapse
I have to change on android (win10 I have a problem)
17. In the AP slot, select the TWRP Recovery (which is in .tar archive)
Click to expand...
Click to collapse
I selected ZIP file, not .tar
how to knw which firmware download its 2022
thanks for this guide! work well after 2 tried, also to answer the comment above me, you have to download the firmware from november 2020.
Спасибо!

How To Guide Guide to root Galaxy Z Flip 3 (B/N/0), unlock bootloader and flash official firmware (noob friendly)

Code:
Your warranty is now void.
If you root your device, Your KNOX status will be tripped.
You can still pass the safety net after you root if you follow the instructions.
I am not responsible for bricked devices, dead SD cards although it is not really possible
Please do some research if you have any concerns about doing this to your device
How to flash official firmware? (not the root and unlock bootloader part!)
You will need:
A Galaxy Z Flip 3 and common sense
Samsung Odin (the flashing tool of the official firmware)
https://dl2018.sammobile.com/Odin3-v3.14.1.zip
You need to extract the zip file and you are going to use the file Odin3_v3.14.1.exe inside the folder.
Samsung Android USB Driver for Windows
Samsung Android USB Driver | Samsung Developers
You need the driver only if you are developing on Windows and want to connect a Samsung Android device to your development environment over USB.
developer.samsung.com
Double-click and install the exe file.
Samsung Official Firmware
Release 1.0.3 · zacharee/SamloaderKotlin
Contribute to zacharee/SamloaderKotlin development by creating an account on GitHub.
github.com
Download the platform you want to download to. (Windows)
You need to extract the zip and double click open the file Bifrost.exe inside the folder.
You need to fill in the Model, Region, press the Check for Updates button and the Download button.
How to find the Model: on your phone → Settings → About Phone → The third row says the Model number and you need to remove the part with the part of /xx, for example, SM-F711B/DS and you only need to type SM-F711B
How to find the Region: You can check the Region at this link https://samfrew.com/model/SM-F711B/
You need to find find a three-letter word (CSC) depending on your carrier and country and type it in Bifrost, for example, EVR
Press the Check for Update button and download it with the Download button.
Put it to a place you can easily find, ie. Desktop.
After downloading it, find the file SM-xxxxx_x_xxxxxxxx_xxx.zip.enc4 on the place you put it and change the document format from .enc4 to .zip. Then, double click and extract the file.
Open Odin3_v3.14.1.exe and turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Go back to Odin3_v3.14.1.exe:
-Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select AP_xxxxxxxxxxx.tar.md5
-Click on CP and select CP_xxxxxxxxxx.tar.md5
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
Press Start to flash the firmware, after done, your device will automatically reboot to the system.
How to unlock the bootloader?
Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”
Go in Settings → Developer options → enable OEM unlocking
Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.
When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.
How to root your phone?
After you unlock your bootloader, you set up your phone and make sure you do not sign in google account first. Install Magisk https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk on your phone. Oh yes, in case you do not know, you need to allow the app to install apps so that you can install the apk.
Transfer AP_xxxxxxxxxx.tar.md5 in the firmware you download from your PC/Laptop to your phone.
Open Magisk on your phone and press the install button in the Magisk column. Select 'Select and Patch a File', 'Let's Go' and find the AP_xxxxxxxxxx.tar.md5 and select it. You can have a cup of coffee if you like when you waiting for the patching of the file.
After finishing the patching, you need to transfer the file magisk_patched-24xxx_xxxxx.tar in the Downloads folder back to your PC/Laptop.
Turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Open Odin3_v3.14.1.exe on your PC/Laptop:
Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select magisk_patched-24xxx_xxxxx.tar
-Click on CP and select CP_xxxxxxxxxx.tar.md5
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
When it finishes flashing it, it will automatically reboot and you can gain root access.
Optional: If you want to have the safety net passed (most of the banking apps use it), then you need to install the zip
as a Magisk module in Magisk https://github.com/kdrag0n/safetynet-fix/releases
How? Go to Magisk → Modules → install from storage and select the zip you downloaded.
Is this device specific or should this work with all models?
phatmanxxl said:
Is this device specific or should this work with all models?
Click to expand...
Click to collapse
For all devices but USA locked Snapdragon
Does anyone know if the Canadian SM-F711W can be rooted? Or is it like the USA models and locked out.
Just wondering if it is better to get a F711B model from the UK since I'm looking to upgrade from my Canadian Galaxy S9+ that can't be rooted.
thank you for the guide! are you sure that HOME_CSC_OMC_xxxxxxxxxx.tar.md5 should be put on USERDATA field? In the past we used to put it in the CSC (since we are not flashing CSC to keep our data)
Tw1tchy said:
Does anyone know if the Canadian SM-F711W can be rooted? Or is it like the USA models and locked out.
Just wondering if it is better to get a F711B model from the UK since I'm looking to upgrade from my Canadian Galaxy S9+ that can't be rooted.
Click to expand...
Click to collapse
I think both of them can be rooted. You can have a try.
mez981 said:
thank you for the guide! are you sure that HOME_CSC_OMC_xxxxxxxxxx.tar.md5 should be put on USERDATA field? In the past we used to put it in the CSC (since we are not flashing CSC to keep our data)
Click to expand...
Click to collapse
Ah, stuff had changed. You can now put home_csc or csc to csc field or both of them. You can put nothing to userdata field too
so stick with don't put CSC since want to keep data?
Clusco said:
so stick with don't put CSC since want to keep data?
Click to expand...
Click to collapse
If you unlock your bootloader, you will lost all your data definitely. However, if you just want to update the system without losing root and data, you will need to flash userdata in the CSC field
My bootloader is unlocked as previously I had root it and went back to official firmware. Now I want to have root but without losing current data.. Thanks
Clusco said:
My bootloader is unlocked as previously I had root it and went back to official firmware. Now I want to have root but without losing current data.. Thanks
Click to expand...
Click to collapse
Flash the Magisk patched AP file in the AP slot and the HOME CSC in the CSC slot, I wouldn't go flashing anything in the USERDATA slot that sounds like bad advice.
beanbean50 said:
Flash the Magisk patched AP file in the AP slot and the HOME CSC in the CSC slot, I wouldn't go flashing anything in the USERDATA slot that sounds like bad advice.
Click to expand...
Click to collapse
Yes, that is the correct way to re-root
I've got a Canadian device ending in W. Is this possible? I heard USA and Canadian devices were locked the same way.
DefeatedSouls said:
I've got a Canadian device ending in W. Is this possible? I heard USA and Canadian devices were locked the same way.
Click to expand...
Click to collapse
No, USA and Canadian model’s bootloaders are locked. So, you cannot root your device unfortunately
Williamtung said:
No, USA and Canadian model’s bootloaders are locked. So, you cannot root your device unfortunately
Click to expand...
Click to collapse
Dang it okay. Thanks mate!
DefeatedSouls said:
Dang it okay. Thanks mate!
Click to expand...
Click to collapse
You are welcome
wait for 4.1... then gonna root it....
Clusco said:
wait for 4.1... then gonna root it....
Click to expand...
Click to collapse
For me, I just unlock the bootloader and root first. Then, I will root Android 12 again later when I received it
Clusco said:
wait for 4.1... then gonna root it....
Click to expand...
Click to collapse
Why wait to who knows when, it's only odin flashing two files to root or unroot?
Magisk patched AP file in the AP slot and HOME CSC in the CSC slot
Williamtung said:
Code:
Your warranty is now void.
If you root your device, Your KNOX status will be tripped.
You can still pass the safety net after you root if you follow the instructions.
I am not responsible for bricked devices, dead SD cards although it is not really possible
Please do some research if you have any concerns about doing this to your device
How to flash official firmware? (not the root and unlock bootloader part!)
You will need:
A Galaxy Z Flip 3 and common sense
Samsung Odin (the flashing tool of the official firmware)
https://dl2018.sammobile.com/Odin3-v3.14.1.zip
You need to extract the zip file and you are going to use the file Odin3_v3.14.1.exe inside the folder.
Samsung Android USB Driver for Windows
Samsung Android USB Driver | Samsung Developers
You need the driver only if you are developing on Windows and want to connect a Samsung Android device to your development environment over USB.
developer.samsung.com
Double-click and install the exe file.
Samsung Official Firmware
Release 1.0.3 · zacharee/SamloaderKotlin
Contribute to zacharee/SamloaderKotlin development by creating an account on GitHub.
github.com
Download the platform you want to download to. (Windows)
You need to extract the zip and double click open the file Bifrost.exe inside the folder.
You need to fill in the Model, Region, press the Check for Updates button and the Download button.
How to find the Model: on your phone → Settings → About Phone → The third row says the Model number and you need to remove the part with the part of /xx, for example, SM-F711B/DS and you only need to type SM-F711B
How to find the Region: You can check the Region at this link https://samfrew.com/model/SM-F711B/
You need to find find a three-letter word (CSC) depending on your carrier and country and type it in Bifrost, for example, EVR
Press the Check for Update button and download it with the Download button.
Put it to a place you can easily find, ie. Desktop.
After downloading it, find the file SM-xxxxx_x_xxxxxxxx_xxx.zip.enc4 on the place you put it and change the document format from .enc4 to .zip. Then, double click and extract the file.
Open Odin3_v3.14.1.exe and turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Go back to Odin3_v3.14.1.exe:
-Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select AP_xxxxxxxxxxx.tar.md5
-Click on CP and select CP_xxxxxxxxxx.tar.md5
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
Press Start to flash the firmware, after done, your device will automatically reboot to the system.
How to unlock the bootloader?
Go to your phone → Settings → About Phone → Software information → Press Build number 6 times until you see the notice “You’re now a developer”
Go in Settings → Developer options → enable OEM unlocking
Power off your phone first. Then, connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone.
When you arrived at Download Mode, long press volume up until you see the black screen. Confirm to unlock the bootloader and you will erase your device.
How to root your phone?
After you unlock your bootloader, you set up your phone and make sure you do not sign in google account first. Install Magisk https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk on your phone. Oh yes, in case you do not know, you need to allow the app to install apps so that you can install the apk.
Transfer AP_xxxxxxxxxx.tar.md5 in the firmware you download from your PC/Laptop to your phone.
Open Magisk on your phone and press the install button in the Magisk column. Select 'Select and Patch a File', 'Let's Go' and find the AP_xxxxxxxxxx.tar.md5 and select it. You can have a cup of coffee if you like when you waiting for the patching of the file.
After finishing the patching, you need to transfer the file magisk_patched-24xxx_xxxxx.tar in the Downloads folder back to your PC/Laptop.
Turn off your phone. Connect a side of your USB to your PC/Laptop, keep pressing volume up and down together until you go to Download Mode. Put another side of the USB into your phone. When you arrived at Download Mode press volume up. Open Odin3_v3.14.1.exe on your PC/Laptop:
Click on BL and select BL_xxxxxxxxxx.tar.md5
-Click on AP and select magisk_patched-24xxx_xxxxx.tar
-Click on CP and select CP_xxxxxxxxxx.tar.md5
-Click on CSC and select CSC_OMC_xxxxxxxxxx.tar.md5
When it finishes flashing it, it will automatically reboot and you can gain root access.
Optional: If you want to have the safety net passed (most of the banking apps use it), then you need to install the zip
as a Magisk module in Magisk https://github.com/kdrag0n/safetynet-fix/releases
How? Go to Magisk → Modules → install from storage and select the zip you downloaded.
Click to expand...
Click to collapse
In developer options theres no oem unlock switch ? Please help anyone

How To Guide Rooting a Samsung device using Magisk and Odin. (2023)

NOTE : This guide can work for almost all modern Samsung devices and not just the S7 FE.
The device will be erased completely in order to install the root.
Risks of rooting :
1. You can brick your phone by doing this.
2. Can void your warranty. (I suggest rooting after warranty or if your device is a bit old.)
3. KNOX can be tripped and some security features won't be available. ( WILL DISABLE SECURE FOLDER )
4. Some apps such as banking apps and calling apps such as Zoom may not work after rooting.
Things you need :
1. A PC/Laptop.
2. The device you wish to root.
3. An original Samsung cable
Before starting you should :
- UNLOCK THE BOOTLOADER.
1. Remove all accounts from the device to ensure security features don't mess our root installation.
2. Turn on usb debugging. If you do not know how to do that, check here.
3. Download Samsung drivers to ensure the device is well connected.
4. This is a tedious process so i suggest charging your device until full.
1. Installing the firmware.
There is a forum for this. Click here.
If you want to use SamMobile to get the firmware : (you do need to sign up)
1. Go to Settings > About Device/Tablet > Software Info and note down the baseband version. This will be required for getting the firmware file.
2. While in Software Information, search for "service provider software version" and check the last 3 letters (Device Reigon). Example : XSA.
2. Extracting the MD5 File.
1. First you must download 7-zip to extract the md5 file. You may use other tools.
2. Then you must extract the files using 7-zip or the software you chose.
3. Next, extract only the files which start with a AP, BL, CSC and HOME. (This will take a while depending on the write speed of your storage.)\
4. Now transfer the AP file to your device. Make sure to put it downloads on your device for easy access.
3. Patching AP file with Magisk.
1. Now, download the Magisk manager apk.
2. Open the app and click install which is next to Magisk.
3. Click Select and Patch a File and select the AP file.
4. After patching, you should transfer the patched AP file (its usually renamed to Magisk Patched or something.) to the pc.
4. Flashing the patched AP file onto the device.
1. After the previous steps, make sure your device is in download mode and connected to your computer.
2. Now, download and open the latest version of Odin.
3. Go to Options and Disable Auto Reboot.
4. Click the AP button and choose the patched magisk file.
5. As we added the AP file, add the default. (BL, CSC and HOME)
6. Click Start.
5. Final steps
1. As soon as it finishes, exit out of download mode and immediately boot into recovery mode.
2. Use the volume buttons to go down to Wipe Data and Factory Reset.
3. Click the power button and confirm. After this, go back to reboot now and click the power button.
Once you finish the setup, go to the home drawer and check if the magisk app is there.
If not, shut down the device and turn it on again.

Categories

Resources