AYN Odin (ayn-odin)

From postmarketOS Wiki
AYN Odin
AYN Odin
AYN Odin
Manufacturer AYN
Name Odin
Codename ayn-odin
Released 2019
Type handheld
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 1920x1080 IPS
Storage 128/256 GB
Memory 4/8 GB
Architecture aarch64
Software
Original software Android
Original version 10
postmarketOS
Category testing
Pre-built images no
Mainline yes
Features
Flashing
Works
USB Networking
Works
Internal storage
Works
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Partial
Connectivity
WiFi
Works
Bluetooth
Works
Miscellaneous
FDE
Works
USB OTG
Broken
HDMI/DP
Broken
Sensors
Accelerometer
Works
Magnetometer
Broken
Haptics
Broken
This device is based on the Snapdragon 845.
See the SoC page for common tips, guides and troubleshooting steps

Preparation

Requires U-Boot flashed to boot_a or boot_b with dtbo erased.

See https://gitlab.com/jenneron/u-boot-sdm-845/-/releases/sdm845-phones-v0.2.0. Use u-boot-odin-m2.img file attached there.

Installation

pmbootstrap install --split, pmbootstrap export and flashing partitions to system and userdata. However, rootfs won't get resized automatically, this can be fixed by using resize2fs from Android.

Icon TODO: We should try to replace the whole UFS lun with 2 pmOS partitions, this should fix all issues with U-Boot flashing and resizing

Audio

Headphones work, but it is required to comment out speakers in C630 ucm

Missing features

  • compass/magnetometer
  • haptics
  • mics
  • speakers
  • HDMI (no hpd gpio, no ddc, works with device-tree hacks)
  • DisplayPort
  • USB-C in host mode (OTG)
  • cooling fan with higher GPU frequency