[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S8 or S8+ Stock to Android 13 - Samsung Galaxy S8 Guides, News, & Discussion

[GUIDE/TUTORIAL/HOWTO] Samsung Galaxy S8 (dreamlte Exynos SOC) or S8+ (dream2lte) Stock to Android 13 / LineageOS 20
This detailed step-by-step guide helps you transform your Samsung Galaxy S8 dreamlte or S8+ dream2lte to a powerful one with Android 13.
Make sure your phone is dreamlte/dream2lte/Exynos before going further: in Android, go to Settings > About phone > Check model number is listed below.
If not, quit this tutorial.
Supported models:
- SM-G950F
- SM-950FD
- SM-G955F (S8+)
### READ THOSE WARNING COMMENTS
CHANGELOG
v1. Initial release for Android 13, Netflix and Disney+ work
1) DOWNLOAD
- djibe Galaxy S8 dreamlte pack: https://bit.ly/djibe-galaxys8-pack
(contains Samsung tweaked Odin 3.13.1 + Samsung official USB drivers + TWRP 3.7.0_9-0 official recovery + Magisk Root + Magisk modules). Unzip files.
+ ROM Unofficial LineageOS 20: https://forum.xda-developers.com/t/...spoofing-ota-updates-for-s8-s8-note8.4485525/
Download latest build for your device: https://ivanmeler.github.io/devices/dreamlte.html
+ BiTGApps Package ARM64 13 (BASIC or any other): https://github.com/BiTGApps/BiTGApps-Release/releases
OR NikGApps T Basic: https://sourceforge.net/projects/nikgapps/files/Canary-Releases/NikGapps-T/
OR MindTheGApps 13 ARM64: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
+ Charge phone to 100%
2) BACKUP DATA
Install Samsung USB drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode.
Collect all .jpg or .mp4
Use Google built-in cloud to backup apps like SMS Backup & Restore to backup texts, contacts, etc.
Backup your WhatsApp messages in Google Drive.
Everything else: podcasts, Authenticators, TODOs etc...
Then copy the backup on your PC.
Make sure you have latest official updates for your phone:
Connect to Wifi and go to Settings > Software update > Download and install.
### BACKUP NOW, you will lose everything.
3) FLASH TWRP 3.7 RECOVERY
Go to Settings > About phone > Software information.
Tap 7 times on Build number item to unlock Developer options.
Go to Settings > Developer options, switch OEM unlocking ON.
Shut down phone.
Boot in Download Mode: hold Volume- + Bixby button (located below volume) and then Power button until you see Samsung's logo and release all buttons.
Confirm access to Download mode by pressing Volume+.
Phone now displays "Downloading...".
Connect phone to computer with USB, wait for drivers installation.
Then launch Odin.exe (included in my zipfile) and wait for Odin indicator ID:COM to become blue.
In options: make sure re-partition and Auto Reboot are NOT ticked while F. Reset Time is ticked.
In AP > select twrp-3.7.0_9-0-dreamlte.img.tar
### For Galaxy S8+, select twrp-3.7.0_9-0-dream2lte.img.tar
### Warranty will be Void after next click ###
Click Start.
Wait until flash Success message appears.
Unplug phone.
Restart phone to recovery :
- hold Power + Bixby + Volume- until phone screen becomes black.
- and immediatly switch from Volume- to Volume+ (still holding Power + Bixby) to land in TWRP recovery.
### If Android launches, hold 3 buttons until phone restarts and Samsung logo appears.
4) BACKUP IMEI PARTITION AND SYSTEM (Nandroid backup)
Boot in Recovery Mode : Hold Bixby + Power + Volume+ until you see Samsung's logo then release and wait a few seconds for TWRP recovery to boot.
Recovery asks for Keep System Read Only ? > Swipe to Allow Modifications.
Go to Wipe > Format Data.
Type: yes and confirm with bottom right check icon.
Encryption is removed. You can now access partitions.
### If you miss this step you won't have access to any partition.
Back to home menu > Backup.
You can now select the partitions you want to save.
Select at least EFS partition to backup your IMEI. If a flash fails and partition is damaged you will still be able to restore this partition and use the phone.
If IMEI is lost during a flash, phone won't be able to reach cellphone networks.
I prefer to backup Boot, System, System Image, Baseband and EFS partitions. In case of problem, you will have your phone in its original state.
Swipe to Backup and wait during process.
Save backup: still under TWRP recovery, connect phone to PC.
Go to Mount menu and check Data partition is checked and MTB button is on "Disable MTP" state.
From Windows explorer, access phones memory and copy-paste the TWRP folder (located in root folder, beside DCIM and Music folders) somewhere safe on your computer.
5) FORMAT PARTITIONS
### Make sure you copied TWRP backup from internal memory to somewhere safe.
Go to Wipe > Advanced wipe,
select Dalvik, Cache, System, Data, Internal Storage (if you really made a backup from step 2), then Swipe to Wipe.
Back to TWRP home screen, go to Reboot > Recovery and swipe to reboot.
On next launch, check the checkbox to remember choice and swipe to allow modifications.
6) FLASH ROM, (MAGISK ROOT) AND GAPPS
Back to TWRP main menu, go to Mount menu again to connect phone to PC again.
Connect phone to PC and use Windows explorer to copy files on phone's internal memory.
Copy TWRP folder from your phone to somewhere safe on PC.
This backup can restore your phone to its original Samsung state.
Copy files of ROM + GApps + Magisk on phone.
Go back to TWRP Home menu. Then tap on Install > choose lineage*.zip
then Swipe to confirm Flash.
Wait for operation to end.
Again, go to Reboot > Recovery.
After restart, go back to Install and select bitgapps*.zip
Optional for root: Add More zips > Magisk*.zip
then Swipe to confirm Flash.
Then tap Wipe cache/dalvik, swipe to confirm,
and Reboot System.
Wait for the phone to boot during 3 minutes.
7) ROOT ACCESS (OPTIONAL)
### Needed to work with Netflix or Disney+
Configure Android as you like.
Don't try to set fingerprints at first setup. It will crash.
No need for extra work to be root.
Magisk launches with Android.
Superuser permissions can be managed from Magisk Manager app.
Launch Magisk.
Then in Magisk go to Settings > Hide the Magisk app, give it a name and switch Zygisk option ON.
Go to Modules Tab > Install from Storage: install MagiskHidePropsConfig and safetynet (located in my archive).
Unlock Developer options: go to Settings > About.
At the bottom, tap 7 times on Build number.
Go to Settings > System > Advanced > Developer options > Disable Android debugging (ADB).
Reboot phone.
8) TWEAKS
- Remove ROM install files: TWRP > Advanced > File Manager > data > media
Tap on each file to Delete it.
- Calibrate battery: https://www.ifixit.com/Wiki/Battery_Calibration
- Set dark Mode to improve battery by 30%
Settings > Display > Dark theme.
- For better battery, remove Always on display
Settings > Display > Screen saver > Desactivated
- Screen sensitivity is too low ?
Try to recalibrate screen sensitivity with https://play.google.com/store/apps/details?id=touchcalibration.favoritappindia&hl=en&gl=US
Enjoy,
djibe
Thanks: @Ivan_Meler, LineageOS team, TWRP team, TopJohnWu
---------------------------------------
Force Samsung Galaxy S8 shutdown
Hold Power + Volume down for 10 seconds

