Samsung Galaxy Tab S5e Wi-Fi (gts4lvwifi): Difference between revisions
add early state notice and knox efuse warning |
Change order of the steps to make more sense in section →Bootloader Unlocking |
||
Line 76: | Line 76: | ||
{{notice|Be aware, a bootloader unlock will erase all userdata! Make sure to keep a backup of any important data!}} | {{notice|Be aware, a bootloader unlock will erase all userdata! Make sure to keep a backup of any important data!}} | ||
The bootloader needs to be unlocked to be able to flash partitions. | {{notice|The bootloader needs to be unlocked to be able to flash custom partitions.}} | ||
It is a good practice to keep backup of some partitions for easy recovery! | |||
=== Backup with TWRP === | === Backup with TWRP === | ||
Line 96: | Line 84: | ||
====Prerequesites==== | ====Prerequesites==== | ||
# TWRP. See [https://twrp.me/samsung/samsunggalaxytabs5ewifi.html here] how to install TWRP | |||
# adb on your PC | |||
====Create backups==== | ====Create backups==== | ||
Plug the tablet with USB to the PC and boot to recovery (TWRP). | |||
Download the partitions "dtbo", "system" and "userdata". | Download (at least) the partitions "dtbo", "system" and "userdata". | ||
<pre> | <pre> | ||
Line 111: | Line 98: | ||
<nowiki>#adb pull /dev/block/by-name/userdata userdata.img</nowiki> | <nowiki>#adb pull /dev/block/by-name/userdata userdata.img</nowiki> | ||
</pre> | </pre> | ||
===Unlocking=== | |||
# Boot into android | |||
# Connect to wifi | |||
# Enable "Developer Options" (tap 7x on Buildnumber) | |||
# Go to developer options and toogle on "OEM unlock" | |||
# Turn off tablet | |||
# Plug in USB and hold all buttons untill you are in download mode | |||
# follow onscreen instructions to unlock bootloader | |||
# reboot and connect to wifi | |||
# ensure "OEM unlock" is still active in "Developer Options" | |||
At this point, you should be ready to install postmarketOS. | |||
== Installation == | == Installation == |
Revision as of 14:50, 13 September 2024
🚧 | This page is a work-in-progress. Some information contained within may be inaccurate or incomplete. |
Samsung Galaxy Tab S5e Wi-Fi Samsung Galaxy Tab S5e Wi-Fi | |
Manufacturer | Samsung |
---|---|
Name | Galaxy Tab S5e Wi-Fi (SM-T720) |
Codename | samsung-gts4lvwifi |
Released | 2019 |
Type | tablet |
Hardware | |
Chipset | Qualcomm Snapdragon 670 (SDM670) |
CPU | Octa-core Kryo 360 (2 x 2.0 GHz & 6 x 1.7 GHz) |
GPU | Adreno 615 |
Display | 267.2mm (10.5 inch) 1600x2560 (WQXGA) 287 PPI Super AMOLED |
Storage | 64/128 GB |
Memory | 4/6 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 9 |
Extended version | 11 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Flashing |
No data |
---|---|
USB Networking |
No data |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
No data |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
No data |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
WARNING: Make sure that you are prepared to lose functionality when installing postmarketOS. Samsung Knox will blow an efuse when the OS is modified that will permanently disable Knox-only features like Samsung Pay, and you will NEVER be able to use those features again (not actually tested for this device yet). |
![]() |
While the (downstream) kernel compiles and flashing is available, this device is in an extremely early state of development. |
This is the Device page for the "Samsung Galaxy Tab S5e Wi-Fi" (model SM-T720; codename gts4lvwifi), which should not be confused with the similarly-named "Samsung Galaxy Tab S5e LTE" (models SM-T725, SM-T727; codename gts4lv).
Contributors
Maintainer(s)
Users owning this device
- Joshaspinall (Notes: Currently running Lineage Android)
- Usia (Notes: porting to PostmarketOS)
- Usia (Notes: running LineageOS)
How to enter flash mode
![]() |
Samsung devices do not use the fastboot flashing mechanism. There fore the flash mode is also not called "fastboot mode" but "Download mode". |
- Power off the device
- Connect USB cable from PC to the device.
- Hold + + until the screen turns blue.
- Follow the instructions on screen (it will probably tell you to press to continue, i.e.: to flash mode)
Bootloader Unlocking
![]() |
Be aware, a bootloader unlock will erase all userdata! Make sure to keep a backup of any important data! |
![]() |
The bootloader needs to be unlocked to be able to flash custom partitions. |
It is a good practice to keep backup of some partitions for easy recovery!
Backup with TWRP
Prerequesites
- TWRP. See here how to install TWRP
- adb on your PC
Create backups
Plug the tablet with USB to the PC and boot to recovery (TWRP).
Download (at least) the partitions "dtbo", "system" and "userdata".
#adb pull /dev/block/by-name/dtbo dtbo.img #adb pull /dev/block/by-name/system system.img #adb pull /dev/block/by-name/userdata userdata.img
Unlocking
- Boot into android
- Connect to wifi
- Enable "Developer Options" (tap 7x on Buildnumber)
- Go to developer options and toogle on "OEM unlock"
- Turn off tablet
- Plug in USB and hold all buttons untill you are in download mode
- follow onscreen instructions to unlock bootloader
- reboot and connect to wifi
- ensure "OEM unlock" is still active in "Developer Options"
At this point, you should be ready to install postmarketOS.
Installation
![]() |
The images can be flashed using Heimdall, pmbootstrap will choose this method if it is specified so in the deviceinfo. |
When issuing the following commands, the dvice will reboot after each flashing process. You might want to hold
+ pressed to automatically boot to "Download mode" again.
First off, to boot custom images we need to disable Android Verified Boot (AVB). This can be done with pmbootstrap.
pmbootstrap flasher flash_vbmeta
Then flash the rootfs and kernel.
pmbootstrap flasher flash_rootfs pmbootstrap flasher flash_kernel
![]() |
When flashing with pmbootstrap, a fork of Heimdall is used that is still maintained. This can also be used to manually flash the images, if needed. Other flashing methods might also work (Odin, from recovery, etc.). |
Build notes
Overall, Mparker17 found this pretty straightforward using the Porting to a new device instructions.
For a host machine, Mparker17 used Ubuntu 20.10.
For pmbootstrap init
, Mparker17 used:
Channel [edge]: edge Vendor [samsung]: samsung Device codename [gts4lvwifi]: gts4lvwifi Username [user]: user User interface [weston]: weston Additional options: extra free space: 0 MB, boot partition size: 128 MB, parallel jobs: 9, ccache per arch: 5G, sudo timer: False Change them? (y/n) [n]: n Extra packages [none]: none Choose default locale for installation (y/n) [C.UTF-8]: C.UTF-8 Device hostname (short form, e.g. 'foo') [samsung-gts4lvwifi]: samsung-gts4lvwifi Would you like to copy your SSH public keys to the device? (y/n) [n]: n Build outdated packages during 'pmbootstrap install'? (y/n) [y]: y
... and the boot.img
from LineageOS' build for the device (specifically, lineage-17.1-20210222-nightly-gts4lvwifi-signed.zip)
When editing cache_git/pmaports/device/testing/linux-samsung-gts4lvwifi/APKBUILD
, Mparker17 didn't have to add any patches; but did have to remove the following 4 patches:
gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch
For pmbootstrap kconfig
, Mparker17 had to fix the following issues documented on the kconfig page:
WARNING: linux-samsung-gts4lvwifi/config-samsung-gts4lvwifi.aarch64: CONFIG_ANDROID_PARANOID_NETWORK should *not* be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_ANDROID_PARANOID_NETWORK> for details. WARNING: linux-samsung-gts4lvwifi/config-samsung-gts4lvwifi.aarch64: CONFIG_DEVTMPFS should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_DEVTMPFS> for details. WARNING: linux-samsung-gts4lvwifi/config-samsung-gts4lvwifi.aarch64: CONFIG_SYSVIPC should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_SYSVIPC> for details. WARNING: linux-samsung-gts4lvwifi/config-samsung-gts4lvwifi.aarch64: CONFIG_VT should be set. See <https://wiki.postmarketos.org/wiki/kconfig#CONFIG_VT> for details.
... after fixing those, the kernel appeared to build successfully.
Mparker17 has not had a chance to try this out on the device yet.
Device notes
Some of the gts4lvwifi devices originally shipped with Android 9. LineageOS worked on those devices until sometime in 2020-Q4; after that LineageOS stopped upgrading. The solution for this was to install Samsung's stock firmware for Android 10, and re-flash LineageOS - after that it continued working. Mparker17 recalls this had something to do with Android 10 device drivers, and speculates it might have something to do with LineageOS's kernel fork or device configuration (which we use, see #Build notes above), and therefore, similar issues might happen with postmarketOS as well. However, Mparker17 doesn't know how to restore the original Android 9 firmware to verify this. So Mparker17's advice is, make sure you've upgraded to the latest official Android 10 firmware before trying to install PostmarketOS.
Partition map
See also
- pmaports!5580 Initial merge request
- LineageOS device wiki page
- TWRP device page
- GSMArena specifications and review
- Wikipedia page for the family of devices