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

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.

Спасибо!

Related

[ROOT GUIDE] T860 root no TWRP method

This is an advanced guidance.
I will explain exact procedure presuming other things are already known for those who are know what are they doing.
Therefore, if anything goes wrong I don't feel responsible for whatever you do.
1. Unlock bootloader
2. Device will, format itself. Do initial setup without setting anything because you will need it to format again.
3. Boot device and turn on OEM unlock and USB debugging in to developer options in system settings.
4. Reboot device again.
5. Download stock firmware (you can use FRIJA or SAMFIRM tool from XDA.)
6. Unpack firmware zip
7. Connect tablet to your PC
8. From folder of unpacked firmware COPY AP file to your tablet SDCard/Documents folder.
9. Download and install latest Magisk Manager.apk on tablet.
10. Open Magisk Manager you will see "Magisk is NOT installed" in red letters but no problem.Set it EXACTLY like on picture 1.
11.Click "install" and you will see screen on picture 2.
12. Select "SELECT AND PATCH A FILE" and select that AP firmware file you previously copied from your PC
13. Magisk will start to patch a file. When patching is done...
14. Close Magisk Manager and open your SDCard/Documents folder on tablet. You will find there "MAGISK_PATCHED.TAR" file.
15. Copy that file from tablet to PC
FLASHING
Turn off tablet and put it in download mode
1. Open on PC patched ODIN 13.3 or 13.4 and UNTICK "reboot automaticly" on ODIN settings
2. Select files for flashing BL to BL, CP to CP, CSC to HOME_CSC....
BUT EXCEPT ORIGINAL AP FILE SELECT "MAGISK_PATCHED.TAR" FILE !
3. Flash all files to your tablet and disconnect from PC when ODIN finished
4. Reboot tablet into recovery and format data and cachee ! Restart tablet and wait few minutes to load
5. Set up tablet as usually.
6. Install Magisk Manager.apk and open it...It will do some patching updates then reboot itself.
7. Open Magisk Manager again and install Magisk zip from manager. Manager will root and reboot device itself.
8. You have a root without TWRP
.
To keep this guide short, same video procedure I found here...It is for S10+ but applicable for this tablet as well.
ROOT WITH MAGISK
.
Thank for that clarity .. i just get an Tab s6 and i needed i simple and recent tutorial.
This guide worked perfectly. The one with twrp didn't.
Thank you.
This didn't work for me.
3. Flash all files to your tablet and disconnect from PC when ODIN finished
4. Reboot tablet into recovery and format data and cachee ! Restart tablet and wait few minutes to load
I can't get into Recovery Mode to format. It freezes on the boot logo, I'll hold Volume Down + Side Key to power off, Volume Up + Side Key to boot into Recovery Mode but it just tried to boot normally and freezes on the boot logo.
Is it better to root first or flash TWRP.
EDIT: Duh!!
tin2404 said:
This is an advanced guidance.
I will explain exact procedure presuming other things are already known for those who are know what are they doing.
Therefore, if anything goes wrong I don't feel responsible for whatever you do.
1. Unlock bootloader
2. Device will, format itself. Do initial setup without setting anything because you will need it to format again.
3. Boot device and turn on OEM unlock and USB debugging in to developer options in system settings.
4. Reboot device again.
5. Download stock firmware (you can use FRIJA or SAMFIRM tool from XDA.)
6. Unpack firmware zip
7. Connect tablet to your PC
8. From folder of unpacked firmware COPY AP file to your tablet SDCard/Documents folder.
9. Download and install latest Magisk Manager.apk on tablet.
10. Open Magisk Manager you will see "Magisk is NOT installed" in red letters but no problem.Set it EXACTLY like on picture 1.
11.Click "install" and you will see screen on picture 2.
12. Select "SELECT AND PATCH A FILE" and select that AP firmware file you previously copied from your PC
13. Magisk will start to patch a file. When patching is done...
14. Close Magisk Manager and open your SDCard/Documents folder on tablet. You will find there "MAGISK_PATCHED.TAR" file.
15. Copy that file from tablet to PC
FLASHING
Turn off tablet and put it in download mode
1. Open on PC patched ODIN 13.3 or 13.4 and UNTICK "reboot automaticly" on ODIN settings
2. Select files for flashing BL to BL, CP to CP, CSC to HOME_CSC....
BUT EXCEPT ORIGINAL AP FILE SELECT "MAGISK_PATCHED.TAR" FILE !
3. Flash all files to your tablet and disconnect from PC when ODIN finished
4. Reboot tablet into recovery and format data and cachee ! Restart tablet and wait few minutes to load
5. Set up tablet as usually.
6. Install Magisk Manager.apk and open it...It will do some patching updates then reboot itself.
7. Open Magisk Manager again and install Magisk zip from manager. Manager will root and reboot device itself.
8. You have a root without TWRP
.
To keep this guide short, same video procedure I found here...It is for S10+ but applicable for this tablet as well.
ROOT WITH MAGISK
.
Click to expand...
Click to collapse
Before step 10 ensure that you have a Wi-Fi connection. I think Magisk requires it. Magisk would not produce the drop-down till I connected to the internet. Then everything worked fine.
Good man, thanks so much!
Sent from my Pixel 4 XL using Tapatalk
I wish this worked for the TMobile version
noxarcana said:
This didn't work for me.
3. Flash all files to your tablet and disconnect from PC when ODIN finished
4. Reboot tablet into recovery and format data and cachee ! Restart tablet and wait few minutes to load
I can't get into Recovery Mode to format. It freezes on the boot logo, I'll hold Volume Down + Side Key to power off, Volume Up + Side Key to boot into Recovery Mode but it just tried to boot normally and freezes on the boot logo.
Click to expand...
Click to collapse
You need to restart tab after flashing BUT again in DOWNLOAD MODE...not in recovery ! Then flash TWRP and restart in twrp recovery.You need to untick AUTO REBOOT in Odin before flashing TWRP.
Not able to shutdown
After rooted with Magisk,my Tab S6 is not able to shutdown,no matter which methode I use,it just restart itself.
Does anyone have this issue?
worked perfect on oneui 3.1 aswell thank you
I rooted my Galaxy Tab S6 using the Magisk-only method after updating to Android 11. I had trouble with the post-Odin step (pressing power and volume up right after screen turns off) so I had to do the flash a couple more times before I got that right, and everything shows as rooted now.
However, my 256GB internal storage is only showing up as 32GB! Is that a firmware thing, or a partitioning thing? How can I fix it?
Used ther same method on my rooted tab with the May update (T865XXU4CUE1_T865OXM4CUE1_DBT) - magisk-patch AP, flash all files in Odin, after reboot the device is rooted.
BUT after another reboot (or rather shutdown and boot), root access is lost and cannot be restored in any way until I re-flash the device with the same firmware again.
Any solution to this?
6. Install Magisk Manager.apk and open it...It will do some patching updates then reboot itself.
7. Open Magisk Manager again and install Magisk zip from manager. Manager will root and reboot device itself.
Click to expand...
Click to collapse
This never happens. I even uninstalled Magisk Manager after patching, flashed the firmware, reinstalled the latest Canary Manager, still no patching or reboot happening.
Edit: just rebooted and shutdown a few times, root sticks. Before, I held VolUp as described in many guides until the "secured by Knox" logo appears, now didn't touch any button except Power.
Oh well...