Added S8+

Related

[Newbie] Complete Guide to for Rooting & Install a Custom Rom [Updated 9 Sep 2013]

[Newbie] Complete Guide to for Rooting & Install a Custom Rom [Updated 9 Sep 2013]
This is aimed at new "rooters". The process is incredibly easy.
I also take no responsibility if you mess up somehow, and this is for GSM Hero's NOT Sprint Hero CDMA users.
Original Thread
http://forum.xda-developers.com/showthread.php?t=645253
I have now also included a link to z4root as an alternative.
Here is a link to my backup guide but please be aware that most of it requires root access.
Prelude:
Install HTC Sync from here
Download Universal Androot
Download z4root
Download Root Checker - only if you need to
Download AmonRA Recovery v1.7.0.1.img - easier if you rename this "recovery.img" when it is on your sdcard
Place both downloaded files on your SD Card
Root & Recovery
1. Download and install Astro File Manager from the Market (or use any other file management program of your choice)
2. Open Astro and find and install Universal Androot (or if that doesn't work try z4root) from your sdcard:
Select UniversalAndroot.apk > Open App Manager > Install > Settings> [tick] Unknown Sources > OK > Back > Select UniversalAndroot.apk > Open App Manager > Install > Install > Open
3. In the app and choose the correct version from the dropdown box:
Superuser for Android 2.0~2.2 - if you have updated your phone recently
Superuser for Android 1.5~1.6 - if you have refused updates recently or your country/provider hasn't released one yet
Then choose: "Root "
Wait until it says "Woot ! Your device is rooted !" and exit the program.
4. Download and install Android Terminal Emulator from the Market (use Better Terminal instead if this one doesn't work)
5. Run "Terminal Emulator". Type (press and hold menu to get the keyboard up) in the following:
su (press enter and wait for the "Super User Request Prompt". Choose "Allow" and make sure its ticked to Allow every time.)
flash_image recovery /sdcard/recovery.img (press enter - make sure this is typed exactly as seen)
N.B. If you have issues here, see * notes below for more assistance
6. Turn off your phone and press Home + Power to start it up again. This should boot into recovery mode.
Install Your Custom Rom
Note: This part of the guide can be repeated with as many different rom's as you like. You do not have to repeat the previous section once you have a recovery image installed.
1. Download a Custom ROM from here to your computer.
2. Make sure your phone is in recovery mode (Home + Power)
Plug your phone into your computer and select "USB-MS toggle" in recovery
Place the Custom ROM on your SD card in the main directory and press Home when it has finished copying over
3. Select Backup/Restore > Nand backup > confirm with Home > Wait
(or Nand + Ext if you have A2SD setup)
4. Press back then select Wipe from the main menu, then select:
Wipe data/factory reset > Home
Wipe cache > Home
Wipe Dalvik-cache > Home
Wipe SD:ext partition > Home
Press back button
Select Flash Zip from SD Card
Select the file
Press Home to confirm
Note: Ignore any "errors", they are normal and usually mean you're not using that feature.
5. Once it is done, select Reboot and you will boot into the new Custom ROM.
Updating your Radio
Note: The radio deals with your signal levels and connectivity.
1. Download the latest radio from the following page
N.B. Radio's are not region specific! Just get the latest
2. Mount your SD Card so your computer can read it and place the downloaded file in the main directory
3. Turn off your phone and boot into the recovery screen (holding Home + Power)
4. Choose:
Flash Zip from SD Card
Pick the radio.zip file and press Home to confirm
Wait
Your phone will reboot a couple of times but when you're back on the Recovery Screen just press reboot system now and it will complete the install and put you back into your custom rom.
DO NOT PULL THE BATTERY OUT, THIS WILL BRICK YOUR HANDSET.
5. When this process has completed reboot the phone and you should have the new radio. This can be checked in Settings > About Phone
Original Thread
http://forum.xda-developers.com/showthread.php?t=645253
Thanks
This is not a guide for the HTC ONE S, new users please disregard this and use one of the guides from our forum.
Yea I was wondering why this was here, you got lost man

Leree Le 3 Stock Rom and Flashable Customized Firmware

Leree Stock Rom
https://mega.nz/#!F09XDIqS!clkk3-7aFjEWt4i_futDyGnSrmZ_Y9Nt4YQEMqpxaBk
1. Flashable thru TWRP, and thru the File Manager
2. Just for restoring the system.
3. NOT FOR BRICKED DEVICES
Customized Firmware3
HOW TO UNBRICK
*For the RED LIGHTS OF DEATH
# INFO #
1. Flashable thru miflash
2. CUSTOMIZED stock.
3. With root, viper4android, BusyBox, Facebook & Messenger, ES File explorer, Quick Reboot and many more.
4. Removed unnecessary apps from system.
5. Will not WIPE your internal storage and applications, so your files in it are safe.
6. CUOCO92 Advanced TWRP as recovery.
# REQUIREMENTS #
1.) MIFlash
- https://mega.nz/#!V58lmaZR!bf00enXY3ueeowrfMsV8SHZ-6QoQLJRfDDYp5j_v-Ew
2.) Revive Firmware
- https://mega.nz/#!QpFGVa5D!lYyA0yqcc99-ip2b8zIJ70_AHxocRqyvGMCLurYdppU
3.) Drivers
- https://mega.nz/#F!I81lTaZD!tcvEVP9syk0oCHaxeGdYrw
# INSTRUCTIONS #
1.) Extract REVIVE.zip preferably in a FOLDER on the desktop of your computer.
2.) Install miflash on your computer.
3.) Connect your phone to the computer while pressing and holding VOLUME UP AND DOWN BUTTONS for at least 3 seconds. You will then notice the LED LIGHT BLINKING IN RED. The RED LIGHTS OF DEATH.
4.) Go to your computers DEVICE MANAGER and look for QSHS_BULK with a yellow triangle on the side. Right click, and choose "UPDATE DRIVER". Search manually and look for the downloaded drivers from mega.
5.) Open MIFlash and click on refresh. You will then see a COM PORT if you installed the drivers correctly.
6.) Now press Browse and search for the FOLDER where you extracted the REVIVE.zip
7.) Click on FLASH.
8.) Wait at least 5minutes for the flashing to finish and your done. Remove USB Cable BUT DON'T TURN IT ON JUST YET.
9.) Press and Hold Volume Up and Power button for at least 4 seconds. Release the power button once the Leree Logo shows up on the screen.
10.) Once inside TWRP, go to WIPE and do a FACTORY RESET, this is to avoid conflict between the apps that you left in your data and the customized stock Firmware.
11.) Wipe DLAVIK CACHE
12.) REBOOT
# NOTES #
*Flashing with MIFlash may take a little longer depending your computer specs, so pls be patient.
*First boot will take atmost 25minutes, this is due to the system building it's DALVIK CACHE or what we normally see as "OPTIMISING APPS".
*This Firmware will not WIPE your DATA & INTERNAL STORAGE. So if you bricked your phone , you don't need to worry about the pictures you saved in your internal storage. But be sure to do the FACTORY RESET thru the installed TWRP

