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 Android
Original version
The version the device was shipped with.
9
FOSS bootloader No
postmarketOS
Category testing
Pre-built images
Whether pre-built images are available here.
no
Features
Flashing
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
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Touchpad
Build in Touchpad
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
Full-sized USB-A port works (Usually applicable to SBCs and laptops).
Untested
USB OTG
USB On-The-Go or USB-C Role switching
Works
HDMI/DP
Video and audio output with HDMI or Display Port works.
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested
Magnetometer
Sensor to measure magnetism
Untested
Ambient Light
Untested
Proximity
Untested
Hall Effect
Also known as 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

  • 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