Samsung Galaxy S9 (samsung-starqltechn)

From postmarketOS
Samsung Galaxy S9 (SM-G9600/
DS)
SM-G9600
SM-G9600
Manufacturer Samsung
Name Galaxy S9 (SM-G9600/
DS)
Codename samsung-starqltechn
Released 2018
Category testing
Pre-built images no
Original software Android
Original version 8
Extended version 10
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
Features
USB Networking
Works
Flashing
Broken
Touchscreen
Display
Broken
WiFi
Broken
FDE
Mainline
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader
U-Boot
Primary Bootloader
Broken
Secondary Bootloader
Works
Mainline
Works
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

aport MR

u-boot

u-boot sdm845 devices docs

aport fork for SM-G9600

mainline kernel fork for SM-G9600

Internal pages