• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[HOWTO] Unlock and root the Galaxy Tab S6 Lite

Search This thread
I am having issue adding the patched img file to the archive. 7z keeps saying not implemented. If I completing extract the AP file and try to re-archive it using @bgeyts667 tips, ODIN says the binary is bad.
I ran into the same issue; I fixed it by just renaming your modified/new AP .tar.md5 file to just .tar, then pointing ODIN to that file. It should work since it'll skip the MD5 check.
 

trueToastedCode

Senior Member
Mar 14, 2019
88
15
Cologne
OnePlus 7
So i managed to root the tablet, but i had a total safety net failure ;((( Pretty much unuseless. How to fix? Does the bootloader has to be locked in order to not fail? Because i installed the normal firmware without root and safenet still totally failed...

I also noticed... when KG State is normal Locking Option In Dev mode is greyed out... However when crashing the UI (not reboot or force power off) then the Samsung Logo appears and Locking option is available again in Dev mode
 
Last edited:

Max128

Senior Member
Apr 16, 2011
1,152
298
Canada
Hello , i have the s6 lite wifi with magisk on it... My problem is when I install a update every times I need to do a factory reset and start over again when I want to install the root ( the boot.img patched in Odin. ) For updating I download my complete firmware and install it with Odin... I have trying to patch the AP file from the firmware in magisk but never work when you want to install it, magisk do something wrong with this device I know this method work with the S21 and you can keep the data.. So who you can keep the data when you update the device with magisk??
 

G.Foscor

Member
Jul 25, 2021
8
2
Samsung Galaxy Tab S6 Lite
magisk manager then clicked Advanced Settings or Advanced
Hello boys.

I have tried to install magisk manager In my TAB S6 lite, unfortunately there is no version of TWRP for this tablet, that's because i've tried it from default recovery but it has failed, as seen in the screenshots.
Maybe the Magisk-v20.3.zip version is not correct? but the source seems right...

Either way, I'm stuck at point 8
 

Attachments

  • DSC_00A2.jpg
    DSC_00A2.jpg
    442.4 KB · Views: 23
  • DSC_00A1.jpg
    DSC_00A1.jpg
    413.4 KB · Views: 23
Last edited:

andy01q

Member
Dec 22, 2011
43
7
I wouldn't even mind waiting a day for the download to finsih, but when I click "Slow Download" the site just loads for a minute and then Firefox says:
"Error: network timeout"

edit:
use this instead of samfirm ( it's pretty much out of date) to download latest firmware. It just a PC tool for downloading samsung firmware. Quicker than going through website like Sammobile or updato.

thank you, spawnlives. Also going options->Software-Update->Download and Install worked too, but is less reliable.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Hey guys,

    I know its the same with the other tablets but i wanna make one just cause its easier for people.

    How to unlock::
    1. Turn on your device and then go to settings --> scroll down to about tablet --> Software Information then tap the Build number 7 or 8 times or until it says you unlocked developer options.
    2. Go to developer options and tick OEM UNLOCK and then a warning will pop up and just accept it.
    3. Turn off your device, then while holding both volume up and down, connect your device to the pc.
    4. A New screen should appear saying stuff about custom roms and stuff, Jut hold and press the up button until it resets. ( THis will erase everything on the tablet)
    5. if you're like me and set up the tablet and went straightfoward to unlocking the bootloader, follow this guide: https://forum.xda-developers.com/galaxy-s8/how-to/how-to-bypass-rmm-prenormal-to-install-t3891193
    So you wont have any issues flashing roms a nd stuff and dont have to wait 7 days.
    6. Now your bootloader should be unlocked! (To enter download/odin mode: Do the same thing, Turn off the device and hold both volume buttons while connecting to the pc then instead of long pressing up, just press up once.)

    How to root:
    1. Download the firmware for your your tablet, i dont know if i can link the sites but you can google it.
    2. Extract only the AP portion of the firmware.
    3. Open up the AP portion with 7-zip or winrar
    4. extract the boot.img.lz4 out of the AP file
    5. Download Lz4 https://github.com/lz4/lz4/releases to your pc corresponding version.
    6. Extract the LZ4 to the same area where the boot.img.lz4 is
    7. Open command prompt in that folder and then do
    Code:
    lz4 boot.img.lz4 boot.img
    8. Move the boot.img to your tablet, open up magisk manager then clicked Advanced Settings or Advanced, then untick Perserve AVB 2.0/Dm-verity and FIle Encryption then patch it.
    9. Take the patched_magisk out of the tablet to your pc and then rename it from magisk_patched.img to boot.img
    10. Use 7-zip or winrar and right click on the boot.img and add to archive
    11. Select Tar (This is 7-zip havent tried winrar)
    12. Once its complete use odin to flash that boot.tar on the AP Section
    13. You should now be rooted :)

    Thanks to
    @Iceman66
    @b0bness
    5
    ibb.co/XtDpjcT

    Hopefully the picture shows however its just a SS of my Root Checker app showing that it is indeed possible to root the tab 6 lite (or at least SM-P610). Since there are plenty of easy to follow guides regarding how to unlock the boot loader for this device i'm going to skip past that part and jump into what actually gave me 12+ hours of frustration.

    Once the boot loader is unlocked it is time to find the stock firmware for this device (which I feel its necessary to mention that there are 2 that are almost identical save for literally one number).
    1. XAR-P610XXU1BTI3-20200924123941 <---- WRONG!
    2. XAR-P610XXU2BTI3-20200924123941 <----- RIGHT!

    once you have the correct firmware as seen above and its downloaded onto your computer open the compressed file (I used WinRAR) and you should see 4 different files.

    1. AP_P610XXU2BTI3_CL19529942_QB34299355_REV00_user_low_ship_meta_OS10.tar.md5
    2. BL_P610XXU2BTI3_CL19529942_QB34299355_REV00_user_low_ship.tar.md5
    3. HOME_CSC_OMC_OXM_P610OXM2BTI3_CL19529942_QB34299355_REV00_user_low_ship.tar.md5
    4. CSC_OMC_OXM_P610OXM2BTI3_CL19529942_QB34299355_REV00_user_low_ship.tar.md5

    The file needed in the next step is the one I have listed as number 1 (beginning with AP). Select just that one and extract it to your desktop. At this point you are going to need a compression software (I used 7Zip which is free). Once you have 7Zip installed right click on the AP file that's on your desktop and just below the open with option you should see an option that says 7 Zip with and extendable sidebar. On that same sidebar the first option you should see is "Open Archive" which you will want to select.

    You should now be looking at a window with 8 files and 1 folder however the only file you should be concerned with is the one named "boot.img.lz4". **this is where it gets kinda funky if your not overly familiar with this process**

    At this point you will want to go to github.com/lz4/lz4/releases and scroll down a little until you see a download link for a file "lz4_win64_v1_9_2.zip". Once downloaded open the zip and extract the entire folder to your desktop (it should be named LZ by default).

    Open the LZ folder and take the "boot.img.lz4" file you extracted earlier and copy it into the LZ folder. Once copied simply Drag and drop "boot.img.lz4" onto the .exe called "lz4". If done correctly a new file should suddenly appear in the same folder that is now simply named "boot" but you will notice that it is now in a Disk Image File format.

    (at the end of the guide ill put a URL for a video which shows exactly what I just described here, please follow the video if there is any confusion).

    At this point you are going to connect your tab 6 lite to your computer and if it hasn't been done already turn on USB debugging from the developers option and install any drivers needed. Once your tablet and computer are able to communicate (i.e you can open your tablet as a drive on your computer) you will want to copy the "boot" file from the previous step into someplace you will remember (I used my downloads folder). Once onto the tablet you will now download and open Magisk Manager and proceed to patch only this one specific file that you have copied over.

    Once patched you should see a copy of the boot file in your downloads folder which will now be named "Magisk_Patched". take this newly patched file and copy in onto your computers desktop.

    Rename "Magisk_Patched" to "boot.img" and then right click the file. Again you will want to hover over the 7 Zip option however this time you are going to select the option "add to archive..." which is about halfway down the list. Once selected a new window will come up which will allow you to set the format to .tar. with the name set to boot.tar and .tar selected as the format hit the OK button and on your desktop a new WinRAR Archive file should appear named boot.tar.

    Now is when you can finally boot your tablet into Odin mode and open Odin as an Administrator (I used the latest version 3.14.4). Once Odin recognizes your device select the AP button and select the newly created boot.tar as your input (The file location should look similar to this C:\Users\Owner\Desktop\boot.tar provided you saved everything on your desktop like I did).

    Once loaded into Odin select the options tab and UN-select Auto Reboot and F. Reset Time before hitting the Start option.

    At this point if you did everything correct you should see the boot file being flashed onto the device. Once completed with no errors boot the device into the normal stock recovery and wipe the Cache and then factory reset the device. On the next boot up you should see in addition to the normal "boot loader is unlocked blah blah blah" another message that says you have an illegitimate copy of android on your device and that it may not function or update properly.

    Just ignore the message and after a few moments the device should continue to boot into the initial set up page. Work your way through the set up and go online to re-download Magisk Manager. This time when you open the app for the first time it will give you a dialog box that says that the Magisk Operation is incomplete and will ask you if you want to complete it. Agree to complete the process and it will auto run in the background for a moment before it shows completed.

    It was finally at this point that I ran Root checker and was met with the very first picture in my post. The biggest Issue I found in all of this was the fact that aside from one single comment in a post here on xda, nowhere else does it explain that you need to extract the boot file, convert it first into an img, THEN patch it, THEN flash it..... smh I cant tell you how many times I wiped my device and had to flash the stock recovery until I got this. I hope this helps you guys moving forward and doesn't just cause more confusion but here are all the links to the videos and files I referenced in order that I mentioned them!

    samfrew.com/download/Galaxy__Tab__S6__Lite__-Wi-Fi-__/b0ea/XAR/P610XXU2BTI3/P610OXM2BTI3/(Stock Firmware)
    github.com/lz4/lz4/releases (LZ4 converter)
    dideo.ir/v/yt/OfrMo1_Rgxc/how-to-convert-android-stock-recovery.lz4-to-img (Video on how to convert .lz4 to .img)

    Sorry about all the links being broken up!
    2
    It looks like this guide is a little out-dated, so I'll post what I have changed to make this work on my device.

    1. The guide asks to uncheck the Preserve AVB 2.0/Dm-verity and FIle Encryption options, but in the latest Magisk Manager these are not available. The good thing is, apparently you don't need them. Just ignore this part and patch the boot.img as usual.
    2. After you copy magisk_patched_XXXXXX.img and rename it to boot.img, you have to compress it back to lz4 using this command:
      Code:
      lz4 -B6 --content-size boot.img boot.img.lz4
      Then add boot.img.lz4 back into the AP tar archive replacing the old file.
    3. That's It. Flash this AP together with CP, BL, and CSC using Odin.
    I don't entirely understand this whole process, had to figure this out using trial and error. So please, correct me if something is wrong.
    1
    Can someone write more detailed description step by step without abbreviations please?

    If you don’t know what you are doing, I suggest not rooting your device
    1
    T
    It looks like this guide is a little out-dated, so I'll post what I have changed to make this work on my device.

    1. The guide asks to uncheck the Preserve AVB 2.0/Dm-verity and FIle Encryption options, but in the latest Magisk Manager these are not available. The good thing is, apparently you don't need them. Just ignore this part and patch the boot.img as usual.
    2. After you copy magisk_patched_XXXXXX.img and rename it to boot.img, you have to compress it back to lz4 using this command:
      Code:
      lz4 -B6 --content-size boot.img boot.img.lz4
      Then add boot.img.lz4 back into the AP tar archive replacing the old file.
    3. That's It. Flash this AP together with CP, BL, and CSC using Odin.
    I don't entirely understand this whole process, had to figure this out using trial and error. So please, correct me if something is wrong.
    This worked on the latest Android 11, One UI 3.1. So surprising that nobody noticed this. Thanks man