Changes

Jump to navigation Jump to search
m
--no-fde removed (deprecated)
[[Category:Not booting]]
{{Infobox device
| manufacturer = Samsung
| name = Galaxy Tab S2 9.7 Wifi
| codename = SMsamsung-T813, gts210vewifi
| image = File:SM-T813_gts210vewifi_Front.jpg
| imagecaption = Samsung Galaxy Tab S2 9.7 Wifi
| releaseyear = 2016?
| originalsoftware = Android 7.0
| chipset = Qualcomm MSM8976 Snapdragon 652
| display = 1536x2048 (264 PPI) HD Super AMOLED
| memory = 3 GB
| architecture = aarch64
| status_usbnet = Y
| status_flashing = Y
| status_touch = Y
| status_screen = Y
| status_wifi =
| status_xwayland = Y
| status_fde =
| status_mainline =
| status_battery =
| status_3d =
| status_accel =
| status_audio =
| status_bluetooth =
| status_camera =
| status_gps =
| status_mobiledata =
| status_sms =
| status_calls =
| booting = yes
}}
== Maintainer(s) ==
* K-laus
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->
== What works ==
* compiling kernel
* booting
* ssh connection
* screen output
* touch screen (if warm-booted from TWRP)
== What does not work ==
* booting
* everything else
from an adb shell of LineageOS 15.1 installation, after installing some additional apps:
<syntaxhighlight lang="shell-session">
gts210vewifi:/ $ df
<pre>
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1422568 684 1421884 1% /dev
/dev/block/mmcblk0p25 28144 144 28000 1% /persist
/data/media 25119032 5895552 19223480 24% /storage/emulated
</presyntaxhighlight>
<syntaxhighlight lang="shell-session">
gts210vewifi:/ $ cat /proc/partitions
<pre>
major minor #blocks name
259 7 25653228 mmcblk0p39
179 32 4096 mmcblk0rpmb
</presyntaxhighlight> <syntaxhighlight lang="shell-session">gts210vewifi:/ $ ls -la /dev/block/bootdevice lrwxrwxrwx 1 root root 39 2016-01-17 22:21 /dev/block/bootdevice -> /dev/block/platform/soc.0/7824900.sdhci</syntaxhighlight>
<syntaxhighlight lang="shell-session">gts210vewifi:/ $ ls -la /dev/block/platform/soc.0/7824900.sdhci/by-name/ <<pre>
total 0
drwxr-xr-x 2 root root 820 2016-01-11 20:43 .
lrwxrwxrwx 1 root root 20 2016-01-11 20:43 tz -> /dev/block/mmcblk0p7
lrwxrwxrwx 1 root root 21 2016-01-11 20:43 userdata -> /dev/block/mmcblk0p39
</syntaxhighlight>
 
== Installation ==
 
