
Turned my abandoned Samsung Galaxy Tab S6 into a rooted Linux science machine — LineageOS 22.2 + Ubuntu chroot
Samsung dropped the Tab S6 on Android 12 and went silent after August 2023. The Snapdragon 855 still has plenty of life left, so I decided to do something about it.
Full guide: https://github.com/ochiuom/Samsung-galaxy-tab-s6-lineageos-guide
What I did
- Unlocked bootloader
- Flashed stock firmware via Odin with Magisk-patched AP
- Flashed TWRP again via Odin in bootloader mode
- Flashed LineageOS 22.2 GSI — Android 15 base, 3–4 major versions ahead of what Samsung shipped and abandoned after August 2023
- Rooted with Magisk v30.7
- Fixed GSI speaker bug via Magisk module
- Updated Adreno 640 GPU drivers via Magisk module
- Ubuntu 24.04 LTS ARM64 chroot inside Termux + BusyBox, XFCE4 desktop via Termux-X11
- Full scientific stack: Miniforge, SageMath, CERN ROOT, Octave, VS Code ARM64 + Jupyter
Why bother over stock
- Pure AOSP, zero Samsung/Google bloat
- AdAway system-level + ProtonVPN simultaneously — impossible without root
- Better battery and thermals, no background Samsung processes keeping the SoC awake
- Ubuntu and Android run in parallel on the same kernel, no reboot to switch
- Chroot is real ARM64 hardware, not a VM
Scientific computing — all ran natively on the tablet, no x86 involved
- Raman spectrum plotted with gnuplot
- Gaussian peak fitting with CERN ROOT in C++ and PyROOT
- 11-peak multi-Lorentzian Raman fit with ALS baseline subtraction in Octave — same fitting pipeline I use for actual research data
Snapdragon 855 handles all of it without complaint.
Happy to answer questions — especially around the Ubuntu chroot setup or the scientific stack on ARM64.