How To Guide Guide to root Galaxy A22 5G, 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 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

Rooting SM-T860 OneUi-3.1 and installing TWRP (UPDATE: Updating to latest version without losing data)

(EDIT)
OneUI 4.1 has finally arrived, if you haven't got your Tab s6 rooted, you can just follow the instructions below. This new part is for the people who followed the guide to root their Tab s6 and now want to update to the new firmware version without losing their data. This guide is inspired in https://forum.xda-developers.com/t/...te-rooted-device-whilst-keeping-data.4245989/. But for simplicity of search I have decided to place it here
(END OF EDIT)
I ran into some problems and took some time to figure out how to install TWRP and root the tablet. The normal procedure by which you flash TWRP and then flash Magisk doesn't work as the download mode won't accept non-official files.
Then, once I got my tablet rooted by the patching method of Magisk, I installed TWRP with their app and got stuck in the logo due to not formatting the data.
After some research and quite a lot of time, I managed to get around that and be able to do everything.
Here is a step by step detailed guide of how to do so.
ATTENTION: These modifications void your warranty and may brick your device. I am in no way responsible for any damage you may cause. Follow this guide at your own risk
Requirements:
-> Latest version of the firmware of your model (I used this site which had the latest version and decent download speeds https://galaxyfirmware.com/model/SM-T860)
(To find which version to download, go into the Phone app, and type *#1234#)
-> Latest Magisk.apk file (https://github.com/topjohnwu/Magisk/releases)
-> Disbale_Dm-Verity_ForceEncrypt zip file (https://zackptg5.com/android.php#disverfe)
-> Latest TWRP img (https://eu.dl.twrp.me/gts6l (europe) or https://dl.twrp.me/gts6l (americas))
-> Official TWRP tool (Play Store)
-> Samsung drivers (https://developer.samsung.com/android-usb-driver)
-> Latest Version of Odin (https://odindownload.com/SamsungOdin)
-> SD Card or Minimal ADB and Fastboot (https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790)
(If SD card)
Copy Magisk, AP file from the firmware zip, Disable_dm zip and TWRP img into the SD card, else, you will have to use adb sideload
0. Create a backup of all your data (we are going to wipe the data of the tablet)
(Tablet)
1. Activate developer settings (go to Settings->About Tablet->Software information, and tap 5 times on build number).
2. Go into developer settings and activate OEM unlocking and USB debugging.
3. Turn off the tablet and turn it back on pressing Power + Vol. Down buttons to enter Device Unlock Mode.
4. Press and hold Vol. Up and in the next menu, press Vol. Up to unlock the bootloader (attention, this will erase all of your data)
5. Run through the setup, but be sure to activate the internet (this will prevent the tablet from relocking).
6. Activate developer settings again, and go into it to check that OEM unlocking is greyed out.
7. Install Magisk
(PC)
8. (No SD) Copy the AP file to the Tablet.
(Tablet)
9. Go into Magisk, press Install->Patch a file->Recovery mode (on)->Select file (The AP file).
10. Copy the patched file back into your computer.
11. Shut down the tablet.
12. Press Vol. Up + Vol. Down and connect the tablet to your computer with a USB to enter download mode.
(PC)
13. Open Odin, it should show that your device is connected.
14. Go to the settings tab and uncheck the Auto-Reboot option.
15. Flash all the files of the latest firmware, using CSC (not HOME_CSC) but substituting the AP file with the patched one. (With the WiFi version, you might not have a CP file, don't worry)
CRITICAL STEP (if not followed correctly, may lead to bootloop)
(Tablet)
16. Once the flashing is complete, press Vol. Down + Power during 7 seconds to restart the tablet. As soon as the screen blacks out, swap to Vol. Up + Power (and keep pressing even though it asks to press power) to enter the recovery.
17. In the recovery, navigate to Wipe data/factory reset with the volume buttons and press power button to select. Confirm and reboot.
18. While rebooting, you need to press Vol. Up + Power during 3 seconds (Until the press power to continue appears). This is due to Magisk being installed in the recovery partition.
19. Run through the setup again, but this time you need to login into your google account to enter the Play Store.
20. You should have the Magisk app installed. Open it and it will configure itself.
21. When it reboots, press again Vol. Up + Power for 3 sec.
22. Download the Official TWRP app.
(PC)
23. (No SD) Copy the latest TWRP image previously downloaded into the tablet.
(Tablet)
24. Go into the TWRP app and give it root permissions.
25. Enter TWRP flash and select the latest TWRP img
26. Go into the reboot menu and select reboot recovery.
27. The phone will reboot into TWRP.
28. Tick don't show this message again and slide to allow modifications.
29. Wipe -> Wipe data, Cache and Dalvik and Format data.
30. Reboot -> Recovery.
31. (SD) Flash Disable_DM-Verity zip, and then flash Magisk zip.
32. (No SD) enter the advanced menu and open adb sideload. Connect to the PC, open Minimal adb and fastboot and adb sideload the zip files.
33. Reboot system
Congrats, you have a rooted Samsung Galaxy tab S6 with TWRP installed!
FAQ:
1) Ok, I f* up, I am now stuck in the Samsung logo, what do I do?
Press Power and Vol. Down for 7 seconds, this will auto reboot your tablet. Then, as soon as the screen goes off, try to press Vol. Down + Vol. Up and connect through USB to the PC. With some luck, you manage to get into download mode. If you don't, repeat.
Flash the files with the Magisk modified AP, reboot into recovery and factory reset (follow the next instructions if you want to install TWRP), or else flash the stock rom.
2) I am seeing some screens with some warning messages, is that Ok?
Yes, it is normal, Samsung does that to scare people off from installing modifications on their devices. Can I take them off? Yes, but it is not a simple process. If you really want to, follow this guide, but adapting to the device (https://forum.xda-developers.com/t/...sage-on-samsung-a30-after-root-device.3954589). Another important thing is, when you want to enter recovery, you need to keep pressing Vol. Up + Power, even when the tablet displays the message that asks to press the power button.
3) Don't know... You ask
Works perfectly, thank you!
I have a question: to decrypt the internal memory which files can I flash?

Question Z FLIP 4 - I NEED INFORMATION

Good morning everyone on the forum, yesterday I bought a Z Flip 4 and wanted to know if the following things can be done
- Install TWRP
- Install Magisk
- Root
My idea would be to be able to install those things without losing any files on my phone.
Model: SM-F721B
If someone could help me I would really appreciate it
- Install TWRP - No
- Install Magisk - Yes
- Root - Yes
Edit:
If you want to root it all data and files will be wiped, you'll have to do a backup first!
beanbean50 said:
- Install TWRP - No
- Install Magisk - Yes
- Root - Yes
Edit:
If you want to root it all data and files will be wiped, you'll have to do a backup first!
Click to expand...
Click to collapse
I understand, how long would the rooting process with magisk take? I would be interested in doing it, and do you know of any tutorial to follow to be able to root it?
K4EV4 said:
I understand, how long would the rooting process with magisk take? I would be interested in doing it, and do you know of any tutorial to follow to be able to root it?
Click to expand...
Click to collapse
It will take a good couple of hours to upload/download everything, then a couple more to set it all up and running again to your liking..
1) go into settings/about phone/software information
2) tap software information then tap on build number 7 times
3) go back to settings and you should see development options at the bottom
4) if the OEM unlock option is there choose it and it will reboot to the bootloader screen
5) it will ask you to confirm and then it will wipe all data and reboot (dont bother to re-install everything as you will have to do it again later on)
6) download the latest firmware and extract it to a new folder on your PC
7) copy the AP file to your phone
8) download and install the latest Magisk apk
9) in Magisk choose the top option 'install' then select patch a file
10) after patching the AP file transfer it back to your PC (it can be found in the download file on your phone)
11) download and install Odin app on your PC
12) open Odin and put the AP patched file in the AP slot and the CSC file in the CSC slot (disable auto reboot option in Odin before flashing)
13) after flashing press and hold the power button and volume down for about 10 seconds to reboot
14) install the Magisk apk again and it should ask you to reboot to finish off rooting the phone
15) Good luck !
I need help with Amazon sign ins

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