Samsung Galaxy S9 (samsung-starlte)

From postmarketOS Wiki
Samsung Galaxy S9
Samsung Galaxy S9 running LineageOS 18.1
Samsung Galaxy S9 running LineageOS 18.1
Manufacturer Samsung
Name Galaxy S9
Codename samsung-starlte
Released 2018
Type handset
Hardware
Chipset Samsung Exynos 9810
CPU Octa-core (4x 2.7 GHz Mongoose M3 & 4x 1.8 GHz Cortex-A55)
GPU Mali-G72 MP18
Display 2960x1440 Quad HD+ Super AMOLED
Storage 64 GB
Memory 4 GB
Architecture aarch64
Software
Original software Android
Original version 9
FOSS bootloader No
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Broken
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Works
Touchpad
Multimedia
3D Acceleration
Audio
Camera
Broken
Camera Flash
IR TX
Connectivity
WiFi
Works
Bluetooth
Works
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB-A
USB OTG
Works
HDMI/DP
Broken
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
Power Sensor


Contributors

  • Eshark22
  • nm111
  • RiskyGUY22

Maintainer(s)

  • Eshark22

Users owning this device

  • Dwrdj (Notes: Daily driver, running OEM Android until replaced)
  • Eshark22 (Notes: Running custom rom, Can't do development since Note is broken)
  • MaxShevPovar (Notes: Running postmarketOS, interface: MATE)
  • Nergzd723 (Notes: daily-driver)
  • Ungeskriptet (Notes: Cracked back, Lilac Purple; Secondary phone for taking pictures and videos)


How to enter flash mode

Press and hold Volume Down + Bixby + Power simultaneously. Then click Volume Up to confirm.

Installation

Use pmbootstrap to build your own installation image.

$ pmbootstrap init
$ pmbootstrap install --android-recovery-zip --recovery-install-partition data
$ pmbootstrap export ./
  • Unmount data partition before you flash in recovery

Move the generated zip to the device:

$ adb push pmos.zip /tmp # Then manually flash the zip in twrp

or

$ adb sideload pmos.zip

If all went well, you should now have Post Market os installed! Have fun!

Getting logs

Run the following in a TWRP shell to mount the pmos rootfs, and access the logs

$ mkdir /mnt/pmOS
$ mount -t ext4 -rw /dev/mapper/sda25p2 /mnt/pmOS

You should now be able to access the rootfs, with logs, at /mnt/pmOS

Notes

See also