[ROM][A51] HAVOC OS for Samsung Galaxy A51 [CUSTOM ROM]

Hey Guys,
Before you dive in, irrespective of your reading speed read this carefully and slowly for better understanding but if you cannot focus and read it slowly then you better give up music for a few weeks.
About the Device
Before you jump in and get your hands dirty.. you should know that what you will be installing is Generic System Image, It is not specifically made for your device so if you are going to install some other GSI other than this, you might face some issues.
If you are a beginner, you should Go Through Project Treble, just for the sake of knowledge.
Also Galaxy A51 has A/B partition and Supports Project Treble though remember that Treble Devices are not same as A/B devices and Vice Versa.
Things You’ll Need
A Computer (not an iPad)
Internet [requirement around 6 gigs (4.8 gigs optional, for downloading stock Firmware, Highly Recommended)]
Samsung Galaxy A51 (will not work on A50)
Patience and a madcap attitude.
Resources
Download Odin from the link given below and extract it in a folder.
https://odindownload.com/download/Odin3_v3.13.3.zip
Adb and Fastboot Drivers
https://gsmusbdrivers.com/download/adb-fastboot-drivers/#
Samsung Drivers
https://developer.samsung.com/mobile/file/68b2dc40-3833-4a8b-b58e-32f7aca25c00
Havoc OS GSI
Havoc-OS - Browse /arm64-ab at SourceForge.net
Don’t forget to check that there is “arm64” and “ab” written on the name of the file
Other option is with Gapps (it means the rom will come with Google Play services built in
otherwise it is Vanilla Android.
GSI Flasher
(It is used for converting your img file into flashable Zip)
https://drive.google.com/file/d/1J8OlI2CCXpvAJ5FhFlR2b_y58eHQERGs/view?usp=sharing
Extract it you’ll find three folders gsi, META-INF, scripts, keep all of them inside the GSI
Flasher extracted folder.
Twerp Recovery
twrp-a51-3.5.0_10-1_ianmacd.tar | by androidhowto for Utilities (androidfilehost.com)
Do not use any other in this case you might get mounting errors.
Encryption Disabler
Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip | by androidhowto for Utilities (androidfilehost.com)
Its Show time
1. Go to settings and go to about phone, tap build number 7 times and a dialog will appear, you are now a developer.
2. Go to additional setting or search developer options in the settings search bar
3. Once in the developer settings find OEM unlock and turn in on, scroll down and also turn on USB debugging, your phone will ask the permission for accessing the data by your computer.
4. Turn off your device. Get a usb cable and connect it to your computer.
5. While phone is off first press Volume UP and Volume Down together, and then then insert the usb cable into the phone while holding the buttons wait for two seconds. a blue screen will come up telling you about consequences and life choices.
6. Long press the Volume Up Button and a new blue screen will show up asking you for unlocking the bootloader. Press Volume Up to confirm. You device will erase everything and reset itself ( Don’t forget to take backup of your Data).
7. After the setup screen appears skip everything in the setup and enable developers option and enable USB debugging in the developer options.
8. Turn off your device again and Repeat step 5.
9. Press Volume up for entering the download mode
10. Now in your computer, Install Odin and open Odin.exe you’ll find your device as comm: xx
Now click on the AP button and select the twerp you downloaded.
Press start and twerp will be installed in your device. Your device will reboot don’t let it boot to one ui, press all three buttons together and hold, as soon as the screen goes black release only the volume down button. Keep holding the Volume UP and power buttons for 3 seconds and then release, you find yourself in twerp. If you miss it repeat the process again but don’t let it boot to One Ui.
In twerp press wipe => format data =>type yes. Press home button and again go to wipe advanced select Data, Cache and Dalvik and swipe to clear.
Press home again. Go to reboot and select recovery, twerp wil reboot. Once it reboots transfer the encryption disabler to your phone and in twerp press install select the storage, sdcard or internal storage, where you have stored the file, select it and swipe to install.
Now in your computer extract the Havoc os image and rename it as “system.img”.
Extract the GSI flasher, copy system.img and paste it in the gsi folder of the GSI Flasher.
Select gsi, Meta-inf, scripts and compress them into a zip and transfer into the phone.
Now in twerp Press install, select the zip file and swipe to install. Also install Gapps or Magisk if you want (though normal magisk will have problem try install phh_magisk, discussed later).
Reboot and KABLAMO You have installed Havoc OS.
Bugs
A small random issue in Auto Brightness
If you root with magisk and install modules, after you reboot your phone will get into a bootloop. Use Phh_Magisk but I aint sure if it’ll work or not Your call madcap.
NONE OF THE FILES IN THIS TUTORIAL HAVE ANYTHING TO DO WITH ME. If SOMETIHING HAPPENS I AM NOT RESPONSIBLE. ONLY DO IT AT YOUR OWN RISK.
Troubleshooting.
If you find errors in twerp, such as unable to mount vendor or system_root, or data. Then you got to install the stock One Ui Back again, therefore it is highly recommended to keep with yourself the stock firmware. You will need It. And it is 4.78 gigs. You can download it from
Model : SM-A515F - Galaxy A51 — Samfrew.com
To reinstall the stock firmware first extract it and the open odin and repeat steps 8 and 9, once your device is detected in Odin press the respective buttons and select the respective files such as for BL button select the file With BL in the name. Do it for buttons, BL, AP(once you select the file it will take long for it load into odin so do not panic and let it load, it might become unresponsive but use patience and wait.)CP , CSC. Click on start and you’ll have ONE Ui back on your device.
To Lock the bootloader repeat steps 5 and 6.
If you still want more stability and Control You can install a different Kernel NDataX from (@Hendamanu) https://forum.xda-developers.com/m/hendramanu.11224917/
Thanks for your contribution

[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.
Спасибо!

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?

Categories

Resources