Sony Xperia 1 III (sony-pdx215)
|
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 | 256GB/512GB |
| 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 |
| postmarketOS | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
pmOS kernel The kernel version that runs on the device's port. |
7.0.0-rc1 |
| Device package |
|
| Kernel package |
|
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). |
Untested
|
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 |
Untested
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
Camera |
Untested
|
IR TX |
Untested
|
| Connectivity | |
WiFi |
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
How to enter flash mode
Before you can flash PostmarketOS, you'll need to unlock your bootloader as described on Sony's open devices portal. This may potentially void your warranty, be warned, and read the warnings that Sony provide also.
Once you've finished these steps, your device will have been wiped. Set up android if you want, you won't have any 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
In short, the device is very much WIP. The most usable setup now is running from sd card on SXMO with applications in terminal.
This device belongs to the Sony Sagami platform, which is the Xperia 1 III (this one, pdx215) and Xperia 5 III (pdx214).
Work has been done on the device trees in the mainline kernel by the folks over at somainline.
For now installing on the sdcard starts up, ssh through usb worked on some previous trials, but something broke it for now, though the Initramfs debug connects through USB. The screen and touchscreen work, but there are some hickupps, especially in lomiri.
Regarding UIs, for now most reboot after about a minute. From what I've tried, SXMO and Lomiri run better. Of those, SXMO seems usable.
For now there is a patch adding the screen driver made by User:Marijn from SoMainline waiting to be upstreamed.
The goals for now are:
- loading the pieces in dts properly (mainly /soc@0/interrupt-controller@17a00000 does not seem to work for now)
- making the UFS work (or finding out if it can't)
- repairing the reboot problems in different UI's, probably the fault of the dts patch in the package
Any help in upbringing and mainlinig highly appreciated!
UFS
The phone's internal storage is UFS. Sony's past devices have had a bug that will erase the phone's entire internal storage if you try to start up UFS on mainline, because one of the UFS commands is misimplemented. This includes wiping the bootloader, bricking the device FOR EVER.
We currently have UFS disabled in the device tree, which renders the device's internal storage unusable but means there is no chance of anything getting bricked. It should be possible to patch out this command and reenable UFS in dts on a device-specific kernel eventually.
For now with a test device there is slow work on enabling the UFS. Looking through the Sony kernel patches, it seems that the bug might be gone by this generation. For now the UFS still doesn't work, and with it set in the dts according to the phone's dts the booting process stops, but the phone is still usable. The porper partitions show up (sda1, sda2, and so on), but trying to mount them in debug-shell just freezes and never finishes (or at least not in 30 minutes).
See also
- Gitlab repo with past WIP package definitions: sony-pdx215-pmospackages
- Matrix room for the SoC: sm8350 mainlining
- Marijn's Sony panel drivers in kernel lore: lore.kernel.org/all/20251222-drm-panels-sony-v2-11-82a87465d163@somainline.org/