Jump to content

Sony Xperia 1 III (sony-pdx215)

From Nura Wiki
Sony Xperia 1 III
fastfetch on SXMO with Sway
fastfetch on SXMO with Sway
Manufacturer Sony
Name Xperia 1 III
Codename sony-pdx215
Released 2021
Type handset
Hardware
Chipset Qualcomm Snapdragon 888 (SM8350)
CPU Octa-core (1x2.84 GHz Cortex-X1
3x2.42 GHz Cortex-A78
4x1.80 GHz Cortex-A55)
GPU Adreno 660
Display 1644x3840 6.5" OLED
Storage 256 GB, 512 GB
Memory 12GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 12
Extended version
The most recent supported version from the manufacturer.
Android
Nura
Category testing
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
yes
Device package device-sony-pdx215
Kernel package linux-sony
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
IR TX
Untested
Connectivity
Wi-Fi
Untested
Bluetooth
Untested
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested
Magnetometer
Sensor to measure the Earth's magnetism
Untested
Ambient Light
Measures the light level; used for automatic screen dimming in many interfaces.
Untested
Proximity
Untested
Hall Effect
Measures magnetic fields; usually used as a flip cover sensor
Untested

Contributors

Users owning this device

  • Alexeymin (Notes: Gifted to family member to be daily driver. No longer in my hands)
  • Janmp (Notes: wip port & mainline)
  • Marijn (Notes: Mainline target)

Overview

This device belongs to the Sony Sagami platform, which is the Xperia 1 III (this one, pdx215) and Sony Xperia 5 III (sony-pdx214).

How to enter flash mode

To flash Nura, the bootloader must be unlocked as described on Sony's open devices portal. Read the warnings that Sony provides, as this may void the warranty!

Unlocking the bootloader will wipe the device. Set up Android if you want, there is no reason to get rid of it because UFS doesn't work at the moment (see below). Then, either:

  • Power off the device. Holding up on the volume rocker, plug the device into a computer.
  • (or, on Android) get an adb shell and run adb reboot bootloader.

Status

Device support is WIP. The most usable setup now is running from the SD card on Sxmo with command-line applications, since other UIs reboot after a minute. SSH is currently broken.

Work has been done on the mainline device trees by the somainline community.

While it's possible to connect through USB in initramfs, SSH is currently broken. The screen and touchscreen work, but may be unstable, especially on Lomiri.

The current goals are:

  • Fixing the interrupt controller;
  • Adding UFS support;
  • Repairing reboot problems in different UIs. (Probably the fault of the dts patch in the package)

Any help in upbringing and mainlining is highly appreciated!

UFS

The phone uses UFS internal storage. Sony's past devices have had a bug where the phone's entire internal storage may be wiped if attempting to start up UFS on mainline, because one of the UFS commands is misimplemented. This includes wiping the bootloader, permanently bricking the device. As a result, UFS is currently disabled in the device tree.

It should be eventually possible to patch out this command and re-enable UFS on a device-specific kernel. Currently, there is slow work on enabling UFS with a test device. Looking through Sony kernel patches, the bug may have been fixed by this generation, but UFS still doesn't work if enabled in the DTS: the proper partitions show up (sda1, sda2, etc.), but trying to mount them in debug-shell freezes indefinitely.

See also