Jump to content

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
The software and version the device was shipped with.
Android 9
Extended version
The most recent supported version from the manufacturer.
Android
FOSS bootloader No
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Device package device-samsung-starlte
Kernel package linux-samsung-starlte
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).
Broken
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Touchpad
Whether the built-in touchpad works.
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Broken
IR TX
Untested
Connectivity
WiFi
Works
Bluetooth
Works
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-A
Whether the full-sized USB-A port works.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Works
HDMI/DP
Video and audio output with HDMI or DisplayPort.
Broken
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
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested
Barometer
Sensor to measure air pressure
Untested
Power Sensor
Sensor to monitor current, voltage and power. Not fuel gauge!
Untested

Contributors

  • Eshark22
  • nm111
  • RiskyGUY22

Maintainer(s)

  • Eshark22

Users owning this device

  • Alex92567 (Notes: Running PMOS, Cracked back, Cracked screen)
  • Amadaluzia (Notes: My main postmarketOS phone using SXMO, very worn)
  • Catto24 (Notes: up-to-date stock NZC, blue, daily driver)
  • Dwrdj (Notes: Daily driver, running OEM Android until replaced)
  • Eshark22 (Notes: Running custom rom, Can't do development since Note is broken)
  • Hlcj (Notes: Using on stock because of pmos not working)
  • LanaX64
  • Lucacraft89 (Notes: LineageOS 20.0 with NetHunter Kernel)
  • MaxShevPovar (Notes: Running postmarketOS, interface: MATE)
  • MymeType (Notes: Only managed to get Sxmo (dwm) to work)
  • 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