Jump to content

User:Onny/Samsung Galaxy S8 (samsung-dreamlte)

From postmarketOS Wiki
Samsung Galaxy S8
Samsung Galaxy S8
Samsung Galaxy S8
Manufacturer Samsung
Name Galaxy S8
Codename samsung-dreamlte
Released 2017
Type handset
Hardware
Chipset Samsung Exynos 8895
Display 1440x2960 Super AMOLED, 60 Hz, 5.8"
Storage 64 GB
Memory 4 GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android (One UI) 7
(Samsung Experience 8.0)
Extended version
The most recent supported version from the manufacturer.
Android (One UI) 9
(One UI 1.0)
FOSS bootloader partial
postmarketOS
Pre-built images
Whether pre-built images are available from the postmarketOS Installation page.
no
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
7.0_rc1
Unixbench score
Unixbench Whetstone/Dhrystone score. See Unixbench.
4559.4
Device package device-samsung-dream
Kernel package linux-postmarketos-exynos8895 out-of-tree
Firmware package firmware-samsung-dream
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Works
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Untested
Internal storage
eMMC, SD cards, UFS...
Untested
SD card
Also includes other external storage cards.
Untested
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Camera Flash
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
Fingerprint
Fingerprint reader.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Haptics
Untested
Barometer
Sensor to measure air pressure
Untested

How to enter recovery/odin mode

  • Press and hold Bixby Key + Volume Down + Power simultaneously while device is powered off for odin mode
  • Press and hold Bixby Key + Volume Up + Power simultaneously while device is powered off for recovery mode.

Installation

1. Install pmbootstrap

2. Setup pmbootstrap:

$ pmbootstrap init
...
Vendor [samsung]: samsung              <- enter this
Device codename [dream]: dream         <- enter this
...

3. While in Odin download-mode, flash kernel, wrapped into secondary bootloader uniLoader

$ pmbootstrap flasher flash_kernel

4. Since mainline kernel for now only supports accessing sd-card memory, proceed installing the root filesystem to a sd-card

$ pmbootstrap install --disk=/path/to/sdcard

Additional info

Mainline status

This device is supported in mainline tree from kernel.org

Features
Component Model Status Notes
Charging controller Maxim Integrated MAX77865(S) No
Screen Samsung S6E3HA6 No
Touch controller Samsung S6SY761 Yes
Speaker Cirrus Logic CS47L93 No
Camera sensors Samsung ISOCELL 2L2 (S5K2L2) No Main
Samsung ISOCELL 3H1 (S5K3H1) No Front
WiFi and Bluetooth Broadcom BCM4361(B0) No
GPS Broadcom BCM4753 No
Accelerometer and gyroscope STMicroelectronics LSM6DSL Yes
Magnetometer Asahi Kasei Microsystems AK09911C (16C) No
Ambient light ams TMD4903(06) No
Proximity Semtech SX9320 No
Haptics Texas Instruments DRV2624 No Driver in mainline kernel fork
Barometer STMicroelectronics LPS22HB No

Partition layout

# fdisk -l /dev/block/sda
Note: sector size is 4096 (not 512)
Found valid GPT with protective MBR; using GPT

Disk /dev/block/sda: 124928000 sectors,  576M
Logical sector size: 4096
Disk identifier (GUID): 52444e41-494f-2044-4d4d-43204449534b
Partition table holds up to 128 entries
First usable sector is 6, last usable sector is 15615994

Number  Start (sector)    End (sector)  Size       Code  Name
   1            1024            2047       4096K   0700  BOTA0
   2            2048            3071       4096K   0700  NA
   3            3072            8191       20.0M   0700  EFS
   4            8192           10239       8192K   0700  PARAM
   5           10240           12287       8192K   0700  UP_PARAM
   6           12288           14335       8192K   0700  BOTA2
   7           14336           24575       40.0M   0700  BOOT
   8           24576           36351       46.0M   0700  RECOVERY
   9           36352           38399       8192K   0700  BOTA1
  10           38400           49151       42.0M   0700  RADIO
  11           49152           49407       1024K   0700  TOMBSTONES
  12           49408           49663       1024K   0700  DNT
  13           49664           49791        512K   0700  PERSISTENT
  14           49792           50047       1024K   0700  MISC
  15           50048           51071       4096K   0700  STEADY
  16           51072           55167       16.0M   0700  KEYREFUGE
  17           55168         1168767       4350M   0700  SYSTEM
  18         1168768         1296767        500M   0700  CACHE
  19         1296768         1299327       10.0M   0700  HIDDEN
  20         1299328         1312127       50.0M   0700  OMR
  21         1312128         1313407       5120K   0700  CP_DEBUG
  22         1313408         1318527       20.0M   0700  NAD_FW
  23         1318528         1318783       1024K   0700  NAD_REFER
  24         1318784        15614847       54.5G   0700  USERDATA

Community Info

postmarketOS users that own the device

Contributors

Maintainers

Links