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
Related
Cautions:
1.your warranty is now void.
2.do this at your own risk.
3.read the whole post before starting.
Flashing CWM recovery and taking backup :
1. Download the package and extract all files.
2. Extract the driver.zip located in drivers folder->1
3. Install the driver.if your OS is 64bit then install the x64 one.if the OS is 32bit,then the x86 one.
4. Open researchdownload application
5. Select the 2nd button with double cog sign.
6. Now a new window will appear like the screenshot attached.
7. Right click on the file name field.choose the files located in "Required files" folder of the package.
be careful here.Put fdl1 in fdl1 field,fdl2 in 2nd field and the recovery image(extract the "CWM-recovery-SC8810-nonpadded.zip") in recovery field. Then press the "OK" button.
8. Press the Start (Play) button in ResearchDownload -application (third button).
9. Turn off the phone.
10. Keep holding the "- volume" key. Without releasing the button "- volume" plug the usb cable
11. The process of CWM- burning should be started now in ResearchDownload-application and it will take approximately 1 Minute.
I think you can release the Vol.Button, but I had kept it nevertheless.
12. Wait until the CWM-flashing has been finished (A green sign will appeare and "Passed" will be shown in ResearchDownload- application window).
13. Remove the battery, wait 20 seconds. Put battery back and turn on the phone.
14. now hold the vol (-) and power button until the screen flashes (40 seconds or less or more) and now you are in the CWM recovery menu.
15. PLEASE make a full backup by the "backup and restore" option .make sure there's about 500mb free space in your micro SD card.
16. after the backup reboot the phone and PLEASE store the backup files in somewhere else..(the whole ''clockworkmod'' folder)
congratulation. you have done a full backup and flashed your CWM recovery.
Rooting device:
*don't do this.if u find that your backup size is lower than 250mb~300mb(slight +/- may occur)
1. download and put the "superuserandfullbackup.zip" in your micro SD card
2. power off your device.
2. Reboot to Recovery by holding volume (-) and power button until the screen flashes and recovery menu comes.
3. just go to "install zip from sdcard option and select the zip "superuserandfullbackup.zip"
4. flash it
5. reboot.
Advices:
Rooting is dangerous.so first make a full backup of your unrooted stock Rom just after flashing CWM.
Store the backup(size will be around 250mb~300mb(+/- ) in someplace safe.it's the life of your phone.If anything goes wrong,it's the only key to fix your phone.......be careful.........
Getting back your warranty:
Restore your stock Rom's backup.Then,flash the stock recovery(included in the package.find it in RECOVERIES folder),in the same way you've flashed the CWM.
good luck.and thanks for reading this.
THIS GUIDE IS ONLY FOR GALAXY S4 SGH-1337M
Guide made on 2017-03-12
I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU DO TO YOUR PHONE!
PERFORMING THIS WILL MAKE YOUR WARRANTY GO AWAY!
LEAVE A THANKS IF IT WORKS
This guide is split up into four parts meaning that if you just want to root your phone or just want to restore to stock then you can YOU CAN NOT INSTALL XPOSED WITHOUT ROOTING AND GETTING STOCK FIRST!
Welcome to my guide on how to install XPOSED on the Samsung Galaxy S4 (SGH-1337M) this guide is strictly for the SGH-1337M the reason I made this was because I spent a lot of hours trying to put parts of threads together since no one had specifically made a guide that was simple and noob friendly for installing XPOSED. Another reason is some people feel uncomfortable following guides made for the SGH-1337 mainly because it is different from the SGH-1337M. Another reason was I found no updated 2016/2017 guides for it. Follow every part step by step or you may risk losing your phone.
Also make sure you backup anything that isn't synced with Google that you want to keep, photos, music, contacts. This will delete all data on the phone.
This guide will be split up into four parts:
-Stock
-Root
-ROM that is needed
-Installing XPOSED
Requirements:
-A PC
-Internet
-Samsung Galaxy S4 SGH-1337M
-USB Cable
-SD Card with at least three free GB on it.
Stock Firmware
BEFORE YOU BEGIN (IMPORTANT)
1. Power off device
2. Boot into the stock recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up
3. Wipe Data/Factory Reset
4. Wipe Cache Partition
5. Power Down
Now you may begin
1. Download the latest stock firmware from sammobile for your device from make sure it is for 5.0.1:
-https://www.sammobile.com/firmwares/database/SGH-I337M/
2. Extract the .zip after you finish downloading
3. Download ODIN v.3.12.3
-Attachment at bottom of thread.
4. Extract the .zip to get the ODIN program.
5. Turn your device off.
6. Boot into download mode by holding Power Button+Volume Down Button
7. When it gives warning press the Volume Up Button
8. Connect device to PC using USB cable.
9. Run ODIN as administrator
10. Your ODIN screen should look like this now:
-http://prntscr.com/ej6hrl
Note: Where it says [0:COM8] The 8 can be any number.
11. Click AP and find the .md5 file you extracted from the stock firmware .zip from earlier.
Note: It is normal for ODIN to freeze while checking the file don't panic and don't close out.
12. On the left hand side where it says options copy down these settings
-http://prntscr.com/ej6ivi
13. When you are done all that it should look like this:
-http://prntscr.com/ej6jmz
Note: My .md5 file or binary size won't look exactly like yours don't panic.
14. Click start
15. It will take a while just be patient and wait, mine took about 10-15 minutes yours might take longer. It should look like this when done and it should reboot automatically:
-http://prntscr.com/ej6nq9
Note: First boot may take a while be patient.
16. Quickly go through setup it doesn't matter what you choose because this isn't the final product.
17. As soon as you finish setup head over to Settings.
18.Go to "More" and click Security
19. Check Unknown Sources
20. Go back to "More"
21. Go to About Device
22. Tap the Build Number until it says developer options enabled.
23. Go back to "More"
24. Go to Developer options
25. Check USB Debugging
26. Turn phone off.
Rooting The Device
1. Download CF-Auto-Root.zip
-http://download.chainfire.eu/327/CF-Root/CF-Auto-Root/CF-Auto-Root-jfltecan-jfltevl-sghi337m.zip
2. Extract the .zip
3. Boot into Download Mode.
4. Connect Device to PC
5. Run ODIN as administrator
6. Your ODIN screen should look like this now:
-http://prntscr.com/ej6hrl
Note: Where it says [0:COM8] The 8 can be any number.
7. Click AP and click the CF-Auto-Root .md5 file that you downloaded
8. On the left hand side where it says options copy down these settings
-http://prntscr.com/ej6ivi
9. When you are done all that it should look like this:
-http://prntscr.com/ej779o
10. Click Start
11. It should look like this when done and it should reboot automatically:
-http://prntscr.com/ej77ok
Note: First boot may take a while be patient.
12. When it starts go to Play Store sign in and download Root Checker by joeykrim
13. Open the app and make sure the phone is rooted
Note: When you click "Check for root" it will ask for SuperUser permission you have 15 seconds to click grant otheriwse it will show wrong results.
14. If it isn't repeat this process again
15. Turn phone off.
Custom ROM that is needed.
General Information:
-Basically XPOSED requires a deodexed firmware and when I wanted to get it I didn't know how to deodex my firmware so instead I found a custom ROM which is very popular and extremely good that has a deodexed firmware.
We can do this two ways, but first we must do this.
1. Power off device
2. Boot into the stock recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up
3. Wipe Data/Factory Reset
4. Wipe Cache Partition
5. Power Down
Method 1 Downloading ROM using PC then transferring to SD Card
1. Download the GoldenEye ROM from here
-https://www.androidfilehost.com/?fid=23991606952595353
2. Do not extract the .zip
3. Transfer .zip onto SD Card
4. Put SD card into phone
5. Boot phone and go through setup
6. Go to Google Play Store sign in and download ClockworkMod Rom Manager
7. Run the ROM Manager
8. Click Recovery Setup
9. Click ClockwordMod Recovery
10. Click your device.
11. Click "Flash ClockworkMod Recovery"
12. Give Superuser permissions
13. Reboot into Recovery from the ROM Manager
14. Wipe Data/Factory Reset
15. Wipe Cache Partition
16. Go to advanced
17. Wipe dalvik cache
18. Go back
19. install zip
20. Find the GoldenEye ROM from your SD card and install
21. It will start the Aroma installer click 1337M at device selection after you agree to terms.
22. Select GoldenEye Full
23. Go through the rest of the installer choosing your options that you prefer
24. It will take quite a while to install
Note: After it installs it will take a long time to boot do not panic for me it took around 15-20 minutes it might take longer for you.
Method 2 Downloading ROM using Device then transferring to SD Card
1. Boot Phone
2. Go through setup
3. Download the GoldenEye ROM from here using any browser from the Play Store
-https://www.androidfilehost.com/?fid=23991606952595353
4. Do not extract the .zip
5. Move .zip onto sd card using any file manager found on Play Store
6. Go to Google Play Store sign in and download ClockworkMod Rom Manager
7. Run the ROM Manager
8. Click Recovery Setup
9. Click ClockwordMod Recovery
10. Click your device.
11. Click "Flash ClockworkMod Recovery"
12. Give Superuser permissions
13. Reboot into Recovery from the ROM Manager
14. Wipe Data/Factory Reset
15. Wipe Cache Partition
16. Go to advanced
17. Wipe dalvik cache
18. Go back
19. install zip
20. Find the GoldenEye ROM from your SD card and install
21. It will start the Aroma installer click 1337M at device selection after you agree to terms.
22. Select GoldenEye Full
23. Go through the rest of the installer choosing your options that you prefer
24. It will take quite a while to install
Note: After it installs it will take a long time to boot do not panic for me it took around 15-20 minutes it might take longer for you.
Installing XPOSED
We can do this two ways, but first we must do this.
1. Power off device
2. Boot into the stock recovery or CWM recovery by holding Power Button+Home Button+Volume Up Button when you see the Galaxy S4 logo then let go of Power Button but keep holding Home and Volume Up
3. Wipe Data/Factory Reset
4. Wipe Cache Partition
5. Power Down
Method 1 Downloading XPOSED using PC then transferring to SD Card
1. Download the XPOSED Framework and .apk installer from here
XPOSED Framework
-https://www.dropbox.com/s/taywsnvw994uvha/xposed-v86.2-samsung-5.0.x-sdk21-by-dkcldark-arm.zip?dl=1
XPOSED Installer
-Attached at bottom of thread
2. Do not extract the .zip
3. Transfer .zip and .apk onto SD Card
4. Put SD card into phone
5. Boot phone and go through setup
6. Go to Google Play Store sign in and download ClockworkMod Rom Manager
7. Run the ROM Manager
8. Click Recovery Setup
9. Click ClockwordMod Recovery
10. Click your device.
11. Click "Flash ClockworkMod Recovery"
12. Give Superuser permissions
13. Reboot into Recovery from the ROM Manager
14. Wipe Data/Factory Reset
15. Wipe Cache Partition
16. Go to advanced
17. Wipe dalvik cache
18. Go back
19. install zip
20. Find the XPOSED Framwork from your SD card and install
21. It will start the installing
24. It will take quite a while to install
Note: After it installs it will take a long time to boot do not panic.
25. Go through setup process and then install the .apk from the SD card by clicking it using any file manager.
26. It will install
Final
We have finally finished installing XPOSED it was a long process but it was worth it.
Going to be doing some major updates to the steps stay tuned.
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?
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
(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?