installed system on sdcard:
* put (empty/overwritable) SD-card into host cardreader
* pmbootstrap install --sdcard=/dev/...
* put SD-Card, now containing pmOS into tablet
* pmbootstrap flasher flash_kernel # after this command finishes, device reboots and pmOS starts :-)
* had to follow [[USB_Network#Assigning_an_IP_address]] as IP to host computer was not automatically assigned:
** sudo ip link set TheNetDevName address 12:12:12:12:12:12
** sudo ip address add dev TheNetDevName 172.16.42.2/24
** sudo dhclient -v TheNetDevName
* ssh -p 22 user@172.16.42.1
 
== Developer Notes ==
Without proper kernel setting that allows [[USB_Network#Kernel_configuration_parameters|RNDIS via USB connection]] (CONFIG_USB_ETH with CONFIG_USB_ETH_RNDIS, or CONFIG_USB_G_ANDROID), device did '''''seem to''''' hang at the initial boot screen while displaying "
KERNEL IS NOT SEANDROID ENFORCING
Set Warranty Bit : kernel
 
SAMSUNG
Galaxy Tab S2
 
POWEREd BY
android
"
but this was only due to not having an RNDIS connection via USB!
 
Not mentioned in the porting docu yet: Had to use '''uppercase''' partition labels in deviceinfo_flash_heimdall_partition_(kernel|system) variables in deviceinfo file, even if their symlinks are lowercase (e.g. "system -> /dev/block/mmcblk0p36"), otherwise get 'ERROR: Partition "system" does not exist in the specified PIT.'
 
===libinput 1.10.5 measure touchpad-pressure===
Touchpad pressure does not seem return pressure but is related to the number of fingers touched at the same time, see below ("# x finger down" comments added by me). Unfortunately, tweaking the pressure like https://wayland.freedesktop.org/libinput/doc/latest/touchpad_pressure.html tells does not work.
 
gts210vewifi:~# libinput measure touchpad-pressure
<pre>
Using sec_touchscreen: /dev/input/event2
 
Ready for recording data.
Pressure range used: 30:25
Palm pressure range used: 130
Place a single finger on the touchpad to measure pressure values.
Ctrl+C to exit
 
# 1 finger down
Sequence 496 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
# 2 finger down
Sequence 508 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 508 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
# 3 finger down
Sequence 511 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 511 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 511 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
 
# 4 fingers down
Sequence 522 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 522 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 522 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 522 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
 
# 5 fingers down
Sequence 527 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 527 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 527 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 527 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
Sequence 527 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palm
 
# 6 fingers down
Sequence 533 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 533 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 533 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 533 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
Sequence 533 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palm
Sequence 533 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palm
 
# 7 fingers down
Sequence 540 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 540 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 540 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 540 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
Sequence 540 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palm
Sequence 540 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palm
Sequence 540 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palm
 
# 8 fingers down
Sequence 548 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palm
Sequence 548 pressure: min: 0 max: 255 avg: 28 median: 0 tags: down palm
 
# 9 fingers down
Sequence 557 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 28 median: 0 tags: down palm
Sequence 557 pressure: min: 0 max: 255 avg: 25 median: 0 tags: down palm
 
# 10 fingers down
Sequence 567 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 28 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 25 median: 0 tags: down palm
Sequence 567 pressure: min: 0 max: 255 avg: 23 median: 0 tags: down palm
</pre>
== Installation = libinput from git master - touchscreen works partially ===* had problems with "heimdall flash compiled libinput from git master, using commit 2167c3af058aebf5ce732ed0a3a1c5488b2a9d73, from https://github.com/wayland-project/libinput -KERNEL touchscreen behaviour is better now, the _false_ palm detection is no longer all the time active, as the configured ENV{LIBINPUT_ATTR_PALM_PRESSURE_THRESHOLD}=256 is now applied.commit 59eb10e593213403c301a5ce3fbd0a22b6e52efd 'util: allow for palm pressure > 255' or newer is needed for that to work.." command used by "pmbootstrap flasher flash_kernel"With this new libinput version, it did stop with "ERROR: Partition "KERNEL" does not exist in the specified PIT."* flashing via heimdall mouse pointer from plasma-mobile can be moved and clicking also does not seem to work as expected. Not yet working: 90- device uses lowercase partition labels which are degree left rotation is not supported by heimdall, e.gapplied. pmbootstrap flasher flash_system --partition userdata gives=== touchscreen works ===[https: ERROR//github.com/postmarketOS/pmbootstrap/issues/1516 PR#1516]: Partition if using ATTRS{name}=="userdatasec_touchscreen" does not exist in the specified PIT. if using uppercase udev rule instead of ENV{DEVNAME}=="USERDATA/dev/input/event2" then flashing ''seems'' to work: pmbootstrap flasher flash_system --partition USERDATA '''but does touchscreen works as expected as touchscreen, not'''touchpad, as userdata partition size and is 0 after that command (seen by TWRP recovery)always detected. same for "SYSTEM" and "BOOT" partitions* flashing via Some touchscreen initialization is still missing - as touchscreen input event nodes are only present if booting pmOS from within TWRP recovery zip file, also installing the recovery zipfile via TWRP does '''not''' seem to workReboot>System, system partition size is 0MB afterwards, seen in TWRP recovery in backup menu. they are missing after cold boot... this explains why device does not boot after pmOS is "installed" - it isn't in reality?!
== See also ==
* {{github|1493}} initial pull request
* [https://wiki.lineageos.org/devices/gts210vewifi Device Info (LineageOS)]
* [https://github.com/LineageOS/android_device_samsung_gts210vewifi LineageOS android_device_samsung_gts210vewifi repo]
* [https://github.com/LineageOS/android_kernel_samsung_msm8976/archive/82d475a1952b9bbb6652b35e87671b5031bcf934.tar.gz (LineageOS) Kernel 3.10.102 used]
68

edits

Navigation menu