Android - step by step installing lineageOS on Galaxy Tab S6 Lite

Based on article on LineageOS website. Took me some time tinkering in order to get this right, and since I usually document stuff like this - I decided to share...

To flash LineageOS you will need:

So, here we go:


  1. Turn the USB debug on, then go to Developer Options > OEM Unlock mode
  2. Go to Download mode - turn off the tablet, press and hold UP and DN buttons, plug in the USB cable while holding UP and DN buttons (once you there you can release the buttons ☺)
  3. Select Unlock Bootloader there (long press UP button)
  4. It will ask if you want to format. After you answer yes - the tablet will reboot, unplug the cable.
  5. The initial setup should pop up, connect to wi-fi and skip everything you can for now (accounts setup, apps setup, etc.)
  6. The tablet should now be clean. Go to settings and enable developer options again.
  7. Make sure you are using a USB 2.0 port. At least for me, next steps did not work with USB3.
  8. Go to Download mode again, press UP once
  9. Download heimdall, in its folder there's an app called zadig, run it. In zadig go to Options > List All Devices and find "Gadget Serial" there (try all of them if there are many), "Reinstall driver" (ensure that "Install" is checked in sidebar)
  10. In command line, in heimdall folder, type heimdall print-pit. The tablet should restart. If it did - it means everything is OK so far. If not - try heimdall version 1.4.2 (simply unpack on top of the old version)
  11. Download LineageOS and its Recovery (stock Samsung's recovery has a checksum verification which won't allow you to flash unsigned software, therefore you need to flash LineageOS Recovery first)
  12. In order to flash the recovery - go to Download mode, and switch to download there (press UP)
  13. In command line - heimdall flash --RECOVERY <filename>.img --no-reboot
  14. The blue scrollbar should appear on screen. It will rapidly fill with white. Nothing should be happening at this point, just a white bar.
  15. Now we have the LineageOS bootloader flashed. If we reboot the tablet the regular way - it will rewrite the newly installed bootloader with samsung's original one, and we will have to repeat steps 12-14 again. Probably, also will have to reinstall the driver (step 09) again, too. (it's OK, just in case). So be cautious with step 16:
  16. Now we need to exit the download mode and switch to recovery. In order to do so - you have to (without unplugging the cable!) hold PWR and DN buttons for 7-8 seconds and, immediately as the screen turns black, hold PWR and UP buttons.
  17. In LineageOS bootloader (it's purple, with LineageOS logo on top) we have to select factory Reset and in there - Format data and factory reset. Then tap the "back" button on the top left of the touchscreen.
  18. Press Apply Update. Now the tablet is waiting for new firmware files over the cable.
  19. If you need magisk - download its APK file and rename it to ZIP (I got mine here, at it's official site.). If you need Google Apps (playstore and whatnot) - download GApps, I got mine here, I used a file called MindTheGapps-10.0.0-arm64-20220224_161733.zip, but, in theory, any arm64 should work.
  20. On your computer's command line - adb sideload <lineageOS_image_name> (where <lineageOS_image_name> is a filename of your LineageOS firmware image). The flashing will take some time. You can get adb archive here, btw.
  21. After that, if needed - repeat for magisk and gapps image files.