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
| 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 -->
* ssh connection
* screen output
* touch screen (if warm-booted from TWRP)
== What does not work ==
* touch-screen
* 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
<pre>lrwxrwxrwx 1 root root 39 2016-01-17 22:21 /dev/block/bootdevice -> /dev/block/platform/soc.0/7824900.sdhci</presyntaxhighlight>
<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
</presyntaxhighlight>
== Installation ==
installed system on sdcard:
* put (empty/overwritable) SD-card into host cardreader
* pmbootstrap install --no-fde --sdcard=/dev/...
* put SD-Card, now containing pmOS into tablet
* pmbootstrap flasher flash_kernel # after this command finishes, device reboots and pmOS starts :-)
* ssh -p 22 user@172.16.42.1
=== More Historical Details / Hints for Developers =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
but this was only due to not having an RNDIS connection via USB!
* installed 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 on sdcard pmbootstrap install -> /dev/block/mmcblk0p36"), otherwise get 'ERROR: Partition "system" does not exist in the specified PIT.' ===libinput 1.10.5 measure touchpad-nopressure===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-fde --sdcard=pressure <pre>Using sec_touchscreen: /dev/input/event2  Ready for recording data. Pressure range used: 30:25 Palm pressure range used: 130Place a single finger on the touchpad to measure pressure values.., pmbootstrap flasher flash_kernel * or flashed both system and boot image Ctrl+C to boot and system partitionsexit  # 1 finger downSequence 496 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palm # 2 finger downSequence 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 downSequence 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 * tried also via TWRP recovery zip fileSequence 511 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palm
Flashing works, read out boot partition after flashing via TWRP, and it did contain the pmOS boot image.# 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
Not mentioned in the porting docu yet# 5 fingers downSequence 527 pressure: 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 'ERRORmin: Partition "system" does not exist in the specified PIT.' 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 downSequence 533 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palmSequence 533 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palmSequence 533 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palmSequence 533 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palmSequence 533 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palmSequence 533 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palm # 7 fingers downSequence 540 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palmSequence 540 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palmSequence 540 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palmSequence 540 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palmSequence 540 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palmSequence 540 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palmSequence 540 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palm # 8 fingers downSequence 548 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palmSequence 548 pressure: min: 0 max: 255 avg: 28 median: 0 tags: down palm # 9 fingers downSequence 557 pressure: min: 0 max: 255 avg: 127 median: 255 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 28 median: 0 tags: down palmSequence 557 pressure: min: 0 max: 255 avg: 25 median: 0 tags: down palm
boot.img compared with LineageOS 15.1 boot.img looks quite identical# 10 fingers downSequence 567 pressure: min: 0 max: 255 avg: 127 median: 255 tags:down palm<pre>$ unpackbootimg -i boot.img -o boot.img.dirSequence 567 pressure: min: 0 max: 255 avg: 85 median: 0 tags: down palmBOARD_KERNEL_CMDLINE console=null androidboot.hardware=qcom androidboot.wificountrycode=00 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprintk buildvariant=userdebugSequence 567 pressure: min: 0 max: 255 avg: 63 median: 0 tags: down palmBOARD_KERNEL_BASE 80000000Sequence 567 pressure: min: 0 max: 255 avg: 51 median: 0 tags: down palmBOARD_NAMESequence 567 pressure: min: 0 max: 255 avg: 42 median: 0 tags: down palmBOARD_PAGE_SIZE 2048Sequence 567 pressure: min: 0 max: 255 avg: 36 median: 0 tags: down palmBOARD_HASH_TYPE sha1Sequence 567 pressure: min: 0 max: 255 avg: 31 median: 0 tags: down palmBOARD_KERNEL_OFFSET 00008000Sequence 567 pressure: min: 0 max: 255 avg: 28 median: 0 tags: down palmBOARD_RAMDISK_OFFSET 02000000Sequence 567 pressure: min: 0 max: 255 avg: 25 median: 0 tags: down palmBOARD_SECOND_OFFSET 00f00000BOARD_TAGS_OFFSET 01e00000BOARD_DT_SIZE 800768Sequence 567 pressure: min: 0 max: 255 avg: 23 median: 0 tags: down palm
</pre>
except === libinput from git master - touchscreen works partially ===compiled libinput from git master, using commit 2167c3af058aebf5ce732ed0a3a1c5488b2a9d73, from https://github.com/wayland-project/libinput - 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 LineageOS boot image sets a BOARD_NAMEto work.With this new libinput version, BOARD_OS_VERSION the mouse pointer from plasma-mobile can be moved and BOARD_OS_PATCH_LEVELclicking also does work as expected. Not yet working: 90-degree left rotation is not applied. === touchscreen works ===[https://github. bootcom/postmarketOS/pmbootstrap/issues/1516 PR#1516]: if using ATTRS{name}=="sec_touchscreen" in udev rule instead of ENV{DEVNAME}=="/dev/input/event2" then touchscreen works as expected as touchscreen, not touchpad, and is always detected.imgSome touchscreen initialization is still missing -dtb files inside as touchscreen input event nodes are identicalonly present if booting pmOS from within TWRP via Reboot>System, they are missing after cold boot.
== 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