AYN Odin (ayn-odin)

From postmarketOS
AYN Odin
AYN Odin
AYN Odin
Manufacturer AYN
Name Odin
Codename ayn-odin
Released 2019
Category testing
Pre-built images no
Original software Android
Original 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 1920x1080 IPS
Storage 128/256 GB
Memory 4/8 GB
Architecture AArch64
Type handheld
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
FDE
Works
Mainline
Works
Battery
Works
3D Acceleration
Works
Audio
Partial
Bluetooth
Works
Internal storage
Works
USB OTG
Broken
Sensors
Accelerometer
Works
Magnetometer
Broken
Misc
HDMI/DP
Broken
Memory Card
Works
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 there are following actions required:

  1. Symlink to Lenovo Yoga C630 ucm config
  2. Comment out speakers in C630 ucm
  3. Change "HP Digital" mixer to "HP"

FYI: These problems are present on Lenovo Yoga C630 laptop as well

Missing features

  • compass/magnetometer
  • haptics
  • mics
  • speakers
  • HDMI (gets detected in gnome settings, but nothing on display)
  • DisplayPort
  • USB-C in host mode (OTG)
  • cooling fan with higher GPU frequency