Jump to content

Sony Xperia 1 (sony-griffin)

From postmarketOS Wiki
Sony Xperia 1
Manufacturer Sony
Name Xperia 1
Codename sony-griffin
Released 2019
Type handset
Hardware
Chipset Qualcomm Snapdragon 855 (SM8150)
CPU Octa-core (1x2.84 GHz Kryo 485
3x2.42 GHz Kryo 485
4x1.78 GHz Kryo 485)
GPU Adreno 640
Display 1644x3840 6.5" OLED
Storage 64GB/128GB
Memory 6GB/8GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 9.0
Extended version
The most recent supported version from the manufacturer.
Android
postmarketOS
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Features
Flashing
Whether 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).
Works
Internal storage
eMMC, SD cards, UFS...
Broken
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Works
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested

Overview

This device belongs to the Sony Kumano platform, which is the Xperia 1 (this one, griffin) and the Sony Xperia 5 (sony-bahamut).

Contributors

Users owning this device

  • Marijn (Notes: Mainline target)

How to unlock the device

Enter Developer options on Android and enable OEM Unlock

Unlock your bootloader by following instructions here: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/

How to enter flash mode

While USB is plugged in, hold Power + Volume Up until the LED becomes blue.

Installation

Warning WARNING: DO NOT NEVER EVER EVER TRY TO ENABLE UFS ON NON-VENDOR/NON-SODP KERNELS! IT WILL ERASE THE CHIP CLEAN (INCLUDING THE BOOTLOADER!) CONSIDER YOURSELF WARNED

Because UFS doesn't work, you'll want to flash the rootfs to an sdcard. Use pmbootstrap install --sdcard=/dev/path-to-sdcard-device. Take a look at partitioning to understand what's going on here.

You'll need to flash some empty bytes to the dtbo due to a bootloader bug. Create a file with two empty bytes with truncate -s 2 emptystuff.img and then flash it with fastboot flash dtbo emptystuff.img

Then flash the kernel as usual, by putting the device into flash mode (fastboot) and then running pmbootstrap flasher flash-kernel.

See also