Samsung Galaxy S9 (samsung-starqltechn)

From postmarketOS Wiki
Samsung Galaxy S9 (SM-G9600/
DS)
SM-G9600 with SXMO running Firefox
SM-G9600 with SXMO running Firefox
Manufacturer Samsung
Name Galaxy S9 (SM-G9600/
DS)
Codename samsung-starqltechn
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 845 (SDM845)
CPU Octa-core (4x 2.8 GHz Kryo 385 Gold & 4x 1.7 GHz Kryo 385 Silver)
GPU Adreno 630
Display 5.8 inch 18.5:9, 2960 x 1440 pixel 568 PPI, capacitive touchscreen, 10 multi-touch points, Super AMOLED, Corning Gorilla Glass 5, glossy: yes
Storage 64 GB
Memory 4 GB
Architecture aarch64
Software
Original software Android
Original version 8
Extended version 10
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
Broken
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Broken
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer
U-Boot
Primary Bootloader
Broken
Secondary Bootloader
Works
Mainline
Broken
Internal Storage
SD card
USB Host
USB Peripheral
Display
Buttons
Works


Contributors

  • dsankouski

Maintainer(s)

Users owning this device


How to enter flash mode

Hold Power + Volume Down + Bixby until screen shows vendor logo. Use Odin or Heimdall to flash.

Installation

Prerequisites

Upgrade

Before installing postmarketOS, it's recommended that you upgrade your device to the latest release of Android. This is not a requirement but is heavily recommended.

Unlock the bootloader

Before installing postmarketOS you have to unlock your bootloader. Remember, it will irrevocably trip knox flag, hence making Samsung pay no longer usable.

1. Open setting, go to "About phone", then "Software information" and tap on the "Build number" box ~10 times until the "You are now a developer" toast message appears.

2. Go back to the main settings page, go to "Developer options". Toggle the switch to "OEM unlocking"


Manual build

The vendor is Samsung, the codename is "starqltechn".

Follow the pmbootstrap article, until you have done the install action (note that --fde stands for full-disk-encryption - this can also be left out).

pmbootstrap install --fde

Reboot back into flash mode as explained above.

By default the rootfs will be flashed to system, this doesn't leave much free space for your applications / data, if you don't mind factory resetting the device you can instead flash to userdata by specifying the partition like below.

pmbootstrap flasher flash_rootfs --partition userdata --method heimdall-bootimg --no-reboot
pmbootstrap flasher flash_kernel --method heimdall-bootimg --resume

The phone should reboot into PostmarketOS now.

See also

pmaports!2835

u-boot

u-boot sdm845 devices docs

aport fork for SM-G9600

mainline kernel fork for SM-G9600

Internal pages